From f063bf4a40bc1fbd64980d1c33830fde4feef5ce Mon Sep 17 00:00:00 2001 From: Leonardo de Moura Date: Fri, 8 Nov 2019 16:21:26 -0800 Subject: [PATCH] chore: update stage0 --- src/stage0/CMakeLists.txt | 2 +- src/stage0/Init/Core.c | 45 + src/stage0/Init/Data/BinomialHeap/Basic.c | 36 +- src/stage0/Init/Data/Hashable.c | 39 + .../Init/Data/PersistentHashMap/Basic.c | 267 +- src/stage0/Init/Data/PersistentHashSet.c | 235 +- src/stage0/Init/Lean/Class.c | 161 +- .../Init/Lean/Compiler/ClosedTermCache.c | 136 +- src/stage0/Init/Lean/Compiler/ConstFolding.c | 65 +- src/stage0/Init/Lean/Compiler/IR/CompilerM.c | 139 +- .../Init/Lean/Compiler/IR/ElimDeadBranches.c | 219 +- src/stage0/Init/Lean/Compiler/Specialize.c | 52 +- src/stage0/Init/Lean/Declaration.c | 24 +- src/stage0/Init/Lean/Elaborator/Alias.c | 121 +- src/stage0/Init/Lean/Elaborator/Basic.c | 127 +- src/stage0/Init/Lean/Elaborator/Command.c | 16 +- src/stage0/Init/Lean/Elaborator/PreTerm.c | 6 +- src/stage0/Init/Lean/Environment.c | 54 +- src/stage0/Init/Lean/Expr.c | 245 +- src/stage0/Init/Lean/LocalContext.c | 77 +- src/stage0/Init/Lean/Meta.c | 17936 ++++++++++++++++ src/stage0/Init/Lean/MetavarContext.c | 50 +- src/stage0/Init/Lean/ReducibilityAttrs.c | 32 + src/stage0/Init/Lean/SMap.c | 102 +- src/stage0/Init/Lean/TypeClass/Basic.c | 34 +- src/stage0/Init/Lean/TypeClass/Context.c | 18 +- src/stage0/Init/Lean/TypeClass/Synth.c | 18 +- src/stage0/Init/Lean/TypeUtil.c | 49 - src/stage0/Init/Lean/WHNF.c | 1369 +- 29 files changed, 20164 insertions(+), 1510 deletions(-) create mode 100644 src/stage0/Init/Lean/Meta.c delete mode 100644 src/stage0/Init/Lean/TypeUtil.c diff --git a/src/stage0/CMakeLists.txt b/src/stage0/CMakeLists.txt index a2b4b476b9..37ebb42211 100644 --- a/src/stage0/CMakeLists.txt +++ b/src/stage0/CMakeLists.txt @@ -1 +1 @@ -add_library (stage0 OBJECT ./Init/Coe.c ./Init/Control/Alternative.c ./Init/Control/Applicative.c ./Init/Control/Conditional.c ./Init/Control/Default.c ./Init/Control/EState.c ./Init/Control/Except.c ./Init/Control/Functor.c ./Init/Control/Id.c ./Init/Control/Lift.c ./Init/Control/Monad.c ./Init/Control/MonadFail.c ./Init/Control/Option.c ./Init/Control/Reader.c ./Init/Control/State.c ./Init/Core.c ./Init/Data/Array/Basic.c ./Init/Data/Array/BinSearch.c ./Init/Data/Array/Default.c ./Init/Data/Array/QSort.c ./Init/Data/AssocList.c ./Init/Data/Basic.c ./Init/Data/BinomialHeap/Basic.c ./Init/Data/BinomialHeap/Default.c ./Init/Data/ByteArray/Basic.c ./Init/Data/ByteArray/Default.c ./Init/Data/Char/Basic.c ./Init/Data/Char/Default.c ./Init/Data/DList.c ./Init/Data/Default.c ./Init/Data/Fin/Basic.c ./Init/Data/Fin/Default.c ./Init/Data/HashMap/Basic.c ./Init/Data/HashMap/Default.c ./Init/Data/HashSet.c ./Init/Data/Hashable.c ./Init/Data/Int/Basic.c ./Init/Data/Int/Default.c ./Init/Data/List/Basic.c ./Init/Data/List/BasicAux.c ./Init/Data/List/Control.c ./Init/Data/List/Default.c ./Init/Data/List/Instances.c ./Init/Data/Nat/Basic.c ./Init/Data/Nat/Bitwise.c ./Init/Data/Nat/Control.c ./Init/Data/Nat/Default.c ./Init/Data/Nat/Div.c ./Init/Data/Option/Basic.c ./Init/Data/Option/BasicAux.c ./Init/Data/Option/Default.c ./Init/Data/Option/Instances.c ./Init/Data/PersistentArray/Basic.c ./Init/Data/PersistentArray/Default.c ./Init/Data/PersistentHashMap/Basic.c ./Init/Data/PersistentHashMap/Default.c ./Init/Data/PersistentHashSet.c ./Init/Data/Queue/Basic.c ./Init/Data/Queue/Default.c ./Init/Data/RBMap/Basic.c ./Init/Data/RBMap/BasicAux.c ./Init/Data/RBMap/Default.c ./Init/Data/RBTree/Basic.c ./Init/Data/RBTree/Default.c ./Init/Data/Random.c ./Init/Data/Repr.c ./Init/Data/Stack/Basic.c ./Init/Data/Stack/Default.c ./Init/Data/String/Basic.c ./Init/Data/String/Default.c ./Init/Data/ToString.c ./Init/Data/UInt.c ./Init/Default.c ./Init/Fix.c ./Init/Lean/Attributes.c ./Init/Lean/AuxRecursor.c ./Init/Lean/Class.c ./Init/Lean/Compiler/ClosedTermCache.c ./Init/Lean/Compiler/ConstFolding.c ./Init/Lean/Compiler/Default.c ./Init/Lean/Compiler/ExportAttr.c ./Init/Lean/Compiler/ExternAttr.c ./Init/Lean/Compiler/IR/Basic.c ./Init/Lean/Compiler/IR/Borrow.c ./Init/Lean/Compiler/IR/Boxing.c ./Init/Lean/Compiler/IR/Checker.c ./Init/Lean/Compiler/IR/CompilerM.c ./Init/Lean/Compiler/IR/CtorLayout.c ./Init/Lean/Compiler/IR/Default.c ./Init/Lean/Compiler/IR/ElimDeadBranches.c ./Init/Lean/Compiler/IR/ElimDeadVars.c ./Init/Lean/Compiler/IR/EmitC.c ./Init/Lean/Compiler/IR/EmitUtil.c ./Init/Lean/Compiler/IR/ExpandResetReuse.c ./Init/Lean/Compiler/IR/Format.c ./Init/Lean/Compiler/IR/FreeVars.c ./Init/Lean/Compiler/IR/LiveVars.c ./Init/Lean/Compiler/IR/NormIds.c ./Init/Lean/Compiler/IR/PushProj.c ./Init/Lean/Compiler/IR/RC.c ./Init/Lean/Compiler/IR/ResetReuse.c ./Init/Lean/Compiler/IR/SimpCase.c ./Init/Lean/Compiler/IR/UnboxResult.c ./Init/Lean/Compiler/ImplementedByAttr.c ./Init/Lean/Compiler/InitAttr.c ./Init/Lean/Compiler/InlineAttrs.c ./Init/Lean/Compiler/NameMangling.c ./Init/Lean/Compiler/NeverExtractAttr.c ./Init/Lean/Compiler/Specialize.c ./Init/Lean/Compiler/Util.c ./Init/Lean/Declaration.c ./Init/Lean/Default.c ./Init/Lean/Elaborator/Alias.c ./Init/Lean/Elaborator/Basic.c ./Init/Lean/Elaborator/Command.c ./Init/Lean/Elaborator/Default.c ./Init/Lean/Elaborator/ElabStrategyAttrs.c ./Init/Lean/Elaborator/PreTerm.c ./Init/Lean/Elaborator/ResolveName.c ./Init/Lean/Elaborator/Term.c ./Init/Lean/Environment.c ./Init/Lean/EqnCompiler/Default.c ./Init/Lean/EqnCompiler/MatchPattern.c ./Init/Lean/Expr.c ./Init/Lean/Format.c ./Init/Lean/KVMap.c ./Init/Lean/LBool.c ./Init/Lean/Level.c ./Init/Lean/LocalContext.c ./Init/Lean/Message.c ./Init/Lean/MetavarContext.c ./Init/Lean/Modifiers.c ./Init/Lean/MonadCache.c ./Init/Lean/Name.c ./Init/Lean/NameGenerator.c ./Init/Lean/Options.c ./Init/Lean/Parser/Command.c ./Init/Lean/Parser/Default.c ./Init/Lean/Parser/Identifier.c ./Init/Lean/Parser/Level.c ./Init/Lean/Parser/Module.c ./Init/Lean/Parser/Parser.c ./Init/Lean/Parser/Term.c ./Init/Lean/Parser/Transform.c ./Init/Lean/Parser/Trie.c ./Init/Lean/Path.c ./Init/Lean/Position.c ./Init/Lean/ProjFns.c ./Init/Lean/ReducibilityAttrs.c ./Init/Lean/Runtime.c ./Init/Lean/SMap.c ./Init/Lean/Scopes.c ./Init/Lean/Syntax.c ./Init/Lean/ToExpr.c ./Init/Lean/Trace.c ./Init/Lean/TypeClass/Basic.c ./Init/Lean/TypeClass/Context.c ./Init/Lean/TypeClass/Default.c ./Init/Lean/TypeClass/Synth.c ./Init/Lean/TypeUtil.c ./Init/Lean/Util.c ./Init/Lean/WHNF.c ./Init/System/Default.c ./Init/System/FilePath.c ./Init/System/IO.c ./Init/System/Platform.c ./Init/Util.c ./Init/WF.c) +add_library (stage0 OBJECT ./Init/Coe.c ./Init/Control/Alternative.c ./Init/Control/Applicative.c ./Init/Control/Conditional.c ./Init/Control/Default.c ./Init/Control/EState.c ./Init/Control/Except.c ./Init/Control/Functor.c ./Init/Control/Id.c ./Init/Control/Lift.c ./Init/Control/Monad.c ./Init/Control/MonadFail.c ./Init/Control/Option.c ./Init/Control/Reader.c ./Init/Control/State.c ./Init/Core.c ./Init/Data/Array/Basic.c ./Init/Data/Array/BinSearch.c ./Init/Data/Array/Default.c ./Init/Data/Array/QSort.c ./Init/Data/AssocList.c ./Init/Data/Basic.c ./Init/Data/BinomialHeap/Basic.c ./Init/Data/BinomialHeap/Default.c ./Init/Data/ByteArray/Basic.c ./Init/Data/ByteArray/Default.c ./Init/Data/Char/Basic.c ./Init/Data/Char/Default.c ./Init/Data/DList.c ./Init/Data/Default.c ./Init/Data/Fin/Basic.c ./Init/Data/Fin/Default.c ./Init/Data/HashMap/Basic.c ./Init/Data/HashMap/Default.c ./Init/Data/HashSet.c ./Init/Data/Hashable.c ./Init/Data/Int/Basic.c ./Init/Data/Int/Default.c ./Init/Data/List/Basic.c ./Init/Data/List/BasicAux.c ./Init/Data/List/Control.c ./Init/Data/List/Default.c ./Init/Data/List/Instances.c ./Init/Data/Nat/Basic.c ./Init/Data/Nat/Bitwise.c ./Init/Data/Nat/Control.c ./Init/Data/Nat/Default.c ./Init/Data/Nat/Div.c ./Init/Data/Option/Basic.c ./Init/Data/Option/BasicAux.c ./Init/Data/Option/Default.c ./Init/Data/Option/Instances.c ./Init/Data/PersistentArray/Basic.c ./Init/Data/PersistentArray/Default.c ./Init/Data/PersistentHashMap/Basic.c ./Init/Data/PersistentHashMap/Default.c ./Init/Data/PersistentHashSet.c ./Init/Data/Queue/Basic.c ./Init/Data/Queue/Default.c ./Init/Data/RBMap/Basic.c ./Init/Data/RBMap/BasicAux.c ./Init/Data/RBMap/Default.c ./Init/Data/RBTree/Basic.c ./Init/Data/RBTree/Default.c ./Init/Data/Random.c ./Init/Data/Repr.c ./Init/Data/Stack/Basic.c ./Init/Data/Stack/Default.c ./Init/Data/String/Basic.c ./Init/Data/String/Default.c ./Init/Data/ToString.c ./Init/Data/UInt.c ./Init/Default.c ./Init/Fix.c ./Init/Lean/Attributes.c ./Init/Lean/AuxRecursor.c ./Init/Lean/Class.c ./Init/Lean/Compiler/ClosedTermCache.c ./Init/Lean/Compiler/ConstFolding.c ./Init/Lean/Compiler/Default.c ./Init/Lean/Compiler/ExportAttr.c ./Init/Lean/Compiler/ExternAttr.c ./Init/Lean/Compiler/IR/Basic.c ./Init/Lean/Compiler/IR/Borrow.c ./Init/Lean/Compiler/IR/Boxing.c ./Init/Lean/Compiler/IR/Checker.c ./Init/Lean/Compiler/IR/CompilerM.c ./Init/Lean/Compiler/IR/CtorLayout.c ./Init/Lean/Compiler/IR/Default.c ./Init/Lean/Compiler/IR/ElimDeadBranches.c ./Init/Lean/Compiler/IR/ElimDeadVars.c ./Init/Lean/Compiler/IR/EmitC.c ./Init/Lean/Compiler/IR/EmitUtil.c ./Init/Lean/Compiler/IR/ExpandResetReuse.c ./Init/Lean/Compiler/IR/Format.c ./Init/Lean/Compiler/IR/FreeVars.c ./Init/Lean/Compiler/IR/LiveVars.c ./Init/Lean/Compiler/IR/NormIds.c ./Init/Lean/Compiler/IR/PushProj.c ./Init/Lean/Compiler/IR/RC.c ./Init/Lean/Compiler/IR/ResetReuse.c ./Init/Lean/Compiler/IR/SimpCase.c ./Init/Lean/Compiler/IR/UnboxResult.c ./Init/Lean/Compiler/ImplementedByAttr.c ./Init/Lean/Compiler/InitAttr.c ./Init/Lean/Compiler/InlineAttrs.c ./Init/Lean/Compiler/NameMangling.c ./Init/Lean/Compiler/NeverExtractAttr.c ./Init/Lean/Compiler/Specialize.c ./Init/Lean/Compiler/Util.c ./Init/Lean/Declaration.c ./Init/Lean/Default.c ./Init/Lean/Elaborator/Alias.c ./Init/Lean/Elaborator/Basic.c ./Init/Lean/Elaborator/Command.c ./Init/Lean/Elaborator/Default.c ./Init/Lean/Elaborator/ElabStrategyAttrs.c ./Init/Lean/Elaborator/PreTerm.c ./Init/Lean/Elaborator/ResolveName.c ./Init/Lean/Elaborator/Term.c ./Init/Lean/Environment.c ./Init/Lean/EqnCompiler/Default.c ./Init/Lean/EqnCompiler/MatchPattern.c ./Init/Lean/Expr.c ./Init/Lean/Format.c ./Init/Lean/KVMap.c ./Init/Lean/LBool.c ./Init/Lean/Level.c ./Init/Lean/LocalContext.c ./Init/Lean/Message.c ./Init/Lean/Meta.c ./Init/Lean/MetavarContext.c ./Init/Lean/Modifiers.c ./Init/Lean/MonadCache.c ./Init/Lean/Name.c ./Init/Lean/NameGenerator.c ./Init/Lean/Options.c ./Init/Lean/Parser/Command.c ./Init/Lean/Parser/Default.c ./Init/Lean/Parser/Identifier.c ./Init/Lean/Parser/Level.c ./Init/Lean/Parser/Module.c ./Init/Lean/Parser/Parser.c ./Init/Lean/Parser/Term.c ./Init/Lean/Parser/Transform.c ./Init/Lean/Parser/Trie.c ./Init/Lean/Path.c ./Init/Lean/Position.c ./Init/Lean/ProjFns.c ./Init/Lean/ReducibilityAttrs.c ./Init/Lean/Runtime.c ./Init/Lean/SMap.c ./Init/Lean/Scopes.c ./Init/Lean/Syntax.c ./Init/Lean/ToExpr.c ./Init/Lean/Trace.c ./Init/Lean/TypeClass/Basic.c ./Init/Lean/TypeClass/Context.c ./Init/Lean/TypeClass/Default.c ./Init/Lean/TypeClass/Synth.c ./Init/Lean/Util.c ./Init/Lean/WHNF.c ./Init/System/Default.c ./Init/System/FilePath.c ./Init/System/IO.c ./Init/System/Platform.c ./Init/Util.c ./Init/WF.c) diff --git a/src/stage0/Init/Core.c b/src/stage0/Init/Core.c index 5c18b1bcd3..95cc5b4089 100644 --- a/src/stage0/Init/Core.c +++ b/src/stage0/Init/Core.c @@ -87,6 +87,7 @@ lean_object* l_Option_HasSizeof___rarg(lean_object*); lean_object* l_bne(lean_object*); lean_object* l_Not_Decidable___rarg___boxed(lean_object*); lean_object* l_id___rarg___boxed(lean_object*); +lean_object* l_Prod_HasBeq(lean_object*, lean_object*); lean_object* l_setoidHasEquiv(lean_object*, lean_object*); lean_object* l_Sigma_sizeof___at_Sigma_HasSizeof___spec__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Task_get___boxed(lean_object*, lean_object*); @@ -323,6 +324,7 @@ lean_object* l_PUnit_HasSizeof; uint8_t l_Sum_DecidableEq___rarg(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Bool_Inhabited; lean_object* l_Task_mk___boxed(lean_object*, lean_object*); +lean_object* l_Prod_HasBeq___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Quot_liftOn(lean_object*, lean_object*, lean_object*); lean_object* l_Quotient_recOnSubsingleton_u2082(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_PSigma_HasSizeof___rarg(lean_object*, lean_object*); @@ -3033,6 +3035,49 @@ x_6 = lean_box(x_5); return x_6; } } +lean_object* l_Prod_HasBeq___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; lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_5 = lean_ctor_get(x_3, 0); +lean_inc(x_5); +x_6 = lean_ctor_get(x_3, 1); +lean_inc(x_6); +lean_dec(x_3); +x_7 = lean_ctor_get(x_4, 0); +lean_inc(x_7); +x_8 = lean_ctor_get(x_4, 1); +lean_inc(x_8); +lean_dec(x_4); +x_9 = lean_apply_2(x_1, x_5, x_7); +x_10 = lean_unbox(x_9); +lean_dec(x_9); +if (x_10 == 0) +{ +uint8_t x_11; lean_object* x_12; +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_2); +x_11 = 0; +x_12 = lean_box(x_11); +return x_12; +} +else +{ +lean_object* x_13; +x_13 = lean_apply_2(x_2, x_6, x_8); +return x_13; +} +} +} +lean_object* l_Prod_HasBeq(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Prod_HasBeq___rarg), 4, 0); +return x_3; +} +} lean_object* l_Prod_HasLess(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { diff --git a/src/stage0/Init/Data/BinomialHeap/Basic.c b/src/stage0/Init/Data/BinomialHeap/Basic.c index f909454481..d46302cf8b 100644 --- a/src/stage0/Init/Data/BinomialHeap/Basic.c +++ b/src/stage0/Init/Data/BinomialHeap/Basic.c @@ -16,25 +16,23 @@ extern "C" { lean_object* l_BinomialHeapImp_Inhabited(lean_object*); lean_object* l_mkBinomialHeap(lean_object*, lean_object*); lean_object* l_BinomialHeapImp_findMin___main___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_List_foldl___main___at_BinomialHeapImp_head_x3f___spec__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_mkBinomialHeap___boxed(lean_object*, lean_object*); lean_object* l_BinomialHeap_singleton___rarg(lean_object*); lean_object* l_BinomialHeap_isEmpty___boxed(lean_object*, lean_object*); lean_object* l_BinomialHeapImp_toList___rarg(lean_object*, lean_object*); -lean_object* l_BinomialHeapImp_headOpt(lean_object*); lean_object* l_BinomialHeapImp_tail___rarg(lean_object*, lean_object*); lean_object* l_BinomialHeapImp_combine___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_BinomialHeapImp_tail(lean_object*); -lean_object* l_BinomialHeap_headOpt(lean_object*); -lean_object* l_BinomialHeapImp_headOpt___rarg(lean_object*, lean_object*); lean_object* l_BinomialHeap_head___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_BinomialHeap_merge(lean_object*); lean_object* l_BinomialHeapImp_mergeNodes___main___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_BinomialHeapImp_singleton___rarg(lean_object*); uint8_t l_BinomialHeap_isEmpty___rarg(lean_object*); +lean_object* l_BinomialHeapImp_head_x3f___rarg(lean_object*, lean_object*); lean_object* l_BinomialHeap_tail___rarg(lean_object*, lean_object*); lean_object* l_BinomialHeapImp_hRank(lean_object*); lean_object* l_BinomialHeapImp_mergeNodes(lean_object*); -lean_object* l_List_foldl___main___at_BinomialHeapImp_headOpt___spec__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_BinomialHeapImp_findMin___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_BinomialHeapImp_head___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_List_foldl___main___at_BinomialHeapImp_head___spec__1(lean_object*); @@ -61,12 +59,12 @@ lean_object* l_BinomialHeap_empty___boxed(lean_object*, lean_object*); lean_object* l_BinomialHeapImp_head___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_BinomialHeap_insert___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_List_foldl___main___at_BinomialHeapImp_tail___spec__2(lean_object*); +lean_object* l_BinomialHeap_head_x3f___rarg(lean_object*, lean_object*); lean_object* l_BinomialHeap_isEmpty(lean_object*, lean_object*); lean_object* l_BinomialHeapImp_merge(lean_object*); -lean_object* l_List_foldl___main___at_BinomialHeapImp_headOpt___spec__1(lean_object*); lean_object* l_BinomialHeapImp_isEmpty(lean_object*); -lean_object* l_BinomialHeap_headOpt___rarg(lean_object*, lean_object*); lean_object* l_BinomialHeapImp_hRank___rarg___boxed(lean_object*); +lean_object* l_BinomialHeap_head_x3f(lean_object*); lean_object* l_BinomialHeapImp_toList___main(lean_object*); lean_object* l_BinomialHeapImp_mergeNodes___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_BinomialHeapImp_combine(lean_object*); @@ -78,10 +76,12 @@ lean_object* l_BinomialHeapImp_isEmpty___rarg___boxed(lean_object*); lean_object* l_BinomialHeap_toList___rarg(lean_object*, lean_object*); lean_object* l_BinomialHeapImp_toList___main___rarg(lean_object*, lean_object*); lean_object* l_List_eraseIdx___main___rarg(lean_object*, lean_object*); +lean_object* l_BinomialHeapImp_head_x3f(lean_object*); lean_object* l_BinomialHeap_singleton___boxed(lean_object*, lean_object*); lean_object* l_BinomialHeapImp_merge___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_BinomialHeapImp_hRank___rarg(lean_object*); lean_object* l_BinomialHeap_tail(lean_object*); +lean_object* l_List_foldl___main___at_BinomialHeapImp_head_x3f___spec__1(lean_object*); lean_object* l_BinomialHeapImp_Inhabited(lean_object* x_1) { _start: { @@ -644,7 +644,7 @@ x_2 = lean_alloc_closure((void*)(l_BinomialHeapImp_merge___rarg), 3, 0); return x_2; } } -lean_object* l_List_foldl___main___at_BinomialHeapImp_headOpt___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_List_foldl___main___at_BinomialHeapImp_head_x3f___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_3) == 0) @@ -747,15 +747,15 @@ goto _start; } } } -lean_object* l_List_foldl___main___at_BinomialHeapImp_headOpt___spec__1(lean_object* x_1) { +lean_object* l_List_foldl___main___at_BinomialHeapImp_head_x3f___spec__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_List_foldl___main___at_BinomialHeapImp_headOpt___spec__1___rarg), 3, 0); +x_2 = lean_alloc_closure((void*)(l_List_foldl___main___at_BinomialHeapImp_head_x3f___spec__1___rarg), 3, 0); return x_2; } } -lean_object* l_BinomialHeapImp_headOpt___rarg(lean_object* x_1, lean_object* x_2) { +lean_object* l_BinomialHeapImp_head_x3f___rarg(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_2) == 0) @@ -772,16 +772,16 @@ x_4 = lean_ctor_get(x_2, 0); lean_inc(x_4); lean_dec(x_2); x_5 = lean_box(0); -x_6 = l_List_foldl___main___at_BinomialHeapImp_headOpt___spec__1___rarg(x_1, x_5, x_4); +x_6 = l_List_foldl___main___at_BinomialHeapImp_head_x3f___spec__1___rarg(x_1, x_5, x_4); return x_6; } } } -lean_object* l_BinomialHeapImp_headOpt(lean_object* x_1) { +lean_object* l_BinomialHeapImp_head_x3f(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_BinomialHeapImp_headOpt___rarg), 2, 0); +x_2 = lean_alloc_closure((void*)(l_BinomialHeapImp_head_x3f___rarg), 2, 0); return x_2; } } @@ -1240,7 +1240,7 @@ else lean_object* x_4; lean_inc(x_2); lean_inc(x_1); -x_4 = l_BinomialHeapImp_headOpt___rarg(x_1, x_2); +x_4 = l_BinomialHeapImp_head_x3f___rarg(x_1, x_2); if (lean_obj_tag(x_4) == 0) { lean_object* x_5; @@ -1425,19 +1425,19 @@ lean_dec(x_2); return x_4; } } -lean_object* l_BinomialHeap_headOpt___rarg(lean_object* x_1, lean_object* x_2) { +lean_object* l_BinomialHeap_head_x3f___rarg(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_BinomialHeapImp_headOpt___rarg(x_1, x_2); +x_3 = l_BinomialHeapImp_head_x3f___rarg(x_1, x_2); return x_3; } } -lean_object* l_BinomialHeap_headOpt(lean_object* x_1) { +lean_object* l_BinomialHeap_head_x3f(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_BinomialHeap_headOpt___rarg), 2, 0); +x_2 = lean_alloc_closure((void*)(l_BinomialHeap_head_x3f___rarg), 2, 0); return x_2; } } diff --git a/src/stage0/Init/Data/Hashable.c b/src/stage0/Init/Data/Hashable.c index 936e14cada..4a68370e71 100644 --- a/src/stage0/Init/Data/Hashable.c +++ b/src/stage0/Init/Data/Hashable.c @@ -16,9 +16,12 @@ extern "C" { lean_object* l_String_Hashable___closed__1; lean_object* l_String_Hashable; size_t l_Nat_hash(lean_object*); +lean_object* l_Prod_Hashable___rarg___boxed(lean_object*, lean_object*, lean_object*); +size_t l_Prod_Hashable___rarg(lean_object*, lean_object*, lean_object*); size_t lean_string_hash(lean_object*); lean_object* l_String_hash___boxed(lean_object*); lean_object* l_Nat_Hashable; +lean_object* l_Prod_Hashable(lean_object*, lean_object*); lean_object* l_mixHash___boxed(lean_object*, lean_object*); size_t lean_usize_mix_hash(size_t, size_t); size_t lean_usize_of_nat(lean_object*); @@ -96,6 +99,42 @@ x_1 = l_Nat_Hashable___closed__1; return x_1; } } +size_t l_Prod_Hashable___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; size_t x_7; lean_object* x_8; size_t x_9; size_t x_10; +x_4 = lean_ctor_get(x_3, 0); +lean_inc(x_4); +x_5 = lean_ctor_get(x_3, 1); +lean_inc(x_5); +lean_dec(x_3); +x_6 = lean_apply_1(x_1, x_4); +x_7 = lean_unbox_usize(x_6); +lean_dec(x_6); +x_8 = lean_apply_1(x_2, x_5); +x_9 = lean_unbox_usize(x_8); +lean_dec(x_8); +x_10 = lean_usize_mix_hash(x_7, x_9); +return x_10; +} +} +lean_object* l_Prod_Hashable(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Prod_Hashable___rarg___boxed), 3, 0); +return x_3; +} +} +lean_object* l_Prod_Hashable___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +size_t x_4; lean_object* x_5; +x_4 = l_Prod_Hashable___rarg(x_1, x_2, x_3); +x_5 = lean_box_usize(x_4); +return x_5; +} +} lean_object* initialize_Init_Data_UInt(lean_object*); lean_object* initialize_Init_Data_String_Default(lean_object*); static bool _G_initialized = false; diff --git a/src/stage0/Init/Data/PersistentHashMap/Basic.c b/src/stage0/Init/Data/PersistentHashMap/Basic.c index b450cddf9b..99a79bb03c 100644 --- a/src/stage0/Init/Data/PersistentHashMap/Basic.c +++ b/src/stage0/Init/Data/PersistentHashMap/Basic.c @@ -16,6 +16,7 @@ extern "C" { lean_object* l_PersistentHashMap_findAtAux___main___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_isUnaryEntries___main___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_find(lean_object*, lean_object*); +lean_object* l_PersistentHashMap_isEmpty___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_foldlMAux___main___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_mul2Shift___boxed(lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_PersistentHashMap_foldl___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -29,21 +30,21 @@ lean_object* l_PersistentHashMap_Stats_toString___closed__3; lean_object* l_Array_iterateMAux___main___at_PersistentHashMap_foldl___spec__3(lean_object*, lean_object*, lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_Stats_toString___closed__4; -lean_object* l_PersistentHashMap_foldlM___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentHashMap_foldlM___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_findAux___main___rarg(lean_object*, lean_object*, size_t, lean_object*); lean_object* lean_mk_array(lean_object*, lean_object*); -lean_object* l_PersistentHashMap_foldlM___at_PersistentHashMap_foldl___spec__1(lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentHashMap_foldlM___at_PersistentHashMap_foldl___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_isUnaryEntries___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_isUnaryEntries(lean_object*, lean_object*); -lean_object* l_PersistentHashMap_HasEmptyc___closed__1; size_t l_USize_shift__right(size_t, size_t); lean_object* l_PersistentHashMap_foldlMAux___main___at_PersistentHashMap_toList___spec__2___rarg___boxed(lean_object*, lean_object*); lean_object* l_PersistentHashMap_contains(lean_object*, lean_object*); lean_object* l_PersistentHashMap_find_x21___rarg___closed__2; lean_object* l_PersistentHashMap_findAux___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_insert___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentHashMap_empty___rarg___closed__2; lean_object* l_PersistentHashMap_eraseAux___rarg(lean_object*, lean_object*, size_t, lean_object*); -lean_object* l_PersistentHashMap_isEmpty(lean_object*, lean_object*); +lean_object* l_PersistentHashMap_isEmpty(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_findAtAux___main(lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_PersistentHashMap_foldlMAux___main___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_insertAtCollisionNode(lean_object*, lean_object*); @@ -51,10 +52,11 @@ size_t l_USize_sub(size_t, size_t); lean_object* l_PersistentHashMap_Stats_toString(lean_object*); lean_object* l_PersistentHashMap_HasEmptyc(lean_object*, lean_object*); lean_object* l_PersistentHashMap_insertAtCollisionNodeAux(lean_object*, lean_object*); -lean_object* l_PersistentHashMap_toList___rarg___boxed(lean_object*); +lean_object* l_PersistentHashMap_toList___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_PersistentHashMap_foldlMAux___main___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_findAtAux___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_mkCollisionNode___rarg___closed__1; +lean_object* l_PersistentHashMap_foldlM___at_PersistentHashMap_toList___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_isUnaryEntries___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_foldlMAux___main___at_PersistentHashMap_foldl___spec__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_containsAtAux___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -71,8 +73,9 @@ lean_object* l_PersistentHashMap_mkEmptyEntries(lean_object*, lean_object*); lean_object* l_PersistentHashMap_maxCollisions; lean_object* l_PersistentHashMap_containsAux___main___rarg(lean_object*, lean_object*, size_t, lean_object*); lean_object* l_PersistentHashMap_collectStats___main___rarg___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_PersistentHashMap_toList___rarg(lean_object*); +lean_object* l_PersistentHashMap_toList___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_foldlMAux___main(lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentHashMap_empty___rarg___boxed(lean_object*, lean_object*); lean_object* l_Nat_repr(lean_object*); lean_object* l_Array_iterateMAux___main___at_PersistentHashMap_toList___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_PersistentHashMap_foldlMAux___main___spec__2(lean_object*, lean_object*, lean_object*); @@ -88,22 +91,23 @@ lean_object* l_PersistentHashMap_containsAux___rarg(lean_object*, lean_object*, lean_object* l_Array_iterateMAux___main___at_PersistentHashMap_toList___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_contains___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_findD(lean_object*, lean_object*); -lean_object* l_PersistentHashMap_foldl___rarg___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentHashMap_foldl___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_string_append(lean_object*, lean_object*); lean_object* l_PersistentHashMap_isUnaryEntries___main(lean_object*, lean_object*); lean_object* l_PersistentHashMap_insertAtCollisionNodeAux___main___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t l_USize_add(size_t, size_t); lean_object* l_Array_iterateMAux___main___at_PersistentHashMap_toList___spec__3___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentHashMap_stats___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_Stats_toString___closed__5; lean_object* l_PersistentHashMap_containsAtAux___main___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_findAtAux___main___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_foldl(lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentHashMap_foldlM___rarg___boxed(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_PersistentHashMap_isUnaryNode___rarg___boxed(lean_object*); lean_object* l_PersistentHashMap_foldlM___at_PersistentHashMap_toList___spec__1___rarg___boxed(lean_object*, lean_object*); lean_object* l_PersistentHashMap_findD___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_div2Shift___boxed(lean_object*, lean_object*); -lean_object* l_PersistentHashMap_empty___closed__3; lean_object* l_Array_iterateMAux___main___at_PersistentHashMap_collectStats___main___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_stats___rarg___closed__1; lean_object* l_Array_iterateMAux___main___at_PersistentHashMap_foldlMAux___main___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -112,7 +116,7 @@ lean_object* l_PersistentHashMap_isUnaryEntries___main___rarg(lean_object*, lean lean_object* l_Array_iterateMAux___main___at_PersistentHashMap_collectStats___main___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_mkEmptyEntriesArray___closed__1; lean_object* lean_nat_add(lean_object*, lean_object*); -lean_object* l_PersistentHashMap_foldl___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentHashMap_foldl___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_collectStats___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_Stats_toString___closed__1; lean_object* l_Array_iterateMAux___main___at_PersistentHashMap_toList___spec__4(lean_object*, lean_object*); @@ -121,11 +125,11 @@ lean_object* l_Array_iterateMAux___main___at_PersistentHashMap_foldlMAux___main_ lean_object* l_PersistentHashMap_isEmpty___rarg___boxed(lean_object*); lean_object* l_PersistentHashMap_insertAux___main___rarg(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); -lean_object* l_PersistentHashMap_foldlM___at_PersistentHashMap_toList___spec__1(lean_object*, lean_object*); +lean_object* l_PersistentHashMap_foldlM___at_PersistentHashMap_toList___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_PersistentHashMap_foldlMAux___main___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_indexOfAux___main___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_insertAux___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_PersistentHashMap_empty___closed__2; +lean_object* l_PersistentHashMap_empty___rarg(lean_object*, lean_object*); lean_object* l_PersistentHashMap_foldlM___at_PersistentHashMap_foldl___spec__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_HasToString; lean_object* l_Array_iterateMAux___main___at_PersistentHashMap_foldl___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -133,14 +137,16 @@ size_t l_PersistentHashMap_shift; lean_object* l_PersistentHashMap_foldlM___at_PersistentHashMap_toList___spec__1___rarg(lean_object*, lean_object*); lean_object* lean_array_set(lean_object*, lean_object*, lean_object*); size_t l_PersistentHashMap_insertAux___main___rarg___closed__2; +lean_object* l_PersistentHashMap_Inhabited___rarg___boxed(lean_object*, lean_object*); lean_object* l_PersistentHashMap_find_x21(lean_object*, lean_object*); lean_object* l_PersistentHashMap_find_x21___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_foldlMAux___main___at_PersistentHashMap_toList___spec__2(lean_object*, lean_object*); -lean_object* l_PersistentHashMap_stats(lean_object*, lean_object*); +lean_object* l_PersistentHashMap_stats(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_eraseAux___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_foldlMAux___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_Node_inhabited(lean_object*, lean_object*); lean_object* l_PersistentHashMap_eraseAux___main___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentHashMap_HasEmptyc___rarg(lean_object*, lean_object*); lean_object* l_PersistentHashMap_Node_inhabited___closed__1; size_t l_PersistentHashMap_maxDepth; lean_object* l_Array_iterateMAux___main___at_PersistentHashMap_collectStats___main___spec__1(lean_object*, lean_object*); @@ -148,6 +154,7 @@ lean_object* l_Array_iterateMAux___main___at_PersistentHashMap_insertAux___main_ lean_object* l_Array_iterateMAux___main___at_PersistentHashMap_foldl___spec__4___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_foldlM___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_PersistentHashMap_foldl___spec__3___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentHashMap_empty___rarg___closed__1; lean_object* l_PersistentHashMap_stats___rarg___boxed(lean_object*); lean_object* l_PersistentHashMap_insertAux___rarg(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); lean_object* l_PersistentHashMap_foldlMAux___main___at_PersistentHashMap_toList___spec__2___rarg(lean_object*, lean_object*); @@ -166,10 +173,10 @@ lean_object* l_PersistentHashMap_foldlMAux___main___at_PersistentHashMap_foldl__ lean_object* l_PersistentHashMap_Stats_toString___closed__2; lean_object* l_PersistentHashMap_isUnaryNode___rarg(lean_object*); lean_object* l_PersistentHashMap_find___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentHashMap_HasEmptyc___rarg___boxed(lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); lean_object* l_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); lean_object* l_PersistentHashMap_getCollisionNodeSize___rarg___boxed(lean_object*); -lean_object* l_PersistentHashMap_empty___closed__1; lean_object* l_PersistentHashMap_collectStats___main___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_findAtAux___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_empty(lean_object*, lean_object*); @@ -204,11 +211,13 @@ uint8_t l_PersistentHashMap_containsAtAux___main___rarg(lean_object*, lean_objec lean_object* l_Array_iterateMAux___main___at_PersistentHashMap_foldlMAux___main___spec__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_PersistentHashMap_insertAux___main___spec__1___rarg(lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_findAux(lean_object*, lean_object*); +lean_object* l_PersistentHashMap_Inhabited___rarg(lean_object*, lean_object*); lean_object* l_PersistentHashMap_foldlMAux___main___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_findD___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_collectStats___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_containsAux___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_panicWithPos___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentHashMap_foldlM___at_PersistentHashMap_foldl___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_erase(lean_object*, lean_object*); size_t l_PersistentHashMap_branching; lean_object* l_PersistentHashMap_eraseAux(lean_object*, lean_object*); @@ -291,7 +300,7 @@ x_3 = l_PersistentHashMap_mkEmptyEntriesArray___closed__1; return x_3; } } -lean_object* _init_l_PersistentHashMap_empty___closed__1() { +lean_object* _init_l_PersistentHashMap_empty___rarg___closed__1() { _start: { lean_object* x_1; @@ -299,49 +308,69 @@ x_1 = l_PersistentHashMap_mkEmptyEntriesArray(lean_box(0), lean_box(0)); return x_1; } } -lean_object* _init_l_PersistentHashMap_empty___closed__2() { +lean_object* _init_l_PersistentHashMap_empty___rarg___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_PersistentHashMap_empty___closed__1; +x_1 = l_PersistentHashMap_empty___rarg___closed__1; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l_PersistentHashMap_empty___closed__3() { +lean_object* l_PersistentHashMap_empty___rarg(lean_object* x_1, lean_object* x_2) { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_PersistentHashMap_empty___closed__2; -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_object* x_3; lean_object* x_4; lean_object* x_5; +x_3 = l_PersistentHashMap_empty___rarg___closed__2; +x_4 = lean_unsigned_to_nat(0u); +x_5 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_5, 0, x_3); +lean_ctor_set(x_5, 1, x_4); +return x_5; } } lean_object* l_PersistentHashMap_empty(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_PersistentHashMap_empty___closed__3; +x_3 = lean_alloc_closure((void*)(l_PersistentHashMap_empty___rarg___boxed), 2, 0); return x_3; } } -lean_object* _init_l_PersistentHashMap_HasEmptyc___closed__1() { +lean_object* l_PersistentHashMap_empty___rarg___boxed(lean_object* x_1, lean_object* x_2) { _start: { -lean_object* x_1; -x_1 = l_PersistentHashMap_empty(lean_box(0), lean_box(0)); -return x_1; +lean_object* x_3; +x_3 = l_PersistentHashMap_empty___rarg(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +lean_object* l_PersistentHashMap_HasEmptyc___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_PersistentHashMap_empty___rarg(x_1, x_2); +return x_3; } } lean_object* l_PersistentHashMap_HasEmptyc(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_PersistentHashMap_HasEmptyc___closed__1; +x_3 = lean_alloc_closure((void*)(l_PersistentHashMap_HasEmptyc___rarg___boxed), 2, 0); +return x_3; +} +} +lean_object* l_PersistentHashMap_HasEmptyc___rarg___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_PersistentHashMap_HasEmptyc___rarg(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); return x_3; } } @@ -355,12 +384,12 @@ x_4 = lean_nat_dec_eq(x_2, x_3); return x_4; } } -lean_object* l_PersistentHashMap_isEmpty(lean_object* x_1, lean_object* x_2) { +lean_object* l_PersistentHashMap_isEmpty(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_PersistentHashMap_isEmpty___rarg___boxed), 1, 0); -return x_3; +lean_object* x_5; +x_5 = lean_alloc_closure((void*)(l_PersistentHashMap_isEmpty___rarg___boxed), 1, 0); +return x_5; } } lean_object* l_PersistentHashMap_isEmpty___rarg___boxed(lean_object* x_1) { @@ -373,11 +402,43 @@ x_3 = lean_box(x_2); return x_3; } } +lean_object* l_PersistentHashMap_isEmpty___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_PersistentHashMap_isEmpty(x_1, x_2, x_3, x_4); +lean_dec(x_4); +lean_dec(x_3); +return x_5; +} +} +lean_object* l_PersistentHashMap_Inhabited___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_3 = l_PersistentHashMap_empty___rarg___closed__2; +x_4 = lean_unsigned_to_nat(0u); +x_5 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_5, 0, x_3); +lean_ctor_set(x_5, 1, x_4); +return x_5; +} +} lean_object* l_PersistentHashMap_Inhabited(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_PersistentHashMap_empty___closed__3; +x_3 = lean_alloc_closure((void*)(l_PersistentHashMap_Inhabited___rarg___boxed), 2, 0); +return x_3; +} +} +lean_object* l_PersistentHashMap_Inhabited___rarg___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_PersistentHashMap_Inhabited___rarg(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); return x_3; } } @@ -385,7 +446,7 @@ lean_object* l_PersistentHashMap_mkEmptyEntries(lean_object* x_1, lean_object* x _start: { lean_object* x_3; -x_3 = l_PersistentHashMap_empty___closed__2; +x_3 = l_PersistentHashMap_empty___rarg___closed__2; return x_3; } } @@ -2861,25 +2922,35 @@ lean_dec(x_3); return x_4; } } -lean_object* l_PersistentHashMap_foldlM___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_PersistentHashMap_foldlM___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_6; lean_object* x_7; -x_6 = lean_ctor_get(x_3, 0); -lean_inc(x_6); -lean_dec(x_3); -x_7 = l_PersistentHashMap_foldlMAux___main___rarg(x_1, lean_box(0), x_4, x_6, x_5); -return x_7; +lean_object* x_8; lean_object* x_9; +x_8 = lean_ctor_get(x_5, 0); +lean_inc(x_8); +lean_dec(x_5); +x_9 = l_PersistentHashMap_foldlMAux___main___rarg(x_1, lean_box(0), x_6, x_8, x_7); +return x_9; } } lean_object* l_PersistentHashMap_foldlM(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = lean_alloc_closure((void*)(l_PersistentHashMap_foldlM___rarg), 5, 0); +x_4 = lean_alloc_closure((void*)(l_PersistentHashMap_foldlM___rarg___boxed), 7, 0); return x_4; } } +lean_object* l_PersistentHashMap_foldlM___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_PersistentHashMap_foldlM___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_4); +lean_dec(x_3); +return x_8; +} +} lean_object* l_PersistentHashMap_foldlM___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -3030,27 +3101,27 @@ x_5 = l_PersistentHashMap_foldlMAux___main___at_PersistentHashMap_foldl___spec__ return x_5; } } -lean_object* l_PersistentHashMap_foldlM___at_PersistentHashMap_foldl___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_PersistentHashMap_foldlM___at_PersistentHashMap_foldl___spec__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_4; -x_4 = lean_alloc_closure((void*)(l_PersistentHashMap_foldlM___at_PersistentHashMap_foldl___spec__1___rarg___boxed), 3, 0); -return x_4; +lean_object* x_6; +x_6 = lean_alloc_closure((void*)(l_PersistentHashMap_foldlM___at_PersistentHashMap_foldl___spec__1___rarg___boxed), 3, 0); +return x_6; } } -lean_object* l_PersistentHashMap_foldl___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_PersistentHashMap_foldl___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_4; -x_4 = l_PersistentHashMap_foldlM___at_PersistentHashMap_foldl___spec__1___rarg(x_2, x_1, x_3); -return x_4; +lean_object* x_6; +x_6 = l_PersistentHashMap_foldlM___at_PersistentHashMap_foldl___spec__1___rarg(x_4, x_3, x_5); +return x_6; } } lean_object* l_PersistentHashMap_foldl(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = lean_alloc_closure((void*)(l_PersistentHashMap_foldl___rarg___boxed), 3, 0); +x_4 = lean_alloc_closure((void*)(l_PersistentHashMap_foldl___rarg___boxed), 5, 0); return x_4; } } @@ -3093,13 +3164,25 @@ lean_dec(x_2); return x_4; } } -lean_object* l_PersistentHashMap_foldl___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_PersistentHashMap_foldlM___at_PersistentHashMap_foldl___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { -lean_object* x_4; -x_4 = l_PersistentHashMap_foldl___rarg(x_1, x_2, x_3); +lean_object* x_6; +x_6 = l_PersistentHashMap_foldlM___at_PersistentHashMap_foldl___spec__1(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_5); +lean_dec(x_4); +return x_6; +} +} +lean_object* l_PersistentHashMap_foldl___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_PersistentHashMap_foldl___rarg(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_3); +lean_dec(x_2); lean_dec(x_1); -return x_4; +return x_6; } } lean_object* l_Array_iterateMAux___main___at_PersistentHashMap_toList___spec__3___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { @@ -3248,28 +3331,28 @@ x_4 = l_PersistentHashMap_foldlMAux___main___at_PersistentHashMap_toList___spec_ return x_4; } } -lean_object* l_PersistentHashMap_foldlM___at_PersistentHashMap_toList___spec__1(lean_object* x_1, lean_object* x_2) { +lean_object* l_PersistentHashMap_foldlM___at_PersistentHashMap_toList___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_PersistentHashMap_foldlM___at_PersistentHashMap_toList___spec__1___rarg___boxed), 2, 0); -return x_3; +lean_object* x_5; +x_5 = lean_alloc_closure((void*)(l_PersistentHashMap_foldlM___at_PersistentHashMap_toList___spec__1___rarg___boxed), 2, 0); +return x_5; } } -lean_object* l_PersistentHashMap_toList___rarg(lean_object* x_1) { +lean_object* l_PersistentHashMap_toList___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_2; lean_object* x_3; -x_2 = lean_box(0); -x_3 = l_PersistentHashMap_foldlM___at_PersistentHashMap_toList___spec__1___rarg(x_1, x_2); -return x_3; +lean_object* x_4; lean_object* x_5; +x_4 = lean_box(0); +x_5 = l_PersistentHashMap_foldlM___at_PersistentHashMap_toList___spec__1___rarg(x_3, x_4); +return x_5; } } lean_object* l_PersistentHashMap_toList(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_PersistentHashMap_toList___rarg___boxed), 1, 0); +x_3 = lean_alloc_closure((void*)(l_PersistentHashMap_toList___rarg___boxed), 3, 0); return x_3; } } @@ -3312,13 +3395,25 @@ lean_dec(x_1); return x_3; } } -lean_object* l_PersistentHashMap_toList___rarg___boxed(lean_object* x_1) { +lean_object* l_PersistentHashMap_foldlM___at_PersistentHashMap_toList___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { -lean_object* x_2; -x_2 = l_PersistentHashMap_toList___rarg(x_1); +lean_object* x_5; +x_5 = l_PersistentHashMap_foldlM___at_PersistentHashMap_toList___spec__1(x_1, x_2, x_3, x_4); +lean_dec(x_4); +lean_dec(x_3); +return x_5; +} +} +lean_object* l_PersistentHashMap_toList___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_PersistentHashMap_toList___rarg(x_1, x_2, x_3); +lean_dec(x_3); +lean_dec(x_2); lean_dec(x_1); -return x_2; +return x_4; } } lean_object* l_Array_iterateMAux___main___at_PersistentHashMap_collectStats___main___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { @@ -3603,12 +3698,12 @@ x_5 = l_PersistentHashMap_collectStats___main___rarg(x_2, x_3, x_4); return x_5; } } -lean_object* l_PersistentHashMap_stats(lean_object* x_1, lean_object* x_2) { +lean_object* l_PersistentHashMap_stats(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_PersistentHashMap_stats___rarg___boxed), 1, 0); -return x_3; +lean_object* x_5; +x_5 = lean_alloc_closure((void*)(l_PersistentHashMap_stats___rarg___boxed), 1, 0); +return x_5; } } lean_object* l_PersistentHashMap_stats___rarg___boxed(lean_object* x_1) { @@ -3620,6 +3715,16 @@ lean_dec(x_1); return x_2; } } +lean_object* l_PersistentHashMap_stats___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_PersistentHashMap_stats(x_1, x_2, x_3, x_4); +lean_dec(x_4); +lean_dec(x_3); +return x_5; +} +} lean_object* _init_l_PersistentHashMap_Stats_toString___closed__1() { _start: { @@ -3735,14 +3840,10 @@ l_PersistentHashMap_maxCollisions = _init_l_PersistentHashMap_maxCollisions(); lean_mark_persistent(l_PersistentHashMap_maxCollisions); l_PersistentHashMap_mkEmptyEntriesArray___closed__1 = _init_l_PersistentHashMap_mkEmptyEntriesArray___closed__1(); lean_mark_persistent(l_PersistentHashMap_mkEmptyEntriesArray___closed__1); -l_PersistentHashMap_empty___closed__1 = _init_l_PersistentHashMap_empty___closed__1(); -lean_mark_persistent(l_PersistentHashMap_empty___closed__1); -l_PersistentHashMap_empty___closed__2 = _init_l_PersistentHashMap_empty___closed__2(); -lean_mark_persistent(l_PersistentHashMap_empty___closed__2); -l_PersistentHashMap_empty___closed__3 = _init_l_PersistentHashMap_empty___closed__3(); -lean_mark_persistent(l_PersistentHashMap_empty___closed__3); -l_PersistentHashMap_HasEmptyc___closed__1 = _init_l_PersistentHashMap_HasEmptyc___closed__1(); -lean_mark_persistent(l_PersistentHashMap_HasEmptyc___closed__1); +l_PersistentHashMap_empty___rarg___closed__1 = _init_l_PersistentHashMap_empty___rarg___closed__1(); +lean_mark_persistent(l_PersistentHashMap_empty___rarg___closed__1); +l_PersistentHashMap_empty___rarg___closed__2 = _init_l_PersistentHashMap_empty___rarg___closed__2(); +lean_mark_persistent(l_PersistentHashMap_empty___rarg___closed__2); l_PersistentHashMap_mkCollisionNode___rarg___closed__1 = _init_l_PersistentHashMap_mkCollisionNode___rarg___closed__1(); lean_mark_persistent(l_PersistentHashMap_mkCollisionNode___rarg___closed__1); l_PersistentHashMap_insertAux___main___rarg___closed__1 = _init_l_PersistentHashMap_insertAux___main___rarg___closed__1(); diff --git a/src/stage0/Init/Data/PersistentHashSet.c b/src/stage0/Init/Data/PersistentHashSet.c index ceae5a3ed0..f3aa3a4052 100644 --- a/src/stage0/Init/Data/PersistentHashSet.c +++ b/src/stage0/Init/Data/PersistentHashSet.c @@ -13,69 +13,72 @@ #ifdef __cplusplus extern "C" { #endif -lean_object* l_PersistentHashSet_HasEmptyc(lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentHashSet_HasEmptyc(lean_object*); lean_object* l_Array_iterateMAux___main___at_PersistentHashSet_fold___spec__4___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_PersistentHashSet_foldM___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashSet_contains(lean_object*); -lean_object* l_PersistentHashSet_fold___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentHashSet_fold___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentHashSet_HasEmptyc___rarg___boxed(lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_PersistentHashSet_fold___spec__4(lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_PersistentHashSet_fold___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_PersistentHashMap_HasEmptyc___closed__1; lean_object* l_PersistentHashMap_foldlM___at_PersistentHashSet_fold___spec__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_insert___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_PersistentHashSet_foldM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentHashSet_foldM(lean_object*); lean_object* l_PersistentHashMap_foldlMAux___main___at_PersistentHashSet_fold___spec__2___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentHashMap_foldlM___at_PersistentHashSet_fold___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_PersistentHashSet_foldM___spec__3(lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_foldlMAux___main___at_PersistentHashSet_foldM___spec__2(lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_foldlM___at_PersistentHashSet_foldM___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_PersistentHashSet_foldM___spec__4(lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentHashSet_HasEmptyc___rarg(lean_object*, lean_object*); lean_object* l_PersistentHashSet_contains___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_PersistentHashSet_foldM___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentHashSet_Inhabited___rarg(lean_object*, lean_object*); +lean_object* l_PersistentHashSet_foldM___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_foldlM___at_PersistentHashSet_fold___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashSet_insert(lean_object*); lean_object* l_PersistentHashSet_erase___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashSet_size___rarg(lean_object*); lean_object* l_PersistentHashSet_isEmpty(lean_object*, lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_PersistentHashSet_fold___spec__3___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_PersistentHashSet_empty___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashSet_size___rarg___boxed(lean_object*); -lean_object* l_PersistentHashSet_Inhabited___boxed(lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); lean_object* l_PersistentHashSet_size(lean_object*, lean_object*, lean_object*); -lean_object* l_PersistentHashSet_Inhabited(lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentHashSet_Inhabited(lean_object*); +lean_object* l_PersistentHashSet_empty___rarg___boxed(lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_PersistentHashSet_foldM___spec__4___boxed(lean_object*, lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); lean_object* l_PersistentHashSet_contains___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashSet_insert___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentHashSet_foldM___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_PersistentHashSet_fold___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentHashMap_empty___rarg(lean_object*, lean_object*); lean_object* l_PersistentHashSet_erase(lean_object*); lean_object* l_PersistentHashSet_isEmpty___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashSet_size___boxed(lean_object*, lean_object*, lean_object*); uint8_t l_PersistentHashSet_isEmpty___rarg(lean_object*); -lean_object* l_PersistentHashMap_foldlM___at_PersistentHashSet_foldM___spec__1___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_PersistentHashMap_foldlM___at_PersistentHashSet_fold___spec__1(lean_object*, lean_object*); +lean_object* l_PersistentHashSet_empty___rarg(lean_object*, lean_object*); +lean_object* l_PersistentHashMap_foldlM___at_PersistentHashSet_foldM___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentHashMap_foldlM___at_PersistentHashSet_fold___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_PersistentHashSet_foldM___spec__4___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_PersistentHashMap_foldlM___at_PersistentHashSet_foldM___spec__1(lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentHashMap_foldlM___at_PersistentHashSet_foldM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_PersistentHashSet_fold___spec__3(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); lean_object* l_PersistentHashMap_foldlMAux___main___at_PersistentHashSet_foldM___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_PersistentHashSet_foldM___spec__3___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_foldlMAux___main___at_PersistentHashSet_fold___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_PersistentHashSet_fold(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentHashSet_fold(lean_object*); lean_object* l_PersistentHashMap_contains___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_PersistentHashSet_empty(lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentHashSet_empty(lean_object*); lean_object* l_PersistentHashMap_erase___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashSet_isEmpty___rarg___boxed(lean_object*); -lean_object* l_PersistentHashSet_HasEmptyc___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_PersistentHashSet_foldM___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentHashSet_Inhabited___rarg___boxed(lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_PersistentHashSet_foldM___spec__3___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_foldlMAux___main___at_PersistentHashSet_fold___spec__2(lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_PersistentHashSet_foldM___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_foldlMAux___main___at_PersistentHashSet_foldM___spec__2___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_PersistentHashSet_fold___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_PersistentHashMap_isEmpty___rarg(lean_object*); -lean_object* l_PersistentHashSet_fold___rarg___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentHashSet_fold___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_PersistentHashSet_isEmpty___rarg(lean_object* x_1) { _start: { @@ -112,58 +115,82 @@ lean_dec(x_2); return x_4; } } -lean_object* l_PersistentHashSet_empty(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_PersistentHashSet_empty___rarg(lean_object* x_1, lean_object* x_2) { _start: { -lean_object* x_4; -x_4 = l_PersistentHashMap_HasEmptyc___closed__1; -return x_4; +lean_object* x_3; +x_3 = l_PersistentHashMap_empty___rarg(x_2, x_1); +return x_3; } } -lean_object* l_PersistentHashSet_empty___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_PersistentHashSet_empty(lean_object* x_1) { _start: { -lean_object* x_4; -x_4 = l_PersistentHashSet_empty(x_1, x_2, x_3); -lean_dec(x_3); +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_PersistentHashSet_empty___rarg___boxed), 2, 0); +return x_2; +} +} +lean_object* l_PersistentHashSet_empty___rarg___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_PersistentHashSet_empty___rarg(x_1, x_2); lean_dec(x_2); -return x_4; +lean_dec(x_1); +return x_3; } } -lean_object* l_PersistentHashSet_Inhabited(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_PersistentHashSet_Inhabited___rarg(lean_object* x_1, lean_object* x_2) { _start: { -lean_object* x_4; -x_4 = l_PersistentHashMap_HasEmptyc___closed__1; -return x_4; +lean_object* x_3; +x_3 = l_PersistentHashMap_empty___rarg(x_2, x_1); +return x_3; } } -lean_object* l_PersistentHashSet_Inhabited___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_PersistentHashSet_Inhabited(lean_object* x_1) { _start: { -lean_object* x_4; -x_4 = l_PersistentHashSet_Inhabited(x_1, x_2, x_3); -lean_dec(x_3); +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_PersistentHashSet_Inhabited___rarg___boxed), 2, 0); +return x_2; +} +} +lean_object* l_PersistentHashSet_Inhabited___rarg___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_PersistentHashSet_Inhabited___rarg(x_1, x_2); lean_dec(x_2); -return x_4; +lean_dec(x_1); +return x_3; } } -lean_object* l_PersistentHashSet_HasEmptyc(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_PersistentHashSet_HasEmptyc___rarg(lean_object* x_1, lean_object* x_2) { _start: { -lean_object* x_4; -x_4 = l_PersistentHashMap_HasEmptyc___closed__1; -return x_4; +lean_object* x_3; +x_3 = l_PersistentHashMap_empty___rarg(x_2, x_1); +return x_3; } } -lean_object* l_PersistentHashSet_HasEmptyc___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_PersistentHashSet_HasEmptyc(lean_object* x_1) { _start: { -lean_object* x_4; -x_4 = l_PersistentHashSet_HasEmptyc(x_1, x_2, x_3); -lean_dec(x_3); +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_PersistentHashSet_HasEmptyc___rarg___boxed), 2, 0); +return x_2; +} +} +lean_object* l_PersistentHashSet_HasEmptyc___rarg___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_PersistentHashSet_HasEmptyc___rarg(x_1, x_2); lean_dec(x_2); -return x_4; +lean_dec(x_1); +return x_3; } } lean_object* l_PersistentHashSet_insert___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { @@ -443,30 +470,30 @@ x_6 = l_PersistentHashMap_foldlMAux___main___at_PersistentHashSet_foldM___spec__ return x_6; } } -lean_object* l_PersistentHashMap_foldlM___at_PersistentHashSet_foldM___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_PersistentHashMap_foldlM___at_PersistentHashSet_foldM___spec__1___rarg), 4, 0); -return x_4; -} -} -lean_object* l_PersistentHashSet_foldM___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = l_PersistentHashMap_foldlM___at_PersistentHashSet_foldM___spec__1___rarg(x_1, x_2, x_4, x_3); -return x_5; -} -} -lean_object* l_PersistentHashSet_foldM(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_PersistentHashMap_foldlM___at_PersistentHashSet_foldM___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; -x_6 = lean_alloc_closure((void*)(l_PersistentHashSet_foldM___rarg), 4, 0); +x_6 = lean_alloc_closure((void*)(l_PersistentHashMap_foldlM___at_PersistentHashSet_foldM___spec__1___rarg), 4, 0); return x_6; } } +lean_object* l_PersistentHashSet_foldM___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; +x_9 = l_PersistentHashMap_foldlM___at_PersistentHashSet_foldM___spec__1___rarg(x_5, x_6, x_8, x_7); +return x_9; +} +} +lean_object* l_PersistentHashSet_foldM(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_PersistentHashSet_foldM___rarg___boxed), 8, 0); +return x_2; +} +} lean_object* l_Array_iterateMAux___main___at_PersistentHashSet_foldM___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) { _start: { @@ -512,26 +539,28 @@ lean_dec(x_3); return x_4; } } -lean_object* l_PersistentHashMap_foldlM___at_PersistentHashSet_foldM___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l_PersistentHashMap_foldlM___at_PersistentHashSet_foldM___spec__1(x_1, x_2, x_3); -lean_dec(x_3); -return x_4; -} -} -lean_object* l_PersistentHashSet_foldM___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_PersistentHashMap_foldlM___at_PersistentHashSet_foldM___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; -x_6 = l_PersistentHashSet_foldM(x_1, x_2, x_3, x_4, x_5); +x_6 = l_PersistentHashMap_foldlM___at_PersistentHashSet_foldM___spec__1(x_1, x_2, x_3, x_4, x_5); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); return x_6; } } +lean_object* l_PersistentHashSet_foldM___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: +{ +lean_object* x_9; +x_9 = l_PersistentHashSet_foldM___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +return x_9; +} +} lean_object* l_Array_iterateMAux___main___at_PersistentHashSet_fold___spec__3___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { @@ -669,30 +698,30 @@ x_5 = l_PersistentHashMap_foldlMAux___main___at_PersistentHashSet_fold___spec__2 return x_5; } } -lean_object* l_PersistentHashMap_foldlM___at_PersistentHashSet_fold___spec__1(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_PersistentHashMap_foldlM___at_PersistentHashSet_fold___spec__1___rarg___boxed), 3, 0); -return x_3; -} -} -lean_object* l_PersistentHashSet_fold___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l_PersistentHashMap_foldlM___at_PersistentHashSet_fold___spec__1___rarg(x_1, x_3, x_2); -return x_4; -} -} -lean_object* l_PersistentHashSet_fold(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_PersistentHashMap_foldlM___at_PersistentHashSet_fold___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_PersistentHashSet_fold___rarg___boxed), 3, 0); +x_5 = lean_alloc_closure((void*)(l_PersistentHashMap_foldlM___at_PersistentHashSet_fold___spec__1___rarg___boxed), 3, 0); return x_5; } } +lean_object* l_PersistentHashSet_fold___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; +x_7 = l_PersistentHashMap_foldlM___at_PersistentHashSet_fold___spec__1___rarg(x_4, x_6, x_5); +return x_7; +} +} +lean_object* l_PersistentHashSet_fold(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_PersistentHashSet_fold___rarg___boxed), 6, 0); +return x_2; +} +} lean_object* l_Array_iterateMAux___main___at_PersistentHashSet_fold___spec__3___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { @@ -731,25 +760,27 @@ lean_dec(x_2); return x_4; } } -lean_object* l_PersistentHashSet_fold___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l_PersistentHashSet_fold___rarg(x_1, x_2, x_3); -lean_dec(x_3); -return x_4; -} -} -lean_object* l_PersistentHashSet_fold___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_PersistentHashMap_foldlM___at_PersistentHashSet_fold___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_PersistentHashSet_fold(x_1, x_2, x_3, x_4); +x_5 = l_PersistentHashMap_foldlM___at_PersistentHashSet_fold___spec__1(x_1, x_2, x_3, x_4); lean_dec(x_3); lean_dec(x_2); return x_5; } } +lean_object* l_PersistentHashSet_fold___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_PersistentHashSet_fold___rarg(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_6); +lean_dec(x_2); +lean_dec(x_1); +return x_7; +} +} lean_object* initialize_Init_Data_PersistentHashMap_Default(lean_object*); static bool _G_initialized = false; lean_object* initialize_Init_Data_PersistentHashSet(lean_object* w) { diff --git a/src/stage0/Init/Lean/Class.c b/src/stage0/Init/Lean/Class.c index f627e08052..0144582f83 100644 --- a/src/stage0/Init/Lean/Class.c +++ b/src/stage0/Init/Lean/Class.c @@ -26,6 +26,7 @@ lean_object* l_HashMapImp_contains___at_Lean_isClass___spec__2___boxed(lean_obje lean_object* l_Lean_mkClassExtension___lambda__1(lean_object*); uint8_t lean_name_dec_eq(lean_object*, lean_object*); size_t l_USize_mul(size_t, size_t); +lean_object* l_Lean_SMap_empty___at_Lean_ClassState_Inhabited___spec__4; lean_object* l_PersistentHashMap_containsAux___main___at_Lean_isInstance___spec__4___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_registerClassAttr(lean_object*); lean_object* l_AssocList_find___main___at_Lean_hasOutParams___spec__6(lean_object*, lean_object*); @@ -50,7 +51,6 @@ lean_object* lean_mk_array(lean_object*, lean_object*); lean_object* l_Lean_ClassEntry_lt___boxed(lean_object*, lean_object*); extern lean_object* l_Lean_EnvExtension_Inhabited___rarg___closed__1; lean_object* l_Lean_addClass___closed__4; -extern lean_object* l_PersistentHashMap_HasEmptyc___closed__1; lean_object* l_AssocList_foldlM___main___at_Lean_ClassState_addEntry___spec__38(lean_object*, lean_object*); size_t l_USize_shift__right(size_t, size_t); extern lean_object* l_Lean_AttributeImpl_inhabited___closed__5; @@ -58,6 +58,7 @@ lean_object* l_Lean_SMap_insert___at_Lean_ClassState_addEntry___spec__1___boxed( lean_object* l_PersistentHashMap_insert___at_Lean_ClassState_addEntry___spec__2(lean_object*, lean_object*, uint8_t); lean_object* l_Lean_registerInstanceAttr___closed__1; uint8_t l_PersistentHashMap_containsAux___main___at_Lean_isInstance___spec__4(lean_object*, size_t, lean_object*); +lean_object* l_PersistentHashMap_empty___at_Lean_ClassState_Inhabited___spec__6; uint8_t l_Lean_Expr_hasOutParam(lean_object*); uint8_t l_Lean_ClassEntry_lt(lean_object*, lean_object*); lean_object* l_PersistentHashMap_findAux___main___at_Lean_hasOutParams___spec__3(lean_object*, size_t, lean_object*); @@ -70,7 +71,7 @@ lean_object* l_PersistentHashMap_findAux___main___at_Lean_ClassState_addEntry___ lean_object* l___private_Init_Lean_Class_1__consumeNLambdas___main(lean_object*, lean_object*); extern lean_object* l___private_Init_Lean_Environment_5__envExtensionsRef; lean_object* l_Lean_SMap_find___at_Lean_ClassState_addEntry___spec__12___boxed(lean_object*, lean_object*); -lean_object* l_Lean_SMap_empty___at_Lean_ClassState_Inhabited___spec__3___closed__1; +lean_object* l_Lean_SMap_empty___at_Lean_ClassState_Inhabited___spec__4___closed__2; lean_object* l_PersistentHashMap_containsAux___main___at_Lean_isClass___spec__4___boxed(lean_object*, lean_object*, lean_object*); uint8_t l_PersistentHashMap_contains___at_Lean_isInstance___spec__3(lean_object*, lean_object*); lean_object* l_Lean_classExtension___closed__4; @@ -100,10 +101,12 @@ lean_object* lean_io_ref_set(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_getAppNumArgsAux___main(lean_object*, lean_object*); lean_object* l_PersistentHashMap_contains___at_Lean_isClass___spec__3___boxed(lean_object*, lean_object*); lean_object* l_IO_ofExcept___at_Lean_registerClassAttr___spec__1(lean_object*, lean_object*); +lean_object* l_Lean_SMap_empty___at_Lean_ClassState_Inhabited___spec__7___closed__2; lean_object* l_Lean_addInstance___closed__2; lean_object* l_PersistentHashMap_insertAux___main___at_Lean_ClassState_addEntry___spec__20___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__2(lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_findAux___main___at_Lean_ClassState_addEntry___spec__14___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_SMap_empty___at_Lean_ClassState_Inhabited___spec__4___closed__1; lean_object* l_PersistentHashMap_getCollisionNodeSize___rarg(lean_object*); lean_object* l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__3(lean_object*, lean_object*); uint8_t l_Lean_SMap_contains___at_Lean_isClass___spec__1(lean_object*, lean_object*); @@ -139,6 +142,7 @@ lean_object* l_Lean_classExtension___elambda__3(lean_object*, lean_object*); uint8_t l_HashMapImp_contains___at_Lean_isInstance___spec__2(lean_object*, lean_object*); lean_object* l_PersistentHashMap_findAtAux___main___at_Lean_hasOutParams___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_AssocList_contains___main___at_Lean_ClassState_addEntry___spec__35(lean_object*, lean_object*); +lean_object* l_PersistentHashMap_empty___at_Lean_ClassState_Inhabited___spec__9; lean_object* lean_string_append(lean_object*, lean_object*); lean_object* l_Array_anyMAux___main___at_Lean_mkClassExtension___spec__6___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_registerClassAttr___lambda__1___closed__2; @@ -151,6 +155,7 @@ lean_object* l_PersistentHashMap_findAtAux___main___at_Lean_ClassState_addEntry_ lean_object* l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_insertAtCollisionNodeAux___main___at_Lean_ClassState_addEntry___spec__21(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_HashMapImp_insert___at_Lean_ClassState_addEntry___spec__6(lean_object*, lean_object*, uint8_t); +lean_object* l_Lean_SMap_empty___at_Lean_ClassState_Inhabited___spec__7; lean_object* lean_add_instance(lean_object*, lean_object*); lean_object* l_PersistentHashMap_insertAux___main___at_Lean_ClassState_addEntry___spec__31___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); @@ -159,22 +164,22 @@ uint8_t l_Lean_SMap_contains___at_Lean_isInstance___spec__1(lean_object*, lean_o lean_object* l_Lean_addClass___closed__3; lean_object* l_Lean_classExtension___elambda__3___boxed(lean_object*, lean_object*); lean_object* lean_name_mk_string(lean_object*, lean_object*); -lean_object* l_Lean_SMap_empty___at_Lean_ClassState_Inhabited___spec__5___closed__1; lean_object* l_Lean_mkClassExtension___closed__1; lean_object* lean_nat_add(lean_object*, lean_object*); extern lean_object* l___private_Init_Lean_Environment_8__persistentEnvExtensionsRef; lean_object* l_Lean_registerClassAttr___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); -lean_object* l_mkHashMap___at_Lean_ClassState_Inhabited___spec__4(lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); uint8_t lean_has_out_params(lean_object*, lean_object*); lean_object* l_HashMapImp_expand___at_Lean_ClassState_addEntry___spec__8(lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_Lean_mkClassExtension___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_isOutParam___closed__1; +extern lean_object* l_Lean_LocalContext_Inhabited___closed__2; +lean_object* l_PersistentHashMap_empty___at_Lean_ClassState_Inhabited___spec__3; extern lean_object* l_Lean_regNamespacesExtension___closed__4; lean_object* lean_array_push(lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_Lean_ClassState_addEntry___spec__22(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_registerSimplePersistentEnvExtension___rarg___closed__1; -lean_object* l_Lean_SMap_empty___at_Lean_ClassState_Inhabited___spec__5; +lean_object* l_mkHashMap___at_Lean_ClassState_Inhabited___spec__8(lean_object*); lean_object* l_Lean_registerInstanceAttr___lambda__1___closed__2; lean_object* l_Array_iterateMAux___main___at_Lean_mkClassExtension___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); extern size_t l_PersistentHashMap_insertAux___main___rarg___closed__2; @@ -212,7 +217,6 @@ lean_object* l_Lean_registerClassAttr___closed__2; lean_object* l_AssocList_replace___main___at_Lean_ClassState_addEntry___spec__11(lean_object*, uint8_t, lean_object*); lean_object* l_Lean_ConstantInfo_type(lean_object*); lean_object* lean_environment_find(lean_object*, lean_object*); -lean_object* l_Lean_SMap_empty___at_Lean_ClassState_Inhabited___spec__3___closed__2; uint8_t lean_is_class(lean_object*, lean_object*); lean_object* l_Lean_classExtension___closed__2; lean_object* l_HashMapImp_expand___at_Lean_ClassState_addEntry___spec__36(lean_object*, lean_object*); @@ -223,9 +227,9 @@ uint8_t lean_is_out_param(lean_object*); lean_object* l_HashMapImp_find___at_Lean_ClassState_addEntry___spec__16(lean_object*, lean_object*); lean_object* l_Lean_addClass___closed__1; lean_object* l_Lean_classExtension___elambda__2___boxed(lean_object*); +lean_object* l_mkHashMap___at_Lean_ClassState_Inhabited___spec__5(lean_object*); lean_object* l_HashMapImp_insert___at_Lean_ClassState_addEntry___spec__23(lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_find___at_Lean_ClassState_addEntry___spec__13___boxed(lean_object*, lean_object*); -lean_object* l_Lean_SMap_empty___at_Lean_ClassState_Inhabited___spec__5___closed__2; lean_object* lean_array_fget(lean_object*, lean_object*); lean_object* l_PersistentHashMap_insertAux___main___at_Lean_ClassState_addEntry___spec__3(lean_object*, size_t, size_t, lean_object*, uint8_t); lean_object* l_HashMapImp_expand___at_Lean_ClassState_addEntry___spec__25(lean_object*, lean_object*); @@ -242,7 +246,6 @@ lean_object* l_EStateM_bind___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_classExtension___elambda__4___rarg(lean_object*); extern lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__1; extern lean_object* l_Lean_Name_toString___closed__1; -lean_object* l_mkHashMap___at_Lean_ClassState_Inhabited___spec__6(lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); lean_object* l_Lean_classExtension; uint8_t lean_is_instance(lean_object*, lean_object*); @@ -252,7 +255,6 @@ lean_object* l_PersistentHashMap_contains___at_Lean_isInstance___spec__3___boxed uint8_t l_USize_decLe(size_t, size_t); uint8_t l_Lean_Syntax_isMissing___rarg(lean_object*); lean_object* l_Lean_SMap_switch___at_Lean_ClassState_switch___spec__3(lean_object*); -lean_object* l_Lean_SMap_empty___at_Lean_ClassState_Inhabited___spec__3; lean_object* l_Lean_registerInstanceAttr___closed__2; lean_object* l_Lean_classExtension___elambda__1(lean_object*); lean_object* l_Lean_registerClassAttr___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -278,6 +280,7 @@ lean_object* l_Lean_registerInstanceAttr___closed__3; extern lean_object* l_Lean_registerEnvExtensionUnsafe___rarg___closed__1; uint8_t l_PersistentHashMap_containsAtAux___main___at_Lean_LocalContext_contains___spec__3(lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_findAtAux___main___at_Lean_ClassState_addEntry___spec__15(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_SMap_empty___at_Lean_ClassState_Inhabited___spec__7___closed__1; lean_object* lean_io_ref_reset(lean_object*, lean_object*); lean_object* l_PersistentHashMap_insert___at_Lean_ClassState_addEntry___spec__19(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_classExtension___closed__5; @@ -335,6 +338,14 @@ x_2 = l_mkHashMapImp___rarg(x_1); return x_2; } } +lean_object* _init_l_PersistentHashMap_empty___at_Lean_ClassState_Inhabited___spec__3() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_LocalContext_Inhabited___closed__2; +return x_1; +} +} lean_object* _init_l_Lean_SMap_empty___at_Lean_ClassState_Inhabited___spec__1___closed__1() { _start: { @@ -350,7 +361,7 @@ _start: uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = 1; x_2 = l_Lean_SMap_empty___at_Lean_ClassState_Inhabited___spec__1___closed__1; -x_3 = l_PersistentHashMap_HasEmptyc___closed__1; +x_3 = l_PersistentHashMap_empty___at_Lean_ClassState_Inhabited___spec__3; x_4 = lean_alloc_ctor(0, 2, 1); lean_ctor_set(x_4, 0, x_2); lean_ctor_set(x_4, 1, x_3); @@ -366,7 +377,7 @@ x_1 = l_Lean_SMap_empty___at_Lean_ClassState_Inhabited___spec__1___closed__2; return x_1; } } -lean_object* l_mkHashMap___at_Lean_ClassState_Inhabited___spec__4(lean_object* x_1) { +lean_object* l_mkHashMap___at_Lean_ClassState_Inhabited___spec__5(lean_object* x_1) { _start: { lean_object* x_2; @@ -374,46 +385,15 @@ x_2 = l_mkHashMapImp___rarg(x_1); return x_2; } } -lean_object* _init_l_Lean_SMap_empty___at_Lean_ClassState_Inhabited___spec__3___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(8u); -x_2 = l_mkHashMapImp___rarg(x_1); -return x_2; -} -} -lean_object* _init_l_Lean_SMap_empty___at_Lean_ClassState_Inhabited___spec__3___closed__2() { -_start: -{ -uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = 1; -x_2 = l_Lean_SMap_empty___at_Lean_ClassState_Inhabited___spec__3___closed__1; -x_3 = l_PersistentHashMap_HasEmptyc___closed__1; -x_4 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_4, 0, x_2); -lean_ctor_set(x_4, 1, x_3); -lean_ctor_set_uint8(x_4, sizeof(void*)*2, x_1); -return x_4; -} -} -lean_object* _init_l_Lean_SMap_empty___at_Lean_ClassState_Inhabited___spec__3() { +lean_object* _init_l_PersistentHashMap_empty___at_Lean_ClassState_Inhabited___spec__6() { _start: { lean_object* x_1; -x_1 = l_Lean_SMap_empty___at_Lean_ClassState_Inhabited___spec__3___closed__2; +x_1 = l_Lean_LocalContext_Inhabited___closed__2; return x_1; } } -lean_object* l_mkHashMap___at_Lean_ClassState_Inhabited___spec__6(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = l_mkHashMapImp___rarg(x_1); -return x_2; -} -} -lean_object* _init_l_Lean_SMap_empty___at_Lean_ClassState_Inhabited___spec__5___closed__1() { +lean_object* _init_l_Lean_SMap_empty___at_Lean_ClassState_Inhabited___spec__4___closed__1() { _start: { lean_object* x_1; lean_object* x_2; @@ -422,13 +402,13 @@ x_2 = l_mkHashMapImp___rarg(x_1); return x_2; } } -lean_object* _init_l_Lean_SMap_empty___at_Lean_ClassState_Inhabited___spec__5___closed__2() { +lean_object* _init_l_Lean_SMap_empty___at_Lean_ClassState_Inhabited___spec__4___closed__2() { _start: { uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = 1; -x_2 = l_Lean_SMap_empty___at_Lean_ClassState_Inhabited___spec__5___closed__1; -x_3 = l_PersistentHashMap_HasEmptyc___closed__1; +x_2 = l_Lean_SMap_empty___at_Lean_ClassState_Inhabited___spec__4___closed__1; +x_3 = l_PersistentHashMap_empty___at_Lean_ClassState_Inhabited___spec__6; x_4 = lean_alloc_ctor(0, 2, 1); lean_ctor_set(x_4, 0, x_2); lean_ctor_set(x_4, 1, x_3); @@ -436,11 +416,58 @@ lean_ctor_set_uint8(x_4, sizeof(void*)*2, x_1); return x_4; } } -lean_object* _init_l_Lean_SMap_empty___at_Lean_ClassState_Inhabited___spec__5() { +lean_object* _init_l_Lean_SMap_empty___at_Lean_ClassState_Inhabited___spec__4() { _start: { lean_object* x_1; -x_1 = l_Lean_SMap_empty___at_Lean_ClassState_Inhabited___spec__5___closed__2; +x_1 = l_Lean_SMap_empty___at_Lean_ClassState_Inhabited___spec__4___closed__2; +return x_1; +} +} +lean_object* l_mkHashMap___at_Lean_ClassState_Inhabited___spec__8(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_mkHashMapImp___rarg(x_1); +return x_2; +} +} +lean_object* _init_l_PersistentHashMap_empty___at_Lean_ClassState_Inhabited___spec__9() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_LocalContext_Inhabited___closed__2; +return x_1; +} +} +lean_object* _init_l_Lean_SMap_empty___at_Lean_ClassState_Inhabited___spec__7___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(8u); +x_2 = l_mkHashMapImp___rarg(x_1); +return x_2; +} +} +lean_object* _init_l_Lean_SMap_empty___at_Lean_ClassState_Inhabited___spec__7___closed__2() { +_start: +{ +uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = 1; +x_2 = l_Lean_SMap_empty___at_Lean_ClassState_Inhabited___spec__7___closed__1; +x_3 = l_PersistentHashMap_empty___at_Lean_ClassState_Inhabited___spec__9; +x_4 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_4, 0, x_2); +lean_ctor_set(x_4, 1, x_3); +lean_ctor_set_uint8(x_4, sizeof(void*)*2, x_1); +return x_4; +} +} +lean_object* _init_l_Lean_SMap_empty___at_Lean_ClassState_Inhabited___spec__7() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_SMap_empty___at_Lean_ClassState_Inhabited___spec__7___closed__2; return x_1; } } @@ -449,8 +476,8 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_SMap_empty___at_Lean_ClassState_Inhabited___spec__1; -x_2 = l_Lean_SMap_empty___at_Lean_ClassState_Inhabited___spec__3; -x_3 = l_Lean_SMap_empty___at_Lean_ClassState_Inhabited___spec__5; +x_2 = l_Lean_SMap_empty___at_Lean_ClassState_Inhabited___spec__4; +x_3 = l_Lean_SMap_empty___at_Lean_ClassState_Inhabited___spec__7; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -6436,24 +6463,30 @@ _G_initialized = true; res = initialize_Init_Lean_Attributes(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +l_PersistentHashMap_empty___at_Lean_ClassState_Inhabited___spec__3 = _init_l_PersistentHashMap_empty___at_Lean_ClassState_Inhabited___spec__3(); +lean_mark_persistent(l_PersistentHashMap_empty___at_Lean_ClassState_Inhabited___spec__3); l_Lean_SMap_empty___at_Lean_ClassState_Inhabited___spec__1___closed__1 = _init_l_Lean_SMap_empty___at_Lean_ClassState_Inhabited___spec__1___closed__1(); lean_mark_persistent(l_Lean_SMap_empty___at_Lean_ClassState_Inhabited___spec__1___closed__1); l_Lean_SMap_empty___at_Lean_ClassState_Inhabited___spec__1___closed__2 = _init_l_Lean_SMap_empty___at_Lean_ClassState_Inhabited___spec__1___closed__2(); lean_mark_persistent(l_Lean_SMap_empty___at_Lean_ClassState_Inhabited___spec__1___closed__2); l_Lean_SMap_empty___at_Lean_ClassState_Inhabited___spec__1 = _init_l_Lean_SMap_empty___at_Lean_ClassState_Inhabited___spec__1(); lean_mark_persistent(l_Lean_SMap_empty___at_Lean_ClassState_Inhabited___spec__1); -l_Lean_SMap_empty___at_Lean_ClassState_Inhabited___spec__3___closed__1 = _init_l_Lean_SMap_empty___at_Lean_ClassState_Inhabited___spec__3___closed__1(); -lean_mark_persistent(l_Lean_SMap_empty___at_Lean_ClassState_Inhabited___spec__3___closed__1); -l_Lean_SMap_empty___at_Lean_ClassState_Inhabited___spec__3___closed__2 = _init_l_Lean_SMap_empty___at_Lean_ClassState_Inhabited___spec__3___closed__2(); -lean_mark_persistent(l_Lean_SMap_empty___at_Lean_ClassState_Inhabited___spec__3___closed__2); -l_Lean_SMap_empty___at_Lean_ClassState_Inhabited___spec__3 = _init_l_Lean_SMap_empty___at_Lean_ClassState_Inhabited___spec__3(); -lean_mark_persistent(l_Lean_SMap_empty___at_Lean_ClassState_Inhabited___spec__3); -l_Lean_SMap_empty___at_Lean_ClassState_Inhabited___spec__5___closed__1 = _init_l_Lean_SMap_empty___at_Lean_ClassState_Inhabited___spec__5___closed__1(); -lean_mark_persistent(l_Lean_SMap_empty___at_Lean_ClassState_Inhabited___spec__5___closed__1); -l_Lean_SMap_empty___at_Lean_ClassState_Inhabited___spec__5___closed__2 = _init_l_Lean_SMap_empty___at_Lean_ClassState_Inhabited___spec__5___closed__2(); -lean_mark_persistent(l_Lean_SMap_empty___at_Lean_ClassState_Inhabited___spec__5___closed__2); -l_Lean_SMap_empty___at_Lean_ClassState_Inhabited___spec__5 = _init_l_Lean_SMap_empty___at_Lean_ClassState_Inhabited___spec__5(); -lean_mark_persistent(l_Lean_SMap_empty___at_Lean_ClassState_Inhabited___spec__5); +l_PersistentHashMap_empty___at_Lean_ClassState_Inhabited___spec__6 = _init_l_PersistentHashMap_empty___at_Lean_ClassState_Inhabited___spec__6(); +lean_mark_persistent(l_PersistentHashMap_empty___at_Lean_ClassState_Inhabited___spec__6); +l_Lean_SMap_empty___at_Lean_ClassState_Inhabited___spec__4___closed__1 = _init_l_Lean_SMap_empty___at_Lean_ClassState_Inhabited___spec__4___closed__1(); +lean_mark_persistent(l_Lean_SMap_empty___at_Lean_ClassState_Inhabited___spec__4___closed__1); +l_Lean_SMap_empty___at_Lean_ClassState_Inhabited___spec__4___closed__2 = _init_l_Lean_SMap_empty___at_Lean_ClassState_Inhabited___spec__4___closed__2(); +lean_mark_persistent(l_Lean_SMap_empty___at_Lean_ClassState_Inhabited___spec__4___closed__2); +l_Lean_SMap_empty___at_Lean_ClassState_Inhabited___spec__4 = _init_l_Lean_SMap_empty___at_Lean_ClassState_Inhabited___spec__4(); +lean_mark_persistent(l_Lean_SMap_empty___at_Lean_ClassState_Inhabited___spec__4); +l_PersistentHashMap_empty___at_Lean_ClassState_Inhabited___spec__9 = _init_l_PersistentHashMap_empty___at_Lean_ClassState_Inhabited___spec__9(); +lean_mark_persistent(l_PersistentHashMap_empty___at_Lean_ClassState_Inhabited___spec__9); +l_Lean_SMap_empty___at_Lean_ClassState_Inhabited___spec__7___closed__1 = _init_l_Lean_SMap_empty___at_Lean_ClassState_Inhabited___spec__7___closed__1(); +lean_mark_persistent(l_Lean_SMap_empty___at_Lean_ClassState_Inhabited___spec__7___closed__1); +l_Lean_SMap_empty___at_Lean_ClassState_Inhabited___spec__7___closed__2 = _init_l_Lean_SMap_empty___at_Lean_ClassState_Inhabited___spec__7___closed__2(); +lean_mark_persistent(l_Lean_SMap_empty___at_Lean_ClassState_Inhabited___spec__7___closed__2); +l_Lean_SMap_empty___at_Lean_ClassState_Inhabited___spec__7 = _init_l_Lean_SMap_empty___at_Lean_ClassState_Inhabited___spec__7(); +lean_mark_persistent(l_Lean_SMap_empty___at_Lean_ClassState_Inhabited___spec__7); l_Lean_ClassState_Inhabited___closed__1 = _init_l_Lean_ClassState_Inhabited___closed__1(); lean_mark_persistent(l_Lean_ClassState_Inhabited___closed__1); l_Lean_ClassState_Inhabited = _init_l_Lean_ClassState_Inhabited(); diff --git a/src/stage0/Init/Lean/Compiler/ClosedTermCache.c b/src/stage0/Init/Lean/Compiler/ClosedTermCache.c index 9a6cd68f23..21c9031c3b 100644 --- a/src/stage0/Init/Lean/Compiler/ClosedTermCache.c +++ b/src/stage0/Init/Lean/Compiler/ClosedTermCache.c @@ -26,20 +26,20 @@ lean_object* l_Lean_closedTermCacheExt___closed__7; lean_object* l_PersistentHashMap_insertAux___main___at_Lean_mkClosedTermCacheExtension___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_findAtAux___main___at_Lean_getClosedTermName___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_registerSimplePersistentEnvExtension___at_Lean_mkClosedTermCacheExtension___spec__18(lean_object*, lean_object*); extern lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__2; lean_object* lean_mk_array(lean_object*, lean_object*); lean_object* l_Lean_closedTermCacheExt___elambda__2(lean_object*); +lean_object* l_Array_anyMAux___main___at_Lean_mkClosedTermCacheExtension___spec__21___boxed(lean_object*, lean_object*, lean_object*); size_t lean_expr_hash(lean_object*); +lean_object* l_Array_iterateMAux___main___at_Lean_mkClosedTermCacheExtension___spec__17(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_closedTermCacheExt___elambda__4___boxed(lean_object*); lean_object* lean_cache_closed_term_name(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkClosedTermCacheExtension___closed__2; extern lean_object* l_Lean_EnvExtension_Inhabited___rarg___closed__1; -lean_object* l_Lean_registerEnvExtensionUnsafe___at_Lean_mkClosedTermCacheExtension___spec__21___closed__2; -extern lean_object* l_PersistentHashMap_HasEmptyc___closed__1; size_t l_USize_shift__right(size_t, size_t); +extern lean_object* l_PersistentHashMap_empty___rarg___closed__2; +lean_object* l_PersistentHashMap_empty___at_Lean_mkClosedTermCacheExtension___spec__14___closed__1; lean_object* l_Lean_mkClosedTermCacheExtension___closed__1; -lean_object* l_Lean_SMap_switch___at_Lean_mkClosedTermCacheExtension___spec__17(lean_object*); lean_object* l_HashMapImp_find___at_Lean_getClosedTermName___spec__5(lean_object*, lean_object*); uint8_t l_AssocList_contains___main___at_Lean_mkClosedTermCacheExtension___spec__7(lean_object*, lean_object*); extern lean_object* l___private_Init_Lean_Environment_5__envExtensionsRef; @@ -50,18 +50,16 @@ lean_object* lean_array_uget(lean_object*, size_t); extern lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__4; lean_object* l_Lean_Name_toStringWithSep___main(lean_object*, lean_object*); lean_object* l_Lean_SimplePersistentEnvExtension_getState___rarg(lean_object*, lean_object*); -lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_mkClosedTermCacheExtension___spec__14(lean_object*, lean_object*); -lean_object* l_Array_iterateMAux___main___at_Lean_mkClosedTermCacheExtension___spec__15(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_SMap_find___at_Lean_getClosedTermName___spec__1___boxed(lean_object*, lean_object*); lean_object* lean_array_uset(lean_object*, size_t, lean_object*); lean_object* lean_io_ref_set(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_SMap_switch___at_Lean_mkClosedTermCacheExtension___spec__18(lean_object*); lean_object* l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__2(lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_getCollisionNodeSize___rarg(lean_object*); lean_object* l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__3(lean_object*, lean_object*); lean_object* lean_io_initializing(lean_object*); lean_object* l_PersistentHashMap_insertAux___main___at_Lean_mkClosedTermCacheExtension___spec__3(lean_object*, size_t, size_t, lean_object*, lean_object*); lean_object* l_PersistentHashMap_findAtAux___main___at_Lean_getClosedTermName___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_mkClosedTermCacheExtension___spec__19(lean_object*, lean_object*); lean_object* l_Lean_mkClosedTermCacheExtension___closed__3; lean_object* l_PersistentHashMap_findAux___main___at_Lean_getClosedTermName___spec__3(lean_object*, size_t, lean_object*); lean_object* l_Lean_closedTermCacheExt___elambda__3___boxed(lean_object*, lean_object*); @@ -81,17 +79,22 @@ size_t l_USize_add(size_t, size_t); lean_object* l_PersistentHashMap_insertAtCollisionNodeAux___main___at_Lean_mkClosedTermCacheExtension___spec__4(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__1(lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); +lean_object* l_Lean_registerEnvExtensionUnsafe___at_Lean_mkClosedTermCacheExtension___spec__22___closed__1; lean_object* l_Lean_SMap_empty___at_Lean_mkClosedTermCacheExtension___spec__12___closed__2; lean_object* l_HashMapImp_moveEntries___main___at_Lean_mkClosedTermCacheExtension___spec__9(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkClosedTermCacheExtension___closed__4; lean_object* lean_name_mk_string(lean_object*, lean_object*); +lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_mkClosedTermCacheExtension___spec__15___boxed(lean_object*, lean_object*); lean_object* l_AssocList_find___main___at_Lean_getClosedTermName___spec__6___boxed(lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); extern lean_object* l___private_Init_Lean_Environment_8__persistentEnvExtensionsRef; lean_object* l_mkHashMap___at_Lean_mkClosedTermCacheExtension___spec__13(lean_object*); +lean_object* l_Array_iterateMAux___main___at_Lean_mkClosedTermCacheExtension___spec__17___boxed(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_regNamespacesExtension___closed__4; lean_object* lean_array_push(lean_object*, lean_object*); +lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_mkClosedTermCacheExtension___spec__20(lean_object*, lean_object*); lean_object* l_Lean_mkClosedTermCacheExtension___lambda__2(lean_object*); +lean_object* l_PersistentHashMap_empty___at_Lean_mkClosedTermCacheExtension___spec__14; extern lean_object* l_Lean_registerSimplePersistentEnvExtension___rarg___closed__1; lean_object* l_AssocList_foldlM___main___at_Lean_mkClosedTermCacheExtension___spec__10(lean_object*, lean_object*); lean_object* l_Lean_closedTermCacheExt___closed__6; @@ -109,15 +112,14 @@ lean_object* l_Lean_closedTermCacheExt___elambda__2___boxed(lean_object*); lean_object* l_Array_iterateMAux___main___at_Lean_mkClosedTermCacheExtension___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_findAux___main___at_Lean_getClosedTermName___spec__3___boxed(lean_object*, lean_object*, lean_object*); size_t lean_usize_modn(size_t, lean_object*); -lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_mkClosedTermCacheExtension___spec__14___boxed(lean_object*, lean_object*); extern lean_object* l_HashMap_Inhabited___closed__1; lean_object* l_Lean_closedTermCacheExt___elambda__1(lean_object*); lean_object* l_AssocList_find___main___at_Lean_getClosedTermName___spec__6(lean_object*, lean_object*); +lean_object* l_Lean_registerSimplePersistentEnvExtension___at_Lean_mkClosedTermCacheExtension___spec__19(lean_object*, lean_object*); lean_object* l_Lean_closedTermCacheExt___elambda__4(lean_object*); extern lean_object* l_PersistentHashMap_insertAux___main___rarg___closed__3; lean_object* lean_array_get_size(lean_object*); -lean_object* l_Lean_registerEnvExtensionUnsafe___at_Lean_mkClosedTermCacheExtension___spec__21(lean_object*, lean_object*); -lean_object* l_Array_iterateMAux___main___at_Lean_mkClosedTermCacheExtension___spec__15___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_registerEnvExtensionUnsafe___at_Lean_mkClosedTermCacheExtension___spec__22(lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); lean_object* l_Lean_closedTermCacheExt___closed__8; lean_object* l_mkHashMapImp___rarg(lean_object*); @@ -126,23 +128,23 @@ lean_object* l_Lean_closedTermCacheExt___elambda__3(lean_object*, lean_object*); lean_object* l_EStateM_bind___rarg(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__1; extern lean_object* l_Lean_Name_toString___closed__1; +uint8_t l_Array_anyMAux___main___at_Lean_mkClosedTermCacheExtension___spec__21(lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); lean_object* l_HashMapImp_find___at_Lean_getClosedTermName___spec__5___boxed(lean_object*, lean_object*); -uint8_t l_Array_anyMAux___main___at_Lean_mkClosedTermCacheExtension___spec__20(lean_object*, lean_object*, lean_object*); uint8_t l_USize_decLe(size_t, size_t); lean_object* l_Lean_mkClosedTermCacheExtension___lambda__2___boxed(lean_object*); lean_object* l_Lean_closedTermCacheExt___elambda__4___rarg(lean_object*); lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkClosedTermCacheExtension___lambda__1(lean_object*, lean_object*); +lean_object* l_Lean_registerEnvExtensionUnsafe___at_Lean_mkClosedTermCacheExtension___spec__22___closed__2; size_t l_USize_land(size_t, size_t); lean_object* l_PersistentHashMap_find___at_Lean_getClosedTermName___spec__2___boxed(lean_object*, lean_object*); lean_object* lean_usize_to_nat(size_t); lean_object* lean_nat_mul(lean_object*, lean_object*); lean_object* l_Lean_closedTermCacheExt___closed__5; -lean_object* l_Lean_registerEnvExtensionUnsafe___at_Lean_mkClosedTermCacheExtension___spec__21___closed__1; extern lean_object* l_Lean_registerEnvExtensionUnsafe___rarg___closed__1; +lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_mkClosedTermCacheExtension___spec__15(lean_object*, lean_object*); lean_object* lean_io_ref_reset(lean_object*, lean_object*); -lean_object* l_Array_anyMAux___main___at_Lean_mkClosedTermCacheExtension___spec__20___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_closedTermCacheExt___elambda__1___boxed(lean_object*); extern lean_object* l_String_splitAux___main___closed__1; lean_object* l_PersistentHashMap_insertAtCollisionNodeAux___main___at_Lean_mkClosedTermCacheExtension___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { @@ -1005,6 +1007,26 @@ x_2 = l_mkHashMapImp___rarg(x_1); return x_2; } } +lean_object* _init_l_PersistentHashMap_empty___at_Lean_mkClosedTermCacheExtension___spec__14___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_PersistentHashMap_empty___rarg___closed__2; +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_object* _init_l_PersistentHashMap_empty___at_Lean_mkClosedTermCacheExtension___spec__14() { +_start: +{ +lean_object* x_1; +x_1 = l_PersistentHashMap_empty___at_Lean_mkClosedTermCacheExtension___spec__14___closed__1; +return x_1; +} +} lean_object* _init_l_Lean_SMap_empty___at_Lean_mkClosedTermCacheExtension___spec__12___closed__1() { _start: { @@ -1020,7 +1042,7 @@ _start: uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = 1; x_2 = l_Lean_SMap_empty___at_Lean_mkClosedTermCacheExtension___spec__12___closed__1; -x_3 = l_PersistentHashMap_HasEmptyc___closed__1; +x_3 = l_PersistentHashMap_empty___at_Lean_mkClosedTermCacheExtension___spec__14; x_4 = lean_alloc_ctor(0, 2, 1); lean_ctor_set(x_4, 0, x_2); lean_ctor_set(x_4, 1, x_3); @@ -1036,7 +1058,7 @@ x_1 = l_Lean_SMap_empty___at_Lean_mkClosedTermCacheExtension___spec__12___closed return x_1; } } -lean_object* l_Array_iterateMAux___main___at_Lean_mkClosedTermCacheExtension___spec__15(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Array_iterateMAux___main___at_Lean_mkClosedTermCacheExtension___spec__16(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; @@ -1067,7 +1089,7 @@ goto _start; } } } -lean_object* l_Array_iterateMAux___main___at_Lean_mkClosedTermCacheExtension___spec__16(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Array_iterateMAux___main___at_Lean_mkClosedTermCacheExtension___spec__17(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; @@ -1084,7 +1106,7 @@ else lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; x_7 = lean_array_fget(x_2, x_3); x_8 = lean_unsigned_to_nat(0u); -x_9 = l_Array_iterateMAux___main___at_Lean_mkClosedTermCacheExtension___spec__15(x_7, x_7, x_8, x_4); +x_9 = l_Array_iterateMAux___main___at_Lean_mkClosedTermCacheExtension___spec__16(x_7, x_7, x_8, x_4); lean_dec(x_7); x_10 = lean_unsigned_to_nat(1u); x_11 = lean_nat_add(x_3, x_10); @@ -1095,16 +1117,16 @@ goto _start; } } } -lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_mkClosedTermCacheExtension___spec__14(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_mkClosedTermCacheExtension___spec__15(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; x_3 = lean_unsigned_to_nat(0u); -x_4 = l_Array_iterateMAux___main___at_Lean_mkClosedTermCacheExtension___spec__16(x_2, x_2, x_3, x_1); +x_4 = l_Array_iterateMAux___main___at_Lean_mkClosedTermCacheExtension___spec__17(x_2, x_2, x_3, x_1); return x_4; } } -lean_object* l_Lean_SMap_switch___at_Lean_mkClosedTermCacheExtension___spec__17(lean_object* x_1) { +lean_object* l_Lean_SMap_switch___at_Lean_mkClosedTermCacheExtension___spec__18(lean_object* x_1) { _start: { uint8_t x_2; @@ -1142,7 +1164,7 @@ return x_8; } } } -uint8_t l_Array_anyMAux___main___at_Lean_mkClosedTermCacheExtension___spec__20(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +uint8_t l_Array_anyMAux___main___at_Lean_mkClosedTermCacheExtension___spec__21(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -1183,7 +1205,7 @@ return x_10; } } } -lean_object* _init_l_Lean_registerEnvExtensionUnsafe___at_Lean_mkClosedTermCacheExtension___spec__21___closed__1() { +lean_object* _init_l_Lean_registerEnvExtensionUnsafe___at_Lean_mkClosedTermCacheExtension___spec__22___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -1195,19 +1217,19 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -lean_object* _init_l_Lean_registerEnvExtensionUnsafe___at_Lean_mkClosedTermCacheExtension___spec__21___closed__2() { +lean_object* _init_l_Lean_registerEnvExtensionUnsafe___at_Lean_mkClosedTermCacheExtension___spec__22___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Array_empty___closed__1; -x_2 = l_Lean_registerEnvExtensionUnsafe___at_Lean_mkClosedTermCacheExtension___spec__21___closed__1; +x_2 = l_Lean_registerEnvExtensionUnsafe___at_Lean_mkClosedTermCacheExtension___spec__22___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_object* l_Lean_registerEnvExtensionUnsafe___at_Lean_mkClosedTermCacheExtension___spec__21(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_registerEnvExtensionUnsafe___at_Lean_mkClosedTermCacheExtension___spec__22(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; @@ -1265,7 +1287,7 @@ lean_inc(x_16); lean_dec(x_14); x_17 = lean_array_get_size(x_15); lean_dec(x_15); -x_18 = l_Lean_registerEnvExtensionUnsafe___at_Lean_mkClosedTermCacheExtension___spec__21___closed__2; +x_18 = l_Lean_registerEnvExtensionUnsafe___at_Lean_mkClosedTermCacheExtension___spec__22___closed__2; x_19 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_19, 0, x_17); lean_ctor_set(x_19, 1, x_1); @@ -1438,7 +1460,7 @@ return x_52; } } } -lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_mkClosedTermCacheExtension___spec__19(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_mkClosedTermCacheExtension___spec__20(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; @@ -1454,7 +1476,7 @@ lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; x_6 = lean_ctor_get(x_4, 0); x_7 = lean_ctor_get(x_4, 1); x_8 = lean_unsigned_to_nat(0u); -x_9 = l_Array_anyMAux___main___at_Lean_mkClosedTermCacheExtension___spec__20(x_1, x_6, x_8); +x_9 = l_Array_anyMAux___main___at_Lean_mkClosedTermCacheExtension___spec__21(x_1, x_6, x_8); lean_dec(x_6); if (x_9 == 0) { @@ -1469,7 +1491,7 @@ x_13 = l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__1; x_14 = lean_alloc_closure((void*)(l_EStateM_bind___rarg), 3, 2); lean_closure_set(x_14, 0, x_12); lean_closure_set(x_14, 1, x_13); -x_15 = l_Lean_registerEnvExtensionUnsafe___at_Lean_mkClosedTermCacheExtension___spec__21(x_14, x_7); +x_15 = l_Lean_registerEnvExtensionUnsafe___at_Lean_mkClosedTermCacheExtension___spec__22(x_14, x_7); if (lean_obj_tag(x_15) == 0) { lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; @@ -1664,7 +1686,7 @@ lean_inc(x_60); lean_inc(x_59); lean_dec(x_4); x_61 = lean_unsigned_to_nat(0u); -x_62 = l_Array_anyMAux___main___at_Lean_mkClosedTermCacheExtension___spec__20(x_1, x_59, x_61); +x_62 = l_Array_anyMAux___main___at_Lean_mkClosedTermCacheExtension___spec__21(x_1, x_59, x_61); lean_dec(x_59); if (x_62 == 0) { @@ -1678,7 +1700,7 @@ x_66 = l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__1; x_67 = lean_alloc_closure((void*)(l_EStateM_bind___rarg), 3, 2); lean_closure_set(x_67, 0, x_65); lean_closure_set(x_67, 1, x_66); -x_68 = l_Lean_registerEnvExtensionUnsafe___at_Lean_mkClosedTermCacheExtension___spec__21(x_67, x_60); +x_68 = l_Lean_registerEnvExtensionUnsafe___at_Lean_mkClosedTermCacheExtension___spec__22(x_67, x_60); if (lean_obj_tag(x_68) == 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; @@ -1897,7 +1919,7 @@ return x_115; } } } -lean_object* l_Lean_registerSimplePersistentEnvExtension___at_Lean_mkClosedTermCacheExtension___spec__18(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_registerSimplePersistentEnvExtension___at_Lean_mkClosedTermCacheExtension___spec__19(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; @@ -1918,7 +1940,7 @@ lean_ctor_set(x_8, 1, x_4); lean_ctor_set(x_8, 2, x_5); lean_ctor_set(x_8, 3, x_6); lean_ctor_set(x_8, 4, x_7); -x_9 = l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_mkClosedTermCacheExtension___spec__19(x_8, x_2); +x_9 = l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_mkClosedTermCacheExtension___spec__20(x_8, x_2); return x_9; } } @@ -1941,8 +1963,8 @@ _start: lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_2 = lean_unsigned_to_nat(0u); x_3 = l_Lean_SMap_empty___at_Lean_mkClosedTermCacheExtension___spec__12; -x_4 = l_Array_iterateMAux___main___at_Lean_mkClosedTermCacheExtension___spec__16(x_1, x_1, x_2, x_3); -x_5 = l_Lean_SMap_switch___at_Lean_mkClosedTermCacheExtension___spec__17(x_4); +x_4 = l_Array_iterateMAux___main___at_Lean_mkClosedTermCacheExtension___spec__17(x_1, x_1, x_2, x_3); +x_5 = l_Lean_SMap_switch___at_Lean_mkClosedTermCacheExtension___spec__18(x_4); return x_5; } } @@ -2001,7 +2023,7 @@ _start: { lean_object* x_2; lean_object* x_3; x_2 = l_Lean_mkClosedTermCacheExtension___closed__5; -x_3 = l_Lean_registerSimplePersistentEnvExtension___at_Lean_mkClosedTermCacheExtension___spec__18(x_2, x_1); +x_3 = l_Lean_registerSimplePersistentEnvExtension___at_Lean_mkClosedTermCacheExtension___spec__19(x_2, x_1); return x_3; } } @@ -2041,16 +2063,6 @@ x_4 = lean_box(x_3); return x_4; } } -lean_object* l_Array_iterateMAux___main___at_Lean_mkClosedTermCacheExtension___spec__15___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = l_Array_iterateMAux___main___at_Lean_mkClosedTermCacheExtension___spec__15(x_1, x_2, x_3, x_4); -lean_dec(x_2); -lean_dec(x_1); -return x_5; -} -} lean_object* l_Array_iterateMAux___main___at_Lean_mkClosedTermCacheExtension___spec__16___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { @@ -2061,20 +2073,30 @@ lean_dec(x_1); return x_5; } } -lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_mkClosedTermCacheExtension___spec__14___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l_Array_iterateMAux___main___at_Lean_mkClosedTermCacheExtension___spec__17___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Array_iterateMAux___main___at_Lean_mkClosedTermCacheExtension___spec__17(x_1, x_2, x_3, x_4); +lean_dec(x_2); +lean_dec(x_1); +return x_5; +} +} +lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_mkClosedTermCacheExtension___spec__15___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Lean_mkStateFromImportedEntries___at_Lean_mkClosedTermCacheExtension___spec__14(x_1, x_2); +x_3 = l_Lean_mkStateFromImportedEntries___at_Lean_mkClosedTermCacheExtension___spec__15(x_1, x_2); lean_dec(x_2); return x_3; } } -lean_object* l_Array_anyMAux___main___at_Lean_mkClosedTermCacheExtension___spec__20___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Array_anyMAux___main___at_Lean_mkClosedTermCacheExtension___spec__21___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { uint8_t x_4; lean_object* x_5; -x_4 = l_Array_anyMAux___main___at_Lean_mkClosedTermCacheExtension___spec__20(x_1, x_2, x_3); +x_4 = l_Array_anyMAux___main___at_Lean_mkClosedTermCacheExtension___spec__21(x_1, x_2, x_3); lean_dec(x_2); lean_dec(x_1); x_5 = lean_box(x_4); @@ -2138,7 +2160,7 @@ _start: uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = 1; x_2 = l_HashMap_Inhabited___closed__1; -x_3 = l_PersistentHashMap_HasEmptyc___closed__1; +x_3 = l_PersistentHashMap_empty___at_Lean_mkClosedTermCacheExtension___spec__14; x_4 = lean_alloc_ctor(0, 2, 1); lean_ctor_set(x_4, 0, x_2); lean_ctor_set(x_4, 1, x_3); @@ -2570,16 +2592,20 @@ _G_initialized = true; res = initialize_Init_Lean_Environment(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +l_PersistentHashMap_empty___at_Lean_mkClosedTermCacheExtension___spec__14___closed__1 = _init_l_PersistentHashMap_empty___at_Lean_mkClosedTermCacheExtension___spec__14___closed__1(); +lean_mark_persistent(l_PersistentHashMap_empty___at_Lean_mkClosedTermCacheExtension___spec__14___closed__1); +l_PersistentHashMap_empty___at_Lean_mkClosedTermCacheExtension___spec__14 = _init_l_PersistentHashMap_empty___at_Lean_mkClosedTermCacheExtension___spec__14(); +lean_mark_persistent(l_PersistentHashMap_empty___at_Lean_mkClosedTermCacheExtension___spec__14); l_Lean_SMap_empty___at_Lean_mkClosedTermCacheExtension___spec__12___closed__1 = _init_l_Lean_SMap_empty___at_Lean_mkClosedTermCacheExtension___spec__12___closed__1(); lean_mark_persistent(l_Lean_SMap_empty___at_Lean_mkClosedTermCacheExtension___spec__12___closed__1); l_Lean_SMap_empty___at_Lean_mkClosedTermCacheExtension___spec__12___closed__2 = _init_l_Lean_SMap_empty___at_Lean_mkClosedTermCacheExtension___spec__12___closed__2(); lean_mark_persistent(l_Lean_SMap_empty___at_Lean_mkClosedTermCacheExtension___spec__12___closed__2); l_Lean_SMap_empty___at_Lean_mkClosedTermCacheExtension___spec__12 = _init_l_Lean_SMap_empty___at_Lean_mkClosedTermCacheExtension___spec__12(); lean_mark_persistent(l_Lean_SMap_empty___at_Lean_mkClosedTermCacheExtension___spec__12); -l_Lean_registerEnvExtensionUnsafe___at_Lean_mkClosedTermCacheExtension___spec__21___closed__1 = _init_l_Lean_registerEnvExtensionUnsafe___at_Lean_mkClosedTermCacheExtension___spec__21___closed__1(); -lean_mark_persistent(l_Lean_registerEnvExtensionUnsafe___at_Lean_mkClosedTermCacheExtension___spec__21___closed__1); -l_Lean_registerEnvExtensionUnsafe___at_Lean_mkClosedTermCacheExtension___spec__21___closed__2 = _init_l_Lean_registerEnvExtensionUnsafe___at_Lean_mkClosedTermCacheExtension___spec__21___closed__2(); -lean_mark_persistent(l_Lean_registerEnvExtensionUnsafe___at_Lean_mkClosedTermCacheExtension___spec__21___closed__2); +l_Lean_registerEnvExtensionUnsafe___at_Lean_mkClosedTermCacheExtension___spec__22___closed__1 = _init_l_Lean_registerEnvExtensionUnsafe___at_Lean_mkClosedTermCacheExtension___spec__22___closed__1(); +lean_mark_persistent(l_Lean_registerEnvExtensionUnsafe___at_Lean_mkClosedTermCacheExtension___spec__22___closed__1); +l_Lean_registerEnvExtensionUnsafe___at_Lean_mkClosedTermCacheExtension___spec__22___closed__2 = _init_l_Lean_registerEnvExtensionUnsafe___at_Lean_mkClosedTermCacheExtension___spec__22___closed__2(); +lean_mark_persistent(l_Lean_registerEnvExtensionUnsafe___at_Lean_mkClosedTermCacheExtension___spec__22___closed__2); l_Lean_mkClosedTermCacheExtension___closed__1 = _init_l_Lean_mkClosedTermCacheExtension___closed__1(); lean_mark_persistent(l_Lean_mkClosedTermCacheExtension___closed__1); l_Lean_mkClosedTermCacheExtension___closed__2 = _init_l_Lean_mkClosedTermCacheExtension___closed__2(); diff --git a/src/stage0/Init/Lean/Compiler/ConstFolding.c b/src/stage0/Init/Lean/Compiler/ConstFolding.c index ff3cdff41a..80431d9707 100644 --- a/src/stage0/Init/Lean/Compiler/ConstFolding.c +++ b/src/stage0/Init/Lean/Compiler/ConstFolding.c @@ -28,6 +28,7 @@ lean_object* l_Lean_Compiler_foldNatDecLt___closed__1; lean_object* l_Lean_Compiler_preUIntBinFoldFns___closed__16; lean_object* lean_nat_sub(lean_object*, lean_object*); lean_object* l_Lean_Compiler_foldNatDiv(uint8_t); +extern lean_object* l_Lean_Literal_type___closed__2; lean_object* l_Lean_Compiler_numScalarTypes___closed__25; lean_object* l_Lean_Compiler_foldUIntMod___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Compiler_isOfNat(lean_object*); @@ -93,7 +94,6 @@ lean_object* l_Lean_Compiler_numScalarTypes___closed__21; lean_object* l_Lean_Compiler_boolFoldFns___closed__2; lean_object* l_Lean_Compiler_natFoldFns___closed__39; lean_object* l_Lean_Compiler_natFoldFns___closed__31; -lean_object* l_Lean_Compiler_mkNatEq___closed__8; lean_object* l_Lean_Compiler_getBoolLit___closed__3; lean_object* l_Lean_Compiler_foldUIntAdd___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_List_foldl___main___at_Lean_Compiler_uintBinFoldFns___spec__2(lean_object*, lean_object*); @@ -311,7 +311,6 @@ lean_object* l_Lean_Name_append___main(lean_object*, lean_object*); lean_object* lean_nat_mul(lean_object*, lean_object*); lean_object* l_Lean_Compiler_mkNatEq___closed__3; lean_object* l_Lean_Compiler_foldNatMul___rarg___boxed(lean_object*, lean_object*); -lean_object* l_Lean_Compiler_mkNatEq___closed__7; lean_object* l_Lean_Compiler_numScalarTypes___closed__28; lean_object* l_Lean_Compiler_mkNatEq___closed__4; extern lean_object* l_Bool_HasRepr___closed__1; @@ -2077,37 +2076,19 @@ return x_3; lean_object* _init_l_Lean_Compiler_mkNatEq___closed__5() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("Nat"); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Literal_type___closed__2; +x_3 = lean_expr_mk_const(x_2, x_1); +return x_3; } } lean_object* _init_l_Lean_Compiler_mkNatEq___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Compiler_mkNatEq___closed__5; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -lean_object* _init_l_Lean_Compiler_mkNatEq___closed__7() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Compiler_mkNatEq___closed__6; -x_3 = lean_expr_mk_const(x_2, x_1); -return x_3; -} -} -lean_object* _init_l_Lean_Compiler_mkNatEq___closed__8() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Compiler_mkNatEq___closed__4; -x_2 = l_Lean_Compiler_mkNatEq___closed__7; +x_2 = l_Lean_Compiler_mkNatEq___closed__5; x_3 = lean_expr_mk_app(x_1, x_2); return x_3; } @@ -2116,7 +2097,7 @@ lean_object* l_Lean_Compiler_mkNatEq(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; -x_3 = l_Lean_Compiler_mkNatEq___closed__8; +x_3 = l_Lean_Compiler_mkNatEq___closed__6; x_4 = l_Lean_mkBinApp(x_3, x_1, x_2); return x_4; } @@ -2183,7 +2164,7 @@ lean_object* _init_l_Lean_Compiler_mkNatLt___closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Compiler_mkNatEq___closed__6; +x_1 = l_Lean_Literal_type___closed__2; x_2 = l_Lean_Compiler_mkNatLt___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -2204,7 +2185,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Compiler_mkNatLt___closed__6; -x_2 = l_Lean_Compiler_mkNatEq___closed__7; +x_2 = l_Lean_Compiler_mkNatEq___closed__5; x_3 = l_Lean_Compiler_mkNatLt___closed__8; x_4 = l_Lean_mkBinApp(x_1, x_2, x_3); return x_4; @@ -2259,7 +2240,7 @@ lean_object* _init_l_Lean_Compiler_mkNatLe___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Compiler_mkNatEq___closed__6; +x_1 = l_Lean_Literal_type___closed__2; x_2 = l_Lean_Compiler_mkNatLe___closed__4; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -2280,7 +2261,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Compiler_mkNatLe___closed__3; -x_2 = l_Lean_Compiler_mkNatEq___closed__7; +x_2 = l_Lean_Compiler_mkNatEq___closed__5; x_3 = l_Lean_Compiler_mkNatLe___closed__6; x_4 = l_Lean_mkBinApp(x_1, x_2, x_3); return x_4; @@ -2547,7 +2528,7 @@ lean_object* _init_l_Lean_Compiler_natFoldFns___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Compiler_mkNatEq___closed__6; +x_1 = l_Lean_Literal_type___closed__2; x_2 = l_Lean_Compiler_preUIntBinFoldFns___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -2577,7 +2558,7 @@ lean_object* _init_l_Lean_Compiler_natFoldFns___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Compiler_mkNatEq___closed__6; +x_1 = l_Lean_Literal_type___closed__2; x_2 = l_Lean_Compiler_preUIntBinFoldFns___closed__5; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -2607,7 +2588,7 @@ lean_object* _init_l_Lean_Compiler_natFoldFns___closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Compiler_mkNatEq___closed__6; +x_1 = l_Lean_Literal_type___closed__2; x_2 = l_Lean_Compiler_preUIntBinFoldFns___closed__9; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -2637,7 +2618,7 @@ lean_object* _init_l_Lean_Compiler_natFoldFns___closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Compiler_mkNatEq___closed__6; +x_1 = l_Lean_Literal_type___closed__2; x_2 = l_Lean_Compiler_preUIntBinFoldFns___closed__13; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -2675,7 +2656,7 @@ lean_object* _init_l_Lean_Compiler_natFoldFns___closed__14() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Compiler_mkNatEq___closed__6; +x_1 = l_Lean_Literal_type___closed__2; x_2 = l_Lean_Compiler_natFoldFns___closed__13; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -2743,7 +2724,7 @@ lean_object* _init_l_Lean_Compiler_natFoldFns___closed__21() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Compiler_mkNatEq___closed__6; +x_1 = l_Lean_Literal_type___closed__2; x_2 = l_Lean_Compiler_natFoldFns___closed__20; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -2781,7 +2762,7 @@ lean_object* _init_l_Lean_Compiler_natFoldFns___closed__25() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Compiler_mkNatEq___closed__6; +x_1 = l_Lean_Literal_type___closed__2; x_2 = l_Lean_Compiler_natFoldFns___closed__24; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -2819,7 +2800,7 @@ lean_object* _init_l_Lean_Compiler_natFoldFns___closed__29() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Compiler_mkNatEq___closed__6; +x_1 = l_Lean_Literal_type___closed__2; x_2 = l_Lean_Compiler_natFoldFns___closed__28; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -3877,7 +3858,7 @@ lean_object* _init_l_Lean_Compiler_unFoldFns___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Compiler_mkNatEq___closed__6; +x_1 = l_Lean_Literal_type___closed__2; x_2 = l_Lean_Compiler_unFoldFns___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -4372,10 +4353,6 @@ l_Lean_Compiler_mkNatEq___closed__5 = _init_l_Lean_Compiler_mkNatEq___closed__5( lean_mark_persistent(l_Lean_Compiler_mkNatEq___closed__5); l_Lean_Compiler_mkNatEq___closed__6 = _init_l_Lean_Compiler_mkNatEq___closed__6(); lean_mark_persistent(l_Lean_Compiler_mkNatEq___closed__6); -l_Lean_Compiler_mkNatEq___closed__7 = _init_l_Lean_Compiler_mkNatEq___closed__7(); -lean_mark_persistent(l_Lean_Compiler_mkNatEq___closed__7); -l_Lean_Compiler_mkNatEq___closed__8 = _init_l_Lean_Compiler_mkNatEq___closed__8(); -lean_mark_persistent(l_Lean_Compiler_mkNatEq___closed__8); l_Lean_Compiler_mkNatLt___closed__1 = _init_l_Lean_Compiler_mkNatLt___closed__1(); lean_mark_persistent(l_Lean_Compiler_mkNatLt___closed__1); l_Lean_Compiler_mkNatLt___closed__2 = _init_l_Lean_Compiler_mkNatLt___closed__2(); diff --git a/src/stage0/Init/Lean/Compiler/IR/CompilerM.c b/src/stage0/Init/Lean/Compiler/IR/CompilerM.c index 8839972cf8..d6ed6adffa 100644 --- a/src/stage0/Init/Lean/Compiler/IR/CompilerM.c +++ b/src/stage0/Init/Lean/Compiler/IR/CompilerM.c @@ -24,28 +24,23 @@ uint8_t lean_name_dec_eq(lean_object*, lean_object*); lean_object* l_Lean_IR_findDecl_x27(lean_object*, lean_object*, lean_object*, lean_object*); size_t l_USize_mul(size_t, size_t); lean_object* l_Lean_IR_containsDecl(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_IR_mkDeclMapExtension___spec__7___rarg___boxed(lean_object*, lean_object*); extern lean_object* l_Array_empty___closed__1; lean_object* l_Array_findMAux___main___at_Lean_IR_findEnvDecl_x27___spec__1(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_registerEnvExtensionUnsafe___rarg___closed__2; lean_object* l_Lean_IR_LogEntry_Lean_HasFormat___closed__1; -lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_IR_mkDeclMapExtension___spec__7(lean_object*); lean_object* l_Lean_Format_pretty(lean_object*, lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_IR_mkDeclMapExtension___closed__1; lean_object* l_HashMapImp_expand___at___private_Init_Lean_Compiler_IR_CompilerM_4__mkEntryArray___spec__4(lean_object*, lean_object*); -lean_object* l_Lean_SMap_switch___at_Lean_IR_mkDeclMapExtension___spec__10(lean_object*); extern lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__2; lean_object* lean_mk_array(lean_object*, lean_object*); -lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_IR_mkDeclMapExtension___spec__7___rarg(lean_object*, lean_object*); lean_object* l_Lean_IR_getEnv___boxed(lean_object*); extern lean_object* l_Lean_EnvExtension_Inhabited___rarg___closed__1; -lean_object* l_Lean_registerEnvExtensionUnsafe___at_Lean_IR_mkDeclMapExtension___spec__14___closed__1; -extern lean_object* l_PersistentHashMap_HasEmptyc___closed__1; size_t l_USize_shift__right(size_t, size_t); lean_object* l_HashMapImp_contains___at_Lean_IR_containsDecl___spec__2___boxed(lean_object*, lean_object*); lean_object* l_Lean_KVMap_findCore___main(lean_object*, lean_object*); lean_object* l___private_Init_Lean_Compiler_IR_CompilerM_4__mkEntryArray(lean_object*); +extern lean_object* l_Lean_LocalContext_Inhabited___closed__1; lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Compiler_IR_CompilerM_4__mkEntryArray___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_IR_Log_format(lean_object*); extern lean_object* l___private_Init_Lean_Environment_5__envExtensionsRef; @@ -66,6 +61,7 @@ lean_object* lean_array_uset(lean_object*, size_t, lean_object*); lean_object* l_PersistentHashMap_findAux___main___at_Lean_IR_findEnvDecl___spec__3(lean_object*, size_t, lean_object*); lean_object* l_Lean_IR_addDecls___boxed(lean_object*, lean_object*, lean_object*); lean_object* lean_io_ref_set(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_IR_mkDeclMapExtension___spec__13(lean_object*, lean_object*); lean_object* l___private_Init_Lean_Compiler_IR_CompilerM_3__logMessageIfAux___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Options_empty; lean_object* l_Lean_SMap_find___at_Lean_IR_findEnvDecl___spec__1___boxed(lean_object*, lean_object*); @@ -78,6 +74,8 @@ lean_object* l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__3(lean lean_object* l___private_Init_Lean_Compiler_IR_CompilerM_4__mkEntryArray___closed__1; lean_object* lean_io_initializing(lean_object*); lean_object* l_Lean_IR_declMapExt___elambda__4(lean_object*); +lean_object* l_Lean_registerEnvExtensionUnsafe___at_Lean_IR_mkDeclMapExtension___spec__15(lean_object*, lean_object*); +lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_IR_mkDeclMapExtension___spec__8___rarg(lean_object*, lean_object*); lean_object* l___private_Init_Lean_Compiler_IR_CompilerM_2__logDeclsAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_IR_getDecls___boxed(lean_object*); lean_object* l_Lean_SimplePersistentEnvExtension_getEntries___rarg(lean_object*, lean_object*); @@ -98,7 +96,7 @@ lean_object* l_PersistentHashMap_find___at_Lean_IR_findEnvDecl___spec__2(lean_ob size_t lean_name_hash_usize(lean_object*); extern lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__3; uint8_t l_PersistentHashMap_contains___at_Lean_IR_containsDecl___spec__3(lean_object*, lean_object*); -lean_object* l_Lean_registerSimplePersistentEnvExtension___at_Lean_IR_mkDeclMapExtension___spec__11(lean_object*, lean_object*); +lean_object* l_Array_anyMAux___main___at_Lean_IR_mkDeclMapExtension___spec__14___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_Lean_IR_LogEntry_fmt___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_IR_findEnvDecl_x27___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_AssocList_find___main___at_Lean_IR_findEnvDecl___spec__6(lean_object*, lean_object*); @@ -106,10 +104,10 @@ lean_object* l_Array_iterateMAux___main___at_Lean_IR_Log_format___spec__1___boxe lean_object* lean_string_append(lean_object*, lean_object*); size_t l_USize_add(size_t, size_t); lean_object* l_Lean_SMap_insert___at_Lean_IR_mkDeclMapExtension___spec__1(lean_object*, lean_object*, lean_object*); +lean_object* l_Array_iterateMAux___main___at_Lean_IR_mkDeclMapExtension___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_IR_addDecls(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_IR_mkDeclMapExtension___lambda__2___boxed(lean_object*, lean_object*); -lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_IR_mkDeclMapExtension___spec__12(lean_object*, lean_object*); lean_object* lean_ir_log_to_string(lean_object*); lean_object* l_Array_forMAux___main___at_Lean_IR_addDecls___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_IR_tracePrefixOptionName___closed__3; @@ -131,9 +129,12 @@ lean_object* l_Lean_IR_LogEntry_Lean_HasFormat; lean_object* l_Lean_IR_findDecl___boxed(lean_object*, lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); extern lean_object* l___private_Init_Lean_Environment_8__persistentEnvExtensionsRef; +uint8_t l_Array_anyMAux___main___at_Lean_IR_mkDeclMapExtension___spec__14(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_IR_logMessage(lean_object*); +extern lean_object* l_Lean_LocalContext_Inhabited___closed__2; lean_object* l___private_Init_Lean_Compiler_IR_CompilerM_1__isLogEnabledFor___boxed(lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); +lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_IR_mkDeclMapExtension___spec__8(lean_object*); uint8_t l_Lean_SMap_contains___at_Lean_IR_containsDecl___spec__1(lean_object*, lean_object*); lean_object* l_Lean_IR_LogEntry_fmt(lean_object*); lean_object* l_Lean_IR_mkDeclMapExtension___closed__3; @@ -145,9 +146,10 @@ lean_object* l_HashMapImp_find___at_Lean_IR_findEnvDecl___spec__5___boxed(lean_o extern size_t l_PersistentHashMap_insertAux___main___rarg___closed__2; lean_object* l_PersistentHashMap_contains___at_Lean_IR_containsDecl___spec__3___boxed(lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Compiler_IR_CompilerM_4__mkEntryArray___spec__10(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_iterateMAux___main___at_Lean_IR_mkDeclMapExtension___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_SMap_switch___at_Lean_IR_mkDeclMapExtension___spec__11(lean_object*); lean_object* l_Lean_IR_declMapExt___elambda__1(lean_object*); lean_object* l_PersistentHashMap_insert___at_Lean_IR_mkDeclMapExtension___spec__2(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_registerEnvExtensionUnsafe___at_Lean_IR_mkDeclMapExtension___spec__15___closed__1; lean_object* l_Lean_IR_mkDeclMapExtension___closed__4; lean_object* l_AssocList_replace___main___at___private_Init_Lean_Compiler_IR_CompilerM_4__mkEntryArray___spec__7(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_IR_getDecl_x27(lean_object*, lean_object*, lean_object*, lean_object*); @@ -158,6 +160,7 @@ uint8_t l_AssocList_contains___main___at___private_Init_Lean_Compiler_IR_Compile extern lean_object* l_Lean_Format_sbracket___closed__3; lean_object* l_Lean_IR_Decl_name(lean_object*); lean_object* l_Lean_IR_declMapExt___closed__2; +lean_object* l_Lean_registerSimplePersistentEnvExtension___at_Lean_IR_mkDeclMapExtension___spec__12(lean_object*, lean_object*); lean_object* l_Lean_IR_getDecl(lean_object*, lean_object*, lean_object*); lean_object* l_Array_forMAux___main___at_Lean_IR_addDecls___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PersistentEnvExtension_addEntry___rarg(lean_object*, lean_object*, lean_object*); @@ -183,12 +186,9 @@ lean_object* l_mkHashMap___at___private_Init_Lean_Compiler_IR_CompilerM_4__mkEnt lean_object* l_Lean_IR_containsDecl_x27(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_AssocList_find___main___at_Lean_IR_findEnvDecl___spec__6___boxed(lean_object*, lean_object*); lean_object* l_Lean_IR_containsDecl___boxed(lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_SMap_empty___at_Lean_Environment_Inhabited___spec__2___closed__1; lean_object* l_PersistentHashMap_insertAux___main___at_Lean_IR_mkDeclMapExtension___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_IR_getEnv(lean_object*); uint8_t l_HashMapImp_contains___at_Lean_IR_containsDecl___spec__2(lean_object*, lean_object*); -lean_object* l_Array_anyMAux___main___at_Lean_IR_mkDeclMapExtension___spec__13___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_registerEnvExtensionUnsafe___at_Lean_IR_mkDeclMapExtension___spec__14___closed__2; lean_object* l_EStateM_bind___rarg(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__1; lean_object* l_Array_iterateMAux___main___at_Lean_IR_mkDeclMapExtension___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -197,7 +197,7 @@ extern lean_object* l_Lean_Name_toString___closed__1; lean_object* l_Lean_IR_declMapExt___elambda__3___boxed(lean_object*, lean_object*); lean_object* l_Lean_IR_log___boxed(lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); -uint8_t l_Array_anyMAux___main___at_Lean_IR_mkDeclMapExtension___spec__13(lean_object*, lean_object*, lean_object*); +lean_object* l_Array_iterateMAux___main___at_Lean_IR_mkDeclMapExtension___spec__10(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_IR_declMapExt___closed__5; lean_object* l_Lean_IR_logMessageIf___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_USize_decLe(size_t, size_t); @@ -211,11 +211,12 @@ uint8_t l_Array_anyMAux___main___at_Lean_IR_containsDecl_x27___spec__1(lean_obje lean_object* l_Lean_IR_mkDeclMapExtension___closed__5; lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_IR_tracePrefixOptionName___closed__6; +lean_object* l_Lean_registerEnvExtensionUnsafe___at_Lean_IR_mkDeclMapExtension___spec__15___closed__2; lean_object* l_Lean_SMap_empty___at_Lean_IR_mkDeclMapExtension___spec__6; -lean_object* l_Lean_registerEnvExtensionUnsafe___at_Lean_IR_mkDeclMapExtension___spec__14(lean_object*, lean_object*); lean_object* l_PersistentHashMap_containsAux___main___at_Lean_IR_containsDecl___spec__4___boxed(lean_object*, lean_object*, lean_object*); size_t l_USize_land(size_t, size_t); lean_object* lean_usize_to_nat(size_t); +lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_IR_mkDeclMapExtension___spec__8___boxed(lean_object*); lean_object* l_Lean_IR_declMapExt___elambda__3(lean_object*, lean_object*); lean_object* l_Lean_IR_mkDeclMapExtension___closed__2; lean_object* l_Lean_IR_addDecl(lean_object*, lean_object*, lean_object*); @@ -225,13 +226,13 @@ lean_object* lean_nat_mul(lean_object*, lean_object*); lean_object* l___private_Init_Lean_Compiler_IR_CompilerM_3__logMessageIfAux(lean_object*); lean_object* l_Lean_IR_modifyEnv___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_IR_mkDeclMapExtension___lambda__1(lean_object*, lean_object*); -lean_object* l_Array_iterateMAux___main___at_Lean_IR_mkDeclMapExtension___spec__8(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_AssocList_foldlM___main___at___private_Init_Lean_Compiler_IR_CompilerM_4__mkEntryArray___spec__6(lean_object*, lean_object*); extern lean_object* l_Lean_registerEnvExtensionUnsafe___rarg___closed__1; uint8_t l_PersistentHashMap_containsAtAux___main___at_Lean_LocalContext_contains___spec__3(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_IR_containsDecl_x27___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_io_ref_reset(lean_object*, lean_object*); -lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_IR_mkDeclMapExtension___spec__7___boxed(lean_object*); +lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_IR_mkDeclMapExtension___spec__8___rarg___boxed(lean_object*, lean_object*); +lean_object* l_PersistentHashMap_empty___at_Lean_IR_mkDeclMapExtension___spec__7; lean_object* l_PersistentHashMap_find___at_Lean_IR_findEnvDecl___spec__2___boxed(lean_object*, lean_object*); lean_object* l_HashMapImp_moveEntries___main___at___private_Init_Lean_Compiler_IR_CompilerM_4__mkEntryArray___spec__5(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_IR_logDecls___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -1193,7 +1194,7 @@ lean_object* l___private_Init_Lean_Compiler_IR_CompilerM_4__mkEntryArray(lean_ob _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 = l_Lean_SMap_empty___at_Lean_Environment_Inhabited___spec__2___closed__1; +x_2 = l_Lean_LocalContext_Inhabited___closed__1; x_3 = l___private_Init_Lean_Compiler_IR_CompilerM_4__mkEntryArray___closed__1; x_4 = l_List_foldl___main___at___private_Init_Lean_Compiler_IR_CompilerM_4__mkEntryArray___spec__8(x_2, x_3, x_1); x_5 = lean_ctor_get(x_4, 1); @@ -1778,13 +1779,21 @@ return x_18; } } } +lean_object* _init_l_PersistentHashMap_empty___at_Lean_IR_mkDeclMapExtension___spec__7() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_LocalContext_Inhabited___closed__2; +return x_1; +} +} lean_object* _init_l_Lean_SMap_empty___at_Lean_IR_mkDeclMapExtension___spec__6___closed__1() { _start: { uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = 1; x_2 = l_HashMap_Inhabited___closed__1; -x_3 = l_PersistentHashMap_HasEmptyc___closed__1; +x_3 = l_PersistentHashMap_empty___at_Lean_IR_mkDeclMapExtension___spec__7; x_4 = lean_alloc_ctor(0, 2, 1); lean_ctor_set(x_4, 0, x_2); lean_ctor_set(x_4, 1, x_3); @@ -1800,7 +1809,7 @@ x_1 = l_Lean_SMap_empty___at_Lean_IR_mkDeclMapExtension___spec__6___closed__1; return x_1; } } -lean_object* l_Array_iterateMAux___main___at_Lean_IR_mkDeclMapExtension___spec__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Array_iterateMAux___main___at_Lean_IR_mkDeclMapExtension___spec__9(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; @@ -1827,7 +1836,7 @@ goto _start; } } } -lean_object* l_Array_iterateMAux___main___at_Lean_IR_mkDeclMapExtension___spec__9(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Array_iterateMAux___main___at_Lean_IR_mkDeclMapExtension___spec__10(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; @@ -1844,7 +1853,7 @@ else lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; x_7 = lean_array_fget(x_2, x_3); x_8 = lean_unsigned_to_nat(0u); -x_9 = l_Array_iterateMAux___main___at_Lean_IR_mkDeclMapExtension___spec__8(x_7, x_7, x_8, x_4); +x_9 = l_Array_iterateMAux___main___at_Lean_IR_mkDeclMapExtension___spec__9(x_7, x_7, x_8, x_4); lean_dec(x_7); x_10 = lean_unsigned_to_nat(1u); x_11 = lean_nat_add(x_3, x_10); @@ -1855,24 +1864,24 @@ goto _start; } } } -lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_IR_mkDeclMapExtension___spec__7___rarg(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_IR_mkDeclMapExtension___spec__8___rarg(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; x_3 = lean_unsigned_to_nat(0u); -x_4 = l_Array_iterateMAux___main___at_Lean_IR_mkDeclMapExtension___spec__9(x_2, x_2, x_3, x_1); +x_4 = l_Array_iterateMAux___main___at_Lean_IR_mkDeclMapExtension___spec__10(x_2, x_2, x_3, x_1); return x_4; } } -lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_IR_mkDeclMapExtension___spec__7(lean_object* x_1) { +lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_IR_mkDeclMapExtension___spec__8(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_mkStateFromImportedEntries___at_Lean_IR_mkDeclMapExtension___spec__7___rarg___boxed), 2, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_mkStateFromImportedEntries___at_Lean_IR_mkDeclMapExtension___spec__8___rarg___boxed), 2, 0); return x_2; } } -lean_object* l_Lean_SMap_switch___at_Lean_IR_mkDeclMapExtension___spec__10(lean_object* x_1) { +lean_object* l_Lean_SMap_switch___at_Lean_IR_mkDeclMapExtension___spec__11(lean_object* x_1) { _start: { uint8_t x_2; @@ -1910,7 +1919,7 @@ return x_8; } } } -uint8_t l_Array_anyMAux___main___at_Lean_IR_mkDeclMapExtension___spec__13(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +uint8_t l_Array_anyMAux___main___at_Lean_IR_mkDeclMapExtension___spec__14(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -1951,7 +1960,7 @@ return x_10; } } } -lean_object* _init_l_Lean_registerEnvExtensionUnsafe___at_Lean_IR_mkDeclMapExtension___spec__14___closed__1() { +lean_object* _init_l_Lean_registerEnvExtensionUnsafe___at_Lean_IR_mkDeclMapExtension___spec__15___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -1963,19 +1972,19 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -lean_object* _init_l_Lean_registerEnvExtensionUnsafe___at_Lean_IR_mkDeclMapExtension___spec__14___closed__2() { +lean_object* _init_l_Lean_registerEnvExtensionUnsafe___at_Lean_IR_mkDeclMapExtension___spec__15___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Array_empty___closed__1; -x_2 = l_Lean_registerEnvExtensionUnsafe___at_Lean_IR_mkDeclMapExtension___spec__14___closed__1; +x_2 = l_Lean_registerEnvExtensionUnsafe___at_Lean_IR_mkDeclMapExtension___spec__15___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_object* l_Lean_registerEnvExtensionUnsafe___at_Lean_IR_mkDeclMapExtension___spec__14(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_registerEnvExtensionUnsafe___at_Lean_IR_mkDeclMapExtension___spec__15(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; @@ -2033,7 +2042,7 @@ lean_inc(x_16); lean_dec(x_14); x_17 = lean_array_get_size(x_15); lean_dec(x_15); -x_18 = l_Lean_registerEnvExtensionUnsafe___at_Lean_IR_mkDeclMapExtension___spec__14___closed__2; +x_18 = l_Lean_registerEnvExtensionUnsafe___at_Lean_IR_mkDeclMapExtension___spec__15___closed__2; x_19 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_19, 0, x_17); lean_ctor_set(x_19, 1, x_1); @@ -2206,7 +2215,7 @@ return x_52; } } } -lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_IR_mkDeclMapExtension___spec__12(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_IR_mkDeclMapExtension___spec__13(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; @@ -2222,7 +2231,7 @@ lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; x_6 = lean_ctor_get(x_4, 0); x_7 = lean_ctor_get(x_4, 1); x_8 = lean_unsigned_to_nat(0u); -x_9 = l_Array_anyMAux___main___at_Lean_IR_mkDeclMapExtension___spec__13(x_1, x_6, x_8); +x_9 = l_Array_anyMAux___main___at_Lean_IR_mkDeclMapExtension___spec__14(x_1, x_6, x_8); lean_dec(x_6); if (x_9 == 0) { @@ -2237,7 +2246,7 @@ x_13 = l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__1; x_14 = lean_alloc_closure((void*)(l_EStateM_bind___rarg), 3, 2); lean_closure_set(x_14, 0, x_12); lean_closure_set(x_14, 1, x_13); -x_15 = l_Lean_registerEnvExtensionUnsafe___at_Lean_IR_mkDeclMapExtension___spec__14(x_14, x_7); +x_15 = l_Lean_registerEnvExtensionUnsafe___at_Lean_IR_mkDeclMapExtension___spec__15(x_14, x_7); if (lean_obj_tag(x_15) == 0) { lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; @@ -2432,7 +2441,7 @@ lean_inc(x_60); lean_inc(x_59); lean_dec(x_4); x_61 = lean_unsigned_to_nat(0u); -x_62 = l_Array_anyMAux___main___at_Lean_IR_mkDeclMapExtension___spec__13(x_1, x_59, x_61); +x_62 = l_Array_anyMAux___main___at_Lean_IR_mkDeclMapExtension___spec__14(x_1, x_59, x_61); lean_dec(x_59); if (x_62 == 0) { @@ -2446,7 +2455,7 @@ x_66 = l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__1; x_67 = lean_alloc_closure((void*)(l_EStateM_bind___rarg), 3, 2); lean_closure_set(x_67, 0, x_65); lean_closure_set(x_67, 1, x_66); -x_68 = l_Lean_registerEnvExtensionUnsafe___at_Lean_IR_mkDeclMapExtension___spec__14(x_67, x_60); +x_68 = l_Lean_registerEnvExtensionUnsafe___at_Lean_IR_mkDeclMapExtension___spec__15(x_67, x_60); if (lean_obj_tag(x_68) == 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; @@ -2665,7 +2674,7 @@ return x_115; } } } -lean_object* l_Lean_registerSimplePersistentEnvExtension___at_Lean_IR_mkDeclMapExtension___spec__11(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_registerSimplePersistentEnvExtension___at_Lean_IR_mkDeclMapExtension___spec__12(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; @@ -2686,7 +2695,7 @@ lean_ctor_set(x_8, 1, x_4); lean_ctor_set(x_8, 2, x_5); lean_ctor_set(x_8, 3, x_6); lean_ctor_set(x_8, 4, x_7); -x_9 = l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_IR_mkDeclMapExtension___spec__12(x_8, x_2); +x_9 = l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_IR_mkDeclMapExtension___spec__13(x_8, x_2); return x_9; } } @@ -2705,8 +2714,8 @@ _start: lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_3 = lean_unsigned_to_nat(0u); x_4 = l_Lean_SMap_empty___at_Lean_IR_mkDeclMapExtension___spec__6; -x_5 = l_Array_iterateMAux___main___at_Lean_IR_mkDeclMapExtension___spec__9(x_2, x_2, x_3, x_4); -x_6 = l_Lean_SMap_switch___at_Lean_IR_mkDeclMapExtension___spec__10(x_5); +x_5 = l_Array_iterateMAux___main___at_Lean_IR_mkDeclMapExtension___spec__10(x_2, x_2, x_3, x_4); +x_6 = l_Lean_SMap_switch___at_Lean_IR_mkDeclMapExtension___spec__11(x_5); return x_6; } } @@ -2732,7 +2741,7 @@ lean_object* _init_l_Lean_IR_mkDeclMapExtension___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_SMap_empty___at_Lean_Environment_Inhabited___spec__2___closed__1; +x_1 = l_Lean_LocalContext_Inhabited___closed__1; x_2 = lean_alloc_closure((void*)(l_Lean_IR_mkDeclMapExtension___lambda__2___boxed), 2, 1); lean_closure_set(x_2, 0, x_1); return x_2; @@ -2775,7 +2784,7 @@ _start: { lean_object* x_2; lean_object* x_3; x_2 = l_Lean_IR_mkDeclMapExtension___closed__6; -x_3 = l_Lean_registerSimplePersistentEnvExtension___at_Lean_IR_mkDeclMapExtension___spec__11(x_2, x_1); +x_3 = l_Lean_registerSimplePersistentEnvExtension___at_Lean_IR_mkDeclMapExtension___spec__12(x_2, x_1); return x_3; } } @@ -2804,16 +2813,6 @@ x_8 = l_PersistentHashMap_insertAux___main___at_Lean_IR_mkDeclMapExtension___spe return x_8; } } -lean_object* l_Array_iterateMAux___main___at_Lean_IR_mkDeclMapExtension___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_Array_iterateMAux___main___at_Lean_IR_mkDeclMapExtension___spec__8(x_1, x_2, x_3, x_4); -lean_dec(x_2); -lean_dec(x_1); -return x_5; -} -} lean_object* l_Array_iterateMAux___main___at_Lean_IR_mkDeclMapExtension___spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { @@ -2824,29 +2823,39 @@ lean_dec(x_1); return x_5; } } -lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_IR_mkDeclMapExtension___spec__7___rarg___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l_Array_iterateMAux___main___at_Lean_IR_mkDeclMapExtension___spec__10___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Array_iterateMAux___main___at_Lean_IR_mkDeclMapExtension___spec__10(x_1, x_2, x_3, x_4); +lean_dec(x_2); +lean_dec(x_1); +return x_5; +} +} +lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_IR_mkDeclMapExtension___spec__8___rarg___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Lean_mkStateFromImportedEntries___at_Lean_IR_mkDeclMapExtension___spec__7___rarg(x_1, x_2); +x_3 = l_Lean_mkStateFromImportedEntries___at_Lean_IR_mkDeclMapExtension___spec__8___rarg(x_1, x_2); lean_dec(x_2); return x_3; } } -lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_IR_mkDeclMapExtension___spec__7___boxed(lean_object* x_1) { +lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_IR_mkDeclMapExtension___spec__8___boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l_Lean_mkStateFromImportedEntries___at_Lean_IR_mkDeclMapExtension___spec__7(x_1); +x_2 = l_Lean_mkStateFromImportedEntries___at_Lean_IR_mkDeclMapExtension___spec__8(x_1); lean_dec(x_1); return x_2; } } -lean_object* l_Array_anyMAux___main___at_Lean_IR_mkDeclMapExtension___spec__13___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Array_anyMAux___main___at_Lean_IR_mkDeclMapExtension___spec__14___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { uint8_t x_4; lean_object* x_5; -x_4 = l_Array_anyMAux___main___at_Lean_IR_mkDeclMapExtension___spec__13(x_1, x_2, x_3); +x_4 = l_Array_anyMAux___main___at_Lean_IR_mkDeclMapExtension___spec__14(x_1, x_2, x_3); lean_dec(x_2); lean_dec(x_1); x_5 = lean_box(x_4); @@ -2911,7 +2920,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = lean_unsigned_to_nat(0u); x_2 = l_Lean_EnvExtension_Inhabited___rarg___closed__1; -x_3 = l_Lean_registerEnvExtensionUnsafe___at_Lean_IR_mkDeclMapExtension___spec__14___closed__2; +x_3 = l_Lean_registerEnvExtensionUnsafe___at_Lean_IR_mkDeclMapExtension___spec__15___closed__2; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -4090,14 +4099,16 @@ l_Lean_IR_tracePrefixOptionName = _init_l_Lean_IR_tracePrefixOptionName(); lean_mark_persistent(l_Lean_IR_tracePrefixOptionName); l___private_Init_Lean_Compiler_IR_CompilerM_4__mkEntryArray___closed__1 = _init_l___private_Init_Lean_Compiler_IR_CompilerM_4__mkEntryArray___closed__1(); lean_mark_persistent(l___private_Init_Lean_Compiler_IR_CompilerM_4__mkEntryArray___closed__1); +l_PersistentHashMap_empty___at_Lean_IR_mkDeclMapExtension___spec__7 = _init_l_PersistentHashMap_empty___at_Lean_IR_mkDeclMapExtension___spec__7(); +lean_mark_persistent(l_PersistentHashMap_empty___at_Lean_IR_mkDeclMapExtension___spec__7); l_Lean_SMap_empty___at_Lean_IR_mkDeclMapExtension___spec__6___closed__1 = _init_l_Lean_SMap_empty___at_Lean_IR_mkDeclMapExtension___spec__6___closed__1(); lean_mark_persistent(l_Lean_SMap_empty___at_Lean_IR_mkDeclMapExtension___spec__6___closed__1); l_Lean_SMap_empty___at_Lean_IR_mkDeclMapExtension___spec__6 = _init_l_Lean_SMap_empty___at_Lean_IR_mkDeclMapExtension___spec__6(); lean_mark_persistent(l_Lean_SMap_empty___at_Lean_IR_mkDeclMapExtension___spec__6); -l_Lean_registerEnvExtensionUnsafe___at_Lean_IR_mkDeclMapExtension___spec__14___closed__1 = _init_l_Lean_registerEnvExtensionUnsafe___at_Lean_IR_mkDeclMapExtension___spec__14___closed__1(); -lean_mark_persistent(l_Lean_registerEnvExtensionUnsafe___at_Lean_IR_mkDeclMapExtension___spec__14___closed__1); -l_Lean_registerEnvExtensionUnsafe___at_Lean_IR_mkDeclMapExtension___spec__14___closed__2 = _init_l_Lean_registerEnvExtensionUnsafe___at_Lean_IR_mkDeclMapExtension___spec__14___closed__2(); -lean_mark_persistent(l_Lean_registerEnvExtensionUnsafe___at_Lean_IR_mkDeclMapExtension___spec__14___closed__2); +l_Lean_registerEnvExtensionUnsafe___at_Lean_IR_mkDeclMapExtension___spec__15___closed__1 = _init_l_Lean_registerEnvExtensionUnsafe___at_Lean_IR_mkDeclMapExtension___spec__15___closed__1(); +lean_mark_persistent(l_Lean_registerEnvExtensionUnsafe___at_Lean_IR_mkDeclMapExtension___spec__15___closed__1); +l_Lean_registerEnvExtensionUnsafe___at_Lean_IR_mkDeclMapExtension___spec__15___closed__2 = _init_l_Lean_registerEnvExtensionUnsafe___at_Lean_IR_mkDeclMapExtension___spec__15___closed__2(); +lean_mark_persistent(l_Lean_registerEnvExtensionUnsafe___at_Lean_IR_mkDeclMapExtension___spec__15___closed__2); l_Lean_IR_mkDeclMapExtension___closed__1 = _init_l_Lean_IR_mkDeclMapExtension___closed__1(); lean_mark_persistent(l_Lean_IR_mkDeclMapExtension___closed__1); l_Lean_IR_mkDeclMapExtension___closed__2 = _init_l_Lean_IR_mkDeclMapExtension___closed__2(); diff --git a/src/stage0/Init/Lean/Compiler/IR/ElimDeadBranches.c b/src/stage0/Init/Lean/Compiler/IR/ElimDeadBranches.c index f762471894..9aaab792ae 100644 --- a/src/stage0/Init/Lean/Compiler/IR/ElimDeadBranches.c +++ b/src/stage0/Init/Lean/Compiler/IR/ElimDeadBranches.c @@ -17,6 +17,7 @@ lean_object* l_Lean_IR_UnreachableBranches_inferMain___rarg(lean_object*, lean_o lean_object* l_Array_iterateMAux___main___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__5(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_IR_formatArray___at_Lean_IR_UnreachableBranches_Value_format___main___spec__2(lean_object*); lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_registerEnvExtensionUnsafe___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__22(lean_object*, lean_object*); lean_object* l_HashMapImp_find___at_Lean_IR_UnreachableBranches_getFunctionSummary___spec__5___boxed(lean_object*, lean_object*); lean_object* l_Array_umapMAux___main___at_Lean_IR_UnreachableBranches_interpExpr___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_IR_UnreachableBranches_Value_beq___main(lean_object*, lean_object*); @@ -34,10 +35,10 @@ extern lean_object* l_Array_empty___closed__1; lean_object* lean_nat_sub(lean_object*, lean_object*); extern lean_object* l_Lean_registerEnvExtensionUnsafe___rarg___closed__2; lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); +uint8_t l_Array_anyMAux___main___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__21(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_IR_formatArray___at_Lean_IR_UnreachableBranches_Value_format___main___spec__2___boxed(lean_object*); lean_object* l_panicWithPos___at_Lean_IR_UnreachableBranches_interpFnBody___main___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Format_paren___closed__2; -lean_object* l_Lean_registerSimplePersistentEnvExtension___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__18(lean_object*, lean_object*); extern lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__2; lean_object* lean_mk_array(lean_object*, lean_object*); lean_object* l_List_foldr___main___at_Lean_IR_UnreachableBranches_Value_beq___main___spec__2___boxed(lean_object*, lean_object*, lean_object*); @@ -46,11 +47,10 @@ uint8_t l_Lean_IR_UnreachableBranches_containsCtor(lean_object*, lean_object*); lean_object* l_Lean_IR_LocalContext_getJPBody(lean_object*, lean_object*); lean_object* l_Lean_IR_UnreachableBranches_Value_Lean_HasFormat; lean_object* l_HashMapImp_insert___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__6(lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_EnvExtension_Inhabited___rarg___closed__1; lean_object* l_Array_iterateMAux___main___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__16(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_monadInhabited___rarg(lean_object*, lean_object*); -extern lean_object* l_PersistentHashMap_HasEmptyc___closed__1; lean_object* l_Lean_IR_UnreachableBranches_Value_HasToString___closed__1; -lean_object* l_Lean_registerEnvExtensionUnsafe___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__21___closed__2; size_t l_USize_shift__right(size_t, size_t); lean_object* l_Lean_IR_UnreachableBranches_Value_format___main___closed__3; lean_object* l_panicWithPos___at_Lean_IR_UnreachableBranches_Value_addChoice___main___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -60,7 +60,7 @@ lean_object* l_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___lambda lean_object* l_mkHashMap___at_Lean_IR_UnreachableBranches_updateVarAssignment___spec__1(lean_object*); lean_object* l_PersistentHashMap_find___at_Lean_IR_UnreachableBranches_getFunctionSummary___spec__2(lean_object*, lean_object*); extern lean_object* l_Lean_List_format___rarg___closed__1; -lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__14___rarg(lean_object*, lean_object*); +extern lean_object* l_Lean_LocalContext_Inhabited___closed__1; lean_object* l_Lean_Format_joinSep___main___at_Lean_IR_UnreachableBranches_Value_format___main___spec__5(lean_object*, lean_object*); lean_object* l_Lean_SMap_find___at_Lean_IR_UnreachableBranches_getFunctionSummary___spec__1___boxed(lean_object*, lean_object*); lean_object* l_Function_comp___rarg(lean_object*, lean_object*, lean_object*); @@ -68,13 +68,13 @@ lean_object* l_Lean_IR_FnBody_body(lean_object*); lean_object* l_panicWithPos___at_Lean_IR_UnreachableBranches_interpFnBody___main___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l___private_Init_Lean_Environment_5__envExtensionsRef; lean_object* l_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___closed__3; +lean_object* l_Lean_SMap_switch___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__18(lean_object*); lean_object* l_Lean_IR_UnreachableBranches_functionSummariesExt___elambda__2___boxed(lean_object*); lean_object* l_Lean_IR_UnreachableBranches_getFunctionSummary___boxed(lean_object*, lean_object*); size_t l_USize_sub(size_t, size_t); lean_object* l_PersistentArray_get_x21___at_Lean_IR_UnreachableBranches_interpExpr___spec__3(lean_object*, lean_object*); lean_object* l_Lean_IR_UnreachableBranches_Value_HasBeq; lean_object* l_Lean_IR_UnreachableBranches_findVarValue___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_registerEnvExtensionUnsafe___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__21___closed__1; lean_object* lean_array_uget(lean_object*, size_t); extern lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__4; lean_object* l_Lean_Name_toStringWithSep___main(lean_object*, lean_object*); @@ -131,8 +131,10 @@ size_t lean_name_hash_usize(lean_object*); lean_object* l_AssocList_contains___main___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__7___boxed(lean_object*, lean_object*); extern lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__3; lean_object* l_Lean_IR_UnreachableBranches_updateVarAssignment___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentHashMap_empty___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__14; uint8_t l_Array_isEqv___at_Lean_IR_UnreachableBranches_Value_beq___main___spec__1(lean_object*, lean_object*); lean_object* l_Lean_IR_UnreachableBranches_inferMain___main___boxed(lean_object*); +lean_object* l_Lean_registerEnvExtensionUnsafe___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__22___closed__1; lean_object* l_panicWithPos___at_Lean_IR_UnreachableBranches_interpFnBody___main___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_HashMapImp_moveEntries___main___at_Lean_IR_UnreachableBranches_updateVarAssignment___spec__5(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_IR_UnreachableBranches_findArgValue___boxed(lean_object*, lean_object*, lean_object*); @@ -143,8 +145,10 @@ lean_object* lean_string_append(lean_object*, lean_object*); lean_object* l_PersistentArray_modifyAux___main___at_Lean_IR_UnreachableBranches_updateCurrFnSummary___spec__2(lean_object*, lean_object*, lean_object*, size_t, size_t); lean_object* l_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___closed__1; extern lean_object* l_Lean_IR_Decl_Inhabited; +lean_object* l_Array_anyMAux___main___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__21___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_List_map___main___at_Lean_IR_UnreachableBranches_Value_truncate___main___spec__2(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_IR_UnreachableBranches_functionSummariesExt; +lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__15___rarg(lean_object*, lean_object*); size_t l_USize_add(size_t, size_t); lean_object* l_Array_getD___rarg(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Format_paren___closed__1; @@ -153,13 +157,10 @@ lean_object* l_Lean_IR_UnreachableBranches_updateVarAssignment(lean_object*, lea lean_object* l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_AssocList_replace___main___at_Lean_IR_UnreachableBranches_updateVarAssignment___spec__7(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_IR_UnreachableBranches_Value_format(lean_object*); -extern lean_object* l_Lean_IR_declMapExt___closed__1; uint8_t lean_nat_dec_lt(lean_object*, lean_object*); lean_object* l_HashMapImp_find___at_Lean_IR_UnreachableBranches_findVarValue___spec__1___boxed(lean_object*, lean_object*); uint8_t l_AssocList_contains___main___at_Lean_IR_UnreachableBranches_updateVarAssignment___spec__3(lean_object*, lean_object*); lean_object* l_Lean_IR_UnreachableBranches_elimDeadAux___main___boxed(lean_object*, lean_object*); -lean_object* l_Lean_SMap_switch___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__17(lean_object*); -lean_object* l_Array_anyMAux___main___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__20___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_IR_UnreachableBranches_functionSummariesExt___elambda__1___boxed(lean_object*); lean_object* l_AssocList_replace___main___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__11(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_IR_UnreachableBranches_Value_addChoice___main___closed__1; @@ -175,14 +176,15 @@ lean_object* l_PersistentHashMap_findAtAux___main___at_Lean_IR_UnreachableBranch lean_object* lean_nat_add(lean_object*, lean_object*); extern lean_object* l_Lean_Format_paren___closed__3; extern lean_object* l___private_Init_Lean_Environment_8__persistentEnvExtensionsRef; +lean_object* l_Lean_IR_UnreachableBranches_functionSummariesExt___closed__8; lean_object* l_Lean_List_format___at_Lean_IR_UnreachableBranches_Value_format___main___spec__4(lean_object*); lean_object* l_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___closed__4; -lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__19(lean_object*, lean_object*); lean_object* l_AssocList_contains___main___at_Lean_IR_UnreachableBranches_updateVarAssignment___spec__3___boxed(lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* l_Lean_IR_UnreachableBranches_Value_truncate(lean_object*, lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_Lean_IR_UnreachableBranches_Value_format___main___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_IR_paramInh; +extern lean_object* l_Lean_LocalContext_Inhabited___closed__2; uint8_t l_Array_isEmpty___rarg(lean_object*); lean_object* l_HashMapImp_expand___at_Lean_IR_UnreachableBranches_updateVarAssignment___spec__4(lean_object*, lean_object*); extern lean_object* l_Lean_regNamespacesExtension___closed__4; @@ -198,11 +200,13 @@ lean_object* l_Array_findIdxAux___main___at_Lean_IR_UnreachableBranches_interpEx lean_object* l_Array_iterateMAux___main___at_Lean_IR_UnreachableBranches_Value_format___main___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_registerSimplePersistentEnvExtension___rarg___closed__1; lean_object* l_List_foldr___main___at_Lean_IR_UnreachableBranches_Value_beq___main___spec__5___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__15___boxed(lean_object*); lean_object* l_List_foldl___main___at_Lean_IR_UnreachableBranches_projValue___main___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_IR_UnreachableBranches_addFunctionSummary(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_IR_UnreachableBranches_inferMain___main___rarg(lean_object*, lean_object*); extern size_t l_PersistentHashMap_insertAux___main___rarg___closed__2; lean_object* l_Lean_IR_UnreachableBranches_inferMain(lean_object*); +lean_object* l_Lean_IR_UnreachableBranches_functionSummariesExt___closed__6; lean_object* l_Lean_IR_LocalContext_getJPParams(lean_object*, lean_object*); lean_object* l_PersistentArray_modify___at_Lean_IR_UnreachableBranches_updateCurrFnSummary___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension(lean_object*); @@ -228,6 +232,7 @@ extern lean_object* l_Lean_Format_sbracket___closed__3; lean_object* l_Lean_IR_UnreachableBranches_Value_format___main___closed__2; extern lean_object* l_System_FilePath_dirName___closed__1; lean_object* l_panic(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_IR_UnreachableBranches_functionSummariesExt___closed__9; lean_object* l_Lean_IR_Decl_name(lean_object*); extern lean_object* l_Lean_HasRepr___closed__1; lean_object* l_Lean_IR_UnreachableBranches_Value_truncate___main(lean_object*, lean_object*, lean_object*); @@ -243,9 +248,9 @@ lean_object* l_Lean_fmt___at_Lean_Level_LevelToFormat_toResult___main___spec__1( size_t lean_usize_modn(size_t, lean_object*); lean_object* lean_format_group(lean_object*); lean_object* l_mkPersistentArray___rarg(lean_object*, lean_object*); +lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__20(lean_object*, lean_object*); lean_object* lean_environment_find(lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__16___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l_Array_anyMAux___main___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__20(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_IR_UnreachableBranches_Value_format___main___closed__1; lean_object* l_PersistentArray_getAux___main___at_Lean_IR_UnreachableBranches_interpExpr___spec__4(lean_object*, size_t, size_t); extern lean_object* l_HashMap_Inhabited___closed__1; @@ -261,11 +266,8 @@ lean_object* l_mkHashMapImp___rarg(lean_object*); lean_object* l_Lean_IR_UnreachableBranches_findArgValue(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_IR_UnreachableBranches_interpExpr(lean_object*, lean_object*, lean_object*); lean_object* l_Array_forMAux___main___at_Lean_IR_UnreachableBranches_inferStep___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__14(lean_object*); -lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__14___rarg___boxed(lean_object*, lean_object*); uint8_t l_Array_isEqvAux___main___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_SMap_empty___at_Lean_Environment_Inhabited___spec__2___closed__1; lean_object* l_List_foldr___main___at_Lean_IR_UnreachableBranches_Value_beq___main___spec__3___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_IR_UnreachableBranches_interpFnBody(lean_object*, lean_object*, lean_object*); lean_object* l_Array_forMAux___main___at_Lean_IR_UnreachableBranches_interpFnBody___main___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -284,14 +286,13 @@ lean_object* l_Lean_IR_UnreachableBranches_Value_beq___boxed(lean_object*, lean_ lean_object* l_Lean_IR_UnreachableBranches_Value_format___main___closed__5; lean_object* l_panicWithPos___at_Lean_IR_UnreachableBranches_Value_addChoice___main___spec__1___closed__1; lean_object* l_Lean_fmt___at_Lean_IR_UnreachableBranches_Value_format___main___spec__1(lean_object*); -lean_object* l_Array_iterateMAux___main___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__15(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_USize_decLe(size_t, size_t); lean_object* l_Nat_foldAux___main___at_Lean_IR_UnreachableBranches_Value_merge___main___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_panicWithPos___rarg___closed__2; lean_object* l_Lean_IR_UnreachableBranches_projValue___main___boxed(lean_object*, lean_object*); lean_object* l_HashMapImp_expand___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__8(lean_object*, lean_object*); +lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__15(lean_object*); size_t l_USize_shift__left(size_t, size_t); -lean_object* l_Lean_registerEnvExtensionUnsafe___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__21(lean_object*, lean_object*); lean_object* l_Lean_IR_UnreachableBranches_functionSummariesExt___closed__3; lean_object* l_Lean_IR_UnreachableBranches_functionSummariesExt___elambda__1(lean_object*); lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); @@ -302,6 +303,7 @@ lean_object* l_HashMapImp_find___at_Lean_IR_UnreachableBranches_getFunctionSumma lean_object* l_panicWithPos___at_Lean_IR_UnreachableBranches_Value_addChoice___main___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_IR_UnreachableBranches_functionSummariesExt___closed__5; lean_object* l_Array_umapMAux___main___at_Lean_IR_UnreachableBranches_elimDeadAux___main___spec__1(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_registerSimplePersistentEnvExtension___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__19(lean_object*, lean_object*); lean_object* l_Lean_IR_UnreachableBranches_Value_beq___main___boxed(lean_object*, lean_object*); size_t l_USize_land(size_t, size_t); lean_object* l_List_foldr___main___at_Lean_IR_UnreachableBranches_Value_beq___main___spec__4___boxed(lean_object*, lean_object*, lean_object*); @@ -312,9 +314,11 @@ lean_object* l_AssocList_foldlM___main___at_Lean_IR_UnreachableBranches_mkFuncti lean_object* l_Lean_IR_UnreachableBranches_projValue(lean_object*, lean_object*); lean_object* lean_usize_to_nat(size_t); lean_object* l_List_foldr___main___at_Lean_IR_UnreachableBranches_containsCtor___main___spec__1___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Array_iterateMAux___main___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__17___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_HashMapImp_moveEntries___main___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__9(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_List_format___rarg___closed__4; lean_object* lean_nat_mul(lean_object*, lean_object*); +lean_object* l_Lean_registerEnvExtensionUnsafe___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__22___closed__2; lean_object* l_PersistentHashMap_findAux___main___at_Lean_IR_UnreachableBranches_getFunctionSummary___spec__3(lean_object*, size_t, lean_object*); lean_object* l_Lean_IR_UnreachableBranches_elimDead(lean_object*, lean_object*); lean_object* l_PersistentHashMap_insertAux___main___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -322,10 +326,10 @@ extern lean_object* l_Lean_registerEnvExtensionUnsafe___rarg___closed__1; lean_object* l_Lean_IR_UnreachableBranches_updateVarAssignment___closed__1; lean_object* l_Lean_IR_UnreachableBranches_Value_format___main___closed__7; lean_object* l_List_foldl___main___at_Lean_IR_UnreachableBranches_Value_merge___main___spec__2(lean_object*, lean_object*); -lean_object* l_Array_iterateMAux___main___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__15___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_io_ref_reset(lean_object*, lean_object*); lean_object* l_Lean_IR_UnreachableBranches_functionSummariesExt___elambda__4___rarg(lean_object*); extern lean_object* l_Lean_IR_Arg_Inhabited; +lean_object* l_Lean_IR_UnreachableBranches_functionSummariesExt___closed__7; extern lean_object* l_Lean_IR_Inhabited; uint8_t l_Lean_IR_UnreachableBranches_Value_beq(lean_object*, lean_object*); lean_object* l_Lean_IR_UnreachableBranches_interpExpr___boxed(lean_object*, lean_object*, lean_object*); @@ -334,9 +338,10 @@ lean_object* l_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___lambda lean_object* l_Array_umapMAux___main___at_Lean_IR_elimDeadBranches___spec__2___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Array_umapMAux___main___at_Lean_IR_UnreachableBranches_elimDeadAux___main___spec__1___boxed(lean_object*, lean_object*, lean_object*); extern lean_object* l_String_splitAux___main___closed__1; +lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__15___rarg___boxed(lean_object*, lean_object*); lean_object* l_Array_isEqv___at_Lean_IR_UnreachableBranches_Value_beq___main___spec__1___boxed(lean_object*, lean_object*); lean_object* l_AssocList_foldlM___main___at_Lean_IR_UnreachableBranches_updateVarAssignment___spec__6(lean_object*, lean_object*); -lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__14___boxed(lean_object*); +lean_object* l_Array_iterateMAux___main___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__17(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* _init_l_Lean_IR_UnreachableBranches_Value_Inhabited() { _start: { @@ -2772,6 +2777,14 @@ x_2 = l_mkHashMapImp___rarg(x_1); return x_2; } } +lean_object* _init_l_PersistentHashMap_empty___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__14() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_LocalContext_Inhabited___closed__2; +return x_1; +} +} lean_object* _init_l_Lean_SMap_empty___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__12___closed__1() { _start: { @@ -2787,7 +2800,7 @@ _start: uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = 1; x_2 = l_Lean_SMap_empty___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__12___closed__1; -x_3 = l_PersistentHashMap_HasEmptyc___closed__1; +x_3 = l_PersistentHashMap_empty___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__14; x_4 = lean_alloc_ctor(0, 2, 1); lean_ctor_set(x_4, 0, x_2); lean_ctor_set(x_4, 1, x_3); @@ -2803,7 +2816,7 @@ x_1 = l_Lean_SMap_empty___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExte return x_1; } } -lean_object* l_Array_iterateMAux___main___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__15(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Array_iterateMAux___main___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__16(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; @@ -2834,7 +2847,7 @@ goto _start; } } } -lean_object* l_Array_iterateMAux___main___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__16(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Array_iterateMAux___main___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__17(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; @@ -2851,7 +2864,7 @@ else lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; x_7 = lean_array_fget(x_2, x_3); x_8 = lean_unsigned_to_nat(0u); -x_9 = l_Array_iterateMAux___main___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__15(x_7, x_7, x_8, x_4); +x_9 = l_Array_iterateMAux___main___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__16(x_7, x_7, x_8, x_4); lean_dec(x_7); x_10 = lean_unsigned_to_nat(1u); x_11 = lean_nat_add(x_3, x_10); @@ -2862,24 +2875,24 @@ goto _start; } } } -lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__14___rarg(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__15___rarg(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; x_3 = lean_unsigned_to_nat(0u); -x_4 = l_Array_iterateMAux___main___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__16(x_2, x_2, x_3, x_1); +x_4 = l_Array_iterateMAux___main___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__17(x_2, x_2, x_3, x_1); return x_4; } } -lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__14(lean_object* x_1) { +lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__15(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_mkStateFromImportedEntries___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__14___rarg___boxed), 2, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_mkStateFromImportedEntries___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__15___rarg___boxed), 2, 0); return x_2; } } -lean_object* l_Lean_SMap_switch___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__17(lean_object* x_1) { +lean_object* l_Lean_SMap_switch___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__18(lean_object* x_1) { _start: { uint8_t x_2; @@ -2917,7 +2930,7 @@ return x_8; } } } -uint8_t l_Array_anyMAux___main___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__20(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +uint8_t l_Array_anyMAux___main___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__21(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -2958,7 +2971,7 @@ return x_10; } } } -lean_object* _init_l_Lean_registerEnvExtensionUnsafe___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__21___closed__1() { +lean_object* _init_l_Lean_registerEnvExtensionUnsafe___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__22___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -2970,19 +2983,19 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -lean_object* _init_l_Lean_registerEnvExtensionUnsafe___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__21___closed__2() { +lean_object* _init_l_Lean_registerEnvExtensionUnsafe___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__22___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Array_empty___closed__1; -x_2 = l_Lean_registerEnvExtensionUnsafe___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__21___closed__1; +x_2 = l_Lean_registerEnvExtensionUnsafe___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__22___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_object* l_Lean_registerEnvExtensionUnsafe___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__21(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_registerEnvExtensionUnsafe___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__22(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; @@ -3040,7 +3053,7 @@ lean_inc(x_16); lean_dec(x_14); x_17 = lean_array_get_size(x_15); lean_dec(x_15); -x_18 = l_Lean_registerEnvExtensionUnsafe___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__21___closed__2; +x_18 = l_Lean_registerEnvExtensionUnsafe___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__22___closed__2; x_19 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_19, 0, x_17); lean_ctor_set(x_19, 1, x_1); @@ -3213,7 +3226,7 @@ return x_52; } } } -lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__19(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__20(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; @@ -3229,7 +3242,7 @@ lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; x_6 = lean_ctor_get(x_4, 0); x_7 = lean_ctor_get(x_4, 1); x_8 = lean_unsigned_to_nat(0u); -x_9 = l_Array_anyMAux___main___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__20(x_1, x_6, x_8); +x_9 = l_Array_anyMAux___main___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__21(x_1, x_6, x_8); lean_dec(x_6); if (x_9 == 0) { @@ -3244,7 +3257,7 @@ x_13 = l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__1; x_14 = lean_alloc_closure((void*)(l_EStateM_bind___rarg), 3, 2); lean_closure_set(x_14, 0, x_12); lean_closure_set(x_14, 1, x_13); -x_15 = l_Lean_registerEnvExtensionUnsafe___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__21(x_14, x_7); +x_15 = l_Lean_registerEnvExtensionUnsafe___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__22(x_14, x_7); if (lean_obj_tag(x_15) == 0) { lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; @@ -3439,7 +3452,7 @@ lean_inc(x_60); lean_inc(x_59); lean_dec(x_4); x_61 = lean_unsigned_to_nat(0u); -x_62 = l_Array_anyMAux___main___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__20(x_1, x_59, x_61); +x_62 = l_Array_anyMAux___main___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__21(x_1, x_59, x_61); lean_dec(x_59); if (x_62 == 0) { @@ -3453,7 +3466,7 @@ x_66 = l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__1; x_67 = lean_alloc_closure((void*)(l_EStateM_bind___rarg), 3, 2); lean_closure_set(x_67, 0, x_65); lean_closure_set(x_67, 1, x_66); -x_68 = l_Lean_registerEnvExtensionUnsafe___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__21(x_67, x_60); +x_68 = l_Lean_registerEnvExtensionUnsafe___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__22(x_67, x_60); if (lean_obj_tag(x_68) == 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; @@ -3672,7 +3685,7 @@ return x_115; } } } -lean_object* l_Lean_registerSimplePersistentEnvExtension___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__18(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_registerSimplePersistentEnvExtension___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__19(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; @@ -3693,7 +3706,7 @@ lean_ctor_set(x_8, 1, x_4); lean_ctor_set(x_8, 2, x_5); lean_ctor_set(x_8, 3, x_6); lean_ctor_set(x_8, 4, x_7); -x_9 = l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__19(x_8, x_2); +x_9 = l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__20(x_8, x_2); return x_9; } } @@ -3716,8 +3729,8 @@ _start: lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_3 = lean_unsigned_to_nat(0u); x_4 = l_Lean_SMap_empty___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__12; -x_5 = l_Array_iterateMAux___main___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__16(x_2, x_2, x_3, x_4); -x_6 = l_Lean_SMap_switch___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__17(x_5); +x_5 = l_Array_iterateMAux___main___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__17(x_2, x_2, x_3, x_4); +x_6 = l_Lean_SMap_switch___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__18(x_5); return x_6; } } @@ -3743,7 +3756,7 @@ lean_object* _init_l_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___ _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_SMap_empty___at_Lean_Environment_Inhabited___spec__2___closed__1; +x_1 = l_Lean_LocalContext_Inhabited___closed__1; x_2 = lean_alloc_closure((void*)(l_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___lambda__2___boxed), 2, 1); lean_closure_set(x_2, 0, x_1); return x_2; @@ -3778,7 +3791,7 @@ _start: { lean_object* x_2; lean_object* x_3; x_2 = l_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___closed__5; -x_3 = l_Lean_registerSimplePersistentEnvExtension___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__18(x_2, x_1); +x_3 = l_Lean_registerSimplePersistentEnvExtension___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__19(x_2, x_1); return x_3; } } @@ -3818,16 +3831,6 @@ x_4 = lean_box(x_3); return x_4; } } -lean_object* l_Array_iterateMAux___main___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__15___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = l_Array_iterateMAux___main___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__15(x_1, x_2, x_3, x_4); -lean_dec(x_2); -lean_dec(x_1); -return x_5; -} -} lean_object* l_Array_iterateMAux___main___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__16___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { @@ -3838,29 +3841,39 @@ lean_dec(x_1); return x_5; } } -lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__14___rarg___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l_Array_iterateMAux___main___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__17___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Array_iterateMAux___main___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__17(x_1, x_2, x_3, x_4); +lean_dec(x_2); +lean_dec(x_1); +return x_5; +} +} +lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__15___rarg___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Lean_mkStateFromImportedEntries___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__14___rarg(x_1, x_2); +x_3 = l_Lean_mkStateFromImportedEntries___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__15___rarg(x_1, x_2); lean_dec(x_2); return x_3; } } -lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__14___boxed(lean_object* x_1) { +lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__15___boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l_Lean_mkStateFromImportedEntries___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__14(x_1); +x_2 = l_Lean_mkStateFromImportedEntries___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__15(x_1); lean_dec(x_1); return x_2; } } -lean_object* l_Array_anyMAux___main___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__20___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Array_anyMAux___main___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__21___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { uint8_t x_4; lean_object* x_5; -x_4 = l_Array_anyMAux___main___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__20(x_1, x_2, x_3); +x_4 = l_Array_anyMAux___main___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__21(x_1, x_2, x_3); lean_dec(x_2); lean_dec(x_1); x_5 = lean_box(x_4); @@ -3922,12 +3935,64 @@ return x_2; lean_object* _init_l_Lean_IR_UnreachableBranches_functionSummariesExt___closed__1() { _start: { +uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = 1; +x_2 = l_HashMap_Inhabited___closed__1; +x_3 = l_PersistentHashMap_empty___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__14; +x_4 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_4, 0, x_2); +lean_ctor_set(x_4, 1, x_3); +lean_ctor_set_uint8(x_4, sizeof(void*)*2, x_1); +return x_4; +} +} +lean_object* _init_l_Lean_IR_UnreachableBranches_functionSummariesExt___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_IR_UnreachableBranches_functionSummariesExt___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_object* _init_l_Lean_IR_UnreachableBranches_functionSummariesExt___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_empty___closed__1; +x_2 = l_Lean_IR_UnreachableBranches_functionSummariesExt___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_object* _init_l_Lean_IR_UnreachableBranches_functionSummariesExt___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = lean_unsigned_to_nat(0u); +x_2 = l_Lean_EnvExtension_Inhabited___rarg___closed__1; +x_3 = l_Lean_IR_UnreachableBranches_functionSummariesExt___closed__3; +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; +} +} +lean_object* _init_l_Lean_IR_UnreachableBranches_functionSummariesExt___closed__5() { +_start: +{ lean_object* x_1; x_1 = lean_alloc_closure((void*)(l_Lean_IR_UnreachableBranches_functionSummariesExt___elambda__4___boxed), 1, 0); return x_1; } } -lean_object* _init_l_Lean_IR_UnreachableBranches_functionSummariesExt___closed__2() { +lean_object* _init_l_Lean_IR_UnreachableBranches_functionSummariesExt___closed__6() { _start: { lean_object* x_1; @@ -3935,7 +4000,7 @@ x_1 = lean_alloc_closure((void*)(l_Lean_IR_UnreachableBranches_functionSummaries return x_1; } } -lean_object* _init_l_Lean_IR_UnreachableBranches_functionSummariesExt___closed__3() { +lean_object* _init_l_Lean_IR_UnreachableBranches_functionSummariesExt___closed__7() { _start: { lean_object* x_1; @@ -3943,7 +4008,7 @@ x_1 = lean_alloc_closure((void*)(l_Lean_IR_UnreachableBranches_functionSummaries return x_1; } } -lean_object* _init_l_Lean_IR_UnreachableBranches_functionSummariesExt___closed__4() { +lean_object* _init_l_Lean_IR_UnreachableBranches_functionSummariesExt___closed__8() { _start: { lean_object* x_1; @@ -3951,16 +4016,16 @@ x_1 = lean_alloc_closure((void*)(l_Lean_IR_UnreachableBranches_functionSummaries return x_1; } } -lean_object* _init_l_Lean_IR_UnreachableBranches_functionSummariesExt___closed__5() { +lean_object* _init_l_Lean_IR_UnreachableBranches_functionSummariesExt___closed__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; lean_object* x_7; -x_1 = l_Lean_IR_declMapExt___closed__1; +x_1 = l_Lean_IR_UnreachableBranches_functionSummariesExt___closed__4; x_2 = lean_box(0); -x_3 = l_Lean_IR_UnreachableBranches_functionSummariesExt___closed__1; -x_4 = l_Lean_IR_UnreachableBranches_functionSummariesExt___closed__2; -x_5 = l_Lean_IR_UnreachableBranches_functionSummariesExt___closed__3; -x_6 = l_Lean_IR_UnreachableBranches_functionSummariesExt___closed__4; +x_3 = l_Lean_IR_UnreachableBranches_functionSummariesExt___closed__5; +x_4 = l_Lean_IR_UnreachableBranches_functionSummariesExt___closed__6; +x_5 = l_Lean_IR_UnreachableBranches_functionSummariesExt___closed__7; +x_6 = l_Lean_IR_UnreachableBranches_functionSummariesExt___closed__8; x_7 = lean_alloc_ctor(0, 6, 0); lean_ctor_set(x_7, 0, x_1); lean_ctor_set(x_7, 1, x_2); @@ -7535,16 +7600,18 @@ l_Lean_IR_UnreachableBranches_Value_HasToString___closed__1 = _init_l_Lean_IR_Un lean_mark_persistent(l_Lean_IR_UnreachableBranches_Value_HasToString___closed__1); l_Lean_IR_UnreachableBranches_Value_HasToString = _init_l_Lean_IR_UnreachableBranches_Value_HasToString(); lean_mark_persistent(l_Lean_IR_UnreachableBranches_Value_HasToString); +l_PersistentHashMap_empty___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__14 = _init_l_PersistentHashMap_empty___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__14(); +lean_mark_persistent(l_PersistentHashMap_empty___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__14); l_Lean_SMap_empty___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__12___closed__1 = _init_l_Lean_SMap_empty___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__12___closed__1(); lean_mark_persistent(l_Lean_SMap_empty___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__12___closed__1); l_Lean_SMap_empty___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__12___closed__2 = _init_l_Lean_SMap_empty___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__12___closed__2(); lean_mark_persistent(l_Lean_SMap_empty___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__12___closed__2); l_Lean_SMap_empty___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__12 = _init_l_Lean_SMap_empty___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__12(); lean_mark_persistent(l_Lean_SMap_empty___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__12); -l_Lean_registerEnvExtensionUnsafe___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__21___closed__1 = _init_l_Lean_registerEnvExtensionUnsafe___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__21___closed__1(); -lean_mark_persistent(l_Lean_registerEnvExtensionUnsafe___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__21___closed__1); -l_Lean_registerEnvExtensionUnsafe___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__21___closed__2 = _init_l_Lean_registerEnvExtensionUnsafe___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__21___closed__2(); -lean_mark_persistent(l_Lean_registerEnvExtensionUnsafe___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__21___closed__2); +l_Lean_registerEnvExtensionUnsafe___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__22___closed__1 = _init_l_Lean_registerEnvExtensionUnsafe___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__22___closed__1(); +lean_mark_persistent(l_Lean_registerEnvExtensionUnsafe___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__22___closed__1); +l_Lean_registerEnvExtensionUnsafe___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__22___closed__2 = _init_l_Lean_registerEnvExtensionUnsafe___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__22___closed__2(); +lean_mark_persistent(l_Lean_registerEnvExtensionUnsafe___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__22___closed__2); l_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___closed__1 = _init_l_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___closed__1(); lean_mark_persistent(l_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___closed__1); l_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___closed__2 = _init_l_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___closed__2(); @@ -7565,6 +7632,14 @@ l_Lean_IR_UnreachableBranches_functionSummariesExt___closed__4 = _init_l_Lean_IR lean_mark_persistent(l_Lean_IR_UnreachableBranches_functionSummariesExt___closed__4); l_Lean_IR_UnreachableBranches_functionSummariesExt___closed__5 = _init_l_Lean_IR_UnreachableBranches_functionSummariesExt___closed__5(); lean_mark_persistent(l_Lean_IR_UnreachableBranches_functionSummariesExt___closed__5); +l_Lean_IR_UnreachableBranches_functionSummariesExt___closed__6 = _init_l_Lean_IR_UnreachableBranches_functionSummariesExt___closed__6(); +lean_mark_persistent(l_Lean_IR_UnreachableBranches_functionSummariesExt___closed__6); +l_Lean_IR_UnreachableBranches_functionSummariesExt___closed__7 = _init_l_Lean_IR_UnreachableBranches_functionSummariesExt___closed__7(); +lean_mark_persistent(l_Lean_IR_UnreachableBranches_functionSummariesExt___closed__7); +l_Lean_IR_UnreachableBranches_functionSummariesExt___closed__8 = _init_l_Lean_IR_UnreachableBranches_functionSummariesExt___closed__8(); +lean_mark_persistent(l_Lean_IR_UnreachableBranches_functionSummariesExt___closed__8); +l_Lean_IR_UnreachableBranches_functionSummariesExt___closed__9 = _init_l_Lean_IR_UnreachableBranches_functionSummariesExt___closed__9(); +lean_mark_persistent(l_Lean_IR_UnreachableBranches_functionSummariesExt___closed__9); res = l_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_IR_UnreachableBranches_functionSummariesExt = lean_io_result_get_value(res); diff --git a/src/stage0/Init/Lean/Compiler/Specialize.c b/src/stage0/Init/Lean/Compiler/Specialize.c index 08eb740aa5..ad3ef2421b 100644 --- a/src/stage0/Init/Lean/Compiler/Specialize.c +++ b/src/stage0/Init/Lean/Compiler/Specialize.c @@ -30,6 +30,7 @@ lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); lean_object* l_AssocList_foldlM___main___at_Lean_Compiler_SpecState_addEntry___spec__10(lean_object*, lean_object*); lean_object* l_Lean_SMap_find___at_Lean_Compiler_getCachedSpecialization___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Compiler_specExtension___closed__2; +lean_object* l_PersistentHashMap_empty___at_Lean_Compiler_SpecState_Inhabited___spec__2; extern lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__2; lean_object* l_Lean_registerEnumAttributes___at_Lean_Compiler_mkSpecializeAttrs___spec__1___lambda__1(lean_object*, lean_object*); lean_object* lean_mk_array(lean_object*, lean_object*); @@ -38,7 +39,6 @@ lean_object* l_Array_iterateMAux___main___at_Lean_Compiler_mkSpecExtension___spe size_t lean_expr_hash(lean_object*); lean_object* l_HashMapImp_find___at_Lean_Compiler_getCachedSpecialization___spec__5(lean_object*, lean_object*); extern lean_object* l_Lean_EnvExtension_Inhabited___rarg___closed__1; -extern lean_object* l_PersistentHashMap_HasEmptyc___closed__1; lean_object* l_Lean_Compiler_SpecState_Inhabited___closed__2; size_t l_USize_shift__right(size_t, size_t); extern lean_object* l_Lean_AttributeImpl_inhabited___closed__5; @@ -47,6 +47,7 @@ lean_object* l_Lean_Compiler_mkSpecExtension___lambda__1(lean_object*); lean_object* l_Lean_EnumAttributes_getValue___at___private_Init_Lean_Compiler_Specialize_1__hasSpecializeAttrAux___main___spec__1(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_registerTagAttribute___lambda__4___closed__4; lean_object* l_Lean_Compiler_mkSpecExtension(lean_object*); +extern lean_object* l_PersistentHashMap_empty___rarg___closed__2; lean_object* l_Lean_Compiler_mkSpecializeAttrs___closed__3; lean_object* l_Lean_Compiler_mkSpecializeAttrs___closed__8; lean_object* l_Lean_registerEnvExtensionUnsafe___at_Lean_Compiler_mkSpecExtension___spec__7(lean_object*, lean_object*); @@ -89,7 +90,7 @@ lean_object* l_HashMapImp_moveEntries___main___at_Lean_Compiler_SpecState_addEnt lean_object* l_Lean_Compiler_mkSpecializeAttrs___closed__12; uint8_t l_AssocList_contains___main___at_Lean_Compiler_SpecState_addEntry___spec__7(lean_object*, lean_object*); extern lean_object* l_Lean_registerEnumAttributes___rarg___closed__1; -lean_object* l_mkHashMap___at_Lean_Compiler_SpecState_Inhabited___spec__2(lean_object*); +lean_object* l_mkHashMap___at_Lean_Compiler_SpecState_Inhabited___spec__3(lean_object*); extern lean_object* l_Lean_AttributeImpl_inhabited___closed__4; lean_object* l_Lean_Compiler_specExtension___elambda__4___rarg(lean_object*); lean_object* l_Lean_registerTagAttribute___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -148,6 +149,7 @@ lean_object* l_Lean_Compiler_SpecState_switch(lean_object*); lean_object* l_Lean_Compiler_mkSpecializeAttrs___closed__7; extern lean_object* l_Lean_registerTagAttribute___lambda__4___closed__3; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); +extern lean_object* l_Lean_LocalContext_Inhabited___closed__2; extern lean_object* l_Lean_regNamespacesExtension___closed__4; lean_object* l_Lean_Compiler_specExtension___closed__6; lean_object* lean_array_push(lean_object*, lean_object*); @@ -165,6 +167,7 @@ lean_object* l_HashMapImp_find___at_Lean_Compiler_getCachedSpecialization___spec extern size_t l_PersistentHashMap_insertAux___main___rarg___closed__2; lean_object* l_Lean_SMap_switch___at_Lean_Compiler_SpecState_switch___spec__1(lean_object*); lean_object* l_PersistentHashMap_findAtAux___main___at_Lean_Compiler_getCachedSpecialization___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentHashMap_empty___at_Lean_Compiler_SpecState_Inhabited___spec__4___closed__1; lean_object* l_Array_anyMAux___main___at_Lean_Compiler_mkSpecExtension___spec__6___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_registerEnvExtensionUnsafe___at_Lean_Compiler_mkSpecExtension___spec__7___closed__4; lean_object* l_Array_iterateMAux___main___at_Lean_Compiler_SpecState_addEntry___spec__5(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -236,6 +239,7 @@ lean_object* l_Lean_SMap_switch___at_Lean_Compiler_SpecState_switch___spec__2(le lean_object* l_Lean_Compiler_specExtension___elambda__3___boxed(lean_object*, lean_object*); lean_object* l_AssocList_find___main___at_Lean_Compiler_getSpecializationInfo___spec__6___boxed(lean_object*, lean_object*); size_t l_USize_land(size_t, size_t); +lean_object* l_PersistentHashMap_empty___at_Lean_Compiler_SpecState_Inhabited___spec__4; lean_object* l_Lean_Compiler_mkSpecExtension___closed__3; lean_object* l_HashMapImp_expand___at_Lean_Compiler_SpecState_addEntry___spec__19(lean_object*, lean_object*); uint8_t l_Lean_Name_isInternal___main(lean_object*); @@ -2272,7 +2276,15 @@ x_2 = l_mkHashMapImp___rarg(x_1); return x_2; } } -lean_object* l_mkHashMap___at_Lean_Compiler_SpecState_Inhabited___spec__2(lean_object* x_1) { +lean_object* _init_l_PersistentHashMap_empty___at_Lean_Compiler_SpecState_Inhabited___spec__2() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_LocalContext_Inhabited___closed__2; +return x_1; +} +} +lean_object* l_mkHashMap___at_Lean_Compiler_SpecState_Inhabited___spec__3(lean_object* x_1) { _start: { lean_object* x_2; @@ -2280,6 +2292,26 @@ x_2 = l_mkHashMapImp___rarg(x_1); return x_2; } } +lean_object* _init_l_PersistentHashMap_empty___at_Lean_Compiler_SpecState_Inhabited___spec__4___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_PersistentHashMap_empty___rarg___closed__2; +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_object* _init_l_PersistentHashMap_empty___at_Lean_Compiler_SpecState_Inhabited___spec__4() { +_start: +{ +lean_object* x_1; +x_1 = l_PersistentHashMap_empty___at_Lean_Compiler_SpecState_Inhabited___spec__4___closed__1; +return x_1; +} +} lean_object* _init_l_Lean_Compiler_SpecState_Inhabited___closed__1() { _start: { @@ -2295,7 +2327,7 @@ _start: uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = 1; x_2 = l_Lean_Compiler_SpecState_Inhabited___closed__1; -x_3 = l_PersistentHashMap_HasEmptyc___closed__1; +x_3 = l_PersistentHashMap_empty___at_Lean_Compiler_SpecState_Inhabited___spec__2; x_4 = lean_alloc_ctor(0, 2, 1); lean_ctor_set(x_4, 0, x_2); lean_ctor_set(x_4, 1, x_3); @@ -2318,7 +2350,7 @@ _start: uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = 1; x_2 = l_Lean_Compiler_SpecState_Inhabited___closed__3; -x_3 = l_PersistentHashMap_HasEmptyc___closed__1; +x_3 = l_PersistentHashMap_empty___at_Lean_Compiler_SpecState_Inhabited___spec__4; x_4 = lean_alloc_ctor(0, 2, 1); lean_ctor_set(x_4, 0, x_2); lean_ctor_set(x_4, 1, x_3); @@ -4410,7 +4442,7 @@ _start: uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = 1; x_2 = l_HashMap_Inhabited___closed__1; -x_3 = l_PersistentHashMap_HasEmptyc___closed__1; +x_3 = l_PersistentHashMap_empty___at_Lean_Compiler_SpecState_Inhabited___spec__2; x_4 = lean_alloc_ctor(0, 2, 1); lean_ctor_set(x_4, 0, x_2); lean_ctor_set(x_4, 1, x_3); @@ -4424,7 +4456,7 @@ _start: uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = 1; x_2 = l_HashMap_Inhabited___closed__1; -x_3 = l_PersistentHashMap_HasEmptyc___closed__1; +x_3 = l_PersistentHashMap_empty___at_Lean_Compiler_SpecState_Inhabited___spec__4; x_4 = lean_alloc_ctor(0, 2, 1); lean_ctor_set(x_4, 0, x_2); lean_ctor_set(x_4, 1, x_3); @@ -6070,6 +6102,12 @@ if (lean_io_result_is_error(res)) return res; l_Lean_Compiler_specializeAttrs = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Compiler_specializeAttrs); lean_dec_ref(res); +l_PersistentHashMap_empty___at_Lean_Compiler_SpecState_Inhabited___spec__2 = _init_l_PersistentHashMap_empty___at_Lean_Compiler_SpecState_Inhabited___spec__2(); +lean_mark_persistent(l_PersistentHashMap_empty___at_Lean_Compiler_SpecState_Inhabited___spec__2); +l_PersistentHashMap_empty___at_Lean_Compiler_SpecState_Inhabited___spec__4___closed__1 = _init_l_PersistentHashMap_empty___at_Lean_Compiler_SpecState_Inhabited___spec__4___closed__1(); +lean_mark_persistent(l_PersistentHashMap_empty___at_Lean_Compiler_SpecState_Inhabited___spec__4___closed__1); +l_PersistentHashMap_empty___at_Lean_Compiler_SpecState_Inhabited___spec__4 = _init_l_PersistentHashMap_empty___at_Lean_Compiler_SpecState_Inhabited___spec__4(); +lean_mark_persistent(l_PersistentHashMap_empty___at_Lean_Compiler_SpecState_Inhabited___spec__4); l_Lean_Compiler_SpecState_Inhabited___closed__1 = _init_l_Lean_Compiler_SpecState_Inhabited___closed__1(); lean_mark_persistent(l_Lean_Compiler_SpecState_Inhabited___closed__1); l_Lean_Compiler_SpecState_Inhabited___closed__2 = _init_l_Lean_Compiler_SpecState_Inhabited___closed__2(); diff --git a/src/stage0/Init/Lean/Declaration.c b/src/stage0/Init/Lean/Declaration.c index fa924a9ce9..282ef6b2a5 100644 --- a/src/stage0/Init/Lean/Declaration.c +++ b/src/stage0/Init/Lean/Declaration.c @@ -19,9 +19,11 @@ lean_object* l_Lean_ConstantInfo_value_x21___closed__2; lean_object* l_Lean_ConstantInfo_value_x21___boxed(lean_object*); lean_object* l_Lean_ConstantInfo_name___boxed(lean_object*); lean_object* l_Lean_ConstantInfo_value_x3f(lean_object*); +lean_object* l_List_lengthAux___main___rarg(lean_object*, lean_object*); lean_object* l_Lean_ConstantInfo_toConstantVal(lean_object*); lean_object* l_Lean_ConstantInfo_instantiateValueLevelParams___boxed(lean_object*, lean_object*); lean_object* l_Lean_RecursorVal_getInduct___boxed(lean_object*); +lean_object* l_Lean_InductiveVal_nctors___boxed(lean_object*); lean_object* l_Lean_ConstantInfo_lparams(lean_object*); lean_object* l_Lean_ConstantInfo_isCtor___boxed(lean_object*); uint8_t l_Lean_ConstantInfo_hasValue(lean_object*); @@ -33,6 +35,7 @@ lean_object* l_Lean_ConstantInfo_hints___boxed(lean_object*); lean_object* l_Lean_RecursorVal_getMajorIdx___boxed(lean_object*); lean_object* l_Lean_RecursorVal_getInduct(lean_object*); lean_object* l_Lean_ConstantInfo_instantiateTypeLevelParams___boxed(lean_object*, lean_object*); +lean_object* l_Lean_InductiveVal_nctors(lean_object*); lean_object* l_Lean_RecursorVal_getMajorIdx(lean_object*); lean_object* l_Lean_ConstantInfo_value_x3f___boxed(lean_object*); lean_object* l_Lean_ConstantInfo_hints(lean_object*); @@ -45,6 +48,25 @@ lean_object* l_Lean_ConstantInfo_lparams___boxed(lean_object*); lean_object* l_Lean_ConstantInfo_value_x21(lean_object*); lean_object* l_Lean_ConstantInfo_hasValue___boxed(lean_object*); lean_object* l_panicWithPos___at_Lean_Expr_getRevArg_x21___main___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_InductiveVal_nctors(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_2 = lean_ctor_get(x_1, 4); +x_3 = lean_unsigned_to_nat(0u); +x_4 = l_List_lengthAux___main___rarg(x_2, x_3); +return x_4; +} +} +lean_object* l_Lean_InductiveVal_nctors___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_InductiveVal_nctors(x_1); +lean_dec(x_1); +return x_2; +} +} lean_object* l_Lean_RecursorVal_getMajorIdx(lean_object* x_1) { _start: { @@ -285,7 +307,7 @@ default: { lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; x_7 = l_Lean_ConstantInfo_value_x21___closed__1; -x_8 = lean_unsigned_to_nat(177u); +x_8 = lean_unsigned_to_nat(181u); x_9 = lean_unsigned_to_nat(31u); x_10 = l_Lean_ConstantInfo_value_x21___closed__2; x_11 = l_panicWithPos___at_Lean_Expr_getRevArg_x21___main___spec__1(x_7, x_8, x_9, x_10); diff --git a/src/stage0/Init/Lean/Elaborator/Alias.c b/src/stage0/Init/Lean/Elaborator/Alias.c index 6f83ba66b0..2d1cdd84ba 100644 --- a/src/stage0/Init/Lean/Elaborator/Alias.c +++ b/src/stage0/Init/Lean/Elaborator/Alias.c @@ -15,42 +15,43 @@ extern "C" { #endif lean_object* l_HashMapImp_insert___at_Lean_addAliasEntry___spec__12(lean_object*, lean_object*, lean_object*); lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_iterateMAux___main___at_Lean_mkAliasExtension___spec__6(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_SMap_switch___at_Lean_mkAliasExtension___spec__7(lean_object*); lean_object* l_AssocList_contains___main___at_Lean_addAliasEntry___spec__13___boxed(lean_object*, lean_object*); uint8_t lean_name_dec_eq(lean_object*, lean_object*); size_t l_USize_mul(size_t, size_t); extern lean_object* l_Array_empty___closed__1; extern lean_object* l_Lean_registerEnvExtensionUnsafe___rarg___closed__2; -lean_object* l_Lean_registerSimplePersistentEnvExtension___at_Lean_mkAliasExtension___spec__7(lean_object*, lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_aliasExtension___closed__4; +lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_mkAliasExtension___spec__4(lean_object*, lean_object*); extern lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__2; lean_object* l_Lean_aliasExtension___closed__2; lean_object* lean_mk_array(lean_object*, lean_object*); lean_object* l_Lean_aliasExtension___elambda__3(lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_Lean_addAliasEntry___spec__11(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_registerSimplePersistentEnvExtension___at_Lean_mkAliasExtension___spec__8(lean_object*, lean_object*); extern lean_object* l_Lean_EnvExtension_Inhabited___rarg___closed__1; lean_object* l_Lean_aliasExtension___closed__5; -extern lean_object* l_PersistentHashMap_HasEmptyc___closed__1; uint8_t l_List_elem___main___at_Lean_addAliasEntry___spec__18(lean_object*, lean_object*); size_t l_USize_shift__right(size_t, size_t); -lean_object* l_Array_iterateMAux___main___at_Lean_mkAliasExtension___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_aliasExtension___closed__9; extern lean_object* l___private_Init_Lean_Environment_5__envExtensionsRef; lean_object* l_Array_iterateMAux___main___at_Lean_addAliasEntry___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_AssocList_find___main___at_Lean_addAliasEntry___spec__6(lean_object*, lean_object*); uint8_t l_AssocList_contains___main___at_Lean_addAliasEntry___spec__13(lean_object*, lean_object*); +lean_object* l_Array_anyMAux___main___at_Lean_mkAliasExtension___spec__10___boxed(lean_object*, lean_object*, lean_object*); size_t l_USize_sub(size_t, size_t); lean_object* l_Lean_aliasExtension; -lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_mkAliasExtension___spec__3___boxed(lean_object*, lean_object*); lean_object* lean_array_uget(lean_object*, size_t); extern lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__4; lean_object* l_Lean_Name_toStringWithSep___main(lean_object*, lean_object*); lean_object* l_Lean_SimplePersistentEnvExtension_getState___rarg(lean_object*, lean_object*); -lean_object* l_Lean_registerEnvExtensionUnsafe___at_Lean_mkAliasExtension___spec__10(lean_object*, lean_object*); lean_object* l_Lean_aliasExtension___elambda__2___boxed(lean_object*); lean_object* lean_array_uset(lean_object*, size_t, lean_object*); -uint8_t l_Array_anyMAux___main___at_Lean_mkAliasExtension___spec__9(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_mkAliasExtension___spec__4___boxed(lean_object*, lean_object*); lean_object* lean_io_ref_set(lean_object*, lean_object*, lean_object*); +uint8_t l_Array_anyMAux___main___at_Lean_mkAliasExtension___spec__10(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkAliasExtension___closed__4; lean_object* l_HashMapImp_find___at_Lean_addAliasEntry___spec__5___boxed(lean_object*, lean_object*); lean_object* l_Lean_addAliasEntry(lean_object*, lean_object*); @@ -65,6 +66,7 @@ lean_object* l_Lean_getAliases(lean_object*, lean_object*); lean_object* l_Lean_mkAliasExtension___closed__1; lean_object* l_AssocList_replace___main___at_Lean_addAliasEntry___spec__17(lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_mkCollisionNode___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentHashMap_empty___at_Lean_mkAliasExtension___spec__3; lean_object* l_Lean_mkAliasExtension___lambda__1(lean_object*); lean_object* l_Lean_aliasExtension___elambda__4___rarg(lean_object*); lean_object* l_PersistentHashMap_findAtAux___main___at_Lean_addAliasEntry___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -74,10 +76,10 @@ lean_object* l_Lean_addAlias(lean_object*, lean_object*, lean_object*); size_t lean_name_hash_usize(lean_object*); lean_object* l_PersistentHashMap_findAux___main___at_Lean_addAliasEntry___spec__3(lean_object*, size_t, lean_object*); extern lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__3; -lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_mkAliasExtension___spec__8(lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_Lean_mkAliasExtension___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_SMap_insert___at_Lean_addAliasEntry___spec__7(lean_object*, lean_object*, lean_object*); lean_object* lean_string_append(lean_object*, lean_object*); +lean_object* l_Lean_registerEnvExtensionUnsafe___at_Lean_mkAliasExtension___spec__11___closed__2; lean_object* l_PersistentHashMap_insertAux___main___at_Lean_addAliasEntry___spec__9(lean_object*, size_t, size_t, lean_object*, lean_object*); lean_object* l_PersistentHashMap_insertAux___main___at_Lean_addAliasEntry___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkAliasExtension(lean_object*); @@ -85,15 +87,13 @@ size_t l_USize_add(size_t, size_t); lean_object* l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_HashMapImp_find___at_Lean_addAliasEntry___spec__5(lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); -lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_mkAliasExtension___spec__3(lean_object*, lean_object*); -lean_object* l_Lean_SMap_switch___at_Lean_mkAliasExtension___spec__6(lean_object*); -lean_object* l_Array_iterateMAux___main___at_Lean_mkAliasExtension___spec__4(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_SMap_find___at_Lean_addAliasEntry___spec__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_aliasExtension___closed__1; lean_object* lean_name_mk_string(lean_object*, lean_object*); lean_object* l_HashMapImp_moveEntries___main___at_Lean_addAliasEntry___spec__15(lean_object*, lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); extern lean_object* l___private_Init_Lean_Environment_8__persistentEnvExtensionsRef; +extern lean_object* l_Lean_LocalContext_Inhabited___closed__2; extern lean_object* l_Lean_regNamespacesExtension___closed__4; lean_object* lean_array_push(lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_Lean_mkAliasExtension___spec__5(lean_object*, lean_object*, lean_object*, lean_object*); @@ -102,7 +102,6 @@ extern lean_object* l_Lean_registerSimplePersistentEnvExtension___rarg___closed_ lean_object* l_Lean_aliasExtension___closed__3; extern size_t l_PersistentHashMap_insertAux___main___rarg___closed__2; lean_object* l_Lean_SMap_empty___at_Lean_mkAliasExtension___spec__1___closed__2; -lean_object* l_Lean_registerEnvExtensionUnsafe___at_Lean_mkAliasExtension___spec__10___closed__1; lean_object* l_Lean_aliasExtension___closed__8; lean_object* l_List_elem___main___at_Lean_addAliasEntry___spec__18___boxed(lean_object*, lean_object*); lean_object* l_Lean_getAliases___boxed(lean_object*, lean_object*); @@ -112,15 +111,19 @@ lean_object* l_Lean_PersistentEnvExtension_addEntry___rarg(lean_object*, lean_ob lean_object* lean_io_ref_get(lean_object*, lean_object*); size_t lean_usize_modn(size_t, lean_object*); lean_object* l_HashMapImp_expand___at_Lean_addAliasEntry___spec__14(lean_object*, lean_object*); +lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_mkAliasExtension___spec__9(lean_object*, lean_object*); lean_object* l_PersistentHashMap_insertAtCollisionNodeAux___main___at_Lean_addAliasEntry___spec__10(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_find___at_Lean_addAliasEntry___spec__2(lean_object*, lean_object*); extern lean_object* l_HashMap_Inhabited___closed__1; lean_object* l_Lean_SMap_empty___at_Lean_mkAliasExtension___spec__1; extern lean_object* l_PersistentHashMap_insertAux___main___rarg___closed__3; lean_object* lean_array_get_size(lean_object*); +lean_object* l_Lean_registerEnvExtensionUnsafe___at_Lean_mkAliasExtension___spec__11___closed__1; lean_object* lean_array_fget(lean_object*, lean_object*); lean_object* l_mkHashMapImp___rarg(lean_object*); +lean_object* l_Lean_registerEnvExtensionUnsafe___at_Lean_mkAliasExtension___spec__11(lean_object*, lean_object*); lean_object* l_Lean_aliasExtension___elambda__1___boxed(lean_object*); +lean_object* l_Array_iterateMAux___main___at_Lean_mkAliasExtension___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_EStateM_bind___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_aliasExtension___elambda__3___boxed(lean_object*, lean_object*); lean_object* l_Lean_aliasExtension___elambda__4(lean_object*); @@ -133,12 +136,10 @@ uint8_t l_USize_decLe(size_t, size_t); lean_object* l_Lean_aliasExtension___elambda__1(lean_object*); lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); lean_object* l_mkHashMap___at_Lean_mkAliasExtension___spec__2(lean_object*); -lean_object* l_Array_anyMAux___main___at_Lean_mkAliasExtension___spec__9___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkAliasExtension___closed__3; size_t l_USize_land(size_t, size_t); lean_object* l_Lean_SMap_find___at_Lean_addAliasEntry___spec__1(lean_object*, lean_object*); lean_object* lean_usize_to_nat(size_t); -lean_object* l_Lean_registerEnvExtensionUnsafe___at_Lean_mkAliasExtension___spec__10___closed__2; lean_object* lean_nat_mul(lean_object*, lean_object*); lean_object* l_Lean_mkAliasExtension___lambda__1___boxed(lean_object*); extern lean_object* l_Lean_registerEnvExtensionUnsafe___rarg___closed__1; @@ -1395,6 +1396,14 @@ x_2 = l_mkHashMapImp___rarg(x_1); return x_2; } } +lean_object* _init_l_PersistentHashMap_empty___at_Lean_mkAliasExtension___spec__3() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_LocalContext_Inhabited___closed__2; +return x_1; +} +} lean_object* _init_l_Lean_SMap_empty___at_Lean_mkAliasExtension___spec__1___closed__1() { _start: { @@ -1410,7 +1419,7 @@ _start: uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = 1; x_2 = l_Lean_SMap_empty___at_Lean_mkAliasExtension___spec__1___closed__1; -x_3 = l_PersistentHashMap_HasEmptyc___closed__1; +x_3 = l_PersistentHashMap_empty___at_Lean_mkAliasExtension___spec__3; x_4 = lean_alloc_ctor(0, 2, 1); lean_ctor_set(x_4, 0, x_2); lean_ctor_set(x_4, 1, x_3); @@ -1426,7 +1435,7 @@ x_1 = l_Lean_SMap_empty___at_Lean_mkAliasExtension___spec__1___closed__2; return x_1; } } -lean_object* l_Array_iterateMAux___main___at_Lean_mkAliasExtension___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Array_iterateMAux___main___at_Lean_mkAliasExtension___spec__5(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; @@ -1452,7 +1461,7 @@ goto _start; } } } -lean_object* l_Array_iterateMAux___main___at_Lean_mkAliasExtension___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Array_iterateMAux___main___at_Lean_mkAliasExtension___spec__6(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; @@ -1469,7 +1478,7 @@ else lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; x_7 = lean_array_fget(x_2, x_3); x_8 = lean_unsigned_to_nat(0u); -x_9 = l_Array_iterateMAux___main___at_Lean_mkAliasExtension___spec__4(x_7, x_7, x_8, x_4); +x_9 = l_Array_iterateMAux___main___at_Lean_mkAliasExtension___spec__5(x_7, x_7, x_8, x_4); lean_dec(x_7); x_10 = lean_unsigned_to_nat(1u); x_11 = lean_nat_add(x_3, x_10); @@ -1480,16 +1489,16 @@ goto _start; } } } -lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_mkAliasExtension___spec__3(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_mkAliasExtension___spec__4(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; x_3 = lean_unsigned_to_nat(0u); -x_4 = l_Array_iterateMAux___main___at_Lean_mkAliasExtension___spec__5(x_2, x_2, x_3, x_1); +x_4 = l_Array_iterateMAux___main___at_Lean_mkAliasExtension___spec__6(x_2, x_2, x_3, x_1); return x_4; } } -lean_object* l_Lean_SMap_switch___at_Lean_mkAliasExtension___spec__6(lean_object* x_1) { +lean_object* l_Lean_SMap_switch___at_Lean_mkAliasExtension___spec__7(lean_object* x_1) { _start: { uint8_t x_2; @@ -1527,7 +1536,7 @@ return x_8; } } } -uint8_t l_Array_anyMAux___main___at_Lean_mkAliasExtension___spec__9(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +uint8_t l_Array_anyMAux___main___at_Lean_mkAliasExtension___spec__10(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -1568,7 +1577,7 @@ return x_10; } } } -lean_object* _init_l_Lean_registerEnvExtensionUnsafe___at_Lean_mkAliasExtension___spec__10___closed__1() { +lean_object* _init_l_Lean_registerEnvExtensionUnsafe___at_Lean_mkAliasExtension___spec__11___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -1580,19 +1589,19 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -lean_object* _init_l_Lean_registerEnvExtensionUnsafe___at_Lean_mkAliasExtension___spec__10___closed__2() { +lean_object* _init_l_Lean_registerEnvExtensionUnsafe___at_Lean_mkAliasExtension___spec__11___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Array_empty___closed__1; -x_2 = l_Lean_registerEnvExtensionUnsafe___at_Lean_mkAliasExtension___spec__10___closed__1; +x_2 = l_Lean_registerEnvExtensionUnsafe___at_Lean_mkAliasExtension___spec__11___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_object* l_Lean_registerEnvExtensionUnsafe___at_Lean_mkAliasExtension___spec__10(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_registerEnvExtensionUnsafe___at_Lean_mkAliasExtension___spec__11(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; @@ -1650,7 +1659,7 @@ lean_inc(x_16); lean_dec(x_14); x_17 = lean_array_get_size(x_15); lean_dec(x_15); -x_18 = l_Lean_registerEnvExtensionUnsafe___at_Lean_mkAliasExtension___spec__10___closed__2; +x_18 = l_Lean_registerEnvExtensionUnsafe___at_Lean_mkAliasExtension___spec__11___closed__2; x_19 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_19, 0, x_17); lean_ctor_set(x_19, 1, x_1); @@ -1823,7 +1832,7 @@ return x_52; } } } -lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_mkAliasExtension___spec__8(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_mkAliasExtension___spec__9(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; @@ -1839,7 +1848,7 @@ lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; x_6 = lean_ctor_get(x_4, 0); x_7 = lean_ctor_get(x_4, 1); x_8 = lean_unsigned_to_nat(0u); -x_9 = l_Array_anyMAux___main___at_Lean_mkAliasExtension___spec__9(x_1, x_6, x_8); +x_9 = l_Array_anyMAux___main___at_Lean_mkAliasExtension___spec__10(x_1, x_6, x_8); lean_dec(x_6); if (x_9 == 0) { @@ -1854,7 +1863,7 @@ x_13 = l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__1; x_14 = lean_alloc_closure((void*)(l_EStateM_bind___rarg), 3, 2); lean_closure_set(x_14, 0, x_12); lean_closure_set(x_14, 1, x_13); -x_15 = l_Lean_registerEnvExtensionUnsafe___at_Lean_mkAliasExtension___spec__10(x_14, x_7); +x_15 = l_Lean_registerEnvExtensionUnsafe___at_Lean_mkAliasExtension___spec__11(x_14, x_7); if (lean_obj_tag(x_15) == 0) { lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; @@ -2049,7 +2058,7 @@ lean_inc(x_60); lean_inc(x_59); lean_dec(x_4); x_61 = lean_unsigned_to_nat(0u); -x_62 = l_Array_anyMAux___main___at_Lean_mkAliasExtension___spec__9(x_1, x_59, x_61); +x_62 = l_Array_anyMAux___main___at_Lean_mkAliasExtension___spec__10(x_1, x_59, x_61); lean_dec(x_59); if (x_62 == 0) { @@ -2063,7 +2072,7 @@ x_66 = l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__1; x_67 = lean_alloc_closure((void*)(l_EStateM_bind___rarg), 3, 2); lean_closure_set(x_67, 0, x_65); lean_closure_set(x_67, 1, x_66); -x_68 = l_Lean_registerEnvExtensionUnsafe___at_Lean_mkAliasExtension___spec__10(x_67, x_60); +x_68 = l_Lean_registerEnvExtensionUnsafe___at_Lean_mkAliasExtension___spec__11(x_67, x_60); if (lean_obj_tag(x_68) == 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; @@ -2282,7 +2291,7 @@ return x_115; } } } -lean_object* l_Lean_registerSimplePersistentEnvExtension___at_Lean_mkAliasExtension___spec__7(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_registerSimplePersistentEnvExtension___at_Lean_mkAliasExtension___spec__8(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; @@ -2303,7 +2312,7 @@ lean_ctor_set(x_8, 1, x_4); lean_ctor_set(x_8, 2, x_5); lean_ctor_set(x_8, 3, x_6); lean_ctor_set(x_8, 4, x_7); -x_9 = l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_mkAliasExtension___spec__8(x_8, x_2); +x_9 = l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_mkAliasExtension___spec__9(x_8, x_2); return x_9; } } @@ -2313,8 +2322,8 @@ _start: lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_2 = lean_unsigned_to_nat(0u); x_3 = l_Lean_SMap_empty___at_Lean_mkAliasExtension___spec__1; -x_4 = l_Array_iterateMAux___main___at_Lean_mkAliasExtension___spec__5(x_1, x_1, x_2, x_3); -x_5 = l_Lean_SMap_switch___at_Lean_mkAliasExtension___spec__6(x_4); +x_4 = l_Array_iterateMAux___main___at_Lean_mkAliasExtension___spec__6(x_1, x_1, x_2, x_3); +x_5 = l_Lean_SMap_switch___at_Lean_mkAliasExtension___spec__7(x_4); return x_5; } } @@ -2373,20 +2382,10 @@ _start: { lean_object* x_2; lean_object* x_3; x_2 = l_Lean_mkAliasExtension___closed__5; -x_3 = l_Lean_registerSimplePersistentEnvExtension___at_Lean_mkAliasExtension___spec__7(x_2, x_1); +x_3 = l_Lean_registerSimplePersistentEnvExtension___at_Lean_mkAliasExtension___spec__8(x_2, x_1); return x_3; } } -lean_object* l_Array_iterateMAux___main___at_Lean_mkAliasExtension___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = l_Array_iterateMAux___main___at_Lean_mkAliasExtension___spec__4(x_1, x_2, x_3, x_4); -lean_dec(x_2); -lean_dec(x_1); -return x_5; -} -} lean_object* l_Array_iterateMAux___main___at_Lean_mkAliasExtension___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { @@ -2397,20 +2396,30 @@ lean_dec(x_1); return x_5; } } -lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_mkAliasExtension___spec__3___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l_Array_iterateMAux___main___at_Lean_mkAliasExtension___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Array_iterateMAux___main___at_Lean_mkAliasExtension___spec__6(x_1, x_2, x_3, x_4); +lean_dec(x_2); +lean_dec(x_1); +return x_5; +} +} +lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_mkAliasExtension___spec__4___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Lean_mkStateFromImportedEntries___at_Lean_mkAliasExtension___spec__3(x_1, x_2); +x_3 = l_Lean_mkStateFromImportedEntries___at_Lean_mkAliasExtension___spec__4(x_1, x_2); lean_dec(x_2); return x_3; } } -lean_object* l_Array_anyMAux___main___at_Lean_mkAliasExtension___spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Array_anyMAux___main___at_Lean_mkAliasExtension___spec__10___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { uint8_t x_4; lean_object* x_5; -x_4 = l_Array_anyMAux___main___at_Lean_mkAliasExtension___spec__9(x_1, x_2, x_3); +x_4 = l_Array_anyMAux___main___at_Lean_mkAliasExtension___spec__10(x_1, x_2, x_3); lean_dec(x_2); lean_dec(x_1); x_5 = lean_box(x_4); @@ -2474,7 +2483,7 @@ _start: uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = 1; x_2 = l_HashMap_Inhabited___closed__1; -x_3 = l_PersistentHashMap_HasEmptyc___closed__1; +x_3 = l_PersistentHashMap_empty___at_Lean_mkAliasExtension___spec__3; x_4 = lean_alloc_ctor(0, 2, 1); lean_ctor_set(x_4, 0, x_2); lean_ctor_set(x_4, 1, x_3); @@ -2664,16 +2673,18 @@ _G_initialized = true; res = initialize_Init_Lean_Environment(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +l_PersistentHashMap_empty___at_Lean_mkAliasExtension___spec__3 = _init_l_PersistentHashMap_empty___at_Lean_mkAliasExtension___spec__3(); +lean_mark_persistent(l_PersistentHashMap_empty___at_Lean_mkAliasExtension___spec__3); l_Lean_SMap_empty___at_Lean_mkAliasExtension___spec__1___closed__1 = _init_l_Lean_SMap_empty___at_Lean_mkAliasExtension___spec__1___closed__1(); lean_mark_persistent(l_Lean_SMap_empty___at_Lean_mkAliasExtension___spec__1___closed__1); l_Lean_SMap_empty___at_Lean_mkAliasExtension___spec__1___closed__2 = _init_l_Lean_SMap_empty___at_Lean_mkAliasExtension___spec__1___closed__2(); lean_mark_persistent(l_Lean_SMap_empty___at_Lean_mkAliasExtension___spec__1___closed__2); l_Lean_SMap_empty___at_Lean_mkAliasExtension___spec__1 = _init_l_Lean_SMap_empty___at_Lean_mkAliasExtension___spec__1(); lean_mark_persistent(l_Lean_SMap_empty___at_Lean_mkAliasExtension___spec__1); -l_Lean_registerEnvExtensionUnsafe___at_Lean_mkAliasExtension___spec__10___closed__1 = _init_l_Lean_registerEnvExtensionUnsafe___at_Lean_mkAliasExtension___spec__10___closed__1(); -lean_mark_persistent(l_Lean_registerEnvExtensionUnsafe___at_Lean_mkAliasExtension___spec__10___closed__1); -l_Lean_registerEnvExtensionUnsafe___at_Lean_mkAliasExtension___spec__10___closed__2 = _init_l_Lean_registerEnvExtensionUnsafe___at_Lean_mkAliasExtension___spec__10___closed__2(); -lean_mark_persistent(l_Lean_registerEnvExtensionUnsafe___at_Lean_mkAliasExtension___spec__10___closed__2); +l_Lean_registerEnvExtensionUnsafe___at_Lean_mkAliasExtension___spec__11___closed__1 = _init_l_Lean_registerEnvExtensionUnsafe___at_Lean_mkAliasExtension___spec__11___closed__1(); +lean_mark_persistent(l_Lean_registerEnvExtensionUnsafe___at_Lean_mkAliasExtension___spec__11___closed__1); +l_Lean_registerEnvExtensionUnsafe___at_Lean_mkAliasExtension___spec__11___closed__2 = _init_l_Lean_registerEnvExtensionUnsafe___at_Lean_mkAliasExtension___spec__11___closed__2(); +lean_mark_persistent(l_Lean_registerEnvExtensionUnsafe___at_Lean_mkAliasExtension___spec__11___closed__2); l_Lean_mkAliasExtension___closed__1 = _init_l_Lean_mkAliasExtension___closed__1(); lean_mark_persistent(l_Lean_mkAliasExtension___closed__1); l_Lean_mkAliasExtension___closed__2 = _init_l_Lean_mkAliasExtension___closed__2(); diff --git a/src/stage0/Init/Lean/Elaborator/Basic.c b/src/stage0/Init/Lean/Elaborator/Basic.c index a42002d138..4797f4c2df 100644 --- a/src/stage0/Init/Lean/Elaborator/Basic.c +++ b/src/stage0/Init/Lean/Elaborator/Basic.c @@ -26,6 +26,7 @@ lean_object* l_Lean_Elab_rootNamespace___closed__2; lean_object* l_Lean_Elab_withInPattern___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_toBaseDir(lean_object*, lean_object*); extern lean_object* l_Lean_PersistentEnvExtension_inhabited___rarg___closed__4; +extern lean_object* l_Lean_LocalContext_Inhabited___closed__3; lean_object* l_Lean_attrParamSyntaxToIdentifier(lean_object*); lean_object* l_AssocList_replace___main___at_Lean_addBuiltinTermElab___spec__16(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ElabScope_Inhabited; @@ -45,6 +46,7 @@ lean_object* l_AssocList_find___main___at_Lean_Elab_elabCommand___spec__6___boxe lean_object* l_PersistentHashMap_findAtAux___main___at_Lean_Elab_elabCommand___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_modifyGetScope(lean_object*); lean_object* l_Lean_Elab_Inhabited___boxed(lean_object*, lean_object*); +lean_object* l_Lean_registerEnvExtensionUnsafe___at_Lean_mkCommandElabAttribute___spec__4___closed__1; lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_runIOUnsafe(lean_object*); lean_object* l_Lean_Elab_runIOUnsafe___rarg(lean_object*, lean_object*, lean_object*); @@ -67,7 +69,6 @@ lean_object* l_Lean_Elab_mkForall(lean_object*, lean_object*, lean_object*, lean lean_object* l_Lean_declareBuiltinTermElab___closed__2; uint8_t l_PersistentHashMap_contains___at_Lean_addBuiltinCommandElab___spec__4(lean_object*, lean_object*); extern lean_object* l_Lean_EnvExtension_Inhabited___rarg___closed__1; -extern lean_object* l_PersistentHashMap_HasEmptyc___closed__1; size_t l_USize_shift__right(size_t, size_t); extern lean_object* l_Lean_AttributeImpl_inhabited___closed__5; lean_object* l_Lean_mkElabAttribute___at_Lean_mkCommandElabAttribute___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); @@ -91,7 +92,6 @@ lean_object* l_Lean_Elab_mkLocalDecl(lean_object*, lean_object*, uint8_t, lean_o lean_object* l_Lean_registerBuiltinTermElabAttr___closed__7; extern lean_object* l_Lean_Parser_Command_docComment___elambda__1___closed__2; extern lean_object* l_Lean_findOLean___closed__1; -extern lean_object* l_Lean_LocalContext_Inhabited___closed__1; lean_object* l_Lean_termElabAttribute___closed__3; lean_object* l_Lean_registerBuiltinTermElabAttr___closed__4; lean_object* l_Lean_registerAttribute(lean_object*, lean_object*); @@ -127,6 +127,7 @@ lean_object* l_Lean_Name_toStringWithSep___main(lean_object*, lean_object*); lean_object* l_Lean_addRel___main(lean_object*, lean_object*); extern lean_object* l_Lean_mkInitAttr___lambda__1___closed__1; lean_object* l_PersistentHashMap_containsAux___main___at_Lean_addBuiltinTermElab___spec__5___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_commandElabAttribute___closed__2; lean_object* l_Lean_Elab_testFrontend___closed__4; lean_object* l_Lean_registerBuiltinCommandElabAttr___closed__2; lean_object* l_Lean_checkSyntaxNodeKindAtNamespaces___main(lean_object*, lean_object*, lean_object*); @@ -141,6 +142,7 @@ lean_object* l_Array_iterateMAux___main___at_Lean_Elab_processHeaderAux___spec__ lean_object* l_Lean_Elab_resolveNamespaceUsingScopes(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_SMap_contains___at_Lean_addBuiltinTermElab___spec__1___boxed(lean_object*, lean_object*); lean_object* lean_io_ref_set(lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentHashMap_empty___at_Lean_mkBuiltinTermElabTable___spec__3; lean_object* l_Lean_Elab_runElab___at_Lean_Elab_processCommand___spec__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_Lean_Elab_processHeaderAux___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_updateCmdPos___boxed(lean_object*); @@ -163,6 +165,7 @@ lean_object* lean_expr_mk_fvar(lean_object*); lean_object* lean_local_ctx_mk_local_decl(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); extern lean_object* l_List_get_x21___main___rarg___closed__1; lean_object* lean_mk_empty_environment(uint32_t, lean_object*); +lean_object* l_Lean_commandElabAttribute___closed__1; lean_object* l_Lean_LocalContext_mkLambda(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_termElabAttribute; lean_object* l_PersistentHashMap_insertAtCollisionNodeAux___main___at_Lean_addBuiltinCommandElab___spec__9(lean_object*, lean_object*, lean_object*, lean_object*); @@ -261,12 +264,14 @@ lean_object* l_Lean_Environment_addAndCompile(lean_object*, lean_object*, lean_o lean_object* lean_nat_add(lean_object*, lean_object*); extern lean_object* l___private_Init_Lean_Environment_8__persistentEnvExtensionsRef; lean_object* l_Lean_Elab_localContext(lean_object*); +lean_object* l_Lean_commandElabAttribute___closed__3; uint8_t l_AssocList_contains___main___at_Lean_addBuiltinCommandElab___spec__3(lean_object*, lean_object*); lean_object* l_List_hasDecEq___main___at_Lean_OpenDecl_HasToString___spec__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_logUnknownDecl(lean_object*); lean_object* l_Lean_ElabException_Inhabited; extern lean_object* l_Lean_Parser_Term_explicitUniv___elambda__1___closed__2; lean_object* l_Lean_Elab_getPos(lean_object*); +extern lean_object* l_Lean_LocalContext_Inhabited___closed__2; extern lean_object* l_Lean_AttributeImpl_inhabited___closed__1; lean_object* l_PersistentHashMap_findAux___main___at_Lean_Elab_elabCommand___spec__3(lean_object*, size_t, lean_object*); lean_object* l_Lean_Elab_processHeader(lean_object*, lean_object*, lean_object*, lean_object*, uint32_t, lean_object*); @@ -280,6 +285,7 @@ extern lean_object* l_List_head_x21___rarg___closed__1; uint8_t l_Lean_SMap_contains___at_Lean_addBuiltinTermElab___spec__1(lean_object*, lean_object*); lean_object* l_List_head_x21___at_Lean_Elab_getScope___spec__1(lean_object*); lean_object* l_Lean_Elab_modifyScope(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_registerEnvExtensionUnsafe___at_Lean_mkCommandElabAttribute___spec__4___closed__2; extern lean_object* l_panicWithPos___rarg___closed__1; lean_object* l_Lean_Elab_localContext___boxed(lean_object*); lean_object* l_Lean_mkBuiltinTermElabTable(lean_object*); @@ -365,6 +371,7 @@ lean_object* l_Lean_Elab_getPosition___boxed(lean_object*, lean_object*, lean_ob lean_object* l_Lean_declareBuiltinTermElab(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_getPos___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); +lean_object* l_PersistentHashMap_empty___at_Lean_mkBuiltinCommandElabTable___spec__3; lean_object* l_AssocList_foldlM___main___at_Lean_addBuiltinCommandElab___spec__14(lean_object*, lean_object*); lean_object* l_Lean_str2ElabException(lean_object*); lean_object* l_mkHashMapImp___rarg(lean_object*); @@ -634,7 +641,7 @@ x_1 = lean_box(0); x_2 = l_String_splitAux___main___closed__1; x_3 = lean_box(0); x_4 = l_Lean_Options_empty; -x_5 = l_Lean_LocalContext_Inhabited___closed__1; +x_5 = l_Lean_LocalContext_Inhabited___closed__3; x_6 = lean_unsigned_to_nat(1u); x_7 = 0; x_8 = lean_alloc_ctor(0, 8, 1); @@ -701,6 +708,14 @@ x_2 = l_mkHashMapImp___rarg(x_1); return x_2; } } +lean_object* _init_l_PersistentHashMap_empty___at_Lean_mkBuiltinTermElabTable___spec__3() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_LocalContext_Inhabited___closed__2; +return x_1; +} +} lean_object* _init_l_Lean_SMap_empty___at_Lean_mkBuiltinTermElabTable___spec__1___closed__1() { _start: { @@ -716,7 +731,7 @@ _start: uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = 1; x_2 = l_Lean_SMap_empty___at_Lean_mkBuiltinTermElabTable___spec__1___closed__1; -x_3 = l_PersistentHashMap_HasEmptyc___closed__1; +x_3 = l_PersistentHashMap_empty___at_Lean_mkBuiltinTermElabTable___spec__3; x_4 = lean_alloc_ctor(0, 2, 1); lean_ctor_set(x_4, 0, x_2); lean_ctor_set(x_4, 1, x_3); @@ -749,6 +764,14 @@ x_2 = l_mkHashMapImp___rarg(x_1); return x_2; } } +lean_object* _init_l_PersistentHashMap_empty___at_Lean_mkBuiltinCommandElabTable___spec__3() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_LocalContext_Inhabited___closed__2; +return x_1; +} +} lean_object* _init_l_Lean_SMap_empty___at_Lean_mkBuiltinCommandElabTable___spec__1___closed__1() { _start: { @@ -764,7 +787,7 @@ _start: uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = 1; x_2 = l_Lean_SMap_empty___at_Lean_mkBuiltinCommandElabTable___spec__1___closed__1; -x_3 = l_PersistentHashMap_HasEmptyc___closed__1; +x_3 = l_PersistentHashMap_empty___at_Lean_mkBuiltinCommandElabTable___spec__3; x_4 = lean_alloc_ctor(0, 2, 1); lean_ctor_set(x_4, 0, x_2); lean_ctor_set(x_4, 1, x_3); @@ -4780,7 +4803,7 @@ _start: uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = 1; x_2 = l_HashMap_Inhabited___closed__1; -x_3 = l_PersistentHashMap_HasEmptyc___closed__1; +x_3 = l_PersistentHashMap_empty___at_Lean_mkBuiltinTermElabTable___spec__3; x_4 = lean_alloc_ctor(0, 2, 1); lean_ctor_set(x_4, 0, x_2); lean_ctor_set(x_4, 1, x_3); @@ -5743,6 +5766,32 @@ return x_10; } } } +lean_object* _init_l_Lean_registerEnvExtensionUnsafe___at_Lean_mkCommandElabAttribute___spec__4___closed__1() { +_start: +{ +uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = 1; +x_2 = l_HashMap_Inhabited___closed__1; +x_3 = l_PersistentHashMap_empty___at_Lean_mkBuiltinCommandElabTable___spec__3; +x_4 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_4, 0, x_2); +lean_ctor_set(x_4, 1, x_3); +lean_ctor_set_uint8(x_4, sizeof(void*)*2, x_1); +return x_4; +} +} +lean_object* _init_l_Lean_registerEnvExtensionUnsafe___at_Lean_mkCommandElabAttribute___spec__4___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_empty___closed__1; +x_2 = l_Lean_registerEnvExtensionUnsafe___at_Lean_mkCommandElabAttribute___spec__4___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_object* l_Lean_registerEnvExtensionUnsafe___at_Lean_mkCommandElabAttribute___spec__4(lean_object* x_1, lean_object* x_2) { _start: { @@ -5801,7 +5850,7 @@ lean_inc(x_16); lean_dec(x_14); x_17 = lean_array_get_size(x_15); lean_dec(x_15); -x_18 = l_Lean_registerEnvExtensionUnsafe___at_Lean_mkTermElabAttribute___spec__4___closed__2; +x_18 = l_Lean_registerEnvExtensionUnsafe___at_Lean_mkCommandElabAttribute___spec__4___closed__2; x_19 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_19, 0, x_17); lean_ctor_set(x_19, 1, x_1); @@ -6597,6 +6646,54 @@ x_5 = lean_box(x_4); return x_5; } } +lean_object* _init_l_Lean_commandElabAttribute___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = lean_unsigned_to_nat(0u); +x_2 = l_Lean_EnvExtension_Inhabited___rarg___closed__1; +x_3 = l_Lean_registerEnvExtensionUnsafe___at_Lean_mkCommandElabAttribute___spec__4___closed__2; +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; +} +} +lean_object* _init_l_Lean_commandElabAttribute___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_1 = l_Lean_commandElabAttribute___closed__1; +x_2 = lean_box(0); +x_3 = l_Lean_PersistentEnvExtension_inhabited___rarg___closed__1; +x_4 = l_Lean_PersistentEnvExtension_inhabited___rarg___closed__2; +x_5 = l_Lean_PersistentEnvExtension_inhabited___rarg___closed__3; +x_6 = l_Lean_PersistentEnvExtension_inhabited___rarg___closed__4; +x_7 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_7, 0, x_1); +lean_ctor_set(x_7, 1, x_2); +lean_ctor_set(x_7, 2, x_3); +lean_ctor_set(x_7, 3, x_4); +lean_ctor_set(x_7, 4, x_5); +lean_ctor_set(x_7, 5, x_6); +return x_7; +} +} +lean_object* _init_l_Lean_commandElabAttribute___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_AttributeImpl_inhabited___closed__6; +x_2 = l_Lean_commandElabAttribute___closed__2; +x_3 = l_String_splitAux___main___closed__1; +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; +} +} lean_object* l_Lean_Elab_logMessage(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -9726,7 +9823,7 @@ x_1 = lean_box(0); x_2 = l_Lean_Elab_testFrontend___closed__1; x_3 = lean_box(0); x_4 = l_Lean_Options_empty; -x_5 = l_Lean_LocalContext_Inhabited___closed__1; +x_5 = l_Lean_LocalContext_Inhabited___closed__3; x_6 = lean_unsigned_to_nat(1u); x_7 = 0; x_8 = lean_alloc_ctor(0, 8, 1); @@ -12894,12 +12991,16 @@ l_Lean_ElabException_Inhabited___closed__2 = _init_l_Lean_ElabException_Inhabite lean_mark_persistent(l_Lean_ElabException_Inhabited___closed__2); l_Lean_ElabException_Inhabited = _init_l_Lean_ElabException_Inhabited(); lean_mark_persistent(l_Lean_ElabException_Inhabited); +l_PersistentHashMap_empty___at_Lean_mkBuiltinTermElabTable___spec__3 = _init_l_PersistentHashMap_empty___at_Lean_mkBuiltinTermElabTable___spec__3(); +lean_mark_persistent(l_PersistentHashMap_empty___at_Lean_mkBuiltinTermElabTable___spec__3); l_Lean_SMap_empty___at_Lean_mkBuiltinTermElabTable___spec__1___closed__1 = _init_l_Lean_SMap_empty___at_Lean_mkBuiltinTermElabTable___spec__1___closed__1(); lean_mark_persistent(l_Lean_SMap_empty___at_Lean_mkBuiltinTermElabTable___spec__1___closed__1); l_Lean_SMap_empty___at_Lean_mkBuiltinTermElabTable___spec__1___closed__2 = _init_l_Lean_SMap_empty___at_Lean_mkBuiltinTermElabTable___spec__1___closed__2(); lean_mark_persistent(l_Lean_SMap_empty___at_Lean_mkBuiltinTermElabTable___spec__1___closed__2); l_Lean_SMap_empty___at_Lean_mkBuiltinTermElabTable___spec__1 = _init_l_Lean_SMap_empty___at_Lean_mkBuiltinTermElabTable___spec__1(); lean_mark_persistent(l_Lean_SMap_empty___at_Lean_mkBuiltinTermElabTable___spec__1); +l_PersistentHashMap_empty___at_Lean_mkBuiltinCommandElabTable___spec__3 = _init_l_PersistentHashMap_empty___at_Lean_mkBuiltinCommandElabTable___spec__3(); +lean_mark_persistent(l_PersistentHashMap_empty___at_Lean_mkBuiltinCommandElabTable___spec__3); l_Lean_SMap_empty___at_Lean_mkBuiltinCommandElabTable___spec__1___closed__1 = _init_l_Lean_SMap_empty___at_Lean_mkBuiltinCommandElabTable___spec__1___closed__1(); lean_mark_persistent(l_Lean_SMap_empty___at_Lean_mkBuiltinCommandElabTable___spec__1___closed__1); l_Lean_SMap_empty___at_Lean_mkBuiltinCommandElabTable___spec__1___closed__2 = _init_l_Lean_SMap_empty___at_Lean_mkBuiltinCommandElabTable___spec__1___closed__2(); @@ -13019,10 +13120,20 @@ if (lean_io_result_is_error(res)) return res; l_Lean_termElabAttribute = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_termElabAttribute); lean_dec_ref(res); +l_Lean_registerEnvExtensionUnsafe___at_Lean_mkCommandElabAttribute___spec__4___closed__1 = _init_l_Lean_registerEnvExtensionUnsafe___at_Lean_mkCommandElabAttribute___spec__4___closed__1(); +lean_mark_persistent(l_Lean_registerEnvExtensionUnsafe___at_Lean_mkCommandElabAttribute___spec__4___closed__1); +l_Lean_registerEnvExtensionUnsafe___at_Lean_mkCommandElabAttribute___spec__4___closed__2 = _init_l_Lean_registerEnvExtensionUnsafe___at_Lean_mkCommandElabAttribute___spec__4___closed__2(); +lean_mark_persistent(l_Lean_registerEnvExtensionUnsafe___at_Lean_mkCommandElabAttribute___spec__4___closed__2); l_Lean_mkCommandElabAttribute___closed__1 = _init_l_Lean_mkCommandElabAttribute___closed__1(); lean_mark_persistent(l_Lean_mkCommandElabAttribute___closed__1); l_Lean_mkCommandElabAttribute___closed__2 = _init_l_Lean_mkCommandElabAttribute___closed__2(); lean_mark_persistent(l_Lean_mkCommandElabAttribute___closed__2); +l_Lean_commandElabAttribute___closed__1 = _init_l_Lean_commandElabAttribute___closed__1(); +lean_mark_persistent(l_Lean_commandElabAttribute___closed__1); +l_Lean_commandElabAttribute___closed__2 = _init_l_Lean_commandElabAttribute___closed__2(); +lean_mark_persistent(l_Lean_commandElabAttribute___closed__2); +l_Lean_commandElabAttribute___closed__3 = _init_l_Lean_commandElabAttribute___closed__3(); +lean_mark_persistent(l_Lean_commandElabAttribute___closed__3); res = l_Lean_mkCommandElabAttribute(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_commandElabAttribute = lean_io_result_get_value(res); diff --git a/src/stage0/Init/Lean/Elaborator/Command.c b/src/stage0/Init/Lean/Elaborator/Command.c index 262ae1edc7..d95bb4f985 100644 --- a/src/stage0/Init/Lean/Elaborator/Command.c +++ b/src/stage0/Init/Lean/Elaborator/Command.c @@ -20,6 +20,7 @@ lean_object* l_Lean_Syntax_mfoldArgsAux___main___at_Lean_Elab_elabOpenOnly___spe lean_object* l___regBuiltinTermElab_Lean_Elab_elabEnd(lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_elabInitQuot___closed__1; lean_object* l___regBuiltinTermElab_Lean_Elab_elabSection(lean_object*); +extern lean_object* l_Lean_LocalContext_Inhabited___closed__3; lean_object* l_Lean_Elab_modifyScope___at_Lean_Elab_addOpenDecl___spec__1___boxed(lean_object*, lean_object*, lean_object*); uint8_t lean_name_dec_eq(lean_object*, lean_object*); lean_object* l_Lean_Elab_addOpenDecl(lean_object*, lean_object*, lean_object*); @@ -53,7 +54,6 @@ lean_object* l_Lean_Elab_elabEnd___closed__4; lean_object* l___regBuiltinTermElab_Lean_Elab_elabUniverse___closed__2; lean_object* lean_add_decl(lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_elabExport___closed__3; -extern lean_object* l_Lean_LocalContext_Inhabited___closed__1; lean_object* l___regBuiltinTermElab_Lean_Elab_elabInitQuot(lean_object*); lean_object* l_Lean_Syntax_formatStx___main___rarg(lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_elabMixfix(lean_object*); @@ -298,7 +298,7 @@ if (x_2 == 0) lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; lean_object* x_25; lean_dec(x_6); x_21 = l_Lean_Options_empty; -x_22 = l_Lean_LocalContext_Inhabited___closed__1; +x_22 = l_Lean_LocalContext_Inhabited___closed__3; x_23 = lean_unsigned_to_nat(1u); x_24 = 0; lean_ctor_set(x_8, 7, x_23); @@ -319,7 +319,7 @@ else 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_name_mk_string(x_10, x_6); x_27 = l_Lean_Options_empty; -x_28 = l_Lean_LocalContext_Inhabited___closed__1; +x_28 = l_Lean_LocalContext_Inhabited___closed__3; x_29 = lean_unsigned_to_nat(1u); x_30 = 0; lean_ctor_set(x_8, 7, x_29); @@ -352,7 +352,7 @@ if (x_2 == 0) lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; lean_object* x_40; lean_object* x_41; lean_dec(x_6); x_36 = l_Lean_Options_empty; -x_37 = l_Lean_LocalContext_Inhabited___closed__1; +x_37 = l_Lean_LocalContext_Inhabited___closed__3; x_38 = lean_unsigned_to_nat(1u); x_39 = 0; x_40 = lean_alloc_ctor(0, 8, 1); @@ -375,7 +375,7 @@ else 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; x_42 = lean_name_mk_string(x_32, x_6); x_43 = l_Lean_Options_empty; -x_44 = l_Lean_LocalContext_Inhabited___closed__1; +x_44 = l_Lean_LocalContext_Inhabited___closed__3; x_45 = lean_unsigned_to_nat(1u); x_46 = 0; x_47 = lean_alloc_ctor(0, 8, 1); @@ -726,7 +726,7 @@ x_15 = lean_box(0); x_16 = l_Lean_Parser_Command_section___elambda__1___rarg___closed__1; x_17 = lean_box(0); x_18 = l_Lean_Options_empty; -x_19 = l_Lean_LocalContext_Inhabited___closed__1; +x_19 = l_Lean_LocalContext_Inhabited___closed__3; x_20 = 0; x_21 = lean_alloc_ctor(0, 8, 1); lean_ctor_set(x_21, 0, x_16); @@ -766,7 +766,7 @@ x_30 = lean_box(0); x_31 = l_Lean_Parser_Command_section___elambda__1___rarg___closed__1; x_32 = lean_box(0); x_33 = l_Lean_Options_empty; -x_34 = l_Lean_LocalContext_Inhabited___closed__1; +x_34 = l_Lean_LocalContext_Inhabited___closed__3; x_35 = 0; x_36 = lean_alloc_ctor(0, 8, 1); lean_ctor_set(x_36, 0, x_31); @@ -893,7 +893,7 @@ x_71 = lean_box(0); x_72 = l_Lean_Parser_Command_section___elambda__1___rarg___closed__1; x_73 = lean_box(0); x_74 = l_Lean_Options_empty; -x_75 = l_Lean_LocalContext_Inhabited___closed__1; +x_75 = l_Lean_LocalContext_Inhabited___closed__3; x_76 = 0; x_77 = lean_alloc_ctor(0, 8, 1); lean_ctor_set(x_77, 0, x_72); diff --git a/src/stage0/Init/Lean/Elaborator/PreTerm.c b/src/stage0/Init/Lean/Elaborator/PreTerm.c index 8f87eb693c..7c29468bf0 100644 --- a/src/stage0/Init/Lean/Elaborator/PreTerm.c +++ b/src/stage0/Init/Lean/Elaborator/PreTerm.c @@ -245,6 +245,7 @@ extern lean_object* l_Lean_Parser_Term_binderTactic___elambda__1___rarg___closed lean_object* l___regBuiltinTermElab_Lean_Elab_convertSortApp(lean_object*); extern lean_object* l_Lean_Parser_Level_ident___elambda__1___rarg___closed__1; lean_object* l_Lean_registerBuiltinPreTermElabAttr___lambda__1___closed__2; +extern lean_object* l_Lean_Expr_inhabited___closed__1; extern lean_object* l_Lean_nameToExprAux___main___closed__4; extern lean_object* l_Lean_Parser_Term_forall___elambda__1___closed__2; uint8_t lean_nat_dec_le(lean_object*, lean_object*); @@ -284,7 +285,6 @@ lean_object* l___regBuiltinTermElab_Lean_Elab_convertType___closed__2; lean_object* lean_io_ref_reset(lean_object*, lean_object*); lean_object* l_Lean_mkAsIs(lean_object*); lean_object* l_Lean_Elab_convertType___rarg___closed__1; -extern lean_object* l_Lean_exprIsInhabited___closed__1; lean_object* l_Lean_Elab_convertForall___boxed(lean_object*, lean_object*, lean_object*); lean_object* lean_level_mk_max(lean_object*, lean_object*); lean_object* l_Lean_registerBuiltinPreTermElabAttr___lambda__1___closed__5; @@ -2445,7 +2445,7 @@ lean_object* l_Lean_Elab_convertSort___rarg(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_exprIsInhabited___closed__1; +x_2 = l_Lean_Expr_inhabited___closed__1; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); @@ -2511,7 +2511,7 @@ lean_object* l_Lean_Elab_convertProp___rarg(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_exprIsInhabited___closed__1; +x_2 = l_Lean_Expr_inhabited___closed__1; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); diff --git a/src/stage0/Init/Lean/Environment.c b/src/stage0/Init/Lean/Environment.c index 735b614623..83142833b5 100644 --- a/src/stage0/Init/Lean/Environment.c +++ b/src/stage0/Init/Lean/Environment.c @@ -73,7 +73,6 @@ lean_object* lean_environment_add_modification(lean_object*, lean_object*); lean_object* l_Lean_EnvExtension_Inhabited___rarg___closed__1; lean_object* l_AssocList_replace___main___at_Lean_Environment_addAux___spec__11(lean_object*, lean_object*, lean_object*); lean_object* l_List_lengthAux___main___rarg(lean_object*, lean_object*); -extern lean_object* l_PersistentHashMap_HasEmptyc___closed__1; lean_object* l___private_Init_Lean_Environment_9__getEntriesFor(lean_object*, lean_object*, lean_object*); size_t l_USize_shift__right(size_t, size_t); lean_object* l_Lean_Environment_displayStats___closed__5; @@ -92,6 +91,7 @@ lean_object* l_List_toString___at_Lean_Environment_displayStats___spec__1(lean_o lean_object* l_Lean_mkStateFromImportedEntries(lean_object*, lean_object*); lean_object* lean_add_decl(lean_object*, lean_object*); extern lean_object* l_Lean_findOLean___closed__1; +extern lean_object* l_Lean_LocalContext_Inhabited___closed__1; lean_object* l_Lean_EnvExtension_modifyStateUnsafe(lean_object*); uint8_t l_HashMapImp_contains___at_Lean_Environment_contains___spec__2(lean_object*, lean_object*); lean_object* l_Array_anyMAux___main___at_Lean_registerPersistentEnvExtensionUnsafe___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); @@ -108,7 +108,6 @@ size_t l_USize_sub(size_t, size_t); lean_object* lean_environment_mark_quot_init(lean_object*); uint8_t l_Lean_SMap_contains___at_Lean_Environment_contains___spec__1(lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_Lean_mkStateFromImportedEntries___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_matchConst___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkEmptyEnvironment___closed__1; lean_object* l_Lean_importModules___closed__1; lean_object* l_HashMap_numBuckets___at_Lean_Environment_displayStats___spec__6(lean_object*); @@ -147,7 +146,7 @@ lean_object* l_PersistentHashMap_containsAux___main___at_Lean_Environment_contai lean_object* l_PersistentHashMap_getCollisionNodeSize___rarg(lean_object*); lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Environment_10__setImportedEntries___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__3(lean_object*, lean_object*); -lean_object* l_Lean_matchConst(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_matchConst(lean_object*); lean_object* l_Lean_regNamespacesExtension___lambda__1(lean_object*); lean_object* l_Lean_EnvExtension_setState___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_findAtAux___main___at_Lean_Environment_find___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -166,7 +165,6 @@ lean_object* l_Lean_EnvExtension_setState___closed__1; lean_object* l_Lean_mkTagDeclarationExtension___lambda__3(lean_object*); lean_object* l_Array_iterateMAux___main___at_Lean_regNamespacesExtension___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_mk_empty_environment(uint32_t, lean_object*); -extern lean_object* l_Lean_Name_DecidableEq; lean_object* l___private_Init_Lean_Environment_13__registerNamePrefixes___main(lean_object*, lean_object*); lean_object* l_Lean_regNamespacesExtension___lambda__1___boxed(lean_object*); lean_object* l_Lean_SimplePersistentEnvExtension_modifyState___rarg(lean_object*, lean_object*, lean_object*); @@ -210,7 +208,6 @@ lean_object* l_List_toStringAux___main___at_Lean_Environment_displayStats___spec lean_object* l_HashMapImp_insert___at_Lean_importModules___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_SMap_switch___at_Lean_importModules___spec__11(lean_object*); lean_object* l_Lean_Environment_getModuleIdxFor(lean_object*, lean_object*); -lean_object* l_beqOfEq___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_registerEnvExtensionUnsafe___at_Lean_regModListExtension___spec__1___closed__1; lean_object* l_Array_forMAux___main___at_Lean_Environment_displayStats___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_namespacesExt___elambda__3___boxed(lean_object*, lean_object*); @@ -230,6 +227,7 @@ lean_object* l_Lean_namespacesExt; lean_object* l_Array_iterateMAux___main___at_Lean_importModules___spec__13(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_List_reprAux___main___rarg___closed__1; size_t l_USize_add(size_t, size_t); +lean_object* l_PersistentHashMap_empty___at_Lean_Environment_Inhabited___spec__4; lean_object* l_HashMapImp_moveEntries___main___at_Lean_importModules___spec__4(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_Lean_mkStateFromImportedEntries___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -271,12 +269,12 @@ lean_object* l_Array_iterateMAux___main___at_Lean_regNamespacesExtension___spec_ lean_object* l_PersistentHashMap_findAux___main___at_Lean_Environment_find___spec__5___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_getNamespaceSet___boxed(lean_object*); lean_object* l_Lean_findLeanFile(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_SMap_empty___at_Lean_Environment_Inhabited___spec__2___closed__3; lean_object* l_Lean_ModuleIdx_inhabited; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* l_Lean_SimplePersistentEnvExtension_modifyState___rarg___lambda__1(lean_object*, lean_object*); lean_object* l_Lean_SMap_numBuckets___at_Lean_Environment_displayStats___spec__5(lean_object*); lean_object* l_Lean_EnvExtension_setStateUnsafe___rarg(lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_LocalContext_Inhabited___closed__2; lean_object* l_ExceptT_Monad___rarg___lambda__8___boxed(lean_object*, lean_object*); lean_object* l_Lean_saveModuleData___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_regNamespacesExtension___closed__4; @@ -497,17 +495,15 @@ x_2 = l_mkHashMapImp___rarg(x_1); return x_2; } } -lean_object* _init_l_Lean_SMap_empty___at_Lean_Environment_Inhabited___spec__2___closed__1() { +lean_object* _init_l_PersistentHashMap_empty___at_Lean_Environment_Inhabited___spec__4() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Name_DecidableEq; -x_2 = lean_alloc_closure((void*)(l_beqOfEq___rarg), 3, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; +lean_object* x_1; +x_1 = l_Lean_LocalContext_Inhabited___closed__2; +return x_1; } } -lean_object* _init_l_Lean_SMap_empty___at_Lean_Environment_Inhabited___spec__2___closed__2() { +lean_object* _init_l_Lean_SMap_empty___at_Lean_Environment_Inhabited___spec__2___closed__1() { _start: { lean_object* x_1; lean_object* x_2; @@ -516,13 +512,13 @@ x_2 = l_mkHashMapImp___rarg(x_1); return x_2; } } -lean_object* _init_l_Lean_SMap_empty___at_Lean_Environment_Inhabited___spec__2___closed__3() { +lean_object* _init_l_Lean_SMap_empty___at_Lean_Environment_Inhabited___spec__2___closed__2() { _start: { uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = 1; -x_2 = l_Lean_SMap_empty___at_Lean_Environment_Inhabited___spec__2___closed__2; -x_3 = l_PersistentHashMap_HasEmptyc___closed__1; +x_2 = l_Lean_SMap_empty___at_Lean_Environment_Inhabited___spec__2___closed__1; +x_3 = l_PersistentHashMap_empty___at_Lean_Environment_Inhabited___spec__4; x_4 = lean_alloc_ctor(0, 2, 1); lean_ctor_set(x_4, 0, x_2); lean_ctor_set(x_4, 1, x_3); @@ -534,7 +530,7 @@ lean_object* _init_l_Lean_SMap_empty___at_Lean_Environment_Inhabited___spec__2() _start: { lean_object* x_1; -x_1 = l_Lean_SMap_empty___at_Lean_Environment_Inhabited___spec__2___closed__3; +x_1 = l_Lean_SMap_empty___at_Lean_Environment_Inhabited___spec__2___closed__2; return x_1; } } @@ -10093,7 +10089,7 @@ lean_dec(x_5); x_8 = lean_ctor_get(x_6, 1); lean_inc(x_8); lean_dec(x_6); -x_9 = l_Lean_SMap_empty___at_Lean_Environment_Inhabited___spec__2___closed__1; +x_9 = l_Lean_LocalContext_Inhabited___closed__1; x_10 = lean_unsigned_to_nat(0u); x_11 = l_HashMap_Inhabited___closed__1; x_12 = l_Array_iterateMAux___main___at_Lean_importModules___spec__8(x_8, x_9, x_8, x_10, x_11); @@ -12093,22 +12089,12 @@ return x_13; } } } -lean_object* l_Lean_matchConst(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_matchConst(lean_object* x_1) { _start: { -lean_object* x_4; -x_4 = lean_alloc_closure((void*)(l_Lean_matchConst___rarg), 4, 0); -return x_4; -} -} -lean_object* l_Lean_matchConst___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l_Lean_matchConst(x_1, x_2, x_3); -lean_dec(x_3); -lean_dec(x_2); -return x_4; +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_matchConst___rarg), 4, 0); +return x_2; } } lean_object* initialize_Init_System_IO(lean_object*); @@ -12148,12 +12134,12 @@ l_Lean_EnvExtensionState_inhabited = _init_l_Lean_EnvExtensionState_inhabited(); lean_mark_persistent(l_Lean_EnvExtensionState_inhabited); l_Lean_ModuleIdx_inhabited = _init_l_Lean_ModuleIdx_inhabited(); lean_mark_persistent(l_Lean_ModuleIdx_inhabited); +l_PersistentHashMap_empty___at_Lean_Environment_Inhabited___spec__4 = _init_l_PersistentHashMap_empty___at_Lean_Environment_Inhabited___spec__4(); +lean_mark_persistent(l_PersistentHashMap_empty___at_Lean_Environment_Inhabited___spec__4); l_Lean_SMap_empty___at_Lean_Environment_Inhabited___spec__2___closed__1 = _init_l_Lean_SMap_empty___at_Lean_Environment_Inhabited___spec__2___closed__1(); lean_mark_persistent(l_Lean_SMap_empty___at_Lean_Environment_Inhabited___spec__2___closed__1); l_Lean_SMap_empty___at_Lean_Environment_Inhabited___spec__2___closed__2 = _init_l_Lean_SMap_empty___at_Lean_Environment_Inhabited___spec__2___closed__2(); lean_mark_persistent(l_Lean_SMap_empty___at_Lean_Environment_Inhabited___spec__2___closed__2); -l_Lean_SMap_empty___at_Lean_Environment_Inhabited___spec__2___closed__3 = _init_l_Lean_SMap_empty___at_Lean_Environment_Inhabited___spec__2___closed__3(); -lean_mark_persistent(l_Lean_SMap_empty___at_Lean_Environment_Inhabited___spec__2___closed__3); l_Lean_SMap_empty___at_Lean_Environment_Inhabited___spec__2 = _init_l_Lean_SMap_empty___at_Lean_Environment_Inhabited___spec__2(); lean_mark_persistent(l_Lean_SMap_empty___at_Lean_Environment_Inhabited___spec__2); l_Lean_Environment_Inhabited___closed__1 = _init_l_Lean_Environment_Inhabited___closed__1(); diff --git a/src/stage0/Init/Lean/Expr.c b/src/stage0/Init/Lean/Expr.c index e9632b7069..cbf3485586 100644 --- a/src/stage0/Init/Lean/Expr.c +++ b/src/stage0/Init/Lean/Expr.c @@ -13,13 +13,16 @@ #ifdef __cplusplus extern "C" { #endif +lean_object* l_Lean_Expr_hasLooseBVars___boxed(lean_object*); lean_object* lean_expr_mk_mdata(lean_object*, lean_object*); uint8_t lean_expr_has_fvar(lean_object*); lean_object* l_Lean_Expr_getAppNumArgsAux___main___boxed(lean_object*, lean_object*); lean_object* l_Lean_Expr_lam___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Literal_type___closed__5; uint8_t lean_expr_quick_lt(lean_object*, lean_object*); lean_object* l_Lean_Expr_hash___boxed(lean_object*); lean_object* l_Lean_Expr_bindingBody_x21(lean_object*); +lean_object* l_Lean_Literal_type___boxed(lean_object*); lean_object* l_Lean_Expr_updateProj___boxed(lean_object*, lean_object*, lean_object*); uint8_t lean_name_dec_eq(lean_object*, lean_object*); lean_object* l_Lean_Expr_bindingName_x21___boxed(lean_object*); @@ -32,6 +35,7 @@ lean_object* lean_expr_mk_forall(lean_object*, uint8_t, lean_object*, lean_objec lean_object* lean_expr_mk_sort(lean_object*); lean_object* lean_expr_update_app(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_updateSort___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Expr_getLooseBVarRange___boxed(lean_object*); lean_object* l___private_Init_Lean_Expr_6__betaRevAux___main(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_getAppRevArgs(lean_object*); lean_object* l_Lean_Expr_updateConst___boxed(lean_object*, lean_object*, lean_object*); @@ -40,6 +44,7 @@ lean_object* l_Lean_Expr_withApp(lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); uint8_t l_Lean_Expr_isSort(lean_object*); lean_object* l_Lean_Expr_bvarIdx_x21(lean_object*); +lean_object* l_Lean_Literal_type___closed__2; uint8_t l_Lean_Expr_isConst(lean_object*); lean_object* l_Lean_Expr_forallE___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Expr_3__getAppRevArgsAux___main(lean_object*, lean_object*); @@ -54,7 +59,6 @@ lean_object* l_Lean_Expr_isAppOfArity___main___boxed(lean_object*, lean_object*, lean_object* l_Lean_Expr_updateLambda_x21(lean_object*, uint8_t, lean_object*, lean_object*); lean_object* lean_mk_array(lean_object*, lean_object*); lean_object* l_Lean_BinderInfo_isAuxDecl___boxed(lean_object*); -lean_object* l_Lean_exprIsInhabited; lean_object* l_Lean_Expr_updateLambdaE_x21(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_exprToExprStructEq(lean_object*); size_t lean_expr_hash(lean_object*); @@ -75,12 +79,14 @@ lean_object* l_Lean_Expr_eqv___boxed(lean_object*, lean_object*); lean_object* l_Lean_mkDecIsTrue___closed__4; lean_object* l_Lean_Expr_withAppRev(lean_object*); lean_object* l_Lean_ExprStructEq_HasBeq___closed__1; +lean_object* lean_expr_get_loose_bvar_range(lean_object*); lean_object* l_Lean_Expr_isBVar___boxed(lean_object*); lean_object* lean_expr_instantiate(lean_object*, lean_object*); lean_object* l___private_Init_Lean_Expr_1__mkAppRangeAux___main(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Expr_3__getAppRevArgsAux(lean_object*, lean_object*); lean_object* l___private_Init_Lean_Expr_4__withAppRevAux(lean_object*); lean_object* l_Lean_Expr_getAppNumArgsAux___boxed(lean_object*, lean_object*); +lean_object* lean_expr_instantiate_rev_range(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_expr_local(lean_object*, lean_object*, lean_object*, uint8_t); lean_object* lean_expr_mk_app(lean_object*, lean_object*); lean_object* l_Lean_Expr_quickLt___boxed(lean_object*, lean_object*); @@ -91,8 +97,10 @@ lean_object* l_Lean_BinderInfo_isInstImplicit___boxed(lean_object*); lean_object* lean_expr_instantiate1(lean_object*, lean_object*); lean_object* l_Lean_exprToExprStructEq___boxed(lean_object*); lean_object* l_Lean_Expr_getAppFn___main(lean_object*); +uint8_t l_Lean_Expr_hasLooseBVars(lean_object*); lean_object* l_Lean_mkDecIsFalse___closed__1; lean_object* l_Lean_Expr_isAppOfArity___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Literal_type(lean_object*); lean_object* l_Lean_mkDecIsTrue___closed__3; lean_object* l_Lean_Expr_isProj___boxed(lean_object*); lean_object* l_Lean_Expr_getRevArg_x21___main(lean_object*, lean_object*); @@ -100,6 +108,7 @@ lean_object* l_Lean_mkConst(lean_object*, lean_object*); lean_object* l_Lean_Expr_getAppNumArgsAux___main(lean_object*, lean_object*); lean_object* l_Lean_Expr_equal___boxed(lean_object*, lean_object*); lean_object* l_Lean_Expr_isConstOf___boxed(lean_object*, lean_object*); +lean_object* l_Lean_Literal_Inhabited___closed__1; lean_object* l_Lean_Expr_hasMVar___boxed(lean_object*); lean_object* l___private_Init_Lean_Expr_1__mkAppRangeAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_sort___boxed(lean_object*); @@ -147,6 +156,7 @@ lean_object* l_Lean_Expr_isApp___boxed(lean_object*); lean_object* l_Lean_Expr_constLevels_x21___boxed(lean_object*); lean_object* l_Lean_Expr_getArgD(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ExprStructEq_HasRepr___boxed(lean_object*); +lean_object* l_Lean_Literal_type___closed__6; lean_object* l_Lean_BinderInfo_HasBeq; lean_object* l_Lean_Expr_dbgToString___boxed(lean_object*); uint8_t lean_expr_equal(lean_object*, lean_object*); @@ -160,6 +170,7 @@ lean_object* l_Lean_Expr_constName_x21___closed__1; lean_object* l___private_Init_Lean_Expr_4__withAppRevAux___main___rarg(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isForall(lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); +lean_object* l_Lean_Literal_Inhabited; lean_object* lean_expr_update_const(lean_object*, lean_object*); lean_object* l_Lean_Expr_letName_x21(lean_object*); lean_object* l_Lean_Expr_getAppNumArgs(lean_object*); @@ -192,6 +203,7 @@ lean_object* l_Lean_Expr_getRevArgD___main___boxed(lean_object*, lean_object*, l lean_object* l_Lean_mkCApp___boxed(lean_object*, lean_object*); lean_object* l___private_Init_Lean_Expr_4__withAppRevAux___rarg(lean_object*, lean_object*, lean_object*); lean_object* lean_expr_update_mdata(lean_object*, lean_object*); +lean_object* l_Lean_Expr_instantiateRevRange___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_getAppFn___main___boxed(lean_object*); uint8_t l_Lean_Expr_isFVar(lean_object*); lean_object* lean_array_set(lean_object*, lean_object*, lean_object*); @@ -209,6 +221,7 @@ lean_object* l_Lean_mkDecIsTrue___closed__5; lean_object* l_Lean_Expr_fvarId_x21(lean_object*); lean_object* l_Lean_Expr_getRevArg_x21(lean_object*, lean_object*); lean_object* l_Lean_Expr_hasFVar___boxed(lean_object*); +lean_object* l_Lean_Expr_inhabited; lean_object* l_Lean_Expr_HasToString; uint8_t l_Lean_Expr_isAppOfArity___main(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isBinding(lean_object*); @@ -252,6 +265,7 @@ size_t l_Lean_ExprStructEq_hash(lean_object*); lean_object* l_Lean_Expr_getRevArgD___main(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_updateProj_x21(lean_object*, lean_object*); lean_object* l_Lean_Expr_const___boxed(lean_object*, lean_object*); +lean_object* l_Lean_Expr_inhabited___closed__1; lean_object* l_Lean_Expr_updateApp_x21(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkAppRange(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_hasMVar(lean_object*); @@ -264,6 +278,7 @@ lean_object* lean_expr_mk_lambda(lean_object*, uint8_t, lean_object*, lean_objec lean_object* l_Lean_Expr_updateFn___main(lean_object*, lean_object*); lean_object* l_Lean_Expr_letE___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_appArg_x21(lean_object*); +lean_object* l_Lean_Literal_type___closed__4; lean_object* l_Lean_Expr_mdata___boxed(lean_object*, lean_object*); extern lean_object* l_panicWithPos___rarg___closed__2; lean_object* l_Lean_Expr_HasBeq; @@ -292,17 +307,18 @@ lean_object* l_Lean_Expr_getAppFn___boxed(lean_object*); lean_object* l_Lean_Expr_mkAppRevRange(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isAppOfArity(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_isForall___boxed(lean_object*); +lean_object* l_Lean_Literal_type___closed__1; lean_object* l_Lean_Expr_mkAppRevRange___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_getAppNumArgsAux(lean_object*, lean_object*); lean_object* l_Lean_Expr_isMVar___boxed(lean_object*); lean_object* l_Lean_ExprStructEq_Inhabited; lean_object* l_Lean_mkDecIsFalse___closed__3; -lean_object* l_Lean_exprIsInhabited___closed__1; lean_object* lean_expr_mk_lit(lean_object*); lean_object* l_Lean_mkDecIsFalse___closed__2; lean_object* l___private_Init_Lean_Expr_5__mkAppRevRangeAux(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_isConst___boxed(lean_object*); lean_object* l_Lean_Expr_instantiateLevelParams___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Literal_type___closed__3; lean_object* l_Lean_Expr_lt___boxed(lean_object*, lean_object*); lean_object* l_Lean_ExprStructEq_Hashable___closed__1; lean_object* lean_expr_update_let(lean_object*, lean_object*, lean_object*, lean_object*); @@ -514,7 +530,7 @@ x_1 = lean_box(0); return x_1; } } -lean_object* _init_l_Lean_exprIsInhabited___closed__1() { +lean_object* _init_l_Lean_Expr_inhabited___closed__1() { _start: { lean_object* x_1; lean_object* x_2; @@ -524,11 +540,11 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l_Lean_exprIsInhabited() { +lean_object* _init_l_Lean_Expr_inhabited() { _start: { lean_object* x_1; -x_1 = l_Lean_exprIsInhabited___closed__1; +x_1 = l_Lean_Expr_inhabited___closed__1; return x_1; } } @@ -642,6 +658,106 @@ x_6 = lean_expr_local(x_1, x_2, x_3, x_5); return x_6; } } +lean_object* _init_l_Lean_Literal_Inhabited___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(0u); +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* _init_l_Lean_Literal_Inhabited() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Literal_Inhabited___closed__1; +return x_1; +} +} +lean_object* _init_l_Lean_Literal_type___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Nat"); +return x_1; +} +} +lean_object* _init_l_Lean_Literal_type___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Literal_type___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_Literal_type___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Literal_type___closed__2; +x_3 = lean_expr_mk_const(x_2, x_1); +return x_3; +} +} +lean_object* _init_l_Lean_Literal_type___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("String"); +return x_1; +} +} +lean_object* _init_l_Lean_Literal_type___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Literal_type___closed__4; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_Literal_type___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Literal_type___closed__5; +x_3 = lean_expr_mk_const(x_2, x_1); +return x_3; +} +} +lean_object* l_Lean_Literal_type(lean_object* x_1) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_2; +x_2 = l_Lean_Literal_type___closed__3; +return x_2; +} +else +{ +lean_object* x_3; +x_3 = l_Lean_Literal_type___closed__6; +return x_3; +} +} +} +lean_object* l_Lean_Literal_type___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Literal_type(x_1); +lean_dec(x_1); +return x_2; +} +} lean_object* l_Array_iterateMAux___main___at_Lean_mkApp___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { @@ -711,7 +827,7 @@ else lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; x_6 = lean_unsigned_to_nat(1u); x_7 = lean_nat_add(x_3, x_6); -x_8 = l_Lean_exprIsInhabited; +x_8 = l_Lean_Expr_inhabited; x_9 = lean_array_get(x_8, x_2, x_3); lean_dec(x_3); x_10 = lean_expr_mk_app(x_4, x_9); @@ -1505,7 +1621,7 @@ _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_unsigned_to_nat(0u); x_3 = l_Lean_Expr_getAppNumArgsAux___main(x_1, x_2); -x_4 = l_Lean_exprIsInhabited___closed__1; +x_4 = l_Lean_Expr_inhabited___closed__1; lean_inc(x_3); x_5 = lean_mk_array(x_3, x_4); x_6 = lean_unsigned_to_nat(1u); @@ -1617,7 +1733,7 @@ _start: lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; x_3 = lean_unsigned_to_nat(0u); x_4 = l_Lean_Expr_getAppNumArgsAux___main(x_1, x_3); -x_5 = l_Lean_exprIsInhabited___closed__1; +x_5 = l_Lean_Expr_inhabited___closed__1; lean_inc(x_4); x_6 = lean_mk_array(x_4, x_5); x_7 = lean_unsigned_to_nat(1u); @@ -1785,7 +1901,7 @@ lean_dec(x_13); x_15 = l_panicWithPos___rarg___closed__3; x_16 = lean_string_append(x_14, x_15); x_17 = lean_string_append(x_16, x_4); -x_18 = l_Lean_exprIsInhabited; +x_18 = l_Lean_Expr_inhabited; x_19 = lean_panic_fn(x_17); return x_19; } @@ -1830,7 +1946,7 @@ else lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_dec(x_2); x_10 = l_Lean_Expr_getRevArg_x21___main___closed__1; -x_11 = lean_unsigned_to_nat(247u); +x_11 = lean_unsigned_to_nat(254u); x_12 = lean_unsigned_to_nat(18u); x_13 = l_List_get_x21___main___rarg___closed__2; x_14 = l_panicWithPos___at_Lean_Expr_getRevArg_x21___main___spec__1(x_10, x_11, x_12, x_13); @@ -2066,7 +2182,7 @@ else { lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; x_3 = l_Lean_Expr_getRevArg_x21___main___closed__1; -x_4 = lean_unsigned_to_nat(267u); +x_4 = lean_unsigned_to_nat(274u); x_5 = lean_unsigned_to_nat(13u); x_6 = l_Lean_Expr_appFn_x21___closed__1; x_7 = l_panicWithPos___at_Lean_Expr_getRevArg_x21___main___spec__1(x_3, x_4, x_5, x_6); @@ -2097,7 +2213,7 @@ else { lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; x_3 = l_Lean_Expr_getRevArg_x21___main___closed__1; -x_4 = lean_unsigned_to_nat(271u); +x_4 = lean_unsigned_to_nat(278u); x_5 = lean_unsigned_to_nat(13u); x_6 = l_Lean_Expr_appFn_x21___closed__1; x_7 = l_panicWithPos___at_Lean_Expr_getRevArg_x21___main___spec__1(x_3, x_4, x_5, x_6); @@ -2136,7 +2252,7 @@ else { lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; x_3 = l_Lean_Expr_getRevArg_x21___main___closed__1; -x_4 = lean_unsigned_to_nat(275u); +x_4 = lean_unsigned_to_nat(282u); x_5 = lean_unsigned_to_nat(15u); x_6 = l_Lean_Expr_constName_x21___closed__1; x_7 = l_panicWithPos___at_Lean_Level_mvarId_x21___spec__1(x_3, x_4, x_5, x_6); @@ -2191,7 +2307,7 @@ else { lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; x_3 = l_Lean_Expr_getRevArg_x21___main___closed__1; -x_4 = lean_unsigned_to_nat(279u); +x_4 = lean_unsigned_to_nat(286u); x_5 = lean_unsigned_to_nat(16u); x_6 = l_Lean_Expr_constName_x21___closed__1; x_7 = l_panicWithPos___at_Lean_Expr_constLevels_x21___spec__1(x_3, x_4, x_5, x_6); @@ -2240,7 +2356,7 @@ else { lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; x_3 = l_Lean_Expr_getRevArg_x21___main___closed__1; -x_4 = lean_unsigned_to_nat(283u); +x_4 = lean_unsigned_to_nat(290u); x_5 = lean_unsigned_to_nat(14u); x_6 = l_Lean_Expr_bvarIdx_x21___closed__1; x_7 = l_panicWithPos___at_Array_findIdx_x21___spec__1(x_3, x_4, x_5, x_6); @@ -2279,7 +2395,7 @@ else { lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; x_3 = l_Lean_Expr_getRevArg_x21___main___closed__1; -x_4 = lean_unsigned_to_nat(287u); +x_4 = lean_unsigned_to_nat(294u); x_5 = lean_unsigned_to_nat(12u); x_6 = l_Lean_Expr_fvarId_x21___closed__1; x_7 = l_panicWithPos___at_Lean_Level_mvarId_x21___spec__1(x_3, x_4, x_5, x_6); @@ -2326,7 +2442,7 @@ default: { lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; x_4 = l_Lean_Expr_getRevArg_x21___main___closed__1; -x_5 = lean_unsigned_to_nat(292u); +x_5 = lean_unsigned_to_nat(299u); x_6 = lean_unsigned_to_nat(21u); x_7 = l_Lean_Expr_bindingName_x21___closed__1; x_8 = l_panicWithPos___at_Lean_Level_mvarId_x21___spec__1(x_4, x_5, x_6, x_7); @@ -2366,7 +2482,7 @@ default: { lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; x_4 = l_Lean_Expr_getRevArg_x21___main___closed__1; -x_5 = lean_unsigned_to_nat(297u); +x_5 = lean_unsigned_to_nat(304u); x_6 = lean_unsigned_to_nat(21u); x_7 = l_Lean_Expr_bindingName_x21___closed__1; x_8 = l_panicWithPos___at_Lean_Expr_getRevArg_x21___main___spec__1(x_4, x_5, x_6, x_7); @@ -2406,7 +2522,7 @@ default: { lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; x_4 = l_Lean_Expr_getRevArg_x21___main___closed__1; -x_5 = lean_unsigned_to_nat(302u); +x_5 = lean_unsigned_to_nat(309u); x_6 = lean_unsigned_to_nat(21u); x_7 = l_Lean_Expr_bindingName_x21___closed__1; x_8 = l_panicWithPos___at_Lean_Expr_getRevArg_x21___main___spec__1(x_4, x_5, x_6, x_7); @@ -2446,7 +2562,7 @@ else { lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; x_3 = l_Lean_Expr_getRevArg_x21___main___closed__1; -x_4 = lean_unsigned_to_nat(306u); +x_4 = lean_unsigned_to_nat(313u); x_5 = lean_unsigned_to_nat(18u); x_6 = l_Lean_Expr_letName_x21___closed__1; x_7 = l_panicWithPos___at_Lean_Level_mvarId_x21___spec__1(x_3, x_4, x_5, x_6); @@ -2463,6 +2579,36 @@ lean_dec(x_1); return x_2; } } +lean_object* l_Lean_Expr_getLooseBVarRange___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_expr_get_loose_bvar_range(x_1); +lean_dec(x_1); +return x_2; +} +} +uint8_t l_Lean_Expr_hasLooseBVars(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; uint8_t x_4; +x_2 = lean_expr_get_loose_bvar_range(x_1); +x_3 = lean_unsigned_to_nat(0u); +x_4 = lean_nat_dec_lt(x_3, x_2); +lean_dec(x_2); +return x_4; +} +} +lean_object* l_Lean_Expr_hasLooseBVars___boxed(lean_object* x_1) { +_start: +{ +uint8_t x_2; lean_object* x_3; +x_2 = l_Lean_Expr_hasLooseBVars(x_1); +lean_dec(x_1); +x_3 = lean_box(x_2); +return x_3; +} +} lean_object* l_Lean_Expr_instantiate___boxed(lean_object* x_1, lean_object* x_2) { _start: { @@ -2504,6 +2650,17 @@ lean_dec(x_1); return x_5; } } +lean_object* l_Lean_Expr_instantiateRevRange___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = lean_expr_instantiate_rev_range(x_1, x_2, x_3, x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_5; +} +} lean_object* l_Lean_Expr_abstract___boxed(lean_object* x_1, lean_object* x_2) { _start: { @@ -2733,7 +2890,7 @@ lean_object* _init_l_Lean_ExprStructEq_Inhabited() { _start: { lean_object* x_1; -x_1 = l_Lean_exprIsInhabited___closed__1; +x_1 = l_Lean_Expr_inhabited___closed__1; return x_1; } } @@ -2814,7 +2971,7 @@ lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_obj x_6 = lean_unsigned_to_nat(1u); x_7 = lean_nat_sub(x_4, x_6); lean_dec(x_4); -x_8 = l_Lean_exprIsInhabited; +x_8 = l_Lean_Expr_inhabited; x_9 = lean_array_get(x_8, x_1, x_7); x_10 = lean_expr_mk_app(x_3, x_9); x_3 = x_10; @@ -3011,7 +3168,7 @@ lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); x_5 = l_Lean_Expr_getRevArg_x21___main___closed__1; -x_6 = lean_unsigned_to_nat(445u); +x_6 = lean_unsigned_to_nat(464u); x_7 = lean_unsigned_to_nat(16u); x_8 = l_Lean_Expr_appFn_x21___closed__1; x_9 = l_panicWithPos___at_Lean_Expr_getRevArg_x21___main___spec__1(x_5, x_6, x_7, x_8); @@ -3042,7 +3199,7 @@ lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_obj lean_dec(x_2); lean_dec(x_1); x_4 = l_Lean_Expr_getRevArg_x21___main___closed__1; -x_5 = lean_unsigned_to_nat(454u); +x_5 = lean_unsigned_to_nat(473u); x_6 = lean_unsigned_to_nat(16u); x_7 = l_Lean_Expr_constName_x21___closed__1; x_8 = l_panicWithPos___at_Lean_Expr_getRevArg_x21___main___spec__1(x_4, x_5, x_6, x_7); @@ -3081,7 +3238,7 @@ lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_obj lean_dec(x_2); lean_dec(x_1); x_4 = l_Lean_Expr_getRevArg_x21___main___closed__1; -x_5 = lean_unsigned_to_nat(463u); +x_5 = lean_unsigned_to_nat(482u); x_6 = lean_unsigned_to_nat(12u); x_7 = l_Lean_Expr_updateSort_x21___closed__1; x_8 = l_panicWithPos___at_Lean_Expr_getRevArg_x21___main___spec__1(x_4, x_5, x_6, x_7); @@ -3128,7 +3285,7 @@ lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_obj lean_dec(x_2); lean_dec(x_1); x_4 = l_Lean_Expr_getRevArg_x21___main___closed__1; -x_5 = lean_unsigned_to_nat(480u); +x_5 = lean_unsigned_to_nat(499u); x_6 = lean_unsigned_to_nat(15u); x_7 = l_Lean_Expr_updateMData_x21___closed__1; x_8 = l_panicWithPos___at_Lean_Expr_getRevArg_x21___main___spec__1(x_4, x_5, x_6, x_7); @@ -3159,7 +3316,7 @@ lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_obj lean_dec(x_2); lean_dec(x_1); x_4 = l_Lean_Expr_getRevArg_x21___main___closed__1; -x_5 = lean_unsigned_to_nat(485u); +x_5 = lean_unsigned_to_nat(504u); x_6 = lean_unsigned_to_nat(16u); x_7 = l_Lean_Expr_updateProj_x21___closed__1; x_8 = l_panicWithPos___at_Lean_Expr_getRevArg_x21___main___spec__1(x_4, x_5, x_6, x_7); @@ -3201,7 +3358,7 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); x_6 = l_Lean_Expr_getRevArg_x21___main___closed__1; -x_7 = lean_unsigned_to_nat(494u); +x_7 = lean_unsigned_to_nat(513u); x_8 = lean_unsigned_to_nat(22u); x_9 = l_Lean_Expr_updateForall_x21___closed__1; x_10 = l_panicWithPos___at_Lean_Expr_getRevArg_x21___main___spec__1(x_6, x_7, x_8, x_9); @@ -3236,7 +3393,7 @@ lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); x_6 = l_Lean_Expr_getRevArg_x21___main___closed__1; -x_7 = lean_unsigned_to_nat(499u); +x_7 = lean_unsigned_to_nat(518u); x_8 = lean_unsigned_to_nat(22u); x_9 = l_Lean_Expr_updateForall_x21___closed__1; x_10 = l_panicWithPos___at_Lean_Expr_getRevArg_x21___main___spec__1(x_6, x_7, x_8, x_9); @@ -3278,7 +3435,7 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); x_6 = l_Lean_Expr_getRevArg_x21___main___closed__1; -x_7 = lean_unsigned_to_nat(508u); +x_7 = lean_unsigned_to_nat(527u); x_8 = lean_unsigned_to_nat(18u); x_9 = l_Lean_Expr_updateLambda_x21___closed__1; x_10 = l_panicWithPos___at_Lean_Expr_getRevArg_x21___main___spec__1(x_6, x_7, x_8, x_9); @@ -3313,7 +3470,7 @@ lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); x_6 = l_Lean_Expr_getRevArg_x21___main___closed__1; -x_7 = lean_unsigned_to_nat(513u); +x_7 = lean_unsigned_to_nat(532u); x_8 = lean_unsigned_to_nat(18u); x_9 = l_Lean_Expr_updateLambda_x21___closed__1; x_10 = l_panicWithPos___at_Lean_Expr_getRevArg_x21___main___spec__1(x_6, x_7, x_8, x_9); @@ -3346,7 +3503,7 @@ lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); x_6 = l_Lean_Expr_getRevArg_x21___main___closed__1; -x_7 = lean_unsigned_to_nat(522u); +x_7 = lean_unsigned_to_nat(541u); x_8 = lean_unsigned_to_nat(18u); x_9 = l_Lean_Expr_letName_x21___closed__1; x_10 = l_panicWithPos___at_Lean_Expr_getRevArg_x21___main___spec__1(x_6, x_7, x_8, x_9); @@ -3440,10 +3597,26 @@ l_Lean_MData_empty = _init_l_Lean_MData_empty(); lean_mark_persistent(l_Lean_MData_empty); l_Lean_MData_HasEmptyc = _init_l_Lean_MData_HasEmptyc(); lean_mark_persistent(l_Lean_MData_HasEmptyc); -l_Lean_exprIsInhabited___closed__1 = _init_l_Lean_exprIsInhabited___closed__1(); -lean_mark_persistent(l_Lean_exprIsInhabited___closed__1); -l_Lean_exprIsInhabited = _init_l_Lean_exprIsInhabited(); -lean_mark_persistent(l_Lean_exprIsInhabited); +l_Lean_Expr_inhabited___closed__1 = _init_l_Lean_Expr_inhabited___closed__1(); +lean_mark_persistent(l_Lean_Expr_inhabited___closed__1); +l_Lean_Expr_inhabited = _init_l_Lean_Expr_inhabited(); +lean_mark_persistent(l_Lean_Expr_inhabited); +l_Lean_Literal_Inhabited___closed__1 = _init_l_Lean_Literal_Inhabited___closed__1(); +lean_mark_persistent(l_Lean_Literal_Inhabited___closed__1); +l_Lean_Literal_Inhabited = _init_l_Lean_Literal_Inhabited(); +lean_mark_persistent(l_Lean_Literal_Inhabited); +l_Lean_Literal_type___closed__1 = _init_l_Lean_Literal_type___closed__1(); +lean_mark_persistent(l_Lean_Literal_type___closed__1); +l_Lean_Literal_type___closed__2 = _init_l_Lean_Literal_type___closed__2(); +lean_mark_persistent(l_Lean_Literal_type___closed__2); +l_Lean_Literal_type___closed__3 = _init_l_Lean_Literal_type___closed__3(); +lean_mark_persistent(l_Lean_Literal_type___closed__3); +l_Lean_Literal_type___closed__4 = _init_l_Lean_Literal_type___closed__4(); +lean_mark_persistent(l_Lean_Literal_type___closed__4); +l_Lean_Literal_type___closed__5 = _init_l_Lean_Literal_type___closed__5(); +lean_mark_persistent(l_Lean_Literal_type___closed__5); +l_Lean_Literal_type___closed__6 = _init_l_Lean_Literal_type___closed__6(); +lean_mark_persistent(l_Lean_Literal_type___closed__6); l_Lean_Expr_Hashable___closed__1 = _init_l_Lean_Expr_Hashable___closed__1(); lean_mark_persistent(l_Lean_Expr_Hashable___closed__1); l_Lean_Expr_Hashable = _init_l_Lean_Expr_Hashable(); diff --git a/src/stage0/Init/Lean/LocalContext.c b/src/stage0/Init/Lean/LocalContext.c index 3efd597bc9..08a701e959 100644 --- a/src/stage0/Init/Lean/LocalContext.c +++ b/src/stage0/Init/Lean/LocalContext.c @@ -26,6 +26,7 @@ lean_object* l_PersistentArray_findMAux___main___at_Lean_LocalContext_findDecl__ uint8_t l_PersistentArray_anyM___at_Lean_LocalContext_all___spec__1(lean_object*, lean_object*); lean_object* l_Array_findRevMAux___main___at_Lean_LocalContext_findFromUserName___spec__5(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forMAux___main___at_Lean_LocalContext_forM___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_LocalContext_Inhabited___closed__3; lean_object* l_Lean_LocalContext_foldl(lean_object*); uint8_t lean_name_dec_eq(lean_object*, lean_object*); size_t l_USize_mul(size_t, size_t); @@ -60,7 +61,6 @@ lean_object* l_Lean_LocalDecl_binderInfo___boxed(lean_object*); lean_object* l_Array_iterateMAux___main___at_Lean_LocalContext_foldlM___spec__4___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_PersistentArray_findRevM___at_Lean_LocalContext_findDeclRevM___spec__1(lean_object*); lean_object* l_Array_anyMAux___main___at_Lean_LocalContext_allM___spec__4___rarg___lambda__1(lean_object*, uint8_t); -extern lean_object* l_Lean_exprIsInhabited; lean_object* l_PersistentArray_anyM___at_Lean_LocalContext_anyM___spec__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Array_findRevMAux___main___at_Lean_LocalContext_findFromUserName___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_PersistentArray_anyM___at_Lean_LocalContext_anyM___spec__1(lean_object*); @@ -82,6 +82,7 @@ lean_object* l_PersistentArray_getAux___main___at___private_Init_Lean_LocalConte lean_object* l_Array_findMAux___main___at_Lean_LocalContext_findDeclM___spec__4(lean_object*); lean_object* l_Lean_LocalContext_allM___rarg(lean_object*, lean_object*, lean_object*); lean_object* lean_expr_mk_let(lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_PersistentHashMap_empty___rarg___closed__2; lean_object* l_Array_findRevMAux___main___at_Lean_LocalContext_findDeclRevM___spec__5___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_LocalContext_foldlM___at_Lean_LocalContext_foldl___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_PersistentArray_foldlFromMAux___main___at_Lean_LocalContext_foldlFrom___spec__3___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -153,6 +154,7 @@ lean_object* l_PersistentArray_set___rarg(lean_object*, lean_object*, lean_objec lean_object* l_PersistentArray_get_x21___at___private_Init_Lean_LocalContext_1__popTailNoneAux___main___spec__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_LocalContext_findDecl___rarg(lean_object*, lean_object*); lean_object* l_PersistentArray_anyM___at_Lean_LocalContext_allM___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); +extern lean_object* l_Lean_Name_DecidableEq; lean_object* l_Array_findMAux___main___at_Lean_LocalContext_findDecl___spec__4___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_LocalContext_mkLocalDecl___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_LocalContext_mkLambda(lean_object*, lean_object*, lean_object*); @@ -184,6 +186,7 @@ lean_object* l_Array_findMAux___main___at_Lean_LocalContext_findDecl___spec__5__ lean_object* l_Array_findRevMAux___main___at_Lean_LocalContext_findDeclRevM___spec__4___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_LocalDecl_userName(lean_object*); extern lean_object* l_PersistentArray_empty___closed__3; +lean_object* l_beqOfEq___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_PersistentArray_foldlMAux___main___at_Lean_LocalContext_foldlM___spec__2(lean_object*); lean_object* l_Lean_LocalContext_foldlFromM___boxed(lean_object*); lean_object* l_PersistentHashMap_insertAtCollisionNodeAux___main___at_Lean_LocalContext_mkLocalDecl___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); @@ -220,7 +223,6 @@ lean_object* l_Array_findRevMAux___main___at_Lean_LocalContext_findDeclRev___spe lean_object* l_Array_indexOfAux___main___at_Lean_LocalContext_erase___spec__3___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_PersistentArray_findMAux___main___at_Lean_LocalContext_findDecl___spec__3(lean_object*); lean_object* l_Array_iterateMAux___main___at_Lean_LocalContext_foldlFrom___spec__8___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_PersistentHashMap_empty___closed__3; lean_object* l_Array_findMAux___main___at_Lean_LocalContext_findDeclM___spec__5___boxed(lean_object*); lean_object* l_Lean_Name_appendIndexAfter(lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_Lean_LocalContext_foldlFrom___spec__5___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -246,6 +248,7 @@ uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* l_Array_findRevMAux___main___at_Lean_LocalContext_findDeclRev___spec__5(lean_object*); lean_object* l_Lean_LocalContext_allM___boxed(lean_object*); lean_object* l_PersistentArray_anyM___at_Lean_LocalContext_allM___spec__1___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_LocalContext_Inhabited___closed__2; lean_object* l_Array_findRevMAux___main___at_Lean_LocalContext_findDeclRevM___spec__4(lean_object*); lean_object* l_PersistentArray_anyM___at_Lean_LocalContext_allM___spec__1(lean_object*); lean_object* l_Lean_LocalDecl_type___boxed(lean_object*); @@ -287,6 +290,7 @@ lean_object* l_Array_findMAux___main___at_Lean_LocalContext_findDecl___spec__6__ lean_object* l_Lean_Expr_fvarId_x21(lean_object*); lean_object* l_PersistentArray_foldlFromM___at_Lean_LocalContext_foldlFrom___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_PersistentArray_findM___at_Lean_LocalContext_findDeclM___spec__1(lean_object*); +extern lean_object* l_Lean_Expr_inhabited; lean_object* l_PersistentArray_foldlMAux___main___at_Lean_LocalContext_foldl___spec__3(lean_object*); lean_object* l_Lean_LocalDecl_type(lean_object*); lean_object* l_PersistentArray_findRevM___at_Lean_LocalContext_findDeclRevM___spec__1___boxed(lean_object*); @@ -367,6 +371,7 @@ lean_object* l_PersistentArray_findMAux___main___at_Lean_LocalContext_findDeclM_ lean_object* l_Array_anyMAux___main___at_Lean_LocalContext_anyM___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_PersistentArray_forMAux___main___at_Lean_LocalContext_forM___spec__2(lean_object*); lean_object* l_PersistentArray_findRevM___at_Lean_LocalContext_findDeclRev___spec__2___rarg___boxed(lean_object*, lean_object*); +extern lean_object* l_Lean_Expr_inhabited___closed__1; lean_object* l_Lean_LocalContext_foldlFromM___at_Lean_LocalContext_foldlFrom___spec__1(lean_object*); uint8_t l_PersistentArray_anyMAux___main___at_Lean_LocalContext_all___spec__2(lean_object*, lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); @@ -383,6 +388,7 @@ lean_object* l_Array_forMAux___main___at_Lean_LocalContext_forM___spec__5(lean_o lean_object* l_Lean_LocalContext_isEmpty___boxed(lean_object*); lean_object* l_Array_iterateMAux___main___at_Lean_LocalContext_foldlFrom___spec__9___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_expr_mk_lambda(lean_object*, uint8_t, lean_object*, lean_object*); +uint8_t l_PersistentHashMap_isEmpty___at_Lean_LocalContext_isEmpty___spec__1(lean_object*); lean_object* l_Lean_LocalDecl_index(lean_object*); lean_object* l_PersistentArray_foldlFromM___at_Lean_LocalContext_foldlFrom___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_PersistentArray_anyM___at_Lean_LocalContext_any___spec__1(lean_object*, lean_object*); @@ -400,6 +406,7 @@ size_t l_USize_shift__left(size_t, size_t); lean_object* l_PersistentArray_anyM___at_Lean_LocalContext_anyM___spec__1___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_Lean_LocalContext_foldl___spec__6___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_LocalDecl_isLet___boxed(lean_object*); +lean_object* l_PersistentHashMap_isEmpty___at_Lean_LocalContext_isEmpty___spec__1___boxed(lean_object*); lean_object* l_PersistentArray_findMAux___main___at_Lean_LocalContext_findDecl___spec__3___rarg(lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_Lean_LocalContext_foldlFromM___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); @@ -435,7 +442,6 @@ lean_object* l_Array_findMAux___main___at_Lean_LocalContext_findDeclM___spec__4_ lean_object* l_Array_anyMAux___main___at_Lean_LocalContext_all___spec__4___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_insertAux___main___at_Lean_LocalContext_mkLocalDecl___spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*); lean_object* l_Array_findRevMAux___main___at_Lean_LocalContext_findDeclRevM___spec__5___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l_PersistentHashMap_isEmpty___rarg(lean_object*); uint8_t l_PersistentHashMap_containsAtAux___main___at_Lean_LocalContext_contains___spec__3(lean_object*, lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_Lean_LocalContext_mkLocalDecl___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_PersistentArray_forM___at_Lean_LocalContext_forM___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -443,7 +449,6 @@ lean_object* l_Nat_foldRevAux___main___at_Lean_LocalContext_mkLambda___spec__1(l lean_object* l_Array_findMAux___main___at_Lean_LocalContext_findDecl___spec__5(lean_object*); lean_object* l_Lean_LocalContext_mkForall(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_LocalDecl_toExpr(lean_object*); -extern lean_object* l_Lean_exprIsInhabited___closed__1; lean_object* l_Lean_LocalContext_foldlM___at_Lean_LocalContext_foldl___spec__1(lean_object*); lean_object* l_PersistentHashMap_find___at_Lean_LocalContext_find___spec__1___boxed(lean_object*, lean_object*); lean_object* l_Array_anyMAux___main___at_Lean_LocalContext_any___spec__3___boxed(lean_object*, lean_object*, lean_object*); @@ -466,7 +471,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = lean_unsigned_to_nat(0u); x_2 = lean_box(0); -x_3 = l_Lean_exprIsInhabited___closed__1; +x_3 = l_Lean_Expr_inhabited___closed__1; x_4 = lean_alloc_ctor(1, 5, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -777,8 +782,30 @@ return x_2; lean_object* _init_l_Lean_LocalContext_Inhabited___closed__1() { _start: { +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Name_DecidableEq; +x_2 = lean_alloc_closure((void*)(l_beqOfEq___rarg), 3, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* _init_l_Lean_LocalContext_Inhabited___closed__2() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_PersistentHashMap_empty___closed__3; +x_1 = l_PersistentHashMap_empty___rarg___closed__2; +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_object* _init_l_Lean_LocalContext_Inhabited___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_LocalContext_Inhabited___closed__2; x_2 = l_PersistentArray_empty___closed__3; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -790,7 +817,7 @@ lean_object* _init_l_Lean_LocalContext_Inhabited() { _start: { lean_object* x_1; -x_1 = l_Lean_LocalContext_Inhabited___closed__1; +x_1 = l_Lean_LocalContext_Inhabited___closed__3; return x_1; } } @@ -799,7 +826,7 @@ _start: { lean_object* x_2; lean_dec(x_1); -x_2 = l_Lean_LocalContext_Inhabited___closed__1; +x_2 = l_Lean_LocalContext_Inhabited___closed__3; return x_2; } } @@ -807,10 +834,20 @@ lean_object* _init_l_Lean_LocalContext_empty() { _start: { lean_object* x_1; -x_1 = l_Lean_LocalContext_Inhabited___closed__1; +x_1 = l_Lean_LocalContext_Inhabited___closed__3; return x_1; } } +uint8_t l_PersistentHashMap_isEmpty___at_Lean_LocalContext_isEmpty___spec__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; uint8_t x_4; +x_2 = lean_ctor_get(x_1, 1); +x_3 = lean_unsigned_to_nat(0u); +x_4 = lean_nat_dec_eq(x_2, x_3); +return x_4; +} +} uint8_t lean_local_ctx_is_empty(lean_object* x_1) { _start: { @@ -818,11 +855,21 @@ lean_object* x_2; uint8_t x_3; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); lean_dec(x_1); -x_3 = l_PersistentHashMap_isEmpty___rarg(x_2); +x_3 = l_PersistentHashMap_isEmpty___at_Lean_LocalContext_isEmpty___spec__1(x_2); lean_dec(x_2); return x_3; } } +lean_object* l_PersistentHashMap_isEmpty___at_Lean_LocalContext_isEmpty___spec__1___boxed(lean_object* x_1) { +_start: +{ +uint8_t x_2; lean_object* x_3; +x_2 = l_PersistentHashMap_isEmpty___at_Lean_LocalContext_isEmpty___spec__1(x_1); +lean_dec(x_1); +x_3 = lean_box(x_2); +return x_3; +} +} lean_object* l_Lean_LocalContext_isEmpty___boxed(lean_object* x_1) { _start: { @@ -6874,7 +6921,7 @@ lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_o x_8 = lean_unsigned_to_nat(1u); x_9 = lean_nat_sub(x_4, x_8); lean_dec(x_4); -x_10 = l_Lean_exprIsInhabited; +x_10 = l_Lean_Expr_inhabited; x_11 = lean_array_get(x_10, x_3, x_9); lean_inc(x_2); x_12 = l_Lean_LocalContext_findFVar(x_2, x_11); @@ -7000,7 +7047,7 @@ lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_ob x_7 = lean_unsigned_to_nat(1u); x_8 = lean_nat_sub(x_3, x_7); lean_dec(x_3); -x_9 = l_Lean_exprIsInhabited; +x_9 = l_Lean_Expr_inhabited; x_10 = lean_array_get(x_9, x_2, x_8); lean_inc(x_1); x_11 = l_Lean_LocalContext_findFVar(x_1, x_10); @@ -7110,7 +7157,7 @@ lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_ob x_7 = lean_unsigned_to_nat(1u); x_8 = lean_nat_sub(x_3, x_7); lean_dec(x_3); -x_9 = l_Lean_exprIsInhabited; +x_9 = l_Lean_Expr_inhabited; x_10 = lean_array_get(x_9, x_2, x_8); lean_inc(x_1); x_11 = l_Lean_LocalContext_findFVar(x_1, x_10); @@ -8839,6 +8886,10 @@ l_Lean_LocalDecl_value___closed__2 = _init_l_Lean_LocalDecl_value___closed__2(); lean_mark_persistent(l_Lean_LocalDecl_value___closed__2); l_Lean_LocalContext_Inhabited___closed__1 = _init_l_Lean_LocalContext_Inhabited___closed__1(); lean_mark_persistent(l_Lean_LocalContext_Inhabited___closed__1); +l_Lean_LocalContext_Inhabited___closed__2 = _init_l_Lean_LocalContext_Inhabited___closed__2(); +lean_mark_persistent(l_Lean_LocalContext_Inhabited___closed__2); +l_Lean_LocalContext_Inhabited___closed__3 = _init_l_Lean_LocalContext_Inhabited___closed__3(); +lean_mark_persistent(l_Lean_LocalContext_Inhabited___closed__3); l_Lean_LocalContext_Inhabited = _init_l_Lean_LocalContext_Inhabited(); lean_mark_persistent(l_Lean_LocalContext_Inhabited); l_Lean_LocalContext_empty = _init_l_Lean_LocalContext_empty(); diff --git a/src/stage0/Init/Lean/Meta.c b/src/stage0/Init/Lean/Meta.c new file mode 100644 index 0000000000..a93dca5193 --- /dev/null +++ b/src/stage0/Init/Lean/Meta.c @@ -0,0 +1,17936 @@ +// Lean compiler output +// Module: Init.Lean.Meta +// Imports: Init.Control.Reader Init.Lean.NameGenerator Init.Lean.Environment Init.Lean.Trace Init.Lean.AuxRecursor Init.Lean.WHNF Init.Lean.ReducibilityAttrs +#include "runtime/lean.h" +#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 +uint8_t l_Lean_isReducible(lean_object*, lean_object*); +lean_object* l_Lean_reduceQuotRec___at___private_Init_Lean_Meta_16__whnfAux___main___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* l_Lean_whnfEasyCases___main___at___private_Init_Lean_Meta_16__whnfAux___main___spec__21___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_ConstantInfo_name(lean_object*); +lean_object* l___private_Init_Lean_Meta_3__getEnv(lean_object*); +size_t l_USize_mul(size_t, size_t); +lean_object* l_Lean_Expr_betaRev(lean_object*, lean_object*); +lean_object* lean_expr_mk_sort(lean_object*); +lean_object* l___private_Init_Lean_Meta_19__inferConstType___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_8__getOptions___boxed(lean_object*, lean_object*); +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Meta_15__cacheWHNF___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_nat_sub(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_18__inferAppType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Expr_3__getAppRevArgsAux___main(lean_object*, lean_object*); +lean_object* l_PersistentHashMap_insertAux___main___at___private_Init_Lean_Meta_23__checkInferTypeCache___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentHashMap_findAux___main___at___private_Init_Lean_Meta_23__checkInferTypeCache___spec__2(lean_object*, size_t, lean_object*); +lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_WHNF_5__toCtorWhenK___at___private_Init_Lean_Meta_16__whnfAux___main___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentHashMap_insert___at___private_Init_Lean_Meta_15__cacheWHNF___spec__1(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_reduceRec___at___private_Init_Lean_Meta_16__whnfAux___main___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* l_PersistentHashMap_insertAtCollisionNodeAux___main___at___private_Init_Lean_Meta_23__checkInferTypeCache___spec__6(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_mk_array(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at___private_Init_Lean_Meta_16__whnfAux___main___spec__30(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_3__getEnv___rarg(lean_object*); +lean_object* l___private_Init_Lean_Meta_24__inferTypeAux___main___closed__2; +size_t lean_expr_hash(lean_object*); +uint8_t l_Array_anyMAux___main___at___private_Init_Lean_WHNF_5__toCtorWhenK___spec__1(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at___private_Init_Lean_Meta_16__whnfAux___main___spec__26(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_reduceRec___at___private_Init_Lean_Meta_16__whnfAux___main___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* l_monadInhabited___rarg(lean_object*, lean_object*); +lean_object* l_List_lengthAux___main___rarg(lean_object*, lean_object*); +size_t l_USize_shift__right(size_t, size_t); +extern lean_object* l_Lean_smartUnfoldingSuffix; +lean_object* l___private_Init_Lean_Meta_15__cacheWHNF___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at___private_Init_Lean_Meta_16__whnfAux___main___spec__32(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_11__isAuxDef_x3f___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_panicWithPos___at___private_Init_Lean_Meta_16__whnfAux___main___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Nat_foldMAux___main___at___private_Init_Lean_Meta_24__inferTypeAux___main___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_Meta_TransparencyMode_beq___boxed(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_6__reduceReducibleOnly_x3f___boxed(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Expr_1__mkAppRangeAux___main(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Prod_Hashable___rarg___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_2__getMCtx___rarg(lean_object*); +lean_object* l_PersistentHashMap_findAtAux___main___at___private_Init_Lean_Meta_14__getCachedWHNF___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_TagDeclarationExtension_isTagged(lean_object*, lean_object*, lean_object*); +lean_object* lean_expr_instantiate_rev_range(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_21__inferMVarType(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_reduceRec___at___private_Init_Lean_Meta_16__whnfAux___main___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_expr_mk_app(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_4__throwEx(lean_object*); +uint8_t l_Lean_Meta_TransparencyMode_Inhabited; +lean_object* l_Lean_whnfEasyCases___main___at___private_Init_Lean_Meta_16__whnfAux___main___spec__9___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_panicWithPos___at___private_Init_Lean_Meta_16__whnfAux___main___spec__22(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +size_t l_USize_sub(size_t, size_t); +lean_object* lean_expr_instantiate1(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_11__isAuxDef_x3f(lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentHashMap_findAtAux___main___at___private_Init_Lean_Meta_23__checkInferTypeCache___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Expr_getAppFn___main(lean_object*); +lean_object* l_Lean_getStuckMVar___main___at___private_Init_Lean_Meta_16__whnfAux___main___spec__23(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_9__getTraceState(lean_object*); +lean_object* l___private_Init_Lean_Meta_14__getCachedWHNF(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_24__inferTypeAux(lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_Expr_hasLooseBVars(lean_object*); +lean_object* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at___private_Init_Lean_Meta_16__whnfAux___main___spec__28(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_WHNF_3__toCtorIfLit(lean_object*); +uint8_t l___private_Init_Lean_WHNF_6__isIdRhsApp(lean_object*); +lean_object* l___private_Init_Lean_WHNF_4__getRecRuleFor(lean_object*, lean_object*); +lean_object* l_Lean_isRecStuck___at___private_Init_Lean_Meta_16__whnfAux___main___spec__25___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at___private_Init_Lean_Meta_16__whnfAux___main___spec__27(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Literal_type(lean_object*); +lean_object* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at___private_Init_Lean_Meta_16__whnfAux___main___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_Lean_Expr_getAppNumArgsAux___main(lean_object*, lean_object*); +lean_object* l_PersistentHashMap_insertAtCollisionNodeAux___main___at___private_Init_Lean_Meta_15__cacheWHNF___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_metavar_ctx_get_expr_assignment(lean_object*, lean_object*); +lean_object* l_Lean_unfoldDefinition___at___private_Init_Lean_Meta_16__whnfAux___main___spec__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentHashMap_getCollisionNodeSize___rarg(lean_object*); +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Meta_23__checkInferTypeCache___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at___private_Init_Lean_Meta_16__whnfAux___main___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* l_PersistentHashMap_insert___at___private_Init_Lean_Meta_23__checkInferTypeCache___spec__4(lean_object*, lean_object*, lean_object*); +lean_object* lean_mk_empty_array_with_capacity(lean_object*); +lean_object* l___private_Init_Lean_WHNF_2__mkNullaryCtor___at___private_Init_Lean_Meta_16__whnfAux___main___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_tracer___closed__2; +extern lean_object* l_Lean_noConfusionExt; +lean_object* l___private_Init_Lean_WHNF_7__extractIdRhs(lean_object*); +lean_object* l_Lean_ConstantInfo_lparams(lean_object*); +lean_object* l_Lean_isRecStuck___at___private_Init_Lean_Meta_16__whnfAux___main___spec__25(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_15__cacheWHNF(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_9__getTraceState___boxed(lean_object*); +lean_object* l_Nat_repr(lean_object*); +lean_object* l_PersistentHashMap_mkCollisionNode___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_isReducible___boxed(lean_object*, lean_object*, lean_object*); +lean_object* lean_expr_mk_proj(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_6__reduceReducibleOnly_x3f(lean_object*, lean_object*); +lean_object* l_panicWithPos___at___private_Init_Lean_Meta_16__whnfAux___main___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at___private_Init_Lean_Meta_16__whnfAux___main___spec__31(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_panicWithPos___rarg___closed__3; +lean_object* lean_expr_mk_const(lean_object*, lean_object*); +lean_object* l_Array_iterateMAux___main___at_Lean_mkApp___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_10__getConst(lean_object*, lean_object*, lean_object*); +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Meta_23__checkInferTypeCache___spec__7(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_tracer___lambda__1(lean_object*, lean_object*, lean_object*); +lean_object* l_ReaderT_Monad___rarg(lean_object*); +uint8_t lean_expr_eqv(lean_object*, lean_object*); +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Meta_15__cacheWHNF___spec__4(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentHashMap_findAtAux___main___at___private_Init_Lean_Meta_23__checkInferTypeCache___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_whnfEasyCases___main___at___private_Init_Lean_Meta_16__whnfAux___main___spec__21___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_23__checkInferTypeCache(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_1__getLCtx(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_16__whnfAux___main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_isQuotRecStuck___at___private_Init_Lean_Meta_16__whnfAux___main___spec__24(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_unreachable_x21___rarg___closed__1; +lean_object* lean_string_append(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_13__getMVarAssignment___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_isQuotRecStuck___at___private_Init_Lean_Meta_16__whnfAux___main___spec__24___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_whnfEasyCases___main___at___private_Init_Lean_Meta_16__whnfAux___main___spec__21(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentHashMap_findAux___main___at___private_Init_Lean_Meta_14__getCachedWHNF___spec__2(lean_object*, size_t, lean_object*); +size_t l_USize_add(size_t, size_t); +uint8_t lean_nat_dec_lt(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_4__throwEx___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_19__inferConstType(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Nat_foldMAux___main___at___private_Init_Lean_Meta_17__getForallResultType___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_reduceQuotRec___at___private_Init_Lean_Meta_16__whnfAux___main___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* lean_name_mk_string(lean_object*, lean_object*); +lean_object* l_Lean_whnfEasyCases___main___at___private_Init_Lean_Meta_16__whnfAux___main___spec__9___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_whnfCore___main___at___private_Init_Lean_Meta_16__whnfAux___main___spec__16(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_instantiate_value_lparams(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_WHNF_8__deltaDefinition___at___private_Init_Lean_Meta_16__whnfAux___main___spec__12(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___private_Init_Lean_Meta_7__getTransparency___boxed(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Expr_2__getAppArgsAux___main(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_whnfEasyCases___main___at___private_Init_Lean_Meta_16__whnfAux___main___spec__33(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t lean_nat_dec_eq(lean_object*, lean_object*); +lean_object* l_Lean_RecursorVal_getInduct(lean_object*); +lean_object* lean_array_push(lean_object*, lean_object*); +lean_object* l_Lean_whnfCore___main___at___private_Init_Lean_Meta_16__whnfAux___main___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_panicWithPos___rarg___closed__1; +extern lean_object* l_unreachable_x21___rarg___closed__2; +lean_object* l___private_Init_Lean_Meta_10__getConst___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_tracer; +lean_object* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at___private_Init_Lean_Meta_16__whnfAux___main___spec__13(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_panicWithPos___at___private_Init_Lean_Meta_16__whnfAux___main___spec__2___closed__2; +extern size_t l_PersistentHashMap_insertAux___main___rarg___closed__2; +lean_object* l_PersistentHashMap_insertAux___main___at___private_Init_Lean_Meta_15__cacheWHNF___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_RecursorVal_getMajorIdx(lean_object*); +lean_object* l___private_Init_Lean_WHNF_2__mkNullaryCtor___at___private_Init_Lean_Meta_16__whnfAux___main___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at___private_Init_Lean_Meta_16__whnfAux___main___spec__14(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Expr_inhabited; +lean_object* l___private_Init_Lean_Meta_9__getTraceState___rarg(lean_object*); +lean_object* l_Lean_LocalDecl_type(lean_object*); +lean_object* l___private_Init_Lean_Meta_20__inferProjType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_2__getMCtx(lean_object*); +lean_object* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at___private_Init_Lean_Meta_16__whnfAux___main___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_PersistentHashMap_find___at___private_Init_Lean_Meta_23__checkInferTypeCache___spec__1___boxed(lean_object*, lean_object*); +lean_object* l_PersistentHashMap_insert___at___private_Init_Lean_Meta_15__cacheWHNF___spec__1___closed__2; +lean_object* l_panicWithPos___at___private_Init_Lean_Meta_16__whnfAux___main___spec__22___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_instantiate_lparams(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_16__whnfAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_21__inferMVarType___boxed(lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_Meta_TransparencyMode_beq(uint8_t, uint8_t); +lean_object* lean_level_mk_succ(lean_object*); +lean_object* l_Lean_reduceRec___at___private_Init_Lean_Meta_16__whnfAux___main___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* l_Array_shrink___main___rarg(lean_object*, lean_object*); +lean_object* l_panic(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_12__getLocalDecl(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_24__inferTypeAux___main(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_reduceQuotRec___at___private_Init_Lean_Meta_16__whnfAux___main___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* l___private_Init_Lean_Meta_2__getMCtx___boxed(lean_object*); +lean_object* lean_instantiate_type_lparams(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_24__inferTypeAux___main___closed__1; +lean_object* l_Nat_foldMAux___main___at___private_Init_Lean_Meta_20__inferProjType___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_17__getForallResultType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_environment_find(lean_object*, lean_object*); +size_t lean_usize_mix_hash(size_t, size_t); +lean_object* l___private_Init_Lean_Meta_8__getOptions(lean_object*, lean_object*); +lean_object* l_Lean_Meta_tracer___closed__1; +lean_object* l_PersistentHashMap_find___at___private_Init_Lean_Meta_14__getCachedWHNF___spec__1___boxed(lean_object*, lean_object*); +lean_object* l_Nat_foldMAux___main___at___private_Init_Lean_Meta_17__getForallResultType___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_panicWithPos___at___private_Init_Lean_Meta_16__whnfAux___main___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentHashMap_findAux___main___at___private_Init_Lean_Meta_23__checkInferTypeCache___spec__2___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_3__getEnv___boxed(lean_object*); +lean_object* l___private_Init_Lean_Meta_1__getLCtx___boxed(lean_object*, lean_object*); +extern lean_object* l_PersistentHashMap_insertAux___main___rarg___closed__3; +lean_object* lean_array_get_size(lean_object*); +lean_object* l_Lean_LocalDecl_valueOpt(lean_object*); +extern lean_object* l_EIO_Monad___closed__1; +lean_object* lean_array_fget(lean_object*, lean_object*); +lean_object* lean_local_ctx_find(lean_object*, lean_object*); +lean_object* l_PersistentHashMap_insert___at___private_Init_Lean_Meta_15__cacheWHNF___spec__1___closed__1; +uint8_t l_Lean_Expr_isConstOf(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_7__getTransparency(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_5__reduceAll_x3f___boxed(lean_object*, lean_object*); +lean_object* l_Lean_Expr_getRevArgD___main(lean_object*, lean_object*, lean_object*); +lean_object* lean_metavar_ctx_find_decl(lean_object*, lean_object*); +lean_object* l_Nat_foldMAux___main___at___private_Init_Lean_Meta_24__inferTypeAux___main___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_tracer___closed__4; +lean_object* l_Lean_Meta_tracer___lambda__1___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentHashMap_find___at___private_Init_Lean_Meta_14__getCachedWHNF___spec__1(lean_object*, lean_object*); +lean_object* l_Lean_Meta_TransparencyMode_Hashable___closed__1; +lean_object* l_Lean_whnfEasyCases___main___at___private_Init_Lean_Meta_16__whnfAux___main___spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_panicWithPos___at___private_Init_Lean_Meta_16__whnfAux___main___spec__2___closed__1; +extern lean_object* l_Lean_Expr_inhabited___closed__1; +lean_object* l_PersistentHashMap_insertAux___main___at___private_Init_Lean_Meta_15__cacheWHNF___spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_14__getCachedWHNF___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at___private_Init_Lean_Meta_16__whnfAux___main___spec__29(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Expr_updateFn___main(lean_object*, lean_object*); +lean_object* l_Lean_Meta_TransparencyMode_hash___boxed(lean_object*); +uint8_t l_USize_decLe(size_t, size_t); +lean_object* l_Lean_reduceQuotRec___at___private_Init_Lean_Meta_16__whnfAux___main___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*); +extern lean_object* l_panicWithPos___rarg___closed__2; +extern lean_object* l_Lean_Expr_HasBeq; +lean_object* l___private_Init_Lean_Meta_22__inferFVarType(lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_auxRecExt; +uint8_t lean_expr_has_expr_mvar(lean_object*); +extern lean_object* l_Lean_Expr_Hashable; +lean_object* l_Prod_HasBeq___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_WHNF_5__toCtorWhenK___at___private_Init_Lean_Meta_16__whnfAux___main___spec__20(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_tracer___closed__3; +lean_object* l_PersistentHashMap_find___at___private_Init_Lean_Meta_23__checkInferTypeCache___spec__1(lean_object*, lean_object*); +lean_object* l_PersistentHashMap_findAtAux___main___at___private_Init_Lean_Meta_14__getCachedWHNF___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_WHNF_10__whnfCoreUnstuck___main___at___private_Init_Lean_Meta_16__whnfAux___main___spec__15(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +size_t l_Lean_Meta_TransparencyMode_hash(uint8_t); +lean_object* l___private_Init_Lean_WHNF_5__toCtorWhenK___at___private_Init_Lean_Meta_16__whnfAux___main___spec__6___closed__1; +size_t l_USize_land(size_t, size_t); +lean_object* l___private_Init_Lean_Meta_5__reduceAll_x3f(lean_object*, lean_object*); +lean_object* l_panicWithPos___at___private_Init_Lean_Meta_16__whnfAux___main___spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_TransparencyMode_HasBeq; +lean_object* l_Lean_Meta_TransparencyMode_Hashable; +lean_object* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at___private_Init_Lean_Meta_16__whnfAux___main___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* l_PersistentHashMap_insertAux___main___at___private_Init_Lean_Meta_23__checkInferTypeCache___spec__5(lean_object*, size_t, size_t, lean_object*, lean_object*); +lean_object* lean_usize_to_nat(size_t); +lean_object* l___private_Init_Lean_Meta_18__inferAppType___at___private_Init_Lean_Meta_24__inferTypeAux___main___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_TransparencyMode_HasBeq___closed__1; +lean_object* l_Nat_foldMAux___main___at___private_Init_Lean_Meta_20__inferProjType___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_4__throwEx___rarg___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_WHNF_1__getFirstCtor___at___private_Init_Lean_Meta_16__whnfAux___main___spec__8(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_isReducible(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_20__inferProjType___at___private_Init_Lean_Meta_24__inferTypeAux___main___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_whnfEasyCases___main___at___private_Init_Lean_Meta_16__whnfAux___main___spec__21___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Meta_13__getMVarAssignment(lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentHashMap_findAux___main___at___private_Init_Lean_Meta_14__getCachedWHNF___spec__2___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_whnfEasyCases___main___at___private_Init_Lean_Meta_16__whnfAux___main___spec__9___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_Expr_isLambda(lean_object*); +uint8_t _init_l_Lean_Meta_TransparencyMode_Inhabited() { +_start: +{ +uint8_t x_1; +x_1 = 1; +return x_1; +} +} +uint8_t l_Lean_Meta_TransparencyMode_beq(uint8_t x_1, uint8_t x_2) { +_start: +{ +switch (x_1) { +case 0: +{ +lean_object* x_3; +x_3 = lean_box(x_2); +if (lean_obj_tag(x_3) == 0) +{ +uint8_t x_4; +x_4 = 1; +return x_4; +} +else +{ +uint8_t x_5; +lean_dec(x_3); +x_5 = 0; +return x_5; +} +} +case 1: +{ +lean_object* x_6; +x_6 = lean_box(x_2); +if (lean_obj_tag(x_6) == 1) +{ +uint8_t x_7; +x_7 = 1; +return x_7; +} +else +{ +uint8_t x_8; +lean_dec(x_6); +x_8 = 0; +return x_8; +} +} +default: +{ +lean_object* x_9; +x_9 = lean_box(x_2); +if (lean_obj_tag(x_9) == 2) +{ +uint8_t x_10; +x_10 = 1; +return x_10; +} +else +{ +uint8_t x_11; +lean_dec(x_9); +x_11 = 0; +return x_11; +} +} +} +} +} +lean_object* l_Lean_Meta_TransparencyMode_beq___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; uint8_t x_4; uint8_t x_5; lean_object* x_6; +x_3 = lean_unbox(x_1); +lean_dec(x_1); +x_4 = lean_unbox(x_2); +lean_dec(x_2); +x_5 = l_Lean_Meta_TransparencyMode_beq(x_3, x_4); +x_6 = lean_box(x_5); +return x_6; +} +} +lean_object* _init_l_Lean_Meta_TransparencyMode_HasBeq___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Meta_TransparencyMode_beq___boxed), 2, 0); +return x_1; +} +} +lean_object* _init_l_Lean_Meta_TransparencyMode_HasBeq() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Meta_TransparencyMode_HasBeq___closed__1; +return x_1; +} +} +size_t l_Lean_Meta_TransparencyMode_hash(uint8_t x_1) { +_start: +{ +switch (x_1) { +case 0: +{ +size_t x_2; +x_2 = 7; +return x_2; +} +case 1: +{ +size_t x_3; +x_3 = 11; +return x_3; +} +default: +{ +size_t x_4; +x_4 = 13; +return x_4; +} +} +} +} +lean_object* l_Lean_Meta_TransparencyMode_hash___boxed(lean_object* x_1) { +_start: +{ +uint8_t x_2; size_t x_3; lean_object* x_4; +x_2 = lean_unbox(x_1); +lean_dec(x_1); +x_3 = l_Lean_Meta_TransparencyMode_hash(x_2); +x_4 = lean_box_usize(x_3); +return x_4; +} +} +lean_object* _init_l_Lean_Meta_TransparencyMode_Hashable___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Meta_TransparencyMode_hash___boxed), 1, 0); +return x_1; +} +} +lean_object* _init_l_Lean_Meta_TransparencyMode_Hashable() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Meta_TransparencyMode_Hashable___closed__1; +return x_1; +} +} +lean_object* l___private_Init_Lean_Meta_1__getLCtx(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; +x_3 = lean_ctor_get(x_1, 1); +lean_inc(x_3); +x_4 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_4, 0, x_3); +lean_ctor_set(x_4, 1, x_2); +return x_4; +} +} +lean_object* l___private_Init_Lean_Meta_1__getLCtx___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l___private_Init_Lean_Meta_1__getLCtx(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} +lean_object* l___private_Init_Lean_Meta_2__getMCtx___rarg(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = lean_ctor_get(x_1, 1); +lean_inc(x_2); +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; +} +} +lean_object* l___private_Init_Lean_Meta_2__getMCtx(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l___private_Init_Lean_Meta_2__getMCtx___rarg), 1, 0); +return x_2; +} +} +lean_object* l___private_Init_Lean_Meta_2__getMCtx___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l___private_Init_Lean_Meta_2__getMCtx(x_1); +lean_dec(x_1); +return x_2; +} +} +lean_object* l___private_Init_Lean_Meta_3__getEnv___rarg(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +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; +} +} +lean_object* l___private_Init_Lean_Meta_3__getEnv(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l___private_Init_Lean_Meta_3__getEnv___rarg), 1, 0); +return x_2; +} +} +lean_object* l___private_Init_Lean_Meta_3__getEnv___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l___private_Init_Lean_Meta_3__getEnv(x_1); +lean_dec(x_1); +return x_2; +} +} +lean_object* l___private_Init_Lean_Meta_4__throwEx___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_4 = lean_ctor_get(x_3, 0); +lean_inc(x_4); +x_5 = lean_ctor_get(x_3, 1); +lean_inc(x_5); +x_6 = lean_ctor_get(x_2, 1); +lean_inc(x_6); +x_7 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_7, 0, x_4); +lean_ctor_set(x_7, 1, x_5); +lean_ctor_set(x_7, 2, x_6); +x_8 = lean_apply_1(x_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_3); +return x_9; +} +} +lean_object* l___private_Init_Lean_Meta_4__throwEx(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l___private_Init_Lean_Meta_4__throwEx___rarg___boxed), 3, 0); +return x_2; +} +} +lean_object* l___private_Init_Lean_Meta_4__throwEx___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l___private_Init_Lean_Meta_4__throwEx___rarg(x_1, x_2, x_3); +lean_dec(x_2); +return x_4; +} +} +lean_object* l___private_Init_Lean_Meta_5__reduceAll_x3f(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; uint8_t x_4; uint8_t x_5; uint8_t x_6; lean_object* x_7; lean_object* x_8; +x_3 = lean_ctor_get(x_1, 0); +x_4 = lean_ctor_get_uint8(x_3, sizeof(void*)*1 + 3); +x_5 = 0; +x_6 = l_Lean_Meta_TransparencyMode_beq(x_4, x_5); +x_7 = lean_box(x_6); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_2); +return x_8; +} +} +lean_object* l___private_Init_Lean_Meta_5__reduceAll_x3f___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l___private_Init_Lean_Meta_5__reduceAll_x3f(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} +lean_object* l___private_Init_Lean_Meta_6__reduceReducibleOnly_x3f(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; uint8_t x_4; uint8_t x_5; uint8_t x_6; lean_object* x_7; lean_object* x_8; +x_3 = lean_ctor_get(x_1, 0); +x_4 = lean_ctor_get_uint8(x_3, sizeof(void*)*1 + 3); +x_5 = 2; +x_6 = l_Lean_Meta_TransparencyMode_beq(x_4, x_5); +x_7 = lean_box(x_6); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_2); +return x_8; +} +} +lean_object* l___private_Init_Lean_Meta_6__reduceReducibleOnly_x3f___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l___private_Init_Lean_Meta_6__reduceReducibleOnly_x3f(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} +lean_object* l___private_Init_Lean_Meta_7__getTransparency(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; +x_3 = lean_ctor_get(x_1, 0); +x_4 = lean_ctor_get_uint8(x_3, sizeof(void*)*1 + 3); +x_5 = lean_box(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_2); +return x_6; +} +} +lean_object* l___private_Init_Lean_Meta_7__getTransparency___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l___private_Init_Lean_Meta_7__getTransparency(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} +lean_object* l___private_Init_Lean_Meta_8__getOptions(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_3 = lean_ctor_get(x_1, 0); +x_4 = lean_ctor_get(x_3, 0); +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_2); +return x_5; +} +} +lean_object* l___private_Init_Lean_Meta_8__getOptions___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l___private_Init_Lean_Meta_8__getOptions(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} +lean_object* l_Lean_Meta_isReducible(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; lean_object* x_6; lean_object* x_7; +x_4 = lean_ctor_get(x_3, 0); +lean_inc(x_4); +x_5 = l_Lean_isReducible(x_4, x_1); +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; +} +} +lean_object* l_Lean_Meta_isReducible___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Meta_isReducible(x_1, x_2, x_3); +lean_dec(x_2); +return x_4; +} +} +lean_object* l___private_Init_Lean_Meta_9__getTraceState___rarg(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = lean_ctor_get(x_1, 4); +lean_inc(x_2); +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; +} +} +lean_object* l___private_Init_Lean_Meta_9__getTraceState(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l___private_Init_Lean_Meta_9__getTraceState___rarg), 1, 0); +return x_2; +} +} +lean_object* l___private_Init_Lean_Meta_9__getTraceState___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l___private_Init_Lean_Meta_9__getTraceState(x_1); +lean_dec(x_1); +return x_2; +} +} +lean_object* l_Lean_Meta_tracer___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +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, 4); +x_6 = lean_apply_1(x_1, x_5); +lean_ctor_set(x_3, 4, x_6); +x_7 = lean_box(0); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_3); +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_object* x_17; lean_object* x_18; +x_9 = lean_ctor_get(x_3, 0); +x_10 = lean_ctor_get(x_3, 1); +x_11 = lean_ctor_get(x_3, 2); +x_12 = lean_ctor_get(x_3, 3); +x_13 = lean_ctor_get(x_3, 4); +x_14 = lean_ctor_get(x_3, 5); +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_dec(x_3); +x_15 = lean_apply_1(x_1, x_13); +x_16 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_16, 0, x_9); +lean_ctor_set(x_16, 1, x_10); +lean_ctor_set(x_16, 2, x_11); +lean_ctor_set(x_16, 3, x_12); +lean_ctor_set(x_16, 4, x_15); +lean_ctor_set(x_16, 5, x_14); +x_17 = lean_box(0); +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; +} +} +} +lean_object* _init_l_Lean_Meta_tracer___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Init_Lean_Meta_8__getOptions___boxed), 2, 0); +return x_1; +} +} +lean_object* _init_l_Lean_Meta_tracer___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Meta_tracer___lambda__1___boxed), 3, 0); +return x_1; +} +} +lean_object* _init_l_Lean_Meta_tracer___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Init_Lean_Meta_9__getTraceState___boxed), 1, 0); +return x_1; +} +} +lean_object* _init_l_Lean_Meta_tracer___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Meta_tracer___closed__1; +x_2 = l_Lean_Meta_tracer___closed__2; +x_3 = l_Lean_Meta_tracer___closed__3; +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; +} +} +lean_object* _init_l_Lean_Meta_tracer() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Meta_tracer___closed__4; +return x_1; +} +} +lean_object* l_Lean_Meta_tracer___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Meta_tracer___lambda__1(x_1, x_2, x_3); +lean_dec(x_2); +return x_4; +} +} +lean_object* l___private_Init_Lean_Meta_10__getConst(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; +x_4 = lean_ctor_get(x_3, 0); +lean_inc(x_4); +x_5 = lean_ctor_get(x_3, 1); +lean_inc(x_5); +lean_inc(x_1); +lean_inc(x_4); +x_6 = lean_environment_find(x_4, x_1); +if (lean_obj_tag(x_6) == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_7 = lean_ctor_get(x_2, 1); +lean_inc(x_7); +x_8 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_8, 0, x_4); +lean_ctor_set(x_8, 1, x_5); +lean_ctor_set(x_8, 2, x_7); +x_9 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_9, 0, x_1); +lean_ctor_set(x_9, 1, x_8); +x_10 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_10, 0, x_9); +lean_ctor_set(x_10, 1, x_3); +return x_10; +} +else +{ +lean_object* x_11; +lean_dec(x_5); +x_11 = lean_ctor_get(x_6, 0); +lean_inc(x_11); +if (lean_obj_tag(x_11) == 2) +{ +lean_object* x_12; uint8_t x_13; uint8_t x_14; uint8_t x_15; +lean_dec(x_11); +lean_dec(x_4); +lean_dec(x_1); +x_12 = lean_ctor_get(x_2, 0); +x_13 = lean_ctor_get_uint8(x_12, sizeof(void*)*1 + 3); +x_14 = 0; +x_15 = l_Lean_Meta_TransparencyMode_beq(x_13, x_14); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; +lean_dec(x_6); +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_3); +return x_17; +} +else +{ +lean_object* x_18; +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_6); +lean_ctor_set(x_18, 1, x_3); +return x_18; +} +} +else +{ +lean_object* x_19; uint8_t x_20; uint8_t x_21; uint8_t x_22; +lean_dec(x_11); +x_19 = lean_ctor_get(x_2, 0); +x_20 = lean_ctor_get_uint8(x_19, sizeof(void*)*1 + 3); +x_21 = 2; +x_22 = l_Lean_Meta_TransparencyMode_beq(x_20, x_21); +if (x_22 == 0) +{ +lean_object* x_23; +lean_dec(x_4); +lean_dec(x_1); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_6); +lean_ctor_set(x_23, 1, x_3); +return x_23; +} +else +{ +uint8_t x_24; +x_24 = l_Lean_isReducible(x_4, x_1); +if (x_24 == 0) +{ +lean_object* x_25; lean_object* x_26; +lean_dec(x_6); +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_3); +return x_26; +} +else +{ +lean_object* x_27; +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_6); +lean_ctor_set(x_27, 1, x_3); +return x_27; +} +} +} +} +} +} +lean_object* l___private_Init_Lean_Meta_10__getConst___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l___private_Init_Lean_Meta_10__getConst(x_1, x_2, x_3); +lean_dec(x_2); +return x_4; +} +} +lean_object* l___private_Init_Lean_Meta_11__isAuxDef_x3f(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_ctor_get(x_3, 0); +lean_inc(x_4); +x_5 = l_Lean_auxRecExt; +x_6 = l_Lean_TagDeclarationExtension_isTagged(x_5, x_4, x_1); +if (x_6 == 0) +{ +lean_object* x_7; uint8_t x_8; lean_object* x_9; lean_object* x_10; +x_7 = l_Lean_noConfusionExt; +x_8 = l_Lean_TagDeclarationExtension_isTagged(x_7, x_4, x_1); +lean_dec(x_4); +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_3); +return x_10; +} +else +{ +uint8_t x_11; lean_object* x_12; lean_object* x_13; +lean_dec(x_4); +x_11 = 1; +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_3); +return x_13; +} +} +} +lean_object* l___private_Init_Lean_Meta_11__isAuxDef_x3f___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l___private_Init_Lean_Meta_11__isAuxDef_x3f(x_1, x_2, x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_4; +} +} +lean_object* l___private_Init_Lean_Meta_12__getLocalDecl(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_2, 1); +lean_inc(x_4); +lean_dec(x_2); +lean_inc(x_1); +lean_inc(x_4); +x_5 = lean_local_ctx_find(x_4, x_1); +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; +x_6 = lean_ctor_get(x_3, 0); +lean_inc(x_6); +x_7 = lean_ctor_get(x_3, 1); +lean_inc(x_7); +x_8 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_8, 0, x_6); +lean_ctor_set(x_8, 1, x_7); +lean_ctor_set(x_8, 2, x_4); +x_9 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_9, 0, x_1); +lean_ctor_set(x_9, 1, x_8); +x_10 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_10, 0, x_9); +lean_ctor_set(x_10, 1, x_3); +return x_10; +} +else +{ +lean_object* x_11; lean_object* x_12; +lean_dec(x_4); +lean_dec(x_1); +x_11 = lean_ctor_get(x_5, 0); +lean_inc(x_11); +lean_dec(x_5); +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_12, 1, x_3); +return x_12; +} +} +} +lean_object* l___private_Init_Lean_Meta_13__getMVarAssignment(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; +x_4 = lean_ctor_get(x_3, 1); +lean_inc(x_4); +x_5 = lean_metavar_ctx_get_expr_assignment(x_4, x_1); +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; +} +} +lean_object* l___private_Init_Lean_Meta_13__getMVarAssignment___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l___private_Init_Lean_Meta_13__getMVarAssignment(x_1, x_2, x_3); +lean_dec(x_2); +return x_4; +} +} +lean_object* l_PersistentHashMap_findAtAux___main___at___private_Init_Lean_Meta_14__getCachedWHNF___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; uint8_t x_7; +x_6 = lean_array_get_size(x_1); +x_7 = lean_nat_dec_lt(x_4, x_6); +lean_dec(x_6); +if (x_7 == 0) +{ +lean_object* x_8; +lean_dec(x_5); +lean_dec(x_4); +x_8 = lean_box(0); +return x_8; +} +else +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; uint8_t x_15; uint8_t x_16; +x_9 = lean_array_fget(x_1, x_4); +x_10 = lean_ctor_get(x_5, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_5, 1); +lean_inc(x_11); +x_12 = lean_ctor_get(x_9, 0); +lean_inc(x_12); +x_13 = lean_ctor_get(x_9, 1); +lean_inc(x_13); +lean_dec(x_9); +x_14 = lean_unbox(x_10); +lean_dec(x_10); +x_15 = lean_unbox(x_12); +lean_dec(x_12); +x_16 = l_Lean_Meta_TransparencyMode_beq(x_14, x_15); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; +lean_dec(x_13); +lean_dec(x_11); +x_17 = lean_unsigned_to_nat(1u); +x_18 = lean_nat_add(x_4, x_17); +lean_dec(x_4); +x_3 = lean_box(0); +x_4 = x_18; +goto _start; +} +else +{ +uint8_t x_20; +x_20 = lean_expr_eqv(x_11, x_13); +lean_dec(x_13); +lean_dec(x_11); +if (x_20 == 0) +{ +lean_object* x_21; lean_object* x_22; +x_21 = lean_unsigned_to_nat(1u); +x_22 = lean_nat_add(x_4, x_21); +lean_dec(x_4); +x_3 = lean_box(0); +x_4 = x_22; +goto _start; +} +else +{ +lean_object* x_24; lean_object* x_25; +lean_dec(x_5); +x_24 = lean_array_fget(x_2, x_4); +lean_dec(x_4); +x_25 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_25, 0, x_24); +return x_25; +} +} +} +} +} +lean_object* l_PersistentHashMap_findAux___main___at___private_Init_Lean_Meta_14__getCachedWHNF___spec__2(lean_object* x_1, size_t x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; size_t x_5; size_t x_6; size_t x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_4 = lean_ctor_get(x_1, 0); +x_5 = 5; +x_6 = l_PersistentHashMap_insertAux___main___rarg___closed__2; +x_7 = x_2 & x_6; +x_8 = lean_usize_to_nat(x_7); +x_9 = lean_box(2); +x_10 = lean_array_get(x_9, x_4, x_8); +lean_dec(x_8); +switch (lean_obj_tag(x_10)) { +case 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; uint8_t x_18; uint8_t x_19; +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_ctor_get(x_3, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_3, 1); +lean_inc(x_14); +lean_dec(x_3); +x_15 = lean_ctor_get(x_11, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_11, 1); +lean_inc(x_16); +lean_dec(x_11); +x_17 = lean_unbox(x_13); +lean_dec(x_13); +x_18 = lean_unbox(x_15); +lean_dec(x_15); +x_19 = l_Lean_Meta_TransparencyMode_beq(x_17, x_18); +if (x_19 == 0) +{ +lean_object* x_20; +lean_dec(x_16); +lean_dec(x_14); +lean_dec(x_12); +x_20 = lean_box(0); +return x_20; +} +else +{ +uint8_t x_21; +x_21 = lean_expr_eqv(x_14, x_16); +lean_dec(x_16); +lean_dec(x_14); +if (x_21 == 0) +{ +lean_object* x_22; +lean_dec(x_12); +x_22 = lean_box(0); +return x_22; +} +else +{ +lean_object* x_23; +x_23 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_23, 0, x_12); +return x_23; +} +} +} +case 1: +{ +lean_object* x_24; size_t x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_10, 0); +lean_inc(x_24); +lean_dec(x_10); +x_25 = x_2 >> x_5; +x_26 = l_PersistentHashMap_findAux___main___at___private_Init_Lean_Meta_14__getCachedWHNF___spec__2(x_24, x_25, x_3); +lean_dec(x_24); +return x_26; +} +default: +{ +lean_object* x_27; +lean_dec(x_3); +x_27 = lean_box(0); +return x_27; +} +} +} +else +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_28 = lean_ctor_get(x_1, 0); +x_29 = lean_ctor_get(x_1, 1); +x_30 = lean_unsigned_to_nat(0u); +x_31 = l_PersistentHashMap_findAtAux___main___at___private_Init_Lean_Meta_14__getCachedWHNF___spec__3(x_28, x_29, lean_box(0), x_30, x_3); +return x_31; +} +} +} +lean_object* l_PersistentHashMap_find___at___private_Init_Lean_Meta_14__getCachedWHNF___spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; size_t x_7; size_t x_8; size_t x_9; lean_object* x_10; +x_3 = lean_ctor_get(x_1, 0); +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_unbox(x_4); +lean_dec(x_4); +x_7 = l_Lean_Meta_TransparencyMode_hash(x_6); +x_8 = lean_expr_hash(x_5); +lean_dec(x_5); +x_9 = lean_usize_mix_hash(x_7, x_8); +x_10 = l_PersistentHashMap_findAux___main___at___private_Init_Lean_Meta_14__getCachedWHNF___spec__2(x_3, x_9, x_2); +return x_10; +} +} +lean_object* l___private_Init_Lean_Meta_14__getCachedWHNF(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +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; +x_4 = lean_ctor_get(x_2, 0); +x_5 = lean_ctor_get_uint8(x_4, sizeof(void*)*1 + 3); +x_6 = lean_ctor_get(x_3, 2); +lean_inc(x_6); +x_7 = lean_ctor_get(x_6, 0); +lean_inc(x_7); +lean_dec(x_6); +x_8 = lean_box(x_5); +x_9 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_9, 0, x_8); +lean_ctor_set(x_9, 1, x_1); +x_10 = l_PersistentHashMap_find___at___private_Init_Lean_Meta_14__getCachedWHNF___spec__1(x_7, x_9); +lean_dec(x_7); +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; +} +} +lean_object* l_PersistentHashMap_findAtAux___main___at___private_Init_Lean_Meta_14__getCachedWHNF___spec__3___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_PersistentHashMap_findAtAux___main___at___private_Init_Lean_Meta_14__getCachedWHNF___spec__3(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_2); +lean_dec(x_1); +return x_6; +} +} +lean_object* l_PersistentHashMap_findAux___main___at___private_Init_Lean_Meta_14__getCachedWHNF___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +size_t x_4; lean_object* x_5; +x_4 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_5 = l_PersistentHashMap_findAux___main___at___private_Init_Lean_Meta_14__getCachedWHNF___spec__2(x_1, x_4, x_3); +lean_dec(x_1); +return x_5; +} +} +lean_object* l_PersistentHashMap_find___at___private_Init_Lean_Meta_14__getCachedWHNF___spec__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_PersistentHashMap_find___at___private_Init_Lean_Meta_14__getCachedWHNF___spec__1(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} +lean_object* l___private_Init_Lean_Meta_14__getCachedWHNF___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l___private_Init_Lean_Meta_14__getCachedWHNF(x_1, x_2, x_3); +lean_dec(x_2); +return x_4; +} +} +lean_object* l_PersistentHashMap_insertAtCollisionNodeAux___main___at___private_Init_Lean_Meta_15__cacheWHNF___spec__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; lean_object* x_7; uint8_t x_8; +x_5 = lean_ctor_get(x_1, 0); +lean_inc(x_5); +x_6 = lean_ctor_get(x_1, 1); +lean_inc(x_6); +x_7 = lean_array_get_size(x_5); +x_8 = lean_nat_dec_lt(x_2, x_7); +lean_dec(x_7); +if (x_8 == 0) +{ +uint8_t x_9; +lean_dec(x_2); +x_9 = !lean_is_exclusive(x_1); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_10 = lean_ctor_get(x_1, 1); +lean_dec(x_10); +x_11 = lean_ctor_get(x_1, 0); +lean_dec(x_11); +x_12 = lean_array_push(x_5, x_3); +x_13 = lean_array_push(x_6, x_4); +lean_ctor_set(x_1, 1, x_13); +lean_ctor_set(x_1, 0, x_12); +return x_1; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +lean_dec(x_1); +x_14 = lean_array_push(x_5, x_3); +x_15 = lean_array_push(x_6, x_4); +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; +} +} +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; uint8_t x_23; uint8_t x_24; +x_17 = lean_array_fget(x_5, x_2); +x_18 = lean_ctor_get(x_3, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_3, 1); +lean_inc(x_19); +x_20 = lean_ctor_get(x_17, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_17, 1); +lean_inc(x_21); +lean_dec(x_17); +x_22 = lean_unbox(x_18); +lean_dec(x_18); +x_23 = lean_unbox(x_20); +lean_dec(x_20); +x_24 = l_Lean_Meta_TransparencyMode_beq(x_22, x_23); +if (x_24 == 0) +{ +lean_object* x_25; lean_object* x_26; +lean_dec(x_21); +lean_dec(x_19); +lean_dec(x_6); +lean_dec(x_5); +x_25 = lean_unsigned_to_nat(1u); +x_26 = lean_nat_add(x_2, x_25); +lean_dec(x_2); +x_2 = x_26; +goto _start; +} +else +{ +uint8_t x_28; +x_28 = lean_expr_eqv(x_19, x_21); +lean_dec(x_21); +lean_dec(x_19); +if (x_28 == 0) +{ +lean_object* x_29; lean_object* x_30; +lean_dec(x_6); +lean_dec(x_5); +x_29 = lean_unsigned_to_nat(1u); +x_30 = lean_nat_add(x_2, x_29); +lean_dec(x_2); +x_2 = x_30; +goto _start; +} +else +{ +uint8_t x_32; +x_32 = !lean_is_exclusive(x_1); +if (x_32 == 0) +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_33 = lean_ctor_get(x_1, 1); +lean_dec(x_33); +x_34 = lean_ctor_get(x_1, 0); +lean_dec(x_34); +x_35 = lean_array_fset(x_5, x_2, x_3); +x_36 = lean_array_fset(x_6, x_2, x_4); +lean_dec(x_2); +lean_ctor_set(x_1, 1, x_36); +lean_ctor_set(x_1, 0, x_35); +return x_1; +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; +lean_dec(x_1); +x_37 = lean_array_fset(x_5, x_2, x_3); +x_38 = lean_array_fset(x_6, x_2, x_4); +lean_dec(x_2); +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_object* l_Array_iterateMAux___main___at___private_Init_Lean_Meta_15__cacheWHNF___spec__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) { +_start: +{ +lean_object* x_7; uint8_t x_8; +x_7 = lean_array_get_size(x_4); +x_8 = lean_nat_dec_lt(x_5, x_7); +lean_dec(x_7); +if (x_8 == 0) +{ +lean_dec(x_5); +return x_6; +} +else +{ +lean_object* x_9; lean_object* x_10; size_t x_11; size_t 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; uint8_t x_19; size_t x_20; size_t x_21; size_t x_22; size_t x_23; lean_object* x_24; +x_9 = lean_array_fget(x_4, x_5); +x_10 = lean_array_fget(x_3, x_5); +x_11 = 1; +x_12 = x_1 - x_11; +x_13 = 5; +x_14 = x_13 * x_12; +x_15 = lean_unsigned_to_nat(1u); +x_16 = lean_nat_add(x_5, x_15); +lean_dec(x_5); +x_17 = lean_ctor_get(x_9, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_9, 1); +lean_inc(x_18); +x_19 = lean_unbox(x_17); +lean_dec(x_17); +x_20 = l_Lean_Meta_TransparencyMode_hash(x_19); +x_21 = lean_expr_hash(x_18); +lean_dec(x_18); +x_22 = lean_usize_mix_hash(x_20, x_21); +x_23 = x_22 >> x_14; +x_24 = l_PersistentHashMap_insertAux___main___at___private_Init_Lean_Meta_15__cacheWHNF___spec__2(x_6, x_23, x_1, x_9, x_10); +x_5 = x_16; +x_6 = x_24; +goto _start; +} +} +} +lean_object* l_PersistentHashMap_insertAux___main___at___private_Init_Lean_Meta_15__cacheWHNF___spec__2(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) +{ +uint8_t x_6; +x_6 = !lean_is_exclusive(x_1); +if (x_6 == 0) +{ +lean_object* x_7; size_t x_8; size_t x_9; size_t x_10; size_t x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_7 = lean_ctor_get(x_1, 0); +x_8 = 1; +x_9 = 5; +x_10 = l_PersistentHashMap_insertAux___main___rarg___closed__2; +x_11 = x_2 & x_10; +x_12 = lean_usize_to_nat(x_11); +x_13 = lean_array_get_size(x_7); +x_14 = lean_nat_dec_lt(x_12, x_13); +lean_dec(x_13); +if (x_14 == 0) +{ +lean_dec(x_12); +lean_dec(x_5); +lean_dec(x_4); +return x_1; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_array_fget(x_7, x_12); +x_16 = lean_box(2); +x_17 = lean_array_fset(x_7, x_12, x_16); +switch (lean_obj_tag(x_15)) { +case 0: +{ +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; uint8_t x_25; uint8_t x_26; uint8_t x_27; +x_19 = lean_ctor_get(x_15, 0); +x_20 = lean_ctor_get(x_15, 1); +x_21 = lean_ctor_get(x_4, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_4, 1); +lean_inc(x_22); +x_23 = lean_ctor_get(x_19, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_19, 1); +lean_inc(x_24); +x_25 = lean_unbox(x_21); +lean_dec(x_21); +x_26 = lean_unbox(x_23); +lean_dec(x_23); +x_27 = l_Lean_Meta_TransparencyMode_beq(x_25, x_26); +if (x_27 == 0) +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; +lean_dec(x_24); +lean_dec(x_22); +lean_free_object(x_15); +x_28 = l_PersistentHashMap_mkCollisionNode___rarg(x_19, x_20, x_4, x_5); +x_29 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_29, 0, x_28); +x_30 = lean_array_fset(x_17, x_12, x_29); +lean_dec(x_12); +lean_ctor_set(x_1, 0, x_30); +return x_1; +} +else +{ +uint8_t x_31; +x_31 = lean_expr_eqv(x_22, x_24); +lean_dec(x_24); +lean_dec(x_22); +if (x_31 == 0) +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +lean_free_object(x_15); +x_32 = l_PersistentHashMap_mkCollisionNode___rarg(x_19, x_20, x_4, x_5); +x_33 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_33, 0, x_32); +x_34 = lean_array_fset(x_17, x_12, x_33); +lean_dec(x_12); +lean_ctor_set(x_1, 0, x_34); +return x_1; +} +else +{ +lean_object* x_35; +lean_dec(x_20); +lean_dec(x_19); +lean_ctor_set(x_15, 1, x_5); +lean_ctor_set(x_15, 0, x_4); +x_35 = lean_array_fset(x_17, x_12, x_15); +lean_dec(x_12); +lean_ctor_set(x_1, 0, x_35); +return x_1; +} +} +} +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; uint8_t x_42; uint8_t x_43; uint8_t x_44; +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_ctor_get(x_4, 0); +lean_inc(x_38); +x_39 = lean_ctor_get(x_4, 1); +lean_inc(x_39); +x_40 = lean_ctor_get(x_36, 0); +lean_inc(x_40); +x_41 = lean_ctor_get(x_36, 1); +lean_inc(x_41); +x_42 = lean_unbox(x_38); +lean_dec(x_38); +x_43 = lean_unbox(x_40); +lean_dec(x_40); +x_44 = l_Lean_Meta_TransparencyMode_beq(x_42, x_43); +if (x_44 == 0) +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; +lean_dec(x_41); +lean_dec(x_39); +x_45 = l_PersistentHashMap_mkCollisionNode___rarg(x_36, x_37, x_4, x_5); +x_46 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_46, 0, x_45); +x_47 = lean_array_fset(x_17, x_12, x_46); +lean_dec(x_12); +lean_ctor_set(x_1, 0, x_47); +return x_1; +} +else +{ +uint8_t x_48; +x_48 = lean_expr_eqv(x_39, x_41); +lean_dec(x_41); +lean_dec(x_39); +if (x_48 == 0) +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_49 = l_PersistentHashMap_mkCollisionNode___rarg(x_36, x_37, x_4, x_5); +x_50 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_50, 0, x_49); +x_51 = lean_array_fset(x_17, x_12, x_50); +lean_dec(x_12); +lean_ctor_set(x_1, 0, x_51); +return x_1; +} +else +{ +lean_object* x_52; lean_object* x_53; +lean_dec(x_37); +lean_dec(x_36); +x_52 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_52, 0, x_4); +lean_ctor_set(x_52, 1, x_5); +x_53 = lean_array_fset(x_17, x_12, x_52); +lean_dec(x_12); +lean_ctor_set(x_1, 0, x_53); +return x_1; +} +} +} +} +case 1: +{ +uint8_t x_54; +x_54 = !lean_is_exclusive(x_15); +if (x_54 == 0) +{ +lean_object* x_55; size_t x_56; size_t x_57; lean_object* x_58; lean_object* x_59; +x_55 = lean_ctor_get(x_15, 0); +x_56 = x_2 >> x_9; +x_57 = x_3 + x_8; +x_58 = l_PersistentHashMap_insertAux___main___at___private_Init_Lean_Meta_15__cacheWHNF___spec__2(x_55, x_56, x_57, x_4, x_5); +lean_ctor_set(x_15, 0, x_58); +x_59 = lean_array_fset(x_17, x_12, x_15); +lean_dec(x_12); +lean_ctor_set(x_1, 0, x_59); +return x_1; +} +else +{ +lean_object* x_60; size_t x_61; size_t x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; +x_60 = lean_ctor_get(x_15, 0); +lean_inc(x_60); +lean_dec(x_15); +x_61 = x_2 >> x_9; +x_62 = x_3 + x_8; +x_63 = l_PersistentHashMap_insertAux___main___at___private_Init_Lean_Meta_15__cacheWHNF___spec__2(x_60, x_61, x_62, x_4, x_5); +x_64 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_64, 0, x_63); +x_65 = lean_array_fset(x_17, x_12, x_64); +lean_dec(x_12); +lean_ctor_set(x_1, 0, x_65); +return x_1; +} +} +default: +{ +lean_object* x_66; lean_object* x_67; +x_66 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_66, 0, x_4); +lean_ctor_set(x_66, 1, x_5); +x_67 = lean_array_fset(x_17, x_12, x_66); +lean_dec(x_12); +lean_ctor_set(x_1, 0, x_67); +return x_1; +} +} +} +} +else +{ +lean_object* x_68; size_t x_69; size_t x_70; size_t x_71; size_t x_72; lean_object* x_73; lean_object* x_74; uint8_t x_75; +x_68 = lean_ctor_get(x_1, 0); +lean_inc(x_68); +lean_dec(x_1); +x_69 = 1; +x_70 = 5; +x_71 = l_PersistentHashMap_insertAux___main___rarg___closed__2; +x_72 = x_2 & x_71; +x_73 = lean_usize_to_nat(x_72); +x_74 = lean_array_get_size(x_68); +x_75 = lean_nat_dec_lt(x_73, x_74); +lean_dec(x_74); +if (x_75 == 0) +{ +lean_object* x_76; +lean_dec(x_73); +lean_dec(x_5); +lean_dec(x_4); +x_76 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_76, 0, x_68); +return x_76; +} +else +{ +lean_object* x_77; lean_object* x_78; lean_object* x_79; +x_77 = lean_array_fget(x_68, x_73); +x_78 = lean_box(2); +x_79 = lean_array_fset(x_68, x_73, x_78); +switch (lean_obj_tag(x_77)) { +case 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; uint8_t x_87; uint8_t x_88; uint8_t x_89; +x_80 = lean_ctor_get(x_77, 0); +lean_inc(x_80); +x_81 = lean_ctor_get(x_77, 1); +lean_inc(x_81); +if (lean_is_exclusive(x_77)) { + lean_ctor_release(x_77, 0); + lean_ctor_release(x_77, 1); + x_82 = x_77; +} else { + lean_dec_ref(x_77); + x_82 = lean_box(0); +} +x_83 = lean_ctor_get(x_4, 0); +lean_inc(x_83); +x_84 = lean_ctor_get(x_4, 1); +lean_inc(x_84); +x_85 = lean_ctor_get(x_80, 0); +lean_inc(x_85); +x_86 = lean_ctor_get(x_80, 1); +lean_inc(x_86); +x_87 = lean_unbox(x_83); +lean_dec(x_83); +x_88 = lean_unbox(x_85); +lean_dec(x_85); +x_89 = l_Lean_Meta_TransparencyMode_beq(x_87, x_88); +if (x_89 == 0) +{ +lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; +lean_dec(x_86); +lean_dec(x_84); +lean_dec(x_82); +x_90 = l_PersistentHashMap_mkCollisionNode___rarg(x_80, x_81, x_4, x_5); +x_91 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_91, 0, x_90); +x_92 = lean_array_fset(x_79, x_73, x_91); +lean_dec(x_73); +x_93 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_93, 0, x_92); +return x_93; +} +else +{ +uint8_t x_94; +x_94 = lean_expr_eqv(x_84, x_86); +lean_dec(x_86); +lean_dec(x_84); +if (x_94 == 0) +{ +lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; +lean_dec(x_82); +x_95 = l_PersistentHashMap_mkCollisionNode___rarg(x_80, x_81, x_4, x_5); +x_96 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_96, 0, x_95); +x_97 = lean_array_fset(x_79, x_73, x_96); +lean_dec(x_73); +x_98 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_98, 0, x_97); +return x_98; +} +else +{ +lean_object* x_99; lean_object* x_100; lean_object* x_101; +lean_dec(x_81); +lean_dec(x_80); +if (lean_is_scalar(x_82)) { + x_99 = lean_alloc_ctor(0, 2, 0); +} else { + x_99 = x_82; +} +lean_ctor_set(x_99, 0, x_4); +lean_ctor_set(x_99, 1, x_5); +x_100 = lean_array_fset(x_79, x_73, x_99); +lean_dec(x_73); +x_101 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_101, 0, x_100); +return x_101; +} +} +} +case 1: +{ +lean_object* x_102; lean_object* x_103; size_t x_104; size_t x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; +x_102 = lean_ctor_get(x_77, 0); +lean_inc(x_102); +if (lean_is_exclusive(x_77)) { + lean_ctor_release(x_77, 0); + x_103 = x_77; +} else { + lean_dec_ref(x_77); + x_103 = lean_box(0); +} +x_104 = x_2 >> x_70; +x_105 = x_3 + x_69; +x_106 = l_PersistentHashMap_insertAux___main___at___private_Init_Lean_Meta_15__cacheWHNF___spec__2(x_102, x_104, x_105, x_4, x_5); +if (lean_is_scalar(x_103)) { + x_107 = lean_alloc_ctor(1, 1, 0); +} else { + x_107 = x_103; +} +lean_ctor_set(x_107, 0, x_106); +x_108 = lean_array_fset(x_79, x_73, x_107); +lean_dec(x_73); +x_109 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_109, 0, x_108); +return x_109; +} +default: +{ +lean_object* x_110; lean_object* x_111; lean_object* x_112; +x_110 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_110, 0, x_4); +lean_ctor_set(x_110, 1, x_5); +x_111 = lean_array_fset(x_79, x_73, x_110); +lean_dec(x_73); +x_112 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_112, 0, x_111); +return x_112; +} +} +} +} +} +else +{ +lean_object* x_113; lean_object* x_114; size_t x_115; uint8_t x_116; +x_113 = lean_unsigned_to_nat(0u); +x_114 = l_PersistentHashMap_insertAtCollisionNodeAux___main___at___private_Init_Lean_Meta_15__cacheWHNF___spec__3(x_1, x_113, x_4, x_5); +x_115 = 7; +x_116 = x_115 <= x_3; +if (x_116 == 0) +{ +lean_object* x_117; lean_object* x_118; uint8_t x_119; +x_117 = l_PersistentHashMap_getCollisionNodeSize___rarg(x_114); +x_118 = lean_unsigned_to_nat(4u); +x_119 = lean_nat_dec_lt(x_117, x_118); +lean_dec(x_117); +if (x_119 == 0) +{ +lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; +x_120 = lean_ctor_get(x_114, 0); +lean_inc(x_120); +x_121 = lean_ctor_get(x_114, 1); +lean_inc(x_121); +lean_dec(x_114); +x_122 = l_PersistentHashMap_insertAux___main___rarg___closed__3; +x_123 = l_Array_iterateMAux___main___at___private_Init_Lean_Meta_15__cacheWHNF___spec__4(x_3, x_120, x_121, x_120, x_113, x_122); +lean_dec(x_121); +lean_dec(x_120); +return x_123; +} +else +{ +return x_114; +} +} +else +{ +return x_114; +} +} +} +} +lean_object* _init_l_PersistentHashMap_insert___at___private_Init_Lean_Meta_15__cacheWHNF___spec__1___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Meta_TransparencyMode_HasBeq; +x_2 = l_Lean_Expr_HasBeq; +x_3 = lean_alloc_closure((void*)(l_Prod_HasBeq___rarg), 4, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* _init_l_PersistentHashMap_insert___at___private_Init_Lean_Meta_15__cacheWHNF___spec__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Meta_TransparencyMode_Hashable; +x_2 = l_Lean_Expr_Hashable; +x_3 = lean_alloc_closure((void*)(l_Prod_Hashable___rarg___boxed), 3, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* l_PersistentHashMap_insert___at___private_Init_Lean_Meta_15__cacheWHNF___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_1); +if (x_4 == 0) +{ +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; uint8_t x_12; size_t x_13; size_t x_14; size_t x_15; lean_object* x_16; +x_5 = lean_ctor_get(x_1, 0); +x_6 = lean_ctor_get(x_1, 1); +x_7 = 1; +x_8 = lean_unsigned_to_nat(1u); +x_9 = lean_nat_add(x_6, x_8); +lean_dec(x_6); +x_10 = lean_ctor_get(x_2, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_2, 1); +lean_inc(x_11); +x_12 = lean_unbox(x_10); +lean_dec(x_10); +x_13 = l_Lean_Meta_TransparencyMode_hash(x_12); +x_14 = lean_expr_hash(x_11); +lean_dec(x_11); +x_15 = lean_usize_mix_hash(x_13, x_14); +x_16 = l_PersistentHashMap_insertAux___main___at___private_Init_Lean_Meta_15__cacheWHNF___spec__2(x_5, x_15, x_7, x_2, x_3); +lean_ctor_set(x_1, 1, x_9); +lean_ctor_set(x_1, 0, x_16); +return x_1; +} +else +{ +lean_object* x_17; lean_object* x_18; size_t x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; size_t x_25; size_t x_26; size_t x_27; lean_object* x_28; lean_object* x_29; +x_17 = lean_ctor_get(x_1, 0); +x_18 = lean_ctor_get(x_1, 1); +lean_inc(x_18); +lean_inc(x_17); +lean_dec(x_1); +x_19 = 1; +x_20 = lean_unsigned_to_nat(1u); +x_21 = lean_nat_add(x_18, x_20); +lean_dec(x_18); +x_22 = lean_ctor_get(x_2, 0); +lean_inc(x_22); +x_23 = lean_ctor_get(x_2, 1); +lean_inc(x_23); +x_24 = lean_unbox(x_22); +lean_dec(x_22); +x_25 = l_Lean_Meta_TransparencyMode_hash(x_24); +x_26 = lean_expr_hash(x_23); +lean_dec(x_23); +x_27 = lean_usize_mix_hash(x_25, x_26); +x_28 = l_PersistentHashMap_insertAux___main___at___private_Init_Lean_Meta_15__cacheWHNF___spec__2(x_17, x_27, x_19, x_2, x_3); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_29, 1, x_21); +return x_29; +} +} +} +lean_object* l___private_Init_Lean_Meta_15__cacheWHNF(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, 2); +lean_inc(x_5); +x_6 = !lean_is_exclusive(x_4); +if (x_6 == 0) +{ +lean_object* x_7; uint8_t x_8; lean_object* x_9; uint8_t x_10; +x_7 = lean_ctor_get(x_3, 0); +x_8 = lean_ctor_get_uint8(x_7, sizeof(void*)*1 + 3); +x_9 = lean_ctor_get(x_4, 2); +lean_dec(x_9); +x_10 = !lean_is_exclusive(x_5); +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; +x_11 = lean_ctor_get(x_5, 0); +x_12 = lean_box(x_8); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_1); +x_14 = l_PersistentHashMap_insert___at___private_Init_Lean_Meta_15__cacheWHNF___spec__1(x_11, x_13, x_2); +lean_ctor_set(x_5, 0, x_14); +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_4); +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; lean_object* x_24; +x_17 = lean_ctor_get(x_5, 0); +x_18 = lean_ctor_get(x_5, 1); +lean_inc(x_18); +lean_inc(x_17); +lean_dec(x_5); +x_19 = lean_box(x_8); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_1); +x_21 = l_PersistentHashMap_insert___at___private_Init_Lean_Meta_15__cacheWHNF___spec__1(x_17, x_20, x_2); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_18); +lean_ctor_set(x_4, 2, x_22); +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_4); +return x_24; +} +} +else +{ +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; 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_25 = lean_ctor_get(x_3, 0); +x_26 = lean_ctor_get_uint8(x_25, sizeof(void*)*1 + 3); +x_27 = lean_ctor_get(x_4, 0); +x_28 = lean_ctor_get(x_4, 1); +x_29 = lean_ctor_get(x_4, 3); +x_30 = lean_ctor_get(x_4, 4); +x_31 = lean_ctor_get(x_4, 5); +lean_inc(x_31); +lean_inc(x_30); +lean_inc(x_29); +lean_inc(x_28); +lean_inc(x_27); +lean_dec(x_4); +x_32 = lean_ctor_get(x_5, 0); +lean_inc(x_32); +x_33 = lean_ctor_get(x_5, 1); +lean_inc(x_33); +if (lean_is_exclusive(x_5)) { + lean_ctor_release(x_5, 0); + lean_ctor_release(x_5, 1); + x_34 = x_5; +} else { + lean_dec_ref(x_5); + x_34 = lean_box(0); +} +x_35 = lean_box(x_26); +x_36 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_36, 0, x_35); +lean_ctor_set(x_36, 1, x_1); +x_37 = l_PersistentHashMap_insert___at___private_Init_Lean_Meta_15__cacheWHNF___spec__1(x_32, x_36, x_2); +if (lean_is_scalar(x_34)) { + x_38 = lean_alloc_ctor(0, 2, 0); +} else { + x_38 = x_34; +} +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_33); +x_39 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_39, 0, x_27); +lean_ctor_set(x_39, 1, x_28); +lean_ctor_set(x_39, 2, x_38); +lean_ctor_set(x_39, 3, x_29); +lean_ctor_set(x_39, 4, x_30); +lean_ctor_set(x_39, 5, x_31); +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; +} +} +} +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Meta_15__cacheWHNF___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: +{ +size_t x_7; lean_object* x_8; +x_7 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_8 = l_Array_iterateMAux___main___at___private_Init_Lean_Meta_15__cacheWHNF___spec__4(x_7, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_8; +} +} +lean_object* l_PersistentHashMap_insertAux___main___at___private_Init_Lean_Meta_15__cacheWHNF___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +size_t x_6; size_t x_7; lean_object* x_8; +x_6 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_7 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_8 = l_PersistentHashMap_insertAux___main___at___private_Init_Lean_Meta_15__cacheWHNF___spec__2(x_1, x_6, x_7, x_4, x_5); +return x_8; +} +} +lean_object* l___private_Init_Lean_Meta_15__cacheWHNF___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l___private_Init_Lean_Meta_15__cacheWHNF(x_1, x_2, x_3, x_4); +lean_dec(x_3); +return x_5; +} +} +lean_object* _init_l_panicWithPos___at___private_Init_Lean_Meta_16__whnfAux___main___spec__2___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_EIO_Monad___closed__1; +x_2 = l_ReaderT_Monad___rarg(x_1); +return x_2; +} +} +lean_object* _init_l_panicWithPos___at___private_Init_Lean_Meta_16__whnfAux___main___spec__2___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_panicWithPos___at___private_Init_Lean_Meta_16__whnfAux___main___spec__2___closed__1; +x_2 = l_Lean_Expr_inhabited; +x_3 = l_monadInhabited___rarg(x_1, x_2); +return x_3; +} +} +lean_object* l_panicWithPos___at___private_Init_Lean_Meta_16__whnfAux___main___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; 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_7 = l_panicWithPos___rarg___closed__1; +x_8 = lean_string_append(x_7, x_1); +x_9 = l_panicWithPos___rarg___closed__2; +x_10 = lean_string_append(x_8, x_9); +x_11 = l_Nat_repr(x_2); +x_12 = lean_string_append(x_10, x_11); +lean_dec(x_11); +x_13 = l_panicWithPos___rarg___closed__2; +x_14 = lean_string_append(x_12, x_13); +x_15 = l_Nat_repr(x_3); +x_16 = lean_string_append(x_14, x_15); +lean_dec(x_15); +x_17 = l_panicWithPos___rarg___closed__3; +x_18 = lean_string_append(x_16, x_17); +x_19 = lean_string_append(x_18, x_4); +x_20 = l_panicWithPos___at___private_Init_Lean_Meta_16__whnfAux___main___spec__2___closed__2; +x_21 = lean_panic_fn(x_19); +x_22 = lean_apply_2(x_21, x_5, x_6); +return x_22; +} +} +lean_object* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at___private_Init_Lean_Meta_16__whnfAux___main___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; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_12 = l_Lean_ConstantInfo_lparams(x_7); +x_13 = lean_unsigned_to_nat(0u); +x_14 = l_List_lengthAux___main___rarg(x_12, x_13); +lean_dec(x_12); +x_15 = l_List_lengthAux___main___rarg(x_8, x_13); +x_16 = lean_nat_dec_eq(x_14, x_15); +lean_dec(x_15); +lean_dec(x_14); +if (x_16 == 0) +{ +uint8_t x_17; +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_17 = lean_expr_eqv(x_5, x_6); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; +x_18 = l_Lean_Expr_updateFn___main(x_4, x_6); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_11); +return x_19; +} +else +{ +lean_object* x_20; +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_4); +lean_ctor_set(x_20, 1, x_11); +return x_20; +} +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +lean_dec(x_4); +x_21 = lean_instantiate_value_lparams(x_7, x_8); +x_22 = l_Lean_Expr_betaRev(x_21, x_9); +lean_dec(x_21); +x_23 = l___private_Init_Lean_WHNF_7__extractIdRhs(x_22); +x_24 = l_Lean_whnfCore___main___at___private_Init_Lean_Meta_16__whnfAux___main___spec__1(x_1, x_2, x_3, x_23, x_10, x_11); +return x_24; +} +} +} +lean_object* l_Lean_reduceQuotRec___at___private_Init_Lean_Meta_16__whnfAux___main___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) { +_start: +{ +lean_object* x_12; lean_object* x_13; uint8_t x_115; lean_object* x_116; +x_115 = lean_ctor_get_uint8(x_7, sizeof(void*)*1); +x_116 = lean_box(x_115); +switch (lean_obj_tag(x_116)) { +case 2: +{ +lean_object* x_117; lean_object* x_118; +x_117 = lean_unsigned_to_nat(5u); +x_118 = lean_unsigned_to_nat(3u); +x_12 = x_117; +x_13 = x_118; +goto block_114; +} +case 3: +{ +lean_object* x_119; lean_object* x_120; +x_119 = lean_unsigned_to_nat(4u); +x_120 = lean_unsigned_to_nat(3u); +x_12 = x_119; +x_13 = x_120; +goto block_114; +} +default: +{ +uint8_t x_121; +lean_dec(x_116); +lean_dec(x_10); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_121 = lean_expr_eqv(x_5, x_6); +if (x_121 == 0) +{ +lean_object* x_122; lean_object* x_123; +x_122 = l_Lean_Expr_updateFn___main(x_4, x_6); +x_123 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_123, 0, x_122); +lean_ctor_set(x_123, 1, x_11); +return x_123; +} +else +{ +lean_object* x_124; +x_124 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_124, 0, x_4); +lean_ctor_set(x_124, 1, x_11); +return x_124; +} +} +} +block_114: +{ +lean_object* x_14; uint8_t x_15; +x_14 = lean_array_get_size(x_9); +x_15 = lean_nat_dec_lt(x_12, x_14); +if (x_15 == 0) +{ +uint8_t x_16; +lean_dec(x_14); +lean_dec(x_10); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_16 = lean_expr_eqv(x_5, x_6); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; +x_17 = l_Lean_Expr_updateFn___main(x_4, x_6); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_11); +return x_18; +} +else +{ +lean_object* x_19; +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_4); +lean_ctor_set(x_19, 1, x_11); +return x_19; +} +} +else +{ +lean_object* x_20; lean_object* x_21; +x_20 = lean_array_fget(x_9, x_12); +lean_inc(x_10); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +x_21 = l_Lean_whnfEasyCases___main___at___private_Init_Lean_Meta_16__whnfAux___main___spec__33(x_1, x_2, x_3, x_20, x_10, x_11); +if (lean_obj_tag(x_21) == 0) +{ +lean_object* x_22; +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); +if (lean_obj_tag(x_22) == 5) +{ +lean_object* x_23; +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +if (lean_obj_tag(x_23) == 5) +{ +lean_object* x_24; +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +lean_dec(x_23); +if (lean_obj_tag(x_24) == 5) +{ +lean_object* x_25; +x_25 = lean_ctor_get(x_24, 0); +lean_inc(x_25); +lean_dec(x_24); +if (lean_obj_tag(x_25) == 4) +{ +lean_object* x_26; lean_object* 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 = lean_ctor_get(x_22, 1); +lean_inc(x_27); +lean_dec(x_22); +x_28 = lean_ctor_get(x_25, 0); +lean_inc(x_28); +lean_dec(x_25); +x_29 = l___private_Init_Lean_Meta_10__getConst(x_28, x_10, x_26); +if (lean_obj_tag(x_29) == 0) +{ +lean_object* x_30; +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +if (lean_obj_tag(x_30) == 0) +{ +uint8_t x_31; +lean_dec(x_27); +lean_dec(x_14); +lean_dec(x_10); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_31 = !lean_is_exclusive(x_29); +if (x_31 == 0) +{ +lean_object* x_32; uint8_t x_33; +x_32 = lean_ctor_get(x_29, 0); +lean_dec(x_32); +x_33 = lean_expr_eqv(x_5, x_6); +if (x_33 == 0) +{ +lean_object* x_34; +x_34 = l_Lean_Expr_updateFn___main(x_4, x_6); +lean_ctor_set(x_29, 0, x_34); +return x_29; +} +else +{ +lean_ctor_set(x_29, 0, x_4); +return x_29; +} +} +else +{ +lean_object* x_35; uint8_t x_36; +x_35 = lean_ctor_get(x_29, 1); +lean_inc(x_35); +lean_dec(x_29); +x_36 = lean_expr_eqv(x_5, x_6); +if (x_36 == 0) +{ +lean_object* x_37; lean_object* x_38; +x_37 = l_Lean_Expr_updateFn___main(x_4, x_6); +x_38 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_35); +return x_38; +} +else +{ +lean_object* x_39; +x_39 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_39, 0, x_4); +lean_ctor_set(x_39, 1, x_35); +return x_39; +} +} +} +else +{ +lean_object* x_40; +x_40 = lean_ctor_get(x_30, 0); +lean_inc(x_40); +lean_dec(x_30); +if (lean_obj_tag(x_40) == 4) +{ +lean_object* x_41; uint8_t x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_40, 0); +lean_inc(x_41); +lean_dec(x_40); +x_42 = lean_ctor_get_uint8(x_41, sizeof(void*)*1); +lean_dec(x_41); +x_43 = lean_box(x_42); +if (lean_obj_tag(x_43) == 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_dec(x_4); +x_44 = lean_ctor_get(x_29, 1); +lean_inc(x_44); +lean_dec(x_29); +x_45 = l_Lean_Expr_inhabited; +x_46 = lean_array_get(x_45, x_9, x_13); +x_47 = lean_expr_mk_app(x_46, x_27); +x_48 = lean_unsigned_to_nat(1u); +x_49 = lean_nat_add(x_12, x_48); +x_50 = l___private_Init_Lean_Expr_1__mkAppRangeAux___main(x_14, x_9, x_49, x_47); +lean_dec(x_14); +x_51 = l_Lean_whnfCore___main___at___private_Init_Lean_Meta_16__whnfAux___main___spec__1(x_1, x_2, x_3, x_50, x_10, x_44); +return x_51; +} +else +{ +uint8_t x_52; +lean_dec(x_43); +lean_dec(x_27); +lean_dec(x_14); +lean_dec(x_10); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_52 = !lean_is_exclusive(x_29); +if (x_52 == 0) +{ +lean_object* x_53; uint8_t x_54; +x_53 = lean_ctor_get(x_29, 0); +lean_dec(x_53); +x_54 = lean_expr_eqv(x_5, x_6); +if (x_54 == 0) +{ +lean_object* x_55; +x_55 = l_Lean_Expr_updateFn___main(x_4, x_6); +lean_ctor_set(x_29, 0, x_55); +return x_29; +} +else +{ +lean_ctor_set(x_29, 0, x_4); +return x_29; +} +} +else +{ +lean_object* x_56; uint8_t x_57; +x_56 = lean_ctor_get(x_29, 1); +lean_inc(x_56); +lean_dec(x_29); +x_57 = lean_expr_eqv(x_5, x_6); +if (x_57 == 0) +{ +lean_object* x_58; lean_object* x_59; +x_58 = l_Lean_Expr_updateFn___main(x_4, x_6); +x_59 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_59, 0, x_58); +lean_ctor_set(x_59, 1, x_56); +return x_59; +} +else +{ +lean_object* x_60; +x_60 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_60, 0, x_4); +lean_ctor_set(x_60, 1, x_56); +return x_60; +} +} +} +} +else +{ +uint8_t x_61; +lean_dec(x_40); +lean_dec(x_27); +lean_dec(x_14); +lean_dec(x_10); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_61 = !lean_is_exclusive(x_29); +if (x_61 == 0) +{ +lean_object* x_62; uint8_t x_63; +x_62 = lean_ctor_get(x_29, 0); +lean_dec(x_62); +x_63 = lean_expr_eqv(x_5, x_6); +if (x_63 == 0) +{ +lean_object* x_64; +x_64 = l_Lean_Expr_updateFn___main(x_4, x_6); +lean_ctor_set(x_29, 0, x_64); +return x_29; +} +else +{ +lean_ctor_set(x_29, 0, x_4); +return x_29; +} +} +else +{ +lean_object* x_65; uint8_t x_66; +x_65 = lean_ctor_get(x_29, 1); +lean_inc(x_65); +lean_dec(x_29); +x_66 = lean_expr_eqv(x_5, x_6); +if (x_66 == 0) +{ +lean_object* x_67; lean_object* x_68; +x_67 = l_Lean_Expr_updateFn___main(x_4, x_6); +x_68 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_68, 0, x_67); +lean_ctor_set(x_68, 1, x_65); +return x_68; +} +else +{ +lean_object* x_69; +x_69 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_69, 0, x_4); +lean_ctor_set(x_69, 1, x_65); +return x_69; +} +} +} +} +} +else +{ +uint8_t x_70; +lean_dec(x_27); +lean_dec(x_14); +lean_dec(x_10); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_70 = !lean_is_exclusive(x_29); +if (x_70 == 0) +{ +return x_29; +} +else +{ +lean_object* x_71; lean_object* x_72; lean_object* x_73; +x_71 = lean_ctor_get(x_29, 0); +x_72 = lean_ctor_get(x_29, 1); +lean_inc(x_72); +lean_inc(x_71); +lean_dec(x_29); +x_73 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_73, 0, x_71); +lean_ctor_set(x_73, 1, x_72); +return x_73; +} +} +} +else +{ +uint8_t x_74; +lean_dec(x_25); +lean_dec(x_22); +lean_dec(x_14); +lean_dec(x_10); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_74 = !lean_is_exclusive(x_21); +if (x_74 == 0) +{ +lean_object* x_75; uint8_t x_76; +x_75 = lean_ctor_get(x_21, 0); +lean_dec(x_75); +x_76 = lean_expr_eqv(x_5, x_6); +if (x_76 == 0) +{ +lean_object* x_77; +x_77 = l_Lean_Expr_updateFn___main(x_4, x_6); +lean_ctor_set(x_21, 0, x_77); +return x_21; +} +else +{ +lean_ctor_set(x_21, 0, x_4); +return x_21; +} +} +else +{ +lean_object* x_78; uint8_t x_79; +x_78 = lean_ctor_get(x_21, 1); +lean_inc(x_78); +lean_dec(x_21); +x_79 = lean_expr_eqv(x_5, x_6); +if (x_79 == 0) +{ +lean_object* x_80; lean_object* x_81; +x_80 = l_Lean_Expr_updateFn___main(x_4, x_6); +x_81 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_81, 0, x_80); +lean_ctor_set(x_81, 1, x_78); +return x_81; +} +else +{ +lean_object* x_82; +x_82 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_82, 0, x_4); +lean_ctor_set(x_82, 1, x_78); +return x_82; +} +} +} +} +else +{ +uint8_t x_83; +lean_dec(x_24); +lean_dec(x_22); +lean_dec(x_14); +lean_dec(x_10); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_83 = !lean_is_exclusive(x_21); +if (x_83 == 0) +{ +lean_object* x_84; uint8_t x_85; +x_84 = lean_ctor_get(x_21, 0); +lean_dec(x_84); +x_85 = lean_expr_eqv(x_5, x_6); +if (x_85 == 0) +{ +lean_object* x_86; +x_86 = l_Lean_Expr_updateFn___main(x_4, x_6); +lean_ctor_set(x_21, 0, x_86); +return x_21; +} +else +{ +lean_ctor_set(x_21, 0, x_4); +return x_21; +} +} +else +{ +lean_object* x_87; uint8_t x_88; +x_87 = lean_ctor_get(x_21, 1); +lean_inc(x_87); +lean_dec(x_21); +x_88 = lean_expr_eqv(x_5, x_6); +if (x_88 == 0) +{ +lean_object* x_89; lean_object* x_90; +x_89 = l_Lean_Expr_updateFn___main(x_4, x_6); +x_90 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_90, 0, x_89); +lean_ctor_set(x_90, 1, x_87); +return x_90; +} +else +{ +lean_object* x_91; +x_91 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_91, 0, x_4); +lean_ctor_set(x_91, 1, x_87); +return x_91; +} +} +} +} +else +{ +uint8_t x_92; +lean_dec(x_23); +lean_dec(x_22); +lean_dec(x_14); +lean_dec(x_10); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_92 = !lean_is_exclusive(x_21); +if (x_92 == 0) +{ +lean_object* x_93; uint8_t x_94; +x_93 = lean_ctor_get(x_21, 0); +lean_dec(x_93); +x_94 = lean_expr_eqv(x_5, x_6); +if (x_94 == 0) +{ +lean_object* x_95; +x_95 = l_Lean_Expr_updateFn___main(x_4, x_6); +lean_ctor_set(x_21, 0, x_95); +return x_21; +} +else +{ +lean_ctor_set(x_21, 0, x_4); +return x_21; +} +} +else +{ +lean_object* x_96; uint8_t x_97; +x_96 = lean_ctor_get(x_21, 1); +lean_inc(x_96); +lean_dec(x_21); +x_97 = lean_expr_eqv(x_5, x_6); +if (x_97 == 0) +{ +lean_object* x_98; lean_object* x_99; +x_98 = l_Lean_Expr_updateFn___main(x_4, x_6); +x_99 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_99, 0, x_98); +lean_ctor_set(x_99, 1, x_96); +return x_99; +} +else +{ +lean_object* x_100; +x_100 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_100, 0, x_4); +lean_ctor_set(x_100, 1, x_96); +return x_100; +} +} +} +} +else +{ +uint8_t x_101; +lean_dec(x_22); +lean_dec(x_14); +lean_dec(x_10); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_101 = !lean_is_exclusive(x_21); +if (x_101 == 0) +{ +lean_object* x_102; uint8_t x_103; +x_102 = lean_ctor_get(x_21, 0); +lean_dec(x_102); +x_103 = lean_expr_eqv(x_5, x_6); +if (x_103 == 0) +{ +lean_object* x_104; +x_104 = l_Lean_Expr_updateFn___main(x_4, x_6); +lean_ctor_set(x_21, 0, x_104); +return x_21; +} +else +{ +lean_ctor_set(x_21, 0, x_4); +return x_21; +} +} +else +{ +lean_object* x_105; uint8_t x_106; +x_105 = lean_ctor_get(x_21, 1); +lean_inc(x_105); +lean_dec(x_21); +x_106 = lean_expr_eqv(x_5, x_6); +if (x_106 == 0) +{ +lean_object* x_107; lean_object* x_108; +x_107 = l_Lean_Expr_updateFn___main(x_4, x_6); +x_108 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_108, 0, x_107); +lean_ctor_set(x_108, 1, x_105); +return x_108; +} +else +{ +lean_object* x_109; +x_109 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_109, 0, x_4); +lean_ctor_set(x_109, 1, x_105); +return x_109; +} +} +} +} +else +{ +uint8_t x_110; +lean_dec(x_14); +lean_dec(x_10); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_110 = !lean_is_exclusive(x_21); +if (x_110 == 0) +{ +return x_21; +} +else +{ +lean_object* x_111; lean_object* x_112; lean_object* x_113; +x_111 = lean_ctor_get(x_21, 0); +x_112 = lean_ctor_get(x_21, 1); +lean_inc(x_112); +lean_inc(x_111); +lean_dec(x_21); +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; +} +} +} +} +} +} +lean_object* l___private_Init_Lean_WHNF_1__getFirstCtor___at___private_Init_Lean_Meta_16__whnfAux___main___spec__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = lean_apply_3(x_1, x_2, x_3, x_4); +if (lean_obj_tag(x_5) == 0) +{ +lean_object* x_6; +x_6 = lean_ctor_get(x_5, 0); +lean_inc(x_6); +if (lean_obj_tag(x_6) == 0) +{ +uint8_t x_7; +x_7 = !lean_is_exclusive(x_5); +if (x_7 == 0) +{ +lean_object* x_8; lean_object* x_9; +x_8 = lean_ctor_get(x_5, 0); +lean_dec(x_8); +x_9 = lean_box(0); +lean_ctor_set(x_5, 0, x_9); +return x_5; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_10 = lean_ctor_get(x_5, 1); +lean_inc(x_10); +lean_dec(x_5); +x_11 = lean_box(0); +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_12, 1, x_10); +return x_12; +} +} +else +{ +uint8_t x_13; +x_13 = !lean_is_exclusive(x_6); +if (x_13 == 0) +{ +lean_object* x_14; +x_14 = lean_ctor_get(x_6, 0); +if (lean_obj_tag(x_14) == 5) +{ +lean_object* x_15; lean_object* x_16; +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +lean_dec(x_14); +x_16 = lean_ctor_get(x_15, 4); +lean_inc(x_16); +lean_dec(x_15); +if (lean_obj_tag(x_16) == 0) +{ +uint8_t x_17; +lean_free_object(x_6); +x_17 = !lean_is_exclusive(x_5); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; +x_18 = lean_ctor_get(x_5, 0); +lean_dec(x_18); +x_19 = lean_box(0); +lean_ctor_set(x_5, 0, x_19); +return x_5; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_5, 1); +lean_inc(x_20); +lean_dec(x_5); +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_5); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; +x_24 = lean_ctor_get(x_5, 0); +lean_dec(x_24); +x_25 = lean_ctor_get(x_16, 0); +lean_inc(x_25); +lean_dec(x_16); +lean_ctor_set(x_6, 0, x_25); +return x_5; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_5, 1); +lean_inc(x_26); +lean_dec(x_5); +x_27 = lean_ctor_get(x_16, 0); +lean_inc(x_27); +lean_dec(x_16); +lean_ctor_set(x_6, 0, x_27); +x_28 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_28, 0, x_6); +lean_ctor_set(x_28, 1, x_26); +return x_28; +} +} +} +else +{ +uint8_t x_29; +lean_free_object(x_6); +lean_dec(x_14); +x_29 = !lean_is_exclusive(x_5); +if (x_29 == 0) +{ +lean_object* x_30; lean_object* x_31; +x_30 = lean_ctor_get(x_5, 0); +lean_dec(x_30); +x_31 = lean_box(0); +lean_ctor_set(x_5, 0, x_31); +return x_5; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_5, 1); +lean_inc(x_32); +lean_dec(x_5); +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 +{ +lean_object* x_35; +x_35 = lean_ctor_get(x_6, 0); +lean_inc(x_35); +lean_dec(x_6); +if (lean_obj_tag(x_35) == 5) +{ +lean_object* x_36; lean_object* x_37; +x_36 = lean_ctor_get(x_35, 0); +lean_inc(x_36); +lean_dec(x_35); +x_37 = lean_ctor_get(x_36, 4); +lean_inc(x_37); +lean_dec(x_36); +if (lean_obj_tag(x_37) == 0) +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_38 = lean_ctor_get(x_5, 1); +lean_inc(x_38); +if (lean_is_exclusive(x_5)) { + lean_ctor_release(x_5, 0); + lean_ctor_release(x_5, 1); + x_39 = x_5; +} else { + lean_dec_ref(x_5); + x_39 = lean_box(0); +} +x_40 = lean_box(0); +if (lean_is_scalar(x_39)) { + x_41 = lean_alloc_ctor(0, 2, 0); +} else { + x_41 = x_39; +} +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_38); +return x_41; +} +else +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_42 = lean_ctor_get(x_5, 1); +lean_inc(x_42); +if (lean_is_exclusive(x_5)) { + lean_ctor_release(x_5, 0); + lean_ctor_release(x_5, 1); + x_43 = x_5; +} else { + lean_dec_ref(x_5); + x_43 = lean_box(0); +} +x_44 = lean_ctor_get(x_37, 0); +lean_inc(x_44); +lean_dec(x_37); +x_45 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_45, 0, x_44); +if (lean_is_scalar(x_43)) { + x_46 = lean_alloc_ctor(0, 2, 0); +} else { + x_46 = x_43; +} +lean_ctor_set(x_46, 0, x_45); +lean_ctor_set(x_46, 1, x_42); +return x_46; +} +} +else +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; +lean_dec(x_35); +x_47 = lean_ctor_get(x_5, 1); +lean_inc(x_47); +if (lean_is_exclusive(x_5)) { + lean_ctor_release(x_5, 0); + lean_ctor_release(x_5, 1); + x_48 = x_5; +} else { + lean_dec_ref(x_5); + 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 +{ +uint8_t x_51; +x_51 = !lean_is_exclusive(x_5); +if (x_51 == 0) +{ +return x_5; +} +else +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; +x_52 = lean_ctor_get(x_5, 0); +x_53 = lean_ctor_get(x_5, 1); +lean_inc(x_53); +lean_inc(x_52); +lean_dec(x_5); +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* l___private_Init_Lean_WHNF_2__mkNullaryCtor___at___private_Init_Lean_Meta_16__whnfAux___main___spec__7(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_Expr_getAppFn___main(x_2); +if (lean_obj_tag(x_6) == 4) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +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___private_Init_Lean_WHNF_1__getFirstCtor___at___private_Init_Lean_Meta_16__whnfAux___main___spec__8(x_1, x_7, x_4, x_5); +if (lean_obj_tag(x_9) == 0) +{ +lean_object* x_10; +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +if (lean_obj_tag(x_10) == 0) +{ +uint8_t x_11; +lean_dec(x_8); +lean_dec(x_2); +x_11 = !lean_is_exclusive(x_9); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; +x_12 = lean_ctor_get(x_9, 0); +lean_dec(x_12); +x_13 = lean_box(0); +lean_ctor_set(x_9, 0, x_13); +return x_9; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_ctor_get(x_9, 1); +lean_inc(x_14); +lean_dec(x_9); +x_15 = lean_box(0); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_14); +return x_16; +} +} +else +{ +uint8_t x_17; +x_17 = !lean_is_exclusive(x_9); +if (x_17 == 0) +{ +lean_object* x_18; uint8_t x_19; +x_18 = lean_ctor_get(x_9, 0); +lean_dec(x_18); +x_19 = !lean_is_exclusive(x_10); +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_20 = lean_ctor_get(x_10, 0); +x_21 = lean_expr_mk_const(x_20, x_8); +x_22 = lean_unsigned_to_nat(0u); +x_23 = l_Lean_Expr_getAppNumArgsAux___main(x_2, x_22); +x_24 = l_Lean_Expr_inhabited___closed__1; +lean_inc(x_23); +x_25 = lean_mk_array(x_23, x_24); +x_26 = lean_unsigned_to_nat(1u); +x_27 = lean_nat_sub(x_23, x_26); +lean_dec(x_23); +x_28 = l___private_Init_Lean_Expr_2__getAppArgsAux___main(x_2, x_25, x_27); +x_29 = l_Array_shrink___main___rarg(x_28, x_3); +x_30 = l_Array_iterateMAux___main___at_Lean_mkApp___spec__1(x_29, x_29, x_22, x_21); +lean_dec(x_29); +lean_ctor_set(x_10, 0, x_30); +return x_9; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_31 = lean_ctor_get(x_10, 0); +lean_inc(x_31); +lean_dec(x_10); +x_32 = lean_expr_mk_const(x_31, x_8); +x_33 = lean_unsigned_to_nat(0u); +x_34 = l_Lean_Expr_getAppNumArgsAux___main(x_2, x_33); +x_35 = l_Lean_Expr_inhabited___closed__1; +lean_inc(x_34); +x_36 = lean_mk_array(x_34, x_35); +x_37 = lean_unsigned_to_nat(1u); +x_38 = lean_nat_sub(x_34, x_37); +lean_dec(x_34); +x_39 = l___private_Init_Lean_Expr_2__getAppArgsAux___main(x_2, x_36, x_38); +x_40 = l_Array_shrink___main___rarg(x_39, x_3); +x_41 = l_Array_iterateMAux___main___at_Lean_mkApp___spec__1(x_40, x_40, x_33, x_32); +lean_dec(x_40); +x_42 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_42, 0, x_41); +lean_ctor_set(x_9, 0, x_42); +return x_9; +} +} +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; +x_43 = lean_ctor_get(x_9, 1); +lean_inc(x_43); +lean_dec(x_9); +x_44 = lean_ctor_get(x_10, 0); +lean_inc(x_44); +if (lean_is_exclusive(x_10)) { + lean_ctor_release(x_10, 0); + x_45 = x_10; +} else { + lean_dec_ref(x_10); + x_45 = lean_box(0); +} +x_46 = lean_expr_mk_const(x_44, x_8); +x_47 = lean_unsigned_to_nat(0u); +x_48 = l_Lean_Expr_getAppNumArgsAux___main(x_2, x_47); +x_49 = l_Lean_Expr_inhabited___closed__1; +lean_inc(x_48); +x_50 = lean_mk_array(x_48, x_49); +x_51 = lean_unsigned_to_nat(1u); +x_52 = lean_nat_sub(x_48, x_51); +lean_dec(x_48); +x_53 = l___private_Init_Lean_Expr_2__getAppArgsAux___main(x_2, x_50, x_52); +x_54 = l_Array_shrink___main___rarg(x_53, x_3); +x_55 = l_Array_iterateMAux___main___at_Lean_mkApp___spec__1(x_54, x_54, x_47, x_46); +lean_dec(x_54); +if (lean_is_scalar(x_45)) { + x_56 = lean_alloc_ctor(1, 1, 0); +} else { + x_56 = x_45; +} +lean_ctor_set(x_56, 0, x_55); +x_57 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_57, 0, x_56); +lean_ctor_set(x_57, 1, x_43); +return x_57; +} +} +} +else +{ +uint8_t x_58; +lean_dec(x_8); +lean_dec(x_2); +x_58 = !lean_is_exclusive(x_9); +if (x_58 == 0) +{ +return x_9; +} +else +{ +lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_59 = lean_ctor_get(x_9, 0); +x_60 = lean_ctor_get(x_9, 1); +lean_inc(x_60); +lean_inc(x_59); +lean_dec(x_9); +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_dec(x_6); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_62 = lean_box(0); +x_63 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_63, 0, x_62); +lean_ctor_set(x_63, 1, x_5); +return x_63; +} +} +} +lean_object* _init_l___private_Init_Lean_WHNF_5__toCtorWhenK___at___private_Init_Lean_Meta_16__whnfAux___main___spec__6___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Init_Lean_Meta_10__getConst___boxed), 3, 0); +return x_1; +} +} +lean_object* l___private_Init_Lean_WHNF_5__toCtorWhenK___at___private_Init_Lean_Meta_16__whnfAux___main___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) { +_start: +{ +lean_object* x_8; +lean_inc(x_1); +lean_inc(x_6); +x_8 = lean_apply_3(x_1, x_5, x_6, x_7); +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_8, 0); +lean_inc(x_9); +x_10 = lean_ctor_get(x_8, 1); +lean_inc(x_10); +lean_dec(x_8); +lean_inc(x_6); +lean_inc(x_2); +lean_inc(x_1); +x_11 = l_Lean_whnfEasyCases___main___at___private_Init_Lean_Meta_16__whnfAux___main___spec__33(x_1, x_2, x_3, x_9, x_6, x_10); +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; uint8_t x_17; +x_13 = lean_ctor_get(x_11, 0); +x_14 = lean_ctor_get(x_11, 1); +x_15 = l_Lean_Expr_getAppFn___main(x_13); +x_16 = l_Lean_RecursorVal_getInduct(x_4); +x_17 = l_Lean_Expr_isConstOf(x_15, x_16); +lean_dec(x_16); +lean_dec(x_15); +if (x_17 == 0) +{ +lean_object* x_18; +lean_dec(x_13); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_18 = lean_box(0); +lean_ctor_set(x_11, 0, x_18); +return x_11; +} +else +{ +uint8_t x_19; +x_19 = lean_expr_has_expr_mvar(x_13); +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +lean_free_object(x_11); +x_20 = lean_ctor_get(x_4, 2); +lean_inc(x_20); +lean_dec(x_4); +x_21 = l___private_Init_Lean_WHNF_5__toCtorWhenK___at___private_Init_Lean_Meta_16__whnfAux___main___spec__6___closed__1; +lean_inc(x_6); +lean_inc(x_13); +x_22 = l___private_Init_Lean_WHNF_2__mkNullaryCtor___at___private_Init_Lean_Meta_16__whnfAux___main___spec__7(x_21, x_13, x_20, x_6, x_14); +lean_dec(x_20); +if (lean_obj_tag(x_22) == 0) +{ +lean_object* x_23; +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +if (lean_obj_tag(x_23) == 0) +{ +uint8_t x_24; +lean_dec(x_13); +lean_dec(x_6); +lean_dec(x_2); +lean_dec(x_1); +x_24 = !lean_is_exclusive(x_22); +if (x_24 == 0) +{ +lean_object* x_25; +x_25 = lean_ctor_get(x_22, 0); +lean_dec(x_25); +return x_22; +} +else +{ +lean_object* x_26; lean_object* x_27; +x_26 = lean_ctor_get(x_22, 1); +lean_inc(x_26); +lean_dec(x_22); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_23); +lean_ctor_set(x_27, 1, x_26); +return x_27; +} +} +else +{ +lean_object* x_28; uint8_t x_29; +x_28 = lean_ctor_get(x_22, 1); +lean_inc(x_28); +lean_dec(x_22); +x_29 = !lean_is_exclusive(x_23); +if (x_29 == 0) +{ +lean_object* x_30; lean_object* x_31; +x_30 = lean_ctor_get(x_23, 0); +lean_inc(x_6); +lean_inc(x_30); +x_31 = lean_apply_3(x_1, x_30, x_6, x_28); +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_apply_4(x_2, x_13, x_32, x_6, x_33); +if (lean_obj_tag(x_34) == 0) +{ +lean_object* x_35; uint8_t x_36; +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) +{ +uint8_t x_37; +lean_free_object(x_23); +lean_dec(x_30); +x_37 = !lean_is_exclusive(x_34); +if (x_37 == 0) +{ +lean_object* x_38; lean_object* x_39; +x_38 = lean_ctor_get(x_34, 0); +lean_dec(x_38); +x_39 = lean_box(0); +lean_ctor_set(x_34, 0, x_39); +return x_34; +} +else +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_40 = lean_ctor_get(x_34, 1); +lean_inc(x_40); +lean_dec(x_34); +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; +} +} +else +{ +uint8_t x_43; +x_43 = !lean_is_exclusive(x_34); +if (x_43 == 0) +{ +lean_object* x_44; +x_44 = lean_ctor_get(x_34, 0); +lean_dec(x_44); +lean_ctor_set(x_34, 0, x_23); +return x_34; +} +else +{ +lean_object* x_45; lean_object* x_46; +x_45 = lean_ctor_get(x_34, 1); +lean_inc(x_45); +lean_dec(x_34); +x_46 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_46, 0, x_23); +lean_ctor_set(x_46, 1, x_45); +return x_46; +} +} +} +else +{ +uint8_t x_47; +lean_free_object(x_23); +lean_dec(x_30); +x_47 = !lean_is_exclusive(x_34); +if (x_47 == 0) +{ +return x_34; +} +else +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_48 = lean_ctor_get(x_34, 0); +x_49 = lean_ctor_get(x_34, 1); +lean_inc(x_49); +lean_inc(x_48); +lean_dec(x_34); +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_free_object(x_23); +lean_dec(x_30); +lean_dec(x_13); +lean_dec(x_6); +lean_dec(x_2); +x_51 = !lean_is_exclusive(x_31); +if (x_51 == 0) +{ +return x_31; +} +else +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; +x_52 = lean_ctor_get(x_31, 0); +x_53 = lean_ctor_get(x_31, 1); +lean_inc(x_53); +lean_inc(x_52); +lean_dec(x_31); +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; +x_55 = lean_ctor_get(x_23, 0); +lean_inc(x_55); +lean_dec(x_23); +lean_inc(x_6); +lean_inc(x_55); +x_56 = lean_apply_3(x_1, x_55, x_6, x_28); +if (lean_obj_tag(x_56) == 0) +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_57 = lean_ctor_get(x_56, 0); +lean_inc(x_57); +x_58 = lean_ctor_get(x_56, 1); +lean_inc(x_58); +lean_dec(x_56); +x_59 = lean_apply_4(x_2, x_13, x_57, x_6, x_58); +if (lean_obj_tag(x_59) == 0) +{ +lean_object* x_60; uint8_t x_61; +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; lean_object* x_65; +lean_dec(x_55); +x_62 = lean_ctor_get(x_59, 1); +lean_inc(x_62); +if (lean_is_exclusive(x_59)) { + lean_ctor_release(x_59, 0); + lean_ctor_release(x_59, 1); + x_63 = x_59; +} else { + lean_dec_ref(x_59); + x_63 = lean_box(0); +} +x_64 = lean_box(0); +if (lean_is_scalar(x_63)) { + x_65 = lean_alloc_ctor(0, 2, 0); +} else { + x_65 = x_63; +} +lean_ctor_set(x_65, 0, x_64); +lean_ctor_set(x_65, 1, x_62); +return x_65; +} +else +{ +lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; +x_66 = lean_ctor_get(x_59, 1); +lean_inc(x_66); +if (lean_is_exclusive(x_59)) { + lean_ctor_release(x_59, 0); + lean_ctor_release(x_59, 1); + x_67 = x_59; +} else { + lean_dec_ref(x_59); + x_67 = lean_box(0); +} +x_68 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_68, 0, x_55); +if (lean_is_scalar(x_67)) { + x_69 = lean_alloc_ctor(0, 2, 0); +} else { + x_69 = x_67; +} +lean_ctor_set(x_69, 0, x_68); +lean_ctor_set(x_69, 1, x_66); +return x_69; +} +} +else +{ +lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; +lean_dec(x_55); +x_70 = lean_ctor_get(x_59, 0); +lean_inc(x_70); +x_71 = lean_ctor_get(x_59, 1); +lean_inc(x_71); +if (lean_is_exclusive(x_59)) { + lean_ctor_release(x_59, 0); + lean_ctor_release(x_59, 1); + x_72 = x_59; +} else { + lean_dec_ref(x_59); + 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; +} +} +else +{ +lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; +lean_dec(x_55); +lean_dec(x_13); +lean_dec(x_6); +lean_dec(x_2); +x_74 = lean_ctor_get(x_56, 0); +lean_inc(x_74); +x_75 = lean_ctor_get(x_56, 1); +lean_inc(x_75); +if (lean_is_exclusive(x_56)) { + lean_ctor_release(x_56, 0); + lean_ctor_release(x_56, 1); + x_76 = x_56; +} else { + lean_dec_ref(x_56); + 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 +{ +uint8_t x_78; +lean_dec(x_13); +lean_dec(x_6); +lean_dec(x_2); +lean_dec(x_1); +x_78 = !lean_is_exclusive(x_22); +if (x_78 == 0) +{ +return x_22; +} +else +{ +lean_object* x_79; lean_object* x_80; lean_object* x_81; +x_79 = lean_ctor_get(x_22, 0); +x_80 = lean_ctor_get(x_22, 1); +lean_inc(x_80); +lean_inc(x_79); +lean_dec(x_22); +x_81 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_81, 0, x_79); +lean_ctor_set(x_81, 1, x_80); +return x_81; +} +} +} +else +{ +lean_object* x_82; lean_object* x_83; 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; +x_82 = lean_unsigned_to_nat(0u); +x_83 = l_Lean_Expr_getAppNumArgsAux___main(x_13, x_82); +x_84 = l_Lean_Expr_inhabited___closed__1; +lean_inc(x_83); +x_85 = lean_mk_array(x_83, x_84); +x_86 = lean_unsigned_to_nat(1u); +x_87 = lean_nat_sub(x_83, x_86); +lean_dec(x_83); +lean_inc(x_13); +x_88 = l___private_Init_Lean_Expr_2__getAppArgsAux___main(x_13, x_85, x_87); +x_89 = lean_ctor_get(x_4, 2); +lean_inc(x_89); +lean_dec(x_4); +lean_inc(x_89); +x_90 = l_Array_anyMAux___main___at___private_Init_Lean_WHNF_5__toCtorWhenK___spec__1(x_88, x_89); +lean_dec(x_88); +if (x_90 == 0) +{ +lean_object* x_91; lean_object* x_92; +lean_free_object(x_11); +x_91 = l___private_Init_Lean_WHNF_5__toCtorWhenK___at___private_Init_Lean_Meta_16__whnfAux___main___spec__6___closed__1; +lean_inc(x_6); +lean_inc(x_13); +x_92 = l___private_Init_Lean_WHNF_2__mkNullaryCtor___at___private_Init_Lean_Meta_16__whnfAux___main___spec__7(x_91, x_13, x_89, x_6, x_14); +lean_dec(x_89); +if (lean_obj_tag(x_92) == 0) +{ +lean_object* x_93; +x_93 = lean_ctor_get(x_92, 0); +lean_inc(x_93); +if (lean_obj_tag(x_93) == 0) +{ +uint8_t x_94; +lean_dec(x_13); +lean_dec(x_6); +lean_dec(x_2); +lean_dec(x_1); +x_94 = !lean_is_exclusive(x_92); +if (x_94 == 0) +{ +lean_object* x_95; +x_95 = lean_ctor_get(x_92, 0); +lean_dec(x_95); +return x_92; +} +else +{ +lean_object* x_96; lean_object* x_97; +x_96 = lean_ctor_get(x_92, 1); +lean_inc(x_96); +lean_dec(x_92); +x_97 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_97, 0, x_93); +lean_ctor_set(x_97, 1, x_96); +return x_97; +} +} +else +{ +lean_object* x_98; uint8_t x_99; +x_98 = lean_ctor_get(x_92, 1); +lean_inc(x_98); +lean_dec(x_92); +x_99 = !lean_is_exclusive(x_93); +if (x_99 == 0) +{ +lean_object* x_100; lean_object* x_101; +x_100 = lean_ctor_get(x_93, 0); +lean_inc(x_6); +lean_inc(x_100); +x_101 = lean_apply_3(x_1, x_100, x_6, x_98); +if (lean_obj_tag(x_101) == 0) +{ +lean_object* x_102; lean_object* x_103; lean_object* x_104; +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_apply_4(x_2, x_13, x_102, x_6, x_103); +if (lean_obj_tag(x_104) == 0) +{ +lean_object* x_105; uint8_t x_106; +x_105 = lean_ctor_get(x_104, 0); +lean_inc(x_105); +x_106 = lean_unbox(x_105); +lean_dec(x_105); +if (x_106 == 0) +{ +uint8_t x_107; +lean_free_object(x_93); +lean_dec(x_100); +x_107 = !lean_is_exclusive(x_104); +if (x_107 == 0) +{ +lean_object* x_108; lean_object* x_109; +x_108 = lean_ctor_get(x_104, 0); +lean_dec(x_108); +x_109 = lean_box(0); +lean_ctor_set(x_104, 0, x_109); +return x_104; +} +else +{ +lean_object* x_110; lean_object* x_111; lean_object* x_112; +x_110 = lean_ctor_get(x_104, 1); +lean_inc(x_110); +lean_dec(x_104); +x_111 = lean_box(0); +x_112 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_112, 0, x_111); +lean_ctor_set(x_112, 1, x_110); +return x_112; +} +} +else +{ +uint8_t x_113; +x_113 = !lean_is_exclusive(x_104); +if (x_113 == 0) +{ +lean_object* x_114; +x_114 = lean_ctor_get(x_104, 0); +lean_dec(x_114); +lean_ctor_set(x_104, 0, x_93); +return x_104; +} +else +{ +lean_object* x_115; lean_object* x_116; +x_115 = lean_ctor_get(x_104, 1); +lean_inc(x_115); +lean_dec(x_104); +x_116 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_116, 0, x_93); +lean_ctor_set(x_116, 1, x_115); +return x_116; +} +} +} +else +{ +uint8_t x_117; +lean_free_object(x_93); +lean_dec(x_100); +x_117 = !lean_is_exclusive(x_104); +if (x_117 == 0) +{ +return x_104; +} +else +{ +lean_object* x_118; lean_object* x_119; lean_object* x_120; +x_118 = lean_ctor_get(x_104, 0); +x_119 = lean_ctor_get(x_104, 1); +lean_inc(x_119); +lean_inc(x_118); +lean_dec(x_104); +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_free_object(x_93); +lean_dec(x_100); +lean_dec(x_13); +lean_dec(x_6); +lean_dec(x_2); +x_121 = !lean_is_exclusive(x_101); +if (x_121 == 0) +{ +return x_101; +} +else +{ +lean_object* x_122; lean_object* x_123; lean_object* x_124; +x_122 = lean_ctor_get(x_101, 0); +x_123 = lean_ctor_get(x_101, 1); +lean_inc(x_123); +lean_inc(x_122); +lean_dec(x_101); +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 +{ +lean_object* x_125; lean_object* x_126; +x_125 = lean_ctor_get(x_93, 0); +lean_inc(x_125); +lean_dec(x_93); +lean_inc(x_6); +lean_inc(x_125); +x_126 = lean_apply_3(x_1, x_125, x_6, x_98); +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, 0); +lean_inc(x_127); +x_128 = lean_ctor_get(x_126, 1); +lean_inc(x_128); +lean_dec(x_126); +x_129 = lean_apply_4(x_2, x_13, x_127, x_6, x_128); +if (lean_obj_tag(x_129) == 0) +{ +lean_object* x_130; uint8_t x_131; +x_130 = lean_ctor_get(x_129, 0); +lean_inc(x_130); +x_131 = lean_unbox(x_130); +lean_dec(x_130); +if (x_131 == 0) +{ +lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; +lean_dec(x_125); +x_132 = lean_ctor_get(x_129, 1); +lean_inc(x_132); +if (lean_is_exclusive(x_129)) { + lean_ctor_release(x_129, 0); + lean_ctor_release(x_129, 1); + x_133 = x_129; +} else { + lean_dec_ref(x_129); + x_133 = lean_box(0); +} +x_134 = lean_box(0); +if (lean_is_scalar(x_133)) { + x_135 = lean_alloc_ctor(0, 2, 0); +} else { + x_135 = x_133; +} +lean_ctor_set(x_135, 0, x_134); +lean_ctor_set(x_135, 1, x_132); +return x_135; +} +else +{ +lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; +x_136 = lean_ctor_get(x_129, 1); +lean_inc(x_136); +if (lean_is_exclusive(x_129)) { + lean_ctor_release(x_129, 0); + lean_ctor_release(x_129, 1); + x_137 = x_129; +} else { + lean_dec_ref(x_129); + x_137 = lean_box(0); +} +x_138 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_138, 0, x_125); +if (lean_is_scalar(x_137)) { + x_139 = lean_alloc_ctor(0, 2, 0); +} else { + x_139 = x_137; +} +lean_ctor_set(x_139, 0, x_138); +lean_ctor_set(x_139, 1, x_136); +return x_139; +} +} +else +{ +lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; +lean_dec(x_125); +x_140 = lean_ctor_get(x_129, 0); +lean_inc(x_140); +x_141 = lean_ctor_get(x_129, 1); +lean_inc(x_141); +if (lean_is_exclusive(x_129)) { + lean_ctor_release(x_129, 0); + lean_ctor_release(x_129, 1); + x_142 = x_129; +} else { + lean_dec_ref(x_129); + x_142 = lean_box(0); +} +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_125); +lean_dec(x_13); +lean_dec(x_6); +lean_dec(x_2); +x_144 = lean_ctor_get(x_126, 0); +lean_inc(x_144); +x_145 = lean_ctor_get(x_126, 1); +lean_inc(x_145); +if (lean_is_exclusive(x_126)) { + lean_ctor_release(x_126, 0); + lean_ctor_release(x_126, 1); + x_146 = x_126; +} else { + lean_dec_ref(x_126); + 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 +{ +uint8_t x_148; +lean_dec(x_13); +lean_dec(x_6); +lean_dec(x_2); +lean_dec(x_1); +x_148 = !lean_is_exclusive(x_92); +if (x_148 == 0) +{ +return x_92; +} +else +{ +lean_object* x_149; lean_object* x_150; lean_object* x_151; +x_149 = lean_ctor_get(x_92, 0); +x_150 = lean_ctor_get(x_92, 1); +lean_inc(x_150); +lean_inc(x_149); +lean_dec(x_92); +x_151 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_151, 0, x_149); +lean_ctor_set(x_151, 1, x_150); +return x_151; +} +} +} +else +{ +lean_object* x_152; +lean_dec(x_89); +lean_dec(x_13); +lean_dec(x_6); +lean_dec(x_2); +lean_dec(x_1); +x_152 = lean_box(0); +lean_ctor_set(x_11, 0, x_152); +return x_11; +} +} +} +} +else +{ +lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; uint8_t x_157; +x_153 = lean_ctor_get(x_11, 0); +x_154 = lean_ctor_get(x_11, 1); +lean_inc(x_154); +lean_inc(x_153); +lean_dec(x_11); +x_155 = l_Lean_Expr_getAppFn___main(x_153); +x_156 = l_Lean_RecursorVal_getInduct(x_4); +x_157 = l_Lean_Expr_isConstOf(x_155, x_156); +lean_dec(x_156); +lean_dec(x_155); +if (x_157 == 0) +{ +lean_object* x_158; lean_object* x_159; +lean_dec(x_153); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_158 = lean_box(0); +x_159 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_159, 0, x_158); +lean_ctor_set(x_159, 1, x_154); +return x_159; +} +else +{ +uint8_t x_160; +x_160 = lean_expr_has_expr_mvar(x_153); +if (x_160 == 0) +{ +lean_object* x_161; lean_object* x_162; lean_object* x_163; +x_161 = lean_ctor_get(x_4, 2); +lean_inc(x_161); +lean_dec(x_4); +x_162 = l___private_Init_Lean_WHNF_5__toCtorWhenK___at___private_Init_Lean_Meta_16__whnfAux___main___spec__6___closed__1; +lean_inc(x_6); +lean_inc(x_153); +x_163 = l___private_Init_Lean_WHNF_2__mkNullaryCtor___at___private_Init_Lean_Meta_16__whnfAux___main___spec__7(x_162, x_153, x_161, x_6, x_154); +lean_dec(x_161); +if (lean_obj_tag(x_163) == 0) +{ +lean_object* x_164; +x_164 = lean_ctor_get(x_163, 0); +lean_inc(x_164); +if (lean_obj_tag(x_164) == 0) +{ +lean_object* x_165; lean_object* x_166; lean_object* x_167; +lean_dec(x_153); +lean_dec(x_6); +lean_dec(x_2); +lean_dec(x_1); +x_165 = lean_ctor_get(x_163, 1); +lean_inc(x_165); +if (lean_is_exclusive(x_163)) { + lean_ctor_release(x_163, 0); + lean_ctor_release(x_163, 1); + x_166 = x_163; +} else { + lean_dec_ref(x_163); + x_166 = lean_box(0); +} +if (lean_is_scalar(x_166)) { + x_167 = lean_alloc_ctor(0, 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; +x_168 = lean_ctor_get(x_163, 1); +lean_inc(x_168); +lean_dec(x_163); +x_169 = lean_ctor_get(x_164, 0); +lean_inc(x_169); +if (lean_is_exclusive(x_164)) { + lean_ctor_release(x_164, 0); + x_170 = x_164; +} else { + lean_dec_ref(x_164); + x_170 = lean_box(0); +} +lean_inc(x_6); +lean_inc(x_169); +x_171 = lean_apply_3(x_1, x_169, x_6, x_168); +if (lean_obj_tag(x_171) == 0) +{ +lean_object* x_172; lean_object* x_173; lean_object* x_174; +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 = lean_apply_4(x_2, x_153, x_172, x_6, x_173); +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_170); +lean_dec(x_169); +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 = lean_box(0); +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_179); +lean_ctor_set(x_180, 1, x_177); +return x_180; +} +else +{ +lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; +x_181 = lean_ctor_get(x_174, 1); +lean_inc(x_181); +if (lean_is_exclusive(x_174)) { + lean_ctor_release(x_174, 0); + lean_ctor_release(x_174, 1); + x_182 = x_174; +} else { + lean_dec_ref(x_174); + x_182 = lean_box(0); +} +if (lean_is_scalar(x_170)) { + x_183 = lean_alloc_ctor(1, 1, 0); +} else { + x_183 = x_170; +} +lean_ctor_set(x_183, 0, x_169); +if (lean_is_scalar(x_182)) { + x_184 = lean_alloc_ctor(0, 2, 0); +} else { + x_184 = x_182; +} +lean_ctor_set(x_184, 0, x_183); +lean_ctor_set(x_184, 1, x_181); +return x_184; +} +} +else +{ +lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; +lean_dec(x_170); +lean_dec(x_169); +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; +lean_dec(x_170); +lean_dec(x_169); +lean_dec(x_153); +lean_dec(x_6); +lean_dec(x_2); +x_189 = lean_ctor_get(x_171, 0); +lean_inc(x_189); +x_190 = lean_ctor_get(x_171, 1); +lean_inc(x_190); +if (lean_is_exclusive(x_171)) { + lean_ctor_release(x_171, 0); + lean_ctor_release(x_171, 1); + x_191 = x_171; +} else { + lean_dec_ref(x_171); + 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_153); +lean_dec(x_6); +lean_dec(x_2); +lean_dec(x_1); +x_193 = lean_ctor_get(x_163, 0); +lean_inc(x_193); +x_194 = lean_ctor_get(x_163, 1); +lean_inc(x_194); +if (lean_is_exclusive(x_163)) { + lean_ctor_release(x_163, 0); + lean_ctor_release(x_163, 1); + x_195 = x_163; +} else { + lean_dec_ref(x_163); + x_195 = lean_box(0); +} +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_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; uint8_t x_205; +x_197 = lean_unsigned_to_nat(0u); +x_198 = l_Lean_Expr_getAppNumArgsAux___main(x_153, x_197); +x_199 = l_Lean_Expr_inhabited___closed__1; +lean_inc(x_198); +x_200 = lean_mk_array(x_198, x_199); +x_201 = lean_unsigned_to_nat(1u); +x_202 = lean_nat_sub(x_198, x_201); +lean_dec(x_198); +lean_inc(x_153); +x_203 = l___private_Init_Lean_Expr_2__getAppArgsAux___main(x_153, x_200, x_202); +x_204 = lean_ctor_get(x_4, 2); +lean_inc(x_204); +lean_dec(x_4); +lean_inc(x_204); +x_205 = l_Array_anyMAux___main___at___private_Init_Lean_WHNF_5__toCtorWhenK___spec__1(x_203, x_204); +lean_dec(x_203); +if (x_205 == 0) +{ +lean_object* x_206; lean_object* x_207; +x_206 = l___private_Init_Lean_WHNF_5__toCtorWhenK___at___private_Init_Lean_Meta_16__whnfAux___main___spec__6___closed__1; +lean_inc(x_6); +lean_inc(x_153); +x_207 = l___private_Init_Lean_WHNF_2__mkNullaryCtor___at___private_Init_Lean_Meta_16__whnfAux___main___spec__7(x_206, x_153, x_204, x_6, x_154); +lean_dec(x_204); +if (lean_obj_tag(x_207) == 0) +{ +lean_object* x_208; +x_208 = lean_ctor_get(x_207, 0); +lean_inc(x_208); +if (lean_obj_tag(x_208) == 0) +{ +lean_object* x_209; lean_object* x_210; lean_object* x_211; +lean_dec(x_153); +lean_dec(x_6); +lean_dec(x_2); +lean_dec(x_1); +x_209 = lean_ctor_get(x_207, 1); +lean_inc(x_209); +if (lean_is_exclusive(x_207)) { + lean_ctor_release(x_207, 0); + lean_ctor_release(x_207, 1); + x_210 = x_207; +} else { + lean_dec_ref(x_207); + x_210 = lean_box(0); +} +if (lean_is_scalar(x_210)) { + x_211 = lean_alloc_ctor(0, 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; +} +else +{ +lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; +x_212 = lean_ctor_get(x_207, 1); +lean_inc(x_212); +lean_dec(x_207); +x_213 = lean_ctor_get(x_208, 0); +lean_inc(x_213); +if (lean_is_exclusive(x_208)) { + lean_ctor_release(x_208, 0); + x_214 = x_208; +} else { + lean_dec_ref(x_208); + x_214 = lean_box(0); +} +lean_inc(x_6); +lean_inc(x_213); +x_215 = lean_apply_3(x_1, x_213, x_6, x_212); +if (lean_obj_tag(x_215) == 0) +{ +lean_object* x_216; lean_object* x_217; lean_object* x_218; +x_216 = lean_ctor_get(x_215, 0); +lean_inc(x_216); +x_217 = lean_ctor_get(x_215, 1); +lean_inc(x_217); +lean_dec(x_215); +x_218 = lean_apply_4(x_2, x_153, x_216, x_6, x_217); +if (lean_obj_tag(x_218) == 0) +{ +lean_object* x_219; uint8_t x_220; +x_219 = lean_ctor_get(x_218, 0); +lean_inc(x_219); +x_220 = lean_unbox(x_219); +lean_dec(x_219); +if (x_220 == 0) +{ +lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; +lean_dec(x_214); +lean_dec(x_213); +x_221 = lean_ctor_get(x_218, 1); +lean_inc(x_221); +if (lean_is_exclusive(x_218)) { + lean_ctor_release(x_218, 0); + lean_ctor_release(x_218, 1); + x_222 = x_218; +} else { + lean_dec_ref(x_218); + x_222 = lean_box(0); +} +x_223 = lean_box(0); +if (lean_is_scalar(x_222)) { + x_224 = lean_alloc_ctor(0, 2, 0); +} else { + x_224 = x_222; +} +lean_ctor_set(x_224, 0, x_223); +lean_ctor_set(x_224, 1, x_221); +return x_224; +} +else +{ +lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; +x_225 = lean_ctor_get(x_218, 1); +lean_inc(x_225); +if (lean_is_exclusive(x_218)) { + lean_ctor_release(x_218, 0); + lean_ctor_release(x_218, 1); + x_226 = x_218; +} else { + lean_dec_ref(x_218); + x_226 = lean_box(0); +} +if (lean_is_scalar(x_214)) { + x_227 = lean_alloc_ctor(1, 1, 0); +} else { + x_227 = x_214; +} +lean_ctor_set(x_227, 0, x_213); +if (lean_is_scalar(x_226)) { + x_228 = lean_alloc_ctor(0, 2, 0); +} else { + x_228 = x_226; +} +lean_ctor_set(x_228, 0, x_227); +lean_ctor_set(x_228, 1, x_225); +return x_228; +} +} +else +{ +lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; +lean_dec(x_214); +lean_dec(x_213); +x_229 = lean_ctor_get(x_218, 0); +lean_inc(x_229); +x_230 = lean_ctor_get(x_218, 1); +lean_inc(x_230); +if (lean_is_exclusive(x_218)) { + lean_ctor_release(x_218, 0); + lean_ctor_release(x_218, 1); + x_231 = x_218; +} else { + lean_dec_ref(x_218); + x_231 = lean_box(0); +} +if (lean_is_scalar(x_231)) { + x_232 = lean_alloc_ctor(1, 2, 0); +} else { + x_232 = 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_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; +lean_dec(x_214); +lean_dec(x_213); +lean_dec(x_153); +lean_dec(x_6); +lean_dec(x_2); +x_233 = lean_ctor_get(x_215, 0); +lean_inc(x_233); +x_234 = lean_ctor_get(x_215, 1); +lean_inc(x_234); +if (lean_is_exclusive(x_215)) { + lean_ctor_release(x_215, 0); + lean_ctor_release(x_215, 1); + x_235 = x_215; +} else { + lean_dec_ref(x_215); + x_235 = lean_box(0); +} +if (lean_is_scalar(x_235)) { + x_236 = lean_alloc_ctor(1, 2, 0); +} else { + x_236 = x_235; +} +lean_ctor_set(x_236, 0, x_233); +lean_ctor_set(x_236, 1, x_234); +return x_236; +} +} +} +else +{ +lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; +lean_dec(x_153); +lean_dec(x_6); +lean_dec(x_2); +lean_dec(x_1); +x_237 = lean_ctor_get(x_207, 0); +lean_inc(x_237); +x_238 = lean_ctor_get(x_207, 1); +lean_inc(x_238); +if (lean_is_exclusive(x_207)) { + lean_ctor_release(x_207, 0); + lean_ctor_release(x_207, 1); + x_239 = x_207; +} else { + lean_dec_ref(x_207); + x_239 = lean_box(0); +} +if (lean_is_scalar(x_239)) { + x_240 = lean_alloc_ctor(1, 2, 0); +} else { + x_240 = 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_241; lean_object* x_242; +lean_dec(x_204); +lean_dec(x_153); +lean_dec(x_6); +lean_dec(x_2); +lean_dec(x_1); +x_241 = lean_box(0); +x_242 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_242, 0, x_241); +lean_ctor_set(x_242, 1, x_154); +return x_242; +} +} +} +} +} +else +{ +uint8_t x_243; +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_243 = !lean_is_exclusive(x_11); +if (x_243 == 0) +{ +return x_11; +} +else +{ +lean_object* x_244; lean_object* x_245; lean_object* x_246; +x_244 = lean_ctor_get(x_11, 0); +x_245 = lean_ctor_get(x_11, 1); +lean_inc(x_245); +lean_inc(x_244); +lean_dec(x_11); +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_6); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_247 = !lean_is_exclusive(x_8); +if (x_247 == 0) +{ +return x_8; +} +else +{ +lean_object* x_248; lean_object* x_249; lean_object* x_250; +x_248 = lean_ctor_get(x_8, 0); +x_249 = lean_ctor_get(x_8, 1); +lean_inc(x_249); +lean_inc(x_248); +lean_dec(x_8); +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_object* l_Lean_reduceRec___at___private_Init_Lean_Meta_16__whnfAux___main___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) { +_start: +{ +lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_12 = l_Lean_RecursorVal_getMajorIdx(x_7); +x_13 = lean_array_get_size(x_9); +x_14 = lean_nat_dec_lt(x_12, x_13); +if (x_14 == 0) +{ +uint8_t x_15; +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_15 = lean_expr_eqv(x_5, x_6); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; +x_16 = l_Lean_Expr_updateFn___main(x_4, x_6); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_11); +return x_17; +} +else +{ +lean_object* x_18; +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_4); +lean_ctor_set(x_18, 1, x_11); +return x_18; +} +} +else +{ +lean_object* x_19; lean_object* x_20; +x_19 = lean_array_fget(x_9, x_12); +lean_inc(x_10); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +x_20 = l_Lean_whnfEasyCases___main___at___private_Init_Lean_Meta_16__whnfAux___main___spec__33(x_1, x_2, x_3, x_19, x_10, x_11); +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_65; +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +if (lean_is_exclusive(x_20)) { + lean_ctor_release(x_20, 0); + lean_ctor_release(x_20, 1); + x_23 = x_20; +} else { + lean_dec_ref(x_20); + x_23 = lean_box(0); +} +x_65 = lean_ctor_get_uint8(x_7, sizeof(void*)*7); +if (x_65 == 0) +{ +lean_object* x_66; lean_object* x_67; +lean_dec(x_23); +x_66 = l___private_Init_Lean_WHNF_3__toCtorIfLit(x_21); +lean_inc(x_7); +x_67 = l___private_Init_Lean_WHNF_4__getRecRuleFor(x_7, x_66); +if (lean_obj_tag(x_67) == 0) +{ +uint8_t x_68; +lean_dec(x_66); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_68 = lean_expr_eqv(x_5, x_6); +if (x_68 == 0) +{ +lean_object* x_69; lean_object* x_70; +x_69 = l_Lean_Expr_updateFn___main(x_4, x_6); +x_70 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_70, 0, x_69); +lean_ctor_set(x_70, 1, x_22); +return x_70; +} +else +{ +lean_object* x_71; +x_71 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_71, 0, x_4); +lean_ctor_set(x_71, 1, x_22); +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; uint8_t x_84; +x_72 = lean_ctor_get(x_67, 0); +lean_inc(x_72); +lean_dec(x_67); +x_73 = lean_unsigned_to_nat(0u); +x_74 = l_Lean_Expr_getAppNumArgsAux___main(x_66, x_73); +x_75 = l_Lean_Expr_inhabited___closed__1; +lean_inc(x_74); +x_76 = lean_mk_array(x_74, x_75); +x_77 = lean_unsigned_to_nat(1u); +x_78 = lean_nat_sub(x_74, x_77); +lean_dec(x_74); +x_79 = l___private_Init_Lean_Expr_2__getAppArgsAux___main(x_66, x_76, x_78); +x_80 = l_List_lengthAux___main___rarg(x_8, x_73); +x_81 = lean_ctor_get(x_7, 0); +lean_inc(x_81); +x_82 = lean_ctor_get(x_81, 1); +lean_inc(x_82); +lean_dec(x_81); +x_83 = l_List_lengthAux___main___rarg(x_82, x_73); +x_84 = lean_nat_dec_eq(x_80, x_83); +lean_dec(x_83); +lean_dec(x_80); +if (x_84 == 0) +{ +uint8_t x_85; +lean_dec(x_82); +lean_dec(x_79); +lean_dec(x_72); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_85 = lean_expr_eqv(x_5, x_6); +if (x_85 == 0) +{ +lean_object* x_86; lean_object* x_87; +x_86 = l_Lean_Expr_updateFn___main(x_4, x_6); +x_87 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_87, 0, x_86); +lean_ctor_set(x_87, 1, x_22); +return x_87; +} +else +{ +lean_object* x_88; +x_88 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_88, 0, x_4); +lean_ctor_set(x_88, 1, x_22); +return x_88; +} +} +else +{ +lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; +lean_dec(x_4); +x_89 = lean_ctor_get(x_72, 2); +lean_inc(x_89); +x_90 = lean_instantiate_lparams(x_89, x_82, x_8); +x_91 = lean_ctor_get(x_7, 2); +lean_inc(x_91); +x_92 = lean_ctor_get(x_7, 4); +lean_inc(x_92); +x_93 = lean_nat_add(x_91, x_92); +lean_dec(x_92); +lean_dec(x_91); +x_94 = lean_ctor_get(x_7, 5); +lean_inc(x_94); +lean_dec(x_7); +x_95 = lean_nat_add(x_93, x_94); +lean_dec(x_94); +lean_dec(x_93); +x_96 = l___private_Init_Lean_Expr_1__mkAppRangeAux___main(x_95, x_9, x_73, x_90); +lean_dec(x_95); +x_97 = lean_array_get_size(x_79); +x_98 = lean_ctor_get(x_72, 1); +lean_inc(x_98); +lean_dec(x_72); +x_99 = lean_nat_sub(x_97, x_98); +lean_dec(x_98); +x_100 = l___private_Init_Lean_Expr_1__mkAppRangeAux___main(x_97, x_79, x_99, x_96); +lean_dec(x_79); +lean_dec(x_97); +x_101 = lean_nat_add(x_12, x_77); +lean_dec(x_12); +x_102 = l___private_Init_Lean_Expr_1__mkAppRangeAux___main(x_13, x_9, x_101, x_100); +lean_dec(x_13); +x_103 = l_Lean_whnfCore___main___at___private_Init_Lean_Meta_16__whnfAux___main___spec__1(x_1, x_2, x_3, x_102, x_10, x_22); +return x_103; +} +} +} +else +{ +lean_object* x_104; +lean_inc(x_10); +lean_inc(x_21); +lean_inc(x_7); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +x_104 = l___private_Init_Lean_WHNF_5__toCtorWhenK___at___private_Init_Lean_Meta_16__whnfAux___main___spec__6(x_1, x_2, x_3, x_7, x_21, x_10, x_22); +if (lean_obj_tag(x_104) == 0) +{ +lean_object* x_105; +x_105 = lean_ctor_get(x_104, 0); +lean_inc(x_105); +if (lean_obj_tag(x_105) == 0) +{ +lean_object* x_106; +x_106 = lean_ctor_get(x_104, 1); +lean_inc(x_106); +lean_dec(x_104); +x_24 = x_21; +x_25 = x_106; +goto block_64; +} +else +{ +lean_object* x_107; lean_object* x_108; +lean_dec(x_21); +x_107 = lean_ctor_get(x_104, 1); +lean_inc(x_107); +lean_dec(x_104); +x_108 = lean_ctor_get(x_105, 0); +lean_inc(x_108); +lean_dec(x_105); +x_24 = x_108; +x_25 = x_107; +goto block_64; +} +} +else +{ +uint8_t x_109; +lean_dec(x_23); +lean_dec(x_21); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_109 = !lean_is_exclusive(x_104); +if (x_109 == 0) +{ +return x_104; +} +else +{ +lean_object* x_110; lean_object* x_111; lean_object* x_112; +x_110 = lean_ctor_get(x_104, 0); +x_111 = lean_ctor_get(x_104, 1); +lean_inc(x_111); +lean_inc(x_110); +lean_dec(x_104); +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; +} +} +} +block_64: +{ +lean_object* x_26; lean_object* x_27; +x_26 = l___private_Init_Lean_WHNF_3__toCtorIfLit(x_24); +lean_inc(x_7); +x_27 = l___private_Init_Lean_WHNF_4__getRecRuleFor(x_7, x_26); +if (lean_obj_tag(x_27) == 0) +{ +uint8_t x_28; +lean_dec(x_26); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_28 = lean_expr_eqv(x_5, x_6); +if (x_28 == 0) +{ +lean_object* x_29; lean_object* x_30; +x_29 = l_Lean_Expr_updateFn___main(x_4, x_6); +if (lean_is_scalar(x_23)) { + x_30 = lean_alloc_ctor(0, 2, 0); +} else { + x_30 = x_23; +} +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_25); +return x_30; +} +else +{ +lean_object* x_31; +if (lean_is_scalar(x_23)) { + x_31 = lean_alloc_ctor(0, 2, 0); +} else { + x_31 = x_23; +} +lean_ctor_set(x_31, 0, x_4); +lean_ctor_set(x_31, 1, x_25); +return x_31; +} +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44; +x_32 = lean_ctor_get(x_27, 0); +lean_inc(x_32); +lean_dec(x_27); +x_33 = lean_unsigned_to_nat(0u); +x_34 = l_Lean_Expr_getAppNumArgsAux___main(x_26, x_33); +x_35 = l_Lean_Expr_inhabited___closed__1; +lean_inc(x_34); +x_36 = lean_mk_array(x_34, x_35); +x_37 = lean_unsigned_to_nat(1u); +x_38 = lean_nat_sub(x_34, x_37); +lean_dec(x_34); +x_39 = l___private_Init_Lean_Expr_2__getAppArgsAux___main(x_26, x_36, x_38); +x_40 = l_List_lengthAux___main___rarg(x_8, x_33); +x_41 = lean_ctor_get(x_7, 0); +lean_inc(x_41); +x_42 = lean_ctor_get(x_41, 1); +lean_inc(x_42); +lean_dec(x_41); +x_43 = l_List_lengthAux___main___rarg(x_42, x_33); +x_44 = lean_nat_dec_eq(x_40, x_43); +lean_dec(x_43); +lean_dec(x_40); +if (x_44 == 0) +{ +uint8_t x_45; +lean_dec(x_42); +lean_dec(x_39); +lean_dec(x_32); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_45 = lean_expr_eqv(x_5, x_6); +if (x_45 == 0) +{ +lean_object* x_46; lean_object* x_47; +x_46 = l_Lean_Expr_updateFn___main(x_4, x_6); +if (lean_is_scalar(x_23)) { + x_47 = lean_alloc_ctor(0, 2, 0); +} else { + x_47 = x_23; +} +lean_ctor_set(x_47, 0, x_46); +lean_ctor_set(x_47, 1, x_25); +return x_47; +} +else +{ +lean_object* x_48; +if (lean_is_scalar(x_23)) { + x_48 = lean_alloc_ctor(0, 2, 0); +} else { + x_48 = x_23; +} +lean_ctor_set(x_48, 0, x_4); +lean_ctor_set(x_48, 1, x_25); +return x_48; +} +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; 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_dec(x_23); +lean_dec(x_4); +x_49 = lean_ctor_get(x_32, 2); +lean_inc(x_49); +x_50 = lean_instantiate_lparams(x_49, x_42, x_8); +x_51 = lean_ctor_get(x_7, 2); +lean_inc(x_51); +x_52 = lean_ctor_get(x_7, 4); +lean_inc(x_52); +x_53 = lean_nat_add(x_51, x_52); +lean_dec(x_52); +lean_dec(x_51); +x_54 = lean_ctor_get(x_7, 5); +lean_inc(x_54); +lean_dec(x_7); +x_55 = lean_nat_add(x_53, x_54); +lean_dec(x_54); +lean_dec(x_53); +x_56 = l___private_Init_Lean_Expr_1__mkAppRangeAux___main(x_55, x_9, x_33, x_50); +lean_dec(x_55); +x_57 = lean_array_get_size(x_39); +x_58 = lean_ctor_get(x_32, 1); +lean_inc(x_58); +lean_dec(x_32); +x_59 = lean_nat_sub(x_57, x_58); +lean_dec(x_58); +x_60 = l___private_Init_Lean_Expr_1__mkAppRangeAux___main(x_57, x_39, x_59, x_56); +lean_dec(x_39); +lean_dec(x_57); +x_61 = lean_nat_add(x_12, x_37); +lean_dec(x_12); +x_62 = l___private_Init_Lean_Expr_1__mkAppRangeAux___main(x_13, x_9, x_61, x_60); +lean_dec(x_13); +x_63 = l_Lean_whnfCore___main___at___private_Init_Lean_Meta_16__whnfAux___main___spec__1(x_1, x_2, x_3, x_62, x_10, x_25); +return x_63; +} +} +} +} +else +{ +uint8_t x_113; +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_113 = !lean_is_exclusive(x_20); +if (x_113 == 0) +{ +return x_20; +} +else +{ +lean_object* x_114; lean_object* x_115; lean_object* x_116; +x_114 = lean_ctor_get(x_20, 0); +x_115 = lean_ctor_get(x_20, 1); +lean_inc(x_115); +lean_inc(x_114); +lean_dec(x_20); +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; +} +} +} +} +} +lean_object* l_panicWithPos___at___private_Init_Lean_Meta_16__whnfAux___main___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) { +_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; 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 = l_Lean_Expr_inhabited; +x_9 = l_monadInhabited___rarg(x_1, x_8); +x_10 = l_panicWithPos___rarg___closed__1; +x_11 = lean_string_append(x_10, x_2); +x_12 = l_panicWithPos___rarg___closed__2; +x_13 = lean_string_append(x_11, x_12); +x_14 = l_Nat_repr(x_3); +x_15 = lean_string_append(x_13, x_14); +lean_dec(x_14); +x_16 = l_panicWithPos___rarg___closed__2; +x_17 = lean_string_append(x_15, x_16); +x_18 = l_Nat_repr(x_4); +x_19 = lean_string_append(x_17, x_18); +lean_dec(x_18); +x_20 = l_panicWithPos___rarg___closed__3; +x_21 = lean_string_append(x_19, x_20); +x_22 = lean_string_append(x_21, x_5); +x_23 = lean_panic_fn(x_22); +x_24 = lean_apply_2(x_23, x_6, x_7); +return x_24; +} +} +lean_object* l_Lean_whnfEasyCases___main___at___private_Init_Lean_Meta_16__whnfAux___main___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: +{ +lean_object* x_9; +x_9 = l_Lean_LocalDecl_valueOpt(x_6); +if (lean_obj_tag(x_9) == 0) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +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_4(x_11, lean_box(0), x_2, x_7, x_8); +return x_12; +} +else +{ +lean_object* x_13; lean_object* x_14; +lean_dec(x_2); +x_13 = lean_ctor_get(x_9, 0); +lean_inc(x_13); +lean_dec(x_9); +x_14 = l_Lean_whnfEasyCases___main___at___private_Init_Lean_Meta_16__whnfAux___main___spec__9(x_3, x_4, x_5, x_1, x_13, x_7, x_8); +return x_14; +} +} +} +lean_object* l_Lean_whnfEasyCases___main___at___private_Init_Lean_Meta_16__whnfAux___main___spec__9___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: +{ +if (lean_obj_tag(x_6) == 0) +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; +lean_dec(x_5); +lean_dec(x_4); +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_apply_4(x_10, lean_box(0), x_2, x_7, x_8); +return x_11; +} +else +{ +lean_object* x_12; lean_object* x_13; +lean_dec(x_2); +x_12 = lean_ctor_get(x_6, 0); +lean_inc(x_12); +lean_dec(x_6); +x_13 = l_Lean_whnfEasyCases___main___at___private_Init_Lean_Meta_16__whnfAux___main___spec__9(x_3, x_4, x_5, x_1, x_12, x_7, x_8); +return x_13; +} +} +} +lean_object* l_Lean_whnfEasyCases___main___at___private_Init_Lean_Meta_16__whnfAux___main___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) { +_start: +{ +lean_object* x_8; +switch (lean_obj_tag(x_5)) { +case 0: +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_13 = l_unreachable_x21___rarg___closed__1; +x_14 = lean_unsigned_to_nat(37u); +x_15 = lean_unsigned_to_nat(0u); +x_16 = l_unreachable_x21___rarg___closed__2; +x_17 = l_panicWithPos___at___private_Init_Lean_Meta_16__whnfAux___main___spec__10(x_4, x_13, x_14, x_15, x_16, x_6, x_7); +return x_17; +} +case 1: +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_18 = lean_ctor_get(x_5, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_4, 1); +lean_inc(x_19); +x_20 = lean_alloc_closure((void*)(l___private_Init_Lean_Meta_12__getLocalDecl), 3, 1); +lean_closure_set(x_20, 0, x_18); +x_21 = lean_alloc_closure((void*)(l_Lean_whnfEasyCases___main___at___private_Init_Lean_Meta_16__whnfAux___main___spec__9___lambda__1___boxed), 8, 5); +lean_closure_set(x_21, 0, x_4); +lean_closure_set(x_21, 1, x_5); +lean_closure_set(x_21, 2, x_1); +lean_closure_set(x_21, 3, x_2); +lean_closure_set(x_21, 4, x_3); +x_22 = lean_apply_6(x_19, lean_box(0), lean_box(0), x_20, x_21, x_6, x_7); +return x_22; +} +case 2: +{ +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_5, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_4, 1); +lean_inc(x_24); +x_25 = lean_alloc_closure((void*)(l___private_Init_Lean_Meta_13__getMVarAssignment___boxed), 3, 1); +lean_closure_set(x_25, 0, x_23); +x_26 = lean_alloc_closure((void*)(l_Lean_whnfEasyCases___main___at___private_Init_Lean_Meta_16__whnfAux___main___spec__9___lambda__2), 8, 5); +lean_closure_set(x_26, 0, x_4); +lean_closure_set(x_26, 1, x_5); +lean_closure_set(x_26, 2, x_1); +lean_closure_set(x_26, 3, x_2); +lean_closure_set(x_26, 4, x_3); +x_27 = lean_apply_6(x_24, lean_box(0), lean_box(0), x_25, x_26, x_6, x_7); +return x_27; +} +case 4: +{ +lean_object* x_28; +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_28 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_28, 0, x_5); +lean_ctor_set(x_28, 1, x_7); +return x_28; +} +case 5: +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +lean_dec(x_4); +x_29 = lean_ctor_get(x_5, 0); +lean_inc(x_29); +x_30 = l_Lean_Expr_getAppFn___main(x_29); +lean_dec(x_29); +lean_inc(x_6); +lean_inc(x_30); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +x_31 = l_Lean_whnfCore___main___at___private_Init_Lean_Meta_16__whnfAux___main___spec__1(x_1, x_2, x_3, x_30, x_6, x_7); +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; lean_object* x_34; uint8_t x_35; +x_33 = lean_ctor_get(x_31, 0); +x_34 = lean_ctor_get(x_31, 1); +x_35 = l_Lean_Expr_isLambda(x_33); +if (x_35 == 0) +{ +if (lean_obj_tag(x_33) == 4) +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; +lean_free_object(x_31); +x_36 = lean_ctor_get(x_33, 0); +lean_inc(x_36); +x_37 = lean_ctor_get(x_33, 1); +lean_inc(x_37); +x_38 = l___private_Init_Lean_Meta_10__getConst(x_36, x_6, x_34); +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_37); +lean_dec(x_6); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_40 = !lean_is_exclusive(x_38); +if (x_40 == 0) +{ +lean_object* x_41; uint8_t x_42; +x_41 = lean_ctor_get(x_38, 0); +lean_dec(x_41); +x_42 = lean_expr_eqv(x_30, x_33); +lean_dec(x_30); +if (x_42 == 0) +{ +lean_object* x_43; +x_43 = l_Lean_Expr_updateFn___main(x_5, x_33); +lean_dec(x_33); +lean_ctor_set(x_38, 0, x_43); +return x_38; +} +else +{ +lean_dec(x_33); +lean_ctor_set(x_38, 0, x_5); +return x_38; +} +} +else +{ +lean_object* x_44; uint8_t x_45; +x_44 = lean_ctor_get(x_38, 1); +lean_inc(x_44); +lean_dec(x_38); +x_45 = lean_expr_eqv(x_30, x_33); +lean_dec(x_30); +if (x_45 == 0) +{ +lean_object* x_46; lean_object* x_47; +x_46 = l_Lean_Expr_updateFn___main(x_5, x_33); +lean_dec(x_33); +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 +{ +lean_object* x_48; +lean_dec(x_33); +x_48 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_48, 0, x_5); +lean_ctor_set(x_48, 1, x_44); +return x_48; +} +} +} +else +{ +lean_object* x_49; +x_49 = lean_ctor_get(x_39, 0); +lean_inc(x_49); +lean_dec(x_39); +switch (lean_obj_tag(x_49)) { +case 1: +{ +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_38, 1); +lean_inc(x_50); +lean_dec(x_38); +x_51 = l_Lean_ConstantInfo_name(x_49); +x_52 = l___private_Init_Lean_Meta_11__isAuxDef_x3f(x_51, x_6, x_50); +lean_dec(x_51); +x_53 = lean_ctor_get(x_52, 0); +lean_inc(x_53); +x_54 = lean_unbox(x_53); +lean_dec(x_53); +if (x_54 == 0) +{ +uint8_t x_55; +lean_dec(x_49); +lean_dec(x_37); +lean_dec(x_6); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_55 = !lean_is_exclusive(x_52); +if (x_55 == 0) +{ +lean_object* x_56; uint8_t x_57; +x_56 = lean_ctor_get(x_52, 0); +lean_dec(x_56); +x_57 = lean_expr_eqv(x_30, x_33); +lean_dec(x_30); +if (x_57 == 0) +{ +lean_object* x_58; +x_58 = l_Lean_Expr_updateFn___main(x_5, x_33); +lean_dec(x_33); +lean_ctor_set(x_52, 0, x_58); +return x_52; +} +else +{ +lean_dec(x_33); +lean_ctor_set(x_52, 0, x_5); +return x_52; +} +} +else +{ +lean_object* x_59; uint8_t x_60; +x_59 = lean_ctor_get(x_52, 1); +lean_inc(x_59); +lean_dec(x_52); +x_60 = lean_expr_eqv(x_30, x_33); +lean_dec(x_30); +if (x_60 == 0) +{ +lean_object* x_61; lean_object* x_62; +x_61 = l_Lean_Expr_updateFn___main(x_5, x_33); +lean_dec(x_33); +x_62 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_62, 0, x_61); +lean_ctor_set(x_62, 1, x_59); +return x_62; +} +else +{ +lean_object* x_63; +lean_dec(x_33); +x_63 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_63, 0, x_5); +lean_ctor_set(x_63, 1, x_59); +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; +x_64 = lean_ctor_get(x_52, 1); +lean_inc(x_64); +lean_dec(x_52); +x_65 = lean_unsigned_to_nat(0u); +x_66 = l_Lean_Expr_getAppNumArgsAux___main(x_5, x_65); +x_67 = l_Lean_Expr_inhabited___closed__1; +lean_inc(x_66); +x_68 = lean_mk_array(x_66, x_67); +x_69 = lean_unsigned_to_nat(1u); +x_70 = lean_nat_sub(x_66, x_69); +lean_dec(x_66); +lean_inc(x_5); +x_71 = l___private_Init_Lean_Expr_2__getAppArgsAux___main(x_5, x_68, x_70); +x_72 = l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at___private_Init_Lean_Meta_16__whnfAux___main___spec__3(x_1, x_2, x_3, x_5, x_30, x_33, x_49, x_37, x_71, x_6, x_64); +lean_dec(x_33); +lean_dec(x_30); +return x_72; +} +} +case 4: +{ +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_ctor_get(x_38, 1); +lean_inc(x_73); +lean_dec(x_38); +x_74 = lean_ctor_get(x_49, 0); +lean_inc(x_74); +lean_dec(x_49); +x_75 = lean_unsigned_to_nat(0u); +x_76 = l_Lean_Expr_getAppNumArgsAux___main(x_5, x_75); +x_77 = l_Lean_Expr_inhabited___closed__1; +lean_inc(x_76); +x_78 = lean_mk_array(x_76, x_77); +x_79 = lean_unsigned_to_nat(1u); +x_80 = lean_nat_sub(x_76, x_79); +lean_dec(x_76); +lean_inc(x_5); +x_81 = l___private_Init_Lean_Expr_2__getAppArgsAux___main(x_5, x_78, x_80); +x_82 = l_Lean_reduceQuotRec___at___private_Init_Lean_Meta_16__whnfAux___main___spec__4(x_1, x_2, x_3, x_5, x_30, x_33, x_74, x_37, x_81, x_6, x_73); +lean_dec(x_81); +lean_dec(x_37); +lean_dec(x_74); +lean_dec(x_33); +lean_dec(x_30); +return x_82; +} +case 7: +{ +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_38, 1); +lean_inc(x_83); +lean_dec(x_38); +x_84 = lean_ctor_get(x_49, 0); +lean_inc(x_84); +lean_dec(x_49); +x_85 = lean_unsigned_to_nat(0u); +x_86 = l_Lean_Expr_getAppNumArgsAux___main(x_5, x_85); +x_87 = l_Lean_Expr_inhabited___closed__1; +lean_inc(x_86); +x_88 = lean_mk_array(x_86, x_87); +x_89 = lean_unsigned_to_nat(1u); +x_90 = lean_nat_sub(x_86, x_89); +lean_dec(x_86); +lean_inc(x_5); +x_91 = l___private_Init_Lean_Expr_2__getAppArgsAux___main(x_5, x_88, x_90); +x_92 = l_Lean_reduceRec___at___private_Init_Lean_Meta_16__whnfAux___main___spec__5(x_1, x_2, x_3, x_5, x_30, x_33, x_84, x_37, x_91, x_6, x_83); +lean_dec(x_91); +lean_dec(x_33); +lean_dec(x_30); +return x_92; +} +default: +{ +uint8_t x_93; +lean_dec(x_49); +lean_dec(x_37); +lean_dec(x_6); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_93 = !lean_is_exclusive(x_38); +if (x_93 == 0) +{ +lean_object* x_94; uint8_t x_95; +x_94 = lean_ctor_get(x_38, 0); +lean_dec(x_94); +x_95 = lean_expr_eqv(x_30, x_33); +lean_dec(x_30); +if (x_95 == 0) +{ +lean_object* x_96; +x_96 = l_Lean_Expr_updateFn___main(x_5, x_33); +lean_dec(x_33); +lean_ctor_set(x_38, 0, x_96); +return x_38; +} +else +{ +lean_dec(x_33); +lean_ctor_set(x_38, 0, x_5); +return x_38; +} +} +else +{ +lean_object* x_97; uint8_t x_98; +x_97 = lean_ctor_get(x_38, 1); +lean_inc(x_97); +lean_dec(x_38); +x_98 = lean_expr_eqv(x_30, x_33); +lean_dec(x_30); +if (x_98 == 0) +{ +lean_object* x_99; lean_object* x_100; +x_99 = l_Lean_Expr_updateFn___main(x_5, x_33); +lean_dec(x_33); +x_100 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_100, 0, x_99); +lean_ctor_set(x_100, 1, x_97); +return x_100; +} +else +{ +lean_object* x_101; +lean_dec(x_33); +x_101 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_101, 0, x_5); +lean_ctor_set(x_101, 1, x_97); +return x_101; +} +} +} +} +} +} +else +{ +uint8_t x_102; +lean_dec(x_37); +lean_dec(x_33); +lean_dec(x_30); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_102 = !lean_is_exclusive(x_38); +if (x_102 == 0) +{ +return x_38; +} +else +{ +lean_object* x_103; lean_object* x_104; lean_object* x_105; +x_103 = lean_ctor_get(x_38, 0); +x_104 = lean_ctor_get(x_38, 1); +lean_inc(x_104); +lean_inc(x_103); +lean_dec(x_38); +x_105 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_105, 0, x_103); +lean_ctor_set(x_105, 1, x_104); +return x_105; +} +} +} +else +{ +uint8_t x_106; +lean_dec(x_6); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_106 = lean_expr_eqv(x_30, x_33); +lean_dec(x_30); +if (x_106 == 0) +{ +lean_object* x_107; +x_107 = l_Lean_Expr_updateFn___main(x_5, x_33); +lean_dec(x_33); +lean_ctor_set(x_31, 0, x_107); +return x_31; +} +else +{ +lean_dec(x_33); +lean_ctor_set(x_31, 0, x_5); +return x_31; +} +} +} +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_free_object(x_31); +lean_dec(x_33); +x_108 = lean_unsigned_to_nat(0u); +x_109 = l_Lean_Expr_getAppNumArgsAux___main(x_5, x_108); +x_110 = lean_mk_empty_array_with_capacity(x_109); +lean_dec(x_109); +x_111 = l___private_Init_Lean_Expr_3__getAppRevArgsAux___main(x_5, x_110); +x_112 = l_Lean_Expr_betaRev(x_30, x_111); +lean_dec(x_30); +x_113 = l_Lean_whnfCore___main___at___private_Init_Lean_Meta_16__whnfAux___main___spec__1(x_1, x_2, x_3, x_112, x_6, x_34); +return x_113; +} +} +else +{ +lean_object* x_114; lean_object* x_115; uint8_t x_116; +x_114 = lean_ctor_get(x_31, 0); +x_115 = lean_ctor_get(x_31, 1); +lean_inc(x_115); +lean_inc(x_114); +lean_dec(x_31); +x_116 = l_Lean_Expr_isLambda(x_114); +if (x_116 == 0) +{ +if (lean_obj_tag(x_114) == 4) +{ +lean_object* x_117; lean_object* x_118; lean_object* x_119; +x_117 = lean_ctor_get(x_114, 0); +lean_inc(x_117); +x_118 = lean_ctor_get(x_114, 1); +lean_inc(x_118); +x_119 = l___private_Init_Lean_Meta_10__getConst(x_117, x_6, x_115); +if (lean_obj_tag(x_119) == 0) +{ +lean_object* x_120; +x_120 = lean_ctor_get(x_119, 0); +lean_inc(x_120); +if (lean_obj_tag(x_120) == 0) +{ +lean_object* x_121; lean_object* x_122; uint8_t x_123; +lean_dec(x_118); +lean_dec(x_6); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_121 = lean_ctor_get(x_119, 1); +lean_inc(x_121); +if (lean_is_exclusive(x_119)) { + lean_ctor_release(x_119, 0); + lean_ctor_release(x_119, 1); + x_122 = x_119; +} else { + lean_dec_ref(x_119); + x_122 = lean_box(0); +} +x_123 = lean_expr_eqv(x_30, x_114); +lean_dec(x_30); +if (x_123 == 0) +{ +lean_object* x_124; lean_object* x_125; +x_124 = l_Lean_Expr_updateFn___main(x_5, x_114); +lean_dec(x_114); +if (lean_is_scalar(x_122)) { + x_125 = lean_alloc_ctor(0, 2, 0); +} else { + x_125 = x_122; +} +lean_ctor_set(x_125, 0, x_124); +lean_ctor_set(x_125, 1, x_121); +return x_125; +} +else +{ +lean_object* x_126; +lean_dec(x_114); +if (lean_is_scalar(x_122)) { + x_126 = lean_alloc_ctor(0, 2, 0); +} else { + x_126 = x_122; +} +lean_ctor_set(x_126, 0, x_5); +lean_ctor_set(x_126, 1, x_121); +return x_126; +} +} +else +{ +lean_object* x_127; +x_127 = lean_ctor_get(x_120, 0); +lean_inc(x_127); +lean_dec(x_120); +switch (lean_obj_tag(x_127)) { +case 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_119, 1); +lean_inc(x_128); +lean_dec(x_119); +x_129 = l_Lean_ConstantInfo_name(x_127); +x_130 = l___private_Init_Lean_Meta_11__isAuxDef_x3f(x_129, x_6, x_128); +lean_dec(x_129); +x_131 = lean_ctor_get(x_130, 0); +lean_inc(x_131); +x_132 = lean_unbox(x_131); +lean_dec(x_131); +if (x_132 == 0) +{ +lean_object* x_133; lean_object* x_134; uint8_t x_135; +lean_dec(x_127); +lean_dec(x_118); +lean_dec(x_6); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_133 = lean_ctor_get(x_130, 1); +lean_inc(x_133); +if (lean_is_exclusive(x_130)) { + lean_ctor_release(x_130, 0); + lean_ctor_release(x_130, 1); + x_134 = x_130; +} else { + lean_dec_ref(x_130); + x_134 = lean_box(0); +} +x_135 = lean_expr_eqv(x_30, x_114); +lean_dec(x_30); +if (x_135 == 0) +{ +lean_object* x_136; lean_object* x_137; +x_136 = l_Lean_Expr_updateFn___main(x_5, x_114); +lean_dec(x_114); +if (lean_is_scalar(x_134)) { + x_137 = lean_alloc_ctor(0, 2, 0); +} else { + x_137 = x_134; +} +lean_ctor_set(x_137, 0, x_136); +lean_ctor_set(x_137, 1, x_133); +return x_137; +} +else +{ +lean_object* x_138; +lean_dec(x_114); +if (lean_is_scalar(x_134)) { + x_138 = lean_alloc_ctor(0, 2, 0); +} else { + x_138 = x_134; +} +lean_ctor_set(x_138, 0, x_5); +lean_ctor_set(x_138, 1, x_133); +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_object* x_146; lean_object* x_147; +x_139 = lean_ctor_get(x_130, 1); +lean_inc(x_139); +lean_dec(x_130); +x_140 = lean_unsigned_to_nat(0u); +x_141 = l_Lean_Expr_getAppNumArgsAux___main(x_5, x_140); +x_142 = l_Lean_Expr_inhabited___closed__1; +lean_inc(x_141); +x_143 = lean_mk_array(x_141, x_142); +x_144 = lean_unsigned_to_nat(1u); +x_145 = lean_nat_sub(x_141, x_144); +lean_dec(x_141); +lean_inc(x_5); +x_146 = l___private_Init_Lean_Expr_2__getAppArgsAux___main(x_5, x_143, x_145); +x_147 = l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at___private_Init_Lean_Meta_16__whnfAux___main___spec__3(x_1, x_2, x_3, x_5, x_30, x_114, x_127, x_118, x_146, x_6, x_139); +lean_dec(x_114); +lean_dec(x_30); +return x_147; +} +} +case 4: +{ +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_148 = lean_ctor_get(x_119, 1); +lean_inc(x_148); +lean_dec(x_119); +x_149 = lean_ctor_get(x_127, 0); +lean_inc(x_149); +lean_dec(x_127); +x_150 = lean_unsigned_to_nat(0u); +x_151 = l_Lean_Expr_getAppNumArgsAux___main(x_5, x_150); +x_152 = l_Lean_Expr_inhabited___closed__1; +lean_inc(x_151); +x_153 = lean_mk_array(x_151, x_152); +x_154 = lean_unsigned_to_nat(1u); +x_155 = lean_nat_sub(x_151, x_154); +lean_dec(x_151); +lean_inc(x_5); +x_156 = l___private_Init_Lean_Expr_2__getAppArgsAux___main(x_5, x_153, x_155); +x_157 = l_Lean_reduceQuotRec___at___private_Init_Lean_Meta_16__whnfAux___main___spec__4(x_1, x_2, x_3, x_5, x_30, x_114, x_149, x_118, x_156, x_6, x_148); +lean_dec(x_156); +lean_dec(x_118); +lean_dec(x_149); +lean_dec(x_114); +lean_dec(x_30); +return x_157; +} +case 7: +{ +lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; +x_158 = lean_ctor_get(x_119, 1); +lean_inc(x_158); +lean_dec(x_119); +x_159 = lean_ctor_get(x_127, 0); +lean_inc(x_159); +lean_dec(x_127); +x_160 = lean_unsigned_to_nat(0u); +x_161 = l_Lean_Expr_getAppNumArgsAux___main(x_5, x_160); +x_162 = l_Lean_Expr_inhabited___closed__1; +lean_inc(x_161); +x_163 = lean_mk_array(x_161, x_162); +x_164 = lean_unsigned_to_nat(1u); +x_165 = lean_nat_sub(x_161, x_164); +lean_dec(x_161); +lean_inc(x_5); +x_166 = l___private_Init_Lean_Expr_2__getAppArgsAux___main(x_5, x_163, x_165); +x_167 = l_Lean_reduceRec___at___private_Init_Lean_Meta_16__whnfAux___main___spec__5(x_1, x_2, x_3, x_5, x_30, x_114, x_159, x_118, x_166, x_6, x_158); +lean_dec(x_166); +lean_dec(x_114); +lean_dec(x_30); +return x_167; +} +default: +{ +lean_object* x_168; lean_object* x_169; uint8_t x_170; +lean_dec(x_127); +lean_dec(x_118); +lean_dec(x_6); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_168 = lean_ctor_get(x_119, 1); +lean_inc(x_168); +if (lean_is_exclusive(x_119)) { + lean_ctor_release(x_119, 0); + lean_ctor_release(x_119, 1); + x_169 = x_119; +} else { + lean_dec_ref(x_119); + x_169 = lean_box(0); +} +x_170 = lean_expr_eqv(x_30, x_114); +lean_dec(x_30); +if (x_170 == 0) +{ +lean_object* x_171; lean_object* x_172; +x_171 = l_Lean_Expr_updateFn___main(x_5, x_114); +lean_dec(x_114); +if (lean_is_scalar(x_169)) { + x_172 = lean_alloc_ctor(0, 2, 0); +} else { + x_172 = x_169; +} +lean_ctor_set(x_172, 0, x_171); +lean_ctor_set(x_172, 1, x_168); +return x_172; +} +else +{ +lean_object* x_173; +lean_dec(x_114); +if (lean_is_scalar(x_169)) { + x_173 = lean_alloc_ctor(0, 2, 0); +} else { + x_173 = x_169; +} +lean_ctor_set(x_173, 0, x_5); +lean_ctor_set(x_173, 1, x_168); +return x_173; +} +} +} +} +} +else +{ +lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; +lean_dec(x_118); +lean_dec(x_114); +lean_dec(x_30); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_174 = lean_ctor_get(x_119, 0); +lean_inc(x_174); +x_175 = lean_ctor_get(x_119, 1); +lean_inc(x_175); +if (lean_is_exclusive(x_119)) { + lean_ctor_release(x_119, 0); + lean_ctor_release(x_119, 1); + x_176 = x_119; +} else { + lean_dec_ref(x_119); + x_176 = lean_box(0); +} +if (lean_is_scalar(x_176)) { + x_177 = lean_alloc_ctor(1, 2, 0); +} else { + x_177 = x_176; +} +lean_ctor_set(x_177, 0, x_174); +lean_ctor_set(x_177, 1, x_175); +return x_177; +} +} +else +{ +uint8_t x_178; +lean_dec(x_6); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_178 = lean_expr_eqv(x_30, x_114); +lean_dec(x_30); +if (x_178 == 0) +{ +lean_object* x_179; lean_object* x_180; +x_179 = l_Lean_Expr_updateFn___main(x_5, x_114); +lean_dec(x_114); +x_180 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_180, 0, x_179); +lean_ctor_set(x_180, 1, x_115); +return x_180; +} +else +{ +lean_object* x_181; +lean_dec(x_114); +x_181 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_181, 0, x_5); +lean_ctor_set(x_181, 1, x_115); +return x_181; +} +} +} +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_dec(x_114); +x_182 = lean_unsigned_to_nat(0u); +x_183 = l_Lean_Expr_getAppNumArgsAux___main(x_5, x_182); +x_184 = lean_mk_empty_array_with_capacity(x_183); +lean_dec(x_183); +x_185 = l___private_Init_Lean_Expr_3__getAppRevArgsAux___main(x_5, x_184); +x_186 = l_Lean_Expr_betaRev(x_30, x_185); +lean_dec(x_30); +x_187 = l_Lean_whnfCore___main___at___private_Init_Lean_Meta_16__whnfAux___main___spec__1(x_1, x_2, x_3, x_186, x_6, x_115); +return x_187; +} +} +} +else +{ +uint8_t x_188; +lean_dec(x_30); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_188 = !lean_is_exclusive(x_31); +if (x_188 == 0) +{ +return x_31; +} +else +{ +lean_object* x_189; lean_object* x_190; lean_object* x_191; +x_189 = lean_ctor_get(x_31, 0); +x_190 = lean_ctor_get(x_31, 1); +lean_inc(x_190); +lean_inc(x_189); +lean_dec(x_31); +x_191 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_191, 0, x_189); +lean_ctor_set(x_191, 1, x_190); +return x_191; +} +} +} +case 8: +{ +lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; +lean_dec(x_4); +x_192 = lean_ctor_get(x_5, 2); +lean_inc(x_192); +x_193 = lean_ctor_get(x_5, 3); +lean_inc(x_193); +lean_dec(x_5); +x_194 = lean_expr_instantiate1(x_193, x_192); +lean_dec(x_192); +lean_dec(x_193); +x_195 = l_Lean_whnfCore___main___at___private_Init_Lean_Meta_16__whnfAux___main___spec__1(x_1, x_2, x_3, x_194, x_6, x_7); +return x_195; +} +case 10: +{ +lean_object* x_196; +x_196 = lean_ctor_get(x_5, 1); +lean_inc(x_196); +lean_dec(x_5); +x_5 = x_196; +goto _start; +} +case 11: +{ +lean_object* x_198; lean_object* x_199; lean_object* x_200; +lean_dec(x_4); +x_198 = lean_ctor_get(x_5, 1); +lean_inc(x_198); +x_199 = lean_ctor_get(x_5, 2); +lean_inc(x_199); +lean_inc(x_6); +x_200 = l_Lean_whnfEasyCases___main___at___private_Init_Lean_Meta_16__whnfAux___main___spec__33(x_1, x_2, x_3, x_199, x_6, x_7); +if (lean_obj_tag(x_200) == 0) +{ +uint8_t x_201; +x_201 = !lean_is_exclusive(x_200); +if (x_201 == 0) +{ +lean_object* x_202; lean_object* x_203; lean_object* x_204; +x_202 = lean_ctor_get(x_200, 0); +x_203 = lean_ctor_get(x_200, 1); +x_204 = l_Lean_Expr_getAppFn___main(x_202); +if (lean_obj_tag(x_204) == 4) +{ +lean_object* x_205; lean_object* x_206; +lean_free_object(x_200); +x_205 = lean_ctor_get(x_204, 0); +lean_inc(x_205); +lean_dec(x_204); +x_206 = l___private_Init_Lean_Meta_10__getConst(x_205, x_6, x_203); +lean_dec(x_6); +if (lean_obj_tag(x_206) == 0) +{ +lean_object* x_207; +x_207 = lean_ctor_get(x_206, 0); +lean_inc(x_207); +if (lean_obj_tag(x_207) == 0) +{ +uint8_t x_208; +lean_dec(x_202); +lean_dec(x_198); +x_208 = !lean_is_exclusive(x_206); +if (x_208 == 0) +{ +lean_object* x_209; +x_209 = lean_ctor_get(x_206, 0); +lean_dec(x_209); +lean_ctor_set(x_206, 0, x_5); +return x_206; +} +else +{ +lean_object* x_210; lean_object* x_211; +x_210 = lean_ctor_get(x_206, 1); +lean_inc(x_210); +lean_dec(x_206); +x_211 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_211, 0, x_5); +lean_ctor_set(x_211, 1, x_210); +return x_211; +} +} +else +{ +lean_object* x_212; +x_212 = lean_ctor_get(x_207, 0); +lean_inc(x_212); +lean_dec(x_207); +if (lean_obj_tag(x_212) == 6) +{ +uint8_t x_213; +x_213 = !lean_is_exclusive(x_206); +if (x_213 == 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; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; +x_214 = lean_ctor_get(x_206, 0); +lean_dec(x_214); +x_215 = lean_ctor_get(x_212, 0); +lean_inc(x_215); +lean_dec(x_212); +x_216 = lean_ctor_get(x_215, 3); +lean_inc(x_216); +lean_dec(x_215); +x_217 = lean_nat_add(x_216, x_198); +lean_dec(x_198); +lean_dec(x_216); +x_218 = lean_unsigned_to_nat(0u); +x_219 = l_Lean_Expr_getAppNumArgsAux___main(x_202, x_218); +x_220 = lean_nat_sub(x_219, x_217); +lean_dec(x_217); +lean_dec(x_219); +x_221 = lean_unsigned_to_nat(1u); +x_222 = lean_nat_sub(x_220, x_221); +lean_dec(x_220); +x_223 = l_Lean_Expr_getRevArgD___main(x_202, x_222, x_5); +lean_dec(x_5); +lean_dec(x_202); +lean_ctor_set(x_206, 0, x_223); +return x_206; +} +else +{ +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_ctor_get(x_206, 1); +lean_inc(x_224); +lean_dec(x_206); +x_225 = lean_ctor_get(x_212, 0); +lean_inc(x_225); +lean_dec(x_212); +x_226 = lean_ctor_get(x_225, 3); +lean_inc(x_226); +lean_dec(x_225); +x_227 = lean_nat_add(x_226, x_198); +lean_dec(x_198); +lean_dec(x_226); +x_228 = lean_unsigned_to_nat(0u); +x_229 = l_Lean_Expr_getAppNumArgsAux___main(x_202, x_228); +x_230 = lean_nat_sub(x_229, x_227); +lean_dec(x_227); +lean_dec(x_229); +x_231 = lean_unsigned_to_nat(1u); +x_232 = lean_nat_sub(x_230, x_231); +lean_dec(x_230); +x_233 = l_Lean_Expr_getRevArgD___main(x_202, x_232, x_5); +lean_dec(x_5); +lean_dec(x_202); +x_234 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_234, 0, x_233); +lean_ctor_set(x_234, 1, x_224); +return x_234; +} +} +else +{ +uint8_t x_235; +lean_dec(x_212); +lean_dec(x_202); +lean_dec(x_198); +x_235 = !lean_is_exclusive(x_206); +if (x_235 == 0) +{ +lean_object* x_236; +x_236 = lean_ctor_get(x_206, 0); +lean_dec(x_236); +lean_ctor_set(x_206, 0, x_5); +return x_206; +} +else +{ +lean_object* x_237; lean_object* x_238; +x_237 = lean_ctor_get(x_206, 1); +lean_inc(x_237); +lean_dec(x_206); +x_238 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_238, 0, x_5); +lean_ctor_set(x_238, 1, x_237); +return x_238; +} +} +} +} +else +{ +uint8_t x_239; +lean_dec(x_202); +lean_dec(x_198); +lean_dec(x_5); +x_239 = !lean_is_exclusive(x_206); +if (x_239 == 0) +{ +return x_206; +} +else +{ +lean_object* x_240; lean_object* x_241; lean_object* x_242; +x_240 = lean_ctor_get(x_206, 0); +x_241 = lean_ctor_get(x_206, 1); +lean_inc(x_241); +lean_inc(x_240); +lean_dec(x_206); +x_242 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_242, 0, x_240); +lean_ctor_set(x_242, 1, x_241); +return x_242; +} +} +} +else +{ +lean_dec(x_204); +lean_dec(x_202); +lean_dec(x_198); +lean_dec(x_6); +lean_ctor_set(x_200, 0, x_5); +return x_200; +} +} +else +{ +lean_object* x_243; lean_object* x_244; lean_object* x_245; +x_243 = lean_ctor_get(x_200, 0); +x_244 = lean_ctor_get(x_200, 1); +lean_inc(x_244); +lean_inc(x_243); +lean_dec(x_200); +x_245 = l_Lean_Expr_getAppFn___main(x_243); +if (lean_obj_tag(x_245) == 4) +{ +lean_object* x_246; lean_object* x_247; +x_246 = lean_ctor_get(x_245, 0); +lean_inc(x_246); +lean_dec(x_245); +x_247 = l___private_Init_Lean_Meta_10__getConst(x_246, x_6, x_244); +lean_dec(x_6); +if (lean_obj_tag(x_247) == 0) +{ +lean_object* x_248; +x_248 = lean_ctor_get(x_247, 0); +lean_inc(x_248); +if (lean_obj_tag(x_248) == 0) +{ +lean_object* x_249; lean_object* x_250; lean_object* x_251; +lean_dec(x_243); +lean_dec(x_198); +x_249 = lean_ctor_get(x_247, 1); +lean_inc(x_249); +if (lean_is_exclusive(x_247)) { + lean_ctor_release(x_247, 0); + lean_ctor_release(x_247, 1); + x_250 = x_247; +} else { + lean_dec_ref(x_247); + x_250 = lean_box(0); +} +if (lean_is_scalar(x_250)) { + x_251 = lean_alloc_ctor(0, 2, 0); +} else { + x_251 = x_250; +} +lean_ctor_set(x_251, 0, x_5); +lean_ctor_set(x_251, 1, x_249); +return x_251; +} +else +{ +lean_object* x_252; +x_252 = lean_ctor_get(x_248, 0); +lean_inc(x_252); +lean_dec(x_248); +if (lean_obj_tag(x_252) == 6) +{ +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_253 = lean_ctor_get(x_247, 1); +lean_inc(x_253); +if (lean_is_exclusive(x_247)) { + lean_ctor_release(x_247, 0); + lean_ctor_release(x_247, 1); + x_254 = x_247; +} else { + lean_dec_ref(x_247); + x_254 = lean_box(0); +} +x_255 = lean_ctor_get(x_252, 0); +lean_inc(x_255); +lean_dec(x_252); +x_256 = lean_ctor_get(x_255, 3); +lean_inc(x_256); +lean_dec(x_255); +x_257 = lean_nat_add(x_256, x_198); +lean_dec(x_198); +lean_dec(x_256); +x_258 = lean_unsigned_to_nat(0u); +x_259 = l_Lean_Expr_getAppNumArgsAux___main(x_243, x_258); +x_260 = lean_nat_sub(x_259, x_257); +lean_dec(x_257); +lean_dec(x_259); +x_261 = lean_unsigned_to_nat(1u); +x_262 = lean_nat_sub(x_260, x_261); +lean_dec(x_260); +x_263 = l_Lean_Expr_getRevArgD___main(x_243, x_262, x_5); +lean_dec(x_5); +lean_dec(x_243); +if (lean_is_scalar(x_254)) { + x_264 = lean_alloc_ctor(0, 2, 0); +} else { + x_264 = x_254; +} +lean_ctor_set(x_264, 0, x_263); +lean_ctor_set(x_264, 1, x_253); +return x_264; +} +else +{ +lean_object* x_265; lean_object* x_266; lean_object* x_267; +lean_dec(x_252); +lean_dec(x_243); +lean_dec(x_198); +x_265 = lean_ctor_get(x_247, 1); +lean_inc(x_265); +if (lean_is_exclusive(x_247)) { + lean_ctor_release(x_247, 0); + lean_ctor_release(x_247, 1); + x_266 = x_247; +} else { + lean_dec_ref(x_247); + 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_5); +lean_ctor_set(x_267, 1, x_265); +return x_267; +} +} +} +else +{ +lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; +lean_dec(x_243); +lean_dec(x_198); +lean_dec(x_5); +x_268 = lean_ctor_get(x_247, 0); +lean_inc(x_268); +x_269 = lean_ctor_get(x_247, 1); +lean_inc(x_269); +if (lean_is_exclusive(x_247)) { + lean_ctor_release(x_247, 0); + lean_ctor_release(x_247, 1); + x_270 = x_247; +} else { + lean_dec_ref(x_247); + x_270 = lean_box(0); +} +if (lean_is_scalar(x_270)) { + x_271 = lean_alloc_ctor(1, 2, 0); +} else { + x_271 = x_270; +} +lean_ctor_set(x_271, 0, x_268); +lean_ctor_set(x_271, 1, x_269); +return x_271; +} +} +else +{ +lean_object* x_272; +lean_dec(x_245); +lean_dec(x_243); +lean_dec(x_198); +lean_dec(x_6); +x_272 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_272, 0, x_5); +lean_ctor_set(x_272, 1, x_244); +return x_272; +} +} +} +else +{ +uint8_t x_273; +lean_dec(x_198); +lean_dec(x_6); +lean_dec(x_5); +x_273 = !lean_is_exclusive(x_200); +if (x_273 == 0) +{ +return x_200; +} +else +{ +lean_object* x_274; lean_object* x_275; lean_object* x_276; +x_274 = lean_ctor_get(x_200, 0); +x_275 = lean_ctor_get(x_200, 1); +lean_inc(x_275); +lean_inc(x_274); +lean_dec(x_200); +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; +} +} +} +default: +{ +lean_object* x_277; +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_277 = lean_box(0); +x_8 = x_277; +goto block_12; +} +} +block_12: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; +lean_dec(x_8); +x_9 = lean_ctor_get(x_4, 0); +lean_inc(x_9); +lean_dec(x_4); +x_10 = lean_ctor_get(x_9, 1); +lean_inc(x_10); +lean_dec(x_9); +x_11 = lean_apply_4(x_10, lean_box(0), x_5, x_6, x_7); +return x_11; +} +} +} +lean_object* l_Lean_whnfCore___main___at___private_Init_Lean_Meta_16__whnfAux___main___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; +x_7 = l_panicWithPos___at___private_Init_Lean_Meta_16__whnfAux___main___spec__2___closed__1; +x_8 = l_Lean_whnfEasyCases___main___at___private_Init_Lean_Meta_16__whnfAux___main___spec__9(x_1, x_2, x_3, x_7, x_4, x_5, x_6); +return x_8; +} +} +lean_object* l___private_Init_Lean_WHNF_8__deltaDefinition___at___private_Init_Lean_Meta_16__whnfAux___main___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; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_9 = l_Lean_ConstantInfo_lparams(x_5); +x_10 = lean_unsigned_to_nat(0u); +x_11 = l_List_lengthAux___main___rarg(x_9, x_10); +lean_dec(x_9); +x_12 = l_List_lengthAux___main___rarg(x_6, x_10); +x_13 = lean_nat_dec_eq(x_11, x_12); +lean_dec(x_12); +lean_dec(x_11); +if (x_13 == 0) +{ +lean_object* x_14; +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_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_4); +lean_ctor_set(x_14, 1, x_8); +return x_14; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +lean_dec(x_4); +x_15 = lean_instantiate_value_lparams(x_5, x_6); +x_16 = l___private_Init_Lean_WHNF_7__extractIdRhs(x_15); +x_17 = l_Lean_whnfEasyCases___main___at___private_Init_Lean_Meta_16__whnfAux___main___spec__33(x_1, x_2, x_3, x_16, x_7, x_8); +return x_17; +} +} +} +lean_object* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at___private_Init_Lean_Meta_16__whnfAux___main___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) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_10 = l_Lean_ConstantInfo_lparams(x_5); +x_11 = lean_unsigned_to_nat(0u); +x_12 = l_List_lengthAux___main___rarg(x_10, x_11); +lean_dec(x_10); +x_13 = l_List_lengthAux___main___rarg(x_6, x_11); +x_14 = lean_nat_dec_eq(x_12, x_13); +lean_dec(x_13); +lean_dec(x_12); +if (x_14 == 0) +{ +lean_object* x_15; +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_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_4); +lean_ctor_set(x_15, 1, x_9); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +lean_dec(x_4); +x_16 = lean_instantiate_value_lparams(x_5, x_6); +x_17 = l_Lean_Expr_betaRev(x_16, x_7); +lean_dec(x_16); +x_18 = l___private_Init_Lean_WHNF_7__extractIdRhs(x_17); +x_19 = l_Lean_whnfEasyCases___main___at___private_Init_Lean_Meta_16__whnfAux___main___spec__33(x_1, x_2, x_3, x_18, x_8, x_9); +return x_19; +} +} +} +lean_object* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at___private_Init_Lean_Meta_16__whnfAux___main___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) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_10 = l_Lean_ConstantInfo_lparams(x_5); +x_11 = lean_unsigned_to_nat(0u); +x_12 = l_List_lengthAux___main___rarg(x_10, x_11); +lean_dec(x_10); +x_13 = l_List_lengthAux___main___rarg(x_6, x_11); +x_14 = lean_nat_dec_eq(x_12, x_13); +lean_dec(x_13); +lean_dec(x_12); +if (x_14 == 0) +{ +lean_object* x_15; +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_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_4); +lean_ctor_set(x_15, 1, x_9); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +lean_dec(x_4); +x_16 = lean_instantiate_value_lparams(x_5, x_6); +x_17 = l_Lean_Expr_betaRev(x_16, x_7); +lean_dec(x_16); +x_18 = l___private_Init_Lean_WHNF_7__extractIdRhs(x_17); +x_19 = l_Lean_whnfEasyCases___main___at___private_Init_Lean_Meta_16__whnfAux___main___spec__33(x_1, x_2, x_3, x_18, x_8, x_9); +return x_19; +} +} +} +lean_object* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at___private_Init_Lean_Meta_16__whnfAux___main___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) { +_start: +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_12 = l_Lean_ConstantInfo_lparams(x_7); +x_13 = lean_unsigned_to_nat(0u); +x_14 = l_List_lengthAux___main___rarg(x_12, x_13); +lean_dec(x_12); +x_15 = l_List_lengthAux___main___rarg(x_8, x_13); +x_16 = lean_nat_dec_eq(x_14, x_15); +lean_dec(x_15); +lean_dec(x_14); +if (x_16 == 0) +{ +uint8_t x_17; +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_17 = lean_expr_eqv(x_5, x_6); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; +x_18 = l_Lean_Expr_updateFn___main(x_4, x_6); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_11); +return x_19; +} +else +{ +lean_object* x_20; +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_4); +lean_ctor_set(x_20, 1, x_11); +return x_20; +} +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +lean_dec(x_4); +x_21 = lean_instantiate_value_lparams(x_7, x_8); +x_22 = l_Lean_Expr_betaRev(x_21, x_9); +lean_dec(x_21); +x_23 = l___private_Init_Lean_WHNF_7__extractIdRhs(x_22); +x_24 = l_Lean_whnfCore___main___at___private_Init_Lean_Meta_16__whnfAux___main___spec__16(x_1, x_2, x_3, x_23, x_10, x_11); +return x_24; +} +} +} +lean_object* l_Lean_reduceQuotRec___at___private_Init_Lean_Meta_16__whnfAux___main___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) { +_start: +{ +lean_object* x_12; lean_object* x_13; uint8_t x_115; lean_object* x_116; +x_115 = lean_ctor_get_uint8(x_7, sizeof(void*)*1); +x_116 = lean_box(x_115); +switch (lean_obj_tag(x_116)) { +case 2: +{ +lean_object* x_117; lean_object* x_118; +x_117 = lean_unsigned_to_nat(5u); +x_118 = lean_unsigned_to_nat(3u); +x_12 = x_117; +x_13 = x_118; +goto block_114; +} +case 3: +{ +lean_object* x_119; lean_object* x_120; +x_119 = lean_unsigned_to_nat(4u); +x_120 = lean_unsigned_to_nat(3u); +x_12 = x_119; +x_13 = x_120; +goto block_114; +} +default: +{ +uint8_t x_121; +lean_dec(x_116); +lean_dec(x_10); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_121 = lean_expr_eqv(x_5, x_6); +if (x_121 == 0) +{ +lean_object* x_122; lean_object* x_123; +x_122 = l_Lean_Expr_updateFn___main(x_4, x_6); +x_123 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_123, 0, x_122); +lean_ctor_set(x_123, 1, x_11); +return x_123; +} +else +{ +lean_object* x_124; +x_124 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_124, 0, x_4); +lean_ctor_set(x_124, 1, x_11); +return x_124; +} +} +} +block_114: +{ +lean_object* x_14; uint8_t x_15; +x_14 = lean_array_get_size(x_9); +x_15 = lean_nat_dec_lt(x_12, x_14); +if (x_15 == 0) +{ +uint8_t x_16; +lean_dec(x_14); +lean_dec(x_10); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_16 = lean_expr_eqv(x_5, x_6); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; +x_17 = l_Lean_Expr_updateFn___main(x_4, x_6); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_11); +return x_18; +} +else +{ +lean_object* x_19; +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_4); +lean_ctor_set(x_19, 1, x_11); +return x_19; +} +} +else +{ +lean_object* x_20; lean_object* x_21; +x_20 = lean_array_fget(x_9, x_12); +lean_inc(x_10); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +x_21 = l_Lean_whnfEasyCases___main___at___private_Init_Lean_Meta_16__whnfAux___main___spec__33(x_1, x_2, x_3, x_20, x_10, x_11); +if (lean_obj_tag(x_21) == 0) +{ +lean_object* x_22; +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); +if (lean_obj_tag(x_22) == 5) +{ +lean_object* x_23; +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +if (lean_obj_tag(x_23) == 5) +{ +lean_object* x_24; +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +lean_dec(x_23); +if (lean_obj_tag(x_24) == 5) +{ +lean_object* x_25; +x_25 = lean_ctor_get(x_24, 0); +lean_inc(x_25); +lean_dec(x_24); +if (lean_obj_tag(x_25) == 4) +{ +lean_object* x_26; lean_object* 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 = lean_ctor_get(x_22, 1); +lean_inc(x_27); +lean_dec(x_22); +x_28 = lean_ctor_get(x_25, 0); +lean_inc(x_28); +lean_dec(x_25); +x_29 = l___private_Init_Lean_Meta_10__getConst(x_28, x_10, x_26); +if (lean_obj_tag(x_29) == 0) +{ +lean_object* x_30; +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +if (lean_obj_tag(x_30) == 0) +{ +uint8_t x_31; +lean_dec(x_27); +lean_dec(x_14); +lean_dec(x_10); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_31 = !lean_is_exclusive(x_29); +if (x_31 == 0) +{ +lean_object* x_32; uint8_t x_33; +x_32 = lean_ctor_get(x_29, 0); +lean_dec(x_32); +x_33 = lean_expr_eqv(x_5, x_6); +if (x_33 == 0) +{ +lean_object* x_34; +x_34 = l_Lean_Expr_updateFn___main(x_4, x_6); +lean_ctor_set(x_29, 0, x_34); +return x_29; +} +else +{ +lean_ctor_set(x_29, 0, x_4); +return x_29; +} +} +else +{ +lean_object* x_35; uint8_t x_36; +x_35 = lean_ctor_get(x_29, 1); +lean_inc(x_35); +lean_dec(x_29); +x_36 = lean_expr_eqv(x_5, x_6); +if (x_36 == 0) +{ +lean_object* x_37; lean_object* x_38; +x_37 = l_Lean_Expr_updateFn___main(x_4, x_6); +x_38 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_35); +return x_38; +} +else +{ +lean_object* x_39; +x_39 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_39, 0, x_4); +lean_ctor_set(x_39, 1, x_35); +return x_39; +} +} +} +else +{ +lean_object* x_40; +x_40 = lean_ctor_get(x_30, 0); +lean_inc(x_40); +lean_dec(x_30); +if (lean_obj_tag(x_40) == 4) +{ +lean_object* x_41; uint8_t x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_40, 0); +lean_inc(x_41); +lean_dec(x_40); +x_42 = lean_ctor_get_uint8(x_41, sizeof(void*)*1); +lean_dec(x_41); +x_43 = lean_box(x_42); +if (lean_obj_tag(x_43) == 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_dec(x_4); +x_44 = lean_ctor_get(x_29, 1); +lean_inc(x_44); +lean_dec(x_29); +x_45 = l_Lean_Expr_inhabited; +x_46 = lean_array_get(x_45, x_9, x_13); +x_47 = lean_expr_mk_app(x_46, x_27); +x_48 = lean_unsigned_to_nat(1u); +x_49 = lean_nat_add(x_12, x_48); +x_50 = l___private_Init_Lean_Expr_1__mkAppRangeAux___main(x_14, x_9, x_49, x_47); +lean_dec(x_14); +x_51 = l_Lean_whnfCore___main___at___private_Init_Lean_Meta_16__whnfAux___main___spec__16(x_1, x_2, x_3, x_50, x_10, x_44); +return x_51; +} +else +{ +uint8_t x_52; +lean_dec(x_43); +lean_dec(x_27); +lean_dec(x_14); +lean_dec(x_10); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_52 = !lean_is_exclusive(x_29); +if (x_52 == 0) +{ +lean_object* x_53; uint8_t x_54; +x_53 = lean_ctor_get(x_29, 0); +lean_dec(x_53); +x_54 = lean_expr_eqv(x_5, x_6); +if (x_54 == 0) +{ +lean_object* x_55; +x_55 = l_Lean_Expr_updateFn___main(x_4, x_6); +lean_ctor_set(x_29, 0, x_55); +return x_29; +} +else +{ +lean_ctor_set(x_29, 0, x_4); +return x_29; +} +} +else +{ +lean_object* x_56; uint8_t x_57; +x_56 = lean_ctor_get(x_29, 1); +lean_inc(x_56); +lean_dec(x_29); +x_57 = lean_expr_eqv(x_5, x_6); +if (x_57 == 0) +{ +lean_object* x_58; lean_object* x_59; +x_58 = l_Lean_Expr_updateFn___main(x_4, x_6); +x_59 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_59, 0, x_58); +lean_ctor_set(x_59, 1, x_56); +return x_59; +} +else +{ +lean_object* x_60; +x_60 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_60, 0, x_4); +lean_ctor_set(x_60, 1, x_56); +return x_60; +} +} +} +} +else +{ +uint8_t x_61; +lean_dec(x_40); +lean_dec(x_27); +lean_dec(x_14); +lean_dec(x_10); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_61 = !lean_is_exclusive(x_29); +if (x_61 == 0) +{ +lean_object* x_62; uint8_t x_63; +x_62 = lean_ctor_get(x_29, 0); +lean_dec(x_62); +x_63 = lean_expr_eqv(x_5, x_6); +if (x_63 == 0) +{ +lean_object* x_64; +x_64 = l_Lean_Expr_updateFn___main(x_4, x_6); +lean_ctor_set(x_29, 0, x_64); +return x_29; +} +else +{ +lean_ctor_set(x_29, 0, x_4); +return x_29; +} +} +else +{ +lean_object* x_65; uint8_t x_66; +x_65 = lean_ctor_get(x_29, 1); +lean_inc(x_65); +lean_dec(x_29); +x_66 = lean_expr_eqv(x_5, x_6); +if (x_66 == 0) +{ +lean_object* x_67; lean_object* x_68; +x_67 = l_Lean_Expr_updateFn___main(x_4, x_6); +x_68 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_68, 0, x_67); +lean_ctor_set(x_68, 1, x_65); +return x_68; +} +else +{ +lean_object* x_69; +x_69 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_69, 0, x_4); +lean_ctor_set(x_69, 1, x_65); +return x_69; +} +} +} +} +} +else +{ +uint8_t x_70; +lean_dec(x_27); +lean_dec(x_14); +lean_dec(x_10); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_70 = !lean_is_exclusive(x_29); +if (x_70 == 0) +{ +return x_29; +} +else +{ +lean_object* x_71; lean_object* x_72; lean_object* x_73; +x_71 = lean_ctor_get(x_29, 0); +x_72 = lean_ctor_get(x_29, 1); +lean_inc(x_72); +lean_inc(x_71); +lean_dec(x_29); +x_73 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_73, 0, x_71); +lean_ctor_set(x_73, 1, x_72); +return x_73; +} +} +} +else +{ +uint8_t x_74; +lean_dec(x_25); +lean_dec(x_22); +lean_dec(x_14); +lean_dec(x_10); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_74 = !lean_is_exclusive(x_21); +if (x_74 == 0) +{ +lean_object* x_75; uint8_t x_76; +x_75 = lean_ctor_get(x_21, 0); +lean_dec(x_75); +x_76 = lean_expr_eqv(x_5, x_6); +if (x_76 == 0) +{ +lean_object* x_77; +x_77 = l_Lean_Expr_updateFn___main(x_4, x_6); +lean_ctor_set(x_21, 0, x_77); +return x_21; +} +else +{ +lean_ctor_set(x_21, 0, x_4); +return x_21; +} +} +else +{ +lean_object* x_78; uint8_t x_79; +x_78 = lean_ctor_get(x_21, 1); +lean_inc(x_78); +lean_dec(x_21); +x_79 = lean_expr_eqv(x_5, x_6); +if (x_79 == 0) +{ +lean_object* x_80; lean_object* x_81; +x_80 = l_Lean_Expr_updateFn___main(x_4, x_6); +x_81 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_81, 0, x_80); +lean_ctor_set(x_81, 1, x_78); +return x_81; +} +else +{ +lean_object* x_82; +x_82 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_82, 0, x_4); +lean_ctor_set(x_82, 1, x_78); +return x_82; +} +} +} +} +else +{ +uint8_t x_83; +lean_dec(x_24); +lean_dec(x_22); +lean_dec(x_14); +lean_dec(x_10); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_83 = !lean_is_exclusive(x_21); +if (x_83 == 0) +{ +lean_object* x_84; uint8_t x_85; +x_84 = lean_ctor_get(x_21, 0); +lean_dec(x_84); +x_85 = lean_expr_eqv(x_5, x_6); +if (x_85 == 0) +{ +lean_object* x_86; +x_86 = l_Lean_Expr_updateFn___main(x_4, x_6); +lean_ctor_set(x_21, 0, x_86); +return x_21; +} +else +{ +lean_ctor_set(x_21, 0, x_4); +return x_21; +} +} +else +{ +lean_object* x_87; uint8_t x_88; +x_87 = lean_ctor_get(x_21, 1); +lean_inc(x_87); +lean_dec(x_21); +x_88 = lean_expr_eqv(x_5, x_6); +if (x_88 == 0) +{ +lean_object* x_89; lean_object* x_90; +x_89 = l_Lean_Expr_updateFn___main(x_4, x_6); +x_90 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_90, 0, x_89); +lean_ctor_set(x_90, 1, x_87); +return x_90; +} +else +{ +lean_object* x_91; +x_91 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_91, 0, x_4); +lean_ctor_set(x_91, 1, x_87); +return x_91; +} +} +} +} +else +{ +uint8_t x_92; +lean_dec(x_23); +lean_dec(x_22); +lean_dec(x_14); +lean_dec(x_10); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_92 = !lean_is_exclusive(x_21); +if (x_92 == 0) +{ +lean_object* x_93; uint8_t x_94; +x_93 = lean_ctor_get(x_21, 0); +lean_dec(x_93); +x_94 = lean_expr_eqv(x_5, x_6); +if (x_94 == 0) +{ +lean_object* x_95; +x_95 = l_Lean_Expr_updateFn___main(x_4, x_6); +lean_ctor_set(x_21, 0, x_95); +return x_21; +} +else +{ +lean_ctor_set(x_21, 0, x_4); +return x_21; +} +} +else +{ +lean_object* x_96; uint8_t x_97; +x_96 = lean_ctor_get(x_21, 1); +lean_inc(x_96); +lean_dec(x_21); +x_97 = lean_expr_eqv(x_5, x_6); +if (x_97 == 0) +{ +lean_object* x_98; lean_object* x_99; +x_98 = l_Lean_Expr_updateFn___main(x_4, x_6); +x_99 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_99, 0, x_98); +lean_ctor_set(x_99, 1, x_96); +return x_99; +} +else +{ +lean_object* x_100; +x_100 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_100, 0, x_4); +lean_ctor_set(x_100, 1, x_96); +return x_100; +} +} +} +} +else +{ +uint8_t x_101; +lean_dec(x_22); +lean_dec(x_14); +lean_dec(x_10); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_101 = !lean_is_exclusive(x_21); +if (x_101 == 0) +{ +lean_object* x_102; uint8_t x_103; +x_102 = lean_ctor_get(x_21, 0); +lean_dec(x_102); +x_103 = lean_expr_eqv(x_5, x_6); +if (x_103 == 0) +{ +lean_object* x_104; +x_104 = l_Lean_Expr_updateFn___main(x_4, x_6); +lean_ctor_set(x_21, 0, x_104); +return x_21; +} +else +{ +lean_ctor_set(x_21, 0, x_4); +return x_21; +} +} +else +{ +lean_object* x_105; uint8_t x_106; +x_105 = lean_ctor_get(x_21, 1); +lean_inc(x_105); +lean_dec(x_21); +x_106 = lean_expr_eqv(x_5, x_6); +if (x_106 == 0) +{ +lean_object* x_107; lean_object* x_108; +x_107 = l_Lean_Expr_updateFn___main(x_4, x_6); +x_108 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_108, 0, x_107); +lean_ctor_set(x_108, 1, x_105); +return x_108; +} +else +{ +lean_object* x_109; +x_109 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_109, 0, x_4); +lean_ctor_set(x_109, 1, x_105); +return x_109; +} +} +} +} +else +{ +uint8_t x_110; +lean_dec(x_14); +lean_dec(x_10); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_110 = !lean_is_exclusive(x_21); +if (x_110 == 0) +{ +return x_21; +} +else +{ +lean_object* x_111; lean_object* x_112; lean_object* x_113; +x_111 = lean_ctor_get(x_21, 0); +x_112 = lean_ctor_get(x_21, 1); +lean_inc(x_112); +lean_inc(x_111); +lean_dec(x_21); +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; +} +} +} +} +} +} +lean_object* l___private_Init_Lean_WHNF_5__toCtorWhenK___at___private_Init_Lean_Meta_16__whnfAux___main___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_inc(x_1); +lean_inc(x_6); +x_8 = lean_apply_3(x_1, x_5, x_6, x_7); +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_8, 0); +lean_inc(x_9); +x_10 = lean_ctor_get(x_8, 1); +lean_inc(x_10); +lean_dec(x_8); +lean_inc(x_6); +lean_inc(x_2); +lean_inc(x_1); +x_11 = l_Lean_whnfEasyCases___main___at___private_Init_Lean_Meta_16__whnfAux___main___spec__33(x_1, x_2, x_3, x_9, x_6, x_10); +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; uint8_t x_17; +x_13 = lean_ctor_get(x_11, 0); +x_14 = lean_ctor_get(x_11, 1); +x_15 = l_Lean_Expr_getAppFn___main(x_13); +x_16 = l_Lean_RecursorVal_getInduct(x_4); +x_17 = l_Lean_Expr_isConstOf(x_15, x_16); +lean_dec(x_16); +lean_dec(x_15); +if (x_17 == 0) +{ +lean_object* x_18; +lean_dec(x_13); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_18 = lean_box(0); +lean_ctor_set(x_11, 0, x_18); +return x_11; +} +else +{ +uint8_t x_19; +x_19 = lean_expr_has_expr_mvar(x_13); +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +lean_free_object(x_11); +x_20 = lean_ctor_get(x_4, 2); +lean_inc(x_20); +lean_dec(x_4); +x_21 = l___private_Init_Lean_WHNF_5__toCtorWhenK___at___private_Init_Lean_Meta_16__whnfAux___main___spec__6___closed__1; +lean_inc(x_6); +lean_inc(x_13); +x_22 = l___private_Init_Lean_WHNF_2__mkNullaryCtor___at___private_Init_Lean_Meta_16__whnfAux___main___spec__7(x_21, x_13, x_20, x_6, x_14); +lean_dec(x_20); +if (lean_obj_tag(x_22) == 0) +{ +lean_object* x_23; +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +if (lean_obj_tag(x_23) == 0) +{ +uint8_t x_24; +lean_dec(x_13); +lean_dec(x_6); +lean_dec(x_2); +lean_dec(x_1); +x_24 = !lean_is_exclusive(x_22); +if (x_24 == 0) +{ +lean_object* x_25; +x_25 = lean_ctor_get(x_22, 0); +lean_dec(x_25); +return x_22; +} +else +{ +lean_object* x_26; lean_object* x_27; +x_26 = lean_ctor_get(x_22, 1); +lean_inc(x_26); +lean_dec(x_22); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_23); +lean_ctor_set(x_27, 1, x_26); +return x_27; +} +} +else +{ +lean_object* x_28; uint8_t x_29; +x_28 = lean_ctor_get(x_22, 1); +lean_inc(x_28); +lean_dec(x_22); +x_29 = !lean_is_exclusive(x_23); +if (x_29 == 0) +{ +lean_object* x_30; lean_object* x_31; +x_30 = lean_ctor_get(x_23, 0); +lean_inc(x_6); +lean_inc(x_30); +x_31 = lean_apply_3(x_1, x_30, x_6, x_28); +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_apply_4(x_2, x_13, x_32, x_6, x_33); +if (lean_obj_tag(x_34) == 0) +{ +lean_object* x_35; uint8_t x_36; +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) +{ +uint8_t x_37; +lean_free_object(x_23); +lean_dec(x_30); +x_37 = !lean_is_exclusive(x_34); +if (x_37 == 0) +{ +lean_object* x_38; lean_object* x_39; +x_38 = lean_ctor_get(x_34, 0); +lean_dec(x_38); +x_39 = lean_box(0); +lean_ctor_set(x_34, 0, x_39); +return x_34; +} +else +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_40 = lean_ctor_get(x_34, 1); +lean_inc(x_40); +lean_dec(x_34); +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; +} +} +else +{ +uint8_t x_43; +x_43 = !lean_is_exclusive(x_34); +if (x_43 == 0) +{ +lean_object* x_44; +x_44 = lean_ctor_get(x_34, 0); +lean_dec(x_44); +lean_ctor_set(x_34, 0, x_23); +return x_34; +} +else +{ +lean_object* x_45; lean_object* x_46; +x_45 = lean_ctor_get(x_34, 1); +lean_inc(x_45); +lean_dec(x_34); +x_46 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_46, 0, x_23); +lean_ctor_set(x_46, 1, x_45); +return x_46; +} +} +} +else +{ +uint8_t x_47; +lean_free_object(x_23); +lean_dec(x_30); +x_47 = !lean_is_exclusive(x_34); +if (x_47 == 0) +{ +return x_34; +} +else +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_48 = lean_ctor_get(x_34, 0); +x_49 = lean_ctor_get(x_34, 1); +lean_inc(x_49); +lean_inc(x_48); +lean_dec(x_34); +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_free_object(x_23); +lean_dec(x_30); +lean_dec(x_13); +lean_dec(x_6); +lean_dec(x_2); +x_51 = !lean_is_exclusive(x_31); +if (x_51 == 0) +{ +return x_31; +} +else +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; +x_52 = lean_ctor_get(x_31, 0); +x_53 = lean_ctor_get(x_31, 1); +lean_inc(x_53); +lean_inc(x_52); +lean_dec(x_31); +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; +x_55 = lean_ctor_get(x_23, 0); +lean_inc(x_55); +lean_dec(x_23); +lean_inc(x_6); +lean_inc(x_55); +x_56 = lean_apply_3(x_1, x_55, x_6, x_28); +if (lean_obj_tag(x_56) == 0) +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_57 = lean_ctor_get(x_56, 0); +lean_inc(x_57); +x_58 = lean_ctor_get(x_56, 1); +lean_inc(x_58); +lean_dec(x_56); +x_59 = lean_apply_4(x_2, x_13, x_57, x_6, x_58); +if (lean_obj_tag(x_59) == 0) +{ +lean_object* x_60; uint8_t x_61; +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; lean_object* x_65; +lean_dec(x_55); +x_62 = lean_ctor_get(x_59, 1); +lean_inc(x_62); +if (lean_is_exclusive(x_59)) { + lean_ctor_release(x_59, 0); + lean_ctor_release(x_59, 1); + x_63 = x_59; +} else { + lean_dec_ref(x_59); + x_63 = lean_box(0); +} +x_64 = lean_box(0); +if (lean_is_scalar(x_63)) { + x_65 = lean_alloc_ctor(0, 2, 0); +} else { + x_65 = x_63; +} +lean_ctor_set(x_65, 0, x_64); +lean_ctor_set(x_65, 1, x_62); +return x_65; +} +else +{ +lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; +x_66 = lean_ctor_get(x_59, 1); +lean_inc(x_66); +if (lean_is_exclusive(x_59)) { + lean_ctor_release(x_59, 0); + lean_ctor_release(x_59, 1); + x_67 = x_59; +} else { + lean_dec_ref(x_59); + x_67 = lean_box(0); +} +x_68 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_68, 0, x_55); +if (lean_is_scalar(x_67)) { + x_69 = lean_alloc_ctor(0, 2, 0); +} else { + x_69 = x_67; +} +lean_ctor_set(x_69, 0, x_68); +lean_ctor_set(x_69, 1, x_66); +return x_69; +} +} +else +{ +lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; +lean_dec(x_55); +x_70 = lean_ctor_get(x_59, 0); +lean_inc(x_70); +x_71 = lean_ctor_get(x_59, 1); +lean_inc(x_71); +if (lean_is_exclusive(x_59)) { + lean_ctor_release(x_59, 0); + lean_ctor_release(x_59, 1); + x_72 = x_59; +} else { + lean_dec_ref(x_59); + 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; +} +} +else +{ +lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; +lean_dec(x_55); +lean_dec(x_13); +lean_dec(x_6); +lean_dec(x_2); +x_74 = lean_ctor_get(x_56, 0); +lean_inc(x_74); +x_75 = lean_ctor_get(x_56, 1); +lean_inc(x_75); +if (lean_is_exclusive(x_56)) { + lean_ctor_release(x_56, 0); + lean_ctor_release(x_56, 1); + x_76 = x_56; +} else { + lean_dec_ref(x_56); + 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 +{ +uint8_t x_78; +lean_dec(x_13); +lean_dec(x_6); +lean_dec(x_2); +lean_dec(x_1); +x_78 = !lean_is_exclusive(x_22); +if (x_78 == 0) +{ +return x_22; +} +else +{ +lean_object* x_79; lean_object* x_80; lean_object* x_81; +x_79 = lean_ctor_get(x_22, 0); +x_80 = lean_ctor_get(x_22, 1); +lean_inc(x_80); +lean_inc(x_79); +lean_dec(x_22); +x_81 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_81, 0, x_79); +lean_ctor_set(x_81, 1, x_80); +return x_81; +} +} +} +else +{ +lean_object* x_82; lean_object* x_83; 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; +x_82 = lean_unsigned_to_nat(0u); +x_83 = l_Lean_Expr_getAppNumArgsAux___main(x_13, x_82); +x_84 = l_Lean_Expr_inhabited___closed__1; +lean_inc(x_83); +x_85 = lean_mk_array(x_83, x_84); +x_86 = lean_unsigned_to_nat(1u); +x_87 = lean_nat_sub(x_83, x_86); +lean_dec(x_83); +lean_inc(x_13); +x_88 = l___private_Init_Lean_Expr_2__getAppArgsAux___main(x_13, x_85, x_87); +x_89 = lean_ctor_get(x_4, 2); +lean_inc(x_89); +lean_dec(x_4); +lean_inc(x_89); +x_90 = l_Array_anyMAux___main___at___private_Init_Lean_WHNF_5__toCtorWhenK___spec__1(x_88, x_89); +lean_dec(x_88); +if (x_90 == 0) +{ +lean_object* x_91; lean_object* x_92; +lean_free_object(x_11); +x_91 = l___private_Init_Lean_WHNF_5__toCtorWhenK___at___private_Init_Lean_Meta_16__whnfAux___main___spec__6___closed__1; +lean_inc(x_6); +lean_inc(x_13); +x_92 = l___private_Init_Lean_WHNF_2__mkNullaryCtor___at___private_Init_Lean_Meta_16__whnfAux___main___spec__7(x_91, x_13, x_89, x_6, x_14); +lean_dec(x_89); +if (lean_obj_tag(x_92) == 0) +{ +lean_object* x_93; +x_93 = lean_ctor_get(x_92, 0); +lean_inc(x_93); +if (lean_obj_tag(x_93) == 0) +{ +uint8_t x_94; +lean_dec(x_13); +lean_dec(x_6); +lean_dec(x_2); +lean_dec(x_1); +x_94 = !lean_is_exclusive(x_92); +if (x_94 == 0) +{ +lean_object* x_95; +x_95 = lean_ctor_get(x_92, 0); +lean_dec(x_95); +return x_92; +} +else +{ +lean_object* x_96; lean_object* x_97; +x_96 = lean_ctor_get(x_92, 1); +lean_inc(x_96); +lean_dec(x_92); +x_97 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_97, 0, x_93); +lean_ctor_set(x_97, 1, x_96); +return x_97; +} +} +else +{ +lean_object* x_98; uint8_t x_99; +x_98 = lean_ctor_get(x_92, 1); +lean_inc(x_98); +lean_dec(x_92); +x_99 = !lean_is_exclusive(x_93); +if (x_99 == 0) +{ +lean_object* x_100; lean_object* x_101; +x_100 = lean_ctor_get(x_93, 0); +lean_inc(x_6); +lean_inc(x_100); +x_101 = lean_apply_3(x_1, x_100, x_6, x_98); +if (lean_obj_tag(x_101) == 0) +{ +lean_object* x_102; lean_object* x_103; lean_object* x_104; +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_apply_4(x_2, x_13, x_102, x_6, x_103); +if (lean_obj_tag(x_104) == 0) +{ +lean_object* x_105; uint8_t x_106; +x_105 = lean_ctor_get(x_104, 0); +lean_inc(x_105); +x_106 = lean_unbox(x_105); +lean_dec(x_105); +if (x_106 == 0) +{ +uint8_t x_107; +lean_free_object(x_93); +lean_dec(x_100); +x_107 = !lean_is_exclusive(x_104); +if (x_107 == 0) +{ +lean_object* x_108; lean_object* x_109; +x_108 = lean_ctor_get(x_104, 0); +lean_dec(x_108); +x_109 = lean_box(0); +lean_ctor_set(x_104, 0, x_109); +return x_104; +} +else +{ +lean_object* x_110; lean_object* x_111; lean_object* x_112; +x_110 = lean_ctor_get(x_104, 1); +lean_inc(x_110); +lean_dec(x_104); +x_111 = lean_box(0); +x_112 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_112, 0, x_111); +lean_ctor_set(x_112, 1, x_110); +return x_112; +} +} +else +{ +uint8_t x_113; +x_113 = !lean_is_exclusive(x_104); +if (x_113 == 0) +{ +lean_object* x_114; +x_114 = lean_ctor_get(x_104, 0); +lean_dec(x_114); +lean_ctor_set(x_104, 0, x_93); +return x_104; +} +else +{ +lean_object* x_115; lean_object* x_116; +x_115 = lean_ctor_get(x_104, 1); +lean_inc(x_115); +lean_dec(x_104); +x_116 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_116, 0, x_93); +lean_ctor_set(x_116, 1, x_115); +return x_116; +} +} +} +else +{ +uint8_t x_117; +lean_free_object(x_93); +lean_dec(x_100); +x_117 = !lean_is_exclusive(x_104); +if (x_117 == 0) +{ +return x_104; +} +else +{ +lean_object* x_118; lean_object* x_119; lean_object* x_120; +x_118 = lean_ctor_get(x_104, 0); +x_119 = lean_ctor_get(x_104, 1); +lean_inc(x_119); +lean_inc(x_118); +lean_dec(x_104); +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_free_object(x_93); +lean_dec(x_100); +lean_dec(x_13); +lean_dec(x_6); +lean_dec(x_2); +x_121 = !lean_is_exclusive(x_101); +if (x_121 == 0) +{ +return x_101; +} +else +{ +lean_object* x_122; lean_object* x_123; lean_object* x_124; +x_122 = lean_ctor_get(x_101, 0); +x_123 = lean_ctor_get(x_101, 1); +lean_inc(x_123); +lean_inc(x_122); +lean_dec(x_101); +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 +{ +lean_object* x_125; lean_object* x_126; +x_125 = lean_ctor_get(x_93, 0); +lean_inc(x_125); +lean_dec(x_93); +lean_inc(x_6); +lean_inc(x_125); +x_126 = lean_apply_3(x_1, x_125, x_6, x_98); +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, 0); +lean_inc(x_127); +x_128 = lean_ctor_get(x_126, 1); +lean_inc(x_128); +lean_dec(x_126); +x_129 = lean_apply_4(x_2, x_13, x_127, x_6, x_128); +if (lean_obj_tag(x_129) == 0) +{ +lean_object* x_130; uint8_t x_131; +x_130 = lean_ctor_get(x_129, 0); +lean_inc(x_130); +x_131 = lean_unbox(x_130); +lean_dec(x_130); +if (x_131 == 0) +{ +lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; +lean_dec(x_125); +x_132 = lean_ctor_get(x_129, 1); +lean_inc(x_132); +if (lean_is_exclusive(x_129)) { + lean_ctor_release(x_129, 0); + lean_ctor_release(x_129, 1); + x_133 = x_129; +} else { + lean_dec_ref(x_129); + x_133 = lean_box(0); +} +x_134 = lean_box(0); +if (lean_is_scalar(x_133)) { + x_135 = lean_alloc_ctor(0, 2, 0); +} else { + x_135 = x_133; +} +lean_ctor_set(x_135, 0, x_134); +lean_ctor_set(x_135, 1, x_132); +return x_135; +} +else +{ +lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; +x_136 = lean_ctor_get(x_129, 1); +lean_inc(x_136); +if (lean_is_exclusive(x_129)) { + lean_ctor_release(x_129, 0); + lean_ctor_release(x_129, 1); + x_137 = x_129; +} else { + lean_dec_ref(x_129); + x_137 = lean_box(0); +} +x_138 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_138, 0, x_125); +if (lean_is_scalar(x_137)) { + x_139 = lean_alloc_ctor(0, 2, 0); +} else { + x_139 = x_137; +} +lean_ctor_set(x_139, 0, x_138); +lean_ctor_set(x_139, 1, x_136); +return x_139; +} +} +else +{ +lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; +lean_dec(x_125); +x_140 = lean_ctor_get(x_129, 0); +lean_inc(x_140); +x_141 = lean_ctor_get(x_129, 1); +lean_inc(x_141); +if (lean_is_exclusive(x_129)) { + lean_ctor_release(x_129, 0); + lean_ctor_release(x_129, 1); + x_142 = x_129; +} else { + lean_dec_ref(x_129); + x_142 = lean_box(0); +} +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_125); +lean_dec(x_13); +lean_dec(x_6); +lean_dec(x_2); +x_144 = lean_ctor_get(x_126, 0); +lean_inc(x_144); +x_145 = lean_ctor_get(x_126, 1); +lean_inc(x_145); +if (lean_is_exclusive(x_126)) { + lean_ctor_release(x_126, 0); + lean_ctor_release(x_126, 1); + x_146 = x_126; +} else { + lean_dec_ref(x_126); + 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 +{ +uint8_t x_148; +lean_dec(x_13); +lean_dec(x_6); +lean_dec(x_2); +lean_dec(x_1); +x_148 = !lean_is_exclusive(x_92); +if (x_148 == 0) +{ +return x_92; +} +else +{ +lean_object* x_149; lean_object* x_150; lean_object* x_151; +x_149 = lean_ctor_get(x_92, 0); +x_150 = lean_ctor_get(x_92, 1); +lean_inc(x_150); +lean_inc(x_149); +lean_dec(x_92); +x_151 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_151, 0, x_149); +lean_ctor_set(x_151, 1, x_150); +return x_151; +} +} +} +else +{ +lean_object* x_152; +lean_dec(x_89); +lean_dec(x_13); +lean_dec(x_6); +lean_dec(x_2); +lean_dec(x_1); +x_152 = lean_box(0); +lean_ctor_set(x_11, 0, x_152); +return x_11; +} +} +} +} +else +{ +lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; uint8_t x_157; +x_153 = lean_ctor_get(x_11, 0); +x_154 = lean_ctor_get(x_11, 1); +lean_inc(x_154); +lean_inc(x_153); +lean_dec(x_11); +x_155 = l_Lean_Expr_getAppFn___main(x_153); +x_156 = l_Lean_RecursorVal_getInduct(x_4); +x_157 = l_Lean_Expr_isConstOf(x_155, x_156); +lean_dec(x_156); +lean_dec(x_155); +if (x_157 == 0) +{ +lean_object* x_158; lean_object* x_159; +lean_dec(x_153); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_158 = lean_box(0); +x_159 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_159, 0, x_158); +lean_ctor_set(x_159, 1, x_154); +return x_159; +} +else +{ +uint8_t x_160; +x_160 = lean_expr_has_expr_mvar(x_153); +if (x_160 == 0) +{ +lean_object* x_161; lean_object* x_162; lean_object* x_163; +x_161 = lean_ctor_get(x_4, 2); +lean_inc(x_161); +lean_dec(x_4); +x_162 = l___private_Init_Lean_WHNF_5__toCtorWhenK___at___private_Init_Lean_Meta_16__whnfAux___main___spec__6___closed__1; +lean_inc(x_6); +lean_inc(x_153); +x_163 = l___private_Init_Lean_WHNF_2__mkNullaryCtor___at___private_Init_Lean_Meta_16__whnfAux___main___spec__7(x_162, x_153, x_161, x_6, x_154); +lean_dec(x_161); +if (lean_obj_tag(x_163) == 0) +{ +lean_object* x_164; +x_164 = lean_ctor_get(x_163, 0); +lean_inc(x_164); +if (lean_obj_tag(x_164) == 0) +{ +lean_object* x_165; lean_object* x_166; lean_object* x_167; +lean_dec(x_153); +lean_dec(x_6); +lean_dec(x_2); +lean_dec(x_1); +x_165 = lean_ctor_get(x_163, 1); +lean_inc(x_165); +if (lean_is_exclusive(x_163)) { + lean_ctor_release(x_163, 0); + lean_ctor_release(x_163, 1); + x_166 = x_163; +} else { + lean_dec_ref(x_163); + x_166 = lean_box(0); +} +if (lean_is_scalar(x_166)) { + x_167 = lean_alloc_ctor(0, 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; +x_168 = lean_ctor_get(x_163, 1); +lean_inc(x_168); +lean_dec(x_163); +x_169 = lean_ctor_get(x_164, 0); +lean_inc(x_169); +if (lean_is_exclusive(x_164)) { + lean_ctor_release(x_164, 0); + x_170 = x_164; +} else { + lean_dec_ref(x_164); + x_170 = lean_box(0); +} +lean_inc(x_6); +lean_inc(x_169); +x_171 = lean_apply_3(x_1, x_169, x_6, x_168); +if (lean_obj_tag(x_171) == 0) +{ +lean_object* x_172; lean_object* x_173; lean_object* x_174; +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 = lean_apply_4(x_2, x_153, x_172, x_6, x_173); +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_170); +lean_dec(x_169); +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 = lean_box(0); +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_179); +lean_ctor_set(x_180, 1, x_177); +return x_180; +} +else +{ +lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; +x_181 = lean_ctor_get(x_174, 1); +lean_inc(x_181); +if (lean_is_exclusive(x_174)) { + lean_ctor_release(x_174, 0); + lean_ctor_release(x_174, 1); + x_182 = x_174; +} else { + lean_dec_ref(x_174); + x_182 = lean_box(0); +} +if (lean_is_scalar(x_170)) { + x_183 = lean_alloc_ctor(1, 1, 0); +} else { + x_183 = x_170; +} +lean_ctor_set(x_183, 0, x_169); +if (lean_is_scalar(x_182)) { + x_184 = lean_alloc_ctor(0, 2, 0); +} else { + x_184 = x_182; +} +lean_ctor_set(x_184, 0, x_183); +lean_ctor_set(x_184, 1, x_181); +return x_184; +} +} +else +{ +lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; +lean_dec(x_170); +lean_dec(x_169); +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; +lean_dec(x_170); +lean_dec(x_169); +lean_dec(x_153); +lean_dec(x_6); +lean_dec(x_2); +x_189 = lean_ctor_get(x_171, 0); +lean_inc(x_189); +x_190 = lean_ctor_get(x_171, 1); +lean_inc(x_190); +if (lean_is_exclusive(x_171)) { + lean_ctor_release(x_171, 0); + lean_ctor_release(x_171, 1); + x_191 = x_171; +} else { + lean_dec_ref(x_171); + 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_153); +lean_dec(x_6); +lean_dec(x_2); +lean_dec(x_1); +x_193 = lean_ctor_get(x_163, 0); +lean_inc(x_193); +x_194 = lean_ctor_get(x_163, 1); +lean_inc(x_194); +if (lean_is_exclusive(x_163)) { + lean_ctor_release(x_163, 0); + lean_ctor_release(x_163, 1); + x_195 = x_163; +} else { + lean_dec_ref(x_163); + x_195 = lean_box(0); +} +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_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; uint8_t x_205; +x_197 = lean_unsigned_to_nat(0u); +x_198 = l_Lean_Expr_getAppNumArgsAux___main(x_153, x_197); +x_199 = l_Lean_Expr_inhabited___closed__1; +lean_inc(x_198); +x_200 = lean_mk_array(x_198, x_199); +x_201 = lean_unsigned_to_nat(1u); +x_202 = lean_nat_sub(x_198, x_201); +lean_dec(x_198); +lean_inc(x_153); +x_203 = l___private_Init_Lean_Expr_2__getAppArgsAux___main(x_153, x_200, x_202); +x_204 = lean_ctor_get(x_4, 2); +lean_inc(x_204); +lean_dec(x_4); +lean_inc(x_204); +x_205 = l_Array_anyMAux___main___at___private_Init_Lean_WHNF_5__toCtorWhenK___spec__1(x_203, x_204); +lean_dec(x_203); +if (x_205 == 0) +{ +lean_object* x_206; lean_object* x_207; +x_206 = l___private_Init_Lean_WHNF_5__toCtorWhenK___at___private_Init_Lean_Meta_16__whnfAux___main___spec__6___closed__1; +lean_inc(x_6); +lean_inc(x_153); +x_207 = l___private_Init_Lean_WHNF_2__mkNullaryCtor___at___private_Init_Lean_Meta_16__whnfAux___main___spec__7(x_206, x_153, x_204, x_6, x_154); +lean_dec(x_204); +if (lean_obj_tag(x_207) == 0) +{ +lean_object* x_208; +x_208 = lean_ctor_get(x_207, 0); +lean_inc(x_208); +if (lean_obj_tag(x_208) == 0) +{ +lean_object* x_209; lean_object* x_210; lean_object* x_211; +lean_dec(x_153); +lean_dec(x_6); +lean_dec(x_2); +lean_dec(x_1); +x_209 = lean_ctor_get(x_207, 1); +lean_inc(x_209); +if (lean_is_exclusive(x_207)) { + lean_ctor_release(x_207, 0); + lean_ctor_release(x_207, 1); + x_210 = x_207; +} else { + lean_dec_ref(x_207); + x_210 = lean_box(0); +} +if (lean_is_scalar(x_210)) { + x_211 = lean_alloc_ctor(0, 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; +} +else +{ +lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; +x_212 = lean_ctor_get(x_207, 1); +lean_inc(x_212); +lean_dec(x_207); +x_213 = lean_ctor_get(x_208, 0); +lean_inc(x_213); +if (lean_is_exclusive(x_208)) { + lean_ctor_release(x_208, 0); + x_214 = x_208; +} else { + lean_dec_ref(x_208); + x_214 = lean_box(0); +} +lean_inc(x_6); +lean_inc(x_213); +x_215 = lean_apply_3(x_1, x_213, x_6, x_212); +if (lean_obj_tag(x_215) == 0) +{ +lean_object* x_216; lean_object* x_217; lean_object* x_218; +x_216 = lean_ctor_get(x_215, 0); +lean_inc(x_216); +x_217 = lean_ctor_get(x_215, 1); +lean_inc(x_217); +lean_dec(x_215); +x_218 = lean_apply_4(x_2, x_153, x_216, x_6, x_217); +if (lean_obj_tag(x_218) == 0) +{ +lean_object* x_219; uint8_t x_220; +x_219 = lean_ctor_get(x_218, 0); +lean_inc(x_219); +x_220 = lean_unbox(x_219); +lean_dec(x_219); +if (x_220 == 0) +{ +lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; +lean_dec(x_214); +lean_dec(x_213); +x_221 = lean_ctor_get(x_218, 1); +lean_inc(x_221); +if (lean_is_exclusive(x_218)) { + lean_ctor_release(x_218, 0); + lean_ctor_release(x_218, 1); + x_222 = x_218; +} else { + lean_dec_ref(x_218); + x_222 = lean_box(0); +} +x_223 = lean_box(0); +if (lean_is_scalar(x_222)) { + x_224 = lean_alloc_ctor(0, 2, 0); +} else { + x_224 = x_222; +} +lean_ctor_set(x_224, 0, x_223); +lean_ctor_set(x_224, 1, x_221); +return x_224; +} +else +{ +lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; +x_225 = lean_ctor_get(x_218, 1); +lean_inc(x_225); +if (lean_is_exclusive(x_218)) { + lean_ctor_release(x_218, 0); + lean_ctor_release(x_218, 1); + x_226 = x_218; +} else { + lean_dec_ref(x_218); + x_226 = lean_box(0); +} +if (lean_is_scalar(x_214)) { + x_227 = lean_alloc_ctor(1, 1, 0); +} else { + x_227 = x_214; +} +lean_ctor_set(x_227, 0, x_213); +if (lean_is_scalar(x_226)) { + x_228 = lean_alloc_ctor(0, 2, 0); +} else { + x_228 = x_226; +} +lean_ctor_set(x_228, 0, x_227); +lean_ctor_set(x_228, 1, x_225); +return x_228; +} +} +else +{ +lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; +lean_dec(x_214); +lean_dec(x_213); +x_229 = lean_ctor_get(x_218, 0); +lean_inc(x_229); +x_230 = lean_ctor_get(x_218, 1); +lean_inc(x_230); +if (lean_is_exclusive(x_218)) { + lean_ctor_release(x_218, 0); + lean_ctor_release(x_218, 1); + x_231 = x_218; +} else { + lean_dec_ref(x_218); + x_231 = lean_box(0); +} +if (lean_is_scalar(x_231)) { + x_232 = lean_alloc_ctor(1, 2, 0); +} else { + x_232 = 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_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; +lean_dec(x_214); +lean_dec(x_213); +lean_dec(x_153); +lean_dec(x_6); +lean_dec(x_2); +x_233 = lean_ctor_get(x_215, 0); +lean_inc(x_233); +x_234 = lean_ctor_get(x_215, 1); +lean_inc(x_234); +if (lean_is_exclusive(x_215)) { + lean_ctor_release(x_215, 0); + lean_ctor_release(x_215, 1); + x_235 = x_215; +} else { + lean_dec_ref(x_215); + x_235 = lean_box(0); +} +if (lean_is_scalar(x_235)) { + x_236 = lean_alloc_ctor(1, 2, 0); +} else { + x_236 = x_235; +} +lean_ctor_set(x_236, 0, x_233); +lean_ctor_set(x_236, 1, x_234); +return x_236; +} +} +} +else +{ +lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; +lean_dec(x_153); +lean_dec(x_6); +lean_dec(x_2); +lean_dec(x_1); +x_237 = lean_ctor_get(x_207, 0); +lean_inc(x_237); +x_238 = lean_ctor_get(x_207, 1); +lean_inc(x_238); +if (lean_is_exclusive(x_207)) { + lean_ctor_release(x_207, 0); + lean_ctor_release(x_207, 1); + x_239 = x_207; +} else { + lean_dec_ref(x_207); + x_239 = lean_box(0); +} +if (lean_is_scalar(x_239)) { + x_240 = lean_alloc_ctor(1, 2, 0); +} else { + x_240 = 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_241; lean_object* x_242; +lean_dec(x_204); +lean_dec(x_153); +lean_dec(x_6); +lean_dec(x_2); +lean_dec(x_1); +x_241 = lean_box(0); +x_242 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_242, 0, x_241); +lean_ctor_set(x_242, 1, x_154); +return x_242; +} +} +} +} +} +else +{ +uint8_t x_243; +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_243 = !lean_is_exclusive(x_11); +if (x_243 == 0) +{ +return x_11; +} +else +{ +lean_object* x_244; lean_object* x_245; lean_object* x_246; +x_244 = lean_ctor_get(x_11, 0); +x_245 = lean_ctor_get(x_11, 1); +lean_inc(x_245); +lean_inc(x_244); +lean_dec(x_11); +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_6); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_247 = !lean_is_exclusive(x_8); +if (x_247 == 0) +{ +return x_8; +} +else +{ +lean_object* x_248; lean_object* x_249; lean_object* x_250; +x_248 = lean_ctor_get(x_8, 0); +x_249 = lean_ctor_get(x_8, 1); +lean_inc(x_249); +lean_inc(x_248); +lean_dec(x_8); +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_object* l_Lean_reduceRec___at___private_Init_Lean_Meta_16__whnfAux___main___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) { +_start: +{ +lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_12 = l_Lean_RecursorVal_getMajorIdx(x_7); +x_13 = lean_array_get_size(x_9); +x_14 = lean_nat_dec_lt(x_12, x_13); +if (x_14 == 0) +{ +uint8_t x_15; +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_15 = lean_expr_eqv(x_5, x_6); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; +x_16 = l_Lean_Expr_updateFn___main(x_4, x_6); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_11); +return x_17; +} +else +{ +lean_object* x_18; +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_4); +lean_ctor_set(x_18, 1, x_11); +return x_18; +} +} +else +{ +lean_object* x_19; lean_object* x_20; +x_19 = lean_array_fget(x_9, x_12); +lean_inc(x_10); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +x_20 = l_Lean_whnfEasyCases___main___at___private_Init_Lean_Meta_16__whnfAux___main___spec__33(x_1, x_2, x_3, x_19, x_10, x_11); +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_65; +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +if (lean_is_exclusive(x_20)) { + lean_ctor_release(x_20, 0); + lean_ctor_release(x_20, 1); + x_23 = x_20; +} else { + lean_dec_ref(x_20); + x_23 = lean_box(0); +} +x_65 = lean_ctor_get_uint8(x_7, sizeof(void*)*7); +if (x_65 == 0) +{ +lean_object* x_66; lean_object* x_67; +lean_dec(x_23); +x_66 = l___private_Init_Lean_WHNF_3__toCtorIfLit(x_21); +lean_inc(x_7); +x_67 = l___private_Init_Lean_WHNF_4__getRecRuleFor(x_7, x_66); +if (lean_obj_tag(x_67) == 0) +{ +uint8_t x_68; +lean_dec(x_66); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_68 = lean_expr_eqv(x_5, x_6); +if (x_68 == 0) +{ +lean_object* x_69; lean_object* x_70; +x_69 = l_Lean_Expr_updateFn___main(x_4, x_6); +x_70 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_70, 0, x_69); +lean_ctor_set(x_70, 1, x_22); +return x_70; +} +else +{ +lean_object* x_71; +x_71 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_71, 0, x_4); +lean_ctor_set(x_71, 1, x_22); +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; uint8_t x_84; +x_72 = lean_ctor_get(x_67, 0); +lean_inc(x_72); +lean_dec(x_67); +x_73 = lean_unsigned_to_nat(0u); +x_74 = l_Lean_Expr_getAppNumArgsAux___main(x_66, x_73); +x_75 = l_Lean_Expr_inhabited___closed__1; +lean_inc(x_74); +x_76 = lean_mk_array(x_74, x_75); +x_77 = lean_unsigned_to_nat(1u); +x_78 = lean_nat_sub(x_74, x_77); +lean_dec(x_74); +x_79 = l___private_Init_Lean_Expr_2__getAppArgsAux___main(x_66, x_76, x_78); +x_80 = l_List_lengthAux___main___rarg(x_8, x_73); +x_81 = lean_ctor_get(x_7, 0); +lean_inc(x_81); +x_82 = lean_ctor_get(x_81, 1); +lean_inc(x_82); +lean_dec(x_81); +x_83 = l_List_lengthAux___main___rarg(x_82, x_73); +x_84 = lean_nat_dec_eq(x_80, x_83); +lean_dec(x_83); +lean_dec(x_80); +if (x_84 == 0) +{ +uint8_t x_85; +lean_dec(x_82); +lean_dec(x_79); +lean_dec(x_72); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_85 = lean_expr_eqv(x_5, x_6); +if (x_85 == 0) +{ +lean_object* x_86; lean_object* x_87; +x_86 = l_Lean_Expr_updateFn___main(x_4, x_6); +x_87 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_87, 0, x_86); +lean_ctor_set(x_87, 1, x_22); +return x_87; +} +else +{ +lean_object* x_88; +x_88 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_88, 0, x_4); +lean_ctor_set(x_88, 1, x_22); +return x_88; +} +} +else +{ +lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; +lean_dec(x_4); +x_89 = lean_ctor_get(x_72, 2); +lean_inc(x_89); +x_90 = lean_instantiate_lparams(x_89, x_82, x_8); +x_91 = lean_ctor_get(x_7, 2); +lean_inc(x_91); +x_92 = lean_ctor_get(x_7, 4); +lean_inc(x_92); +x_93 = lean_nat_add(x_91, x_92); +lean_dec(x_92); +lean_dec(x_91); +x_94 = lean_ctor_get(x_7, 5); +lean_inc(x_94); +lean_dec(x_7); +x_95 = lean_nat_add(x_93, x_94); +lean_dec(x_94); +lean_dec(x_93); +x_96 = l___private_Init_Lean_Expr_1__mkAppRangeAux___main(x_95, x_9, x_73, x_90); +lean_dec(x_95); +x_97 = lean_array_get_size(x_79); +x_98 = lean_ctor_get(x_72, 1); +lean_inc(x_98); +lean_dec(x_72); +x_99 = lean_nat_sub(x_97, x_98); +lean_dec(x_98); +x_100 = l___private_Init_Lean_Expr_1__mkAppRangeAux___main(x_97, x_79, x_99, x_96); +lean_dec(x_79); +lean_dec(x_97); +x_101 = lean_nat_add(x_12, x_77); +lean_dec(x_12); +x_102 = l___private_Init_Lean_Expr_1__mkAppRangeAux___main(x_13, x_9, x_101, x_100); +lean_dec(x_13); +x_103 = l_Lean_whnfCore___main___at___private_Init_Lean_Meta_16__whnfAux___main___spec__16(x_1, x_2, x_3, x_102, x_10, x_22); +return x_103; +} +} +} +else +{ +lean_object* x_104; +lean_inc(x_10); +lean_inc(x_21); +lean_inc(x_7); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +x_104 = l___private_Init_Lean_WHNF_5__toCtorWhenK___at___private_Init_Lean_Meta_16__whnfAux___main___spec__20(x_1, x_2, x_3, x_7, x_21, x_10, x_22); +if (lean_obj_tag(x_104) == 0) +{ +lean_object* x_105; +x_105 = lean_ctor_get(x_104, 0); +lean_inc(x_105); +if (lean_obj_tag(x_105) == 0) +{ +lean_object* x_106; +x_106 = lean_ctor_get(x_104, 1); +lean_inc(x_106); +lean_dec(x_104); +x_24 = x_21; +x_25 = x_106; +goto block_64; +} +else +{ +lean_object* x_107; lean_object* x_108; +lean_dec(x_21); +x_107 = lean_ctor_get(x_104, 1); +lean_inc(x_107); +lean_dec(x_104); +x_108 = lean_ctor_get(x_105, 0); +lean_inc(x_108); +lean_dec(x_105); +x_24 = x_108; +x_25 = x_107; +goto block_64; +} +} +else +{ +uint8_t x_109; +lean_dec(x_23); +lean_dec(x_21); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_109 = !lean_is_exclusive(x_104); +if (x_109 == 0) +{ +return x_104; +} +else +{ +lean_object* x_110; lean_object* x_111; lean_object* x_112; +x_110 = lean_ctor_get(x_104, 0); +x_111 = lean_ctor_get(x_104, 1); +lean_inc(x_111); +lean_inc(x_110); +lean_dec(x_104); +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; +} +} +} +block_64: +{ +lean_object* x_26; lean_object* x_27; +x_26 = l___private_Init_Lean_WHNF_3__toCtorIfLit(x_24); +lean_inc(x_7); +x_27 = l___private_Init_Lean_WHNF_4__getRecRuleFor(x_7, x_26); +if (lean_obj_tag(x_27) == 0) +{ +uint8_t x_28; +lean_dec(x_26); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_28 = lean_expr_eqv(x_5, x_6); +if (x_28 == 0) +{ +lean_object* x_29; lean_object* x_30; +x_29 = l_Lean_Expr_updateFn___main(x_4, x_6); +if (lean_is_scalar(x_23)) { + x_30 = lean_alloc_ctor(0, 2, 0); +} else { + x_30 = x_23; +} +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_25); +return x_30; +} +else +{ +lean_object* x_31; +if (lean_is_scalar(x_23)) { + x_31 = lean_alloc_ctor(0, 2, 0); +} else { + x_31 = x_23; +} +lean_ctor_set(x_31, 0, x_4); +lean_ctor_set(x_31, 1, x_25); +return x_31; +} +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44; +x_32 = lean_ctor_get(x_27, 0); +lean_inc(x_32); +lean_dec(x_27); +x_33 = lean_unsigned_to_nat(0u); +x_34 = l_Lean_Expr_getAppNumArgsAux___main(x_26, x_33); +x_35 = l_Lean_Expr_inhabited___closed__1; +lean_inc(x_34); +x_36 = lean_mk_array(x_34, x_35); +x_37 = lean_unsigned_to_nat(1u); +x_38 = lean_nat_sub(x_34, x_37); +lean_dec(x_34); +x_39 = l___private_Init_Lean_Expr_2__getAppArgsAux___main(x_26, x_36, x_38); +x_40 = l_List_lengthAux___main___rarg(x_8, x_33); +x_41 = lean_ctor_get(x_7, 0); +lean_inc(x_41); +x_42 = lean_ctor_get(x_41, 1); +lean_inc(x_42); +lean_dec(x_41); +x_43 = l_List_lengthAux___main___rarg(x_42, x_33); +x_44 = lean_nat_dec_eq(x_40, x_43); +lean_dec(x_43); +lean_dec(x_40); +if (x_44 == 0) +{ +uint8_t x_45; +lean_dec(x_42); +lean_dec(x_39); +lean_dec(x_32); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_45 = lean_expr_eqv(x_5, x_6); +if (x_45 == 0) +{ +lean_object* x_46; lean_object* x_47; +x_46 = l_Lean_Expr_updateFn___main(x_4, x_6); +if (lean_is_scalar(x_23)) { + x_47 = lean_alloc_ctor(0, 2, 0); +} else { + x_47 = x_23; +} +lean_ctor_set(x_47, 0, x_46); +lean_ctor_set(x_47, 1, x_25); +return x_47; +} +else +{ +lean_object* x_48; +if (lean_is_scalar(x_23)) { + x_48 = lean_alloc_ctor(0, 2, 0); +} else { + x_48 = x_23; +} +lean_ctor_set(x_48, 0, x_4); +lean_ctor_set(x_48, 1, x_25); +return x_48; +} +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; 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_dec(x_23); +lean_dec(x_4); +x_49 = lean_ctor_get(x_32, 2); +lean_inc(x_49); +x_50 = lean_instantiate_lparams(x_49, x_42, x_8); +x_51 = lean_ctor_get(x_7, 2); +lean_inc(x_51); +x_52 = lean_ctor_get(x_7, 4); +lean_inc(x_52); +x_53 = lean_nat_add(x_51, x_52); +lean_dec(x_52); +lean_dec(x_51); +x_54 = lean_ctor_get(x_7, 5); +lean_inc(x_54); +lean_dec(x_7); +x_55 = lean_nat_add(x_53, x_54); +lean_dec(x_54); +lean_dec(x_53); +x_56 = l___private_Init_Lean_Expr_1__mkAppRangeAux___main(x_55, x_9, x_33, x_50); +lean_dec(x_55); +x_57 = lean_array_get_size(x_39); +x_58 = lean_ctor_get(x_32, 1); +lean_inc(x_58); +lean_dec(x_32); +x_59 = lean_nat_sub(x_57, x_58); +lean_dec(x_58); +x_60 = l___private_Init_Lean_Expr_1__mkAppRangeAux___main(x_57, x_39, x_59, x_56); +lean_dec(x_39); +lean_dec(x_57); +x_61 = lean_nat_add(x_12, x_37); +lean_dec(x_12); +x_62 = l___private_Init_Lean_Expr_1__mkAppRangeAux___main(x_13, x_9, x_61, x_60); +lean_dec(x_13); +x_63 = l_Lean_whnfCore___main___at___private_Init_Lean_Meta_16__whnfAux___main___spec__16(x_1, x_2, x_3, x_62, x_10, x_25); +return x_63; +} +} +} +} +else +{ +uint8_t x_113; +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_113 = !lean_is_exclusive(x_20); +if (x_113 == 0) +{ +return x_20; +} +else +{ +lean_object* x_114; lean_object* x_115; lean_object* x_116; +x_114 = lean_ctor_get(x_20, 0); +x_115 = lean_ctor_get(x_20, 1); +lean_inc(x_115); +lean_inc(x_114); +lean_dec(x_20); +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; +} +} +} +} +} +lean_object* l_panicWithPos___at___private_Init_Lean_Meta_16__whnfAux___main___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) { +_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; 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 = l_Lean_Expr_inhabited; +x_9 = l_monadInhabited___rarg(x_1, x_8); +x_10 = l_panicWithPos___rarg___closed__1; +x_11 = lean_string_append(x_10, x_2); +x_12 = l_panicWithPos___rarg___closed__2; +x_13 = lean_string_append(x_11, x_12); +x_14 = l_Nat_repr(x_3); +x_15 = lean_string_append(x_13, x_14); +lean_dec(x_14); +x_16 = l_panicWithPos___rarg___closed__2; +x_17 = lean_string_append(x_15, x_16); +x_18 = l_Nat_repr(x_4); +x_19 = lean_string_append(x_17, x_18); +lean_dec(x_18); +x_20 = l_panicWithPos___rarg___closed__3; +x_21 = lean_string_append(x_19, x_20); +x_22 = lean_string_append(x_21, x_5); +x_23 = lean_panic_fn(x_22); +x_24 = lean_apply_2(x_23, x_6, x_7); +return x_24; +} +} +lean_object* l_Lean_whnfEasyCases___main___at___private_Init_Lean_Meta_16__whnfAux___main___spec__21___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_Lean_LocalDecl_valueOpt(x_6); +if (lean_obj_tag(x_9) == 0) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +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_4(x_11, lean_box(0), x_2, x_7, x_8); +return x_12; +} +else +{ +lean_object* x_13; lean_object* x_14; +lean_dec(x_2); +x_13 = lean_ctor_get(x_9, 0); +lean_inc(x_13); +lean_dec(x_9); +x_14 = l_Lean_whnfEasyCases___main___at___private_Init_Lean_Meta_16__whnfAux___main___spec__21(x_3, x_4, x_5, x_1, x_13, x_7, x_8); +return x_14; +} +} +} +lean_object* l_Lean_whnfEasyCases___main___at___private_Init_Lean_Meta_16__whnfAux___main___spec__21___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: +{ +if (lean_obj_tag(x_6) == 0) +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; +lean_dec(x_5); +lean_dec(x_4); +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_apply_4(x_10, lean_box(0), x_2, x_7, x_8); +return x_11; +} +else +{ +lean_object* x_12; lean_object* x_13; +lean_dec(x_2); +x_12 = lean_ctor_get(x_6, 0); +lean_inc(x_12); +lean_dec(x_6); +x_13 = l_Lean_whnfEasyCases___main___at___private_Init_Lean_Meta_16__whnfAux___main___spec__21(x_3, x_4, x_5, x_1, x_12, x_7, x_8); +return x_13; +} +} +} +lean_object* l_Lean_whnfEasyCases___main___at___private_Init_Lean_Meta_16__whnfAux___main___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) { +_start: +{ +lean_object* x_8; +switch (lean_obj_tag(x_5)) { +case 0: +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_13 = l_unreachable_x21___rarg___closed__1; +x_14 = lean_unsigned_to_nat(37u); +x_15 = lean_unsigned_to_nat(0u); +x_16 = l_unreachable_x21___rarg___closed__2; +x_17 = l_panicWithPos___at___private_Init_Lean_Meta_16__whnfAux___main___spec__22(x_4, x_13, x_14, x_15, x_16, x_6, x_7); +return x_17; +} +case 1: +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_18 = lean_ctor_get(x_5, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_4, 1); +lean_inc(x_19); +x_20 = lean_alloc_closure((void*)(l___private_Init_Lean_Meta_12__getLocalDecl), 3, 1); +lean_closure_set(x_20, 0, x_18); +x_21 = lean_alloc_closure((void*)(l_Lean_whnfEasyCases___main___at___private_Init_Lean_Meta_16__whnfAux___main___spec__21___lambda__1___boxed), 8, 5); +lean_closure_set(x_21, 0, x_4); +lean_closure_set(x_21, 1, x_5); +lean_closure_set(x_21, 2, x_1); +lean_closure_set(x_21, 3, x_2); +lean_closure_set(x_21, 4, x_3); +x_22 = lean_apply_6(x_19, lean_box(0), lean_box(0), x_20, x_21, x_6, x_7); +return x_22; +} +case 2: +{ +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_5, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_4, 1); +lean_inc(x_24); +x_25 = lean_alloc_closure((void*)(l___private_Init_Lean_Meta_13__getMVarAssignment___boxed), 3, 1); +lean_closure_set(x_25, 0, x_23); +x_26 = lean_alloc_closure((void*)(l_Lean_whnfEasyCases___main___at___private_Init_Lean_Meta_16__whnfAux___main___spec__21___lambda__2), 8, 5); +lean_closure_set(x_26, 0, x_4); +lean_closure_set(x_26, 1, x_5); +lean_closure_set(x_26, 2, x_1); +lean_closure_set(x_26, 3, x_2); +lean_closure_set(x_26, 4, x_3); +x_27 = lean_apply_6(x_24, lean_box(0), lean_box(0), x_25, x_26, x_6, x_7); +return x_27; +} +case 4: +{ +lean_object* x_28; +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_28 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_28, 0, x_5); +lean_ctor_set(x_28, 1, x_7); +return x_28; +} +case 5: +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +lean_dec(x_4); +x_29 = lean_ctor_get(x_5, 0); +lean_inc(x_29); +x_30 = l_Lean_Expr_getAppFn___main(x_29); +lean_dec(x_29); +lean_inc(x_6); +lean_inc(x_30); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +x_31 = l_Lean_whnfCore___main___at___private_Init_Lean_Meta_16__whnfAux___main___spec__16(x_1, x_2, x_3, x_30, x_6, x_7); +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; lean_object* x_34; uint8_t x_35; +x_33 = lean_ctor_get(x_31, 0); +x_34 = lean_ctor_get(x_31, 1); +x_35 = l_Lean_Expr_isLambda(x_33); +if (x_35 == 0) +{ +if (lean_obj_tag(x_33) == 4) +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; +lean_free_object(x_31); +x_36 = lean_ctor_get(x_33, 0); +lean_inc(x_36); +x_37 = lean_ctor_get(x_33, 1); +lean_inc(x_37); +x_38 = l___private_Init_Lean_Meta_10__getConst(x_36, x_6, x_34); +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_37); +lean_dec(x_6); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_40 = !lean_is_exclusive(x_38); +if (x_40 == 0) +{ +lean_object* x_41; uint8_t x_42; +x_41 = lean_ctor_get(x_38, 0); +lean_dec(x_41); +x_42 = lean_expr_eqv(x_30, x_33); +lean_dec(x_30); +if (x_42 == 0) +{ +lean_object* x_43; +x_43 = l_Lean_Expr_updateFn___main(x_5, x_33); +lean_dec(x_33); +lean_ctor_set(x_38, 0, x_43); +return x_38; +} +else +{ +lean_dec(x_33); +lean_ctor_set(x_38, 0, x_5); +return x_38; +} +} +else +{ +lean_object* x_44; uint8_t x_45; +x_44 = lean_ctor_get(x_38, 1); +lean_inc(x_44); +lean_dec(x_38); +x_45 = lean_expr_eqv(x_30, x_33); +lean_dec(x_30); +if (x_45 == 0) +{ +lean_object* x_46; lean_object* x_47; +x_46 = l_Lean_Expr_updateFn___main(x_5, x_33); +lean_dec(x_33); +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 +{ +lean_object* x_48; +lean_dec(x_33); +x_48 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_48, 0, x_5); +lean_ctor_set(x_48, 1, x_44); +return x_48; +} +} +} +else +{ +lean_object* x_49; +x_49 = lean_ctor_get(x_39, 0); +lean_inc(x_49); +lean_dec(x_39); +switch (lean_obj_tag(x_49)) { +case 1: +{ +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_38, 1); +lean_inc(x_50); +lean_dec(x_38); +x_51 = l_Lean_ConstantInfo_name(x_49); +x_52 = l___private_Init_Lean_Meta_11__isAuxDef_x3f(x_51, x_6, x_50); +lean_dec(x_51); +x_53 = lean_ctor_get(x_52, 0); +lean_inc(x_53); +x_54 = lean_unbox(x_53); +lean_dec(x_53); +if (x_54 == 0) +{ +uint8_t x_55; +lean_dec(x_49); +lean_dec(x_37); +lean_dec(x_6); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_55 = !lean_is_exclusive(x_52); +if (x_55 == 0) +{ +lean_object* x_56; uint8_t x_57; +x_56 = lean_ctor_get(x_52, 0); +lean_dec(x_56); +x_57 = lean_expr_eqv(x_30, x_33); +lean_dec(x_30); +if (x_57 == 0) +{ +lean_object* x_58; +x_58 = l_Lean_Expr_updateFn___main(x_5, x_33); +lean_dec(x_33); +lean_ctor_set(x_52, 0, x_58); +return x_52; +} +else +{ +lean_dec(x_33); +lean_ctor_set(x_52, 0, x_5); +return x_52; +} +} +else +{ +lean_object* x_59; uint8_t x_60; +x_59 = lean_ctor_get(x_52, 1); +lean_inc(x_59); +lean_dec(x_52); +x_60 = lean_expr_eqv(x_30, x_33); +lean_dec(x_30); +if (x_60 == 0) +{ +lean_object* x_61; lean_object* x_62; +x_61 = l_Lean_Expr_updateFn___main(x_5, x_33); +lean_dec(x_33); +x_62 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_62, 0, x_61); +lean_ctor_set(x_62, 1, x_59); +return x_62; +} +else +{ +lean_object* x_63; +lean_dec(x_33); +x_63 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_63, 0, x_5); +lean_ctor_set(x_63, 1, x_59); +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; +x_64 = lean_ctor_get(x_52, 1); +lean_inc(x_64); +lean_dec(x_52); +x_65 = lean_unsigned_to_nat(0u); +x_66 = l_Lean_Expr_getAppNumArgsAux___main(x_5, x_65); +x_67 = l_Lean_Expr_inhabited___closed__1; +lean_inc(x_66); +x_68 = lean_mk_array(x_66, x_67); +x_69 = lean_unsigned_to_nat(1u); +x_70 = lean_nat_sub(x_66, x_69); +lean_dec(x_66); +lean_inc(x_5); +x_71 = l___private_Init_Lean_Expr_2__getAppArgsAux___main(x_5, x_68, x_70); +x_72 = l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at___private_Init_Lean_Meta_16__whnfAux___main___spec__17(x_1, x_2, x_3, x_5, x_30, x_33, x_49, x_37, x_71, x_6, x_64); +lean_dec(x_33); +lean_dec(x_30); +return x_72; +} +} +case 4: +{ +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_ctor_get(x_38, 1); +lean_inc(x_73); +lean_dec(x_38); +x_74 = lean_ctor_get(x_49, 0); +lean_inc(x_74); +lean_dec(x_49); +x_75 = lean_unsigned_to_nat(0u); +x_76 = l_Lean_Expr_getAppNumArgsAux___main(x_5, x_75); +x_77 = l_Lean_Expr_inhabited___closed__1; +lean_inc(x_76); +x_78 = lean_mk_array(x_76, x_77); +x_79 = lean_unsigned_to_nat(1u); +x_80 = lean_nat_sub(x_76, x_79); +lean_dec(x_76); +lean_inc(x_5); +x_81 = l___private_Init_Lean_Expr_2__getAppArgsAux___main(x_5, x_78, x_80); +x_82 = l_Lean_reduceQuotRec___at___private_Init_Lean_Meta_16__whnfAux___main___spec__18(x_1, x_2, x_3, x_5, x_30, x_33, x_74, x_37, x_81, x_6, x_73); +lean_dec(x_81); +lean_dec(x_37); +lean_dec(x_74); +lean_dec(x_33); +lean_dec(x_30); +return x_82; +} +case 7: +{ +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_38, 1); +lean_inc(x_83); +lean_dec(x_38); +x_84 = lean_ctor_get(x_49, 0); +lean_inc(x_84); +lean_dec(x_49); +x_85 = lean_unsigned_to_nat(0u); +x_86 = l_Lean_Expr_getAppNumArgsAux___main(x_5, x_85); +x_87 = l_Lean_Expr_inhabited___closed__1; +lean_inc(x_86); +x_88 = lean_mk_array(x_86, x_87); +x_89 = lean_unsigned_to_nat(1u); +x_90 = lean_nat_sub(x_86, x_89); +lean_dec(x_86); +lean_inc(x_5); +x_91 = l___private_Init_Lean_Expr_2__getAppArgsAux___main(x_5, x_88, x_90); +x_92 = l_Lean_reduceRec___at___private_Init_Lean_Meta_16__whnfAux___main___spec__19(x_1, x_2, x_3, x_5, x_30, x_33, x_84, x_37, x_91, x_6, x_83); +lean_dec(x_91); +lean_dec(x_33); +lean_dec(x_30); +return x_92; +} +default: +{ +uint8_t x_93; +lean_dec(x_49); +lean_dec(x_37); +lean_dec(x_6); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_93 = !lean_is_exclusive(x_38); +if (x_93 == 0) +{ +lean_object* x_94; uint8_t x_95; +x_94 = lean_ctor_get(x_38, 0); +lean_dec(x_94); +x_95 = lean_expr_eqv(x_30, x_33); +lean_dec(x_30); +if (x_95 == 0) +{ +lean_object* x_96; +x_96 = l_Lean_Expr_updateFn___main(x_5, x_33); +lean_dec(x_33); +lean_ctor_set(x_38, 0, x_96); +return x_38; +} +else +{ +lean_dec(x_33); +lean_ctor_set(x_38, 0, x_5); +return x_38; +} +} +else +{ +lean_object* x_97; uint8_t x_98; +x_97 = lean_ctor_get(x_38, 1); +lean_inc(x_97); +lean_dec(x_38); +x_98 = lean_expr_eqv(x_30, x_33); +lean_dec(x_30); +if (x_98 == 0) +{ +lean_object* x_99; lean_object* x_100; +x_99 = l_Lean_Expr_updateFn___main(x_5, x_33); +lean_dec(x_33); +x_100 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_100, 0, x_99); +lean_ctor_set(x_100, 1, x_97); +return x_100; +} +else +{ +lean_object* x_101; +lean_dec(x_33); +x_101 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_101, 0, x_5); +lean_ctor_set(x_101, 1, x_97); +return x_101; +} +} +} +} +} +} +else +{ +uint8_t x_102; +lean_dec(x_37); +lean_dec(x_33); +lean_dec(x_30); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_102 = !lean_is_exclusive(x_38); +if (x_102 == 0) +{ +return x_38; +} +else +{ +lean_object* x_103; lean_object* x_104; lean_object* x_105; +x_103 = lean_ctor_get(x_38, 0); +x_104 = lean_ctor_get(x_38, 1); +lean_inc(x_104); +lean_inc(x_103); +lean_dec(x_38); +x_105 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_105, 0, x_103); +lean_ctor_set(x_105, 1, x_104); +return x_105; +} +} +} +else +{ +uint8_t x_106; +lean_dec(x_6); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_106 = lean_expr_eqv(x_30, x_33); +lean_dec(x_30); +if (x_106 == 0) +{ +lean_object* x_107; +x_107 = l_Lean_Expr_updateFn___main(x_5, x_33); +lean_dec(x_33); +lean_ctor_set(x_31, 0, x_107); +return x_31; +} +else +{ +lean_dec(x_33); +lean_ctor_set(x_31, 0, x_5); +return x_31; +} +} +} +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_free_object(x_31); +lean_dec(x_33); +x_108 = lean_unsigned_to_nat(0u); +x_109 = l_Lean_Expr_getAppNumArgsAux___main(x_5, x_108); +x_110 = lean_mk_empty_array_with_capacity(x_109); +lean_dec(x_109); +x_111 = l___private_Init_Lean_Expr_3__getAppRevArgsAux___main(x_5, x_110); +x_112 = l_Lean_Expr_betaRev(x_30, x_111); +lean_dec(x_30); +x_113 = l_Lean_whnfCore___main___at___private_Init_Lean_Meta_16__whnfAux___main___spec__16(x_1, x_2, x_3, x_112, x_6, x_34); +return x_113; +} +} +else +{ +lean_object* x_114; lean_object* x_115; uint8_t x_116; +x_114 = lean_ctor_get(x_31, 0); +x_115 = lean_ctor_get(x_31, 1); +lean_inc(x_115); +lean_inc(x_114); +lean_dec(x_31); +x_116 = l_Lean_Expr_isLambda(x_114); +if (x_116 == 0) +{ +if (lean_obj_tag(x_114) == 4) +{ +lean_object* x_117; lean_object* x_118; lean_object* x_119; +x_117 = lean_ctor_get(x_114, 0); +lean_inc(x_117); +x_118 = lean_ctor_get(x_114, 1); +lean_inc(x_118); +x_119 = l___private_Init_Lean_Meta_10__getConst(x_117, x_6, x_115); +if (lean_obj_tag(x_119) == 0) +{ +lean_object* x_120; +x_120 = lean_ctor_get(x_119, 0); +lean_inc(x_120); +if (lean_obj_tag(x_120) == 0) +{ +lean_object* x_121; lean_object* x_122; uint8_t x_123; +lean_dec(x_118); +lean_dec(x_6); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_121 = lean_ctor_get(x_119, 1); +lean_inc(x_121); +if (lean_is_exclusive(x_119)) { + lean_ctor_release(x_119, 0); + lean_ctor_release(x_119, 1); + x_122 = x_119; +} else { + lean_dec_ref(x_119); + x_122 = lean_box(0); +} +x_123 = lean_expr_eqv(x_30, x_114); +lean_dec(x_30); +if (x_123 == 0) +{ +lean_object* x_124; lean_object* x_125; +x_124 = l_Lean_Expr_updateFn___main(x_5, x_114); +lean_dec(x_114); +if (lean_is_scalar(x_122)) { + x_125 = lean_alloc_ctor(0, 2, 0); +} else { + x_125 = x_122; +} +lean_ctor_set(x_125, 0, x_124); +lean_ctor_set(x_125, 1, x_121); +return x_125; +} +else +{ +lean_object* x_126; +lean_dec(x_114); +if (lean_is_scalar(x_122)) { + x_126 = lean_alloc_ctor(0, 2, 0); +} else { + x_126 = x_122; +} +lean_ctor_set(x_126, 0, x_5); +lean_ctor_set(x_126, 1, x_121); +return x_126; +} +} +else +{ +lean_object* x_127; +x_127 = lean_ctor_get(x_120, 0); +lean_inc(x_127); +lean_dec(x_120); +switch (lean_obj_tag(x_127)) { +case 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_119, 1); +lean_inc(x_128); +lean_dec(x_119); +x_129 = l_Lean_ConstantInfo_name(x_127); +x_130 = l___private_Init_Lean_Meta_11__isAuxDef_x3f(x_129, x_6, x_128); +lean_dec(x_129); +x_131 = lean_ctor_get(x_130, 0); +lean_inc(x_131); +x_132 = lean_unbox(x_131); +lean_dec(x_131); +if (x_132 == 0) +{ +lean_object* x_133; lean_object* x_134; uint8_t x_135; +lean_dec(x_127); +lean_dec(x_118); +lean_dec(x_6); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_133 = lean_ctor_get(x_130, 1); +lean_inc(x_133); +if (lean_is_exclusive(x_130)) { + lean_ctor_release(x_130, 0); + lean_ctor_release(x_130, 1); + x_134 = x_130; +} else { + lean_dec_ref(x_130); + x_134 = lean_box(0); +} +x_135 = lean_expr_eqv(x_30, x_114); +lean_dec(x_30); +if (x_135 == 0) +{ +lean_object* x_136; lean_object* x_137; +x_136 = l_Lean_Expr_updateFn___main(x_5, x_114); +lean_dec(x_114); +if (lean_is_scalar(x_134)) { + x_137 = lean_alloc_ctor(0, 2, 0); +} else { + x_137 = x_134; +} +lean_ctor_set(x_137, 0, x_136); +lean_ctor_set(x_137, 1, x_133); +return x_137; +} +else +{ +lean_object* x_138; +lean_dec(x_114); +if (lean_is_scalar(x_134)) { + x_138 = lean_alloc_ctor(0, 2, 0); +} else { + x_138 = x_134; +} +lean_ctor_set(x_138, 0, x_5); +lean_ctor_set(x_138, 1, x_133); +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_object* x_146; lean_object* x_147; +x_139 = lean_ctor_get(x_130, 1); +lean_inc(x_139); +lean_dec(x_130); +x_140 = lean_unsigned_to_nat(0u); +x_141 = l_Lean_Expr_getAppNumArgsAux___main(x_5, x_140); +x_142 = l_Lean_Expr_inhabited___closed__1; +lean_inc(x_141); +x_143 = lean_mk_array(x_141, x_142); +x_144 = lean_unsigned_to_nat(1u); +x_145 = lean_nat_sub(x_141, x_144); +lean_dec(x_141); +lean_inc(x_5); +x_146 = l___private_Init_Lean_Expr_2__getAppArgsAux___main(x_5, x_143, x_145); +x_147 = l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at___private_Init_Lean_Meta_16__whnfAux___main___spec__17(x_1, x_2, x_3, x_5, x_30, x_114, x_127, x_118, x_146, x_6, x_139); +lean_dec(x_114); +lean_dec(x_30); +return x_147; +} +} +case 4: +{ +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_148 = lean_ctor_get(x_119, 1); +lean_inc(x_148); +lean_dec(x_119); +x_149 = lean_ctor_get(x_127, 0); +lean_inc(x_149); +lean_dec(x_127); +x_150 = lean_unsigned_to_nat(0u); +x_151 = l_Lean_Expr_getAppNumArgsAux___main(x_5, x_150); +x_152 = l_Lean_Expr_inhabited___closed__1; +lean_inc(x_151); +x_153 = lean_mk_array(x_151, x_152); +x_154 = lean_unsigned_to_nat(1u); +x_155 = lean_nat_sub(x_151, x_154); +lean_dec(x_151); +lean_inc(x_5); +x_156 = l___private_Init_Lean_Expr_2__getAppArgsAux___main(x_5, x_153, x_155); +x_157 = l_Lean_reduceQuotRec___at___private_Init_Lean_Meta_16__whnfAux___main___spec__18(x_1, x_2, x_3, x_5, x_30, x_114, x_149, x_118, x_156, x_6, x_148); +lean_dec(x_156); +lean_dec(x_118); +lean_dec(x_149); +lean_dec(x_114); +lean_dec(x_30); +return x_157; +} +case 7: +{ +lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; +x_158 = lean_ctor_get(x_119, 1); +lean_inc(x_158); +lean_dec(x_119); +x_159 = lean_ctor_get(x_127, 0); +lean_inc(x_159); +lean_dec(x_127); +x_160 = lean_unsigned_to_nat(0u); +x_161 = l_Lean_Expr_getAppNumArgsAux___main(x_5, x_160); +x_162 = l_Lean_Expr_inhabited___closed__1; +lean_inc(x_161); +x_163 = lean_mk_array(x_161, x_162); +x_164 = lean_unsigned_to_nat(1u); +x_165 = lean_nat_sub(x_161, x_164); +lean_dec(x_161); +lean_inc(x_5); +x_166 = l___private_Init_Lean_Expr_2__getAppArgsAux___main(x_5, x_163, x_165); +x_167 = l_Lean_reduceRec___at___private_Init_Lean_Meta_16__whnfAux___main___spec__19(x_1, x_2, x_3, x_5, x_30, x_114, x_159, x_118, x_166, x_6, x_158); +lean_dec(x_166); +lean_dec(x_114); +lean_dec(x_30); +return x_167; +} +default: +{ +lean_object* x_168; lean_object* x_169; uint8_t x_170; +lean_dec(x_127); +lean_dec(x_118); +lean_dec(x_6); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_168 = lean_ctor_get(x_119, 1); +lean_inc(x_168); +if (lean_is_exclusive(x_119)) { + lean_ctor_release(x_119, 0); + lean_ctor_release(x_119, 1); + x_169 = x_119; +} else { + lean_dec_ref(x_119); + x_169 = lean_box(0); +} +x_170 = lean_expr_eqv(x_30, x_114); +lean_dec(x_30); +if (x_170 == 0) +{ +lean_object* x_171; lean_object* x_172; +x_171 = l_Lean_Expr_updateFn___main(x_5, x_114); +lean_dec(x_114); +if (lean_is_scalar(x_169)) { + x_172 = lean_alloc_ctor(0, 2, 0); +} else { + x_172 = x_169; +} +lean_ctor_set(x_172, 0, x_171); +lean_ctor_set(x_172, 1, x_168); +return x_172; +} +else +{ +lean_object* x_173; +lean_dec(x_114); +if (lean_is_scalar(x_169)) { + x_173 = lean_alloc_ctor(0, 2, 0); +} else { + x_173 = x_169; +} +lean_ctor_set(x_173, 0, x_5); +lean_ctor_set(x_173, 1, x_168); +return x_173; +} +} +} +} +} +else +{ +lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; +lean_dec(x_118); +lean_dec(x_114); +lean_dec(x_30); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_174 = lean_ctor_get(x_119, 0); +lean_inc(x_174); +x_175 = lean_ctor_get(x_119, 1); +lean_inc(x_175); +if (lean_is_exclusive(x_119)) { + lean_ctor_release(x_119, 0); + lean_ctor_release(x_119, 1); + x_176 = x_119; +} else { + lean_dec_ref(x_119); + x_176 = lean_box(0); +} +if (lean_is_scalar(x_176)) { + x_177 = lean_alloc_ctor(1, 2, 0); +} else { + x_177 = x_176; +} +lean_ctor_set(x_177, 0, x_174); +lean_ctor_set(x_177, 1, x_175); +return x_177; +} +} +else +{ +uint8_t x_178; +lean_dec(x_6); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_178 = lean_expr_eqv(x_30, x_114); +lean_dec(x_30); +if (x_178 == 0) +{ +lean_object* x_179; lean_object* x_180; +x_179 = l_Lean_Expr_updateFn___main(x_5, x_114); +lean_dec(x_114); +x_180 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_180, 0, x_179); +lean_ctor_set(x_180, 1, x_115); +return x_180; +} +else +{ +lean_object* x_181; +lean_dec(x_114); +x_181 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_181, 0, x_5); +lean_ctor_set(x_181, 1, x_115); +return x_181; +} +} +} +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_dec(x_114); +x_182 = lean_unsigned_to_nat(0u); +x_183 = l_Lean_Expr_getAppNumArgsAux___main(x_5, x_182); +x_184 = lean_mk_empty_array_with_capacity(x_183); +lean_dec(x_183); +x_185 = l___private_Init_Lean_Expr_3__getAppRevArgsAux___main(x_5, x_184); +x_186 = l_Lean_Expr_betaRev(x_30, x_185); +lean_dec(x_30); +x_187 = l_Lean_whnfCore___main___at___private_Init_Lean_Meta_16__whnfAux___main___spec__16(x_1, x_2, x_3, x_186, x_6, x_115); +return x_187; +} +} +} +else +{ +uint8_t x_188; +lean_dec(x_30); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_188 = !lean_is_exclusive(x_31); +if (x_188 == 0) +{ +return x_31; +} +else +{ +lean_object* x_189; lean_object* x_190; lean_object* x_191; +x_189 = lean_ctor_get(x_31, 0); +x_190 = lean_ctor_get(x_31, 1); +lean_inc(x_190); +lean_inc(x_189); +lean_dec(x_31); +x_191 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_191, 0, x_189); +lean_ctor_set(x_191, 1, x_190); +return x_191; +} +} +} +case 8: +{ +lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; +lean_dec(x_4); +x_192 = lean_ctor_get(x_5, 2); +lean_inc(x_192); +x_193 = lean_ctor_get(x_5, 3); +lean_inc(x_193); +lean_dec(x_5); +x_194 = lean_expr_instantiate1(x_193, x_192); +lean_dec(x_192); +lean_dec(x_193); +x_195 = l_Lean_whnfCore___main___at___private_Init_Lean_Meta_16__whnfAux___main___spec__16(x_1, x_2, x_3, x_194, x_6, x_7); +return x_195; +} +case 10: +{ +lean_object* x_196; +x_196 = lean_ctor_get(x_5, 1); +lean_inc(x_196); +lean_dec(x_5); +x_5 = x_196; +goto _start; +} +case 11: +{ +lean_object* x_198; lean_object* x_199; lean_object* x_200; +lean_dec(x_4); +x_198 = lean_ctor_get(x_5, 1); +lean_inc(x_198); +x_199 = lean_ctor_get(x_5, 2); +lean_inc(x_199); +lean_inc(x_6); +x_200 = l_Lean_whnfEasyCases___main___at___private_Init_Lean_Meta_16__whnfAux___main___spec__33(x_1, x_2, x_3, x_199, x_6, x_7); +if (lean_obj_tag(x_200) == 0) +{ +uint8_t x_201; +x_201 = !lean_is_exclusive(x_200); +if (x_201 == 0) +{ +lean_object* x_202; lean_object* x_203; lean_object* x_204; +x_202 = lean_ctor_get(x_200, 0); +x_203 = lean_ctor_get(x_200, 1); +x_204 = l_Lean_Expr_getAppFn___main(x_202); +if (lean_obj_tag(x_204) == 4) +{ +lean_object* x_205; lean_object* x_206; +lean_free_object(x_200); +x_205 = lean_ctor_get(x_204, 0); +lean_inc(x_205); +lean_dec(x_204); +x_206 = l___private_Init_Lean_Meta_10__getConst(x_205, x_6, x_203); +lean_dec(x_6); +if (lean_obj_tag(x_206) == 0) +{ +lean_object* x_207; +x_207 = lean_ctor_get(x_206, 0); +lean_inc(x_207); +if (lean_obj_tag(x_207) == 0) +{ +uint8_t x_208; +lean_dec(x_202); +lean_dec(x_198); +x_208 = !lean_is_exclusive(x_206); +if (x_208 == 0) +{ +lean_object* x_209; +x_209 = lean_ctor_get(x_206, 0); +lean_dec(x_209); +lean_ctor_set(x_206, 0, x_5); +return x_206; +} +else +{ +lean_object* x_210; lean_object* x_211; +x_210 = lean_ctor_get(x_206, 1); +lean_inc(x_210); +lean_dec(x_206); +x_211 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_211, 0, x_5); +lean_ctor_set(x_211, 1, x_210); +return x_211; +} +} +else +{ +lean_object* x_212; +x_212 = lean_ctor_get(x_207, 0); +lean_inc(x_212); +lean_dec(x_207); +if (lean_obj_tag(x_212) == 6) +{ +uint8_t x_213; +x_213 = !lean_is_exclusive(x_206); +if (x_213 == 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; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; +x_214 = lean_ctor_get(x_206, 0); +lean_dec(x_214); +x_215 = lean_ctor_get(x_212, 0); +lean_inc(x_215); +lean_dec(x_212); +x_216 = lean_ctor_get(x_215, 3); +lean_inc(x_216); +lean_dec(x_215); +x_217 = lean_nat_add(x_216, x_198); +lean_dec(x_198); +lean_dec(x_216); +x_218 = lean_unsigned_to_nat(0u); +x_219 = l_Lean_Expr_getAppNumArgsAux___main(x_202, x_218); +x_220 = lean_nat_sub(x_219, x_217); +lean_dec(x_217); +lean_dec(x_219); +x_221 = lean_unsigned_to_nat(1u); +x_222 = lean_nat_sub(x_220, x_221); +lean_dec(x_220); +x_223 = l_Lean_Expr_getRevArgD___main(x_202, x_222, x_5); +lean_dec(x_5); +lean_dec(x_202); +lean_ctor_set(x_206, 0, x_223); +return x_206; +} +else +{ +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_ctor_get(x_206, 1); +lean_inc(x_224); +lean_dec(x_206); +x_225 = lean_ctor_get(x_212, 0); +lean_inc(x_225); +lean_dec(x_212); +x_226 = lean_ctor_get(x_225, 3); +lean_inc(x_226); +lean_dec(x_225); +x_227 = lean_nat_add(x_226, x_198); +lean_dec(x_198); +lean_dec(x_226); +x_228 = lean_unsigned_to_nat(0u); +x_229 = l_Lean_Expr_getAppNumArgsAux___main(x_202, x_228); +x_230 = lean_nat_sub(x_229, x_227); +lean_dec(x_227); +lean_dec(x_229); +x_231 = lean_unsigned_to_nat(1u); +x_232 = lean_nat_sub(x_230, x_231); +lean_dec(x_230); +x_233 = l_Lean_Expr_getRevArgD___main(x_202, x_232, x_5); +lean_dec(x_5); +lean_dec(x_202); +x_234 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_234, 0, x_233); +lean_ctor_set(x_234, 1, x_224); +return x_234; +} +} +else +{ +uint8_t x_235; +lean_dec(x_212); +lean_dec(x_202); +lean_dec(x_198); +x_235 = !lean_is_exclusive(x_206); +if (x_235 == 0) +{ +lean_object* x_236; +x_236 = lean_ctor_get(x_206, 0); +lean_dec(x_236); +lean_ctor_set(x_206, 0, x_5); +return x_206; +} +else +{ +lean_object* x_237; lean_object* x_238; +x_237 = lean_ctor_get(x_206, 1); +lean_inc(x_237); +lean_dec(x_206); +x_238 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_238, 0, x_5); +lean_ctor_set(x_238, 1, x_237); +return x_238; +} +} +} +} +else +{ +uint8_t x_239; +lean_dec(x_202); +lean_dec(x_198); +lean_dec(x_5); +x_239 = !lean_is_exclusive(x_206); +if (x_239 == 0) +{ +return x_206; +} +else +{ +lean_object* x_240; lean_object* x_241; lean_object* x_242; +x_240 = lean_ctor_get(x_206, 0); +x_241 = lean_ctor_get(x_206, 1); +lean_inc(x_241); +lean_inc(x_240); +lean_dec(x_206); +x_242 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_242, 0, x_240); +lean_ctor_set(x_242, 1, x_241); +return x_242; +} +} +} +else +{ +lean_dec(x_204); +lean_dec(x_202); +lean_dec(x_198); +lean_dec(x_6); +lean_ctor_set(x_200, 0, x_5); +return x_200; +} +} +else +{ +lean_object* x_243; lean_object* x_244; lean_object* x_245; +x_243 = lean_ctor_get(x_200, 0); +x_244 = lean_ctor_get(x_200, 1); +lean_inc(x_244); +lean_inc(x_243); +lean_dec(x_200); +x_245 = l_Lean_Expr_getAppFn___main(x_243); +if (lean_obj_tag(x_245) == 4) +{ +lean_object* x_246; lean_object* x_247; +x_246 = lean_ctor_get(x_245, 0); +lean_inc(x_246); +lean_dec(x_245); +x_247 = l___private_Init_Lean_Meta_10__getConst(x_246, x_6, x_244); +lean_dec(x_6); +if (lean_obj_tag(x_247) == 0) +{ +lean_object* x_248; +x_248 = lean_ctor_get(x_247, 0); +lean_inc(x_248); +if (lean_obj_tag(x_248) == 0) +{ +lean_object* x_249; lean_object* x_250; lean_object* x_251; +lean_dec(x_243); +lean_dec(x_198); +x_249 = lean_ctor_get(x_247, 1); +lean_inc(x_249); +if (lean_is_exclusive(x_247)) { + lean_ctor_release(x_247, 0); + lean_ctor_release(x_247, 1); + x_250 = x_247; +} else { + lean_dec_ref(x_247); + x_250 = lean_box(0); +} +if (lean_is_scalar(x_250)) { + x_251 = lean_alloc_ctor(0, 2, 0); +} else { + x_251 = x_250; +} +lean_ctor_set(x_251, 0, x_5); +lean_ctor_set(x_251, 1, x_249); +return x_251; +} +else +{ +lean_object* x_252; +x_252 = lean_ctor_get(x_248, 0); +lean_inc(x_252); +lean_dec(x_248); +if (lean_obj_tag(x_252) == 6) +{ +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_253 = lean_ctor_get(x_247, 1); +lean_inc(x_253); +if (lean_is_exclusive(x_247)) { + lean_ctor_release(x_247, 0); + lean_ctor_release(x_247, 1); + x_254 = x_247; +} else { + lean_dec_ref(x_247); + x_254 = lean_box(0); +} +x_255 = lean_ctor_get(x_252, 0); +lean_inc(x_255); +lean_dec(x_252); +x_256 = lean_ctor_get(x_255, 3); +lean_inc(x_256); +lean_dec(x_255); +x_257 = lean_nat_add(x_256, x_198); +lean_dec(x_198); +lean_dec(x_256); +x_258 = lean_unsigned_to_nat(0u); +x_259 = l_Lean_Expr_getAppNumArgsAux___main(x_243, x_258); +x_260 = lean_nat_sub(x_259, x_257); +lean_dec(x_257); +lean_dec(x_259); +x_261 = lean_unsigned_to_nat(1u); +x_262 = lean_nat_sub(x_260, x_261); +lean_dec(x_260); +x_263 = l_Lean_Expr_getRevArgD___main(x_243, x_262, x_5); +lean_dec(x_5); +lean_dec(x_243); +if (lean_is_scalar(x_254)) { + x_264 = lean_alloc_ctor(0, 2, 0); +} else { + x_264 = x_254; +} +lean_ctor_set(x_264, 0, x_263); +lean_ctor_set(x_264, 1, x_253); +return x_264; +} +else +{ +lean_object* x_265; lean_object* x_266; lean_object* x_267; +lean_dec(x_252); +lean_dec(x_243); +lean_dec(x_198); +x_265 = lean_ctor_get(x_247, 1); +lean_inc(x_265); +if (lean_is_exclusive(x_247)) { + lean_ctor_release(x_247, 0); + lean_ctor_release(x_247, 1); + x_266 = x_247; +} else { + lean_dec_ref(x_247); + 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_5); +lean_ctor_set(x_267, 1, x_265); +return x_267; +} +} +} +else +{ +lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; +lean_dec(x_243); +lean_dec(x_198); +lean_dec(x_5); +x_268 = lean_ctor_get(x_247, 0); +lean_inc(x_268); +x_269 = lean_ctor_get(x_247, 1); +lean_inc(x_269); +if (lean_is_exclusive(x_247)) { + lean_ctor_release(x_247, 0); + lean_ctor_release(x_247, 1); + x_270 = x_247; +} else { + lean_dec_ref(x_247); + x_270 = lean_box(0); +} +if (lean_is_scalar(x_270)) { + x_271 = lean_alloc_ctor(1, 2, 0); +} else { + x_271 = x_270; +} +lean_ctor_set(x_271, 0, x_268); +lean_ctor_set(x_271, 1, x_269); +return x_271; +} +} +else +{ +lean_object* x_272; +lean_dec(x_245); +lean_dec(x_243); +lean_dec(x_198); +lean_dec(x_6); +x_272 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_272, 0, x_5); +lean_ctor_set(x_272, 1, x_244); +return x_272; +} +} +} +else +{ +uint8_t x_273; +lean_dec(x_198); +lean_dec(x_6); +lean_dec(x_5); +x_273 = !lean_is_exclusive(x_200); +if (x_273 == 0) +{ +return x_200; +} +else +{ +lean_object* x_274; lean_object* x_275; lean_object* x_276; +x_274 = lean_ctor_get(x_200, 0); +x_275 = lean_ctor_get(x_200, 1); +lean_inc(x_275); +lean_inc(x_274); +lean_dec(x_200); +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; +} +} +} +default: +{ +lean_object* x_277; +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_277 = lean_box(0); +x_8 = x_277; +goto block_12; +} +} +block_12: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; +lean_dec(x_8); +x_9 = lean_ctor_get(x_4, 0); +lean_inc(x_9); +lean_dec(x_4); +x_10 = lean_ctor_get(x_9, 1); +lean_inc(x_10); +lean_dec(x_9); +x_11 = lean_apply_4(x_10, lean_box(0), x_5, x_6, x_7); +return x_11; +} +} +} +lean_object* l_Lean_whnfCore___main___at___private_Init_Lean_Meta_16__whnfAux___main___spec__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) { +_start: +{ +lean_object* x_7; lean_object* x_8; +x_7 = l_panicWithPos___at___private_Init_Lean_Meta_16__whnfAux___main___spec__2___closed__1; +x_8 = l_Lean_whnfEasyCases___main___at___private_Init_Lean_Meta_16__whnfAux___main___spec__21(x_1, x_2, x_3, x_7, x_4, x_5, x_6); +return x_8; +} +} +lean_object* l_Lean_isQuotRecStuck___at___private_Init_Lean_Meta_16__whnfAux___main___spec__24(lean_object* x_1, lean_object* x_2, 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_24; lean_object* x_25; +x_24 = lean_ctor_get_uint8(x_4, sizeof(void*)*1); +x_25 = lean_box(x_24); +switch (lean_obj_tag(x_25)) { +case 2: +{ +lean_object* x_26; +x_26 = lean_unsigned_to_nat(5u); +x_9 = x_26; +goto block_23; +} +case 3: +{ +lean_object* x_27; +x_27 = lean_unsigned_to_nat(4u); +x_9 = x_27; +goto block_23; +} +default: +{ +lean_object* x_28; lean_object* x_29; +lean_dec(x_25); +lean_dec(x_7); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +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_8); +return x_29; +} +} +block_23: +{ +lean_object* x_10; uint8_t x_11; +x_10 = lean_array_get_size(x_6); +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_7); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_12 = lean_box(0); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_8); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_array_fget(x_6, x_9); +lean_inc(x_7); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +x_15 = l_Lean_whnfEasyCases___main___at___private_Init_Lean_Meta_16__whnfAux___main___spec__33(x_1, x_2, x_3, x_14, x_7, x_8); +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); +x_18 = l_Lean_getStuckMVar___main___at___private_Init_Lean_Meta_16__whnfAux___main___spec__23(x_1, x_2, x_3, x_16, x_7, x_17); +return x_18; +} +else +{ +uint8_t x_19; +lean_dec(x_7); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_19 = !lean_is_exclusive(x_15); +if (x_19 == 0) +{ +return x_15; +} +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_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_object* l_Lean_isRecStuck___at___private_Init_Lean_Meta_16__whnfAux___main___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: +{ +uint8_t x_9; +x_9 = lean_ctor_get_uint8(x_4, sizeof(void*)*7); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_10 = l_Lean_RecursorVal_getMajorIdx(x_4); +x_11 = lean_array_get_size(x_6); +x_12 = lean_nat_dec_lt(x_10, x_11); +lean_dec(x_11); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +lean_dec(x_10); +lean_dec(x_7); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_13 = lean_box(0); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_8); +return x_14; +} +else +{ +lean_object* x_15; lean_object* x_16; +x_15 = lean_array_fget(x_6, x_10); +lean_dec(x_10); +lean_inc(x_7); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +x_16 = l_Lean_whnfEasyCases___main___at___private_Init_Lean_Meta_16__whnfAux___main___spec__33(x_1, x_2, x_3, x_15, x_7, x_8); +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); +x_19 = l_Lean_getStuckMVar___main___at___private_Init_Lean_Meta_16__whnfAux___main___spec__23(x_1, x_2, x_3, x_17, x_7, x_18); +return x_19; +} +else +{ +uint8_t x_20; +lean_dec(x_7); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_20 = !lean_is_exclusive(x_16); +if (x_20 == 0) +{ +return x_16; +} +else +{ +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_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_24; lean_object* x_25; +lean_dec(x_7); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_24 = lean_box(0); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_8); +return x_25; +} +} +} +lean_object* l_Lean_getStuckMVar___main___at___private_Init_Lean_Meta_16__whnfAux___main___spec__23(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: +{ +switch (lean_obj_tag(x_4)) { +case 2: +{ +lean_object* x_7; lean_object* x_8; +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_7 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_7, 0, x_4); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_6); +return x_8; +} +case 5: +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_ctor_get(x_4, 0); +lean_inc(x_9); +x_10 = l_Lean_Expr_getAppFn___main(x_9); +lean_dec(x_9); +switch (lean_obj_tag(x_10)) { +case 2: +{ +lean_object* x_11; lean_object* x_12; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_11 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_11, 0, x_10); +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_12, 1, x_6); +return x_12; +} +case 4: +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = lean_ctor_get(x_10, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_10, 1); +lean_inc(x_14); +lean_dec(x_10); +x_15 = l___private_Init_Lean_Meta_10__getConst(x_13, x_5, x_6); +if (lean_obj_tag(x_15) == 0) +{ +lean_object* x_16; +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +if (lean_obj_tag(x_16) == 0) +{ +uint8_t x_17; +lean_dec(x_14); +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_15); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; +x_18 = lean_ctor_get(x_15, 0); +lean_dec(x_18); +x_19 = lean_box(0); +lean_ctor_set(x_15, 0, x_19); +return x_15; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_15, 1); +lean_inc(x_20); +lean_dec(x_15); +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 +{ +lean_object* x_23; +x_23 = lean_ctor_get(x_16, 0); +lean_inc(x_23); +lean_dec(x_16); +switch (lean_obj_tag(x_23)) { +case 4: +{ +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_ctor_get(x_15, 1); +lean_inc(x_24); +lean_dec(x_15); +x_25 = lean_ctor_get(x_23, 0); +lean_inc(x_25); +lean_dec(x_23); +x_26 = lean_unsigned_to_nat(0u); +x_27 = l_Lean_Expr_getAppNumArgsAux___main(x_4, x_26); +x_28 = l_Lean_Expr_inhabited___closed__1; +lean_inc(x_27); +x_29 = lean_mk_array(x_27, x_28); +x_30 = lean_unsigned_to_nat(1u); +x_31 = lean_nat_sub(x_27, x_30); +lean_dec(x_27); +x_32 = l___private_Init_Lean_Expr_2__getAppArgsAux___main(x_4, x_29, x_31); +x_33 = l_Lean_isQuotRecStuck___at___private_Init_Lean_Meta_16__whnfAux___main___spec__24(x_1, x_2, x_3, x_25, x_14, x_32, x_5, x_24); +lean_dec(x_32); +lean_dec(x_14); +lean_dec(x_25); +return x_33; +} +case 7: +{ +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_34 = lean_ctor_get(x_15, 1); +lean_inc(x_34); +lean_dec(x_15); +x_35 = lean_ctor_get(x_23, 0); +lean_inc(x_35); +lean_dec(x_23); +x_36 = lean_unsigned_to_nat(0u); +x_37 = l_Lean_Expr_getAppNumArgsAux___main(x_4, x_36); +x_38 = l_Lean_Expr_inhabited___closed__1; +lean_inc(x_37); +x_39 = lean_mk_array(x_37, x_38); +x_40 = lean_unsigned_to_nat(1u); +x_41 = lean_nat_sub(x_37, x_40); +lean_dec(x_37); +x_42 = l___private_Init_Lean_Expr_2__getAppArgsAux___main(x_4, x_39, x_41); +x_43 = l_Lean_isRecStuck___at___private_Init_Lean_Meta_16__whnfAux___main___spec__25(x_1, x_2, x_3, x_35, x_14, x_42, x_5, x_34); +lean_dec(x_42); +lean_dec(x_14); +lean_dec(x_35); +return x_43; +} +default: +{ +uint8_t x_44; +lean_dec(x_23); +lean_dec(x_14); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_44 = !lean_is_exclusive(x_15); +if (x_44 == 0) +{ +lean_object* x_45; lean_object* x_46; +x_45 = lean_ctor_get(x_15, 0); +lean_dec(x_45); +x_46 = lean_box(0); +lean_ctor_set(x_15, 0, x_46); +return x_15; +} +else +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_47 = lean_ctor_get(x_15, 1); +lean_inc(x_47); +lean_dec(x_15); +x_48 = lean_box(0); +x_49 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_49, 0, x_48); +lean_ctor_set(x_49, 1, x_47); +return x_49; +} +} +} +} +} +else +{ +uint8_t x_50; +lean_dec(x_14); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_50 = !lean_is_exclusive(x_15); +if (x_50 == 0) +{ +return x_15; +} +else +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_51 = lean_ctor_get(x_15, 0); +x_52 = lean_ctor_get(x_15, 1); +lean_inc(x_52); +lean_inc(x_51); +lean_dec(x_15); +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; +} +} +} +default: +{ +lean_object* x_54; lean_object* x_55; +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_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_6); +return x_55; +} +} +} +case 10: +{ +lean_object* x_56; +x_56 = lean_ctor_get(x_4, 1); +lean_inc(x_56); +lean_dec(x_4); +x_4 = x_56; +goto _start; +} +case 11: +{ +lean_object* x_58; lean_object* x_59; +x_58 = lean_ctor_get(x_4, 2); +lean_inc(x_58); +lean_dec(x_4); +lean_inc(x_5); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +x_59 = l_Lean_whnfEasyCases___main___at___private_Init_Lean_Meta_16__whnfAux___main___spec__33(x_1, x_2, x_3, x_58, x_5, x_6); +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_4 = x_60; +x_6 = x_61; +goto _start; +} +else +{ +uint8_t x_63; +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_63 = !lean_is_exclusive(x_59); +if (x_63 == 0) +{ +return x_59; +} +else +{ +lean_object* x_64; lean_object* x_65; lean_object* x_66; +x_64 = lean_ctor_get(x_59, 0); +x_65 = lean_ctor_get(x_59, 1); +lean_inc(x_65); +lean_inc(x_64); +lean_dec(x_59); +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; +} +} +} +default: +{ +lean_object* x_67; lean_object* x_68; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_67 = lean_box(0); +x_68 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_68, 0, x_67); +lean_ctor_set(x_68, 1, x_6); +return x_68; +} +} +} +} +lean_object* l___private_Init_Lean_WHNF_10__whnfCoreUnstuck___main___at___private_Init_Lean_Meta_16__whnfAux___main___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) { +_start: +{ +lean_object* x_7; +lean_inc(x_5); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +x_7 = l_Lean_whnfCore___main___at___private_Init_Lean_Meta_16__whnfAux___main___spec__16(x_1, x_2, x_3, x_4, x_5, x_6); +if (lean_obj_tag(x_7) == 0) +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_8 = lean_ctor_get(x_7, 0); +lean_inc(x_8); +x_9 = lean_ctor_get(x_7, 1); +lean_inc(x_9); +lean_dec(x_7); +lean_inc(x_5); +lean_inc(x_8); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +x_10 = l_Lean_getStuckMVar___main___at___private_Init_Lean_Meta_16__whnfAux___main___spec__23(x_1, x_2, x_3, x_8, x_5, x_9); +if (lean_obj_tag(x_10) == 0) +{ +lean_object* x_11; +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +if (lean_obj_tag(x_11) == 0) +{ +uint8_t x_12; +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_12 = !lean_is_exclusive(x_10); +if (x_12 == 0) +{ +lean_object* x_13; +x_13 = lean_ctor_get(x_10, 0); +lean_dec(x_13); +lean_ctor_set(x_10, 0, x_8); +return x_10; +} +else +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_ctor_get(x_10, 1); +lean_inc(x_14); +lean_dec(x_10); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_8); +lean_ctor_set(x_15, 1, x_14); +return x_15; +} +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_16 = lean_ctor_get(x_10, 1); +lean_inc(x_16); +lean_dec(x_10); +x_17 = lean_ctor_get(x_11, 0); +lean_inc(x_17); +lean_dec(x_11); +lean_inc(x_3); +lean_inc(x_5); +x_18 = lean_apply_3(x_3, x_17, x_5, x_16); +if (lean_obj_tag(x_18) == 0) +{ +lean_object* x_19; uint8_t x_20; +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) +{ +uint8_t x_21; +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_21 = !lean_is_exclusive(x_18); +if (x_21 == 0) +{ +lean_object* x_22; +x_22 = lean_ctor_get(x_18, 0); +lean_dec(x_22); +lean_ctor_set(x_18, 0, x_8); +return x_18; +} +else +{ +lean_object* x_23; lean_object* x_24; +x_23 = lean_ctor_get(x_18, 1); +lean_inc(x_23); +lean_dec(x_18); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_8); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +else +{ +lean_object* x_25; +x_25 = lean_ctor_get(x_18, 1); +lean_inc(x_25); +lean_dec(x_18); +x_4 = x_8; +x_6 = x_25; +goto _start; +} +} +else +{ +uint8_t x_27; +lean_dec(x_8); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_27 = !lean_is_exclusive(x_18); +if (x_27 == 0) +{ +return x_18; +} +else +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_18, 0); +x_29 = lean_ctor_get(x_18, 1); +lean_inc(x_29); +lean_inc(x_28); +lean_dec(x_18); +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_8); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_31 = !lean_is_exclusive(x_10); +if (x_31 == 0) +{ +return x_10; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_10, 0); +x_33 = lean_ctor_get(x_10, 1); +lean_inc(x_33); +lean_inc(x_32); +lean_dec(x_10); +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_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_35 = !lean_is_exclusive(x_7); +if (x_35 == 0) +{ +return x_7; +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_7, 0); +x_37 = lean_ctor_get(x_7, 1); +lean_inc(x_37); +lean_inc(x_36); +lean_dec(x_7); +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* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at___private_Init_Lean_Meta_16__whnfAux___main___spec__26(lean_object* x_1, lean_object* x_2, lean_object* x_3, 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; +x_10 = l_Lean_ConstantInfo_lparams(x_5); +x_11 = lean_unsigned_to_nat(0u); +x_12 = l_List_lengthAux___main___rarg(x_10, x_11); +lean_dec(x_10); +x_13 = l_List_lengthAux___main___rarg(x_6, x_11); +x_14 = lean_nat_dec_eq(x_12, x_13); +lean_dec(x_13); +lean_dec(x_12); +if (x_14 == 0) +{ +lean_object* x_15; +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_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_4); +lean_ctor_set(x_15, 1, x_9); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_16 = lean_instantiate_value_lparams(x_5, x_6); +x_17 = l_Lean_Expr_betaRev(x_16, x_7); +lean_dec(x_16); +x_18 = l___private_Init_Lean_WHNF_7__extractIdRhs(x_17); +lean_inc(x_8); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +x_19 = l___private_Init_Lean_WHNF_10__whnfCoreUnstuck___main___at___private_Init_Lean_Meta_16__whnfAux___main___spec__15(x_1, x_2, x_3, x_18, x_8, x_9); +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; uint8_t x_23; +x_21 = lean_ctor_get(x_19, 0); +x_22 = lean_ctor_get(x_19, 1); +x_23 = l___private_Init_Lean_WHNF_6__isIdRhsApp(x_21); +if (x_23 == 0) +{ +lean_dec(x_21); +lean_dec(x_8); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +lean_ctor_set(x_19, 0, x_4); +return x_19; +} +else +{ +lean_object* x_24; lean_object* x_25; +lean_free_object(x_19); +lean_dec(x_4); +x_24 = l___private_Init_Lean_WHNF_7__extractIdRhs(x_21); +x_25 = l_Lean_whnfEasyCases___main___at___private_Init_Lean_Meta_16__whnfAux___main___spec__33(x_1, x_2, x_3, x_24, x_8, x_22); +return x_25; +} +} +else +{ +lean_object* x_26; lean_object* x_27; uint8_t x_28; +x_26 = lean_ctor_get(x_19, 0); +x_27 = lean_ctor_get(x_19, 1); +lean_inc(x_27); +lean_inc(x_26); +lean_dec(x_19); +x_28 = l___private_Init_Lean_WHNF_6__isIdRhsApp(x_26); +if (x_28 == 0) +{ +lean_object* x_29; +lean_dec(x_26); +lean_dec(x_8); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_4); +lean_ctor_set(x_29, 1, x_27); +return x_29; +} +else +{ +lean_object* x_30; lean_object* x_31; +lean_dec(x_4); +x_30 = l___private_Init_Lean_WHNF_7__extractIdRhs(x_26); +x_31 = l_Lean_whnfEasyCases___main___at___private_Init_Lean_Meta_16__whnfAux___main___spec__33(x_1, x_2, x_3, x_30, x_8, x_27); +return x_31; +} +} +} +else +{ +uint8_t x_32; +lean_dec(x_8); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_32 = !lean_is_exclusive(x_19); +if (x_32 == 0) +{ +return x_19; +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_19, 0); +x_34 = lean_ctor_get(x_19, 1); +lean_inc(x_34); +lean_inc(x_33); +lean_dec(x_19); +x_35 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_35, 0, x_33); +lean_ctor_set(x_35, 1, x_34); +return x_35; +} +} +} +} +} +lean_object* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at___private_Init_Lean_Meta_16__whnfAux___main___spec__27(lean_object* x_1, lean_object* x_2, lean_object* x_3, 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; +x_10 = l_Lean_ConstantInfo_lparams(x_5); +x_11 = lean_unsigned_to_nat(0u); +x_12 = l_List_lengthAux___main___rarg(x_10, x_11); +lean_dec(x_10); +x_13 = l_List_lengthAux___main___rarg(x_6, x_11); +x_14 = lean_nat_dec_eq(x_12, x_13); +lean_dec(x_13); +lean_dec(x_12); +if (x_14 == 0) +{ +lean_object* x_15; +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_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_4); +lean_ctor_set(x_15, 1, x_9); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +lean_dec(x_4); +x_16 = lean_instantiate_value_lparams(x_5, x_6); +x_17 = l_Lean_Expr_betaRev(x_16, x_7); +lean_dec(x_16); +x_18 = l___private_Init_Lean_WHNF_7__extractIdRhs(x_17); +x_19 = l_Lean_whnfEasyCases___main___at___private_Init_Lean_Meta_16__whnfAux___main___spec__33(x_1, x_2, x_3, x_18, x_8, x_9); +return x_19; +} +} +} +lean_object* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at___private_Init_Lean_Meta_16__whnfAux___main___spec__28(lean_object* x_1, lean_object* x_2, lean_object* x_3, 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; +x_10 = l_Lean_ConstantInfo_lparams(x_5); +x_11 = lean_unsigned_to_nat(0u); +x_12 = l_List_lengthAux___main___rarg(x_10, x_11); +lean_dec(x_10); +x_13 = l_List_lengthAux___main___rarg(x_6, x_11); +x_14 = lean_nat_dec_eq(x_12, x_13); +lean_dec(x_13); +lean_dec(x_12); +if (x_14 == 0) +{ +lean_object* x_15; +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_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_4); +lean_ctor_set(x_15, 1, x_9); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +lean_dec(x_4); +x_16 = lean_instantiate_value_lparams(x_5, x_6); +x_17 = l_Lean_Expr_betaRev(x_16, x_7); +lean_dec(x_16); +x_18 = l___private_Init_Lean_WHNF_7__extractIdRhs(x_17); +x_19 = l_Lean_whnfEasyCases___main___at___private_Init_Lean_Meta_16__whnfAux___main___spec__33(x_1, x_2, x_3, x_18, x_8, x_9); +return x_19; +} +} +} +lean_object* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at___private_Init_Lean_Meta_16__whnfAux___main___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, 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; +x_10 = l_Lean_ConstantInfo_lparams(x_5); +x_11 = lean_unsigned_to_nat(0u); +x_12 = l_List_lengthAux___main___rarg(x_10, x_11); +lean_dec(x_10); +x_13 = l_List_lengthAux___main___rarg(x_6, x_11); +x_14 = lean_nat_dec_eq(x_12, x_13); +lean_dec(x_13); +lean_dec(x_12); +if (x_14 == 0) +{ +lean_object* x_15; +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_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_4); +lean_ctor_set(x_15, 1, x_9); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +lean_dec(x_4); +x_16 = lean_instantiate_value_lparams(x_5, x_6); +x_17 = l_Lean_Expr_betaRev(x_16, x_7); +lean_dec(x_16); +x_18 = l___private_Init_Lean_WHNF_7__extractIdRhs(x_17); +x_19 = l_Lean_whnfEasyCases___main___at___private_Init_Lean_Meta_16__whnfAux___main___spec__33(x_1, x_2, x_3, x_18, x_8, x_9); +return x_19; +} +} +} +lean_object* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at___private_Init_Lean_Meta_16__whnfAux___main___spec__30(lean_object* x_1, lean_object* x_2, lean_object* x_3, 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; +x_10 = l_Lean_ConstantInfo_lparams(x_5); +x_11 = lean_unsigned_to_nat(0u); +x_12 = l_List_lengthAux___main___rarg(x_10, x_11); +lean_dec(x_10); +x_13 = l_List_lengthAux___main___rarg(x_6, x_11); +x_14 = lean_nat_dec_eq(x_12, x_13); +lean_dec(x_13); +lean_dec(x_12); +if (x_14 == 0) +{ +lean_object* x_15; +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_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_4); +lean_ctor_set(x_15, 1, x_9); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +lean_dec(x_4); +x_16 = lean_instantiate_value_lparams(x_5, x_6); +x_17 = l_Lean_Expr_betaRev(x_16, x_7); +lean_dec(x_16); +x_18 = l___private_Init_Lean_WHNF_7__extractIdRhs(x_17); +x_19 = l_Lean_whnfEasyCases___main___at___private_Init_Lean_Meta_16__whnfAux___main___spec__33(x_1, x_2, x_3, x_18, x_8, x_9); +return x_19; +} +} +} +lean_object* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at___private_Init_Lean_Meta_16__whnfAux___main___spec__31(lean_object* x_1, lean_object* x_2, lean_object* x_3, 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; +x_10 = l_Lean_ConstantInfo_lparams(x_5); +x_11 = lean_unsigned_to_nat(0u); +x_12 = l_List_lengthAux___main___rarg(x_10, x_11); +lean_dec(x_10); +x_13 = l_List_lengthAux___main___rarg(x_6, x_11); +x_14 = lean_nat_dec_eq(x_12, x_13); +lean_dec(x_13); +lean_dec(x_12); +if (x_14 == 0) +{ +lean_object* x_15; +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_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_4); +lean_ctor_set(x_15, 1, x_9); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +lean_dec(x_4); +x_16 = lean_instantiate_value_lparams(x_5, x_6); +x_17 = l_Lean_Expr_betaRev(x_16, x_7); +lean_dec(x_16); +x_18 = l___private_Init_Lean_WHNF_7__extractIdRhs(x_17); +x_19 = l_Lean_whnfEasyCases___main___at___private_Init_Lean_Meta_16__whnfAux___main___spec__33(x_1, x_2, x_3, x_18, x_8, x_9); +return x_19; +} +} +} +lean_object* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at___private_Init_Lean_Meta_16__whnfAux___main___spec__32(lean_object* x_1, lean_object* x_2, lean_object* x_3, 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; +x_10 = l_Lean_ConstantInfo_lparams(x_5); +x_11 = lean_unsigned_to_nat(0u); +x_12 = l_List_lengthAux___main___rarg(x_10, x_11); +lean_dec(x_10); +x_13 = l_List_lengthAux___main___rarg(x_6, x_11); +x_14 = lean_nat_dec_eq(x_12, x_13); +lean_dec(x_13); +lean_dec(x_12); +if (x_14 == 0) +{ +lean_object* x_15; +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_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_4); +lean_ctor_set(x_15, 1, x_9); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +lean_dec(x_4); +x_16 = lean_instantiate_value_lparams(x_5, x_6); +x_17 = l_Lean_Expr_betaRev(x_16, x_7); +lean_dec(x_16); +x_18 = l___private_Init_Lean_WHNF_7__extractIdRhs(x_17); +x_19 = l_Lean_whnfEasyCases___main___at___private_Init_Lean_Meta_16__whnfAux___main___spec__33(x_1, x_2, x_3, x_18, x_8, x_9); +return x_19; +} +} +} +lean_object* l_Lean_unfoldDefinition___at___private_Init_Lean_Meta_16__whnfAux___main___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) { +_start: +{ +switch (lean_obj_tag(x_5)) { +case 4: +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_8 = lean_ctor_get(x_5, 0); +lean_inc(x_8); +x_9 = lean_ctor_get(x_5, 1); +lean_inc(x_9); +lean_dec(x_5); +x_10 = l___private_Init_Lean_Meta_10__getConst(x_8, x_6, x_7); +if (lean_obj_tag(x_10) == 0) +{ +lean_object* x_11; +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +if (lean_obj_tag(x_11) == 0) +{ +uint8_t x_12; +lean_dec(x_9); +lean_dec(x_6); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_12 = !lean_is_exclusive(x_10); +if (x_12 == 0) +{ +lean_object* x_13; +x_13 = lean_ctor_get(x_10, 0); +lean_dec(x_13); +lean_ctor_set(x_10, 0, x_4); +return x_10; +} +else +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_ctor_get(x_10, 1); +lean_inc(x_14); +lean_dec(x_10); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_4); +lean_ctor_set(x_15, 1, x_14); +return x_15; +} +} +else +{ +lean_object* x_16; +x_16 = lean_ctor_get(x_11, 0); +lean_inc(x_16); +lean_dec(x_11); +if (lean_obj_tag(x_16) == 1) +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_ctor_get(x_10, 1); +lean_inc(x_17); +lean_dec(x_10); +x_18 = l___private_Init_Lean_WHNF_8__deltaDefinition___at___private_Init_Lean_Meta_16__whnfAux___main___spec__12(x_1, x_2, x_3, x_4, x_16, x_9, x_6, x_17); +return x_18; +} +else +{ +uint8_t x_19; +lean_dec(x_16); +lean_dec(x_9); +lean_dec(x_6); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_19 = !lean_is_exclusive(x_10); +if (x_19 == 0) +{ +lean_object* x_20; +x_20 = lean_ctor_get(x_10, 0); +lean_dec(x_20); +lean_ctor_set(x_10, 0, x_4); +return x_10; +} +else +{ +lean_object* x_21; lean_object* x_22; +x_21 = lean_ctor_get(x_10, 1); +lean_inc(x_21); +lean_dec(x_10); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_4); +lean_ctor_set(x_22, 1, x_21); +return x_22; +} +} +} +} +else +{ +uint8_t x_23; +lean_dec(x_9); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_23 = !lean_is_exclusive(x_10); +if (x_23 == 0) +{ +return x_10; +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_10, 0); +x_25 = lean_ctor_get(x_10, 1); +lean_inc(x_25); +lean_inc(x_24); +lean_dec(x_10); +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; +} +} +} +case 5: +{ +lean_object* x_27; lean_object* x_28; +x_27 = lean_ctor_get(x_5, 0); +lean_inc(x_27); +x_28 = l_Lean_Expr_getAppFn___main(x_27); +lean_dec(x_27); +if (lean_obj_tag(x_28) == 4) +{ +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); +x_31 = l___private_Init_Lean_Meta_10__getConst(x_29, x_6, x_7); +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_30); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_33 = !lean_is_exclusive(x_31); +if (x_33 == 0) +{ +lean_object* x_34; +x_34 = lean_ctor_get(x_31, 0); +lean_dec(x_34); +lean_ctor_set(x_31, 0, x_4); +return x_31; +} +else +{ +lean_object* x_35; lean_object* x_36; +x_35 = lean_ctor_get(x_31, 1); +lean_inc(x_35); +lean_dec(x_31); +x_36 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_36, 0, x_4); +lean_ctor_set(x_36, 1, x_35); +return x_36; +} +} +else +{ +uint8_t x_37; +x_37 = !lean_is_exclusive(x_31); +if (x_37 == 0) +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_45; +x_38 = lean_ctor_get(x_31, 1); +x_39 = lean_ctor_get(x_31, 0); +lean_dec(x_39); +x_40 = lean_ctor_get(x_32, 0); +lean_inc(x_40); +lean_dec(x_32); +x_41 = l_Lean_ConstantInfo_lparams(x_40); +x_42 = lean_unsigned_to_nat(0u); +x_43 = l_List_lengthAux___main___rarg(x_41, x_42); +lean_dec(x_41); +x_44 = l_List_lengthAux___main___rarg(x_30, x_42); +x_45 = lean_nat_dec_eq(x_43, x_44); +lean_dec(x_44); +lean_dec(x_43); +if (x_45 == 0) +{ +lean_dec(x_40); +lean_dec(x_30); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +lean_ctor_set(x_31, 0, x_4); +return x_31; +} +else +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; +lean_free_object(x_31); +x_46 = l_Lean_ConstantInfo_name(x_40); +x_47 = l_Lean_smartUnfoldingSuffix; +x_48 = lean_name_mk_string(x_46, x_47); +x_49 = l___private_Init_Lean_Meta_10__getConst(x_48, x_6, x_38); +if (lean_obj_tag(x_49) == 0) +{ +lean_object* x_50; +x_50 = lean_ctor_get(x_49, 0); +lean_inc(x_50); +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; +x_51 = lean_ctor_get(x_49, 1); +lean_inc(x_51); +lean_dec(x_49); +x_52 = l_Lean_Expr_getAppNumArgsAux___main(x_5, x_42); +x_53 = lean_mk_empty_array_with_capacity(x_52); +lean_dec(x_52); +x_54 = l___private_Init_Lean_Expr_3__getAppRevArgsAux___main(x_5, x_53); +x_55 = l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at___private_Init_Lean_Meta_16__whnfAux___main___spec__13(x_1, x_2, x_3, x_4, x_40, x_30, x_54, x_6, x_51); +return x_55; +} +else +{ +lean_object* x_56; +x_56 = lean_ctor_get(x_50, 0); +lean_inc(x_56); +lean_dec(x_50); +switch (lean_obj_tag(x_56)) { +case 0: +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; +lean_dec(x_56); +x_57 = lean_ctor_get(x_49, 1); +lean_inc(x_57); +lean_dec(x_49); +x_58 = l_Lean_Expr_getAppNumArgsAux___main(x_5, x_42); +x_59 = lean_mk_empty_array_with_capacity(x_58); +lean_dec(x_58); +x_60 = l___private_Init_Lean_Expr_3__getAppRevArgsAux___main(x_5, x_59); +x_61 = l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at___private_Init_Lean_Meta_16__whnfAux___main___spec__14(x_1, x_2, x_3, x_4, x_40, x_30, x_60, x_6, x_57); +return x_61; +} +case 1: +{ +lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; +lean_dec(x_40); +x_62 = lean_ctor_get(x_49, 1); +lean_inc(x_62); +lean_dec(x_49); +x_63 = l_Lean_Expr_getAppNumArgsAux___main(x_5, x_42); +x_64 = lean_mk_empty_array_with_capacity(x_63); +lean_dec(x_63); +x_65 = l___private_Init_Lean_Expr_3__getAppRevArgsAux___main(x_5, x_64); +x_66 = l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at___private_Init_Lean_Meta_16__whnfAux___main___spec__26(x_1, x_2, x_3, x_4, x_56, x_30, x_65, x_6, x_62); +return x_66; +} +case 2: +{ +lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; +lean_dec(x_56); +x_67 = lean_ctor_get(x_49, 1); +lean_inc(x_67); +lean_dec(x_49); +x_68 = l_Lean_Expr_getAppNumArgsAux___main(x_5, x_42); +x_69 = lean_mk_empty_array_with_capacity(x_68); +lean_dec(x_68); +x_70 = l___private_Init_Lean_Expr_3__getAppRevArgsAux___main(x_5, x_69); +x_71 = l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at___private_Init_Lean_Meta_16__whnfAux___main___spec__27(x_1, x_2, x_3, x_4, x_40, x_30, x_70, x_6, x_67); +return x_71; +} +case 3: +{ +lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; +lean_dec(x_56); +x_72 = lean_ctor_get(x_49, 1); +lean_inc(x_72); +lean_dec(x_49); +x_73 = l_Lean_Expr_getAppNumArgsAux___main(x_5, x_42); +x_74 = lean_mk_empty_array_with_capacity(x_73); +lean_dec(x_73); +x_75 = l___private_Init_Lean_Expr_3__getAppRevArgsAux___main(x_5, x_74); +x_76 = l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at___private_Init_Lean_Meta_16__whnfAux___main___spec__28(x_1, x_2, x_3, x_4, x_40, x_30, x_75, x_6, x_72); +return x_76; +} +case 4: +{ +lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; +lean_dec(x_56); +x_77 = lean_ctor_get(x_49, 1); +lean_inc(x_77); +lean_dec(x_49); +x_78 = l_Lean_Expr_getAppNumArgsAux___main(x_5, x_42); +x_79 = lean_mk_empty_array_with_capacity(x_78); +lean_dec(x_78); +x_80 = l___private_Init_Lean_Expr_3__getAppRevArgsAux___main(x_5, x_79); +x_81 = l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at___private_Init_Lean_Meta_16__whnfAux___main___spec__29(x_1, x_2, x_3, x_4, x_40, x_30, x_80, x_6, x_77); +return x_81; +} +case 5: +{ +lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; +lean_dec(x_56); +x_82 = lean_ctor_get(x_49, 1); +lean_inc(x_82); +lean_dec(x_49); +x_83 = l_Lean_Expr_getAppNumArgsAux___main(x_5, x_42); +x_84 = lean_mk_empty_array_with_capacity(x_83); +lean_dec(x_83); +x_85 = l___private_Init_Lean_Expr_3__getAppRevArgsAux___main(x_5, x_84); +x_86 = l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at___private_Init_Lean_Meta_16__whnfAux___main___spec__30(x_1, x_2, x_3, x_4, x_40, x_30, x_85, x_6, x_82); +return x_86; +} +case 6: +{ +lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; +lean_dec(x_56); +x_87 = lean_ctor_get(x_49, 1); +lean_inc(x_87); +lean_dec(x_49); +x_88 = l_Lean_Expr_getAppNumArgsAux___main(x_5, x_42); +x_89 = lean_mk_empty_array_with_capacity(x_88); +lean_dec(x_88); +x_90 = l___private_Init_Lean_Expr_3__getAppRevArgsAux___main(x_5, x_89); +x_91 = l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at___private_Init_Lean_Meta_16__whnfAux___main___spec__31(x_1, x_2, x_3, x_4, x_40, x_30, x_90, x_6, x_87); +return x_91; +} +default: +{ +lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; +lean_dec(x_56); +x_92 = lean_ctor_get(x_49, 1); +lean_inc(x_92); +lean_dec(x_49); +x_93 = l_Lean_Expr_getAppNumArgsAux___main(x_5, x_42); +x_94 = lean_mk_empty_array_with_capacity(x_93); +lean_dec(x_93); +x_95 = l___private_Init_Lean_Expr_3__getAppRevArgsAux___main(x_5, x_94); +x_96 = l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at___private_Init_Lean_Meta_16__whnfAux___main___spec__32(x_1, x_2, x_3, x_4, x_40, x_30, x_95, x_6, x_92); +return x_96; +} +} +} +} +else +{ +uint8_t x_97; +lean_dec(x_40); +lean_dec(x_30); +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_97 = !lean_is_exclusive(x_49); +if (x_97 == 0) +{ +return x_49; +} +else +{ +lean_object* x_98; lean_object* x_99; lean_object* x_100; +x_98 = lean_ctor_get(x_49, 0); +x_99 = lean_ctor_get(x_49, 1); +lean_inc(x_99); +lean_inc(x_98); +lean_dec(x_49); +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; uint8_t x_107; +x_101 = lean_ctor_get(x_31, 1); +lean_inc(x_101); +lean_dec(x_31); +x_102 = lean_ctor_get(x_32, 0); +lean_inc(x_102); +lean_dec(x_32); +x_103 = l_Lean_ConstantInfo_lparams(x_102); +x_104 = lean_unsigned_to_nat(0u); +x_105 = l_List_lengthAux___main___rarg(x_103, x_104); +lean_dec(x_103); +x_106 = l_List_lengthAux___main___rarg(x_30, x_104); +x_107 = lean_nat_dec_eq(x_105, x_106); +lean_dec(x_106); +lean_dec(x_105); +if (x_107 == 0) +{ +lean_object* x_108; +lean_dec(x_102); +lean_dec(x_30); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_108 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_108, 0, x_4); +lean_ctor_set(x_108, 1, x_101); +return x_108; +} +else +{ +lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; +x_109 = l_Lean_ConstantInfo_name(x_102); +x_110 = l_Lean_smartUnfoldingSuffix; +x_111 = lean_name_mk_string(x_109, x_110); +x_112 = l___private_Init_Lean_Meta_10__getConst(x_111, x_6, x_101); +if (lean_obj_tag(x_112) == 0) +{ +lean_object* x_113; +x_113 = lean_ctor_get(x_112, 0); +lean_inc(x_113); +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; +x_114 = lean_ctor_get(x_112, 1); +lean_inc(x_114); +lean_dec(x_112); +x_115 = l_Lean_Expr_getAppNumArgsAux___main(x_5, x_104); +x_116 = lean_mk_empty_array_with_capacity(x_115); +lean_dec(x_115); +x_117 = l___private_Init_Lean_Expr_3__getAppRevArgsAux___main(x_5, x_116); +x_118 = l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at___private_Init_Lean_Meta_16__whnfAux___main___spec__13(x_1, x_2, x_3, x_4, x_102, x_30, x_117, x_6, x_114); +return x_118; +} +else +{ +lean_object* x_119; +x_119 = lean_ctor_get(x_113, 0); +lean_inc(x_119); +lean_dec(x_113); +switch (lean_obj_tag(x_119)) { +case 0: +{ +lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; +lean_dec(x_119); +x_120 = lean_ctor_get(x_112, 1); +lean_inc(x_120); +lean_dec(x_112); +x_121 = l_Lean_Expr_getAppNumArgsAux___main(x_5, x_104); +x_122 = lean_mk_empty_array_with_capacity(x_121); +lean_dec(x_121); +x_123 = l___private_Init_Lean_Expr_3__getAppRevArgsAux___main(x_5, x_122); +x_124 = l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at___private_Init_Lean_Meta_16__whnfAux___main___spec__14(x_1, x_2, x_3, x_4, x_102, x_30, x_123, x_6, x_120); +return x_124; +} +case 1: +{ +lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; +lean_dec(x_102); +x_125 = lean_ctor_get(x_112, 1); +lean_inc(x_125); +lean_dec(x_112); +x_126 = l_Lean_Expr_getAppNumArgsAux___main(x_5, x_104); +x_127 = lean_mk_empty_array_with_capacity(x_126); +lean_dec(x_126); +x_128 = l___private_Init_Lean_Expr_3__getAppRevArgsAux___main(x_5, x_127); +x_129 = l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at___private_Init_Lean_Meta_16__whnfAux___main___spec__26(x_1, x_2, x_3, x_4, x_119, x_30, x_128, x_6, x_125); +return x_129; +} +case 2: +{ +lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; +lean_dec(x_119); +x_130 = lean_ctor_get(x_112, 1); +lean_inc(x_130); +lean_dec(x_112); +x_131 = l_Lean_Expr_getAppNumArgsAux___main(x_5, x_104); +x_132 = lean_mk_empty_array_with_capacity(x_131); +lean_dec(x_131); +x_133 = l___private_Init_Lean_Expr_3__getAppRevArgsAux___main(x_5, x_132); +x_134 = l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at___private_Init_Lean_Meta_16__whnfAux___main___spec__27(x_1, x_2, x_3, x_4, x_102, x_30, x_133, x_6, x_130); +return x_134; +} +case 3: +{ +lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; +lean_dec(x_119); +x_135 = lean_ctor_get(x_112, 1); +lean_inc(x_135); +lean_dec(x_112); +x_136 = l_Lean_Expr_getAppNumArgsAux___main(x_5, x_104); +x_137 = lean_mk_empty_array_with_capacity(x_136); +lean_dec(x_136); +x_138 = l___private_Init_Lean_Expr_3__getAppRevArgsAux___main(x_5, x_137); +x_139 = l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at___private_Init_Lean_Meta_16__whnfAux___main___spec__28(x_1, x_2, x_3, x_4, x_102, x_30, x_138, x_6, x_135); +return x_139; +} +case 4: +{ +lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; +lean_dec(x_119); +x_140 = lean_ctor_get(x_112, 1); +lean_inc(x_140); +lean_dec(x_112); +x_141 = l_Lean_Expr_getAppNumArgsAux___main(x_5, x_104); +x_142 = lean_mk_empty_array_with_capacity(x_141); +lean_dec(x_141); +x_143 = l___private_Init_Lean_Expr_3__getAppRevArgsAux___main(x_5, x_142); +x_144 = l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at___private_Init_Lean_Meta_16__whnfAux___main___spec__29(x_1, x_2, x_3, x_4, x_102, x_30, x_143, x_6, x_140); +return x_144; +} +case 5: +{ +lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; +lean_dec(x_119); +x_145 = lean_ctor_get(x_112, 1); +lean_inc(x_145); +lean_dec(x_112); +x_146 = l_Lean_Expr_getAppNumArgsAux___main(x_5, x_104); +x_147 = lean_mk_empty_array_with_capacity(x_146); +lean_dec(x_146); +x_148 = l___private_Init_Lean_Expr_3__getAppRevArgsAux___main(x_5, x_147); +x_149 = l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at___private_Init_Lean_Meta_16__whnfAux___main___spec__30(x_1, x_2, x_3, x_4, x_102, x_30, x_148, x_6, x_145); +return x_149; +} +case 6: +{ +lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; +lean_dec(x_119); +x_150 = lean_ctor_get(x_112, 1); +lean_inc(x_150); +lean_dec(x_112); +x_151 = l_Lean_Expr_getAppNumArgsAux___main(x_5, x_104); +x_152 = lean_mk_empty_array_with_capacity(x_151); +lean_dec(x_151); +x_153 = l___private_Init_Lean_Expr_3__getAppRevArgsAux___main(x_5, x_152); +x_154 = l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at___private_Init_Lean_Meta_16__whnfAux___main___spec__31(x_1, x_2, x_3, x_4, x_102, x_30, x_153, x_6, x_150); +return x_154; +} +default: +{ +lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; +lean_dec(x_119); +x_155 = lean_ctor_get(x_112, 1); +lean_inc(x_155); +lean_dec(x_112); +x_156 = l_Lean_Expr_getAppNumArgsAux___main(x_5, x_104); +x_157 = lean_mk_empty_array_with_capacity(x_156); +lean_dec(x_156); +x_158 = l___private_Init_Lean_Expr_3__getAppRevArgsAux___main(x_5, x_157); +x_159 = l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at___private_Init_Lean_Meta_16__whnfAux___main___spec__32(x_1, x_2, x_3, x_4, x_102, x_30, x_158, x_6, x_155); +return x_159; +} +} +} +} +else +{ +lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; +lean_dec(x_102); +lean_dec(x_30); +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_160 = lean_ctor_get(x_112, 0); +lean_inc(x_160); +x_161 = lean_ctor_get(x_112, 1); +lean_inc(x_161); +if (lean_is_exclusive(x_112)) { + lean_ctor_release(x_112, 0); + lean_ctor_release(x_112, 1); + x_162 = x_112; +} else { + lean_dec_ref(x_112); + x_162 = lean_box(0); +} +if (lean_is_scalar(x_162)) { + x_163 = lean_alloc_ctor(1, 2, 0); +} else { + x_163 = x_162; +} +lean_ctor_set(x_163, 0, x_160); +lean_ctor_set(x_163, 1, x_161); +return x_163; +} +} +} +} +} +else +{ +uint8_t x_164; +lean_dec(x_30); +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_164 = !lean_is_exclusive(x_31); +if (x_164 == 0) +{ +return x_31; +} +else +{ +lean_object* x_165; lean_object* x_166; lean_object* x_167; +x_165 = lean_ctor_get(x_31, 0); +x_166 = lean_ctor_get(x_31, 1); +lean_inc(x_166); +lean_inc(x_165); +lean_dec(x_31); +x_167 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_167, 0, x_165); +lean_ctor_set(x_167, 1, x_166); +return x_167; +} +} +} +else +{ +lean_object* x_168; +lean_dec(x_28); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_168 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_168, 0, x_4); +lean_ctor_set(x_168, 1, x_7); +return x_168; +} +} +default: +{ +lean_object* x_169; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_169 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_169, 0, x_4); +lean_ctor_set(x_169, 1, x_7); +return x_169; +} +} +} +} +lean_object* l_Lean_whnfEasyCases___main___at___private_Init_Lean_Meta_16__whnfAux___main___spec__33(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: +{ +switch (lean_obj_tag(x_4)) { +case 0: +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_7 = l_unreachable_x21___rarg___closed__1; +x_8 = lean_unsigned_to_nat(37u); +x_9 = lean_unsigned_to_nat(0u); +x_10 = l_unreachable_x21___rarg___closed__2; +x_11 = l_panicWithPos___at___private_Init_Lean_Meta_16__whnfAux___main___spec__2(x_7, x_8, x_9, x_10, x_5, x_6); +return x_11; +} +case 1: +{ +lean_object* x_12; lean_object* x_13; +x_12 = lean_ctor_get(x_4, 0); +lean_inc(x_12); +lean_inc(x_5); +x_13 = l___private_Init_Lean_Meta_12__getLocalDecl(x_12, x_5, x_6); +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; +x_15 = lean_ctor_get(x_13, 0); +x_16 = lean_ctor_get(x_13, 1); +x_17 = l_Lean_LocalDecl_valueOpt(x_15); +lean_dec(x_15); +if (lean_obj_tag(x_17) == 0) +{ +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +lean_ctor_set(x_13, 0, x_4); +return x_13; +} +else +{ +lean_object* x_18; +lean_free_object(x_13); +lean_dec(x_4); +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +lean_dec(x_17); +x_4 = x_18; +x_6 = x_16; +goto _start; +} +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_13, 0); +x_21 = lean_ctor_get(x_13, 1); +lean_inc(x_21); +lean_inc(x_20); +lean_dec(x_13); +x_22 = l_Lean_LocalDecl_valueOpt(x_20); +lean_dec(x_20); +if (lean_obj_tag(x_22) == 0) +{ +lean_object* x_23; +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_4); +lean_ctor_set(x_23, 1, x_21); +return x_23; +} +else +{ +lean_object* x_24; +lean_dec(x_4); +x_24 = lean_ctor_get(x_22, 0); +lean_inc(x_24); +lean_dec(x_22); +x_4 = x_24; +x_6 = x_21; +goto _start; +} +} +} +else +{ +uint8_t x_26; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_26 = !lean_is_exclusive(x_13); +if (x_26 == 0) +{ +return x_13; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_13, 0); +x_28 = lean_ctor_get(x_13, 1); +lean_inc(x_28); +lean_inc(x_27); +lean_dec(x_13); +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; +} +} +} +case 2: +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_4, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_6, 1); +lean_inc(x_31); +x_32 = lean_metavar_ctx_get_expr_assignment(x_31, x_30); +if (lean_obj_tag(x_32) == 0) +{ +lean_object* x_33; +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_33 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_33, 0, x_4); +lean_ctor_set(x_33, 1, x_6); +return x_33; +} +else +{ +lean_object* x_34; +lean_dec(x_4); +x_34 = lean_ctor_get(x_32, 0); +lean_inc(x_34); +lean_dec(x_32); +x_4 = x_34; +goto _start; +} +} +case 4: +{ +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_36 = lean_ctor_get(x_5, 0); +lean_inc(x_36); +x_37 = lean_ctor_get_uint8(x_36, sizeof(void*)*1 + 3); +lean_dec(x_36); +x_38 = lean_ctor_get(x_6, 2); +lean_inc(x_38); +x_39 = lean_ctor_get(x_38, 0); +lean_inc(x_39); +lean_dec(x_38); +x_40 = lean_box(x_37); +lean_inc(x_4); +x_41 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_4); +x_42 = l_PersistentHashMap_find___at___private_Init_Lean_Meta_14__getCachedWHNF___spec__1(x_39, x_41); +lean_dec(x_39); +if (lean_obj_tag(x_42) == 0) +{ +lean_object* x_43; +lean_inc(x_5); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +x_43 = l_Lean_whnfCore___main___at___private_Init_Lean_Meta_16__whnfAux___main___spec__1(x_1, x_2, x_3, x_4, x_5, x_6); +if (lean_obj_tag(x_43) == 0) +{ +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); +lean_inc_n(x_44, 2); +x_46 = l_Lean_unfoldDefinition___at___private_Init_Lean_Meta_16__whnfAux___main___spec__11(x_1, x_2, x_3, x_44, x_44, x_5, x_45); +if (lean_obj_tag(x_46) == 0) +{ +lean_object* x_47; lean_object* x_48; uint8_t x_49; +x_47 = lean_ctor_get(x_46, 1); +lean_inc(x_47); +x_48 = lean_ctor_get(x_47, 2); +lean_inc(x_48); +x_49 = !lean_is_exclusive(x_46); +if (x_49 == 0) +{ +lean_object* x_50; lean_object* x_51; uint8_t x_52; +x_50 = lean_ctor_get(x_46, 0); +x_51 = lean_ctor_get(x_46, 1); +lean_dec(x_51); +x_52 = !lean_is_exclusive(x_47); +if (x_52 == 0) +{ +lean_object* x_53; uint8_t x_54; +x_53 = lean_ctor_get(x_47, 2); +lean_dec(x_53); +x_54 = !lean_is_exclusive(x_48); +if (x_54 == 0) +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_55 = lean_ctor_get(x_48, 0); +x_56 = lean_box(x_37); +x_57 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_57, 0, x_56); +lean_ctor_set(x_57, 1, x_44); +lean_inc(x_50); +x_58 = l_PersistentHashMap_insert___at___private_Init_Lean_Meta_15__cacheWHNF___spec__1(x_55, x_57, x_50); +lean_ctor_set(x_48, 0, x_58); +return x_46; +} +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; +x_59 = lean_ctor_get(x_48, 0); +x_60 = lean_ctor_get(x_48, 1); +lean_inc(x_60); +lean_inc(x_59); +lean_dec(x_48); +x_61 = lean_box(x_37); +x_62 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_62, 0, x_61); +lean_ctor_set(x_62, 1, x_44); +lean_inc(x_50); +x_63 = l_PersistentHashMap_insert___at___private_Init_Lean_Meta_15__cacheWHNF___spec__1(x_59, x_62, x_50); +x_64 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_64, 0, x_63); +lean_ctor_set(x_64, 1, x_60); +lean_ctor_set(x_47, 2, x_64); +return x_46; +} +} +else +{ +lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; +x_65 = lean_ctor_get(x_47, 0); +x_66 = lean_ctor_get(x_47, 1); +x_67 = lean_ctor_get(x_47, 3); +x_68 = lean_ctor_get(x_47, 4); +x_69 = lean_ctor_get(x_47, 5); +lean_inc(x_69); +lean_inc(x_68); +lean_inc(x_67); +lean_inc(x_66); +lean_inc(x_65); +lean_dec(x_47); +x_70 = lean_ctor_get(x_48, 0); +lean_inc(x_70); +x_71 = lean_ctor_get(x_48, 1); +lean_inc(x_71); +if (lean_is_exclusive(x_48)) { + lean_ctor_release(x_48, 0); + lean_ctor_release(x_48, 1); + x_72 = x_48; +} else { + lean_dec_ref(x_48); + x_72 = lean_box(0); +} +x_73 = lean_box(x_37); +x_74 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_74, 0, x_73); +lean_ctor_set(x_74, 1, x_44); +lean_inc(x_50); +x_75 = l_PersistentHashMap_insert___at___private_Init_Lean_Meta_15__cacheWHNF___spec__1(x_70, x_74, x_50); +if (lean_is_scalar(x_72)) { + x_76 = lean_alloc_ctor(0, 2, 0); +} else { + x_76 = x_72; +} +lean_ctor_set(x_76, 0, x_75); +lean_ctor_set(x_76, 1, x_71); +x_77 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_77, 0, x_65); +lean_ctor_set(x_77, 1, x_66); +lean_ctor_set(x_77, 2, x_76); +lean_ctor_set(x_77, 3, x_67); +lean_ctor_set(x_77, 4, x_68); +lean_ctor_set(x_77, 5, x_69); +lean_ctor_set(x_46, 1, x_77); +return x_46; +} +} +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; lean_object* x_91; lean_object* x_92; lean_object* x_93; +x_78 = lean_ctor_get(x_46, 0); +lean_inc(x_78); +lean_dec(x_46); +x_79 = lean_ctor_get(x_47, 0); +lean_inc(x_79); +x_80 = lean_ctor_get(x_47, 1); +lean_inc(x_80); +x_81 = lean_ctor_get(x_47, 3); +lean_inc(x_81); +x_82 = lean_ctor_get(x_47, 4); +lean_inc(x_82); +x_83 = lean_ctor_get(x_47, 5); +lean_inc(x_83); +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); + x_84 = x_47; +} else { + lean_dec_ref(x_47); + x_84 = lean_box(0); +} +x_85 = lean_ctor_get(x_48, 0); +lean_inc(x_85); +x_86 = lean_ctor_get(x_48, 1); +lean_inc(x_86); +if (lean_is_exclusive(x_48)) { + lean_ctor_release(x_48, 0); + lean_ctor_release(x_48, 1); + x_87 = x_48; +} else { + lean_dec_ref(x_48); + x_87 = lean_box(0); +} +x_88 = lean_box(x_37); +x_89 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_89, 0, x_88); +lean_ctor_set(x_89, 1, x_44); +lean_inc(x_78); +x_90 = l_PersistentHashMap_insert___at___private_Init_Lean_Meta_15__cacheWHNF___spec__1(x_85, x_89, x_78); +if (lean_is_scalar(x_87)) { + x_91 = lean_alloc_ctor(0, 2, 0); +} else { + x_91 = x_87; +} +lean_ctor_set(x_91, 0, x_90); +lean_ctor_set(x_91, 1, x_86); +if (lean_is_scalar(x_84)) { + x_92 = lean_alloc_ctor(0, 6, 0); +} else { + x_92 = x_84; +} +lean_ctor_set(x_92, 0, x_79); +lean_ctor_set(x_92, 1, x_80); +lean_ctor_set(x_92, 2, x_91); +lean_ctor_set(x_92, 3, x_81); +lean_ctor_set(x_92, 4, x_82); +lean_ctor_set(x_92, 5, x_83); +x_93 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_93, 0, x_78); +lean_ctor_set(x_93, 1, x_92); +return x_93; +} +} +else +{ +uint8_t x_94; +lean_dec(x_44); +x_94 = !lean_is_exclusive(x_46); +if (x_94 == 0) +{ +return x_46; +} +else +{ +lean_object* x_95; lean_object* x_96; lean_object* x_97; +x_95 = lean_ctor_get(x_46, 0); +x_96 = lean_ctor_get(x_46, 1); +lean_inc(x_96); +lean_inc(x_95); +lean_dec(x_46); +x_97 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_97, 0, x_95); +lean_ctor_set(x_97, 1, x_96); +return x_97; +} +} +} +else +{ +uint8_t x_98; +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_98 = !lean_is_exclusive(x_43); +if (x_98 == 0) +{ +return x_43; +} +else +{ +lean_object* x_99; lean_object* x_100; lean_object* x_101; +x_99 = lean_ctor_get(x_43, 0); +x_100 = lean_ctor_get(x_43, 1); +lean_inc(x_100); +lean_inc(x_99); +lean_dec(x_43); +x_101 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_101, 0, x_99); +lean_ctor_set(x_101, 1, x_100); +return x_101; +} +} +} +else +{ +lean_object* x_102; lean_object* x_103; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_102 = lean_ctor_get(x_42, 0); +lean_inc(x_102); +lean_dec(x_42); +x_103 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_103, 0, x_102); +lean_ctor_set(x_103, 1, x_6); +return x_103; +} +} +case 5: +{ +lean_object* x_104; uint8_t x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; +x_104 = lean_ctor_get(x_5, 0); +lean_inc(x_104); +x_105 = lean_ctor_get_uint8(x_104, sizeof(void*)*1 + 3); +lean_dec(x_104); +x_106 = lean_ctor_get(x_6, 2); +lean_inc(x_106); +x_107 = lean_ctor_get(x_106, 0); +lean_inc(x_107); +lean_dec(x_106); +x_108 = lean_box(x_105); +lean_inc(x_4); +x_109 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_109, 0, x_108); +lean_ctor_set(x_109, 1, x_4); +x_110 = l_PersistentHashMap_find___at___private_Init_Lean_Meta_14__getCachedWHNF___spec__1(x_107, x_109); +lean_dec(x_107); +if (lean_obj_tag(x_110) == 0) +{ +lean_object* x_111; +lean_inc(x_5); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +x_111 = l_Lean_whnfCore___main___at___private_Init_Lean_Meta_16__whnfAux___main___spec__1(x_1, x_2, x_3, x_4, x_5, x_6); +if (lean_obj_tag(x_111) == 0) +{ +lean_object* x_112; lean_object* x_113; lean_object* x_114; +x_112 = lean_ctor_get(x_111, 0); +lean_inc(x_112); +x_113 = lean_ctor_get(x_111, 1); +lean_inc(x_113); +lean_dec(x_111); +lean_inc_n(x_112, 2); +x_114 = l_Lean_unfoldDefinition___at___private_Init_Lean_Meta_16__whnfAux___main___spec__11(x_1, x_2, x_3, x_112, x_112, x_5, x_113); +if (lean_obj_tag(x_114) == 0) +{ +lean_object* x_115; lean_object* x_116; uint8_t x_117; +x_115 = lean_ctor_get(x_114, 1); +lean_inc(x_115); +x_116 = lean_ctor_get(x_115, 2); +lean_inc(x_116); +x_117 = !lean_is_exclusive(x_114); +if (x_117 == 0) +{ +lean_object* x_118; lean_object* x_119; uint8_t x_120; +x_118 = lean_ctor_get(x_114, 0); +x_119 = lean_ctor_get(x_114, 1); +lean_dec(x_119); +x_120 = !lean_is_exclusive(x_115); +if (x_120 == 0) +{ +lean_object* x_121; uint8_t x_122; +x_121 = lean_ctor_get(x_115, 2); +lean_dec(x_121); +x_122 = !lean_is_exclusive(x_116); +if (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_116, 0); +x_124 = lean_box(x_105); +x_125 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_125, 0, x_124); +lean_ctor_set(x_125, 1, x_112); +lean_inc(x_118); +x_126 = l_PersistentHashMap_insert___at___private_Init_Lean_Meta_15__cacheWHNF___spec__1(x_123, x_125, x_118); +lean_ctor_set(x_116, 0, x_126); +return x_114; +} +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; +x_127 = lean_ctor_get(x_116, 0); +x_128 = lean_ctor_get(x_116, 1); +lean_inc(x_128); +lean_inc(x_127); +lean_dec(x_116); +x_129 = lean_box(x_105); +x_130 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_130, 0, x_129); +lean_ctor_set(x_130, 1, x_112); +lean_inc(x_118); +x_131 = l_PersistentHashMap_insert___at___private_Init_Lean_Meta_15__cacheWHNF___spec__1(x_127, x_130, x_118); +x_132 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_132, 0, x_131); +lean_ctor_set(x_132, 1, x_128); +lean_ctor_set(x_115, 2, x_132); +return x_114; +} +} +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; +x_133 = lean_ctor_get(x_115, 0); +x_134 = lean_ctor_get(x_115, 1); +x_135 = lean_ctor_get(x_115, 3); +x_136 = lean_ctor_get(x_115, 4); +x_137 = lean_ctor_get(x_115, 5); +lean_inc(x_137); +lean_inc(x_136); +lean_inc(x_135); +lean_inc(x_134); +lean_inc(x_133); +lean_dec(x_115); +x_138 = lean_ctor_get(x_116, 0); +lean_inc(x_138); +x_139 = lean_ctor_get(x_116, 1); +lean_inc(x_139); +if (lean_is_exclusive(x_116)) { + lean_ctor_release(x_116, 0); + lean_ctor_release(x_116, 1); + x_140 = x_116; +} else { + lean_dec_ref(x_116); + x_140 = lean_box(0); +} +x_141 = lean_box(x_105); +x_142 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_142, 0, x_141); +lean_ctor_set(x_142, 1, x_112); +lean_inc(x_118); +x_143 = l_PersistentHashMap_insert___at___private_Init_Lean_Meta_15__cacheWHNF___spec__1(x_138, x_142, x_118); +if (lean_is_scalar(x_140)) { + x_144 = lean_alloc_ctor(0, 2, 0); +} else { + x_144 = x_140; +} +lean_ctor_set(x_144, 0, x_143); +lean_ctor_set(x_144, 1, x_139); +x_145 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_145, 0, x_133); +lean_ctor_set(x_145, 1, x_134); +lean_ctor_set(x_145, 2, x_144); +lean_ctor_set(x_145, 3, x_135); +lean_ctor_set(x_145, 4, x_136); +lean_ctor_set(x_145, 5, x_137); +lean_ctor_set(x_114, 1, x_145); +return x_114; +} +} +else +{ +lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; +x_146 = lean_ctor_get(x_114, 0); +lean_inc(x_146); +lean_dec(x_114); +x_147 = lean_ctor_get(x_115, 0); +lean_inc(x_147); +x_148 = lean_ctor_get(x_115, 1); +lean_inc(x_148); +x_149 = lean_ctor_get(x_115, 3); +lean_inc(x_149); +x_150 = lean_ctor_get(x_115, 4); +lean_inc(x_150); +x_151 = lean_ctor_get(x_115, 5); +lean_inc(x_151); +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); + lean_ctor_release(x_115, 5); + x_152 = x_115; +} else { + lean_dec_ref(x_115); + x_152 = lean_box(0); +} +x_153 = lean_ctor_get(x_116, 0); +lean_inc(x_153); +x_154 = lean_ctor_get(x_116, 1); +lean_inc(x_154); +if (lean_is_exclusive(x_116)) { + lean_ctor_release(x_116, 0); + lean_ctor_release(x_116, 1); + x_155 = x_116; +} else { + lean_dec_ref(x_116); + x_155 = lean_box(0); +} +x_156 = lean_box(x_105); +x_157 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_157, 0, x_156); +lean_ctor_set(x_157, 1, x_112); +lean_inc(x_146); +x_158 = l_PersistentHashMap_insert___at___private_Init_Lean_Meta_15__cacheWHNF___spec__1(x_153, x_157, x_146); +if (lean_is_scalar(x_155)) { + x_159 = lean_alloc_ctor(0, 2, 0); +} else { + x_159 = x_155; +} +lean_ctor_set(x_159, 0, x_158); +lean_ctor_set(x_159, 1, x_154); +if (lean_is_scalar(x_152)) { + x_160 = lean_alloc_ctor(0, 6, 0); +} else { + x_160 = x_152; +} +lean_ctor_set(x_160, 0, x_147); +lean_ctor_set(x_160, 1, x_148); +lean_ctor_set(x_160, 2, x_159); +lean_ctor_set(x_160, 3, x_149); +lean_ctor_set(x_160, 4, x_150); +lean_ctor_set(x_160, 5, x_151); +x_161 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_161, 0, x_146); +lean_ctor_set(x_161, 1, x_160); +return x_161; +} +} +else +{ +uint8_t x_162; +lean_dec(x_112); +x_162 = !lean_is_exclusive(x_114); +if (x_162 == 0) +{ +return x_114; +} +else +{ +lean_object* x_163; lean_object* x_164; lean_object* x_165; +x_163 = lean_ctor_get(x_114, 0); +x_164 = lean_ctor_get(x_114, 1); +lean_inc(x_164); +lean_inc(x_163); +lean_dec(x_114); +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 +{ +uint8_t x_166; +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_166 = !lean_is_exclusive(x_111); +if (x_166 == 0) +{ +return x_111; +} +else +{ +lean_object* x_167; lean_object* x_168; lean_object* x_169; +x_167 = lean_ctor_get(x_111, 0); +x_168 = lean_ctor_get(x_111, 1); +lean_inc(x_168); +lean_inc(x_167); +lean_dec(x_111); +x_169 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_169, 0, x_167); +lean_ctor_set(x_169, 1, x_168); +return x_169; +} +} +} +else +{ +lean_object* x_170; lean_object* x_171; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_170 = lean_ctor_get(x_110, 0); +lean_inc(x_170); +lean_dec(x_110); +x_171 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_171, 0, x_170); +lean_ctor_set(x_171, 1, x_6); +return x_171; +} +} +case 8: +{ +lean_object* x_172; uint8_t x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; +x_172 = lean_ctor_get(x_5, 0); +lean_inc(x_172); +x_173 = lean_ctor_get_uint8(x_172, sizeof(void*)*1 + 3); +lean_dec(x_172); +x_174 = lean_ctor_get(x_6, 2); +lean_inc(x_174); +x_175 = lean_ctor_get(x_174, 0); +lean_inc(x_175); +lean_dec(x_174); +x_176 = lean_box(x_173); +lean_inc(x_4); +x_177 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_177, 0, x_176); +lean_ctor_set(x_177, 1, x_4); +x_178 = l_PersistentHashMap_find___at___private_Init_Lean_Meta_14__getCachedWHNF___spec__1(x_175, x_177); +lean_dec(x_175); +if (lean_obj_tag(x_178) == 0) +{ +lean_object* x_179; +lean_inc(x_5); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +x_179 = l_Lean_whnfCore___main___at___private_Init_Lean_Meta_16__whnfAux___main___spec__1(x_1, x_2, x_3, x_4, x_5, x_6); +if (lean_obj_tag(x_179) == 0) +{ +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_n(x_180, 2); +x_182 = l_Lean_unfoldDefinition___at___private_Init_Lean_Meta_16__whnfAux___main___spec__11(x_1, x_2, x_3, x_180, x_180, x_5, x_181); +if (lean_obj_tag(x_182) == 0) +{ +lean_object* x_183; lean_object* x_184; uint8_t x_185; +x_183 = lean_ctor_get(x_182, 1); +lean_inc(x_183); +x_184 = lean_ctor_get(x_183, 2); +lean_inc(x_184); +x_185 = !lean_is_exclusive(x_182); +if (x_185 == 0) +{ +lean_object* x_186; lean_object* x_187; uint8_t x_188; +x_186 = lean_ctor_get(x_182, 0); +x_187 = lean_ctor_get(x_182, 1); +lean_dec(x_187); +x_188 = !lean_is_exclusive(x_183); +if (x_188 == 0) +{ +lean_object* x_189; uint8_t x_190; +x_189 = lean_ctor_get(x_183, 2); +lean_dec(x_189); +x_190 = !lean_is_exclusive(x_184); +if (x_190 == 0) +{ +lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; +x_191 = lean_ctor_get(x_184, 0); +x_192 = lean_box(x_173); +x_193 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_193, 0, x_192); +lean_ctor_set(x_193, 1, x_180); +lean_inc(x_186); +x_194 = l_PersistentHashMap_insert___at___private_Init_Lean_Meta_15__cacheWHNF___spec__1(x_191, x_193, x_186); +lean_ctor_set(x_184, 0, x_194); +return x_182; +} +else +{ +lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; +x_195 = lean_ctor_get(x_184, 0); +x_196 = lean_ctor_get(x_184, 1); +lean_inc(x_196); +lean_inc(x_195); +lean_dec(x_184); +x_197 = lean_box(x_173); +x_198 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_198, 0, x_197); +lean_ctor_set(x_198, 1, x_180); +lean_inc(x_186); +x_199 = l_PersistentHashMap_insert___at___private_Init_Lean_Meta_15__cacheWHNF___spec__1(x_195, x_198, x_186); +x_200 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_200, 0, x_199); +lean_ctor_set(x_200, 1, x_196); +lean_ctor_set(x_183, 2, x_200); +return x_182; +} +} +else +{ +lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; +x_201 = lean_ctor_get(x_183, 0); +x_202 = lean_ctor_get(x_183, 1); +x_203 = lean_ctor_get(x_183, 3); +x_204 = lean_ctor_get(x_183, 4); +x_205 = lean_ctor_get(x_183, 5); +lean_inc(x_205); +lean_inc(x_204); +lean_inc(x_203); +lean_inc(x_202); +lean_inc(x_201); +lean_dec(x_183); +x_206 = lean_ctor_get(x_184, 0); +lean_inc(x_206); +x_207 = lean_ctor_get(x_184, 1); +lean_inc(x_207); +if (lean_is_exclusive(x_184)) { + lean_ctor_release(x_184, 0); + lean_ctor_release(x_184, 1); + x_208 = x_184; +} else { + lean_dec_ref(x_184); + x_208 = lean_box(0); +} +x_209 = lean_box(x_173); +x_210 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_210, 0, x_209); +lean_ctor_set(x_210, 1, x_180); +lean_inc(x_186); +x_211 = l_PersistentHashMap_insert___at___private_Init_Lean_Meta_15__cacheWHNF___spec__1(x_206, x_210, x_186); +if (lean_is_scalar(x_208)) { + x_212 = lean_alloc_ctor(0, 2, 0); +} else { + x_212 = x_208; +} +lean_ctor_set(x_212, 0, x_211); +lean_ctor_set(x_212, 1, x_207); +x_213 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_213, 0, x_201); +lean_ctor_set(x_213, 1, x_202); +lean_ctor_set(x_213, 2, x_212); +lean_ctor_set(x_213, 3, x_203); +lean_ctor_set(x_213, 4, x_204); +lean_ctor_set(x_213, 5, x_205); +lean_ctor_set(x_182, 1, x_213); +return x_182; +} +} +else +{ +lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; +x_214 = lean_ctor_get(x_182, 0); +lean_inc(x_214); +lean_dec(x_182); +x_215 = lean_ctor_get(x_183, 0); +lean_inc(x_215); +x_216 = lean_ctor_get(x_183, 1); +lean_inc(x_216); +x_217 = lean_ctor_get(x_183, 3); +lean_inc(x_217); +x_218 = lean_ctor_get(x_183, 4); +lean_inc(x_218); +x_219 = lean_ctor_get(x_183, 5); +lean_inc(x_219); +if (lean_is_exclusive(x_183)) { + lean_ctor_release(x_183, 0); + lean_ctor_release(x_183, 1); + lean_ctor_release(x_183, 2); + lean_ctor_release(x_183, 3); + lean_ctor_release(x_183, 4); + lean_ctor_release(x_183, 5); + x_220 = x_183; +} else { + lean_dec_ref(x_183); + x_220 = lean_box(0); +} +x_221 = lean_ctor_get(x_184, 0); +lean_inc(x_221); +x_222 = lean_ctor_get(x_184, 1); +lean_inc(x_222); +if (lean_is_exclusive(x_184)) { + lean_ctor_release(x_184, 0); + lean_ctor_release(x_184, 1); + x_223 = x_184; +} else { + lean_dec_ref(x_184); + x_223 = lean_box(0); +} +x_224 = lean_box(x_173); +x_225 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_225, 0, x_224); +lean_ctor_set(x_225, 1, x_180); +lean_inc(x_214); +x_226 = l_PersistentHashMap_insert___at___private_Init_Lean_Meta_15__cacheWHNF___spec__1(x_221, x_225, x_214); +if (lean_is_scalar(x_223)) { + x_227 = lean_alloc_ctor(0, 2, 0); +} else { + x_227 = x_223; +} +lean_ctor_set(x_227, 0, x_226); +lean_ctor_set(x_227, 1, x_222); +if (lean_is_scalar(x_220)) { + x_228 = lean_alloc_ctor(0, 6, 0); +} else { + x_228 = x_220; +} +lean_ctor_set(x_228, 0, x_215); +lean_ctor_set(x_228, 1, x_216); +lean_ctor_set(x_228, 2, x_227); +lean_ctor_set(x_228, 3, x_217); +lean_ctor_set(x_228, 4, x_218); +lean_ctor_set(x_228, 5, x_219); +x_229 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_229, 0, x_214); +lean_ctor_set(x_229, 1, x_228); +return x_229; +} +} +else +{ +uint8_t x_230; +lean_dec(x_180); +x_230 = !lean_is_exclusive(x_182); +if (x_230 == 0) +{ +return x_182; +} +else +{ +lean_object* x_231; lean_object* x_232; lean_object* x_233; +x_231 = lean_ctor_get(x_182, 0); +x_232 = lean_ctor_get(x_182, 1); +lean_inc(x_232); +lean_inc(x_231); +lean_dec(x_182); +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; +} +} +} +else +{ +uint8_t x_234; +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_234 = !lean_is_exclusive(x_179); +if (x_234 == 0) +{ +return x_179; +} +else +{ +lean_object* x_235; lean_object* x_236; lean_object* x_237; +x_235 = lean_ctor_get(x_179, 0); +x_236 = lean_ctor_get(x_179, 1); +lean_inc(x_236); +lean_inc(x_235); +lean_dec(x_179); +x_237 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_237, 0, x_235); +lean_ctor_set(x_237, 1, x_236); +return x_237; +} +} +} +else +{ +lean_object* x_238; lean_object* x_239; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_238 = lean_ctor_get(x_178, 0); +lean_inc(x_238); +lean_dec(x_178); +x_239 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_239, 0, x_238); +lean_ctor_set(x_239, 1, x_6); +return x_239; +} +} +case 10: +{ +lean_object* x_240; +x_240 = lean_ctor_get(x_4, 1); +lean_inc(x_240); +lean_dec(x_4); +x_4 = x_240; +goto _start; +} +case 11: +{ +lean_object* x_242; uint8_t x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; +x_242 = lean_ctor_get(x_5, 0); +lean_inc(x_242); +x_243 = lean_ctor_get_uint8(x_242, sizeof(void*)*1 + 3); +lean_dec(x_242); +x_244 = lean_ctor_get(x_6, 2); +lean_inc(x_244); +x_245 = lean_ctor_get(x_244, 0); +lean_inc(x_245); +lean_dec(x_244); +x_246 = lean_box(x_243); +lean_inc(x_4); +x_247 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_247, 0, x_246); +lean_ctor_set(x_247, 1, x_4); +x_248 = l_PersistentHashMap_find___at___private_Init_Lean_Meta_14__getCachedWHNF___spec__1(x_245, x_247); +lean_dec(x_245); +if (lean_obj_tag(x_248) == 0) +{ +lean_object* x_249; +lean_inc(x_5); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +x_249 = l_Lean_whnfCore___main___at___private_Init_Lean_Meta_16__whnfAux___main___spec__1(x_1, x_2, x_3, x_4, x_5, x_6); +if (lean_obj_tag(x_249) == 0) +{ +lean_object* x_250; lean_object* x_251; lean_object* x_252; +x_250 = lean_ctor_get(x_249, 0); +lean_inc(x_250); +x_251 = lean_ctor_get(x_249, 1); +lean_inc(x_251); +lean_dec(x_249); +lean_inc_n(x_250, 2); +x_252 = l_Lean_unfoldDefinition___at___private_Init_Lean_Meta_16__whnfAux___main___spec__11(x_1, x_2, x_3, x_250, x_250, x_5, x_251); +if (lean_obj_tag(x_252) == 0) +{ +lean_object* x_253; lean_object* x_254; uint8_t x_255; +x_253 = lean_ctor_get(x_252, 1); +lean_inc(x_253); +x_254 = lean_ctor_get(x_253, 2); +lean_inc(x_254); +x_255 = !lean_is_exclusive(x_252); +if (x_255 == 0) +{ +lean_object* x_256; lean_object* x_257; uint8_t x_258; +x_256 = lean_ctor_get(x_252, 0); +x_257 = lean_ctor_get(x_252, 1); +lean_dec(x_257); +x_258 = !lean_is_exclusive(x_253); +if (x_258 == 0) +{ +lean_object* x_259; uint8_t x_260; +x_259 = lean_ctor_get(x_253, 2); +lean_dec(x_259); +x_260 = !lean_is_exclusive(x_254); +if (x_260 == 0) +{ +lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; +x_261 = lean_ctor_get(x_254, 0); +x_262 = lean_box(x_243); +x_263 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_263, 0, x_262); +lean_ctor_set(x_263, 1, x_250); +lean_inc(x_256); +x_264 = l_PersistentHashMap_insert___at___private_Init_Lean_Meta_15__cacheWHNF___spec__1(x_261, x_263, x_256); +lean_ctor_set(x_254, 0, x_264); +return x_252; +} +else +{ +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 = lean_ctor_get(x_254, 0); +x_266 = lean_ctor_get(x_254, 1); +lean_inc(x_266); +lean_inc(x_265); +lean_dec(x_254); +x_267 = lean_box(x_243); +x_268 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_268, 0, x_267); +lean_ctor_set(x_268, 1, x_250); +lean_inc(x_256); +x_269 = l_PersistentHashMap_insert___at___private_Init_Lean_Meta_15__cacheWHNF___spec__1(x_265, x_268, x_256); +x_270 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_270, 0, x_269); +lean_ctor_set(x_270, 1, x_266); +lean_ctor_set(x_253, 2, x_270); +return x_252; +} +} +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; lean_object* x_282; lean_object* x_283; +x_271 = lean_ctor_get(x_253, 0); +x_272 = lean_ctor_get(x_253, 1); +x_273 = lean_ctor_get(x_253, 3); +x_274 = lean_ctor_get(x_253, 4); +x_275 = lean_ctor_get(x_253, 5); +lean_inc(x_275); +lean_inc(x_274); +lean_inc(x_273); +lean_inc(x_272); +lean_inc(x_271); +lean_dec(x_253); +x_276 = lean_ctor_get(x_254, 0); +lean_inc(x_276); +x_277 = lean_ctor_get(x_254, 1); +lean_inc(x_277); +if (lean_is_exclusive(x_254)) { + lean_ctor_release(x_254, 0); + lean_ctor_release(x_254, 1); + x_278 = x_254; +} else { + lean_dec_ref(x_254); + x_278 = lean_box(0); +} +x_279 = lean_box(x_243); +x_280 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_280, 0, x_279); +lean_ctor_set(x_280, 1, x_250); +lean_inc(x_256); +x_281 = l_PersistentHashMap_insert___at___private_Init_Lean_Meta_15__cacheWHNF___spec__1(x_276, x_280, x_256); +if (lean_is_scalar(x_278)) { + x_282 = lean_alloc_ctor(0, 2, 0); +} else { + x_282 = x_278; +} +lean_ctor_set(x_282, 0, x_281); +lean_ctor_set(x_282, 1, x_277); +x_283 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_283, 0, x_271); +lean_ctor_set(x_283, 1, x_272); +lean_ctor_set(x_283, 2, x_282); +lean_ctor_set(x_283, 3, x_273); +lean_ctor_set(x_283, 4, x_274); +lean_ctor_set(x_283, 5, x_275); +lean_ctor_set(x_252, 1, x_283); +return x_252; +} +} +else +{ +lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; +x_284 = lean_ctor_get(x_252, 0); +lean_inc(x_284); +lean_dec(x_252); +x_285 = lean_ctor_get(x_253, 0); +lean_inc(x_285); +x_286 = lean_ctor_get(x_253, 1); +lean_inc(x_286); +x_287 = lean_ctor_get(x_253, 3); +lean_inc(x_287); +x_288 = lean_ctor_get(x_253, 4); +lean_inc(x_288); +x_289 = lean_ctor_get(x_253, 5); +lean_inc(x_289); +if (lean_is_exclusive(x_253)) { + lean_ctor_release(x_253, 0); + lean_ctor_release(x_253, 1); + lean_ctor_release(x_253, 2); + lean_ctor_release(x_253, 3); + lean_ctor_release(x_253, 4); + lean_ctor_release(x_253, 5); + x_290 = x_253; +} else { + lean_dec_ref(x_253); + x_290 = lean_box(0); +} +x_291 = lean_ctor_get(x_254, 0); +lean_inc(x_291); +x_292 = lean_ctor_get(x_254, 1); +lean_inc(x_292); +if (lean_is_exclusive(x_254)) { + lean_ctor_release(x_254, 0); + lean_ctor_release(x_254, 1); + x_293 = x_254; +} else { + lean_dec_ref(x_254); + x_293 = lean_box(0); +} +x_294 = lean_box(x_243); +x_295 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_295, 0, x_294); +lean_ctor_set(x_295, 1, x_250); +lean_inc(x_284); +x_296 = l_PersistentHashMap_insert___at___private_Init_Lean_Meta_15__cacheWHNF___spec__1(x_291, x_295, x_284); +if (lean_is_scalar(x_293)) { + x_297 = lean_alloc_ctor(0, 2, 0); +} else { + x_297 = x_293; +} +lean_ctor_set(x_297, 0, x_296); +lean_ctor_set(x_297, 1, x_292); +if (lean_is_scalar(x_290)) { + x_298 = lean_alloc_ctor(0, 6, 0); +} else { + x_298 = x_290; +} +lean_ctor_set(x_298, 0, x_285); +lean_ctor_set(x_298, 1, x_286); +lean_ctor_set(x_298, 2, x_297); +lean_ctor_set(x_298, 3, x_287); +lean_ctor_set(x_298, 4, x_288); +lean_ctor_set(x_298, 5, x_289); +x_299 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_299, 0, x_284); +lean_ctor_set(x_299, 1, x_298); +return x_299; +} +} +else +{ +uint8_t x_300; +lean_dec(x_250); +x_300 = !lean_is_exclusive(x_252); +if (x_300 == 0) +{ +return x_252; +} +else +{ +lean_object* x_301; lean_object* x_302; lean_object* x_303; +x_301 = lean_ctor_get(x_252, 0); +x_302 = lean_ctor_get(x_252, 1); +lean_inc(x_302); +lean_inc(x_301); +lean_dec(x_252); +x_303 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_303, 0, x_301); +lean_ctor_set(x_303, 1, x_302); +return x_303; +} +} +} +else +{ +uint8_t x_304; +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_304 = !lean_is_exclusive(x_249); +if (x_304 == 0) +{ +return x_249; +} +else +{ +lean_object* x_305; lean_object* x_306; lean_object* x_307; +x_305 = lean_ctor_get(x_249, 0); +x_306 = lean_ctor_get(x_249, 1); +lean_inc(x_306); +lean_inc(x_305); +lean_dec(x_249); +x_307 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_307, 0, x_305); +lean_ctor_set(x_307, 1, x_306); +return x_307; +} +} +} +else +{ +lean_object* x_308; lean_object* x_309; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_308 = lean_ctor_get(x_248, 0); +lean_inc(x_308); +lean_dec(x_248); +x_309 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_309, 0, x_308); +lean_ctor_set(x_309, 1, x_6); +return x_309; +} +} +default: +{ +lean_object* x_310; +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_310 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_310, 0, x_4); +lean_ctor_set(x_310, 1, x_6); +return x_310; +} +} +} +} +lean_object* l___private_Init_Lean_Meta_16__whnfAux___main(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_whnfEasyCases___main___at___private_Init_Lean_Meta_16__whnfAux___main___spec__33(x_1, x_2, x_3, x_4, x_5, x_6); +return x_7; +} +} +lean_object* l_panicWithPos___at___private_Init_Lean_Meta_16__whnfAux___main___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_panicWithPos___at___private_Init_Lean_Meta_16__whnfAux___main___spec__2(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_4); +lean_dec(x_1); +return x_7; +} +} +lean_object* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at___private_Init_Lean_Meta_16__whnfAux___main___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___private_Init_Lean_WHNF_9__deltaBetaDefinition___at___private_Init_Lean_Meta_16__whnfAux___main___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_6); +lean_dec(x_5); +return x_12; +} +} +lean_object* l_Lean_reduceQuotRec___at___private_Init_Lean_Meta_16__whnfAux___main___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) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_reduceQuotRec___at___private_Init_Lean_Meta_16__whnfAux___main___spec__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_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +return x_12; +} +} +lean_object* l___private_Init_Lean_WHNF_2__mkNullaryCtor___at___private_Init_Lean_Meta_16__whnfAux___main___spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l___private_Init_Lean_WHNF_2__mkNullaryCtor___at___private_Init_Lean_Meta_16__whnfAux___main___spec__7(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_3); +return x_6; +} +} +lean_object* l_Lean_reduceRec___at___private_Init_Lean_Meta_16__whnfAux___main___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) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_reduceRec___at___private_Init_Lean_Meta_16__whnfAux___main___spec__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_9); +lean_dec(x_6); +lean_dec(x_5); +return x_12; +} +} +lean_object* l_panicWithPos___at___private_Init_Lean_Meta_16__whnfAux___main___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) { +_start: +{ +lean_object* x_8; +x_8 = l_panicWithPos___at___private_Init_Lean_Meta_16__whnfAux___main___spec__10(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_5); +lean_dec(x_2); +return x_8; +} +} +lean_object* l_Lean_whnfEasyCases___main___at___private_Init_Lean_Meta_16__whnfAux___main___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_Lean_whnfEasyCases___main___at___private_Init_Lean_Meta_16__whnfAux___main___spec__9___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_6); +return x_9; +} +} +lean_object* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at___private_Init_Lean_Meta_16__whnfAux___main___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) { +_start: +{ +lean_object* x_12; +x_12 = l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at___private_Init_Lean_Meta_16__whnfAux___main___spec__17(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_object* l_Lean_reduceQuotRec___at___private_Init_Lean_Meta_16__whnfAux___main___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) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_reduceQuotRec___at___private_Init_Lean_Meta_16__whnfAux___main___spec__18(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_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +return x_12; +} +} +lean_object* l_Lean_reduceRec___at___private_Init_Lean_Meta_16__whnfAux___main___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) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_reduceRec___at___private_Init_Lean_Meta_16__whnfAux___main___spec__19(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_9); +lean_dec(x_6); +lean_dec(x_5); +return x_12; +} +} +lean_object* l_panicWithPos___at___private_Init_Lean_Meta_16__whnfAux___main___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) { +_start: +{ +lean_object* x_8; +x_8 = l_panicWithPos___at___private_Init_Lean_Meta_16__whnfAux___main___spec__22(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_5); +lean_dec(x_2); +return x_8; +} +} +lean_object* l_Lean_whnfEasyCases___main___at___private_Init_Lean_Meta_16__whnfAux___main___spec__21___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_whnfEasyCases___main___at___private_Init_Lean_Meta_16__whnfAux___main___spec__21___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_6); +return x_9; +} +} +lean_object* l_Lean_isQuotRecStuck___at___private_Init_Lean_Meta_16__whnfAux___main___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: +{ +lean_object* x_9; +x_9 = l_Lean_isQuotRecStuck___at___private_Init_Lean_Meta_16__whnfAux___main___spec__24(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +return x_9; +} +} +lean_object* l_Lean_isRecStuck___at___private_Init_Lean_Meta_16__whnfAux___main___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) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_isRecStuck___at___private_Init_Lean_Meta_16__whnfAux___main___spec__25(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +return x_9; +} +} +lean_object* l___private_Init_Lean_Meta_16__whnfAux(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_whnfEasyCases___main___at___private_Init_Lean_Meta_16__whnfAux___main___spec__33(x_1, x_2, x_3, x_4, x_5, x_6); +return x_7; +} +} +lean_object* l_Nat_foldMAux___main___at___private_Init_Lean_Meta_17__getForallResultType___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; 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; 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_11 = lean_unsigned_to_nat(1u); +x_12 = lean_nat_sub(x_5, x_11); +lean_dec(x_5); +x_22 = lean_nat_sub(x_4, x_12); +x_23 = lean_nat_sub(x_22, x_11); +lean_dec(x_22); +x_24 = lean_ctor_get(x_6, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_6, 1); +lean_inc(x_25); +if (lean_is_exclusive(x_6)) { + lean_ctor_release(x_6, 0); + lean_ctor_release(x_6, 1); + x_26 = x_6; +} else { + lean_dec_ref(x_6); + x_26 = lean_box(0); +} +if (lean_obj_tag(x_25) == 7) +{ +lean_object* x_59; lean_object* x_60; lean_object* x_61; +lean_dec(x_26); +lean_dec(x_23); +x_59 = lean_ctor_get(x_25, 2); +lean_inc(x_59); +lean_dec(x_25); +x_60 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_60, 0, x_24); +lean_ctor_set(x_60, 1, x_59); +x_61 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_61, 0, x_60); +lean_ctor_set(x_61, 1, x_8); +x_13 = x_61; +goto block_21; +} +else +{ +lean_object* x_62; +x_62 = lean_box(0); +x_27 = x_62; +goto block_58; +} +block_21: +{ +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; lean_object* x_15; +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_5 = x_12; +x_6 = x_14; +x_8 = x_15; +goto _start; +} +else +{ +uint8_t x_17; +lean_dec(x_12); +lean_dec(x_7); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_17 = !lean_is_exclusive(x_13); +if (x_17 == 0) +{ +return x_13; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_13, 0); +x_19 = lean_ctor_get(x_13, 1); +lean_inc(x_19); +lean_inc(x_18); +lean_dec(x_13); +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; +} +} +} +block_58: +{ +lean_object* x_28; lean_object* x_29; +lean_dec(x_27); +lean_inc(x_3); +x_28 = lean_expr_instantiate_rev_range(x_25, x_24, x_23, x_3); +lean_dec(x_24); +lean_dec(x_25); +lean_inc(x_1); +lean_inc(x_7); +x_29 = lean_apply_3(x_1, x_28, x_7, x_8); +if (lean_obj_tag(x_29) == 0) +{ +lean_object* x_30; +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +if (lean_obj_tag(x_30) == 7) +{ +uint8_t x_31; +x_31 = !lean_is_exclusive(x_29); +if (x_31 == 0) +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_29, 0); +lean_dec(x_32); +x_33 = lean_ctor_get(x_30, 2); +lean_inc(x_33); +lean_dec(x_30); +if (lean_is_scalar(x_26)) { + x_34 = lean_alloc_ctor(0, 2, 0); +} else { + x_34 = x_26; +} +lean_ctor_set(x_34, 0, x_23); +lean_ctor_set(x_34, 1, x_33); +lean_ctor_set(x_29, 0, x_34); +x_13 = x_29; +goto block_21; +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_35 = lean_ctor_get(x_29, 1); +lean_inc(x_35); +lean_dec(x_29); +x_36 = lean_ctor_get(x_30, 2); +lean_inc(x_36); +lean_dec(x_30); +if (lean_is_scalar(x_26)) { + x_37 = lean_alloc_ctor(0, 2, 0); +} else { + x_37 = x_26; +} +lean_ctor_set(x_37, 0, x_23); +lean_ctor_set(x_37, 1, x_36); +x_38 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_35); +x_13 = x_38; +goto block_21; +} +} +else +{ +uint8_t x_39; +lean_dec(x_30); +lean_dec(x_26); +lean_dec(x_23); +x_39 = !lean_is_exclusive(x_29); +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_29, 1); +x_41 = lean_ctor_get(x_29, 0); +lean_dec(x_41); +x_42 = lean_ctor_get(x_40, 0); +lean_inc(x_42); +x_43 = lean_ctor_get(x_40, 1); +lean_inc(x_43); +x_44 = lean_ctor_get(x_7, 1); +lean_inc(x_44); +x_45 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_45, 0, x_42); +lean_ctor_set(x_45, 1, x_43); +lean_ctor_set(x_45, 2, x_44); +lean_inc(x_3); +lean_inc(x_2); +x_46 = lean_alloc_ctor(3, 3, 0); +lean_ctor_set(x_46, 0, x_2); +lean_ctor_set(x_46, 1, x_3); +lean_ctor_set(x_46, 2, x_45); +lean_ctor_set_tag(x_29, 1); +lean_ctor_set(x_29, 0, x_46); +x_13 = x_29; +goto block_21; +} +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; +x_47 = lean_ctor_get(x_29, 1); +lean_inc(x_47); +lean_dec(x_29); +x_48 = lean_ctor_get(x_47, 0); +lean_inc(x_48); +x_49 = lean_ctor_get(x_47, 1); +lean_inc(x_49); +x_50 = lean_ctor_get(x_7, 1); +lean_inc(x_50); +x_51 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_51, 0, x_48); +lean_ctor_set(x_51, 1, x_49); +lean_ctor_set(x_51, 2, x_50); +lean_inc(x_3); +lean_inc(x_2); +x_52 = lean_alloc_ctor(3, 3, 0); +lean_ctor_set(x_52, 0, x_2); +lean_ctor_set(x_52, 1, x_3); +lean_ctor_set(x_52, 2, 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_47); +x_13 = x_53; +goto block_21; +} +} +} +else +{ +uint8_t x_54; +lean_dec(x_26); +lean_dec(x_23); +x_54 = !lean_is_exclusive(x_29); +if (x_54 == 0) +{ +x_13 = x_29; +goto block_21; +} +else +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; +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_dec(x_29); +x_57 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_57, 0, x_55); +lean_ctor_set(x_57, 1, x_56); +x_13 = x_57; +goto block_21; +} +} +} +} +else +{ +lean_object* x_63; +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_63 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_63, 0, x_6); +lean_ctor_set(x_63, 1, x_8); +return x_63; +} +} +} +lean_object* l___private_Init_Lean_Meta_17__getForallResultType(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_unsigned_to_nat(0u); +lean_inc(x_2); +x_7 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_2); +x_8 = lean_array_get_size(x_3); +lean_inc(x_8); +lean_inc(x_3); +x_9 = l_Nat_foldMAux___main___at___private_Init_Lean_Meta_17__getForallResultType___spec__1(x_1, x_2, x_3, x_8, x_8, x_7, x_4, x_5); +if (lean_obj_tag(x_9) == 0) +{ +uint8_t x_10; +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; +x_11 = lean_ctor_get(x_9, 0); +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_expr_instantiate_rev_range(x_13, x_12, x_8, x_3); +lean_dec(x_8); +lean_dec(x_12); +lean_dec(x_13); +lean_ctor_set(x_9, 0, x_14); +return x_9; +} +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; +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_ctor_get(x_15, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_15, 1); +lean_inc(x_18); +lean_dec(x_15); +x_19 = lean_expr_instantiate_rev_range(x_18, x_17, x_8, x_3); +lean_dec(x_8); +lean_dec(x_17); +lean_dec(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_16); +return x_20; +} +} +else +{ +uint8_t x_21; +lean_dec(x_8); +lean_dec(x_3); +x_21 = !lean_is_exclusive(x_9); +if (x_21 == 0) +{ +return x_9; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_9, 0); +x_23 = lean_ctor_get(x_9, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_9); +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* l_Nat_foldMAux___main___at___private_Init_Lean_Meta_17__getForallResultType___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Nat_foldMAux___main___at___private_Init_Lean_Meta_17__getForallResultType___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_4); +return x_9; +} +} +lean_object* l___private_Init_Lean_Meta_18__inferAppType(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); +x_7 = lean_apply_3(x_2, x_3, x_5, x_6); +if (lean_obj_tag(x_7) == 0) +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_8 = lean_ctor_get(x_7, 0); +lean_inc(x_8); +x_9 = lean_ctor_get(x_7, 1); +lean_inc(x_9); +lean_dec(x_7); +x_10 = l___private_Init_Lean_Meta_17__getForallResultType(x_1, x_8, x_4, x_5, x_9); +return x_10; +} +else +{ +uint8_t x_11; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +x_11 = !lean_is_exclusive(x_7); +if (x_11 == 0) +{ +return x_7; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_7, 0); +x_13 = lean_ctor_get(x_7, 1); +lean_inc(x_13); +lean_inc(x_12); +lean_dec(x_7); +x_14 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_14, 0, x_12); +lean_ctor_set(x_14, 1, x_13); +return x_14; +} +} +} +} +lean_object* l___private_Init_Lean_Meta_19__inferConstType(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; +x_5 = lean_ctor_get(x_4, 0); +lean_inc(x_5); +x_6 = lean_ctor_get(x_4, 1); +lean_inc(x_6); +lean_inc(x_1); +lean_inc(x_5); +x_7 = lean_environment_find(x_5, x_1); +if (lean_obj_tag(x_7) == 0) +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +lean_dec(x_2); +x_8 = lean_ctor_get(x_3, 1); +lean_inc(x_8); +x_9 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_9, 0, x_5); +lean_ctor_set(x_9, 1, x_6); +lean_ctor_set(x_9, 2, x_8); +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_1); +lean_ctor_set(x_10, 1, x_9); +x_11 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_11, 1, x_4); +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; +x_12 = lean_ctor_get(x_7, 0); +lean_inc(x_12); +lean_dec(x_7); +x_13 = l_Lean_ConstantInfo_lparams(x_12); +x_14 = lean_unsigned_to_nat(0u); +x_15 = l_List_lengthAux___main___rarg(x_13, x_14); +lean_dec(x_13); +x_16 = l_List_lengthAux___main___rarg(x_2, x_14); +x_17 = lean_nat_dec_eq(x_15, x_16); +lean_dec(x_16); +lean_dec(x_15); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_1); +x_18 = lean_instantiate_type_lparams(x_12, x_2); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_4); +return x_19; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +lean_dec(x_12); +x_20 = lean_ctor_get(x_3, 1); +lean_inc(x_20); +x_21 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_21, 0, x_5); +lean_ctor_set(x_21, 1, x_6); +lean_ctor_set(x_21, 2, x_20); +x_22 = lean_alloc_ctor(4, 3, 0); +lean_ctor_set(x_22, 0, x_1); +lean_ctor_set(x_22, 1, x_2); +lean_ctor_set(x_22, 2, x_21); +x_23 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_4); +return x_23; +} +} +} +} +lean_object* l___private_Init_Lean_Meta_19__inferConstType___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l___private_Init_Lean_Meta_19__inferConstType(x_1, x_2, x_3, x_4); +lean_dec(x_3); +return x_5; +} +} +lean_object* l_Nat_foldMAux___main___at___private_Init_Lean_Meta_20__inferProjType___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; uint8_t x_11; +x_10 = lean_unsigned_to_nat(0u); +x_11 = lean_nat_dec_eq(x_6, 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; +x_12 = lean_unsigned_to_nat(1u); +x_13 = lean_nat_sub(x_6, x_12); +lean_dec(x_6); +x_14 = lean_nat_sub(x_5, x_13); +x_15 = lean_nat_sub(x_14, x_12); +lean_dec(x_14); +lean_inc(x_1); +lean_inc(x_8); +x_16 = lean_apply_3(x_1, x_7, x_8, x_9); +if (lean_obj_tag(x_16) == 0) +{ +lean_object* x_17; +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +if (lean_obj_tag(x_17) == 7) +{ +lean_object* x_18; lean_object* x_19; uint8_t x_20; +x_18 = lean_ctor_get(x_16, 1); +lean_inc(x_18); +lean_dec(x_16); +x_19 = lean_ctor_get(x_17, 2); +lean_inc(x_19); +lean_dec(x_17); +x_20 = l_Lean_Expr_hasLooseBVars(x_19); +if (x_20 == 0) +{ +lean_dec(x_15); +x_6 = x_13; +x_7 = x_19; +x_9 = x_18; +goto _start; +} +else +{ +lean_object* x_22; lean_object* x_23; +lean_inc(x_4); +lean_inc(x_2); +x_22 = lean_expr_mk_proj(x_2, x_15, x_4); +x_23 = lean_expr_instantiate1(x_19, x_22); +lean_dec(x_22); +lean_dec(x_19); +x_6 = x_13; +x_7 = x_23; +x_9 = x_18; +goto _start; +} +} +else +{ +uint8_t x_25; +lean_dec(x_17); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_1); +x_25 = !lean_is_exclusive(x_16); +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_16, 1); +x_27 = lean_ctor_get(x_16, 0); +lean_dec(x_27); +x_28 = lean_ctor_get(x_26, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_26, 1); +lean_inc(x_29); +x_30 = lean_ctor_get(x_8, 1); +lean_inc(x_30); +lean_dec(x_8); +x_31 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_31, 0, x_28); +lean_ctor_set(x_31, 1, x_29); +lean_ctor_set(x_31, 2, x_30); +x_32 = lean_alloc_ctor(5, 4, 0); +lean_ctor_set(x_32, 0, x_2); +lean_ctor_set(x_32, 1, x_3); +lean_ctor_set(x_32, 2, x_4); +lean_ctor_set(x_32, 3, x_31); +lean_ctor_set_tag(x_16, 1); +lean_ctor_set(x_16, 0, x_32); +return x_16; +} +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; +x_33 = lean_ctor_get(x_16, 1); +lean_inc(x_33); +lean_dec(x_16); +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_8, 1); +lean_inc(x_36); +lean_dec(x_8); +x_37 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_37, 0, x_34); +lean_ctor_set(x_37, 1, x_35); +lean_ctor_set(x_37, 2, x_36); +x_38 = lean_alloc_ctor(5, 4, 0); +lean_ctor_set(x_38, 0, x_2); +lean_ctor_set(x_38, 1, x_3); +lean_ctor_set(x_38, 2, x_4); +lean_ctor_set(x_38, 3, x_37); +x_39 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_39, 0, x_38); +lean_ctor_set(x_39, 1, x_33); +return x_39; +} +} +} +else +{ +uint8_t x_40; +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_8); +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) +{ +return x_16; +} +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_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; +} +} +} +else +{ +lean_object* x_44; +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_44 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_44, 0, x_7); +lean_ctor_set(x_44, 1, x_9); +return x_44; +} +} +} +lean_object* l___private_Init_Lean_Meta_20__inferProjType(lean_object* x_1, 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_inc(x_6); +lean_inc(x_5); +x_8 = lean_apply_3(x_2, x_5, x_6, x_7); +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_8, 0); +lean_inc(x_9); +x_10 = lean_ctor_get(x_8, 1); +lean_inc(x_10); +lean_dec(x_8); +lean_inc(x_1); +lean_inc(x_6); +x_11 = lean_apply_3(x_1, x_9, x_6, x_10); +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; lean_object* x_17; +x_13 = lean_ctor_get(x_11, 1); +x_14 = lean_ctor_get(x_11, 0); +x_15 = lean_ctor_get(x_13, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_13, 1); +lean_inc(x_16); +x_17 = l_Lean_Expr_getAppFn___main(x_14); +if (lean_obj_tag(x_17) == 4) +{ +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_15); +x_20 = lean_environment_find(x_15, x_18); +if (lean_obj_tag(x_20) == 0) +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; +lean_dec(x_19); +lean_dec(x_14); +lean_dec(x_1); +x_21 = lean_ctor_get(x_6, 1); +lean_inc(x_21); +lean_dec(x_6); +x_22 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_22, 0, x_15); +lean_ctor_set(x_22, 1, x_16); +lean_ctor_set(x_22, 2, x_21); +x_23 = lean_alloc_ctor(5, 4, 0); +lean_ctor_set(x_23, 0, x_3); +lean_ctor_set(x_23, 1, x_4); +lean_ctor_set(x_23, 2, x_5); +lean_ctor_set(x_23, 3, x_22); +lean_ctor_set_tag(x_11, 1); +lean_ctor_set(x_11, 0, x_23); +return x_11; +} +else +{ +lean_object* x_24; +x_24 = lean_ctor_get(x_20, 0); +lean_inc(x_24); +lean_dec(x_20); +if (lean_obj_tag(x_24) == 5) +{ +lean_object* x_25; lean_object* x_26; +x_25 = lean_ctor_get(x_24, 0); +lean_inc(x_25); +lean_dec(x_24); +x_26 = lean_ctor_get(x_25, 4); +lean_inc(x_26); +if (lean_obj_tag(x_26) == 0) +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +lean_dec(x_25); +lean_dec(x_19); +lean_dec(x_14); +lean_dec(x_1); +x_27 = lean_ctor_get(x_6, 1); +lean_inc(x_27); +lean_dec(x_6); +x_28 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_28, 0, x_15); +lean_ctor_set(x_28, 1, x_16); +lean_ctor_set(x_28, 2, x_27); +x_29 = lean_alloc_ctor(5, 4, 0); +lean_ctor_set(x_29, 0, x_3); +lean_ctor_set(x_29, 1, x_4); +lean_ctor_set(x_29, 2, x_5); +lean_ctor_set(x_29, 3, x_28); +lean_ctor_set_tag(x_11, 1); +lean_ctor_set(x_11, 0, x_29); +return x_11; +} +else +{ +lean_object* x_30; +x_30 = lean_ctor_get(x_26, 1); +lean_inc(x_30); +if (lean_obj_tag(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; uint8_t x_41; +x_31 = lean_ctor_get(x_25, 1); +lean_inc(x_31); +lean_dec(x_25); +x_32 = lean_ctor_get(x_26, 0); +lean_inc(x_32); +lean_dec(x_26); +x_33 = lean_unsigned_to_nat(0u); +x_34 = l_Lean_Expr_getAppNumArgsAux___main(x_14, x_33); +x_35 = l_Lean_Expr_inhabited___closed__1; +lean_inc(x_34); +x_36 = lean_mk_array(x_34, x_35); +x_37 = lean_unsigned_to_nat(1u); +x_38 = lean_nat_sub(x_34, x_37); +lean_dec(x_34); +x_39 = l___private_Init_Lean_Expr_2__getAppArgsAux___main(x_14, x_36, x_38); +x_40 = lean_array_get_size(x_39); +x_41 = lean_nat_dec_eq(x_31, x_40); +lean_dec(x_40); +lean_dec(x_31); +if (x_41 == 0) +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; +lean_dec(x_39); +lean_dec(x_32); +lean_dec(x_19); +lean_dec(x_1); +x_42 = lean_ctor_get(x_6, 1); +lean_inc(x_42); +lean_dec(x_6); +x_43 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_43, 0, x_15); +lean_ctor_set(x_43, 1, x_16); +lean_ctor_set(x_43, 2, x_42); +x_44 = lean_alloc_ctor(5, 4, 0); +lean_ctor_set(x_44, 0, x_3); +lean_ctor_set(x_44, 1, x_4); +lean_ctor_set(x_44, 2, x_5); +lean_ctor_set(x_44, 3, x_43); +lean_ctor_set_tag(x_11, 1); +lean_ctor_set(x_11, 0, x_44); +return x_11; +} +else +{ +lean_object* x_45; +lean_inc(x_15); +x_45 = lean_environment_find(x_15, x_32); +if (lean_obj_tag(x_45) == 0) +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; +lean_dec(x_39); +lean_dec(x_19); +lean_dec(x_1); +x_46 = lean_ctor_get(x_6, 1); +lean_inc(x_46); +lean_dec(x_6); +x_47 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_47, 0, x_15); +lean_ctor_set(x_47, 1, x_16); +lean_ctor_set(x_47, 2, x_46); +x_48 = lean_alloc_ctor(5, 4, 0); +lean_ctor_set(x_48, 0, x_3); +lean_ctor_set(x_48, 1, x_4); +lean_ctor_set(x_48, 2, x_5); +lean_ctor_set(x_48, 3, x_47); +lean_ctor_set_tag(x_11, 1); +lean_ctor_set(x_11, 0, x_48); +return x_11; +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; +lean_dec(x_16); +lean_dec(x_15); +lean_free_object(x_11); +x_49 = lean_ctor_get(x_45, 0); +lean_inc(x_49); +lean_dec(x_45); +x_50 = lean_instantiate_type_lparams(x_49, x_19); +lean_inc(x_6); +lean_inc(x_1); +x_51 = l___private_Init_Lean_Meta_17__getForallResultType(x_1, x_50, x_39, x_6, x_13); +if (lean_obj_tag(x_51) == 0) +{ +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); +lean_inc(x_6); +lean_inc(x_5); +lean_inc_n(x_4, 2); +lean_inc(x_3); +lean_inc(x_1); +x_54 = l_Nat_foldMAux___main___at___private_Init_Lean_Meta_20__inferProjType___spec__1(x_1, x_3, x_4, x_5, x_4, x_4, x_52, x_6, 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_6); +x_57 = lean_apply_3(x_1, x_55, x_6, x_56); +if (lean_obj_tag(x_57) == 0) +{ +lean_object* x_58; +x_58 = lean_ctor_get(x_57, 0); +lean_inc(x_58); +if (lean_obj_tag(x_58) == 7) +{ +uint8_t x_59; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_59 = !lean_is_exclusive(x_57); +if (x_59 == 0) +{ +lean_object* x_60; lean_object* x_61; +x_60 = lean_ctor_get(x_57, 0); +lean_dec(x_60); +x_61 = lean_ctor_get(x_58, 1); +lean_inc(x_61); +lean_dec(x_58); +lean_ctor_set(x_57, 0, x_61); +return x_57; +} +else +{ +lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_62 = lean_ctor_get(x_57, 1); +lean_inc(x_62); +lean_dec(x_57); +x_63 = lean_ctor_get(x_58, 1); +lean_inc(x_63); +lean_dec(x_58); +x_64 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_64, 0, x_63); +lean_ctor_set(x_64, 1, x_62); +return x_64; +} +} +else +{ +uint8_t x_65; +lean_dec(x_58); +x_65 = !lean_is_exclusive(x_57); +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_57, 1); +x_67 = lean_ctor_get(x_57, 0); +lean_dec(x_67); +x_68 = lean_ctor_get(x_66, 0); +lean_inc(x_68); +x_69 = lean_ctor_get(x_66, 1); +lean_inc(x_69); +x_70 = lean_ctor_get(x_6, 1); +lean_inc(x_70); +lean_dec(x_6); +x_71 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_71, 0, x_68); +lean_ctor_set(x_71, 1, x_69); +lean_ctor_set(x_71, 2, x_70); +x_72 = lean_alloc_ctor(5, 4, 0); +lean_ctor_set(x_72, 0, x_3); +lean_ctor_set(x_72, 1, x_4); +lean_ctor_set(x_72, 2, x_5); +lean_ctor_set(x_72, 3, x_71); +lean_ctor_set_tag(x_57, 1); +lean_ctor_set(x_57, 0, x_72); +return x_57; +} +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_57, 1); +lean_inc(x_73); +lean_dec(x_57); +x_74 = lean_ctor_get(x_73, 0); +lean_inc(x_74); +x_75 = lean_ctor_get(x_73, 1); +lean_inc(x_75); +x_76 = lean_ctor_get(x_6, 1); +lean_inc(x_76); +lean_dec(x_6); +x_77 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_77, 0, x_74); +lean_ctor_set(x_77, 1, x_75); +lean_ctor_set(x_77, 2, x_76); +x_78 = lean_alloc_ctor(5, 4, 0); +lean_ctor_set(x_78, 0, x_3); +lean_ctor_set(x_78, 1, x_4); +lean_ctor_set(x_78, 2, x_5); +lean_ctor_set(x_78, 3, x_77); +x_79 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_79, 0, x_78); +lean_ctor_set(x_79, 1, x_73); +return x_79; +} +} +} +else +{ +uint8_t x_80; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_80 = !lean_is_exclusive(x_57); +if (x_80 == 0) +{ +return x_57; +} +else +{ +lean_object* x_81; lean_object* x_82; lean_object* x_83; +x_81 = lean_ctor_get(x_57, 0); +x_82 = lean_ctor_get(x_57, 1); +lean_inc(x_82); +lean_inc(x_81); +lean_dec(x_57); +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 +{ +uint8_t x_84; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_84 = !lean_is_exclusive(x_54); +if (x_84 == 0) +{ +return x_54; +} +else +{ +lean_object* x_85; lean_object* x_86; lean_object* x_87; +x_85 = lean_ctor_get(x_54, 0); +x_86 = lean_ctor_get(x_54, 1); +lean_inc(x_86); +lean_inc(x_85); +lean_dec(x_54); +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; +} +} +} +else +{ +uint8_t x_88; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_88 = !lean_is_exclusive(x_51); +if (x_88 == 0) +{ +return x_51; +} +else +{ +lean_object* x_89; lean_object* x_90; lean_object* x_91; +x_89 = lean_ctor_get(x_51, 0); +x_90 = lean_ctor_get(x_51, 1); +lean_inc(x_90); +lean_inc(x_89); +lean_dec(x_51); +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; lean_object* x_94; +lean_dec(x_30); +lean_dec(x_26); +lean_dec(x_25); +lean_dec(x_19); +lean_dec(x_14); +lean_dec(x_1); +x_92 = lean_ctor_get(x_6, 1); +lean_inc(x_92); +lean_dec(x_6); +x_93 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_93, 0, x_15); +lean_ctor_set(x_93, 1, x_16); +lean_ctor_set(x_93, 2, x_92); +x_94 = lean_alloc_ctor(5, 4, 0); +lean_ctor_set(x_94, 0, x_3); +lean_ctor_set(x_94, 1, x_4); +lean_ctor_set(x_94, 2, x_5); +lean_ctor_set(x_94, 3, x_93); +lean_ctor_set_tag(x_11, 1); +lean_ctor_set(x_11, 0, x_94); +return x_11; +} +} +} +else +{ +lean_object* x_95; lean_object* x_96; lean_object* x_97; +lean_dec(x_24); +lean_dec(x_19); +lean_dec(x_14); +lean_dec(x_1); +x_95 = lean_ctor_get(x_6, 1); +lean_inc(x_95); +lean_dec(x_6); +x_96 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_96, 0, x_15); +lean_ctor_set(x_96, 1, x_16); +lean_ctor_set(x_96, 2, x_95); +x_97 = lean_alloc_ctor(5, 4, 0); +lean_ctor_set(x_97, 0, x_3); +lean_ctor_set(x_97, 1, x_4); +lean_ctor_set(x_97, 2, x_5); +lean_ctor_set(x_97, 3, x_96); +lean_ctor_set_tag(x_11, 1); +lean_ctor_set(x_11, 0, x_97); +return x_11; +} +} +} +else +{ +lean_object* x_98; lean_object* x_99; lean_object* x_100; +lean_dec(x_17); +lean_dec(x_14); +lean_dec(x_1); +x_98 = lean_ctor_get(x_6, 1); +lean_inc(x_98); +lean_dec(x_6); +x_99 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_99, 0, x_15); +lean_ctor_set(x_99, 1, x_16); +lean_ctor_set(x_99, 2, x_98); +x_100 = lean_alloc_ctor(5, 4, 0); +lean_ctor_set(x_100, 0, x_3); +lean_ctor_set(x_100, 1, x_4); +lean_ctor_set(x_100, 2, x_5); +lean_ctor_set(x_100, 3, x_99); +lean_ctor_set_tag(x_11, 1); +lean_ctor_set(x_11, 0, x_100); +return x_11; +} +} +else +{ +lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; +x_101 = lean_ctor_get(x_11, 1); +x_102 = lean_ctor_get(x_11, 0); +lean_inc(x_101); +lean_inc(x_102); +lean_dec(x_11); +x_103 = lean_ctor_get(x_101, 0); +lean_inc(x_103); +x_104 = lean_ctor_get(x_101, 1); +lean_inc(x_104); +x_105 = l_Lean_Expr_getAppFn___main(x_102); +if (lean_obj_tag(x_105) == 4) +{ +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_103); +x_108 = lean_environment_find(x_103, x_106); +if (lean_obj_tag(x_108) == 0) +{ +lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; +lean_dec(x_107); +lean_dec(x_102); +lean_dec(x_1); +x_109 = lean_ctor_get(x_6, 1); +lean_inc(x_109); +lean_dec(x_6); +x_110 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_110, 0, x_103); +lean_ctor_set(x_110, 1, x_104); +lean_ctor_set(x_110, 2, x_109); +x_111 = lean_alloc_ctor(5, 4, 0); +lean_ctor_set(x_111, 0, x_3); +lean_ctor_set(x_111, 1, x_4); +lean_ctor_set(x_111, 2, x_5); +lean_ctor_set(x_111, 3, x_110); +x_112 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_112, 0, x_111); +lean_ctor_set(x_112, 1, x_101); +return x_112; +} +else +{ +lean_object* x_113; +x_113 = lean_ctor_get(x_108, 0); +lean_inc(x_113); +lean_dec(x_108); +if (lean_obj_tag(x_113) == 5) +{ +lean_object* x_114; lean_object* x_115; +x_114 = lean_ctor_get(x_113, 0); +lean_inc(x_114); +lean_dec(x_113); +x_115 = lean_ctor_get(x_114, 4); +lean_inc(x_115); +if (lean_obj_tag(x_115) == 0) +{ +lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; +lean_dec(x_114); +lean_dec(x_107); +lean_dec(x_102); +lean_dec(x_1); +x_116 = lean_ctor_get(x_6, 1); +lean_inc(x_116); +lean_dec(x_6); +x_117 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_117, 0, x_103); +lean_ctor_set(x_117, 1, x_104); +lean_ctor_set(x_117, 2, x_116); +x_118 = lean_alloc_ctor(5, 4, 0); +lean_ctor_set(x_118, 0, x_3); +lean_ctor_set(x_118, 1, x_4); +lean_ctor_set(x_118, 2, x_5); +lean_ctor_set(x_118, 3, x_117); +x_119 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_119, 0, x_118); +lean_ctor_set(x_119, 1, x_101); +return x_119; +} +else +{ +lean_object* x_120; +x_120 = lean_ctor_get(x_115, 1); +lean_inc(x_120); +if (lean_obj_tag(x_120) == 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; uint8_t x_131; +x_121 = lean_ctor_get(x_114, 1); +lean_inc(x_121); +lean_dec(x_114); +x_122 = lean_ctor_get(x_115, 0); +lean_inc(x_122); +lean_dec(x_115); +x_123 = lean_unsigned_to_nat(0u); +x_124 = l_Lean_Expr_getAppNumArgsAux___main(x_102, x_123); +x_125 = l_Lean_Expr_inhabited___closed__1; +lean_inc(x_124); +x_126 = lean_mk_array(x_124, x_125); +x_127 = lean_unsigned_to_nat(1u); +x_128 = lean_nat_sub(x_124, x_127); +lean_dec(x_124); +x_129 = l___private_Init_Lean_Expr_2__getAppArgsAux___main(x_102, x_126, x_128); +x_130 = lean_array_get_size(x_129); +x_131 = lean_nat_dec_eq(x_121, x_130); +lean_dec(x_130); +lean_dec(x_121); +if (x_131 == 0) +{ +lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; +lean_dec(x_129); +lean_dec(x_122); +lean_dec(x_107); +lean_dec(x_1); +x_132 = lean_ctor_get(x_6, 1); +lean_inc(x_132); +lean_dec(x_6); +x_133 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_133, 0, x_103); +lean_ctor_set(x_133, 1, x_104); +lean_ctor_set(x_133, 2, x_132); +x_134 = lean_alloc_ctor(5, 4, 0); +lean_ctor_set(x_134, 0, x_3); +lean_ctor_set(x_134, 1, x_4); +lean_ctor_set(x_134, 2, x_5); +lean_ctor_set(x_134, 3, x_133); +x_135 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_135, 0, x_134); +lean_ctor_set(x_135, 1, x_101); +return x_135; +} +else +{ +lean_object* x_136; +lean_inc(x_103); +x_136 = lean_environment_find(x_103, x_122); +if (lean_obj_tag(x_136) == 0) +{ +lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; +lean_dec(x_129); +lean_dec(x_107); +lean_dec(x_1); +x_137 = lean_ctor_get(x_6, 1); +lean_inc(x_137); +lean_dec(x_6); +x_138 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_138, 0, x_103); +lean_ctor_set(x_138, 1, x_104); +lean_ctor_set(x_138, 2, x_137); +x_139 = lean_alloc_ctor(5, 4, 0); +lean_ctor_set(x_139, 0, x_3); +lean_ctor_set(x_139, 1, x_4); +lean_ctor_set(x_139, 2, x_5); +lean_ctor_set(x_139, 3, x_138); +x_140 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_140, 0, x_139); +lean_ctor_set(x_140, 1, x_101); +return x_140; +} +else +{ +lean_object* x_141; lean_object* x_142; lean_object* x_143; +lean_dec(x_104); +lean_dec(x_103); +x_141 = lean_ctor_get(x_136, 0); +lean_inc(x_141); +lean_dec(x_136); +x_142 = lean_instantiate_type_lparams(x_141, x_107); +lean_inc(x_6); +lean_inc(x_1); +x_143 = l___private_Init_Lean_Meta_17__getForallResultType(x_1, x_142, x_129, x_6, x_101); +if (lean_obj_tag(x_143) == 0) +{ +lean_object* x_144; lean_object* x_145; lean_object* x_146; +x_144 = lean_ctor_get(x_143, 0); +lean_inc(x_144); +x_145 = lean_ctor_get(x_143, 1); +lean_inc(x_145); +lean_dec(x_143); +lean_inc(x_6); +lean_inc(x_5); +lean_inc_n(x_4, 2); +lean_inc(x_3); +lean_inc(x_1); +x_146 = l_Nat_foldMAux___main___at___private_Init_Lean_Meta_20__inferProjType___spec__1(x_1, x_3, x_4, x_5, x_4, x_4, x_144, x_6, x_145); +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, 0); +lean_inc(x_147); +x_148 = lean_ctor_get(x_146, 1); +lean_inc(x_148); +lean_dec(x_146); +lean_inc(x_6); +x_149 = lean_apply_3(x_1, x_147, x_6, x_148); +if (lean_obj_tag(x_149) == 0) +{ +lean_object* x_150; +x_150 = lean_ctor_get(x_149, 0); +lean_inc(x_150); +if (lean_obj_tag(x_150) == 7) +{ +lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +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_ctor_get(x_150, 1); +lean_inc(x_153); +lean_dec(x_150); +if (lean_is_scalar(x_152)) { + x_154 = lean_alloc_ctor(0, 2, 0); +} else { + x_154 = x_152; +} +lean_ctor_set(x_154, 0, x_153); +lean_ctor_set(x_154, 1, x_151); +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_dec(x_150); +x_155 = lean_ctor_get(x_149, 1); +lean_inc(x_155); +if (lean_is_exclusive(x_149)) { + lean_ctor_release(x_149, 0); + lean_ctor_release(x_149, 1); + x_156 = x_149; +} else { + lean_dec_ref(x_149); + x_156 = lean_box(0); +} +x_157 = lean_ctor_get(x_155, 0); +lean_inc(x_157); +x_158 = lean_ctor_get(x_155, 1); +lean_inc(x_158); +x_159 = lean_ctor_get(x_6, 1); +lean_inc(x_159); +lean_dec(x_6); +x_160 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_160, 0, x_157); +lean_ctor_set(x_160, 1, x_158); +lean_ctor_set(x_160, 2, x_159); +x_161 = lean_alloc_ctor(5, 4, 0); +lean_ctor_set(x_161, 0, x_3); +lean_ctor_set(x_161, 1, x_4); +lean_ctor_set(x_161, 2, x_5); +lean_ctor_set(x_161, 3, x_160); +if (lean_is_scalar(x_156)) { + x_162 = lean_alloc_ctor(1, 2, 0); +} else { + x_162 = x_156; + lean_ctor_set_tag(x_162, 1); +} +lean_ctor_set(x_162, 0, x_161); +lean_ctor_set(x_162, 1, x_155); +return x_162; +} +} +else +{ +lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_163 = lean_ctor_get(x_149, 0); +lean_inc(x_163); +x_164 = lean_ctor_get(x_149, 1); +lean_inc(x_164); +if (lean_is_exclusive(x_149)) { + lean_ctor_release(x_149, 0); + lean_ctor_release(x_149, 1); + x_165 = x_149; +} else { + lean_dec_ref(x_149); + x_165 = lean_box(0); +} +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_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_167 = lean_ctor_get(x_146, 0); +lean_inc(x_167); +x_168 = lean_ctor_get(x_146, 1); +lean_inc(x_168); +if (lean_is_exclusive(x_146)) { + lean_ctor_release(x_146, 0); + lean_ctor_release(x_146, 1); + x_169 = x_146; +} else { + lean_dec_ref(x_146); + x_169 = lean_box(0); +} +if (lean_is_scalar(x_169)) { + x_170 = lean_alloc_ctor(1, 2, 0); +} else { + x_170 = x_169; +} +lean_ctor_set(x_170, 0, x_167); +lean_ctor_set(x_170, 1, x_168); +return x_170; +} +} +else +{ +lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_171 = lean_ctor_get(x_143, 0); +lean_inc(x_171); +x_172 = lean_ctor_get(x_143, 1); +lean_inc(x_172); +if (lean_is_exclusive(x_143)) { + lean_ctor_release(x_143, 0); + lean_ctor_release(x_143, 1); + x_173 = x_143; +} else { + lean_dec_ref(x_143); + x_173 = lean_box(0); +} +if (lean_is_scalar(x_173)) { + x_174 = lean_alloc_ctor(1, 2, 0); +} else { + x_174 = x_173; +} +lean_ctor_set(x_174, 0, x_171); +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_120); +lean_dec(x_115); +lean_dec(x_114); +lean_dec(x_107); +lean_dec(x_102); +lean_dec(x_1); +x_175 = lean_ctor_get(x_6, 1); +lean_inc(x_175); +lean_dec(x_6); +x_176 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_176, 0, x_103); +lean_ctor_set(x_176, 1, x_104); +lean_ctor_set(x_176, 2, x_175); +x_177 = lean_alloc_ctor(5, 4, 0); +lean_ctor_set(x_177, 0, x_3); +lean_ctor_set(x_177, 1, x_4); +lean_ctor_set(x_177, 2, x_5); +lean_ctor_set(x_177, 3, x_176); +x_178 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_178, 0, x_177); +lean_ctor_set(x_178, 1, x_101); +return x_178; +} +} +} +else +{ +lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; +lean_dec(x_113); +lean_dec(x_107); +lean_dec(x_102); +lean_dec(x_1); +x_179 = lean_ctor_get(x_6, 1); +lean_inc(x_179); +lean_dec(x_6); +x_180 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_180, 0, x_103); +lean_ctor_set(x_180, 1, x_104); +lean_ctor_set(x_180, 2, x_179); +x_181 = lean_alloc_ctor(5, 4, 0); +lean_ctor_set(x_181, 0, x_3); +lean_ctor_set(x_181, 1, x_4); +lean_ctor_set(x_181, 2, x_5); +lean_ctor_set(x_181, 3, x_180); +x_182 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_182, 0, x_181); +lean_ctor_set(x_182, 1, x_101); +return x_182; +} +} +} +else +{ +lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; +lean_dec(x_105); +lean_dec(x_102); +lean_dec(x_1); +x_183 = lean_ctor_get(x_6, 1); +lean_inc(x_183); +lean_dec(x_6); +x_184 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_184, 0, x_103); +lean_ctor_set(x_184, 1, x_104); +lean_ctor_set(x_184, 2, x_183); +x_185 = lean_alloc_ctor(5, 4, 0); +lean_ctor_set(x_185, 0, x_3); +lean_ctor_set(x_185, 1, x_4); +lean_ctor_set(x_185, 2, x_5); +lean_ctor_set(x_185, 3, x_184); +x_186 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_186, 0, x_185); +lean_ctor_set(x_186, 1, x_101); +return x_186; +} +} +} +else +{ +uint8_t x_187; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_187 = !lean_is_exclusive(x_11); +if (x_187 == 0) +{ +return x_11; +} +else +{ +lean_object* x_188; lean_object* x_189; lean_object* x_190; +x_188 = lean_ctor_get(x_11, 0); +x_189 = lean_ctor_get(x_11, 1); +lean_inc(x_189); +lean_inc(x_188); +lean_dec(x_11); +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 +{ +uint8_t x_191; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_191 = !lean_is_exclusive(x_8); +if (x_191 == 0) +{ +return x_8; +} +else +{ +lean_object* x_192; lean_object* x_193; lean_object* x_194; +x_192 = lean_ctor_get(x_8, 0); +x_193 = lean_ctor_get(x_8, 1); +lean_inc(x_193); +lean_inc(x_192); +lean_dec(x_8); +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* l_Nat_foldMAux___main___at___private_Init_Lean_Meta_20__inferProjType___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: +{ +lean_object* x_10; +x_10 = l_Nat_foldMAux___main___at___private_Init_Lean_Meta_20__inferProjType___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_5); +return x_10; +} +} +lean_object* l___private_Init_Lean_Meta_21__inferMVarType(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; +x_4 = lean_ctor_get(x_3, 0); +lean_inc(x_4); +x_5 = lean_ctor_get(x_3, 1); +lean_inc(x_5); +lean_inc(x_1); +lean_inc(x_5); +x_6 = lean_metavar_ctx_find_decl(x_5, x_1); +if (lean_obj_tag(x_6) == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_7 = lean_ctor_get(x_2, 1); +lean_inc(x_7); +x_8 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_8, 0, x_4); +lean_ctor_set(x_8, 1, x_5); +lean_ctor_set(x_8, 2, x_7); +x_9 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_9, 0, x_1); +lean_ctor_set(x_9, 1, x_8); +x_10 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_10, 0, x_9); +lean_ctor_set(x_10, 1, x_3); +return x_10; +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +x_11 = lean_ctor_get(x_6, 0); +lean_inc(x_11); +lean_dec(x_6); +x_12 = lean_ctor_get(x_11, 2); +lean_inc(x_12); +lean_dec(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_3); +return x_13; +} +} +} +lean_object* l___private_Init_Lean_Meta_21__inferMVarType___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l___private_Init_Lean_Meta_21__inferMVarType(x_1, x_2, x_3); +lean_dec(x_2); +return x_4; +} +} +lean_object* l___private_Init_Lean_Meta_22__inferFVarType(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_2, 1); +lean_inc(x_4); +lean_dec(x_2); +lean_inc(x_1); +lean_inc(x_4); +x_5 = lean_local_ctx_find(x_4, x_1); +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; +x_6 = lean_ctor_get(x_3, 0); +lean_inc(x_6); +x_7 = lean_ctor_get(x_3, 1); +lean_inc(x_7); +x_8 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_8, 0, x_6); +lean_ctor_set(x_8, 1, x_7); +lean_ctor_set(x_8, 2, x_4); +x_9 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_9, 0, x_1); +lean_ctor_set(x_9, 1, x_8); +x_10 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_10, 0, x_9); +lean_ctor_set(x_10, 1, x_3); +return x_10; +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; +lean_dec(x_4); +lean_dec(x_1); +x_11 = lean_ctor_get(x_5, 0); +lean_inc(x_11); +lean_dec(x_5); +x_12 = l_Lean_LocalDecl_type(x_11); +lean_dec(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_3); +return x_13; +} +} +} +lean_object* l_PersistentHashMap_findAtAux___main___at___private_Init_Lean_Meta_23__checkInferTypeCache___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; uint8_t x_7; +x_6 = lean_array_get_size(x_1); +x_7 = lean_nat_dec_lt(x_4, x_6); +lean_dec(x_6); +if (x_7 == 0) +{ +lean_object* x_8; +lean_dec(x_4); +x_8 = lean_box(0); +return x_8; +} +else +{ +lean_object* x_9; uint8_t x_10; +x_9 = lean_array_fget(x_1, x_4); +x_10 = lean_expr_eqv(x_5, x_9); +lean_dec(x_9); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_unsigned_to_nat(1u); +x_12 = lean_nat_add(x_4, x_11); +lean_dec(x_4); +x_3 = lean_box(0); +x_4 = x_12; +goto _start; +} +else +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_array_fget(x_2, x_4); +lean_dec(x_4); +x_15 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_15, 0, x_14); +return x_15; +} +} +} +} +lean_object* l_PersistentHashMap_findAux___main___at___private_Init_Lean_Meta_23__checkInferTypeCache___spec__2(lean_object* x_1, size_t x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; size_t x_5; size_t x_6; size_t x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_4 = lean_ctor_get(x_1, 0); +x_5 = 5; +x_6 = l_PersistentHashMap_insertAux___main___rarg___closed__2; +x_7 = x_2 & x_6; +x_8 = lean_usize_to_nat(x_7); +x_9 = lean_box(2); +x_10 = lean_array_get(x_9, x_4, x_8); +lean_dec(x_8); +switch (lean_obj_tag(x_10)) { +case 0: +{ +lean_object* x_11; lean_object* x_12; uint8_t 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_expr_eqv(x_3, x_11); +lean_dec(x_11); +if (x_13 == 0) +{ +lean_object* x_14; +lean_dec(x_12); +x_14 = lean_box(0); +return x_14; +} +else +{ +lean_object* x_15; +x_15 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_15, 0, x_12); +return x_15; +} +} +case 1: +{ +lean_object* x_16; size_t x_17; lean_object* x_18; +x_16 = lean_ctor_get(x_10, 0); +lean_inc(x_16); +lean_dec(x_10); +x_17 = x_2 >> x_5; +x_18 = l_PersistentHashMap_findAux___main___at___private_Init_Lean_Meta_23__checkInferTypeCache___spec__2(x_16, x_17, x_3); +lean_dec(x_16); +return x_18; +} +default: +{ +lean_object* x_19; +x_19 = lean_box(0); +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_1, 0); +x_21 = lean_ctor_get(x_1, 1); +x_22 = lean_unsigned_to_nat(0u); +x_23 = l_PersistentHashMap_findAtAux___main___at___private_Init_Lean_Meta_23__checkInferTypeCache___spec__3(x_20, x_21, lean_box(0), x_22, x_3); +return x_23; +} +} +} +lean_object* l_PersistentHashMap_find___at___private_Init_Lean_Meta_23__checkInferTypeCache___spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; size_t x_4; lean_object* x_5; +x_3 = lean_ctor_get(x_1, 0); +x_4 = lean_expr_hash(x_2); +x_5 = l_PersistentHashMap_findAux___main___at___private_Init_Lean_Meta_23__checkInferTypeCache___spec__2(x_3, x_4, x_2); +return x_5; +} +} +lean_object* l_PersistentHashMap_insertAtCollisionNodeAux___main___at___private_Init_Lean_Meta_23__checkInferTypeCache___spec__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; uint8_t x_8; +x_5 = lean_ctor_get(x_1, 0); +lean_inc(x_5); +x_6 = lean_ctor_get(x_1, 1); +lean_inc(x_6); +x_7 = lean_array_get_size(x_5); +x_8 = lean_nat_dec_lt(x_2, x_7); +lean_dec(x_7); +if (x_8 == 0) +{ +uint8_t x_9; +lean_dec(x_2); +x_9 = !lean_is_exclusive(x_1); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_10 = lean_ctor_get(x_1, 1); +lean_dec(x_10); +x_11 = lean_ctor_get(x_1, 0); +lean_dec(x_11); +x_12 = lean_array_push(x_5, x_3); +x_13 = lean_array_push(x_6, x_4); +lean_ctor_set(x_1, 1, x_13); +lean_ctor_set(x_1, 0, x_12); +return x_1; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +lean_dec(x_1); +x_14 = lean_array_push(x_5, x_3); +x_15 = lean_array_push(x_6, x_4); +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; +} +} +else +{ +lean_object* x_17; uint8_t x_18; +x_17 = lean_array_fget(x_5, x_2); +x_18 = lean_expr_eqv(x_3, x_17); +lean_dec(x_17); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; +lean_dec(x_6); +lean_dec(x_5); +x_19 = lean_unsigned_to_nat(1u); +x_20 = lean_nat_add(x_2, x_19); +lean_dec(x_2); +x_2 = x_20; +goto _start; +} +else +{ +uint8_t x_22; +x_22 = !lean_is_exclusive(x_1); +if (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_1, 1); +lean_dec(x_23); +x_24 = lean_ctor_get(x_1, 0); +lean_dec(x_24); +x_25 = lean_array_fset(x_5, x_2, x_3); +x_26 = lean_array_fset(x_6, x_2, x_4); +lean_dec(x_2); +lean_ctor_set(x_1, 1, x_26); +lean_ctor_set(x_1, 0, x_25); +return x_1; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +lean_dec(x_1); +x_27 = lean_array_fset(x_5, x_2, x_3); +x_28 = lean_array_fset(x_6, x_2, x_4); +lean_dec(x_2); +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* l_Array_iterateMAux___main___at___private_Init_Lean_Meta_23__checkInferTypeCache___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; +x_7 = lean_array_get_size(x_4); +x_8 = lean_nat_dec_lt(x_5, x_7); +lean_dec(x_7); +if (x_8 == 0) +{ +lean_dec(x_5); +return x_6; +} +else +{ +lean_object* x_9; lean_object* x_10; size_t x_11; size_t x_12; size_t x_13; size_t x_14; size_t x_15; size_t x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_9 = lean_array_fget(x_4, x_5); +x_10 = lean_array_fget(x_3, x_5); +x_11 = lean_expr_hash(x_9); +x_12 = 1; +x_13 = x_1 - x_12; +x_14 = 5; +x_15 = x_14 * x_13; +x_16 = x_11 >> x_15; +x_17 = l_PersistentHashMap_insertAux___main___at___private_Init_Lean_Meta_23__checkInferTypeCache___spec__5(x_6, x_16, x_1, x_9, x_10); +x_18 = lean_unsigned_to_nat(1u); +x_19 = lean_nat_add(x_5, x_18); +lean_dec(x_5); +x_5 = x_19; +x_6 = x_17; +goto _start; +} +} +} +lean_object* l_PersistentHashMap_insertAux___main___at___private_Init_Lean_Meta_23__checkInferTypeCache___spec__5(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) +{ +uint8_t x_6; +x_6 = !lean_is_exclusive(x_1); +if (x_6 == 0) +{ +lean_object* x_7; size_t x_8; size_t x_9; size_t x_10; size_t x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_7 = lean_ctor_get(x_1, 0); +x_8 = 1; +x_9 = 5; +x_10 = l_PersistentHashMap_insertAux___main___rarg___closed__2; +x_11 = x_2 & x_10; +x_12 = lean_usize_to_nat(x_11); +x_13 = lean_array_get_size(x_7); +x_14 = lean_nat_dec_lt(x_12, x_13); +lean_dec(x_13); +if (x_14 == 0) +{ +lean_dec(x_12); +lean_dec(x_5); +lean_dec(x_4); +return x_1; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_array_fget(x_7, x_12); +x_16 = lean_box(2); +x_17 = lean_array_fset(x_7, x_12, x_16); +switch (lean_obj_tag(x_15)) { +case 0: +{ +uint8_t x_18; +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, 0); +x_20 = lean_ctor_get(x_15, 1); +x_21 = lean_expr_eqv(x_4, x_19); +if (x_21 == 0) +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +lean_free_object(x_15); +x_22 = l_PersistentHashMap_mkCollisionNode___rarg(x_19, x_20, x_4, x_5); +x_23 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_23, 0, x_22); +x_24 = lean_array_fset(x_17, x_12, x_23); +lean_dec(x_12); +lean_ctor_set(x_1, 0, x_24); +return x_1; +} +else +{ +lean_object* x_25; +lean_dec(x_20); +lean_dec(x_19); +lean_ctor_set(x_15, 1, x_5); +lean_ctor_set(x_15, 0, x_4); +x_25 = lean_array_fset(x_17, x_12, x_15); +lean_dec(x_12); +lean_ctor_set(x_1, 0, x_25); +return x_1; +} +} +else +{ +lean_object* x_26; lean_object* x_27; uint8_t 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_expr_eqv(x_4, x_26); +if (x_28 == 0) +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = l_PersistentHashMap_mkCollisionNode___rarg(x_26, x_27, x_4, x_5); +x_30 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_30, 0, x_29); +x_31 = lean_array_fset(x_17, x_12, x_30); +lean_dec(x_12); +lean_ctor_set(x_1, 0, x_31); +return x_1; +} +else +{ +lean_object* x_32; lean_object* x_33; +lean_dec(x_27); +lean_dec(x_26); +x_32 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_32, 0, x_4); +lean_ctor_set(x_32, 1, x_5); +x_33 = lean_array_fset(x_17, x_12, x_32); +lean_dec(x_12); +lean_ctor_set(x_1, 0, x_33); +return x_1; +} +} +} +case 1: +{ +uint8_t x_34; +x_34 = !lean_is_exclusive(x_15); +if (x_34 == 0) +{ +lean_object* x_35; size_t x_36; size_t x_37; lean_object* x_38; lean_object* x_39; +x_35 = lean_ctor_get(x_15, 0); +x_36 = x_2 >> x_9; +x_37 = x_3 + x_8; +x_38 = l_PersistentHashMap_insertAux___main___at___private_Init_Lean_Meta_23__checkInferTypeCache___spec__5(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); +lean_ctor_set(x_1, 0, x_39); +return x_1; +} +else +{ +lean_object* x_40; size_t x_41; size_t x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_40 = lean_ctor_get(x_15, 0); +lean_inc(x_40); +lean_dec(x_15); +x_41 = x_2 >> x_9; +x_42 = x_3 + x_8; +x_43 = l_PersistentHashMap_insertAux___main___at___private_Init_Lean_Meta_23__checkInferTypeCache___spec__5(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); +lean_dec(x_12); +lean_ctor_set(x_1, 0, x_45); +return x_1; +} +} +default: +{ +lean_object* x_46; lean_object* x_47; +x_46 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_46, 0, x_4); +lean_ctor_set(x_46, 1, x_5); +x_47 = lean_array_fset(x_17, x_12, x_46); +lean_dec(x_12); +lean_ctor_set(x_1, 0, x_47); +return x_1; +} +} +} +} +else +{ +lean_object* x_48; size_t x_49; size_t x_50; size_t x_51; size_t x_52; lean_object* x_53; lean_object* x_54; uint8_t x_55; +x_48 = lean_ctor_get(x_1, 0); +lean_inc(x_48); +lean_dec(x_1); +x_49 = 1; +x_50 = 5; +x_51 = l_PersistentHashMap_insertAux___main___rarg___closed__2; +x_52 = x_2 & x_51; +x_53 = lean_usize_to_nat(x_52); +x_54 = lean_array_get_size(x_48); +x_55 = lean_nat_dec_lt(x_53, x_54); +lean_dec(x_54); +if (x_55 == 0) +{ +lean_object* x_56; +lean_dec(x_53); +lean_dec(x_5); +lean_dec(x_4); +x_56 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_56, 0, x_48); +return x_56; +} +else +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_57 = lean_array_fget(x_48, x_53); +x_58 = lean_box(2); +x_59 = lean_array_fset(x_48, x_53, x_58); +switch (lean_obj_tag(x_57)) { +case 0: +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; uint8_t x_63; +x_60 = lean_ctor_get(x_57, 0); +lean_inc(x_60); +x_61 = lean_ctor_get(x_57, 1); +lean_inc(x_61); +if (lean_is_exclusive(x_57)) { + lean_ctor_release(x_57, 0); + lean_ctor_release(x_57, 1); + x_62 = x_57; +} else { + lean_dec_ref(x_57); + x_62 = lean_box(0); +} +x_63 = lean_expr_eqv(x_4, x_60); +if (x_63 == 0) +{ +lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; +lean_dec(x_62); +x_64 = l_PersistentHashMap_mkCollisionNode___rarg(x_60, x_61, x_4, x_5); +x_65 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_65, 0, x_64); +x_66 = lean_array_fset(x_59, x_53, x_65); +lean_dec(x_53); +x_67 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_67, 0, x_66); +return x_67; +} +else +{ +lean_object* x_68; lean_object* x_69; lean_object* x_70; +lean_dec(x_61); +lean_dec(x_60); +if (lean_is_scalar(x_62)) { + x_68 = lean_alloc_ctor(0, 2, 0); +} else { + x_68 = x_62; +} +lean_ctor_set(x_68, 0, x_4); +lean_ctor_set(x_68, 1, x_5); +x_69 = lean_array_fset(x_59, x_53, x_68); +lean_dec(x_53); +x_70 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_70, 0, x_69); +return x_70; +} +} +case 1: +{ +lean_object* x_71; lean_object* x_72; size_t x_73; size_t x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; +x_71 = lean_ctor_get(x_57, 0); +lean_inc(x_71); +if (lean_is_exclusive(x_57)) { + lean_ctor_release(x_57, 0); + x_72 = x_57; +} else { + lean_dec_ref(x_57); + x_72 = lean_box(0); +} +x_73 = x_2 >> x_50; +x_74 = x_3 + x_49; +x_75 = l_PersistentHashMap_insertAux___main___at___private_Init_Lean_Meta_23__checkInferTypeCache___spec__5(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 { + x_76 = x_72; +} +lean_ctor_set(x_76, 0, x_75); +x_77 = lean_array_fset(x_59, x_53, x_76); +lean_dec(x_53); +x_78 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_78, 0, x_77); +return x_78; +} +default: +{ +lean_object* x_79; lean_object* x_80; lean_object* x_81; +x_79 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_79, 0, x_4); +lean_ctor_set(x_79, 1, x_5); +x_80 = lean_array_fset(x_59, x_53, x_79); +lean_dec(x_53); +x_81 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_81, 0, x_80); +return x_81; +} +} +} +} +} +else +{ +lean_object* x_82; lean_object* x_83; size_t x_84; uint8_t x_85; +x_82 = lean_unsigned_to_nat(0u); +x_83 = l_PersistentHashMap_insertAtCollisionNodeAux___main___at___private_Init_Lean_Meta_23__checkInferTypeCache___spec__6(x_1, x_82, x_4, x_5); +x_84 = 7; +x_85 = x_84 <= x_3; +if (x_85 == 0) +{ +lean_object* x_86; lean_object* x_87; uint8_t x_88; +x_86 = l_PersistentHashMap_getCollisionNodeSize___rarg(x_83); +x_87 = lean_unsigned_to_nat(4u); +x_88 = lean_nat_dec_lt(x_86, x_87); +lean_dec(x_86); +if (x_88 == 0) +{ +lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; +x_89 = lean_ctor_get(x_83, 0); +lean_inc(x_89); +x_90 = lean_ctor_get(x_83, 1); +lean_inc(x_90); +lean_dec(x_83); +x_91 = l_PersistentHashMap_insertAux___main___rarg___closed__3; +x_92 = l_Array_iterateMAux___main___at___private_Init_Lean_Meta_23__checkInferTypeCache___spec__7(x_3, x_89, x_90, x_89, x_82, x_91); +lean_dec(x_90); +lean_dec(x_89); +return x_92; +} +else +{ +return x_83; +} +} +else +{ +return x_83; +} +} +} +} +lean_object* l_PersistentHashMap_insert___at___private_Init_Lean_Meta_23__checkInferTypeCache___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_1); +if (x_4 == 0) +{ +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; +x_5 = lean_ctor_get(x_1, 0); +x_6 = lean_ctor_get(x_1, 1); +x_7 = lean_expr_hash(x_2); +x_8 = 1; +x_9 = l_PersistentHashMap_insertAux___main___at___private_Init_Lean_Meta_23__checkInferTypeCache___spec__5(x_5, x_7, x_8, x_2, x_3); +x_10 = lean_unsigned_to_nat(1u); +x_11 = lean_nat_add(x_6, x_10); +lean_dec(x_6); +lean_ctor_set(x_1, 1, x_11); +lean_ctor_set(x_1, 0, x_9); +return x_1; +} +else +{ +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; +x_12 = lean_ctor_get(x_1, 0); +x_13 = lean_ctor_get(x_1, 1); +lean_inc(x_13); +lean_inc(x_12); +lean_dec(x_1); +x_14 = lean_expr_hash(x_2); +x_15 = 1; +x_16 = l_PersistentHashMap_insertAux___main___at___private_Init_Lean_Meta_23__checkInferTypeCache___spec__5(x_12, x_14, x_15, x_2, x_3); +x_17 = lean_unsigned_to_nat(1u); +x_18 = lean_nat_add(x_13, x_17); +lean_dec(x_13); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_16); +lean_ctor_set(x_19, 1, x_18); +return x_19; +} +} +} +lean_object* l___private_Init_Lean_Meta_23__checkInferTypeCache(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; +x_5 = lean_ctor_get(x_4, 2); +lean_inc(x_5); +x_6 = lean_ctor_get(x_5, 1); +lean_inc(x_6); +lean_dec(x_5); +x_7 = l_PersistentHashMap_find___at___private_Init_Lean_Meta_23__checkInferTypeCache___spec__1(x_6, x_1); +lean_dec(x_6); +if (lean_obj_tag(x_7) == 0) +{ +lean_object* x_8; +x_8 = lean_apply_2(x_2, x_3, x_4); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_9 = lean_ctor_get(x_8, 1); +lean_inc(x_9); +x_10 = lean_ctor_get(x_9, 2); +lean_inc(x_10); +x_11 = !lean_is_exclusive(x_8); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_12 = lean_ctor_get(x_8, 0); +x_13 = lean_ctor_get(x_8, 1); +lean_dec(x_13); +x_14 = !lean_is_exclusive(x_9); +if (x_14 == 0) +{ +lean_object* x_15; uint8_t x_16; +x_15 = lean_ctor_get(x_9, 2); +lean_dec(x_15); +x_16 = !lean_is_exclusive(x_10); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_ctor_get(x_10, 1); +lean_inc(x_12); +x_18 = l_PersistentHashMap_insert___at___private_Init_Lean_Meta_23__checkInferTypeCache___spec__4(x_17, x_1, x_12); +lean_ctor_set(x_10, 1, x_18); +return x_8; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_19 = lean_ctor_get(x_10, 0); +x_20 = lean_ctor_get(x_10, 1); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_10); +lean_inc(x_12); +x_21 = l_PersistentHashMap_insert___at___private_Init_Lean_Meta_23__checkInferTypeCache___spec__4(x_20, x_1, x_12); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_19); +lean_ctor_set(x_22, 1, x_21); +lean_ctor_set(x_9, 2, x_22); +return x_8; +} +} +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; lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_23 = lean_ctor_get(x_9, 0); +x_24 = lean_ctor_get(x_9, 1); +x_25 = lean_ctor_get(x_9, 3); +x_26 = lean_ctor_get(x_9, 4); +x_27 = lean_ctor_get(x_9, 5); +lean_inc(x_27); +lean_inc(x_26); +lean_inc(x_25); +lean_inc(x_24); +lean_inc(x_23); +lean_dec(x_9); +x_28 = lean_ctor_get(x_10, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_10, 1); +lean_inc(x_29); +if (lean_is_exclusive(x_10)) { + lean_ctor_release(x_10, 0); + lean_ctor_release(x_10, 1); + x_30 = x_10; +} else { + lean_dec_ref(x_10); + x_30 = lean_box(0); +} +lean_inc(x_12); +x_31 = l_PersistentHashMap_insert___at___private_Init_Lean_Meta_23__checkInferTypeCache___spec__4(x_29, x_1, x_12); +if (lean_is_scalar(x_30)) { + x_32 = lean_alloc_ctor(0, 2, 0); +} else { + x_32 = x_30; +} +lean_ctor_set(x_32, 0, x_28); +lean_ctor_set(x_32, 1, x_31); +x_33 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_33, 0, x_23); +lean_ctor_set(x_33, 1, x_24); +lean_ctor_set(x_33, 2, x_32); +lean_ctor_set(x_33, 3, x_25); +lean_ctor_set(x_33, 4, x_26); +lean_ctor_set(x_33, 5, x_27); +lean_ctor_set(x_8, 1, x_33); +return x_8; +} +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_34 = lean_ctor_get(x_8, 0); +lean_inc(x_34); +lean_dec(x_8); +x_35 = lean_ctor_get(x_9, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_9, 1); +lean_inc(x_36); +x_37 = lean_ctor_get(x_9, 3); +lean_inc(x_37); +x_38 = lean_ctor_get(x_9, 4); +lean_inc(x_38); +x_39 = lean_ctor_get(x_9, 5); +lean_inc(x_39); +if (lean_is_exclusive(x_9)) { + lean_ctor_release(x_9, 0); + lean_ctor_release(x_9, 1); + lean_ctor_release(x_9, 2); + lean_ctor_release(x_9, 3); + lean_ctor_release(x_9, 4); + lean_ctor_release(x_9, 5); + x_40 = x_9; +} else { + lean_dec_ref(x_9); + x_40 = lean_box(0); +} +x_41 = lean_ctor_get(x_10, 0); +lean_inc(x_41); +x_42 = lean_ctor_get(x_10, 1); +lean_inc(x_42); +if (lean_is_exclusive(x_10)) { + lean_ctor_release(x_10, 0); + lean_ctor_release(x_10, 1); + x_43 = x_10; +} else { + lean_dec_ref(x_10); + x_43 = lean_box(0); +} +lean_inc(x_34); +x_44 = l_PersistentHashMap_insert___at___private_Init_Lean_Meta_23__checkInferTypeCache___spec__4(x_42, x_1, x_34); +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_41); +lean_ctor_set(x_45, 1, x_44); +if (lean_is_scalar(x_40)) { + x_46 = lean_alloc_ctor(0, 6, 0); +} else { + x_46 = x_40; +} +lean_ctor_set(x_46, 0, x_35); +lean_ctor_set(x_46, 1, x_36); +lean_ctor_set(x_46, 2, x_45); +lean_ctor_set(x_46, 3, x_37); +lean_ctor_set(x_46, 4, x_38); +lean_ctor_set(x_46, 5, x_39); +x_47 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_47, 0, x_34); +lean_ctor_set(x_47, 1, x_46); +return x_47; +} +} +else +{ +uint8_t x_48; +lean_dec(x_1); +x_48 = !lean_is_exclusive(x_8); +if (x_48 == 0) +{ +return x_8; +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_49 = lean_ctor_get(x_8, 0); +x_50 = lean_ctor_get(x_8, 1); +lean_inc(x_50); +lean_inc(x_49); +lean_dec(x_8); +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_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_52 = lean_ctor_get(x_7, 0); +lean_inc(x_52); +lean_dec(x_7); +x_53 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_53, 0, x_52); +lean_ctor_set(x_53, 1, x_4); +return x_53; +} +} +} +lean_object* l_PersistentHashMap_findAtAux___main___at___private_Init_Lean_Meta_23__checkInferTypeCache___spec__3___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_PersistentHashMap_findAtAux___main___at___private_Init_Lean_Meta_23__checkInferTypeCache___spec__3(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +return x_6; +} +} +lean_object* l_PersistentHashMap_findAux___main___at___private_Init_Lean_Meta_23__checkInferTypeCache___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +size_t x_4; lean_object* x_5; +x_4 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_5 = l_PersistentHashMap_findAux___main___at___private_Init_Lean_Meta_23__checkInferTypeCache___spec__2(x_1, x_4, x_3); +lean_dec(x_3); +lean_dec(x_1); +return x_5; +} +} +lean_object* l_PersistentHashMap_find___at___private_Init_Lean_Meta_23__checkInferTypeCache___spec__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_PersistentHashMap_find___at___private_Init_Lean_Meta_23__checkInferTypeCache___spec__1(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Meta_23__checkInferTypeCache___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_Array_iterateMAux___main___at___private_Init_Lean_Meta_23__checkInferTypeCache___spec__7(x_7, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_8; +} +} +lean_object* l_PersistentHashMap_insertAux___main___at___private_Init_Lean_Meta_23__checkInferTypeCache___spec__5___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_2); +lean_dec(x_2); +x_7 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_8 = l_PersistentHashMap_insertAux___main___at___private_Init_Lean_Meta_23__checkInferTypeCache___spec__5(x_1, x_6, x_7, x_4, x_5); +return x_8; +} +} +lean_object* l___private_Init_Lean_Meta_18__inferAppType___at___private_Init_Lean_Meta_24__inferTypeAux___main___spec__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_inc(x_4); +lean_inc(x_1); +x_6 = l___private_Init_Lean_Meta_24__inferTypeAux___main(x_1, x_2, x_4, x_5); +if (lean_obj_tag(x_6) == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +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___private_Init_Lean_Meta_17__getForallResultType(x_1, x_7, x_3, x_4, x_8); +return x_9; +} +else +{ +uint8_t x_10; +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_10 = !lean_is_exclusive(x_6); +if (x_10 == 0) +{ +return x_6; +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_11 = lean_ctor_get(x_6, 0); +x_12 = lean_ctor_get(x_6, 1); +lean_inc(x_12); +lean_inc(x_11); +lean_dec(x_6); +x_13 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_13, 0, x_11); +lean_ctor_set(x_13, 1, x_12); +return x_13; +} +} +} +} +lean_object* l_Nat_foldMAux___main___at___private_Init_Lean_Meta_24__inferTypeAux___main___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) { +_start: +{ +lean_object* x_10; uint8_t x_11; +x_10 = lean_unsigned_to_nat(0u); +x_11 = lean_nat_dec_eq(x_6, 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; +x_12 = lean_unsigned_to_nat(1u); +x_13 = lean_nat_sub(x_6, x_12); +lean_dec(x_6); +x_14 = lean_nat_sub(x_5, x_13); +x_15 = lean_nat_sub(x_14, x_12); +lean_dec(x_14); +lean_inc(x_1); +lean_inc(x_8); +x_16 = lean_apply_3(x_1, x_7, x_8, x_9); +if (lean_obj_tag(x_16) == 0) +{ +lean_object* x_17; +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +if (lean_obj_tag(x_17) == 7) +{ +lean_object* x_18; lean_object* x_19; uint8_t x_20; +x_18 = lean_ctor_get(x_16, 1); +lean_inc(x_18); +lean_dec(x_16); +x_19 = lean_ctor_get(x_17, 2); +lean_inc(x_19); +lean_dec(x_17); +x_20 = l_Lean_Expr_hasLooseBVars(x_19); +if (x_20 == 0) +{ +lean_dec(x_15); +x_6 = x_13; +x_7 = x_19; +x_9 = x_18; +goto _start; +} +else +{ +lean_object* x_22; lean_object* x_23; +lean_inc(x_4); +lean_inc(x_2); +x_22 = lean_expr_mk_proj(x_2, x_15, x_4); +x_23 = lean_expr_instantiate1(x_19, x_22); +lean_dec(x_22); +lean_dec(x_19); +x_6 = x_13; +x_7 = x_23; +x_9 = x_18; +goto _start; +} +} +else +{ +uint8_t x_25; +lean_dec(x_17); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_1); +x_25 = !lean_is_exclusive(x_16); +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_16, 1); +x_27 = lean_ctor_get(x_16, 0); +lean_dec(x_27); +x_28 = lean_ctor_get(x_26, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_26, 1); +lean_inc(x_29); +x_30 = lean_ctor_get(x_8, 1); +lean_inc(x_30); +lean_dec(x_8); +x_31 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_31, 0, x_28); +lean_ctor_set(x_31, 1, x_29); +lean_ctor_set(x_31, 2, x_30); +x_32 = lean_alloc_ctor(5, 4, 0); +lean_ctor_set(x_32, 0, x_2); +lean_ctor_set(x_32, 1, x_3); +lean_ctor_set(x_32, 2, x_4); +lean_ctor_set(x_32, 3, x_31); +lean_ctor_set_tag(x_16, 1); +lean_ctor_set(x_16, 0, x_32); +return x_16; +} +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; +x_33 = lean_ctor_get(x_16, 1); +lean_inc(x_33); +lean_dec(x_16); +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_8, 1); +lean_inc(x_36); +lean_dec(x_8); +x_37 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_37, 0, x_34); +lean_ctor_set(x_37, 1, x_35); +lean_ctor_set(x_37, 2, x_36); +x_38 = lean_alloc_ctor(5, 4, 0); +lean_ctor_set(x_38, 0, x_2); +lean_ctor_set(x_38, 1, x_3); +lean_ctor_set(x_38, 2, x_4); +lean_ctor_set(x_38, 3, x_37); +x_39 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_39, 0, x_38); +lean_ctor_set(x_39, 1, x_33); +return x_39; +} +} +} +else +{ +uint8_t x_40; +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_8); +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) +{ +return x_16; +} +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_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; +} +} +} +else +{ +lean_object* x_44; +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_44 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_44, 0, x_7); +lean_ctor_set(x_44, 1, x_9); +return x_44; +} +} +} +lean_object* l___private_Init_Lean_Meta_20__inferProjType___at___private_Init_Lean_Meta_24__inferTypeAux___main___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_inc(x_5); +lean_inc(x_4); +lean_inc(x_1); +x_7 = l___private_Init_Lean_Meta_24__inferTypeAux___main(x_1, x_4, x_5, x_6); +if (lean_obj_tag(x_7) == 0) +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_8 = lean_ctor_get(x_7, 0); +lean_inc(x_8); +x_9 = lean_ctor_get(x_7, 1); +lean_inc(x_9); +lean_dec(x_7); +lean_inc(x_1); +lean_inc(x_5); +x_10 = lean_apply_3(x_1, x_8, x_5, 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; +x_12 = lean_ctor_get(x_10, 1); +x_13 = lean_ctor_get(x_10, 0); +x_14 = lean_ctor_get(x_12, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_12, 1); +lean_inc(x_15); +x_16 = l_Lean_Expr_getAppFn___main(x_13); +if (lean_obj_tag(x_16) == 4) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_16, 1); +lean_inc(x_18); +lean_dec(x_16); +lean_inc(x_14); +x_19 = lean_environment_find(x_14, x_17); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +lean_dec(x_18); +lean_dec(x_13); +lean_dec(x_1); +x_20 = lean_ctor_get(x_5, 1); +lean_inc(x_20); +lean_dec(x_5); +x_21 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_21, 0, x_14); +lean_ctor_set(x_21, 1, x_15); +lean_ctor_set(x_21, 2, x_20); +x_22 = lean_alloc_ctor(5, 4, 0); +lean_ctor_set(x_22, 0, x_2); +lean_ctor_set(x_22, 1, x_3); +lean_ctor_set(x_22, 2, x_4); +lean_ctor_set(x_22, 3, x_21); +lean_ctor_set_tag(x_10, 1); +lean_ctor_set(x_10, 0, x_22); +return x_10; +} +else +{ +lean_object* x_23; +x_23 = lean_ctor_get(x_19, 0); +lean_inc(x_23); +lean_dec(x_19); +if (lean_obj_tag(x_23) == 5) +{ +lean_object* x_24; lean_object* x_25; +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +lean_dec(x_23); +x_25 = lean_ctor_get(x_24, 4); +lean_inc(x_25); +if (lean_obj_tag(x_25) == 0) +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +lean_dec(x_24); +lean_dec(x_18); +lean_dec(x_13); +lean_dec(x_1); +x_26 = lean_ctor_get(x_5, 1); +lean_inc(x_26); +lean_dec(x_5); +x_27 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_27, 0, x_14); +lean_ctor_set(x_27, 1, x_15); +lean_ctor_set(x_27, 2, x_26); +x_28 = lean_alloc_ctor(5, 4, 0); +lean_ctor_set(x_28, 0, x_2); +lean_ctor_set(x_28, 1, x_3); +lean_ctor_set(x_28, 2, x_4); +lean_ctor_set(x_28, 3, x_27); +lean_ctor_set_tag(x_10, 1); +lean_ctor_set(x_10, 0, x_28); +return x_10; +} +else +{ +lean_object* x_29; +x_29 = lean_ctor_get(x_25, 1); +lean_inc(x_29); +if (lean_obj_tag(x_29) == 0) +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; +x_30 = lean_ctor_get(x_24, 1); +lean_inc(x_30); +lean_dec(x_24); +x_31 = lean_ctor_get(x_25, 0); +lean_inc(x_31); +lean_dec(x_25); +x_32 = lean_unsigned_to_nat(0u); +x_33 = l_Lean_Expr_getAppNumArgsAux___main(x_13, x_32); +x_34 = l_Lean_Expr_inhabited___closed__1; +lean_inc(x_33); +x_35 = lean_mk_array(x_33, x_34); +x_36 = lean_unsigned_to_nat(1u); +x_37 = lean_nat_sub(x_33, x_36); +lean_dec(x_33); +x_38 = l___private_Init_Lean_Expr_2__getAppArgsAux___main(x_13, x_35, x_37); +x_39 = lean_array_get_size(x_38); +x_40 = lean_nat_dec_eq(x_30, x_39); +lean_dec(x_39); +lean_dec(x_30); +if (x_40 == 0) +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; +lean_dec(x_38); +lean_dec(x_31); +lean_dec(x_18); +lean_dec(x_1); +x_41 = lean_ctor_get(x_5, 1); +lean_inc(x_41); +lean_dec(x_5); +x_42 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_42, 0, x_14); +lean_ctor_set(x_42, 1, x_15); +lean_ctor_set(x_42, 2, x_41); +x_43 = lean_alloc_ctor(5, 4, 0); +lean_ctor_set(x_43, 0, x_2); +lean_ctor_set(x_43, 1, x_3); +lean_ctor_set(x_43, 2, x_4); +lean_ctor_set(x_43, 3, x_42); +lean_ctor_set_tag(x_10, 1); +lean_ctor_set(x_10, 0, x_43); +return x_10; +} +else +{ +lean_object* x_44; +lean_inc(x_14); +x_44 = lean_environment_find(x_14, x_31); +if (lean_obj_tag(x_44) == 0) +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; +lean_dec(x_38); +lean_dec(x_18); +lean_dec(x_1); +x_45 = lean_ctor_get(x_5, 1); +lean_inc(x_45); +lean_dec(x_5); +x_46 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_46, 0, x_14); +lean_ctor_set(x_46, 1, x_15); +lean_ctor_set(x_46, 2, x_45); +x_47 = lean_alloc_ctor(5, 4, 0); +lean_ctor_set(x_47, 0, x_2); +lean_ctor_set(x_47, 1, x_3); +lean_ctor_set(x_47, 2, x_4); +lean_ctor_set(x_47, 3, x_46); +lean_ctor_set_tag(x_10, 1); +lean_ctor_set(x_10, 0, x_47); +return x_10; +} +else +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; +lean_dec(x_15); +lean_dec(x_14); +lean_free_object(x_10); +x_48 = lean_ctor_get(x_44, 0); +lean_inc(x_48); +lean_dec(x_44); +x_49 = lean_instantiate_type_lparams(x_48, x_18); +lean_inc(x_5); +lean_inc(x_1); +x_50 = l___private_Init_Lean_Meta_17__getForallResultType(x_1, x_49, x_38, x_5, x_12); +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_inc(x_5); +lean_inc(x_4); +lean_inc_n(x_3, 2); +lean_inc(x_2); +lean_inc(x_1); +x_53 = l_Nat_foldMAux___main___at___private_Init_Lean_Meta_24__inferTypeAux___main___spec__3(x_1, x_2, x_3, x_4, x_3, x_3, x_51, x_5, x_52); +if (lean_obj_tag(x_53) == 0) +{ +lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_54 = lean_ctor_get(x_53, 0); +lean_inc(x_54); +x_55 = lean_ctor_get(x_53, 1); +lean_inc(x_55); +lean_dec(x_53); +lean_inc(x_5); +x_56 = lean_apply_3(x_1, x_54, x_5, x_55); +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) == 7) +{ +uint8_t x_58; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_58 = !lean_is_exclusive(x_56); +if (x_58 == 0) +{ +lean_object* x_59; lean_object* x_60; +x_59 = lean_ctor_get(x_56, 0); +lean_dec(x_59); +x_60 = lean_ctor_get(x_57, 1); +lean_inc(x_60); +lean_dec(x_57); +lean_ctor_set(x_56, 0, x_60); +return x_56; +} +else +{ +lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_61 = lean_ctor_get(x_56, 1); +lean_inc(x_61); +lean_dec(x_56); +x_62 = lean_ctor_get(x_57, 1); +lean_inc(x_62); +lean_dec(x_57); +x_63 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_63, 0, x_62); +lean_ctor_set(x_63, 1, x_61); +return x_63; +} +} +else +{ +uint8_t x_64; +lean_dec(x_57); +x_64 = !lean_is_exclusive(x_56); +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; +x_65 = lean_ctor_get(x_56, 1); +x_66 = lean_ctor_get(x_56, 0); +lean_dec(x_66); +x_67 = lean_ctor_get(x_65, 0); +lean_inc(x_67); +x_68 = lean_ctor_get(x_65, 1); +lean_inc(x_68); +x_69 = lean_ctor_get(x_5, 1); +lean_inc(x_69); +lean_dec(x_5); +x_70 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_70, 0, x_67); +lean_ctor_set(x_70, 1, x_68); +lean_ctor_set(x_70, 2, x_69); +x_71 = lean_alloc_ctor(5, 4, 0); +lean_ctor_set(x_71, 0, x_2); +lean_ctor_set(x_71, 1, x_3); +lean_ctor_set(x_71, 2, x_4); +lean_ctor_set(x_71, 3, x_70); +lean_ctor_set_tag(x_56, 1); +lean_ctor_set(x_56, 0, x_71); +return x_56; +} +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; +x_72 = lean_ctor_get(x_56, 1); +lean_inc(x_72); +lean_dec(x_56); +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_ctor_get(x_5, 1); +lean_inc(x_75); +lean_dec(x_5); +x_76 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_76, 0, x_73); +lean_ctor_set(x_76, 1, x_74); +lean_ctor_set(x_76, 2, x_75); +x_77 = lean_alloc_ctor(5, 4, 0); +lean_ctor_set(x_77, 0, x_2); +lean_ctor_set(x_77, 1, x_3); +lean_ctor_set(x_77, 2, x_4); +lean_ctor_set(x_77, 3, x_76); +x_78 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_78, 0, x_77); +lean_ctor_set(x_78, 1, x_72); +return x_78; +} +} +} +else +{ +uint8_t x_79; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_79 = !lean_is_exclusive(x_56); +if (x_79 == 0) +{ +return x_56; +} +else +{ +lean_object* x_80; lean_object* x_81; lean_object* x_82; +x_80 = lean_ctor_get(x_56, 0); +x_81 = lean_ctor_get(x_56, 1); +lean_inc(x_81); +lean_inc(x_80); +lean_dec(x_56); +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_83; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_83 = !lean_is_exclusive(x_53); +if (x_83 == 0) +{ +return x_53; +} +else +{ +lean_object* x_84; lean_object* x_85; lean_object* x_86; +x_84 = lean_ctor_get(x_53, 0); +x_85 = lean_ctor_get(x_53, 1); +lean_inc(x_85); +lean_inc(x_84); +lean_dec(x_53); +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; +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_50); +if (x_87 == 0) +{ +return x_50; +} +else +{ +lean_object* x_88; lean_object* x_89; lean_object* x_90; +x_88 = lean_ctor_get(x_50, 0); +x_89 = lean_ctor_get(x_50, 1); +lean_inc(x_89); +lean_inc(x_88); +lean_dec(x_50); +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_91; lean_object* x_92; lean_object* x_93; +lean_dec(x_29); +lean_dec(x_25); +lean_dec(x_24); +lean_dec(x_18); +lean_dec(x_13); +lean_dec(x_1); +x_91 = lean_ctor_get(x_5, 1); +lean_inc(x_91); +lean_dec(x_5); +x_92 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_92, 0, x_14); +lean_ctor_set(x_92, 1, x_15); +lean_ctor_set(x_92, 2, x_91); +x_93 = lean_alloc_ctor(5, 4, 0); +lean_ctor_set(x_93, 0, x_2); +lean_ctor_set(x_93, 1, x_3); +lean_ctor_set(x_93, 2, x_4); +lean_ctor_set(x_93, 3, x_92); +lean_ctor_set_tag(x_10, 1); +lean_ctor_set(x_10, 0, x_93); +return x_10; +} +} +} +else +{ +lean_object* x_94; lean_object* x_95; lean_object* x_96; +lean_dec(x_23); +lean_dec(x_18); +lean_dec(x_13); +lean_dec(x_1); +x_94 = lean_ctor_get(x_5, 1); +lean_inc(x_94); +lean_dec(x_5); +x_95 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_95, 0, x_14); +lean_ctor_set(x_95, 1, x_15); +lean_ctor_set(x_95, 2, x_94); +x_96 = lean_alloc_ctor(5, 4, 0); +lean_ctor_set(x_96, 0, x_2); +lean_ctor_set(x_96, 1, x_3); +lean_ctor_set(x_96, 2, x_4); +lean_ctor_set(x_96, 3, x_95); +lean_ctor_set_tag(x_10, 1); +lean_ctor_set(x_10, 0, x_96); +return x_10; +} +} +} +else +{ +lean_object* x_97; lean_object* x_98; lean_object* x_99; +lean_dec(x_16); +lean_dec(x_13); +lean_dec(x_1); +x_97 = lean_ctor_get(x_5, 1); +lean_inc(x_97); +lean_dec(x_5); +x_98 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_98, 0, x_14); +lean_ctor_set(x_98, 1, x_15); +lean_ctor_set(x_98, 2, x_97); +x_99 = lean_alloc_ctor(5, 4, 0); +lean_ctor_set(x_99, 0, x_2); +lean_ctor_set(x_99, 1, x_3); +lean_ctor_set(x_99, 2, x_4); +lean_ctor_set(x_99, 3, x_98); +lean_ctor_set_tag(x_10, 1); +lean_ctor_set(x_10, 0, x_99); +return x_10; +} +} +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_10, 1); +x_101 = lean_ctor_get(x_10, 0); +lean_inc(x_100); +lean_inc(x_101); +lean_dec(x_10); +x_102 = lean_ctor_get(x_100, 0); +lean_inc(x_102); +x_103 = lean_ctor_get(x_100, 1); +lean_inc(x_103); +x_104 = l_Lean_Expr_getAppFn___main(x_101); +if (lean_obj_tag(x_104) == 4) +{ +lean_object* x_105; lean_object* x_106; lean_object* x_107; +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); +lean_inc(x_102); +x_107 = lean_environment_find(x_102, x_105); +if (lean_obj_tag(x_107) == 0) +{ +lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; +lean_dec(x_106); +lean_dec(x_101); +lean_dec(x_1); +x_108 = lean_ctor_get(x_5, 1); +lean_inc(x_108); +lean_dec(x_5); +x_109 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_109, 0, x_102); +lean_ctor_set(x_109, 1, x_103); +lean_ctor_set(x_109, 2, x_108); +x_110 = lean_alloc_ctor(5, 4, 0); +lean_ctor_set(x_110, 0, x_2); +lean_ctor_set(x_110, 1, x_3); +lean_ctor_set(x_110, 2, x_4); +lean_ctor_set(x_110, 3, x_109); +x_111 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_111, 0, x_110); +lean_ctor_set(x_111, 1, x_100); +return x_111; +} +else +{ +lean_object* x_112; +x_112 = lean_ctor_get(x_107, 0); +lean_inc(x_112); +lean_dec(x_107); +if (lean_obj_tag(x_112) == 5) +{ +lean_object* x_113; lean_object* x_114; +x_113 = lean_ctor_get(x_112, 0); +lean_inc(x_113); +lean_dec(x_112); +x_114 = lean_ctor_get(x_113, 4); +lean_inc(x_114); +if (lean_obj_tag(x_114) == 0) +{ +lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; +lean_dec(x_113); +lean_dec(x_106); +lean_dec(x_101); +lean_dec(x_1); +x_115 = lean_ctor_get(x_5, 1); +lean_inc(x_115); +lean_dec(x_5); +x_116 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_116, 0, x_102); +lean_ctor_set(x_116, 1, x_103); +lean_ctor_set(x_116, 2, x_115); +x_117 = lean_alloc_ctor(5, 4, 0); +lean_ctor_set(x_117, 0, x_2); +lean_ctor_set(x_117, 1, x_3); +lean_ctor_set(x_117, 2, x_4); +lean_ctor_set(x_117, 3, x_116); +x_118 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_118, 0, x_117); +lean_ctor_set(x_118, 1, x_100); +return x_118; +} +else +{ +lean_object* x_119; +x_119 = lean_ctor_get(x_114, 1); +lean_inc(x_119); +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; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; uint8_t x_130; +x_120 = lean_ctor_get(x_113, 1); +lean_inc(x_120); +lean_dec(x_113); +x_121 = lean_ctor_get(x_114, 0); +lean_inc(x_121); +lean_dec(x_114); +x_122 = lean_unsigned_to_nat(0u); +x_123 = l_Lean_Expr_getAppNumArgsAux___main(x_101, x_122); +x_124 = l_Lean_Expr_inhabited___closed__1; +lean_inc(x_123); +x_125 = lean_mk_array(x_123, x_124); +x_126 = lean_unsigned_to_nat(1u); +x_127 = lean_nat_sub(x_123, x_126); +lean_dec(x_123); +x_128 = l___private_Init_Lean_Expr_2__getAppArgsAux___main(x_101, x_125, x_127); +x_129 = lean_array_get_size(x_128); +x_130 = lean_nat_dec_eq(x_120, x_129); +lean_dec(x_129); +lean_dec(x_120); +if (x_130 == 0) +{ +lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; +lean_dec(x_128); +lean_dec(x_121); +lean_dec(x_106); +lean_dec(x_1); +x_131 = lean_ctor_get(x_5, 1); +lean_inc(x_131); +lean_dec(x_5); +x_132 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_132, 0, x_102); +lean_ctor_set(x_132, 1, x_103); +lean_ctor_set(x_132, 2, x_131); +x_133 = lean_alloc_ctor(5, 4, 0); +lean_ctor_set(x_133, 0, x_2); +lean_ctor_set(x_133, 1, x_3); +lean_ctor_set(x_133, 2, x_4); +lean_ctor_set(x_133, 3, x_132); +x_134 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_134, 0, x_133); +lean_ctor_set(x_134, 1, x_100); +return x_134; +} +else +{ +lean_object* x_135; +lean_inc(x_102); +x_135 = lean_environment_find(x_102, x_121); +if (lean_obj_tag(x_135) == 0) +{ +lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; +lean_dec(x_128); +lean_dec(x_106); +lean_dec(x_1); +x_136 = lean_ctor_get(x_5, 1); +lean_inc(x_136); +lean_dec(x_5); +x_137 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_137, 0, x_102); +lean_ctor_set(x_137, 1, x_103); +lean_ctor_set(x_137, 2, x_136); +x_138 = lean_alloc_ctor(5, 4, 0); +lean_ctor_set(x_138, 0, x_2); +lean_ctor_set(x_138, 1, x_3); +lean_ctor_set(x_138, 2, x_4); +lean_ctor_set(x_138, 3, x_137); +x_139 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_139, 0, x_138); +lean_ctor_set(x_139, 1, x_100); +return x_139; +} +else +{ +lean_object* x_140; lean_object* x_141; lean_object* x_142; +lean_dec(x_103); +lean_dec(x_102); +x_140 = lean_ctor_get(x_135, 0); +lean_inc(x_140); +lean_dec(x_135); +x_141 = lean_instantiate_type_lparams(x_140, x_106); +lean_inc(x_5); +lean_inc(x_1); +x_142 = l___private_Init_Lean_Meta_17__getForallResultType(x_1, x_141, x_128, x_5, x_100); +if (lean_obj_tag(x_142) == 0) +{ +lean_object* x_143; lean_object* x_144; lean_object* x_145; +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); +lean_inc(x_5); +lean_inc(x_4); +lean_inc_n(x_3, 2); +lean_inc(x_2); +lean_inc(x_1); +x_145 = l_Nat_foldMAux___main___at___private_Init_Lean_Meta_24__inferTypeAux___main___spec__3(x_1, x_2, x_3, x_4, x_3, x_3, x_143, x_5, x_144); +if (lean_obj_tag(x_145) == 0) +{ +lean_object* x_146; lean_object* x_147; lean_object* x_148; +x_146 = lean_ctor_get(x_145, 0); +lean_inc(x_146); +x_147 = lean_ctor_get(x_145, 1); +lean_inc(x_147); +lean_dec(x_145); +lean_inc(x_5); +x_148 = lean_apply_3(x_1, x_146, x_5, x_147); +if (lean_obj_tag(x_148) == 0) +{ +lean_object* x_149; +x_149 = lean_ctor_get(x_148, 0); +lean_inc(x_149); +if (lean_obj_tag(x_149) == 7) +{ +lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +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_ctor_get(x_149, 1); +lean_inc(x_152); +lean_dec(x_149); +if (lean_is_scalar(x_151)) { + x_153 = lean_alloc_ctor(0, 2, 0); +} else { + x_153 = x_151; +} +lean_ctor_set(x_153, 0, x_152); +lean_ctor_set(x_153, 1, x_150); +return x_153; +} +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_dec(x_149); +x_154 = lean_ctor_get(x_148, 1); +lean_inc(x_154); +if (lean_is_exclusive(x_148)) { + lean_ctor_release(x_148, 0); + lean_ctor_release(x_148, 1); + x_155 = x_148; +} else { + lean_dec_ref(x_148); + x_155 = lean_box(0); +} +x_156 = lean_ctor_get(x_154, 0); +lean_inc(x_156); +x_157 = lean_ctor_get(x_154, 1); +lean_inc(x_157); +x_158 = lean_ctor_get(x_5, 1); +lean_inc(x_158); +lean_dec(x_5); +x_159 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_159, 0, x_156); +lean_ctor_set(x_159, 1, x_157); +lean_ctor_set(x_159, 2, x_158); +x_160 = lean_alloc_ctor(5, 4, 0); +lean_ctor_set(x_160, 0, x_2); +lean_ctor_set(x_160, 1, x_3); +lean_ctor_set(x_160, 2, x_4); +lean_ctor_set(x_160, 3, x_159); +if (lean_is_scalar(x_155)) { + x_161 = lean_alloc_ctor(1, 2, 0); +} else { + x_161 = x_155; + lean_ctor_set_tag(x_161, 1); +} +lean_ctor_set(x_161, 0, x_160); +lean_ctor_set(x_161, 1, x_154); +return x_161; +} +} +else +{ +lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_162 = lean_ctor_get(x_148, 0); +lean_inc(x_162); +x_163 = lean_ctor_get(x_148, 1); +lean_inc(x_163); +if (lean_is_exclusive(x_148)) { + lean_ctor_release(x_148, 0); + lean_ctor_release(x_148, 1); + x_164 = x_148; +} else { + lean_dec_ref(x_148); + x_164 = lean_box(0); +} +if (lean_is_scalar(x_164)) { + x_165 = lean_alloc_ctor(1, 2, 0); +} else { + x_165 = x_164; +} +lean_ctor_set(x_165, 0, x_162); +lean_ctor_set(x_165, 1, x_163); +return x_165; +} +} +else +{ +lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_166 = lean_ctor_get(x_145, 0); +lean_inc(x_166); +x_167 = lean_ctor_get(x_145, 1); +lean_inc(x_167); +if (lean_is_exclusive(x_145)) { + lean_ctor_release(x_145, 0); + lean_ctor_release(x_145, 1); + x_168 = x_145; +} else { + lean_dec_ref(x_145); + x_168 = lean_box(0); +} +if (lean_is_scalar(x_168)) { + x_169 = lean_alloc_ctor(1, 2, 0); +} else { + x_169 = x_168; +} +lean_ctor_set(x_169, 0, x_166); +lean_ctor_set(x_169, 1, x_167); +return x_169; +} +} +else +{ +lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_170 = lean_ctor_get(x_142, 0); +lean_inc(x_170); +x_171 = lean_ctor_get(x_142, 1); +lean_inc(x_171); +if (lean_is_exclusive(x_142)) { + lean_ctor_release(x_142, 0); + lean_ctor_release(x_142, 1); + x_172 = x_142; +} else { + lean_dec_ref(x_142); + x_172 = lean_box(0); +} +if (lean_is_scalar(x_172)) { + x_173 = lean_alloc_ctor(1, 2, 0); +} else { + x_173 = x_172; +} +lean_ctor_set(x_173, 0, x_170); +lean_ctor_set(x_173, 1, x_171); +return x_173; +} +} +} +} +else +{ +lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; +lean_dec(x_119); +lean_dec(x_114); +lean_dec(x_113); +lean_dec(x_106); +lean_dec(x_101); +lean_dec(x_1); +x_174 = lean_ctor_get(x_5, 1); +lean_inc(x_174); +lean_dec(x_5); +x_175 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_175, 0, x_102); +lean_ctor_set(x_175, 1, x_103); +lean_ctor_set(x_175, 2, x_174); +x_176 = lean_alloc_ctor(5, 4, 0); +lean_ctor_set(x_176, 0, x_2); +lean_ctor_set(x_176, 1, x_3); +lean_ctor_set(x_176, 2, x_4); +lean_ctor_set(x_176, 3, 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_100); +return x_177; +} +} +} +else +{ +lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; +lean_dec(x_112); +lean_dec(x_106); +lean_dec(x_101); +lean_dec(x_1); +x_178 = lean_ctor_get(x_5, 1); +lean_inc(x_178); +lean_dec(x_5); +x_179 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_179, 0, x_102); +lean_ctor_set(x_179, 1, x_103); +lean_ctor_set(x_179, 2, x_178); +x_180 = lean_alloc_ctor(5, 4, 0); +lean_ctor_set(x_180, 0, x_2); +lean_ctor_set(x_180, 1, x_3); +lean_ctor_set(x_180, 2, x_4); +lean_ctor_set(x_180, 3, x_179); +x_181 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_181, 0, x_180); +lean_ctor_set(x_181, 1, x_100); +return x_181; +} +} +} +else +{ +lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; +lean_dec(x_104); +lean_dec(x_101); +lean_dec(x_1); +x_182 = lean_ctor_get(x_5, 1); +lean_inc(x_182); +lean_dec(x_5); +x_183 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_183, 0, x_102); +lean_ctor_set(x_183, 1, x_103); +lean_ctor_set(x_183, 2, x_182); +x_184 = lean_alloc_ctor(5, 4, 0); +lean_ctor_set(x_184, 0, x_2); +lean_ctor_set(x_184, 1, x_3); +lean_ctor_set(x_184, 2, x_4); +lean_ctor_set(x_184, 3, x_183); +x_185 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_185, 0, x_184); +lean_ctor_set(x_185, 1, x_100); +return x_185; +} +} +} +else +{ +uint8_t x_186; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_186 = !lean_is_exclusive(x_10); +if (x_186 == 0) +{ +return x_10; +} +else +{ +lean_object* x_187; lean_object* x_188; lean_object* x_189; +x_187 = lean_ctor_get(x_10, 0); +x_188 = lean_ctor_get(x_10, 1); +lean_inc(x_188); +lean_inc(x_187); +lean_dec(x_10); +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; +} +} +} +else +{ +uint8_t x_190; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_190 = !lean_is_exclusive(x_7); +if (x_190 == 0) +{ +return x_7; +} +else +{ +lean_object* x_191; lean_object* x_192; lean_object* x_193; +x_191 = lean_ctor_get(x_7, 0); +x_192 = lean_ctor_get(x_7, 1); +lean_inc(x_192); +lean_inc(x_191); +lean_dec(x_7); +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; +} +} +} +} +lean_object* _init_l___private_Init_Lean_Meta_24__inferTypeAux___main___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("not implemented yet"); +return x_1; +} +} +lean_object* _init_l___private_Init_Lean_Meta_24__inferTypeAux___main___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Init_Lean_Meta_24__inferTypeAux___main___closed__1; +x_2 = lean_alloc_ctor(6, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* l___private_Init_Lean_Meta_24__inferTypeAux___main(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +switch (lean_obj_tag(x_2)) { +case 0: +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; +lean_dec(x_2); +lean_dec(x_1); +x_5 = l_unreachable_x21___rarg___closed__1; +x_6 = lean_unsigned_to_nat(37u); +x_7 = lean_unsigned_to_nat(0u); +x_8 = l_unreachable_x21___rarg___closed__2; +x_9 = l_panicWithPos___at___private_Init_Lean_Meta_16__whnfAux___main___spec__2(x_5, x_6, x_7, x_8, x_3, x_4); +return x_9; +} +case 1: +{ +lean_object* x_10; lean_object* x_11; +lean_dec(x_1); +x_10 = lean_ctor_get(x_2, 0); +lean_inc(x_10); +lean_dec(x_2); +x_11 = l___private_Init_Lean_Meta_22__inferFVarType(x_10, x_3, x_4); +return x_11; +} +case 2: +{ +lean_object* x_12; lean_object* x_13; +lean_dec(x_1); +x_12 = lean_ctor_get(x_2, 0); +lean_inc(x_12); +lean_dec(x_2); +x_13 = l___private_Init_Lean_Meta_21__inferMVarType(x_12, x_3, x_4); +lean_dec(x_3); +return x_13; +} +case 3: +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +lean_dec(x_3); +lean_dec(x_1); +x_14 = lean_ctor_get(x_2, 0); +lean_inc(x_14); +lean_dec(x_2); +x_15 = lean_level_mk_succ(x_14); +x_16 = lean_expr_mk_sort(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_4); +return x_17; +} +case 4: +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +lean_dec(x_1); +x_18 = lean_ctor_get(x_2, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_2, 1); +lean_inc(x_19); +lean_dec(x_2); +x_20 = l___private_Init_Lean_Meta_19__inferConstType(x_18, x_19, x_3, x_4); +lean_dec(x_3); +return x_20; +} +case 5: +{ +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_21 = lean_ctor_get(x_2, 0); +lean_inc(x_21); +x_22 = lean_unsigned_to_nat(0u); +x_23 = l_Lean_Expr_getAppNumArgsAux___main(x_2, x_22); +x_24 = l_Lean_Expr_inhabited___closed__1; +lean_inc(x_23); +x_25 = lean_mk_array(x_23, x_24); +x_26 = lean_unsigned_to_nat(1u); +x_27 = lean_nat_sub(x_23, x_26); +lean_dec(x_23); +lean_inc(x_2); +x_28 = l___private_Init_Lean_Expr_2__getAppArgsAux___main(x_2, x_25, x_27); +x_29 = lean_ctor_get(x_4, 2); +lean_inc(x_29); +x_30 = lean_ctor_get(x_29, 1); +lean_inc(x_30); +lean_dec(x_29); +x_31 = l_PersistentHashMap_find___at___private_Init_Lean_Meta_23__checkInferTypeCache___spec__1(x_30, x_2); +lean_dec(x_30); +if (lean_obj_tag(x_31) == 0) +{ +lean_object* x_32; +x_32 = l___private_Init_Lean_Meta_18__inferAppType___at___private_Init_Lean_Meta_24__inferTypeAux___main___spec__1(x_1, x_21, x_28, x_3, x_4); +if (lean_obj_tag(x_32) == 0) +{ +lean_object* x_33; lean_object* x_34; uint8_t x_35; +x_33 = lean_ctor_get(x_32, 1); +lean_inc(x_33); +x_34 = lean_ctor_get(x_33, 2); +lean_inc(x_34); +x_35 = !lean_is_exclusive(x_32); +if (x_35 == 0) +{ +lean_object* x_36; lean_object* x_37; uint8_t x_38; +x_36 = lean_ctor_get(x_32, 0); +x_37 = lean_ctor_get(x_32, 1); +lean_dec(x_37); +x_38 = !lean_is_exclusive(x_33); +if (x_38 == 0) +{ +lean_object* x_39; uint8_t x_40; +x_39 = lean_ctor_get(x_33, 2); +lean_dec(x_39); +x_40 = !lean_is_exclusive(x_34); +if (x_40 == 0) +{ +lean_object* x_41; lean_object* x_42; +x_41 = lean_ctor_get(x_34, 1); +lean_inc(x_36); +x_42 = l_PersistentHashMap_insert___at___private_Init_Lean_Meta_23__checkInferTypeCache___spec__4(x_41, x_2, x_36); +lean_ctor_set(x_34, 1, x_42); +return x_32; +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_43 = lean_ctor_get(x_34, 0); +x_44 = lean_ctor_get(x_34, 1); +lean_inc(x_44); +lean_inc(x_43); +lean_dec(x_34); +lean_inc(x_36); +x_45 = l_PersistentHashMap_insert___at___private_Init_Lean_Meta_23__checkInferTypeCache___spec__4(x_44, x_2, x_36); +x_46 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_46, 0, x_43); +lean_ctor_set(x_46, 1, x_45); +lean_ctor_set(x_33, 2, x_46); +return x_32; +} +} +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; +x_47 = lean_ctor_get(x_33, 0); +x_48 = lean_ctor_get(x_33, 1); +x_49 = lean_ctor_get(x_33, 3); +x_50 = lean_ctor_get(x_33, 4); +x_51 = lean_ctor_get(x_33, 5); +lean_inc(x_51); +lean_inc(x_50); +lean_inc(x_49); +lean_inc(x_48); +lean_inc(x_47); +lean_dec(x_33); +x_52 = lean_ctor_get(x_34, 0); +lean_inc(x_52); +x_53 = lean_ctor_get(x_34, 1); +lean_inc(x_53); +if (lean_is_exclusive(x_34)) { + lean_ctor_release(x_34, 0); + lean_ctor_release(x_34, 1); + x_54 = x_34; +} else { + lean_dec_ref(x_34); + x_54 = lean_box(0); +} +lean_inc(x_36); +x_55 = l_PersistentHashMap_insert___at___private_Init_Lean_Meta_23__checkInferTypeCache___spec__4(x_53, x_2, x_36); +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_52); +lean_ctor_set(x_56, 1, x_55); +x_57 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_57, 0, x_47); +lean_ctor_set(x_57, 1, x_48); +lean_ctor_set(x_57, 2, x_56); +lean_ctor_set(x_57, 3, x_49); +lean_ctor_set(x_57, 4, x_50); +lean_ctor_set(x_57, 5, x_51); +lean_ctor_set(x_32, 1, x_57); +return x_32; +} +} +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_32, 0); +lean_inc(x_58); +lean_dec(x_32); +x_59 = lean_ctor_get(x_33, 0); +lean_inc(x_59); +x_60 = lean_ctor_get(x_33, 1); +lean_inc(x_60); +x_61 = lean_ctor_get(x_33, 3); +lean_inc(x_61); +x_62 = lean_ctor_get(x_33, 4); +lean_inc(x_62); +x_63 = lean_ctor_get(x_33, 5); +lean_inc(x_63); +if (lean_is_exclusive(x_33)) { + lean_ctor_release(x_33, 0); + lean_ctor_release(x_33, 1); + lean_ctor_release(x_33, 2); + lean_ctor_release(x_33, 3); + lean_ctor_release(x_33, 4); + lean_ctor_release(x_33, 5); + x_64 = x_33; +} else { + lean_dec_ref(x_33); + x_64 = lean_box(0); +} +x_65 = lean_ctor_get(x_34, 0); +lean_inc(x_65); +x_66 = lean_ctor_get(x_34, 1); +lean_inc(x_66); +if (lean_is_exclusive(x_34)) { + lean_ctor_release(x_34, 0); + lean_ctor_release(x_34, 1); + x_67 = x_34; +} else { + lean_dec_ref(x_34); + x_67 = lean_box(0); +} +lean_inc(x_58); +x_68 = l_PersistentHashMap_insert___at___private_Init_Lean_Meta_23__checkInferTypeCache___spec__4(x_66, x_2, x_58); +if (lean_is_scalar(x_67)) { + x_69 = lean_alloc_ctor(0, 2, 0); +} else { + x_69 = x_67; +} +lean_ctor_set(x_69, 0, x_65); +lean_ctor_set(x_69, 1, x_68); +if (lean_is_scalar(x_64)) { + x_70 = lean_alloc_ctor(0, 6, 0); +} else { + x_70 = x_64; +} +lean_ctor_set(x_70, 0, x_59); +lean_ctor_set(x_70, 1, x_60); +lean_ctor_set(x_70, 2, x_69); +lean_ctor_set(x_70, 3, x_61); +lean_ctor_set(x_70, 4, x_62); +lean_ctor_set(x_70, 5, x_63); +x_71 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_71, 0, x_58); +lean_ctor_set(x_71, 1, x_70); +return x_71; +} +} +else +{ +uint8_t x_72; +lean_dec(x_2); +x_72 = !lean_is_exclusive(x_32); +if (x_72 == 0) +{ +return x_32; +} +else +{ +lean_object* x_73; lean_object* x_74; lean_object* x_75; +x_73 = lean_ctor_get(x_32, 0); +x_74 = lean_ctor_get(x_32, 1); +lean_inc(x_74); +lean_inc(x_73); +lean_dec(x_32); +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_dec(x_28); +lean_dec(x_21); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_76 = lean_ctor_get(x_31, 0); +lean_inc(x_76); +lean_dec(x_31); +x_77 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_77, 0, x_76); +lean_ctor_set(x_77, 1, x_4); +return x_77; +} +} +case 9: +{ +lean_object* x_78; lean_object* x_79; lean_object* x_80; +lean_dec(x_3); +lean_dec(x_1); +x_78 = lean_ctor_get(x_2, 0); +lean_inc(x_78); +lean_dec(x_2); +x_79 = l_Lean_Literal_type(x_78); +lean_dec(x_78); +x_80 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_80, 0, x_79); +lean_ctor_set(x_80, 1, x_4); +return x_80; +} +case 10: +{ +lean_object* x_81; +x_81 = lean_ctor_get(x_2, 1); +lean_inc(x_81); +lean_dec(x_2); +x_2 = x_81; +goto _start; +} +case 11: +{ +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_83 = lean_ctor_get(x_2, 0); +lean_inc(x_83); +x_84 = lean_ctor_get(x_2, 1); +lean_inc(x_84); +x_85 = lean_ctor_get(x_2, 2); +lean_inc(x_85); +x_86 = lean_ctor_get(x_4, 2); +lean_inc(x_86); +x_87 = lean_ctor_get(x_86, 1); +lean_inc(x_87); +lean_dec(x_86); +x_88 = l_PersistentHashMap_find___at___private_Init_Lean_Meta_23__checkInferTypeCache___spec__1(x_87, x_2); +lean_dec(x_87); +if (lean_obj_tag(x_88) == 0) +{ +lean_object* x_89; +x_89 = l___private_Init_Lean_Meta_20__inferProjType___at___private_Init_Lean_Meta_24__inferTypeAux___main___spec__2(x_1, x_83, x_84, x_85, x_3, x_4); +if (lean_obj_tag(x_89) == 0) +{ +lean_object* x_90; lean_object* x_91; uint8_t x_92; +x_90 = lean_ctor_get(x_89, 1); +lean_inc(x_90); +x_91 = lean_ctor_get(x_90, 2); +lean_inc(x_91); +x_92 = !lean_is_exclusive(x_89); +if (x_92 == 0) +{ +lean_object* x_93; lean_object* x_94; uint8_t x_95; +x_93 = lean_ctor_get(x_89, 0); +x_94 = lean_ctor_get(x_89, 1); +lean_dec(x_94); +x_95 = !lean_is_exclusive(x_90); +if (x_95 == 0) +{ +lean_object* x_96; uint8_t x_97; +x_96 = lean_ctor_get(x_90, 2); +lean_dec(x_96); +x_97 = !lean_is_exclusive(x_91); +if (x_97 == 0) +{ +lean_object* x_98; lean_object* x_99; +x_98 = lean_ctor_get(x_91, 1); +lean_inc(x_93); +x_99 = l_PersistentHashMap_insert___at___private_Init_Lean_Meta_23__checkInferTypeCache___spec__4(x_98, x_2, x_93); +lean_ctor_set(x_91, 1, x_99); +return x_89; +} +else +{ +lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; +x_100 = lean_ctor_get(x_91, 0); +x_101 = lean_ctor_get(x_91, 1); +lean_inc(x_101); +lean_inc(x_100); +lean_dec(x_91); +lean_inc(x_93); +x_102 = l_PersistentHashMap_insert___at___private_Init_Lean_Meta_23__checkInferTypeCache___spec__4(x_101, x_2, x_93); +x_103 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_103, 0, x_100); +lean_ctor_set(x_103, 1, x_102); +lean_ctor_set(x_90, 2, x_103); +return x_89; +} +} +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; +x_104 = lean_ctor_get(x_90, 0); +x_105 = lean_ctor_get(x_90, 1); +x_106 = lean_ctor_get(x_90, 3); +x_107 = lean_ctor_get(x_90, 4); +x_108 = lean_ctor_get(x_90, 5); +lean_inc(x_108); +lean_inc(x_107); +lean_inc(x_106); +lean_inc(x_105); +lean_inc(x_104); +lean_dec(x_90); +x_109 = lean_ctor_get(x_91, 0); +lean_inc(x_109); +x_110 = lean_ctor_get(x_91, 1); +lean_inc(x_110); +if (lean_is_exclusive(x_91)) { + lean_ctor_release(x_91, 0); + lean_ctor_release(x_91, 1); + x_111 = x_91; +} else { + lean_dec_ref(x_91); + x_111 = lean_box(0); +} +lean_inc(x_93); +x_112 = l_PersistentHashMap_insert___at___private_Init_Lean_Meta_23__checkInferTypeCache___spec__4(x_110, x_2, x_93); +if (lean_is_scalar(x_111)) { + x_113 = lean_alloc_ctor(0, 2, 0); +} else { + x_113 = x_111; +} +lean_ctor_set(x_113, 0, x_109); +lean_ctor_set(x_113, 1, x_112); +x_114 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_114, 0, x_104); +lean_ctor_set(x_114, 1, x_105); +lean_ctor_set(x_114, 2, x_113); +lean_ctor_set(x_114, 3, x_106); +lean_ctor_set(x_114, 4, x_107); +lean_ctor_set(x_114, 5, x_108); +lean_ctor_set(x_89, 1, x_114); +return x_89; +} +} +else +{ +lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; +x_115 = lean_ctor_get(x_89, 0); +lean_inc(x_115); +lean_dec(x_89); +x_116 = lean_ctor_get(x_90, 0); +lean_inc(x_116); +x_117 = lean_ctor_get(x_90, 1); +lean_inc(x_117); +x_118 = lean_ctor_get(x_90, 3); +lean_inc(x_118); +x_119 = lean_ctor_get(x_90, 4); +lean_inc(x_119); +x_120 = lean_ctor_get(x_90, 5); +lean_inc(x_120); +if (lean_is_exclusive(x_90)) { + lean_ctor_release(x_90, 0); + lean_ctor_release(x_90, 1); + lean_ctor_release(x_90, 2); + lean_ctor_release(x_90, 3); + lean_ctor_release(x_90, 4); + lean_ctor_release(x_90, 5); + x_121 = x_90; +} else { + lean_dec_ref(x_90); + x_121 = lean_box(0); +} +x_122 = lean_ctor_get(x_91, 0); +lean_inc(x_122); +x_123 = lean_ctor_get(x_91, 1); +lean_inc(x_123); +if (lean_is_exclusive(x_91)) { + lean_ctor_release(x_91, 0); + lean_ctor_release(x_91, 1); + x_124 = x_91; +} else { + lean_dec_ref(x_91); + x_124 = lean_box(0); +} +lean_inc(x_115); +x_125 = l_PersistentHashMap_insert___at___private_Init_Lean_Meta_23__checkInferTypeCache___spec__4(x_123, x_2, x_115); +if (lean_is_scalar(x_124)) { + x_126 = lean_alloc_ctor(0, 2, 0); +} else { + x_126 = x_124; +} +lean_ctor_set(x_126, 0, x_122); +lean_ctor_set(x_126, 1, x_125); +if (lean_is_scalar(x_121)) { + x_127 = lean_alloc_ctor(0, 6, 0); +} else { + x_127 = x_121; +} +lean_ctor_set(x_127, 0, x_116); +lean_ctor_set(x_127, 1, x_117); +lean_ctor_set(x_127, 2, x_126); +lean_ctor_set(x_127, 3, x_118); +lean_ctor_set(x_127, 4, x_119); +lean_ctor_set(x_127, 5, x_120); +x_128 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_128, 0, x_115); +lean_ctor_set(x_128, 1, x_127); +return x_128; +} +} +else +{ +uint8_t x_129; +lean_dec(x_2); +x_129 = !lean_is_exclusive(x_89); +if (x_129 == 0) +{ +return x_89; +} +else +{ +lean_object* x_130; lean_object* x_131; lean_object* x_132; +x_130 = lean_ctor_get(x_89, 0); +x_131 = lean_ctor_get(x_89, 1); +lean_inc(x_131); +lean_inc(x_130); +lean_dec(x_89); +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 +{ +lean_object* x_133; lean_object* x_134; +lean_dec(x_85); +lean_dec(x_84); +lean_dec(x_83); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_133 = lean_ctor_get(x_88, 0); +lean_inc(x_133); +lean_dec(x_88); +x_134 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_134, 0, x_133); +lean_ctor_set(x_134, 1, x_4); +return x_134; +} +} +default: +{ +lean_object* x_135; lean_object* x_136; +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_135 = l___private_Init_Lean_Meta_24__inferTypeAux___main___closed__2; +x_136 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_136, 0, x_135); +lean_ctor_set(x_136, 1, x_4); +return x_136; +} +} +} +} +lean_object* l_Nat_foldMAux___main___at___private_Init_Lean_Meta_24__inferTypeAux___main___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: +{ +lean_object* x_10; +x_10 = l_Nat_foldMAux___main___at___private_Init_Lean_Meta_24__inferTypeAux___main___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_5); +return x_10; +} +} +lean_object* l___private_Init_Lean_Meta_24__inferTypeAux(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l___private_Init_Lean_Meta_24__inferTypeAux___main(x_1, x_2, x_3, x_4); +return x_5; +} +} +lean_object* initialize_Init_Control_Reader(lean_object*); +lean_object* initialize_Init_Lean_NameGenerator(lean_object*); +lean_object* initialize_Init_Lean_Environment(lean_object*); +lean_object* initialize_Init_Lean_Trace(lean_object*); +lean_object* initialize_Init_Lean_AuxRecursor(lean_object*); +lean_object* initialize_Init_Lean_WHNF(lean_object*); +lean_object* initialize_Init_Lean_ReducibilityAttrs(lean_object*); +static bool _G_initialized = false; +lean_object* initialize_Init_Lean_Meta(lean_object* w) { +lean_object * res; +if (_G_initialized) return lean_mk_io_result(lean_box(0)); +_G_initialized = true; +res = initialize_Init_Control_Reader(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Init_Lean_NameGenerator(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Init_Lean_Environment(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Init_Lean_Trace(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Init_Lean_AuxRecursor(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Init_Lean_WHNF(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Init_Lean_ReducibilityAttrs(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_Meta_TransparencyMode_Inhabited = _init_l_Lean_Meta_TransparencyMode_Inhabited(); +l_Lean_Meta_TransparencyMode_HasBeq___closed__1 = _init_l_Lean_Meta_TransparencyMode_HasBeq___closed__1(); +lean_mark_persistent(l_Lean_Meta_TransparencyMode_HasBeq___closed__1); +l_Lean_Meta_TransparencyMode_HasBeq = _init_l_Lean_Meta_TransparencyMode_HasBeq(); +lean_mark_persistent(l_Lean_Meta_TransparencyMode_HasBeq); +l_Lean_Meta_TransparencyMode_Hashable___closed__1 = _init_l_Lean_Meta_TransparencyMode_Hashable___closed__1(); +lean_mark_persistent(l_Lean_Meta_TransparencyMode_Hashable___closed__1); +l_Lean_Meta_TransparencyMode_Hashable = _init_l_Lean_Meta_TransparencyMode_Hashable(); +lean_mark_persistent(l_Lean_Meta_TransparencyMode_Hashable); +l_Lean_Meta_tracer___closed__1 = _init_l_Lean_Meta_tracer___closed__1(); +lean_mark_persistent(l_Lean_Meta_tracer___closed__1); +l_Lean_Meta_tracer___closed__2 = _init_l_Lean_Meta_tracer___closed__2(); +lean_mark_persistent(l_Lean_Meta_tracer___closed__2); +l_Lean_Meta_tracer___closed__3 = _init_l_Lean_Meta_tracer___closed__3(); +lean_mark_persistent(l_Lean_Meta_tracer___closed__3); +l_Lean_Meta_tracer___closed__4 = _init_l_Lean_Meta_tracer___closed__4(); +lean_mark_persistent(l_Lean_Meta_tracer___closed__4); +l_Lean_Meta_tracer = _init_l_Lean_Meta_tracer(); +lean_mark_persistent(l_Lean_Meta_tracer); +l_PersistentHashMap_insert___at___private_Init_Lean_Meta_15__cacheWHNF___spec__1___closed__1 = _init_l_PersistentHashMap_insert___at___private_Init_Lean_Meta_15__cacheWHNF___spec__1___closed__1(); +lean_mark_persistent(l_PersistentHashMap_insert___at___private_Init_Lean_Meta_15__cacheWHNF___spec__1___closed__1); +l_PersistentHashMap_insert___at___private_Init_Lean_Meta_15__cacheWHNF___spec__1___closed__2 = _init_l_PersistentHashMap_insert___at___private_Init_Lean_Meta_15__cacheWHNF___spec__1___closed__2(); +lean_mark_persistent(l_PersistentHashMap_insert___at___private_Init_Lean_Meta_15__cacheWHNF___spec__1___closed__2); +l_panicWithPos___at___private_Init_Lean_Meta_16__whnfAux___main___spec__2___closed__1 = _init_l_panicWithPos___at___private_Init_Lean_Meta_16__whnfAux___main___spec__2___closed__1(); +lean_mark_persistent(l_panicWithPos___at___private_Init_Lean_Meta_16__whnfAux___main___spec__2___closed__1); +l_panicWithPos___at___private_Init_Lean_Meta_16__whnfAux___main___spec__2___closed__2 = _init_l_panicWithPos___at___private_Init_Lean_Meta_16__whnfAux___main___spec__2___closed__2(); +lean_mark_persistent(l_panicWithPos___at___private_Init_Lean_Meta_16__whnfAux___main___spec__2___closed__2); +l___private_Init_Lean_WHNF_5__toCtorWhenK___at___private_Init_Lean_Meta_16__whnfAux___main___spec__6___closed__1 = _init_l___private_Init_Lean_WHNF_5__toCtorWhenK___at___private_Init_Lean_Meta_16__whnfAux___main___spec__6___closed__1(); +lean_mark_persistent(l___private_Init_Lean_WHNF_5__toCtorWhenK___at___private_Init_Lean_Meta_16__whnfAux___main___spec__6___closed__1); +l___private_Init_Lean_Meta_24__inferTypeAux___main___closed__1 = _init_l___private_Init_Lean_Meta_24__inferTypeAux___main___closed__1(); +lean_mark_persistent(l___private_Init_Lean_Meta_24__inferTypeAux___main___closed__1); +l___private_Init_Lean_Meta_24__inferTypeAux___main___closed__2 = _init_l___private_Init_Lean_Meta_24__inferTypeAux___main___closed__2(); +lean_mark_persistent(l___private_Init_Lean_Meta_24__inferTypeAux___main___closed__2); +return lean_mk_io_result(lean_box(0)); +} +#ifdef __cplusplus +} +#endif diff --git a/src/stage0/Init/Lean/MetavarContext.c b/src/stage0/Init/Lean/MetavarContext.c index e393e296bf..c85de239cd 100644 --- a/src/stage0/Init/Lean/MetavarContext.c +++ b/src/stage0/Init/Lean/MetavarContext.c @@ -27,6 +27,7 @@ lean_object* l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__ uint8_t lean_expr_has_fvar(lean_object*); uint8_t l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__25(lean_object*, lean_object*, lean_object*); lean_object* l_panicWithPos___at_Lean_Level_normalize___main___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_LocalContext_Inhabited___closed__3; lean_object* l_Nat_foldRevMAux___main___at_Lean_MetavarContext_mkBinding___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_name_dec_eq(lean_object*, lean_object*); lean_object* l_PersistentHashMap_findAux___main___at_Lean_MetavarContext_getLevelAssignment___spec__2(lean_object*, size_t, lean_object*); @@ -63,7 +64,6 @@ lean_object* lean_mk_array(lean_object*, lean_object*); lean_object* l_PersistentHashMap_insertAux___main___at_Lean_MetavarContext_assignExpr___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__28(lean_object*, lean_object*); lean_object* l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__23___boxed(lean_object*, lean_object*); -extern lean_object* l_Lean_exprIsInhabited; extern lean_object* l_List_repr___rarg___closed__3; lean_object* l_Lean_MetavarContext_MkBinding_mkBinding___at___private_Init_Lean_MetavarContext_23__mkForallAux___spec__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_expr_hash(lean_object*); @@ -95,7 +95,6 @@ lean_object* l_StateT_Monad___rarg(lean_object*); lean_object* l_PersistentHashMap_findAtAux___main___at_Lean_MetavarContext_getDelayedAssignment___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_MkBindingException_toStr___closed__6; uint8_t l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__7(lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_LocalContext_Inhabited___closed__1; lean_object* l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__35___boxed(lean_object*, lean_object*); lean_object* l___private_Init_Lean_MetavarContext_24__mkMVarApp(lean_object*, lean_object*, lean_object*); uint8_t l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__19(lean_object*, lean_object*, lean_object*); @@ -257,7 +256,6 @@ extern lean_object* l_Char_HasRepr___closed__1; lean_object* l___private_Init_Lean_MetavarContext_20__getMCtx(lean_object*); lean_object* l_PersistentArray_foldlFromM___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__58___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_MetavarContext_11__dep___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__27(lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_PersistentHashMap_empty___closed__3; lean_object* l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__17___boxed(lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_Lean_MetavarContext_assignDelayed___spec__4(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___lambda__1___boxed(lean_object*, lean_object*); @@ -274,6 +272,7 @@ uint8_t l_AssocList_contains___main___at___private_Init_Lean_MetavarContext_10__ lean_object* l_AssocList_replace___main___at___private_Init_Lean_MetavarContext_10__visit___spec__7(lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* l___private_Init_Lean_MetavarContext_11__dep___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__45___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_LocalContext_Inhabited___closed__2; lean_object* lean_array_push(lean_object*, lean_object*); uint8_t l_AssocList_contains___main___at___private_Init_Lean_MetavarContext_4__visit___spec__4(lean_object*, lean_object*); lean_object* l___private_Init_Lean_MetavarContext_14__mkLambda(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -326,6 +325,7 @@ lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_ lean_object* l___private_Init_Lean_MetavarContext_7__instantiateDelayedAux___main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___closed__2; lean_object* l_PersistentHashMap_insert___at_Lean_MetavarContext_assignExpr___spec__1(lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Expr_inhabited; lean_object* l_panicWithPos___at___private_Init_Lean_MetavarContext_7__instantiateDelayedAux___main___spec__1___closed__1; lean_object* l_Lean_MetavarContext_MkBindingException_HasToString___closed__1; uint8_t l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__34(lean_object*, lean_object*); @@ -442,6 +442,7 @@ lean_object* l___private_Init_Lean_MetavarContext_10__visit(lean_object*, lean_o lean_object* l_Lean_MetavarContext_isExprAssigned___boxed(lean_object*, lean_object*); uint8_t l_Lean_MetavarContext_hasAssignedMVar(lean_object*, lean_object*); lean_object* l_EStateM_bind___rarg(lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Expr_inhabited___closed__1; lean_object* l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__55___boxed(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_MetavarContext_11__dep___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_findAtAux___main___at_Lean_MetavarContext_isLevelAssignable___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -529,7 +530,6 @@ lean_object* l_PersistentHashMap_findAux___main___at_Lean_MetavarContext_getDela lean_object* l_Nat_foldRevMAux___main___at___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_MetavarContext_18__reduceLocalContext___boxed(lean_object*, lean_object*); lean_object* l_Lean_LocalDecl_toExpr(lean_object*); -extern lean_object* l_Lean_exprIsInhabited___closed__1; lean_object* l_Lean_LocalContext_foldlFromM___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__57___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_List_repr___rarg___closed__1; lean_object* l_PersistentHashMap_containsAux___main___at_Lean_MetavarContext_isLevelAssigned___spec__2___boxed(lean_object*, lean_object*, lean_object*); @@ -559,8 +559,8 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5; lean_object* x_6; x_1 = lean_box(0); -x_2 = l_Lean_LocalContext_Inhabited___closed__1; -x_3 = l_Lean_exprIsInhabited___closed__1; +x_2 = l_Lean_LocalContext_Inhabited___closed__3; +x_3 = l_Lean_Expr_inhabited___closed__1; x_4 = lean_unsigned_to_nat(0u); x_5 = 0; x_6 = lean_alloc_ctor(0, 4, 1); @@ -585,7 +585,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_unsigned_to_nat(0u); -x_2 = l_PersistentHashMap_empty___closed__3; +x_2 = l_Lean_LocalContext_Inhabited___closed__2; x_3 = lean_alloc_ctor(0, 6, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); @@ -6979,7 +6979,7 @@ lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_ x_9 = lean_unsigned_to_nat(1u); x_10 = lean_nat_sub(x_4, x_9); lean_dec(x_4); -x_11 = l_Lean_exprIsInhabited; +x_11 = l_Lean_Expr_inhabited; x_12 = lean_array_get(x_11, x_3, x_10); lean_inc(x_2); x_13 = l_Lean_LocalContext_findFVar(x_2, x_12); @@ -8027,7 +8027,7 @@ lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_o x_8 = lean_unsigned_to_nat(1u); x_9 = lean_nat_sub(x_3, x_8); lean_dec(x_3); -x_10 = l_Lean_exprIsInhabited; +x_10 = l_Lean_Expr_inhabited; x_11 = lean_array_get(x_10, x_2, x_9); lean_inc(x_1); x_12 = l_Lean_LocalContext_findFVar(x_1, x_11); @@ -14411,7 +14411,7 @@ lean_dec(x_216); lean_dec(x_214); lean_dec(x_1); x_221 = l_Lean_Expr_getRevArg_x21___main___closed__1; -x_222 = lean_unsigned_to_nat(513u); +x_222 = lean_unsigned_to_nat(532u); x_223 = lean_unsigned_to_nat(18u); x_224 = l_Lean_Expr_updateLambda_x21___closed__1; x_225 = l_panicWithPos___at_Lean_Expr_getRevArg_x21___main___spec__1(x_221, x_222, x_223, x_224); @@ -14712,7 +14712,7 @@ lean_dec(x_289); lean_dec(x_287); lean_dec(x_1); x_294 = l_Lean_Expr_getRevArg_x21___main___closed__1; -x_295 = lean_unsigned_to_nat(499u); +x_295 = lean_unsigned_to_nat(518u); x_296 = lean_unsigned_to_nat(22u); x_297 = l_Lean_Expr_updateForall_x21___closed__1; x_298 = l_panicWithPos___at_Lean_Expr_getRevArg_x21___main___spec__1(x_294, x_295, x_296, x_297); @@ -15148,7 +15148,7 @@ lean_dec(x_363); lean_dec(x_361); lean_dec(x_1); x_369 = l_Lean_Expr_getRevArg_x21___main___closed__1; -x_370 = lean_unsigned_to_nat(522u); +x_370 = lean_unsigned_to_nat(541u); x_371 = lean_unsigned_to_nat(18u); x_372 = l_Lean_Expr_letName_x21___closed__1; x_373 = l_panicWithPos___at_Lean_Expr_getRevArg_x21___main___spec__1(x_369, x_370, x_371, x_372); @@ -15494,7 +15494,7 @@ lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean lean_dec(x_15); lean_dec(x_1); x_19 = l_Lean_Expr_getRevArg_x21___main___closed__1; -x_20 = lean_unsigned_to_nat(480u); +x_20 = lean_unsigned_to_nat(499u); x_21 = lean_unsigned_to_nat(15u); x_22 = l_Lean_Expr_updateMData_x21___closed__1; x_23 = l_panicWithPos___at_Lean_Expr_getRevArg_x21___main___spec__1(x_19, x_20, x_21, x_22); @@ -15521,7 +15521,7 @@ lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean lean_dec(x_26); lean_dec(x_1); x_30 = l_Lean_Expr_getRevArg_x21___main___closed__1; -x_31 = lean_unsigned_to_nat(485u); +x_31 = lean_unsigned_to_nat(504u); x_32 = lean_unsigned_to_nat(16u); x_33 = l_Lean_Expr_updateProj_x21___closed__1; x_34 = l_panicWithPos___at_Lean_Expr_getRevArg_x21___main___spec__1(x_30, x_31, x_32, x_33); @@ -18328,7 +18328,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_EIO_Monad___closed__1; -x_2 = l_Lean_exprIsInhabited; +x_2 = l_Lean_Expr_inhabited; x_3 = l_monadInhabited___rarg(x_1, x_2); return x_3; } @@ -18362,7 +18362,7 @@ lean_object* l_Nat_foldRevMAux___main___at_Lean_MetavarContext_MkBinding_mkBindi _start: { lean_object* x_8; lean_object* x_9; lean_object* x_10; -x_8 = l_Lean_exprIsInhabited; +x_8 = l_Lean_Expr_inhabited; x_9 = lean_array_get(x_8, x_1, x_2); x_10 = l_Lean_LocalContext_findFVar(x_3, x_9); lean_dec(x_9); @@ -18917,7 +18917,7 @@ lean_object* l___private_Init_Lean_MetavarContext_16__getLocalDeclWithSmallestId _start: { lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_3 = l_Lean_exprIsInhabited; +x_3 = l_Lean_Expr_inhabited; x_4 = lean_unsigned_to_nat(0u); x_5 = lean_array_get(x_3, x_2, x_4); lean_inc(x_1); @@ -32922,7 +32922,7 @@ lean_object* l_Nat_foldRevMAux___main___at___private_Init_Lean_MetavarContext_23 _start: { lean_object* x_8; lean_object* x_9; lean_object* x_10; -x_8 = l_Lean_exprIsInhabited; +x_8 = l_Lean_Expr_inhabited; x_9 = lean_array_get(x_8, x_1, x_2); x_10 = l_Lean_LocalContext_findFVar(x_3, x_9); lean_dec(x_9); @@ -34796,7 +34796,7 @@ lean_object* l_Nat_foldRevMAux___main___at___private_Init_Lean_MetavarContext_26 _start: { lean_object* x_7; lean_object* x_8; lean_object* x_9; -x_7 = l_Lean_exprIsInhabited; +x_7 = l_Lean_Expr_inhabited; x_8 = lean_array_get(x_7, x_1, x_2); x_9 = l_Lean_LocalContext_findFVar(x_3, x_8); lean_dec(x_8); @@ -40406,7 +40406,7 @@ lean_dec(x_166); lean_dec(x_164); lean_dec(x_2); x_171 = l_Lean_Expr_getRevArg_x21___main___closed__1; -x_172 = lean_unsigned_to_nat(513u); +x_172 = lean_unsigned_to_nat(532u); x_173 = lean_unsigned_to_nat(18u); x_174 = l_Lean_Expr_updateLambda_x21___closed__1; x_175 = l_panicWithPos___at_Lean_Expr_getRevArg_x21___main___spec__1(x_171, x_172, x_173, x_174); @@ -40835,7 +40835,7 @@ lean_dec(x_259); lean_dec(x_257); lean_dec(x_2); x_264 = l_Lean_Expr_getRevArg_x21___main___closed__1; -x_265 = lean_unsigned_to_nat(499u); +x_265 = lean_unsigned_to_nat(518u); x_266 = lean_unsigned_to_nat(22u); x_267 = l_Lean_Expr_updateForall_x21___closed__1; x_268 = l_panicWithPos___at_Lean_Expr_getRevArg_x21___main___spec__1(x_264, x_265, x_266, x_267); @@ -41469,7 +41469,7 @@ lean_dec(x_353); lean_dec(x_351); lean_dec(x_2); x_359 = l_Lean_Expr_getRevArg_x21___main___closed__1; -x_360 = lean_unsigned_to_nat(522u); +x_360 = lean_unsigned_to_nat(541u); x_361 = lean_unsigned_to_nat(18u); x_362 = l_Lean_Expr_letName_x21___closed__1; x_363 = l_panicWithPos___at_Lean_Expr_getRevArg_x21___main___spec__1(x_359, x_360, x_361, x_362); @@ -41904,7 +41904,7 @@ lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_o lean_dec(x_4); lean_dec(x_2); x_8 = l_Lean_Expr_getRevArg_x21___main___closed__1; -x_9 = lean_unsigned_to_nat(480u); +x_9 = lean_unsigned_to_nat(499u); x_10 = lean_unsigned_to_nat(15u); x_11 = l_Lean_Expr_updateMData_x21___closed__1; x_12 = l_panicWithPos___at_Lean_Expr_getRevArg_x21___main___spec__1(x_8, x_9, x_10, x_11); @@ -41931,7 +41931,7 @@ lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean lean_dec(x_15); lean_dec(x_2); x_19 = l_Lean_Expr_getRevArg_x21___main___closed__1; -x_20 = lean_unsigned_to_nat(485u); +x_20 = lean_unsigned_to_nat(504u); x_21 = lean_unsigned_to_nat(16u); x_22 = l_Lean_Expr_updateProj_x21___closed__1; x_23 = l_panicWithPos___at_Lean_Expr_getRevArg_x21___main___spec__1(x_19, x_20, x_21, x_22); @@ -42435,7 +42435,7 @@ lean_object* l_Nat_foldRevMAux___main___at_Lean_MetavarContext_mkBinding___spec_ _start: { lean_object* x_7; lean_object* x_8; lean_object* x_9; -x_7 = l_Lean_exprIsInhabited; +x_7 = l_Lean_Expr_inhabited; x_8 = lean_array_get(x_7, x_1, x_2); x_9 = l_Lean_LocalContext_findFVar(x_3, x_8); lean_dec(x_8); diff --git a/src/stage0/Init/Lean/ReducibilityAttrs.c b/src/stage0/Init/Lean/ReducibilityAttrs.c index 53418f0afe..fd1e6dcce7 100644 --- a/src/stage0/Init/Lean/ReducibilityAttrs.c +++ b/src/stage0/Init/Lean/ReducibilityAttrs.c @@ -13,6 +13,7 @@ #ifdef __cplusplus extern "C" { #endif +uint8_t l_Lean_isReducible(lean_object*, lean_object*); lean_object* l_Lean_mkReducibilityAttrs___closed__4; lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_registerEnumAttributes___at_Lean_mkReducibilityAttrs___spec__1___lambda__2___boxed(lean_object*); @@ -53,6 +54,7 @@ extern lean_object* l_Lean_registerEnumAttributes___rarg___closed__1; extern lean_object* l_Lean_AttributeImpl_inhabited___closed__4; lean_object* lean_set_reducibility_status(lean_object*, lean_object*, uint8_t); lean_object* l_Lean_registerTagAttribute___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_isReducible___boxed(lean_object*, lean_object*); lean_object* l_List_map___main___at_Lean_mkReducibilityAttrs___spec__8___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_EnumAttributes_Inhabited___closed__1; lean_object* l_Lean_mkReducibilityAttrs___closed__8; @@ -2065,6 +2067,36 @@ x_5 = lean_set_reducibility_status(x_1, x_2, x_4); return x_5; } } +uint8_t l_Lean_isReducible(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = lean_get_reducibility_status(x_1, x_2); +x_4 = lean_box(x_3); +if (lean_obj_tag(x_4) == 0) +{ +uint8_t x_5; +x_5 = 1; +return x_5; +} +else +{ +uint8_t x_6; +lean_dec(x_4); +x_6 = 0; +return x_6; +} +} +} +lean_object* l_Lean_isReducible___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l_Lean_isReducible(x_1, x_2); +x_4 = lean_box(x_3); +return x_4; +} +} lean_object* initialize_Init_Lean_Attributes(lean_object*); static bool _G_initialized = false; lean_object* initialize_Init_Lean_ReducibilityAttrs(lean_object* w) { diff --git a/src/stage0/Init/Lean/SMap.c b/src/stage0/Init/Lean/SMap.c index ba575852b9..1eb065cecc 100644 --- a/src/stage0/Init/Lean/SMap.c +++ b/src/stage0/Init/Lean/SMap.c @@ -17,9 +17,8 @@ lean_object* l_Lean_SMap_find_x21___rarg___boxed(lean_object*, lean_object*, lea lean_object* l_PersistentHashMap_foldlM___at_Lean_SMap_foldStage2___spec__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_SMap_numBuckets___rarg(lean_object*); lean_object* l_Lean_SMap_find(lean_object*, lean_object*); -extern lean_object* l_PersistentHashMap_HasEmptyc___closed__1; lean_object* l_Lean_SMap_find_x21___rarg___closed__1; -lean_object* l_Lean_SMap_foldStage2___rarg___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_SMap_foldStage2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_PersistentHashMap_find_x21___rarg___closed__2; lean_object* l_PersistentHashMap_insert___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_SMap_empty___rarg(lean_object*, lean_object*); @@ -32,7 +31,6 @@ lean_object* l_Lean_SMap_find___rarg(lean_object*, lean_object*, lean_object*, l lean_object* l_Lean_SMap_Inhabited(lean_object*, lean_object*); lean_object* l_HashMap_numBuckets___rarg(lean_object*); lean_object* l_Lean_SMap_stageSizes(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_SMap_foldStage2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_SMap_Inhabited___rarg(lean_object*, lean_object*); lean_object* l_Lean_SMap_switch___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_SMap_insert(lean_object*, lean_object*); @@ -43,19 +41,21 @@ lean_object* l_Array_iterateMAux___main___at_Lean_SMap_foldStage2___spec__4(lean lean_object* l_Lean_SMap_size(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_SMap_size___rarg___boxed(lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); -lean_object* l_PersistentHashMap_foldlM___at_Lean_SMap_foldStage2___spec__1(lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentHashMap_foldlM___at_Lean_SMap_foldStage2___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); lean_object* l_PersistentHashMap_foldlMAux___main___at_Lean_SMap_foldStage2___spec__2(lean_object*, lean_object*, lean_object*); lean_object* l_HashMapImp_find___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_HashMapImp_insert___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_SMap_switch(lean_object*, lean_object*); lean_object* l_Lean_SMap_find_x27(lean_object*, lean_object*); +lean_object* l_PersistentHashMap_empty___rarg(lean_object*, lean_object*); lean_object* l_PersistentHashMap_foldlM___at_Lean_SMap_foldStage2___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_SMap_contains___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_SMap_find_x21___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_SMap_findD___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_SMap_size___rarg(lean_object*); lean_object* l_Lean_SMap_numBuckets___rarg___boxed(lean_object*); +lean_object* l_PersistentHashMap_foldlM___at_Lean_SMap_foldStage2___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_SMap_find_x27___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_SMap_empty(lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_Lean_SMap_foldStage2___spec__3(lean_object*, lean_object*, lean_object*); @@ -72,13 +72,13 @@ lean_object* l_Lean_SMap_stageSizes___rarg___boxed(lean_object*); lean_object* l_Lean_SMap_HasEmptyc___rarg(lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); lean_object* l_Lean_SMap_stageSizes___rarg(lean_object*); -lean_object* l_Lean_SMap_foldStage2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_SMap_foldStage2(lean_object*, lean_object*); lean_object* l_Lean_SMap_switch___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_SMap_find___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_SMap_find_x21(lean_object*, lean_object*); lean_object* l_PersistentHashMap_contains___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_SMap_findD(lean_object*, lean_object*); -lean_object* l_Lean_SMap_foldStage2___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_SMap_foldStage2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_Lean_SMap_foldStage2___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_SMap_numBuckets(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_foldlMAux___main___at_Lean_SMap_foldStage2___spec__2___rarg(lean_object*, lean_object*, lean_object*); @@ -89,14 +89,14 @@ lean_object* l_panicWithPos___rarg(lean_object*, lean_object*, lean_object*, lea lean_object* l_Lean_SMap_Inhabited___rarg(lean_object* x_1, lean_object* x_2) { _start: { -uint8_t x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_3 = 1; -x_4 = l_HashMap_Inhabited___closed__1; -x_5 = l_PersistentHashMap_HasEmptyc___closed__1; +lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; +x_3 = l_PersistentHashMap_empty___rarg(x_2, x_1); +x_4 = 1; +x_5 = l_HashMap_Inhabited___closed__1; x_6 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_6, 0, x_4); -lean_ctor_set(x_6, 1, x_5); -lean_ctor_set_uint8(x_6, sizeof(void*)*2, x_3); +lean_ctor_set(x_6, 0, x_5); +lean_ctor_set(x_6, 1, x_3); +lean_ctor_set_uint8(x_6, sizeof(void*)*2, x_4); return x_6; } } @@ -121,14 +121,14 @@ return x_3; lean_object* l_Lean_SMap_empty___rarg(lean_object* x_1, lean_object* x_2) { _start: { -uint8_t x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_3 = 1; -x_4 = l_HashMap_Inhabited___closed__1; -x_5 = l_PersistentHashMap_HasEmptyc___closed__1; +lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; +x_3 = l_PersistentHashMap_empty___rarg(x_2, x_1); +x_4 = 1; +x_5 = l_HashMap_Inhabited___closed__1; x_6 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_6, 0, x_4); -lean_ctor_set(x_6, 1, x_5); -lean_ctor_set_uint8(x_6, sizeof(void*)*2, x_3); +lean_ctor_set(x_6, 0, x_5); +lean_ctor_set(x_6, 1, x_3); +lean_ctor_set_uint8(x_6, sizeof(void*)*2, x_4); return x_6; } } @@ -699,31 +699,31 @@ x_5 = l_PersistentHashMap_foldlMAux___main___at_Lean_SMap_foldStage2___spec__2__ return x_5; } } -lean_object* l_PersistentHashMap_foldlM___at_Lean_SMap_foldStage2___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_PersistentHashMap_foldlM___at_Lean_SMap_foldStage2___spec__1___rarg___boxed), 3, 0); -return x_4; -} -} -lean_object* l_Lean_SMap_foldStage2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; lean_object* x_5; -x_4 = lean_ctor_get(x_3, 1); -x_5 = l_PersistentHashMap_foldlM___at_Lean_SMap_foldStage2___spec__1___rarg(x_1, x_4, x_2); -return x_5; -} -} -lean_object* l_Lean_SMap_foldStage2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_PersistentHashMap_foldlM___at_Lean_SMap_foldStage2___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; -x_6 = lean_alloc_closure((void*)(l_Lean_SMap_foldStage2___rarg___boxed), 3, 0); +x_6 = lean_alloc_closure((void*)(l_PersistentHashMap_foldlM___at_Lean_SMap_foldStage2___spec__1___rarg___boxed), 3, 0); return x_6; } } +lean_object* l_Lean_SMap_foldStage2___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; +x_7 = lean_ctor_get(x_6, 1); +x_8 = l_PersistentHashMap_foldlM___at_Lean_SMap_foldStage2___spec__1___rarg(x_4, x_7, x_5); +return x_8; +} +} +lean_object* l_Lean_SMap_foldStage2(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Lean_SMap_foldStage2___rarg___boxed), 6, 0); +return x_3; +} +} lean_object* l_Array_iterateMAux___main___at_Lean_SMap_foldStage2___spec__3___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { @@ -763,25 +763,27 @@ lean_dec(x_2); return x_4; } } -lean_object* l_Lean_SMap_foldStage2___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l_Lean_SMap_foldStage2___rarg(x_1, x_2, x_3); -lean_dec(x_3); -return x_4; -} -} -lean_object* l_Lean_SMap_foldStage2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_PersistentHashMap_foldlM___at_Lean_SMap_foldStage2___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; -x_6 = l_Lean_SMap_foldStage2(x_1, x_2, x_3, x_4, x_5); +x_6 = l_PersistentHashMap_foldlM___at_Lean_SMap_foldStage2___spec__1(x_1, x_2, x_3, x_4, x_5); lean_dec(x_4); lean_dec(x_3); return x_6; } } +lean_object* l_Lean_SMap_foldStage2___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_SMap_foldStage2___rarg(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_6); +lean_dec(x_2); +lean_dec(x_1); +return x_7; +} +} lean_object* l_Lean_SMap_size___rarg(lean_object* x_1) { _start: { diff --git a/src/stage0/Init/Lean/TypeClass/Basic.c b/src/stage0/Init/Lean/TypeClass/Basic.c index 84b897bfab..95144c6247 100644 --- a/src/stage0/Init/Lean/TypeClass/Basic.c +++ b/src/stage0/Init/Lean/TypeClass/Basic.c @@ -14,12 +14,34 @@ extern "C" { #endif extern lean_object* l_Array_empty___closed__1; -extern lean_object* l_PersistentHashMap_HasEmptyc___closed__1; +extern lean_object* l_PersistentHashMap_empty___rarg___closed__2; lean_object* l_Lean_TypeClass_synthCommand___closed__1; +lean_object* l_PersistentHashMap_empty___at_Lean_TypeClass_synthCommand___spec__1___closed__1; +lean_object* l_PersistentHashMap_empty___at_Lean_TypeClass_synthCommand___spec__1; lean_object* l_Queue_empty(lean_object*); lean_object* l_Lean_TypeClass_synth(lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Expr_inhabited___closed__1; lean_object* lean_typeclass_synth_command(lean_object*, lean_object*); -extern lean_object* l_Lean_exprIsInhabited___closed__1; +lean_object* _init_l_PersistentHashMap_empty___at_Lean_TypeClass_synthCommand___spec__1___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_PersistentHashMap_empty___rarg___closed__2; +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_object* _init_l_PersistentHashMap_empty___at_Lean_TypeClass_synthCommand___spec__1() { +_start: +{ +lean_object* x_1; +x_1 = l_PersistentHashMap_empty___at_Lean_TypeClass_synthCommand___spec__1___closed__1; +return x_1; +} +} lean_object* _init_l_Lean_TypeClass_synthCommand___closed__1() { _start: { @@ -33,10 +55,10 @@ _start: { lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; x_3 = lean_box(0); -x_4 = l_Lean_exprIsInhabited___closed__1; +x_4 = l_Lean_Expr_inhabited___closed__1; x_5 = l_Array_empty___closed__1; x_6 = l_Lean_TypeClass_synthCommand___closed__1; -x_7 = l_PersistentHashMap_HasEmptyc___closed__1; +x_7 = l_PersistentHashMap_empty___at_Lean_TypeClass_synthCommand___spec__1; x_8 = lean_alloc_ctor(0, 7, 0); lean_ctor_set(x_8, 0, x_1); lean_ctor_set(x_8, 1, x_3); @@ -82,6 +104,10 @@ lean_dec_ref(res); res = initialize_Init_Lean_TypeClass_Synth(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +l_PersistentHashMap_empty___at_Lean_TypeClass_synthCommand___spec__1___closed__1 = _init_l_PersistentHashMap_empty___at_Lean_TypeClass_synthCommand___spec__1___closed__1(); +lean_mark_persistent(l_PersistentHashMap_empty___at_Lean_TypeClass_synthCommand___spec__1___closed__1); +l_PersistentHashMap_empty___at_Lean_TypeClass_synthCommand___spec__1 = _init_l_PersistentHashMap_empty___at_Lean_TypeClass_synthCommand___spec__1(); +lean_mark_persistent(l_PersistentHashMap_empty___at_Lean_TypeClass_synthCommand___spec__1); l_Lean_TypeClass_synthCommand___closed__1 = _init_l_Lean_TypeClass_synthCommand___closed__1(); lean_mark_persistent(l_Lean_TypeClass_synthCommand___closed__1); return lean_mk_io_result(lean_box(0)); diff --git a/src/stage0/Init/Lean/TypeClass/Context.c b/src/stage0/Init/Lean/TypeClass/Context.c index 1063ccb82c..ca29e397b2 100644 --- a/src/stage0/Init/Lean/TypeClass/Context.c +++ b/src/stage0/Init/Lean/TypeClass/Context.c @@ -32,7 +32,6 @@ lean_object* l_Lean_TypeClass_Context_eInfer(lean_object*, lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_TypeClass_Context_eMetaIdx(lean_object*); lean_object* lean_mk_array(lean_object*, lean_object*); -extern lean_object* l_Lean_exprIsInhabited; lean_object* l_RBNode_find___main___at_Lean_TypeClass_Context_uAlphaNormalizeCore___main___spec__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_TypeClass_Context_uAssignIdx___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_monadInhabited___rarg(lean_object*, lean_object*); @@ -142,6 +141,7 @@ extern lean_object* l_PersistentArray_getAux___main___rarg___closed__1; lean_object* l_Lean_TypeClass_Context_slowWhnfApp___main(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_TypeClass_Context_uOccursIn___lambda__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Expr_fvarId_x21(lean_object*); +extern lean_object* l_Lean_Expr_inhabited; extern lean_object* l_panicWithPos___at___private_Init_Lean_MetavarContext_7__instantiateDelayedAux___main___spec__1___closed__1; lean_object* lean_expr_mk_mvar(lean_object*); lean_object* l_Lean_TypeClass_Context_eHasETmpMVar___boxed(lean_object*); @@ -178,6 +178,7 @@ uint8_t l_Lean_TypeClass_Context_eIsMeta(lean_object*); lean_object* l_RBNode_setBlack___rarg(lean_object*); lean_object* l_List_foldr___main___at_Lean_TypeClass_Context_eHasTmpMVar___spec__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_TypeClass_Context_eLookupIdx(lean_object*, lean_object*); +extern lean_object* l_Lean_Expr_inhabited___closed__1; lean_object* l_Lean_TypeClass_Context_uFind___boxed(lean_object*, lean_object*); lean_object* l_Lean_TypeClass_Context_eInferIdx___boxed(lean_object*, lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); @@ -208,7 +209,6 @@ lean_object* l_Lean_TypeClass_Context_uInstantiate(lean_object*, lean_object*); lean_object* l_Lean_TypeClass_Context_uUnify___main___closed__2; uint8_t l_Lean_TypeClass_Context_eHasTmpMVar___lambda__1(lean_object*); lean_object* l_Lean_TypeClass_Context_eHasTmpMVar___lambda__1___boxed(lean_object*); -extern lean_object* l_Lean_exprIsInhabited___closed__1; lean_object* lean_level_mk_max(lean_object*, lean_object*); lean_object* l_Lean_TypeClass_Context_uAssign___closed__1; lean_object* l_Lean_TypeClass_Context_uUnify___main___closed__5; @@ -627,7 +627,7 @@ x_16 = lean_ctor_get(x_1, 0); lean_inc(x_16); lean_dec(x_1); x_17 = lean_usize_to_nat(x_2); -x_18 = l_Lean_exprIsInhabited; +x_18 = l_Lean_Expr_inhabited; x_19 = lean_array_get(x_18, x_16, x_17); lean_dec(x_17); lean_dec(x_16); @@ -662,7 +662,7 @@ lean_inc(x_9); lean_dec(x_1); x_10 = lean_nat_sub(x_2, x_3); lean_dec(x_3); -x_11 = l_Lean_exprIsInhabited; +x_11 = l_Lean_Expr_inhabited; x_12 = lean_array_get(x_11, x_9, x_10); lean_dec(x_10); lean_dec(x_9); @@ -2594,7 +2594,7 @@ else lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; x_3 = lean_unsigned_to_nat(0u); x_4 = l_Lean_Expr_getAppNumArgsAux___main(x_1, x_3); -x_5 = l_Lean_exprIsInhabited___closed__1; +x_5 = l_Lean_Expr_inhabited___closed__1; lean_inc(x_4); x_6 = lean_mk_array(x_4, x_5); x_7 = lean_unsigned_to_nat(1u); @@ -2669,7 +2669,7 @@ lean_dec(x_4); x_10 = lean_nat_sub(x_3, x_9); x_11 = lean_nat_sub(x_10, x_8); lean_dec(x_10); -x_12 = l_Lean_exprIsInhabited; +x_12 = l_Lean_Expr_inhabited; x_13 = lean_array_get(x_12, x_1, x_11); x_14 = lean_array_get(x_12, x_2, x_11); lean_dec(x_11); @@ -3347,7 +3347,7 @@ 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; -x_96 = l_Lean_exprIsInhabited___closed__1; +x_96 = l_Lean_Expr_inhabited___closed__1; lean_inc(x_78); x_97 = lean_mk_array(x_78, x_96); x_98 = lean_unsigned_to_nat(1u); @@ -6741,7 +6741,7 @@ lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean x_80 = lean_ctor_get(x_71, 0); lean_dec(x_80); x_81 = l_Lean_Expr_getRevArg_x21___main___closed__1; -x_82 = lean_unsigned_to_nat(454u); +x_82 = lean_unsigned_to_nat(473u); x_83 = lean_unsigned_to_nat(16u); x_84 = l_Lean_Expr_constName_x21___closed__1; x_85 = l_panicWithPos___at_Lean_Expr_getRevArg_x21___main___spec__1(x_81, x_82, x_83, x_84); @@ -6755,7 +6755,7 @@ x_86 = lean_ctor_get(x_71, 1); lean_inc(x_86); lean_dec(x_71); x_87 = l_Lean_Expr_getRevArg_x21___main___closed__1; -x_88 = lean_unsigned_to_nat(454u); +x_88 = lean_unsigned_to_nat(473u); x_89 = lean_unsigned_to_nat(16u); x_90 = l_Lean_Expr_constName_x21___closed__1; x_91 = l_panicWithPos___at_Lean_Expr_getRevArg_x21___main___spec__1(x_87, x_88, x_89, x_90); diff --git a/src/stage0/Init/Lean/TypeClass/Synth.c b/src/stage0/Init/Lean/TypeClass/Synth.c index 86d2bb8717..481256b5c7 100644 --- a/src/stage0/Init/Lean/TypeClass/Synth.c +++ b/src/stage0/Init/Lean/TypeClass/Synth.c @@ -16,6 +16,7 @@ extern "C" { lean_object* l_panicWithPos___at_Lean_TypeClass_collectEReplacements___main___spec__1___closed__2; lean_object* l_PersistentHashMap_insertAux___main___at_Lean_TypeClass_newSubgoal___spec__3(lean_object*, size_t, size_t, lean_object*, lean_object*); lean_object* l_Lean_TypeClass_introduceLocals(lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_LocalContext_Inhabited___closed__3; size_t l_USize_mul(size_t, size_t); lean_object* l_Lean_TypeClass_synth___closed__2; extern lean_object* l_Array_empty___closed__1; @@ -40,7 +41,6 @@ lean_object* lean_expr_dbg_to_string(lean_object*); lean_object* l_Array_iterateMAux___main___at_Lean_TypeClass_consume___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Queue_enqueue___rarg(lean_object*, lean_object*); lean_object* l_panicWithPos___at_Lean_TypeClass_collectEReplacements___main___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_LocalContext_Inhabited___closed__1; lean_object* l_Lean_TypeClass_introduceLocals___main___closed__2; lean_object* l_Lean_TypeClass_newAnswer(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_TypeClass_synthCore___main___closed__1; @@ -167,6 +167,7 @@ lean_object* l_Lean_TypeClass_synth(lean_object*, lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); lean_object* l_Lean_TypeClass_TypedExpr_HasToString(lean_object*); lean_object* l_Stack_peek_x21___at_Lean_TypeClass_consume___spec__1___boxed(lean_object*); +extern lean_object* l_Lean_Expr_inhabited___closed__1; lean_object* l_Stack_modify___at_Lean_TypeClass_generate___spec__4(lean_object*, lean_object*); lean_object* l_Lean_TypeClass_introduceMVars___main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Stack_pop___at_Lean_TypeClass_generate___spec__3(lean_object*); @@ -193,7 +194,6 @@ lean_object* l_Lean_TypeClass_tryResolve(lean_object*, lean_object*, lean_object lean_object* l_Lean_TypeClass_collectEReplacements___main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_TypeClass_newSubgoal(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_LocalContext_mkForall(lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_exprIsInhabited___closed__1; lean_object* l_Array_back___at_Lean_TypeClass_generate___spec__2___boxed(lean_object*); lean_object* l_Lean_TypeClass_synth___closed__3; lean_object* l_Lean_TypeClass_constNameToTypedExpr___closed__2; @@ -241,7 +241,7 @@ lean_object* _init_l_Lean_TypeClass_TypedExpr_Inhabited___closed__1() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_exprIsInhabited___closed__1; +x_1 = l_Lean_Expr_inhabited___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); @@ -260,7 +260,7 @@ lean_object* _init_l_Lean_TypeClass_Node_Inhabited___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_exprIsInhabited___closed__1; +x_1 = l_Lean_Expr_inhabited___closed__1; x_2 = l_Lean_TypeClass_Context_Inhabited___closed__1; x_3 = l_Lean_TypeClass_TypedExpr_Inhabited___closed__1; x_4 = lean_alloc_ctor(0, 3, 0); @@ -1419,7 +1419,7 @@ x_8 = lean_ctor_get(x_3, 1); lean_inc(x_8); lean_dec(x_3); x_9 = lean_unsigned_to_nat(0u); -x_10 = l_Lean_LocalContext_Inhabited___closed__1; +x_10 = l_Lean_LocalContext_Inhabited___closed__3; x_11 = l_Array_empty___closed__1; x_12 = l_Lean_TypeClass_introduceLocals___main(x_9, x_10, x_11, x_6); x_13 = lean_ctor_get(x_12, 1); @@ -4437,7 +4437,7 @@ block_278: lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; lean_dec(x_3); x_4 = lean_unsigned_to_nat(0u); -x_5 = l_Lean_LocalContext_Inhabited___closed__1; +x_5 = l_Lean_LocalContext_Inhabited___closed__3; x_6 = l_Array_empty___closed__1; lean_inc(x_2); x_7 = l_Lean_TypeClass_introduceLocals___main(x_4, x_5, x_6, x_2); @@ -4456,7 +4456,7 @@ x_13 = lean_ctor_get(x_9, 0); lean_dec(x_13); x_14 = l_Lean_Expr_getAppFn___main(x_2); x_15 = l_Lean_Expr_getAppNumArgsAux___main(x_2, x_4); -x_16 = l_Lean_exprIsInhabited___closed__1; +x_16 = l_Lean_Expr_inhabited___closed__1; lean_inc(x_15); x_17 = lean_mk_array(x_15, x_16); x_18 = lean_unsigned_to_nat(1u); @@ -4826,7 +4826,7 @@ lean_inc(x_119); lean_dec(x_9); x_120 = l_Lean_Expr_getAppFn___main(x_2); x_121 = l_Lean_Expr_getAppNumArgsAux___main(x_2, x_4); -x_122 = l_Lean_exprIsInhabited___closed__1; +x_122 = l_Lean_Expr_inhabited___closed__1; lean_inc(x_121); x_123 = lean_mk_array(x_121, x_122); x_124 = lean_unsigned_to_nat(1u); @@ -5109,7 +5109,7 @@ if (lean_is_exclusive(x_196)) { } x_200 = l_Lean_Expr_getAppFn___main(x_2); x_201 = l_Lean_Expr_getAppNumArgsAux___main(x_2, x_4); -x_202 = l_Lean_exprIsInhabited___closed__1; +x_202 = l_Lean_Expr_inhabited___closed__1; lean_inc(x_201); x_203 = lean_mk_array(x_201, x_202); x_204 = lean_unsigned_to_nat(1u); diff --git a/src/stage0/Init/Lean/TypeUtil.c b/src/stage0/Init/Lean/TypeUtil.c deleted file mode 100644 index 0dec50de21..0000000000 --- a/src/stage0/Init/Lean/TypeUtil.c +++ /dev/null @@ -1,49 +0,0 @@ -// Lean compiler output -// Module: Init.Lean.TypeUtil -// Imports: Init.Control.Reader Init.Lean.NameGenerator Init.Lean.Environment Init.Lean.Trace Init.Lean.AuxRecursor Init.Lean.ProjFns -#include "runtime/lean.h" -#if defined(__clang__) -#pragma clang diagnostic ignored "-Wunused-parameter" -#pragma clang diagnostic ignored "-Wunused-label" -#elif defined(__GNUC__) && !defined(__CLANG__) -#pragma GCC diagnostic ignored "-Wunused-parameter" -#pragma GCC diagnostic ignored "-Wunused-label" -#pragma GCC diagnostic ignored "-Wunused-but-set-variable" -#endif -#ifdef __cplusplus -extern "C" { -#endif -lean_object* initialize_Init_Control_Reader(lean_object*); -lean_object* initialize_Init_Lean_NameGenerator(lean_object*); -lean_object* initialize_Init_Lean_Environment(lean_object*); -lean_object* initialize_Init_Lean_Trace(lean_object*); -lean_object* initialize_Init_Lean_AuxRecursor(lean_object*); -lean_object* initialize_Init_Lean_ProjFns(lean_object*); -static bool _G_initialized = false; -lean_object* initialize_Init_Lean_TypeUtil(lean_object* w) { -lean_object * res; -if (_G_initialized) return lean_mk_io_result(lean_box(0)); -_G_initialized = true; -res = initialize_Init_Control_Reader(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -res = initialize_Init_Lean_NameGenerator(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -res = initialize_Init_Lean_Environment(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -res = initialize_Init_Lean_Trace(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -res = initialize_Init_Lean_AuxRecursor(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -res = initialize_Init_Lean_ProjFns(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -return lean_mk_io_result(lean_box(0)); -} -#ifdef __cplusplus -} -#endif diff --git a/src/stage0/Init/Lean/WHNF.c b/src/stage0/Init/Lean/WHNF.c index 1259e00ecd..6c15c584fd 100644 --- a/src/stage0/Init/Lean/WHNF.c +++ b/src/stage0/Init/Lean/WHNF.c @@ -13,463 +13,462 @@ #ifdef __cplusplus extern "C" { #endif -lean_object* l_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__1___boxed(lean_object*); -lean_object* l_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__13___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_whnfEasyCases___main___at_Lean_whnfMain___main___spec__34___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_object*, lean_object*); lean_object* l_panicWithPos___at_Lean_whnfMain___main___spec__4___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_panicWithPos___at_Lean_whnfMain___main___spec__30___boxed(lean_object*); -lean_object* l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__12___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* l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_unfoldDefinition___spec__1(lean_object*, lean_object*); lean_object* l___private_Init_Lean_WHNF_5__toCtorWhenK___at_Lean_whnfMain___main___spec__9___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_panicWithPos___at_Lean_whnfMain___main___spec__31___boxed(lean_object*); +lean_object* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__18(lean_object*); lean_object* l_Lean_matchConstAux___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_whnfMain___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at_Lean_whnfMain___main___spec__34___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_object*, lean_object*); lean_object* l_Lean_ConstantInfo_name(lean_object*); -lean_object* l_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__12___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_object*, lean_object*); lean_object* l_Lean_reduceRec___at_Lean_whnfMain___main___spec__8(lean_object*); -lean_object* l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at_Lean_whnfMain___main___spec__34___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*, lean_object*, uint8_t); lean_object* l_Lean_reduceRec___at_Lean_whnfMain___main___spec__28___rarg___lambda__2___boxed(lean_object**); lean_object* l___private_Init_Lean_WHNF_2__mkNullaryCtor___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_reduceQuotRec___at_Lean_whnfMain___main___spec__27___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___private_Init_Lean_WHNF_11__whnfCore___main___at_Lean_whnfMain___main___spec__21___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__44___boxed(lean_object*); +lean_object* l_panicWithPos___at_Lean_whnfCore___main___spec__13___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_whnfEasyCases___main___at_Lean_whnfCore___main___spec__12___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*, lean_object*, uint8_t); lean_object* l_Lean_isRecStuck___at_Lean_getStuckMVar___main___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__19___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_reduceQuotRec___at_Lean_whnfMain___main___spec__7(lean_object*); +lean_object* l_Lean_whnfEasyCases___main___at_Lean_whnfCore___main___spec__12___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___private_Init_Lean_WHNF_5__toCtorWhenK___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*); uint8_t lean_name_dec_eq(lean_object*, lean_object*); lean_object* l_Lean_Expr_betaRev(lean_object*, lean_object*); -lean_object* l_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__10___boxed(lean_object*); lean_object* l___private_Init_Lean_WHNF_2__mkNullaryCtor(lean_object*); -lean_object* l_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__3___boxed(lean_object*); -lean_object* l___private_Init_Lean_WHNF_6__whnfEasyCases___main___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__26___boxed(lean_object*); lean_object* l_panicWithPos___at_Lean_whnfMain___main___spec__4(lean_object*); lean_object* l_Lean_reduceRec___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_WHNF_12__whnfCoreUnstuck___main___at_Lean_whnfMain___main___spec__20___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* l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__6___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_whnfCore___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_whnfEasyCases___main___at_Lean_whnfMain___main___spec__34___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_nat_sub(lean_object*, lean_object*); +lean_object* l_panicWithPos___at_Lean_whnfCore___main___spec__2(lean_object*); lean_object* l_Lean_isRecStuck___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_WHNF_11__whnfCore(lean_object*); +extern lean_object* l_Lean_Literal_type___closed__2; +lean_object* l___private_Init_Lean_WHNF_10__whnfCoreUnstuck___main___at_Lean_whnfMain___main___spec__20___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_reduceQuotRec___at_Lean_whnfCore___main___spec__6___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*, lean_object*); lean_object* l_panicWithPos___at_Lean_whnfMain___main___spec__32___boxed(lean_object*); lean_object* l_Lean_reduceQuotRec___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_whnfEasyCases___main___at_Lean_whnfMain___main___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_object* l___private_Init_Lean_Expr_3__getAppRevArgsAux___main(lean_object*, lean_object*); lean_object* l_panicWithPos___at_Lean_whnfMain___main___spec__33___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_whnfEasyCases___main___at_Lean_whnfCore___main___spec__12___rarg___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfCore___main___spec__5___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_isQuotRecStuck___at_Lean_whnfMain___main___spec__37___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* l_Lean_whnfEasyCases___main___boxed(lean_object*); +lean_object* l_Lean_reduceQuotRec___at_Lean_whnfCore___main___spec__6___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_whnfMain___main(lean_object*); lean_object* l_Lean_unfoldDefinition___boxed(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___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_object*, lean_object*, lean_object*); -lean_object* l_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__9___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_whnfEasyCases___main___at_Lean_whnfCore___main___spec__12___rarg(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_object* l_panicWithPos___at_Lean_whnfMain___main___spec__2___boxed(lean_object*); uint8_t l___private_Init_Lean_WHNF_4__getRecRuleFor___lambda__1(lean_object*, lean_object*); lean_object* l_Lean_reduceQuotRec(lean_object*, lean_object*); -extern lean_object* l_Lean_exprIsInhabited; -lean_object* l___private_Init_Lean_WHNF_11__whnfCore___main___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_getStuckMVar___main(lean_object*); uint8_t l_Array_anyMAux___main___at___private_Init_Lean_WHNF_5__toCtorWhenK___spec__1(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_WHNF_12__whnfCoreUnstuck___main___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* l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__45___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_panicWithPos___at_Lean_whnfMain___main___spec__10___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_WHNF_6__whnfEasyCases___main___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_whnfEasyCases___main___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_whnfCore___main(lean_object*); lean_object* l_Lean_reduceRec___at_Lean_whnfMain___main___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_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_WHNF_1__getFirstCtor___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_panicWithPos___at_Lean_whnfMain___main___spec__22(lean_object*); -lean_object* l_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__10___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_panicWithPos___at_Lean_whnfCore___main___spec__4(lean_object*); lean_object* l_Lean_getStuckMVar___main___at_Lean_whnfMain___main___spec__36(lean_object*); +lean_object* l_Lean_reduceQuotRec___at_Lean_whnfCore___main___spec__6(lean_object*); lean_object* l_monadInhabited___rarg(lean_object*, lean_object*); lean_object* l_List_lengthAux___main___rarg(lean_object*, lean_object*); lean_object* l_Lean_matchConstAux___boxed(lean_object*, lean_object*); -lean_object* l_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__9___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_panicWithPos___at_Lean_whnfMain___main___spec__30___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_reduceRec___at_Lean_whnfMain___main___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*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_WHNF_10__whnfCoreUnstuck___main___boxed(lean_object*); lean_object* l_Lean_smartUnfoldingSuffix; lean_object* l_panicWithPos___at_Lean_whnfMain___main___spec__30(lean_object*); lean_object* l_panicWithPos___at_Lean_whnfMain___main___spec__5___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_reduceQuotRec___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__6___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* l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at_Lean_whnfMain___main___spec__34___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*); +lean_object* l_Lean_whnfCore___main___at_Lean_whnfMain___main___spec__1(lean_object*); +lean_object* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__45___boxed(lean_object*); +lean_object* l_panicWithPos___at_Lean_whnfCore___main___spec__3___boxed(lean_object*); +lean_object* l_panicWithPos___at_Lean_whnfCore___main___spec__10___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_panicWithPos___at_Lean_whnfMain___main___spec__2(lean_object*); -lean_object* l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__45(lean_object*); -lean_object* l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__42___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_reduceQuotRec___at_Lean_whnfMain___main___spec__27___rarg___lambda__1___boxed(lean_object**); -lean_object* l___private_Init_Lean_WHNF_12__whnfCoreUnstuck___boxed(lean_object*); lean_object* l___private_Init_Lean_WHNF_1__getFirstCtor(lean_object*); -lean_object* l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__18(lean_object*); +lean_object* l_Lean_whnfEasyCases___main___at_Lean_whnfMain___main___spec__34___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* l_Lean_reduceQuotRec___at_Lean_whnfMain___main___spec__7___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_reduceRec___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__7___rarg___lambda__1___boxed(lean_object**); lean_object* l_panicWithPos___at_Lean_whnfMain___main___spec__11___boxed(lean_object*); lean_object* l_Lean_reduceRec___at_Lean_whnfMain___main___spec__28___boxed(lean_object*); -lean_object* l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__5(lean_object*); -lean_object* l_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__4___boxed(lean_object*); lean_object* l_Lean_getStuckMVar___main___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_reduceQuotRec___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__6___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___private_Init_Lean_WHNF_10__whnfCoreUnstuck(lean_object*); +lean_object* l___private_Init_Lean_WHNF_10__whnfCoreUnstuck___main___at_Lean_whnfMain___main___spec__20___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___private_Init_Lean_Expr_1__mkAppRangeAux___main(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_WHNF_8__extractIdRhs(lean_object*); lean_object* l_Lean_isQuotRecStuck___at_Lean_getStuckMVar___main___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_panicWithPos___at_Lean_whnfMain___main___spec__11___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__13___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_whnfEasyCases___main___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_panicWithPos___at_Lean_whnfCore___main___spec__13___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_expr_mk_app(lean_object*, lean_object*); -lean_object* l_Lean_reduceQuotRec___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__6___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__11___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_whnfCore___main___at_Lean_whnfMain___main___spec__21___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_WHNF_5__toCtorWhenK___boxed(lean_object*); lean_object* l_Lean_isQuotRecStuck___at_Lean_whnfMain___main___spec__37___boxed(lean_object*); -lean_object* l_Lean_reduceRec___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__7___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* l_Lean_whnfEasyCases___main___at_Lean_whnfMain___main___spec__34(lean_object*); lean_object* l_panicWithPos___at_Lean_whnfMain___main___spec__35___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_WHNF_2__mkNullaryCtor___boxed(lean_object*); -lean_object* l___private_Init_Lean_WHNF_11__whnfCore___main___at_Lean_whnfMain___main___spec__21(lean_object*); -lean_object* l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at_Lean_whnfMain___main___spec__14(lean_object*); +lean_object* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__44___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___private_Init_Lean_WHNF_5__toCtorWhenK___rarg___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfCore___main___spec__5___boxed(lean_object*); +lean_object* l_Lean_whnfCore(lean_object*); lean_object* lean_expr_instantiate1(lean_object*, lean_object*); lean_object* l_Lean_unfoldDefinition___at_Lean_whnfMain___main___spec__16___boxed(lean_object*); -lean_object* l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at_Lean_whnfMain___main___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_object* l_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__3(lean_object*); -lean_object* l___private_Init_Lean_WHNF_10__deltaBetaDefinition(lean_object*); -lean_object* l___private_Init_Lean_WHNF_12__whnfCoreUnstuck___main___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* l_panicWithPos___at_Lean_whnfCore___main___spec__8___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_whnfEasyCases___main___at_Lean_whnfMain___main___spec__14___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_object*, lean_object*); +lean_object* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__42___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_whnfEasyCases___main___at_Lean_whnfCore___main___spec__12___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_object*, lean_object*); lean_object* l_Lean_Expr_getAppFn___main(lean_object*); lean_object* l___private_Init_Lean_WHNF_4__getRecRuleFor___boxed(lean_object*, lean_object*); +lean_object* l_Lean_whnfCore___main___at_Lean_whnfMain___main___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_WHNF_5__toCtorWhenK___at_Lean_whnfMain___main___spec__29___rarg(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_Lean_WHNF_10__deltaBetaDefinition___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__5___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___private_Init_Lean_WHNF_6__isIdRhsApp___closed__1; lean_object* l_panicWithPos___at_Lean_whnfMain___main___spec__35___boxed(lean_object*); lean_object* l_panicWithPos___at_Lean_whnfMain___main___spec__25___boxed(lean_object*); -lean_object* l_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_isRecStuck___at_Lean_getStuckMVar___main___spec__2___boxed(lean_object*); -lean_object* l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__12___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* l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__39___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_panicWithPos___at_Lean_whnfCore___main___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_WHNF_3__toCtorIfLit___closed__5; lean_object* l___private_Init_Lean_WHNF_3__toCtorIfLit(lean_object*); lean_object* l_panicWithPos___at_Lean_whnfMain___main___spec__12___boxed(lean_object*); +lean_object* l_Lean_whnfEasyCases___main___at_Lean_whnfMain___main___spec__34___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* l_panicWithPos___at_Lean_whnfMain___main___spec__33___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_reduceQuotRec___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l___private_Init_Lean_WHNF_6__isIdRhsApp(lean_object*); lean_object* l___private_Init_Lean_WHNF_4__getRecRuleFor(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__41(lean_object*); -lean_object* l___private_Init_Lean_WHNF_12__whnfCoreUnstuck___main___boxed(lean_object*); +lean_object* l_Lean_whnfEasyCases___main___at_Lean_whnfMain___main___spec__34___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___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__40___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_reduceQuotRec___at_Lean_whnfMain___main___spec__27___rarg___lambda__2___boxed(lean_object**); +lean_object* l_panicWithPos___at_Lean_whnfEasyCases___main___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_getAppNumArgsAux___main(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at_Lean_whnfMain___main___spec__14___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_object*, lean_object*); +lean_object* l_Lean_whnfEasyCases___main___at_Lean_whnfMain___main___spec__14___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_panicWithPos___at_Lean_whnfCore___main___spec__10(lean_object*); lean_object* l___private_Init_Lean_WHNF_5__toCtorWhenK___at_Lean_whnfMain___main___spec__9(lean_object*); lean_object* l_panicWithPos___at_Lean_whnfMain___main___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_isRecStuck___at_Lean_getStuckMVar___main___spec__2(lean_object*); -lean_object* l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at_Lean_whnfMain___main___spec__34(lean_object*); -lean_object* l_Lean_reduceRec___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__7(lean_object*); lean_object* l_Lean_unfoldDefinition___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_whnfEasyCases___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_WHNF_5__toCtorWhenK___at_Lean_whnfMain___main___spec__9___boxed(lean_object*); -lean_object* l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__42___boxed(lean_object*); +lean_object* l___private_Init_Lean_WHNF_10__whnfCoreUnstuck___main___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); +lean_object* l_panicWithPos___at_Lean_whnfCore___main___spec__4___boxed(lean_object*); lean_object* l_panicWithPos___at_Lean_whnfMain___main___spec__24___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_whnfEasyCases___main___at_Lean_whnfCore___main___spec__12___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* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__45___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_panicWithPos___at_Lean_whnfMain___main___spec__32(lean_object*); lean_object* l_Lean_getStuckMVar(lean_object*); +lean_object* l_Lean_reduceQuotRec___at_Lean_whnfCore___main___spec__6___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_reduceRec___at_Lean_whnfCore___main___spec__7___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* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfCore___main___spec__5___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_mk_empty_array_with_capacity(lean_object*); -lean_object* l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__42(lean_object*); lean_object* l___private_Init_Lean_WHNF_3__toCtorIfLit___closed__6; lean_object* l_panicWithPos___at_Lean_whnfMain___main___spec__3___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_reduceQuotRec___at_Lean_whnfMain___main___spec__27(lean_object*); lean_object* l___private_Init_Lean_WHNF_1__getFirstCtor___boxed(lean_object*); -lean_object* l_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__8(lean_object*); -lean_object* l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__19(lean_object*); -lean_object* l_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__3___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_panicWithPos___at___private_Init_Lean_WHNF_6__whnfEasyCases___main___spec__1(lean_object*); +lean_object* l___private_Init_Lean_WHNF_9__deltaBetaDefinition(lean_object*); +lean_object* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__18___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_panicWithPos___at_Lean_whnfCore___main___spec__8(lean_object*); +lean_object* l___private_Init_Lean_WHNF_7__extractIdRhs(lean_object*); +lean_object* l_panicWithPos___at_Lean_whnfCore___main___spec__13___boxed(lean_object*); +lean_object* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__42(lean_object*); +lean_object* l_Lean_whnfEasyCases___main___at_Lean_whnfMain___main___spec__14___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*, lean_object*, uint8_t); +lean_object* l_Lean_reduceRec___at_Lean_whnfCore___main___spec__7___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*, lean_object*, lean_object*); +lean_object* l_Lean_reduceRec___at_Lean_whnfCore___main___spec__7___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_isQuotRecStuck___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_WHNF_11__whnfCore___boxed(lean_object*); lean_object* l_Lean_ConstantInfo_lparams(lean_object*); lean_object* l_Lean_matchConstAux(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_unfoldDefinition___spec__1___boxed(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__18___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_whnfCore___boxed(lean_object*); lean_object* l___private_Init_Lean_WHNF_3__toCtorIfLit___closed__1; lean_object* l_Lean_reduceQuotRec___at_Lean_whnfMain___main___spec__27___boxed(lean_object*); lean_object* l_Nat_repr(lean_object*); -lean_object* l_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__2(lean_object*); -lean_object* l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__19___boxed(lean_object*); -lean_object* l_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__8___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_whnfCore___main___at_Lean_whnfMain___main___spec__21___boxed(lean_object*); lean_object* l_panicWithPos___at_Lean_whnfMain___main___spec__25(lean_object*); lean_object* l_Lean_mkSmartUnfoldingNameFor(lean_object*); lean_object* l_Lean_reduceQuotRec___at_Lean_whnfMain___main___spec__27___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*, lean_object*); -lean_object* l_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__9(lean_object*); extern lean_object* l_panicWithPos___rarg___closed__3; lean_object* lean_expr_mk_const(lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_Lean_mkApp___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_reduceQuotRec___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_panicWithPos___at_Lean_whnfCore___main___spec__4___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_panicWithPos___at_Lean_whnfMain___main___spec__31___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_reduceQuotRec___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__6(lean_object*); -lean_object* l_Lean_reduceQuotRec___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__6___rarg___lambda__2___boxed(lean_object**); uint8_t lean_expr_eqv(lean_object*, lean_object*); -lean_object* l_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_isRecStuck___at_Lean_whnfMain___main___spec__38(lean_object*); lean_object* l_Lean_isRecStuck___at_Lean_getStuckMVar___main___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__12___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__12___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* l___private_Init_Lean_WHNF_12__whnfCoreUnstuck(lean_object*); -lean_object* l___private_Init_Lean_WHNF_9__deltaDefinition(lean_object*); +lean_object* l_panicWithPos___at_Lean_whnfCore___main___spec__9___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_panicWithPos___at_Lean_whnfCore___main___spec__8___boxed(lean_object*); +lean_object* l_panicWithPos___at_Lean_whnfCore___main___spec__11___boxed(lean_object*); +lean_object* l_Lean_whnfEasyCases___main___at_Lean_whnfCore___main___spec__12(lean_object*); +lean_object* l_panicWithPos___at_Lean_whnfCore___main___spec__11___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_whnfEasyCases___main___at_Lean_whnfMain___main___spec__14___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*); extern lean_object* l_unreachable_x21___rarg___closed__1; +lean_object* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__40___boxed(lean_object*); lean_object* l_panicWithPos___at_Lean_whnfMain___main___spec__10___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_string_append(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_WHNF_11__whnfCore___main___at_Lean_whnfMain___main___spec__1(lean_object*); -lean_object* l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__12___boxed(lean_object*); +lean_object* l_Lean_whnfEasyCases___main___at_Lean_whnfCore___main___spec__12___rarg___lambda__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_panicWithPos___at_Lean_whnfMain___main___spec__11___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_panicWithPos___at_Lean_whnfMain___main___spec__10(lean_object*); lean_object* l_panicWithPos___at_Lean_whnfMain___main___spec__23___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_unfoldDefinition___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*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_reduceRec___rarg___lambda__2(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__6___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_panicWithPos___at_Lean_whnfMain___main___spec__12___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__40(lean_object*); -lean_object* l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__43(lean_object*); lean_object* l_panicWithPos___at_Lean_whnfMain___main___spec__15___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_WHNF_6__isIdRhsApp___closed__2; lean_object* l_Lean_reduceQuotRec___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_whnfEasyCases___main(lean_object*); +lean_object* l_panicWithPos___at_Lean_whnfEasyCases___main___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_reduceRec___at_Lean_whnfMain___main___spec__28(lean_object*); lean_object* l_Lean_isQuotRecStuck___at_Lean_whnfMain___main___spec__37___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_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__8___boxed(lean_object*); -lean_object* l___private_Init_Lean_WHNF_12__whnfCoreUnstuck___main___at_Lean_whnfMain___main___spec__20___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_WHNF_12__whnfCoreUnstuck___main___at_Lean_whnfMain___main___spec__20(lean_object*); lean_object* l_panicWithPos___at_Lean_whnfMain___main___spec__13(lean_object*); lean_object* l___private_Init_Lean_WHNF_3__toCtorIfLit___closed__3; -lean_object* l___private_Init_Lean_WHNF_12__whnfCoreUnstuck___main___at_Lean_whnfMain___main___spec__20___boxed(lean_object*); lean_object* l_Lean_reduceRec___at_Lean_whnfMain___main___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*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__43___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__44___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_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__4(lean_object*); -lean_object* l_Lean_reduceQuotRec___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__6___rarg___lambda__1___boxed(lean_object**); +lean_object* l_Lean_whnfEasyCases___main___at_Lean_whnfCore___main___spec__12___boxed(lean_object*); +lean_object* l_panicWithPos___at_Lean_whnfCore___main___spec__9___boxed(lean_object*); lean_object* l_Lean_isQuotRecStuck___boxed(lean_object*); lean_object* l_Lean_unfoldDefinition___at_Lean_whnfMain___main___spec__16___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*, lean_object*); -lean_object* l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at_Lean_whnfMain___main___spec__14___boxed(lean_object*); +lean_object* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__43___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_panicWithPos___at_Lean_whnfMain___main___spec__13___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__43___boxed(lean_object*); lean_object* l_panicWithPos___at_Lean_whnfMain___main___spec__35(lean_object*); lean_object* l___private_Init_Lean_WHNF_5__toCtorWhenK___rarg___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_whnfEasyCases___main___at_Lean_whnfMain___main___spec__34___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___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__6___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_panicWithPos___at_Lean_whnfMain___main___spec__13___boxed(lean_object*); lean_object* l_panicWithPos___at_Lean_whnfMain___main___spec__24(lean_object*); -lean_object* l___private_Init_Lean_WHNF_11__whnfCore___main___at_Lean_whnfMain___main___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_reduceRec___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*, lean_object*, lean_object*); +lean_object* l_panicWithPos___at_Lean_whnfCore___main___spec__9(lean_object*); lean_object* l_Lean_whnfMain___boxed(lean_object*); -lean_object* l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__45___boxed(lean_object*); lean_object* l___private_Init_Lean_WHNF_3__toCtorIfLit___closed__4; lean_object* l_Lean_unfoldDefinition___at_Lean_whnfMain___main___spec__16___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_name_mk_string(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_WHNF_10__whnfCoreUnstuck___main___at_Lean_whnfMain___main___spec__20___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* l_Lean_getStuckMVar___main___at_Lean_whnfMain___main___spec__36___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* l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__6(lean_object*); -lean_object* l_panicWithPos___at___private_Init_Lean_WHNF_6__whnfEasyCases___main___spec__1___boxed(lean_object*); -lean_object* l___private_Init_Lean_WHNF_9__deltaDefinition___at_Lean_whnfMain___main___spec__17___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* l_panicWithPos___at_Lean_whnfCore___main___spec__1___boxed(lean_object*); +lean_object* l_Lean_whnfEasyCases___main___at_Lean_whnfMain___main___spec__34___boxed(lean_object*); lean_object* l_panicWithPos___at_Lean_whnfMain___main___spec__25___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_panicWithPos___at_Lean_whnfMain___main___spec__24___boxed(lean_object*); lean_object* lean_instantiate_value_lparams(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__39(lean_object*); +lean_object* l_Lean_whnfEasyCases___main___at_Lean_whnfMain___main___spec__14(lean_object*); +lean_object* l___private_Init_Lean_WHNF_10__whnfCoreUnstuck___main___at_Lean_whnfMain___main___spec__20___boxed(lean_object*); +lean_object* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__43___boxed(lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); lean_object* l_Lean_whnfMain___main___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_panicWithPos___at_Lean_whnfMain___main___spec__35___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___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*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at_Lean_whnfMain___main___spec__14___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*, lean_object*, uint8_t); lean_object* l___private_Init_Lean_WHNF_2__mkNullaryCtor___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Expr_2__getAppArgsAux___main(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_unfoldDefinition___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__39___boxed(lean_object*); lean_object* l_Lean_reduceRec___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_WHNF_10__whnfCoreUnstuck___main___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* l_panicWithPos___at_Lean_whnfMain___main___spec__33(lean_object*); lean_object* l_Lean_RecursorVal_getInduct(lean_object*); -lean_object* l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at_Lean_whnfMain___main___spec__34___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* l_panicWithPos___at_Lean_whnfMain___main___spec__11(lean_object*); lean_object* l___private_Init_Lean_WHNF_5__toCtorWhenK(lean_object*); -lean_object* l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at_Lean_whnfMain___main___spec__34___boxed(lean_object*); -lean_object* l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__5___boxed(lean_object*); -lean_object* l_Lean_reduceRec___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__7___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*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_WHNF_9__deltaDefinition___at_Lean_whnfMain___main___spec__17___boxed(lean_object*); +lean_object* l_Lean_whnfEasyCases___main___at_Lean_whnfMain___main___spec__34___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__45(lean_object*); +lean_object* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__26(lean_object*); lean_object* l_Lean_getStuckMVar___main___rarg(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_panicWithPos___rarg___closed__1; -lean_object* l_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__10(lean_object*); extern lean_object* l_unreachable_x21___rarg___closed__2; -lean_object* l_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_reduceRec___at_Lean_whnfCore___main___spec__7(lean_object*); lean_object* l___private_Init_Lean_WHNF_5__toCtorWhenK___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_panicWithPos___at_Lean_whnfMain___main___spec__31___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__44(lean_object*); lean_object* l_Lean_isRecStuck(lean_object*); lean_object* l_panicWithPos___at_Lean_whnfMain___main___spec__3___boxed(lean_object*); -lean_object* l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at_Lean_whnfMain___main___spec__14___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* l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__26(lean_object*); -lean_object* l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__12___rarg___lambda__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_WHNF_11__whnfCore___main___boxed(lean_object*); -lean_object* l___private_Init_Lean_WHNF_6__whnfEasyCases___main___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_whnfEasyCases___main___at_Lean_whnfMain___main___spec__34___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*); +lean_object* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__41___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___private_Init_Lean_WHNF_9__deltaBetaDefinition___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__26___boxed(lean_object*); +lean_object* l_panicWithPos___at_Lean_whnfCore___main___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_panicWithPos___at_Lean_whnfMain___main___spec__32___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__2___boxed(lean_object*); +lean_object* l_Lean_whnfEasyCases___main___at_Lean_whnfMain___main___spec__34___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*, lean_object*, uint8_t); +lean_object* l___private_Init_Lean_WHNF_10__whnfCoreUnstuck___boxed(lean_object*); lean_object* l_Lean_getStuckMVar___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__18___boxed(lean_object*); -lean_object* l___private_Init_Lean_WHNF_12__whnfCoreUnstuck___main___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_reduceQuotRec___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__6___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*, lean_object*); +lean_object* l_panicWithPos___at_Lean_whnfCore___main___spec__11(lean_object*); +lean_object* l_panicWithPos___at_Lean_whnfCore___main___spec__3(lean_object*); lean_object* l_panicWithPos___at_Lean_whnfMain___main___spec__4___boxed(lean_object*); lean_object* l_panicWithPos___at_Lean_whnfMain___main___spec__23___boxed(lean_object*); -lean_object* l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__41___boxed(lean_object*); +lean_object* l_Lean_reduceRec___at_Lean_whnfCore___main___spec__7___rarg___lambda__1___boxed(lean_object**); +lean_object* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__6___boxed(lean_object*); lean_object* l_Lean_RecursorVal_getMajorIdx(lean_object*); lean_object* l_Lean_reduceQuotRec___at_Lean_whnfMain___main___spec__7___rarg___lambda__2___boxed(lean_object**); +lean_object* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__43(lean_object*); +lean_object* l_panicWithPos___at_Lean_whnfCore___main___spec__3___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_unfoldDefinition___at_Lean_whnfMain___main___spec__16(lean_object*); +lean_object* l_Lean_whnfEasyCases___main___at_Lean_whnfMain___main___spec__14___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*); lean_object* l_Lean_reduceQuotRec___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_WHNF_6__whnfEasyCases___boxed(lean_object*); -lean_object* l___private_Init_Lean_WHNF_9__deltaDefinition___at_Lean_whnfMain___main___spec__17(lean_object*); -lean_object* l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__12(lean_object*); lean_object* l_Lean_reduceQuotRec___at_Lean_whnfMain___main___spec__7___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_unfoldDefinition___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*, lean_object*, lean_object*, lean_object*); lean_object* l_panicWithPos___at_Lean_whnfMain___main___spec__24___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_WHNF_4__getRecRuleFor___lambda__1___boxed(lean_object*, lean_object*); +extern lean_object* l_Lean_Expr_inhabited; lean_object* l_Lean_isRecStuck___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_WHNF_6__whnfEasyCases(lean_object*); -lean_object* l___private_Init_Lean_WHNF_12__whnfCoreUnstuck___rarg(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_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__39___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_panicWithPos___at_Lean_whnfMain___main___spec__15___boxed(lean_object*); +lean_object* l_Lean_reduceRec___at_Lean_whnfCore___main___spec__7___rarg___lambda__2___boxed(lean_object**); lean_object* l_Lean_getStuckMVar___main___boxed(lean_object*); -lean_object* l_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__13(lean_object*); -lean_object* l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at_Lean_whnfMain___main___spec__14___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_isRecStuck___at_Lean_whnfMain___main___spec__38___boxed(lean_object*); lean_object* l___private_Init_Lean_WHNF_3__toCtorIfLit___closed__2; lean_object* l_Lean_isQuotRecStuck(lean_object*); -lean_object* l_panicWithPos___at___private_Init_Lean_WHNF_6__whnfEasyCases___main___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__41___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___private_Init_Lean_WHNF_12__whnfCoreUnstuck___main(lean_object*); +lean_object* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_unfoldDefinition___spec__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_reduceRec___at_Lean_whnfMain___main___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_object*, lean_object*); lean_object* l_Lean_unfoldDefinition___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__12___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*); -lean_object* l___private_Init_Lean_WHNF_9__deltaDefinition___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__12___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*, lean_object*, uint8_t); -lean_object* l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__40___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___private_Init_Lean_WHNF_11__whnfCore___main___at_Lean_whnfMain___main___spec__1___boxed(lean_object*); -lean_object* l___private_Init_Lean_WHNF_12__whnfCoreUnstuck___main___at_Lean_whnfMain___main___spec__20___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___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__6(lean_object*); +lean_object* l_panicWithPos___at_Lean_whnfCore___main___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_whnfEasyCases___main___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_whnfEasyCases___main___at_Lean_whnfCore___main___spec__12___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* l_Lean_reduceRec___at_Lean_whnfMain___main___spec__28___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_panicWithPos___at_Lean_whnfCore___main___spec__9___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_panicWithPos___at_Lean_whnfMain___main___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_WHNF_8__deltaDefinition(lean_object*); lean_object* l_Lean_reduceRec___at_Lean_whnfMain___main___spec__8___boxed(lean_object*); +lean_object* l_panicWithPos___at_Lean_whnfCore___main___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_WHNF_10__whnfCoreUnstuck___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_instantiate_lparams(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_WHNF_5__toCtorWhenK___at_Lean_whnfMain___main___spec__29(lean_object*); +lean_object* l___private_Init_Lean_WHNF_10__whnfCoreUnstuck___main___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___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___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*, lean_object*, lean_object*, lean_object*); lean_object* l_panicWithPos___at_Lean_whnfMain___main___spec__3(lean_object*); -lean_object* l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__40___boxed(lean_object*); -lean_object* l_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__8___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_panicWithPos___at_Lean_whnfCore___main___spec__2___boxed(lean_object*); lean_object* l_Lean_whnfMain___main___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_Init_Lean_WHNF_2__mkNullaryCtor___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_shrink___main___rarg(lean_object*, lean_object*); lean_object* l_panic(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_whnfMain(lean_object*); -lean_object* l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at_Lean_whnfMain___main___spec__14___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*); -lean_object* l___private_Init_Lean_WHNF_3__toCtorIfLit___closed__7; +lean_object* l_Lean_reduceQuotRec___at_Lean_whnfCore___main___spec__6___rarg___lambda__1___boxed(lean_object**); +lean_object* l_Lean_whnfEasyCases___main___at_Lean_whnfCore___main___spec__12___rarg___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_WHNF_8__deltaDefinition___at_Lean_whnfMain___main___spec__17___boxed(lean_object*); +lean_object* l_Lean_whnfEasyCases___boxed(lean_object*); +lean_object* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__18___boxed(lean_object*); +lean_object* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__39___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_panicWithPos___at_Lean_whnfMain___main___spec__13___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_anyMAux___main___at___private_Init_Lean_WHNF_5__toCtorWhenK___spec__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_reduceQuotRec___at_Lean_whnfMain___main___spec__7___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*, lean_object*); +lean_object* l_Lean_reduceQuotRec___at_Lean_whnfCore___main___spec__6___boxed(lean_object*); lean_object* l_panicWithPos___at_Lean_whnfMain___main___spec__23(lean_object*); -lean_object* l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__6___boxed(lean_object*); -lean_object* l_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__11___boxed(lean_object*); -lean_object* l_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__10___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__9___boxed(lean_object*); -lean_object* l___private_Init_Lean_WHNF_6__whnfEasyCases___main___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at_Lean_whnfMain___main___spec__34___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___private_Init_Lean_WHNF_6__whnfEasyCases___main___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__12___rarg___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_reduceQuotRec___at_Lean_whnfCore___main___spec__6___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* l_panicWithPos___at_Lean_whnfCore___main___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_WHNF_5__toCtorWhenK___at_Lean_whnfMain___main___spec__29___boxed(lean_object*); lean_object* l_Lean_isQuotRecStuck___at_Lean_getStuckMVar___main___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at_Lean_whnfMain___main___spec__14___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___private_Init_Lean_WHNF_6__whnfEasyCases___main___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__12___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___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__40(lean_object*); lean_object* l___private_Init_Lean_WHNF_5__toCtorWhenK___at_Lean_whnfMain___main___spec__9___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___private_Init_Lean_WHNF_6__whnfEasyCases___main___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__12___rarg___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_WHNF_8__deltaDefinition___at_Lean_whnfMain___main___spec__17(lean_object*); lean_object* l___private_Init_Lean_WHNF_5__toCtorWhenK___rarg___lambda__1(lean_object*, lean_object*, uint8_t); lean_object* l_panicWithPos___at_Lean_whnfMain___main___spec__33___boxed(lean_object*); -lean_object* l___private_Init_Lean_WHNF_6__whnfEasyCases___main___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_WHNF_7__isIdRhsApp___closed__1; +lean_object* l_panicWithPos___at_Lean_whnfEasyCases___main___spec__1___boxed(lean_object*); lean_object* l_Lean_getStuckMVar___main___at_Lean_whnfMain___main___spec__36___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__39___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_panicWithPos___at___private_Init_Lean_WHNF_6__whnfEasyCases___main___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_panicWithPos___at_Lean_whnfMain___main___spec__5___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_whnfCore___main___at_Lean_whnfMain___main___spec__21(lean_object*); lean_object* lean_array_get_size(lean_object*); lean_object* l_Lean_LocalDecl_valueOpt(lean_object*); +lean_object* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__19(lean_object*); +lean_object* l___private_Init_Lean_WHNF_10__whnfCoreUnstuck___main(lean_object*); lean_object* l_Lean_isQuotRecStuck___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_panicWithPos___at_Lean_whnfMain___main___spec__12___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_panicWithPos___at_Lean_whnfMain___main___spec__22___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_unfoldDefinition(lean_object*, lean_object*); lean_object* l_Lean_isRecStuck___at_Lean_whnfMain___main___spec__38___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* l___private_Init_Lean_WHNF_6__whnfEasyCases___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_WHNF_11__whnfCore___main___at_Lean_whnfMain___main___spec__21___boxed(lean_object*); -lean_object* l_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__4___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_whnfEasyCases___main___at_Lean_whnfCore___main___spec__12___rarg___lambda__6(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* l___private_Init_Lean_WHNF_6__whnfEasyCases___main___boxed(lean_object*); +lean_object* l___private_Init_Lean_WHNF_10__whnfCoreUnstuck___main___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* l_panicWithPos___at_Lean_whnfMain___main___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at_Lean_whnfMain___main___spec__34___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_whnfEasyCases___main___at_Lean_whnfCore___main___spec__12___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* l___private_Init_Lean_WHNF_8__deltaDefinition___at_Lean_whnfMain___main___spec__17___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* l_Lean_reduceRec(lean_object*, lean_object*); lean_object* l_Lean_reduceRec___at_Lean_whnfMain___main___spec__8___rarg___lambda__2___boxed(lean_object**); uint8_t l_Lean_Expr_isConstOf(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__19___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*); uint8_t l_Lean_Expr_isAppOf(lean_object*, lean_object*); -lean_object* l_Lean_reduceQuotRec___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__6___boxed(lean_object*); -lean_object* l___private_Init_Lean_WHNF_10__deltaBetaDefinition___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__41___boxed(lean_object*); lean_object* l_panicWithPos___at_Lean_whnfMain___main___spec__12(lean_object*); -lean_object* l_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__13___boxed(lean_object*); +lean_object* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_unfoldDefinition___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_getRevArgD___main(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_isRecStuck___boxed(lean_object*); -lean_object* l___private_Init_Lean_WHNF_12__whnfCoreUnstuck___main___at_Lean_whnfMain___main___spec__20___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); -lean_object* l_Lean_reduceRec___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__7___rarg___lambda__2___boxed(lean_object**); +lean_object* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___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_object*, lean_object*, lean_object*); +lean_object* l_panicWithPos___at_Lean_whnfCore___main___spec__11___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_whnfCore___main___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__42___boxed(lean_object*); lean_object* l_panicWithPos___at_Lean_whnfMain___main___spec__32___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_panicWithPos___at_Lean_whnfEasyCases___main___spec__1(lean_object*); lean_object* l_Lean_isQuotRecStuck___at_Lean_getStuckMVar___main___spec__1(lean_object*); lean_object* l_panicWithPos___at_Lean_whnfMain___main___spec__30___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Expr_inhabited___closed__1; +lean_object* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__41(lean_object*); lean_object* l_Lean_reduceRec___at_Lean_whnfMain___main___spec__28___rarg___lambda__1___boxed(lean_object**); lean_object* l___private_Init_Lean_WHNF_5__toCtorWhenK___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__5___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* l_Lean_whnfEasyCases___main___at_Lean_whnfMain___main___spec__14___boxed(lean_object*); +lean_object* l___private_Init_Lean_WHNF_6__isIdRhsApp___boxed(lean_object*); lean_object* l_List_find___main___rarg(lean_object*, lean_object*); -lean_object* l_Lean_reduceRec___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__7___boxed(lean_object*); +lean_object* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__39(lean_object*); lean_object* l_Lean_reduceQuotRec___at_Lean_whnfMain___main___spec__7___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* l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at_Lean_whnfMain___main___spec__14___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* l_Lean_unfoldDefinition___at_Lean_whnfMain___main___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*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at_Lean_whnfMain___main___spec__34___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* l_Lean_reduceRec___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_WHNF_12__whnfCoreUnstuck___main___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); -lean_object* l_Lean_reduceRec___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__7___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_whnfEasyCases___main___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_updateFn___main(lean_object*, lean_object*); -lean_object* l_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__1(lean_object*); +lean_object* l_Lean_whnfEasyCases___main___at_Lean_whnfMain___main___spec__14___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* l_Lean_unfoldDefinition___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*); -lean_object* l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at_Lean_whnfMain___main___spec__14___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_whnfCore___main___boxed(lean_object*); +lean_object* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__44(lean_object*); extern lean_object* l_panicWithPos___rarg___closed__2; +lean_object* l_Lean_reduceRec___at_Lean_whnfCore___main___spec__7___boxed(lean_object*); +lean_object* l_Lean_whnfEasyCases___main___at_Lean_whnfCore___main___spec__12___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_whnfEasyCases___main___at_Lean_whnfMain___main___spec__14___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* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__44___boxed(lean_object*); uint8_t lean_expr_has_expr_mvar(lean_object*); lean_object* l_Lean_isQuotRecStuck___at_Lean_getStuckMVar___main___spec__1___boxed(lean_object*); lean_object* l___private_Init_Lean_WHNF_1__getFirstCtor___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_whnfEasyCases___main___at_Lean_whnfCore___main___spec__12___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*); lean_object* l_panicWithPos___at_Lean_whnfMain___main___spec__15___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_whnfCore___main___at_Lean_whnfMain___main___spec__1___boxed(lean_object*); +lean_object* l___private_Init_Lean_WHNF_10__whnfCoreUnstuck___main___at_Lean_whnfMain___main___spec__20___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); lean_object* l_Lean_reduceQuotRec___at_Lean_whnfMain___main___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* l_panicWithPos___at_Lean_whnfCore___main___spec__10___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_panicWithPos___at_Lean_whnfCore___main___spec__13(lean_object*); lean_object* l_Lean_smartUnfoldingSuffix___closed__1; lean_object* l___private_Init_Lean_WHNF_5__toCtorWhenK___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_reduceQuotRec___boxed(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_WHNF_11__whnfCore___main(lean_object*); lean_object* l_panicWithPos___at_Lean_whnfMain___main___spec__31(lean_object*); -lean_object* l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__12___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_panicWithPos___at_Lean_whnfMain___main___spec__23___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_getStuckMVar___boxed(lean_object*); -lean_object* l___private_Init_Lean_WHNF_3__toCtorIfLit___closed__8; -lean_object* l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__12___rarg___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_WHNF_10__whnfCoreUnstuck___main___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_panicWithPos___at_Lean_whnfMain___main___spec__22___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_unfoldDefinition___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*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_reduceQuotRec___at_Lean_whnfMain___main___spec__7___boxed(lean_object*); -lean_object* l___private_Init_Lean_WHNF_6__whnfEasyCases___main(lean_object*); -lean_object* l___private_Init_Lean_WHNF_12__whnfCoreUnstuck___main___rarg(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_Lean_WHNF_7__isIdRhsApp___closed__2; +lean_object* l_Lean_whnfEasyCases___main___at_Lean_whnfMain___main___spec__14___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___private_Init_Lean_WHNF_1__getFirstCtor___rarg___lambda__1(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_WHNF_11__whnfCore___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_reduceRec___at_Lean_whnfMain___main___spec__28___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*, lean_object*, lean_object*); lean_object* l_Lean_whnfMain___main___boxed(lean_object*); +lean_object* l_panicWithPos___at_Lean_whnfCore___main___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_WHNF_10__whnfCoreUnstuck___main___at_Lean_whnfMain___main___spec__20(lean_object*); lean_object* l_Lean_isQuotRecStuck___at_Lean_whnfMain___main___spec__37(lean_object*); -lean_object* l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at_Lean_whnfMain___main___spec__34___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* l___private_Init_Lean_WHNF_12__whnfCoreUnstuck___main___at_Lean_whnfMain___main___spec__20___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_isRecStuck___at_Lean_whnfMain___main___spec__38___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_Init_Lean_WHNF_7__isIdRhsApp___boxed(lean_object*); +lean_object* l_panicWithPos___at_Lean_whnfCore___main___spec__1(lean_object*); +lean_object* l_panicWithPos___at_Lean_whnfCore___main___spec__8___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_unfoldDefinition___spec__1(lean_object*, lean_object*); lean_object* l_panicWithPos___at_Lean_whnfMain___main___spec__5(lean_object*); +lean_object* l_Lean_whnfEasyCases___main___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_reduceRec___at_Lean_whnfMain___main___spec__8___rarg___lambda__1___boxed(lean_object**); +lean_object* l___private_Init_Lean_WHNF_10__whnfCoreUnstuck___main___at_Lean_whnfMain___main___spec__20___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_matchConstAux___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_reduceQuotRec___at_Lean_whnfMain___main___spec__7___rarg___lambda__1___boxed(lean_object**); lean_object* l_panicWithPos___at_Lean_whnfMain___main___spec__25___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_panicWithPos___at_Lean_whnfCore___main___spec__10___boxed(lean_object*); lean_object* l_Lean_unfoldDefinition___at_Lean_whnfMain___main___spec__16___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_reduceQuotRec___at_Lean_whnfCore___main___spec__6___rarg___lambda__2___boxed(lean_object**); lean_object* l_Lean_reduceQuotRec___at_Lean_whnfMain___main___spec__27___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* l_Lean_reduceRec___boxed(lean_object*, lean_object*); -extern lean_object* l_Lean_exprIsInhabited___closed__1; -uint8_t l___private_Init_Lean_WHNF_7__isIdRhsApp(lean_object*); -lean_object* l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__6___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_panicWithPos___at_Lean_whnfMain___main___spec__5___boxed(lean_object*); lean_object* lean_expr_mk_lit(lean_object*); lean_object* l_panicWithPos___at_Lean_whnfMain___main___spec__10___boxed(lean_object*); -lean_object* l_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__11(lean_object*); lean_object* l_Lean_getStuckMVar___main___at_Lean_whnfMain___main___spec__36___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* l_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__11___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__19___boxed(lean_object*); lean_object* l_Lean_getStuckMVar___main___at_Lean_whnfMain___main___spec__36___boxed(lean_object*); lean_object* l_Lean_getStuckMVar___main___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_panicWithPos___at_Lean_whnfMain___main___spec__22___boxed(lean_object*); lean_object* l_panicWithPos___at_Lean_whnfMain___main___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_whnfEasyCases(lean_object*); +lean_object* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfCore___main___spec__5(lean_object*); lean_object* l_panicWithPos___at_Lean_whnfMain___main___spec__15(lean_object*); -lean_object* l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at_Lean_whnfMain___main___spec__34___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_Lean_Expr_isLambda(lean_object*); +lean_object* l___private_Init_Lean_WHNF_8__deltaDefinition___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__39___boxed(lean_object*); lean_object* _init_l_Lean_smartUnfoldingSuffix___closed__1() { _start: { @@ -776,7 +775,7 @@ lean_dec(x_13); x_15 = lean_expr_mk_const(x_12, x_3); x_16 = lean_unsigned_to_nat(0u); x_17 = l_Lean_Expr_getAppNumArgsAux___main(x_4, x_16); -x_18 = l_Lean_exprIsInhabited___closed__1; +x_18 = l_Lean_Expr_inhabited___closed__1; lean_inc(x_17); x_19 = lean_mk_array(x_17, x_18); x_20 = lean_unsigned_to_nat(1u); @@ -805,7 +804,7 @@ lean_dec(x_27); x_29 = lean_expr_mk_const(x_26, x_3); x_30 = lean_unsigned_to_nat(0u); x_31 = l_Lean_Expr_getAppNumArgsAux___main(x_4, x_30); -x_32 = l_Lean_exprIsInhabited___closed__1; +x_32 = l_Lean_Expr_inhabited___closed__1; lean_inc(x_31); x_33 = lean_mk_array(x_31, x_32); x_34 = lean_unsigned_to_nat(1u); @@ -908,7 +907,7 @@ lean_object* _init_l___private_Init_Lean_WHNF_3__toCtorIfLit___closed__1() { _start: { lean_object* x_1; -x_1 = lean_mk_string("Nat"); +x_1 = lean_mk_string("succ"); return x_1; } } @@ -916,7 +915,7 @@ lean_object* _init_l___private_Init_Lean_WHNF_3__toCtorIfLit___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); +x_1 = l_Lean_Literal_type___closed__2; x_2 = l___private_Init_Lean_WHNF_3__toCtorIfLit___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -925,32 +924,14 @@ return x_3; lean_object* _init_l___private_Init_Lean_WHNF_3__toCtorIfLit___closed__3() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("succ"); -return x_1; -} -} -lean_object* _init_l___private_Init_Lean_WHNF_3__toCtorIfLit___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_WHNF_3__toCtorIfLit___closed__2; -x_2 = l___private_Init_Lean_WHNF_3__toCtorIfLit___closed__3; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -lean_object* _init_l___private_Init_Lean_WHNF_3__toCtorIfLit___closed__5() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Init_Lean_WHNF_3__toCtorIfLit___closed__4; +x_2 = l___private_Init_Lean_WHNF_3__toCtorIfLit___closed__2; x_3 = lean_expr_mk_const(x_2, x_1); return x_3; } } -lean_object* _init_l___private_Init_Lean_WHNF_3__toCtorIfLit___closed__6() { +lean_object* _init_l___private_Init_Lean_WHNF_3__toCtorIfLit___closed__4() { _start: { lean_object* x_1; @@ -958,22 +939,22 @@ x_1 = lean_mk_string("zero"); return x_1; } } -lean_object* _init_l___private_Init_Lean_WHNF_3__toCtorIfLit___closed__7() { +lean_object* _init_l___private_Init_Lean_WHNF_3__toCtorIfLit___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_WHNF_3__toCtorIfLit___closed__2; -x_2 = l___private_Init_Lean_WHNF_3__toCtorIfLit___closed__6; +x_1 = l_Lean_Literal_type___closed__2; +x_2 = l___private_Init_Lean_WHNF_3__toCtorIfLit___closed__4; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l___private_Init_Lean_WHNF_3__toCtorIfLit___closed__8() { +lean_object* _init_l___private_Init_Lean_WHNF_3__toCtorIfLit___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Init_Lean_WHNF_3__toCtorIfLit___closed__7; +x_2 = l___private_Init_Lean_WHNF_3__toCtorIfLit___closed__5; x_3 = lean_expr_mk_const(x_2, x_1); return x_3; } @@ -1005,7 +986,7 @@ x_8 = lean_nat_sub(x_4, x_7); lean_dec(x_4); lean_ctor_set(x_2, 0, x_8); x_9 = lean_expr_mk_lit(x_2); -x_10 = l___private_Init_Lean_WHNF_3__toCtorIfLit___closed__5; +x_10 = l___private_Init_Lean_WHNF_3__toCtorIfLit___closed__3; x_11 = lean_expr_mk_app(x_10, x_9); return x_11; } @@ -1014,7 +995,7 @@ else lean_object* x_12; lean_free_object(x_2); lean_dec(x_4); -x_12 = l___private_Init_Lean_WHNF_3__toCtorIfLit___closed__8; +x_12 = l___private_Init_Lean_WHNF_3__toCtorIfLit___closed__6; return x_12; } } @@ -1035,7 +1016,7 @@ lean_dec(x_13); x_18 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_18, 0, x_17); x_19 = lean_expr_mk_lit(x_18); -x_20 = l___private_Init_Lean_WHNF_3__toCtorIfLit___closed__5; +x_20 = l___private_Init_Lean_WHNF_3__toCtorIfLit___closed__3; x_21 = lean_expr_mk_app(x_20, x_19); return x_21; } @@ -1043,7 +1024,7 @@ else { lean_object* x_22; lean_dec(x_13); -x_22 = l___private_Init_Lean_WHNF_3__toCtorIfLit___closed__8; +x_22 = l___private_Init_Lean_WHNF_3__toCtorIfLit___closed__6; return x_22; } } @@ -1295,7 +1276,7 @@ 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; uint8_t x_28; x_20 = lean_unsigned_to_nat(0u); x_21 = l_Lean_Expr_getAppNumArgsAux___main(x_7, x_20); -x_22 = l_Lean_exprIsInhabited___closed__1; +x_22 = l_Lean_Expr_inhabited___closed__1; lean_inc(x_21); x_23 = lean_mk_array(x_21, x_22); x_24 = lean_unsigned_to_nat(1u); @@ -1449,7 +1430,7 @@ lean_inc(x_13); lean_dec(x_10); x_14 = lean_unsigned_to_nat(0u); x_15 = l_Lean_Expr_getAppNumArgsAux___main(x_9, x_14); -x_16 = l_Lean_exprIsInhabited___closed__1; +x_16 = l_Lean_Expr_inhabited___closed__1; lean_inc(x_15); x_17 = lean_mk_array(x_15, x_16); x_18 = lean_unsigned_to_nat(1u); @@ -1792,7 +1773,7 @@ if (lean_obj_tag(x_14) == 1) { 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_dec(x_1); -x_15 = l_Lean_exprIsInhabited; +x_15 = l_Lean_Expr_inhabited; x_16 = lean_array_get(x_15, x_2, x_3); x_17 = lean_expr_mk_app(x_16, x_4); x_18 = lean_unsigned_to_nat(1u); @@ -2341,7 +2322,7 @@ lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean x_16 = lean_ctor_get(x_15, 0); x_17 = lean_unsigned_to_nat(0u); x_18 = l_Lean_Expr_getAppNumArgsAux___main(x_2, x_17); -x_19 = l_Lean_exprIsInhabited___closed__1; +x_19 = l_Lean_Expr_inhabited___closed__1; lean_inc(x_18); x_20 = lean_mk_array(x_18, x_19); x_21 = lean_unsigned_to_nat(1u); @@ -2358,7 +2339,7 @@ lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean x_25 = lean_ctor_get(x_15, 0); x_26 = lean_unsigned_to_nat(0u); x_27 = l_Lean_Expr_getAppNumArgsAux___main(x_2, x_26); -x_28 = l_Lean_exprIsInhabited___closed__1; +x_28 = l_Lean_Expr_inhabited___closed__1; lean_inc(x_27); x_29 = lean_mk_array(x_27, x_28); x_30 = lean_unsigned_to_nat(1u); @@ -2625,11 +2606,11 @@ lean_dec(x_1); return x_2; } } -lean_object* l_panicWithPos___at___private_Init_Lean_WHNF_6__whnfEasyCases___main___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* l_panicWithPos___at_Lean_whnfEasyCases___main___spec__1___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; 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; -x_6 = l_Lean_exprIsInhabited; +x_6 = l_Lean_Expr_inhabited; x_7 = l_monadInhabited___rarg(x_1, x_6); x_8 = l_panicWithPos___rarg___closed__1; x_9 = lean_string_append(x_8, x_2); @@ -2650,15 +2631,15 @@ x_21 = lean_panic_fn(x_20); return x_21; } } -lean_object* l_panicWithPos___at___private_Init_Lean_WHNF_6__whnfEasyCases___main___spec__1(lean_object* x_1) { +lean_object* l_panicWithPos___at_Lean_whnfEasyCases___main___spec__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_panicWithPos___at___private_Init_Lean_WHNF_6__whnfEasyCases___main___spec__1___rarg___boxed), 5, 0); +x_2 = lean_alloc_closure((void*)(l_panicWithPos___at_Lean_whnfEasyCases___main___spec__1___rarg___boxed), 5, 0); return x_2; } } -lean_object* l___private_Init_Lean_WHNF_6__whnfEasyCases___main___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* l_Lean_whnfEasyCases___main___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) { _start: { lean_object* x_8; @@ -2685,12 +2666,12 @@ lean_dec(x_2); x_12 = lean_ctor_get(x_8, 0); lean_inc(x_12); lean_dec(x_8); -x_13 = l___private_Init_Lean_WHNF_6__whnfEasyCases___main___rarg(x_3, x_4, x_5, x_12, x_6); +x_13 = l_Lean_whnfEasyCases___main___rarg(x_3, x_4, x_5, x_12, x_6); return x_13; } } } -lean_object* l___private_Init_Lean_WHNF_6__whnfEasyCases___main___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* l_Lean_whnfEasyCases___main___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) @@ -2715,12 +2696,12 @@ lean_dec(x_2); x_11 = lean_ctor_get(x_7, 0); lean_inc(x_11); lean_dec(x_7); -x_12 = l___private_Init_Lean_WHNF_6__whnfEasyCases___main___rarg(x_3, x_4, x_5, x_11, x_6); +x_12 = l_Lean_whnfEasyCases___main___rarg(x_3, x_4, x_5, x_11, x_6); return x_12; } } } -lean_object* l___private_Init_Lean_WHNF_6__whnfEasyCases___main___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_Lean_whnfEasyCases___main___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; @@ -2736,7 +2717,7 @@ x_11 = l_unreachable_x21___rarg___closed__1; x_12 = lean_unsigned_to_nat(37u); x_13 = lean_unsigned_to_nat(0u); x_14 = l_unreachable_x21___rarg___closed__2; -x_15 = l_panicWithPos___at___private_Init_Lean_WHNF_6__whnfEasyCases___main___spec__1___rarg(x_1, x_11, x_12, x_13, x_14); +x_15 = l_panicWithPos___at_Lean_whnfEasyCases___main___spec__1___rarg(x_1, x_11, x_12, x_13, x_14); return x_15; } case 1: @@ -2749,7 +2730,7 @@ lean_inc(x_17); lean_inc(x_2); x_18 = lean_apply_1(x_2, x_16); lean_inc(x_1); -x_19 = lean_alloc_closure((void*)(l___private_Init_Lean_WHNF_6__whnfEasyCases___main___rarg___lambda__1___boxed), 7, 6); +x_19 = lean_alloc_closure((void*)(l_Lean_whnfEasyCases___main___rarg___lambda__1___boxed), 7, 6); lean_closure_set(x_19, 0, x_1); lean_closure_set(x_19, 1, x_4); lean_closure_set(x_19, 2, x_1); @@ -2769,7 +2750,7 @@ lean_inc(x_22); lean_inc(x_3); x_23 = lean_apply_1(x_3, x_21); lean_inc(x_1); -x_24 = lean_alloc_closure((void*)(l___private_Init_Lean_WHNF_6__whnfEasyCases___main___rarg___lambda__2___boxed), 7, 6); +x_24 = lean_alloc_closure((void*)(l_Lean_whnfEasyCases___main___rarg___lambda__2___boxed), 7, 6); lean_closure_set(x_24, 0, x_1); lean_closure_set(x_24, 1, x_4); lean_closure_set(x_24, 2, x_1); @@ -2850,87 +2831,87 @@ return x_9; } } } -lean_object* l___private_Init_Lean_WHNF_6__whnfEasyCases___main(lean_object* x_1) { +lean_object* l_Lean_whnfEasyCases___main(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Init_Lean_WHNF_6__whnfEasyCases___main___rarg), 5, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_whnfEasyCases___main___rarg), 5, 0); return x_2; } } -lean_object* l_panicWithPos___at___private_Init_Lean_WHNF_6__whnfEasyCases___main___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* l_panicWithPos___at_Lean_whnfEasyCases___main___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; -x_6 = l_panicWithPos___at___private_Init_Lean_WHNF_6__whnfEasyCases___main___spec__1___rarg(x_1, x_2, x_3, x_4, x_5); +x_6 = l_panicWithPos___at_Lean_whnfEasyCases___main___spec__1___rarg(x_1, x_2, x_3, x_4, x_5); lean_dec(x_5); lean_dec(x_2); return x_6; } } -lean_object* l_panicWithPos___at___private_Init_Lean_WHNF_6__whnfEasyCases___main___spec__1___boxed(lean_object* x_1) { +lean_object* l_panicWithPos___at_Lean_whnfEasyCases___main___spec__1___boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l_panicWithPos___at___private_Init_Lean_WHNF_6__whnfEasyCases___main___spec__1(x_1); +x_2 = l_panicWithPos___at_Lean_whnfEasyCases___main___spec__1(x_1); lean_dec(x_1); return x_2; } } -lean_object* l___private_Init_Lean_WHNF_6__whnfEasyCases___main___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* l_Lean_whnfEasyCases___main___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) { _start: { lean_object* x_8; -x_8 = l___private_Init_Lean_WHNF_6__whnfEasyCases___main___rarg___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_8 = l_Lean_whnfEasyCases___main___rarg___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_7); lean_dec(x_1); return x_8; } } -lean_object* l___private_Init_Lean_WHNF_6__whnfEasyCases___main___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) { +lean_object* l_Lean_whnfEasyCases___main___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___private_Init_Lean_WHNF_6__whnfEasyCases___main___rarg___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_8 = l_Lean_whnfEasyCases___main___rarg___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_1); return x_8; } } -lean_object* l___private_Init_Lean_WHNF_6__whnfEasyCases___main___boxed(lean_object* x_1) { +lean_object* l_Lean_whnfEasyCases___main___boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Init_Lean_WHNF_6__whnfEasyCases___main(x_1); +x_2 = l_Lean_whnfEasyCases___main(x_1); lean_dec(x_1); return x_2; } } -lean_object* l___private_Init_Lean_WHNF_6__whnfEasyCases___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_Lean_whnfEasyCases___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; -x_6 = l___private_Init_Lean_WHNF_6__whnfEasyCases___main___rarg(x_1, x_2, x_3, x_4, x_5); +x_6 = l_Lean_whnfEasyCases___main___rarg(x_1, x_2, x_3, x_4, x_5); return x_6; } } -lean_object* l___private_Init_Lean_WHNF_6__whnfEasyCases(lean_object* x_1) { +lean_object* l_Lean_whnfEasyCases(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Init_Lean_WHNF_6__whnfEasyCases___rarg), 5, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_whnfEasyCases___rarg), 5, 0); return x_2; } } -lean_object* l___private_Init_Lean_WHNF_6__whnfEasyCases___boxed(lean_object* x_1) { +lean_object* l_Lean_whnfEasyCases___boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Init_Lean_WHNF_6__whnfEasyCases(x_1); +x_2 = l_Lean_whnfEasyCases(x_1); lean_dec(x_1); return x_2; } } -lean_object* _init_l___private_Init_Lean_WHNF_7__isIdRhsApp___closed__1() { +lean_object* _init_l___private_Init_Lean_WHNF_6__isIdRhsApp___closed__1() { _start: { lean_object* x_1; @@ -2938,40 +2919,40 @@ x_1 = lean_mk_string("idRhs"); return x_1; } } -lean_object* _init_l___private_Init_Lean_WHNF_7__isIdRhsApp___closed__2() { +lean_object* _init_l___private_Init_Lean_WHNF_6__isIdRhsApp___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Init_Lean_WHNF_7__isIdRhsApp___closed__1; +x_2 = l___private_Init_Lean_WHNF_6__isIdRhsApp___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -uint8_t l___private_Init_Lean_WHNF_7__isIdRhsApp(lean_object* x_1) { +uint8_t l___private_Init_Lean_WHNF_6__isIdRhsApp(lean_object* x_1) { _start: { lean_object* x_2; uint8_t x_3; -x_2 = l___private_Init_Lean_WHNF_7__isIdRhsApp___closed__2; +x_2 = l___private_Init_Lean_WHNF_6__isIdRhsApp___closed__2; x_3 = l_Lean_Expr_isAppOf(x_1, x_2); return x_3; } } -lean_object* l___private_Init_Lean_WHNF_7__isIdRhsApp___boxed(lean_object* x_1) { +lean_object* l___private_Init_Lean_WHNF_6__isIdRhsApp___boxed(lean_object* x_1) { _start: { uint8_t x_2; lean_object* x_3; -x_2 = l___private_Init_Lean_WHNF_7__isIdRhsApp(x_1); +x_2 = l___private_Init_Lean_WHNF_6__isIdRhsApp(x_1); lean_dec(x_1); x_3 = lean_box(x_2); return x_3; } } -lean_object* l___private_Init_Lean_WHNF_8__extractIdRhs(lean_object* x_1) { +lean_object* l___private_Init_Lean_WHNF_7__extractIdRhs(lean_object* x_1) { _start: { uint8_t x_2; -x_2 = l___private_Init_Lean_WHNF_7__isIdRhsApp(x_1); +x_2 = l___private_Init_Lean_WHNF_6__isIdRhsApp(x_1); if (x_2 == 0) { return x_1; @@ -2981,7 +2962,7 @@ else lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; x_3 = lean_unsigned_to_nat(0u); x_4 = l_Lean_Expr_getAppNumArgsAux___main(x_1, x_3); -x_5 = l_Lean_exprIsInhabited___closed__1; +x_5 = l_Lean_Expr_inhabited___closed__1; lean_inc(x_4); x_6 = lean_mk_array(x_4, x_5); x_7 = lean_unsigned_to_nat(1u); @@ -2996,7 +2977,7 @@ if (x_12 == 0) { lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_dec(x_1); -x_13 = l_Lean_exprIsInhabited; +x_13 = l_Lean_Expr_inhabited; x_14 = lean_array_get(x_13, x_9, x_7); x_15 = l___private_Init_Lean_Expr_1__mkAppRangeAux___main(x_10, x_9, x_11, x_14); lean_dec(x_9); @@ -3012,7 +2993,7 @@ return x_1; } } } -lean_object* l___private_Init_Lean_WHNF_9__deltaDefinition___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Init_Lean_WHNF_8__deltaDefinition___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; lean_object* x_8; uint8_t x_9; @@ -3039,21 +3020,21 @@ else lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_dec(x_3); x_12 = lean_instantiate_value_lparams(x_1, x_2); -x_13 = l___private_Init_Lean_WHNF_8__extractIdRhs(x_12); +x_13 = l___private_Init_Lean_WHNF_7__extractIdRhs(x_12); x_14 = lean_apply_1(x_4, x_13); return x_14; } } } -lean_object* l___private_Init_Lean_WHNF_9__deltaDefinition(lean_object* x_1) { +lean_object* l___private_Init_Lean_WHNF_8__deltaDefinition(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Init_Lean_WHNF_9__deltaDefinition___rarg), 4, 0); +x_2 = lean_alloc_closure((void*)(l___private_Init_Lean_WHNF_8__deltaDefinition___rarg), 4, 0); return x_2; } } -lean_object* l___private_Init_Lean_WHNF_10__deltaBetaDefinition___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___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; uint8_t x_10; @@ -3083,25 +3064,25 @@ lean_dec(x_4); x_13 = lean_instantiate_value_lparams(x_1, x_2); x_14 = l_Lean_Expr_betaRev(x_13, x_3); lean_dec(x_13); -x_15 = l___private_Init_Lean_WHNF_8__extractIdRhs(x_14); +x_15 = l___private_Init_Lean_WHNF_7__extractIdRhs(x_14); x_16 = lean_apply_1(x_5, x_15); return x_16; } } } -lean_object* l___private_Init_Lean_WHNF_10__deltaBetaDefinition(lean_object* x_1) { +lean_object* l___private_Init_Lean_WHNF_9__deltaBetaDefinition(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Init_Lean_WHNF_10__deltaBetaDefinition___rarg), 5, 0); +x_2 = lean_alloc_closure((void*)(l___private_Init_Lean_WHNF_9__deltaBetaDefinition___rarg), 5, 0); return x_2; } } -lean_object* l_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___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* l_panicWithPos___at_Lean_whnfCore___main___spec__1___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; 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; -x_6 = l_Lean_exprIsInhabited; +x_6 = l_Lean_Expr_inhabited; x_7 = l_monadInhabited___rarg(x_1, x_6); x_8 = l_panicWithPos___rarg___closed__1; x_9 = lean_string_append(x_8, x_2); @@ -3122,19 +3103,19 @@ x_21 = lean_panic_fn(x_20); return x_21; } } -lean_object* l_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__1(lean_object* x_1) { +lean_object* l_panicWithPos___at_Lean_whnfCore___main___spec__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__1___rarg___boxed), 5, 0); +x_2 = lean_alloc_closure((void*)(l_panicWithPos___at_Lean_whnfCore___main___spec__1___rarg___boxed), 5, 0); return x_2; } } -lean_object* l_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___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* l_panicWithPos___at_Lean_whnfCore___main___spec__2___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; 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; -x_6 = l_Lean_exprIsInhabited; +x_6 = l_Lean_Expr_inhabited; x_7 = l_monadInhabited___rarg(x_1, x_6); x_8 = l_panicWithPos___rarg___closed__1; x_9 = lean_string_append(x_8, x_2); @@ -3155,19 +3136,19 @@ x_21 = lean_panic_fn(x_20); return x_21; } } -lean_object* l_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__2(lean_object* x_1) { +lean_object* l_panicWithPos___at_Lean_whnfCore___main___spec__2(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__2___rarg___boxed), 5, 0); +x_2 = lean_alloc_closure((void*)(l_panicWithPos___at_Lean_whnfCore___main___spec__2___rarg___boxed), 5, 0); return x_2; } } -lean_object* l_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___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* l_panicWithPos___at_Lean_whnfCore___main___spec__3___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; 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; -x_6 = l_Lean_exprIsInhabited; +x_6 = l_Lean_Expr_inhabited; x_7 = l_monadInhabited___rarg(x_1, x_6); x_8 = l_panicWithPos___rarg___closed__1; x_9 = lean_string_append(x_8, x_2); @@ -3188,19 +3169,19 @@ x_21 = lean_panic_fn(x_20); return x_21; } } -lean_object* l_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__3(lean_object* x_1) { +lean_object* l_panicWithPos___at_Lean_whnfCore___main___spec__3(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__3___rarg___boxed), 5, 0); +x_2 = lean_alloc_closure((void*)(l_panicWithPos___at_Lean_whnfCore___main___spec__3___rarg___boxed), 5, 0); return x_2; } } -lean_object* l_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___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* l_panicWithPos___at_Lean_whnfCore___main___spec__4___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; 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; -x_6 = l_Lean_exprIsInhabited; +x_6 = l_Lean_Expr_inhabited; x_7 = l_monadInhabited___rarg(x_1, x_6); x_8 = l_panicWithPos___rarg___closed__1; x_9 = lean_string_append(x_8, x_2); @@ -3221,15 +3202,15 @@ x_21 = lean_panic_fn(x_20); return x_21; } } -lean_object* l_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__4(lean_object* x_1) { +lean_object* l_panicWithPos___at_Lean_whnfCore___main___spec__4(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__4___rarg___boxed), 5, 0); +x_2 = lean_alloc_closure((void*)(l_panicWithPos___at_Lean_whnfCore___main___spec__4___rarg___boxed), 5, 0); return x_2; } } -lean_object* l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__5___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* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfCore___main___spec__5___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) { _start: { lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; @@ -3288,21 +3269,21 @@ lean_dec(x_9); x_28 = lean_instantiate_value_lparams(x_12, x_13); x_29 = l_Lean_Expr_betaRev(x_28, x_14); lean_dec(x_28); -x_30 = l___private_Init_Lean_WHNF_8__extractIdRhs(x_29); -x_31 = l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__12___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_30); +x_30 = l___private_Init_Lean_WHNF_7__extractIdRhs(x_29); +x_31 = l_Lean_whnfEasyCases___main___at_Lean_whnfCore___main___spec__12___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_30); return x_31; } } } -lean_object* l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__5(lean_object* x_1) { +lean_object* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfCore___main___spec__5(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__5___rarg___boxed), 14, 0); +x_2 = lean_alloc_closure((void*)(l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfCore___main___spec__5___rarg___boxed), 14, 0); return x_2; } } -lean_object* l_Lean_reduceQuotRec___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__6___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, lean_object* x_15, lean_object* x_16, lean_object* x_17) { +lean_object* l_Lean_reduceQuotRec___at_Lean_whnfCore___main___spec__6___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, lean_object* x_15, lean_object* x_16, lean_object* x_17) { _start: { lean_object* x_18; @@ -3353,13 +3334,13 @@ if (lean_obj_tag(x_32) == 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_dec(x_4); -x_33 = l_Lean_exprIsInhabited; +x_33 = l_Lean_Expr_inhabited; x_34 = lean_array_get(x_33, x_5, x_6); x_35 = lean_expr_mk_app(x_34, x_7); x_36 = lean_unsigned_to_nat(1u); x_37 = lean_nat_add(x_8, x_36); x_38 = l___private_Init_Lean_Expr_1__mkAppRangeAux___main(x_9, x_5, x_37, x_35); -x_39 = l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__12___rarg(x_3, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_38); +x_39 = l_Lean_whnfEasyCases___main___at_Lean_whnfCore___main___spec__12___rarg(x_3, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_38); return x_39; } else @@ -3446,7 +3427,7 @@ return x_21; } } } -lean_object* l_Lean_reduceQuotRec___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__6___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, 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* l_Lean_reduceQuotRec___at_Lean_whnfCore___main___spec__6___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, 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; @@ -3478,7 +3459,7 @@ lean_inc(x_27); lean_dec(x_25); lean_inc(x_5); x_28 = lean_apply_1(x_5, x_27); -x_29 = lean_alloc_closure((void*)(l_Lean_reduceQuotRec___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__6___rarg___lambda__1___boxed), 17, 16); +x_29 = lean_alloc_closure((void*)(l_Lean_reduceQuotRec___at_Lean_whnfCore___main___spec__6___rarg___lambda__1___boxed), 17, 16); lean_closure_set(x_29, 0, x_1); lean_closure_set(x_29, 1, x_2); lean_closure_set(x_29, 2, x_3); @@ -3683,7 +3664,7 @@ return x_21; } } } -lean_object* l_Lean_reduceQuotRec___at___private_Init_Lean_WHNF_11__whnfCore___main___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_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +lean_object* l_Lean_reduceQuotRec___at_Lean_whnfCore___main___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_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_20; lean_object* x_21; uint8_t x_36; lean_object* x_37; @@ -3812,7 +3793,7 @@ lean_inc(x_31); lean_inc(x_4); x_32 = lean_apply_1(x_4, x_30); lean_inc(x_31); -x_33 = lean_alloc_closure((void*)(l_Lean_reduceQuotRec___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__6___rarg___lambda__2___boxed), 17, 16); +x_33 = lean_alloc_closure((void*)(l_Lean_reduceQuotRec___at_Lean_whnfCore___main___spec__6___rarg___lambda__2___boxed), 17, 16); lean_closure_set(x_33, 0, x_10); lean_closure_set(x_33, 1, x_11); lean_closure_set(x_33, 2, x_1); @@ -3835,15 +3816,15 @@ return x_34; } } } -lean_object* l_Lean_reduceQuotRec___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__6(lean_object* x_1) { +lean_object* l_Lean_reduceQuotRec___at_Lean_whnfCore___main___spec__6(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_reduceQuotRec___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__6___rarg___boxed), 14, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_reduceQuotRec___at_Lean_whnfCore___main___spec__6___rarg___boxed), 14, 0); return x_2; } } -lean_object* l_Lean_reduceRec___at___private_Init_Lean_WHNF_11__whnfCore___main___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, 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* l_Lean_reduceRec___at_Lean_whnfCore___main___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, 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_23; lean_object* x_24; @@ -3893,7 +3874,7 @@ lean_inc(x_31); lean_dec(x_24); x_32 = lean_unsigned_to_nat(0u); x_33 = l_Lean_Expr_getAppNumArgsAux___main(x_23, x_32); -x_34 = l_Lean_exprIsInhabited___closed__1; +x_34 = l_Lean_Expr_inhabited___closed__1; lean_inc(x_33); x_35 = lean_mk_array(x_33, x_34); x_36 = lean_unsigned_to_nat(1u); @@ -3980,7 +3961,7 @@ lean_dec(x_38); lean_dec(x_58); x_62 = lean_nat_add(x_8, x_36); x_63 = l___private_Init_Lean_Expr_1__mkAppRangeAux___main(x_9, x_7, x_62, x_61); -x_64 = l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__12___rarg(x_4, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_63); +x_64 = l_Lean_whnfEasyCases___main___at_Lean_whnfCore___main___spec__12___rarg(x_4, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_63); return x_64; } } @@ -3999,7 +3980,7 @@ return x_21; } } } -lean_object* l_Lean_reduceRec___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__7___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, 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* l_Lean_reduceRec___at_Lean_whnfCore___main___spec__7___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, 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: { uint8_t x_19; lean_object* x_20; @@ -4010,7 +3991,7 @@ lean_inc(x_12); lean_inc(x_10); lean_inc(x_4); lean_inc(x_1); -x_20 = lean_alloc_closure((void*)(l_Lean_reduceRec___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__7___rarg___lambda__1___boxed), 17, 16); +x_20 = lean_alloc_closure((void*)(l_Lean_reduceRec___at_Lean_whnfCore___main___spec__7___rarg___lambda__1___boxed), 17, 16); lean_closure_set(x_20, 0, x_1); lean_closure_set(x_20, 1, x_2); lean_closure_set(x_20, 2, x_3); @@ -4061,7 +4042,7 @@ return x_28; } } } -lean_object* l_Lean_reduceRec___at___private_Init_Lean_WHNF_11__whnfCore___main___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_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +lean_object* l_Lean_reduceRec___at_Lean_whnfCore___main___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_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { lean_object* x_15; lean_object* x_16; uint8_t x_17; @@ -4122,7 +4103,7 @@ lean_inc(x_27); lean_inc(x_4); x_28 = lean_apply_1(x_4, x_26); lean_inc(x_27); -x_29 = lean_alloc_closure((void*)(l_Lean_reduceRec___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__7___rarg___lambda__2___boxed), 18, 17); +x_29 = lean_alloc_closure((void*)(l_Lean_reduceRec___at_Lean_whnfCore___main___spec__7___rarg___lambda__2___boxed), 18, 17); lean_closure_set(x_29, 0, x_12); lean_closure_set(x_29, 1, x_10); lean_closure_set(x_29, 2, x_11); @@ -4145,19 +4126,19 @@ return x_30; } } } -lean_object* l_Lean_reduceRec___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__7(lean_object* x_1) { +lean_object* l_Lean_reduceRec___at_Lean_whnfCore___main___spec__7(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_reduceRec___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__7___rarg), 14, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_reduceRec___at_Lean_whnfCore___main___spec__7___rarg), 14, 0); return x_2; } } -lean_object* l_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___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* l_panicWithPos___at_Lean_whnfCore___main___spec__8___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; 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; -x_6 = l_Lean_exprIsInhabited; +x_6 = l_Lean_Expr_inhabited; x_7 = l_monadInhabited___rarg(x_1, x_6); x_8 = l_panicWithPos___rarg___closed__1; x_9 = lean_string_append(x_8, x_2); @@ -4178,19 +4159,19 @@ x_21 = lean_panic_fn(x_20); return x_21; } } -lean_object* l_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__8(lean_object* x_1) { +lean_object* l_panicWithPos___at_Lean_whnfCore___main___spec__8(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__8___rarg___boxed), 5, 0); +x_2 = lean_alloc_closure((void*)(l_panicWithPos___at_Lean_whnfCore___main___spec__8___rarg___boxed), 5, 0); return x_2; } } -lean_object* l_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___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* l_panicWithPos___at_Lean_whnfCore___main___spec__9___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; 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; -x_6 = l_Lean_exprIsInhabited; +x_6 = l_Lean_Expr_inhabited; x_7 = l_monadInhabited___rarg(x_1, x_6); x_8 = l_panicWithPos___rarg___closed__1; x_9 = lean_string_append(x_8, x_2); @@ -4211,19 +4192,19 @@ x_21 = lean_panic_fn(x_20); return x_21; } } -lean_object* l_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__9(lean_object* x_1) { +lean_object* l_panicWithPos___at_Lean_whnfCore___main___spec__9(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__9___rarg___boxed), 5, 0); +x_2 = lean_alloc_closure((void*)(l_panicWithPos___at_Lean_whnfCore___main___spec__9___rarg___boxed), 5, 0); return x_2; } } -lean_object* l_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___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* l_panicWithPos___at_Lean_whnfCore___main___spec__10___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; 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; -x_6 = l_Lean_exprIsInhabited; +x_6 = l_Lean_Expr_inhabited; x_7 = l_monadInhabited___rarg(x_1, x_6); x_8 = l_panicWithPos___rarg___closed__1; x_9 = lean_string_append(x_8, x_2); @@ -4244,19 +4225,19 @@ x_21 = lean_panic_fn(x_20); return x_21; } } -lean_object* l_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__10(lean_object* x_1) { +lean_object* l_panicWithPos___at_Lean_whnfCore___main___spec__10(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__10___rarg___boxed), 5, 0); +x_2 = lean_alloc_closure((void*)(l_panicWithPos___at_Lean_whnfCore___main___spec__10___rarg___boxed), 5, 0); return x_2; } } -lean_object* l_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___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* l_panicWithPos___at_Lean_whnfCore___main___spec__11___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; 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; -x_6 = l_Lean_exprIsInhabited; +x_6 = l_Lean_Expr_inhabited; x_7 = l_monadInhabited___rarg(x_1, x_6); x_8 = l_panicWithPos___rarg___closed__1; x_9 = lean_string_append(x_8, x_2); @@ -4277,19 +4258,19 @@ x_21 = lean_panic_fn(x_20); return x_21; } } -lean_object* l_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__11(lean_object* x_1) { +lean_object* l_panicWithPos___at_Lean_whnfCore___main___spec__11(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__11___rarg___boxed), 5, 0); +x_2 = lean_alloc_closure((void*)(l_panicWithPos___at_Lean_whnfCore___main___spec__11___rarg___boxed), 5, 0); return x_2; } } -lean_object* l_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___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* l_panicWithPos___at_Lean_whnfCore___main___spec__13___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; 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; -x_6 = l_Lean_exprIsInhabited; +x_6 = l_Lean_Expr_inhabited; x_7 = l_monadInhabited___rarg(x_1, x_6); x_8 = l_panicWithPos___rarg___closed__1; x_9 = lean_string_append(x_8, x_2); @@ -4310,15 +4291,15 @@ x_21 = lean_panic_fn(x_20); return x_21; } } -lean_object* l_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__13(lean_object* x_1) { +lean_object* l_panicWithPos___at_Lean_whnfCore___main___spec__13(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__13___rarg___boxed), 5, 0); +x_2 = lean_alloc_closure((void*)(l_panicWithPos___at_Lean_whnfCore___main___spec__13___rarg___boxed), 5, 0); return x_2; } } -lean_object* l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__12___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* l_Lean_whnfEasyCases___main___at_Lean_whnfCore___main___spec__12___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; @@ -4349,12 +4330,12 @@ lean_dec(x_2); x_16 = lean_ctor_get(x_12, 0); lean_inc(x_16); lean_dec(x_12); -x_17 = l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__12___rarg(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_16); +x_17 = l_Lean_whnfEasyCases___main___at_Lean_whnfCore___main___spec__12___rarg(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_16); return x_17; } } } -lean_object* l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__12___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, lean_object* x_10, lean_object* x_11) { +lean_object* l_Lean_whnfEasyCases___main___at_Lean_whnfCore___main___spec__12___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, lean_object* x_10, lean_object* x_11) { _start: { if (lean_obj_tag(x_11) == 0) @@ -4383,12 +4364,12 @@ lean_dec(x_2); x_15 = lean_ctor_get(x_11, 0); lean_inc(x_15); lean_dec(x_11); -x_16 = l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__12___rarg(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_15); +x_16 = l_Lean_whnfEasyCases___main___at_Lean_whnfCore___main___spec__12___rarg(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_15); return x_16; } } } -lean_object* l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__12___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, lean_object* x_12, lean_object* x_13, uint8_t x_14) { +lean_object* l_Lean_whnfEasyCases___main___at_Lean_whnfCore___main___spec__12___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, lean_object* x_12, lean_object* x_13, uint8_t x_14) { _start: { if (x_14 == 0) @@ -4435,7 +4416,7 @@ 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_unsigned_to_nat(0u); x_24 = l_Lean_Expr_getAppNumArgsAux___main(x_4, x_23); -x_25 = l_Lean_exprIsInhabited___closed__1; +x_25 = l_Lean_Expr_inhabited___closed__1; lean_inc(x_24); x_26 = lean_mk_array(x_24, x_25); x_27 = lean_unsigned_to_nat(1u); @@ -4443,12 +4424,12 @@ x_28 = lean_nat_sub(x_24, x_27); lean_dec(x_24); lean_inc(x_4); x_29 = l___private_Init_Lean_Expr_2__getAppArgsAux___main(x_4, x_26, x_28); -x_30 = l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__5___rarg(x_3, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_4, x_1, x_2, x_12, x_13, x_29); +x_30 = l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfCore___main___spec__5___rarg(x_3, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_4, x_1, x_2, x_12, x_13, x_29); return x_30; } } } -lean_object* l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__12___rarg___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* l_Lean_whnfEasyCases___main___at_Lean_whnfCore___main___spec__12___rarg___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) { _start: { lean_object* x_15; @@ -4502,7 +4483,7 @@ lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; x_27 = l_Lean_ConstantInfo_name(x_26); lean_inc(x_5); x_28 = lean_apply_1(x_5, x_27); -x_29 = lean_alloc_closure((void*)(l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__12___rarg___lambda__3___boxed), 14, 13); +x_29 = lean_alloc_closure((void*)(l_Lean_whnfEasyCases___main___at_Lean_whnfCore___main___spec__12___rarg___lambda__3___boxed), 14, 13); lean_closure_set(x_29, 0, x_1); lean_closure_set(x_29, 1, x_2); lean_closure_set(x_29, 2, x_3); @@ -4528,7 +4509,7 @@ lean_inc(x_31); lean_dec(x_26); x_32 = lean_unsigned_to_nat(0u); x_33 = l_Lean_Expr_getAppNumArgsAux___main(x_4, x_32); -x_34 = l_Lean_exprIsInhabited___closed__1; +x_34 = l_Lean_Expr_inhabited___closed__1; lean_inc(x_33); x_35 = lean_mk_array(x_33, x_34); x_36 = lean_unsigned_to_nat(1u); @@ -4536,7 +4517,7 @@ x_37 = lean_nat_sub(x_33, x_36); lean_dec(x_33); lean_inc(x_4); x_38 = l___private_Init_Lean_Expr_2__getAppArgsAux___main(x_4, x_35, x_37); -x_39 = l_Lean_reduceQuotRec___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__6___rarg(x_3, x_6, x_5, x_7, x_8, x_9, x_10, x_11, x_4, x_1, x_2, x_31, x_12, x_38); +x_39 = l_Lean_reduceQuotRec___at_Lean_whnfCore___main___spec__6___rarg(x_3, x_6, x_5, x_7, x_8, x_9, x_10, x_11, x_4, x_1, x_2, x_31, x_12, x_38); lean_dec(x_12); lean_dec(x_31); return x_39; @@ -4550,7 +4531,7 @@ lean_inc(x_40); lean_dec(x_26); x_41 = lean_unsigned_to_nat(0u); x_42 = l_Lean_Expr_getAppNumArgsAux___main(x_4, x_41); -x_43 = l_Lean_exprIsInhabited___closed__1; +x_43 = l_Lean_Expr_inhabited___closed__1; lean_inc(x_42); x_44 = lean_mk_array(x_42, x_43); x_45 = lean_unsigned_to_nat(1u); @@ -4558,7 +4539,7 @@ x_46 = lean_nat_sub(x_42, x_45); lean_dec(x_42); lean_inc(x_4); x_47 = l___private_Init_Lean_Expr_2__getAppArgsAux___main(x_4, x_44, x_46); -x_48 = l_Lean_reduceRec___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__7___rarg(x_3, x_6, x_5, x_7, x_8, x_9, x_10, x_11, x_4, x_1, x_2, x_40, x_12, x_47); +x_48 = l_Lean_reduceRec___at_Lean_whnfCore___main___spec__7___rarg(x_3, x_6, x_5, x_7, x_8, x_9, x_10, x_11, x_4, x_1, x_2, x_40, x_12, x_47); return x_48; } default: @@ -4616,7 +4597,7 @@ return x_18; } } } -lean_object* l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__12___rarg___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* l_Lean_whnfEasyCases___main___at_Lean_whnfCore___main___spec__12___rarg___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_18; @@ -4633,7 +4614,7 @@ lean_inc(x_20); lean_inc(x_4); x_21 = lean_apply_1(x_4, x_19); lean_inc(x_11); -x_22 = lean_alloc_closure((void*)(l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__12___rarg___lambda__4), 14, 13); +x_22 = lean_alloc_closure((void*)(l_Lean_whnfEasyCases___main___at_Lean_whnfCore___main___spec__12___rarg___lambda__4), 14, 13); lean_closure_set(x_22, 0, x_1); lean_closure_set(x_22, 1, x_12); lean_closure_set(x_22, 2, x_2); @@ -4699,7 +4680,7 @@ lean_dec(x_31); x_33 = l___private_Init_Lean_Expr_3__getAppRevArgsAux___main(x_3, x_32); x_34 = l_Lean_Expr_betaRev(x_1, x_33); lean_dec(x_1); -x_35 = l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__12___rarg(x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_34); +x_35 = l_Lean_whnfEasyCases___main___at_Lean_whnfCore___main___spec__12___rarg(x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_34); return x_35; } block_17: @@ -4717,7 +4698,7 @@ return x_16; } } } -lean_object* l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__12___rarg___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* l_Lean_whnfEasyCases___main___at_Lean_whnfCore___main___spec__12___rarg___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) { _start: { lean_object* x_8; @@ -4780,7 +4761,7 @@ return x_11; } } } -lean_object* l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__12___rarg___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* l_Lean_whnfEasyCases___main___at_Lean_whnfCore___main___spec__12___rarg___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) { _start: { lean_object* x_9; lean_object* x_14; @@ -4794,7 +4775,7 @@ lean_dec(x_14); x_16 = lean_apply_1(x_3, x_15); lean_inc(x_5); lean_inc(x_4); -x_17 = lean_alloc_closure((void*)(l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__12___rarg___lambda__6___boxed), 7, 6); +x_17 = lean_alloc_closure((void*)(l_Lean_whnfEasyCases___main___at_Lean_whnfCore___main___spec__12___rarg___lambda__6___boxed), 7, 6); lean_closure_set(x_17, 0, x_4); lean_closure_set(x_17, 1, x_5); lean_closure_set(x_17, 2, x_4); @@ -4831,7 +4812,7 @@ return x_12; } } } -lean_object* l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at___private_Init_Lean_WHNF_11__whnfCore___main___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_object* l_Lean_whnfEasyCases___main___at_Lean_whnfCore___main___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; @@ -4851,7 +4832,7 @@ x_15 = l_unreachable_x21___rarg___closed__1; x_16 = lean_unsigned_to_nat(37u); x_17 = lean_unsigned_to_nat(0u); x_18 = l_unreachable_x21___rarg___closed__2; -x_19 = l_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__13___rarg(x_1, x_15, x_16, x_17, x_18); +x_19 = l_panicWithPos___at_Lean_whnfCore___main___spec__13___rarg(x_1, x_15, x_16, x_17, x_18); return x_19; } case 1: @@ -4864,7 +4845,7 @@ lean_inc(x_21); lean_inc(x_7); x_22 = lean_apply_1(x_7, x_20); lean_inc(x_1); -x_23 = lean_alloc_closure((void*)(l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__12___rarg___lambda__1___boxed), 11, 10); +x_23 = lean_alloc_closure((void*)(l_Lean_whnfEasyCases___main___at_Lean_whnfCore___main___spec__12___rarg___lambda__1___boxed), 11, 10); lean_closure_set(x_23, 0, x_1); lean_closure_set(x_23, 1, x_9); lean_closure_set(x_23, 2, x_1); @@ -4888,7 +4869,7 @@ lean_inc(x_26); lean_inc(x_8); x_27 = lean_apply_1(x_8, x_25); lean_inc(x_1); -x_28 = lean_alloc_closure((void*)(l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__12___rarg___lambda__2___boxed), 11, 10); +x_28 = lean_alloc_closure((void*)(l_Lean_whnfEasyCases___main___at_Lean_whnfCore___main___spec__12___rarg___lambda__2___boxed), 11, 10); lean_closure_set(x_28, 0, x_1); lean_closure_set(x_28, 1, x_9); lean_closure_set(x_28, 2, x_1); @@ -4939,9 +4920,9 @@ lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); lean_inc(x_1); -x_36 = l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__12___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_34); +x_36 = l_Lean_whnfEasyCases___main___at_Lean_whnfCore___main___spec__12___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_34); lean_inc(x_35); -x_37 = lean_alloc_closure((void*)(l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__12___rarg___lambda__5), 12, 11); +x_37 = lean_alloc_closure((void*)(l_Lean_whnfEasyCases___main___at_Lean_whnfCore___main___spec__12___rarg___lambda__5), 12, 11); lean_closure_set(x_37, 0, x_34); lean_closure_set(x_37, 1, x_1); lean_closure_set(x_37, 2, x_9); @@ -4997,7 +4978,7 @@ x_48 = lean_apply_1(x_4, x_46); lean_inc(x_47); lean_inc(x_9); lean_inc(x_1); -x_49 = lean_alloc_closure((void*)(l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__12___rarg___lambda__7___boxed), 8, 7); +x_49 = lean_alloc_closure((void*)(l_Lean_whnfEasyCases___main___at_Lean_whnfCore___main___spec__12___rarg___lambda__7___boxed), 8, 7); lean_closure_set(x_49, 0, x_1); lean_closure_set(x_49, 1, x_9); lean_closure_set(x_49, 2, x_2); @@ -5038,126 +5019,126 @@ return x_13; } } } -lean_object* l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__12(lean_object* x_1) { +lean_object* l_Lean_whnfEasyCases___main___at_Lean_whnfCore___main___spec__12(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__12___rarg), 9, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_whnfEasyCases___main___at_Lean_whnfCore___main___spec__12___rarg), 9, 0); return x_2; } } -lean_object* l___private_Init_Lean_WHNF_11__whnfCore___main___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* l_Lean_whnfCore___main___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; -x_10 = l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__12___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l_Lean_whnfEasyCases___main___at_Lean_whnfCore___main___spec__12___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_10; } } -lean_object* l___private_Init_Lean_WHNF_11__whnfCore___main(lean_object* x_1) { +lean_object* l_Lean_whnfCore___main(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Init_Lean_WHNF_11__whnfCore___main___rarg), 9, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_whnfCore___main___rarg), 9, 0); return x_2; } } -lean_object* l_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___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* l_panicWithPos___at_Lean_whnfCore___main___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; -x_6 = l_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__1___rarg(x_1, x_2, x_3, x_4, x_5); +x_6 = l_panicWithPos___at_Lean_whnfCore___main___spec__1___rarg(x_1, x_2, x_3, x_4, x_5); lean_dec(x_5); lean_dec(x_2); return x_6; } } -lean_object* l_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__1___boxed(lean_object* x_1) { +lean_object* l_panicWithPos___at_Lean_whnfCore___main___spec__1___boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__1(x_1); +x_2 = l_panicWithPos___at_Lean_whnfCore___main___spec__1(x_1); lean_dec(x_1); return x_2; } } -lean_object* l_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___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* l_panicWithPos___at_Lean_whnfCore___main___spec__2___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; -x_6 = l_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__2___rarg(x_1, x_2, x_3, x_4, x_5); +x_6 = l_panicWithPos___at_Lean_whnfCore___main___spec__2___rarg(x_1, x_2, x_3, x_4, x_5); lean_dec(x_5); lean_dec(x_2); return x_6; } } -lean_object* l_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__2___boxed(lean_object* x_1) { +lean_object* l_panicWithPos___at_Lean_whnfCore___main___spec__2___boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__2(x_1); +x_2 = l_panicWithPos___at_Lean_whnfCore___main___spec__2(x_1); lean_dec(x_1); return x_2; } } -lean_object* l_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___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* l_panicWithPos___at_Lean_whnfCore___main___spec__3___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; -x_6 = l_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__3___rarg(x_1, x_2, x_3, x_4, x_5); +x_6 = l_panicWithPos___at_Lean_whnfCore___main___spec__3___rarg(x_1, x_2, x_3, x_4, x_5); lean_dec(x_5); lean_dec(x_2); return x_6; } } -lean_object* l_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__3___boxed(lean_object* x_1) { +lean_object* l_panicWithPos___at_Lean_whnfCore___main___spec__3___boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__3(x_1); +x_2 = l_panicWithPos___at_Lean_whnfCore___main___spec__3(x_1); lean_dec(x_1); return x_2; } } -lean_object* l_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___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* l_panicWithPos___at_Lean_whnfCore___main___spec__4___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; -x_6 = l_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__4___rarg(x_1, x_2, x_3, x_4, x_5); +x_6 = l_panicWithPos___at_Lean_whnfCore___main___spec__4___rarg(x_1, x_2, x_3, x_4, x_5); lean_dec(x_5); lean_dec(x_2); return x_6; } } -lean_object* l_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__4___boxed(lean_object* x_1) { +lean_object* l_panicWithPos___at_Lean_whnfCore___main___spec__4___boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__4(x_1); +x_2 = l_panicWithPos___at_Lean_whnfCore___main___spec__4(x_1); lean_dec(x_1); return x_2; } } -lean_object* l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__5___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_object* x_14) { +lean_object* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfCore___main___spec__5___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_object* x_14) { _start: { lean_object* x_15; -x_15 = l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__5___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, x_14); +x_15 = l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfCore___main___spec__5___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, x_14); lean_dec(x_11); lean_dec(x_10); return x_15; } } -lean_object* l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__5___boxed(lean_object* x_1) { +lean_object* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfCore___main___spec__5___boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__5(x_1); +x_2 = l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfCore___main___spec__5(x_1); lean_dec(x_1); return x_2; } } -lean_object* l_Lean_reduceQuotRec___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__6___rarg___lambda__1___boxed(lean_object** _args) { +lean_object* l_Lean_reduceQuotRec___at_Lean_whnfCore___main___spec__6___rarg___lambda__1___boxed(lean_object** _args) { lean_object* x_1 = _args[0]; lean_object* x_2 = _args[1]; lean_object* x_3 = _args[2]; @@ -5178,7 +5159,7 @@ lean_object* x_17 = _args[16]; _start: { lean_object* x_18; -x_18 = l_Lean_reduceQuotRec___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__6___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, x_15, x_16, x_17); +x_18 = l_Lean_reduceQuotRec___at_Lean_whnfCore___main___spec__6___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, x_15, x_16, x_17); lean_dec(x_17); lean_dec(x_9); lean_dec(x_8); @@ -5189,7 +5170,7 @@ lean_dec(x_1); return x_18; } } -lean_object* l_Lean_reduceQuotRec___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__6___rarg___lambda__2___boxed(lean_object** _args) { +lean_object* l_Lean_reduceQuotRec___at_Lean_whnfCore___main___spec__6___rarg___lambda__2___boxed(lean_object** _args) { lean_object* x_1 = _args[0]; lean_object* x_2 = _args[1]; lean_object* x_3 = _args[2]; @@ -5210,30 +5191,30 @@ lean_object* x_17 = _args[16]; _start: { lean_object* x_18; -x_18 = l_Lean_reduceQuotRec___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__6___rarg___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, x_17); +x_18 = l_Lean_reduceQuotRec___at_Lean_whnfCore___main___spec__6___rarg___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, x_17); return x_18; } } -lean_object* l_Lean_reduceQuotRec___at___private_Init_Lean_WHNF_11__whnfCore___main___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_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +lean_object* l_Lean_reduceQuotRec___at_Lean_whnfCore___main___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_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_reduceQuotRec___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__6___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, x_14); +x_15 = l_Lean_reduceQuotRec___at_Lean_whnfCore___main___spec__6___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, x_14); lean_dec(x_13); lean_dec(x_12); return x_15; } } -lean_object* l_Lean_reduceQuotRec___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__6___boxed(lean_object* x_1) { +lean_object* l_Lean_reduceQuotRec___at_Lean_whnfCore___main___spec__6___boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l_Lean_reduceQuotRec___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__6(x_1); +x_2 = l_Lean_reduceQuotRec___at_Lean_whnfCore___main___spec__6(x_1); lean_dec(x_1); return x_2; } } -lean_object* l_Lean_reduceRec___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__7___rarg___lambda__1___boxed(lean_object** _args) { +lean_object* l_Lean_reduceRec___at_Lean_whnfCore___main___spec__7___rarg___lambda__1___boxed(lean_object** _args) { lean_object* x_1 = _args[0]; lean_object* x_2 = _args[1]; lean_object* x_3 = _args[2]; @@ -5254,7 +5235,7 @@ lean_object* x_17 = _args[16]; _start: { lean_object* x_18; -x_18 = l_Lean_reduceRec___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__7___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, x_15, x_16, x_17); +x_18 = l_Lean_reduceRec___at_Lean_whnfCore___main___spec__7___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, x_15, x_16, x_17); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -5263,7 +5244,7 @@ lean_dec(x_2); return x_18; } } -lean_object* l_Lean_reduceRec___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__7___rarg___lambda__2___boxed(lean_object** _args) { +lean_object* l_Lean_reduceRec___at_Lean_whnfCore___main___spec__7___rarg___lambda__2___boxed(lean_object** _args) { lean_object* x_1 = _args[0]; lean_object* x_2 = _args[1]; lean_object* x_3 = _args[2]; @@ -5285,150 +5266,150 @@ lean_object* x_18 = _args[17]; _start: { lean_object* x_19; -x_19 = l_Lean_reduceRec___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__7___rarg___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, x_17, x_18); +x_19 = l_Lean_reduceRec___at_Lean_whnfCore___main___spec__7___rarg___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, x_17, x_18); return x_19; } } -lean_object* l_Lean_reduceRec___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__7___boxed(lean_object* x_1) { +lean_object* l_Lean_reduceRec___at_Lean_whnfCore___main___spec__7___boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l_Lean_reduceRec___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__7(x_1); +x_2 = l_Lean_reduceRec___at_Lean_whnfCore___main___spec__7(x_1); lean_dec(x_1); return x_2; } } -lean_object* l_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__8___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_panicWithPos___at_Lean_whnfCore___main___spec__8___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; -x_6 = l_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__8___rarg(x_1, x_2, x_3, x_4, x_5); +x_6 = l_panicWithPos___at_Lean_whnfCore___main___spec__8___rarg(x_1, x_2, x_3, x_4, x_5); lean_dec(x_5); lean_dec(x_2); return x_6; } } -lean_object* l_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__8___boxed(lean_object* x_1) { +lean_object* l_panicWithPos___at_Lean_whnfCore___main___spec__8___boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__8(x_1); +x_2 = l_panicWithPos___at_Lean_whnfCore___main___spec__8(x_1); lean_dec(x_1); return x_2; } } -lean_object* l_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__9___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_panicWithPos___at_Lean_whnfCore___main___spec__9___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; -x_6 = l_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__9___rarg(x_1, x_2, x_3, x_4, x_5); +x_6 = l_panicWithPos___at_Lean_whnfCore___main___spec__9___rarg(x_1, x_2, x_3, x_4, x_5); lean_dec(x_5); lean_dec(x_2); return x_6; } } -lean_object* l_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__9___boxed(lean_object* x_1) { +lean_object* l_panicWithPos___at_Lean_whnfCore___main___spec__9___boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__9(x_1); +x_2 = l_panicWithPos___at_Lean_whnfCore___main___spec__9(x_1); lean_dec(x_1); return x_2; } } -lean_object* l_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___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* l_panicWithPos___at_Lean_whnfCore___main___spec__10___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; -x_6 = l_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__10___rarg(x_1, x_2, x_3, x_4, x_5); +x_6 = l_panicWithPos___at_Lean_whnfCore___main___spec__10___rarg(x_1, x_2, x_3, x_4, x_5); lean_dec(x_5); lean_dec(x_2); return x_6; } } -lean_object* l_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__10___boxed(lean_object* x_1) { +lean_object* l_panicWithPos___at_Lean_whnfCore___main___spec__10___boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__10(x_1); +x_2 = l_panicWithPos___at_Lean_whnfCore___main___spec__10(x_1); lean_dec(x_1); return x_2; } } -lean_object* l_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__11___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_panicWithPos___at_Lean_whnfCore___main___spec__11___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; -x_6 = l_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__11___rarg(x_1, x_2, x_3, x_4, x_5); +x_6 = l_panicWithPos___at_Lean_whnfCore___main___spec__11___rarg(x_1, x_2, x_3, x_4, x_5); lean_dec(x_5); lean_dec(x_2); return x_6; } } -lean_object* l_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__11___boxed(lean_object* x_1) { +lean_object* l_panicWithPos___at_Lean_whnfCore___main___spec__11___boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__11(x_1); +x_2 = l_panicWithPos___at_Lean_whnfCore___main___spec__11(x_1); lean_dec(x_1); return x_2; } } -lean_object* l_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___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* l_panicWithPos___at_Lean_whnfCore___main___spec__13___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; -x_6 = l_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__13___rarg(x_1, x_2, x_3, x_4, x_5); +x_6 = l_panicWithPos___at_Lean_whnfCore___main___spec__13___rarg(x_1, x_2, x_3, x_4, x_5); lean_dec(x_5); lean_dec(x_2); return x_6; } } -lean_object* l_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__13___boxed(lean_object* x_1) { +lean_object* l_panicWithPos___at_Lean_whnfCore___main___spec__13___boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l_panicWithPos___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__13(x_1); +x_2 = l_panicWithPos___at_Lean_whnfCore___main___spec__13(x_1); lean_dec(x_1); return x_2; } } -lean_object* l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__12___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* l_Lean_whnfEasyCases___main___at_Lean_whnfCore___main___spec__12___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) { _start: { lean_object* x_12; -x_12 = l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__12___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 = l_Lean_whnfEasyCases___main___at_Lean_whnfCore___main___spec__12___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); lean_dec(x_11); lean_dec(x_1); return x_12; } } -lean_object* l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__12___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, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +lean_object* l_Lean_whnfEasyCases___main___at_Lean_whnfCore___main___spec__12___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, 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_Init_Lean_WHNF_6__whnfEasyCases___main___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__12___rarg___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 = l_Lean_whnfEasyCases___main___at_Lean_whnfCore___main___spec__12___rarg___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_1); return x_12; } } -lean_object* l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__12___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, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +lean_object* l_Lean_whnfEasyCases___main___at_Lean_whnfCore___main___spec__12___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, 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_14); lean_dec(x_14); -x_16 = l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__12___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, x_12, x_13, x_15); +x_16 = l_Lean_whnfEasyCases___main___at_Lean_whnfCore___main___spec__12___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, x_12, x_13, x_15); lean_dec(x_2); lean_dec(x_1); return x_16; } } -lean_object* l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__12___rarg___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* l_Lean_whnfEasyCases___main___at_Lean_whnfCore___main___spec__12___rarg___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) { _start: { lean_object* x_8; -x_8 = l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__12___rarg___lambda__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_8 = l_Lean_whnfEasyCases___main___at_Lean_whnfCore___main___spec__12___rarg___lambda__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_7); lean_dec(x_5); lean_dec(x_4); @@ -5437,60 +5418,60 @@ lean_dec(x_1); return x_8; } } -lean_object* l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__12___rarg___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* l_Lean_whnfEasyCases___main___at_Lean_whnfCore___main___spec__12___rarg___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) { _start: { lean_object* x_9; -x_9 = l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__12___rarg___lambda__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_9 = l_Lean_whnfEasyCases___main___at_Lean_whnfCore___main___spec__12___rarg___lambda__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_2); lean_dec(x_1); return x_9; } } -lean_object* l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__12___boxed(lean_object* x_1) { +lean_object* l_Lean_whnfEasyCases___main___at_Lean_whnfCore___main___spec__12___boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__12(x_1); +x_2 = l_Lean_whnfEasyCases___main___at_Lean_whnfCore___main___spec__12(x_1); lean_dec(x_1); return x_2; } } -lean_object* l___private_Init_Lean_WHNF_11__whnfCore___main___boxed(lean_object* x_1) { +lean_object* l_Lean_whnfCore___main___boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Init_Lean_WHNF_11__whnfCore___main(x_1); +x_2 = l_Lean_whnfCore___main(x_1); lean_dec(x_1); return x_2; } } -lean_object* l___private_Init_Lean_WHNF_11__whnfCore___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* l_Lean_whnfCore___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; -x_10 = l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__12___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l_Lean_whnfEasyCases___main___at_Lean_whnfCore___main___spec__12___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_10; } } -lean_object* l___private_Init_Lean_WHNF_11__whnfCore(lean_object* x_1) { +lean_object* l_Lean_whnfCore(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Init_Lean_WHNF_11__whnfCore___rarg), 9, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_whnfCore___rarg), 9, 0); return x_2; } } -lean_object* l___private_Init_Lean_WHNF_11__whnfCore___boxed(lean_object* x_1) { +lean_object* l_Lean_whnfCore___boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Init_Lean_WHNF_11__whnfCore(x_1); +x_2 = l_Lean_whnfCore(x_1); lean_dec(x_1); return x_2; } } -lean_object* l___private_Init_Lean_WHNF_12__whnfCoreUnstuck___main___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, uint8_t x_11) { +lean_object* l___private_Init_Lean_WHNF_10__whnfCoreUnstuck___main___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, uint8_t x_11) { _start: { if (x_11 == 0) @@ -5516,12 +5497,12 @@ return x_14; else { lean_object* x_15; -x_15 = l___private_Init_Lean_WHNF_12__whnfCoreUnstuck___main___rarg(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_2); +x_15 = l___private_Init_Lean_WHNF_10__whnfCoreUnstuck___main___rarg(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_2); return x_15; } } } -lean_object* l___private_Init_Lean_WHNF_12__whnfCoreUnstuck___main___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, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +lean_object* l___private_Init_Lean_WHNF_10__whnfCoreUnstuck___main___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, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { if (lean_obj_tag(x_12) == 0) @@ -5553,7 +5534,7 @@ lean_inc(x_16); lean_dec(x_12); lean_inc(x_3); x_17 = lean_apply_1(x_3, x_16); -x_18 = lean_alloc_closure((void*)(l___private_Init_Lean_WHNF_12__whnfCoreUnstuck___main___rarg___lambda__1___boxed), 11, 10); +x_18 = lean_alloc_closure((void*)(l___private_Init_Lean_WHNF_10__whnfCoreUnstuck___main___rarg___lambda__1___boxed), 11, 10); lean_closure_set(x_18, 0, x_1); lean_closure_set(x_18, 1, x_2); lean_closure_set(x_18, 2, x_4); @@ -5569,7 +5550,7 @@ return x_19; } } } -lean_object* l___private_Init_Lean_WHNF_12__whnfCoreUnstuck___main___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) { +lean_object* l___private_Init_Lean_WHNF_10__whnfCoreUnstuck___main___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_12; lean_object* x_13; lean_object* x_14; @@ -5579,7 +5560,7 @@ lean_inc(x_2); lean_inc(x_1); x_12 = l_Lean_getStuckMVar___main___rarg(x_1, x_2, x_3, x_11); lean_inc(x_10); -x_13 = lean_alloc_closure((void*)(l___private_Init_Lean_WHNF_12__whnfCoreUnstuck___main___rarg___lambda__2), 12, 11); +x_13 = lean_alloc_closure((void*)(l___private_Init_Lean_WHNF_10__whnfCoreUnstuck___main___rarg___lambda__2), 12, 11); lean_closure_set(x_13, 0, x_1); lean_closure_set(x_13, 1, x_11); lean_closure_set(x_13, 2, x_4); @@ -5595,7 +5576,7 @@ x_14 = lean_apply_4(x_10, lean_box(0), lean_box(0), x_12, x_13); return x_14; } } -lean_object* l___private_Init_Lean_WHNF_12__whnfCoreUnstuck___main___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* l___private_Init_Lean_WHNF_10__whnfCoreUnstuck___main___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; @@ -5609,9 +5590,9 @@ lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); lean_inc(x_1); -x_12 = l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__12___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_8, x_9, x_10); +x_12 = l_Lean_whnfEasyCases___main___at_Lean_whnfCore___main___spec__12___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_8, x_9, x_10); lean_inc(x_11); -x_13 = lean_alloc_closure((void*)(l___private_Init_Lean_WHNF_12__whnfCoreUnstuck___main___rarg___lambda__3), 11, 10); +x_13 = lean_alloc_closure((void*)(l___private_Init_Lean_WHNF_10__whnfCoreUnstuck___main___rarg___lambda__3), 11, 10); lean_closure_set(x_13, 0, x_1); lean_closure_set(x_13, 1, x_2); lean_closure_set(x_13, 2, x_4); @@ -5626,63 +5607,63 @@ x_14 = lean_apply_4(x_11, lean_box(0), lean_box(0), x_12, x_13); return x_14; } } -lean_object* l___private_Init_Lean_WHNF_12__whnfCoreUnstuck___main(lean_object* x_1) { +lean_object* l___private_Init_Lean_WHNF_10__whnfCoreUnstuck___main(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Init_Lean_WHNF_12__whnfCoreUnstuck___main___rarg), 10, 0); +x_2 = lean_alloc_closure((void*)(l___private_Init_Lean_WHNF_10__whnfCoreUnstuck___main___rarg), 10, 0); return x_2; } } -lean_object* l___private_Init_Lean_WHNF_12__whnfCoreUnstuck___main___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* l___private_Init_Lean_WHNF_10__whnfCoreUnstuck___main___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) { _start: { uint8_t x_12; lean_object* x_13; x_12 = lean_unbox(x_11); lean_dec(x_11); -x_13 = l___private_Init_Lean_WHNF_12__whnfCoreUnstuck___main___rarg___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_12); +x_13 = l___private_Init_Lean_WHNF_10__whnfCoreUnstuck___main___rarg___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_12); return x_13; } } -lean_object* l___private_Init_Lean_WHNF_12__whnfCoreUnstuck___main___boxed(lean_object* x_1) { +lean_object* l___private_Init_Lean_WHNF_10__whnfCoreUnstuck___main___boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Init_Lean_WHNF_12__whnfCoreUnstuck___main(x_1); +x_2 = l___private_Init_Lean_WHNF_10__whnfCoreUnstuck___main(x_1); lean_dec(x_1); return x_2; } } -lean_object* l___private_Init_Lean_WHNF_12__whnfCoreUnstuck___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* l___private_Init_Lean_WHNF_10__whnfCoreUnstuck___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; -x_11 = l___private_Init_Lean_WHNF_12__whnfCoreUnstuck___main___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_11 = l___private_Init_Lean_WHNF_10__whnfCoreUnstuck___main___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); return x_11; } } -lean_object* l___private_Init_Lean_WHNF_12__whnfCoreUnstuck(lean_object* x_1) { +lean_object* l___private_Init_Lean_WHNF_10__whnfCoreUnstuck(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Init_Lean_WHNF_12__whnfCoreUnstuck___rarg), 10, 0); +x_2 = lean_alloc_closure((void*)(l___private_Init_Lean_WHNF_10__whnfCoreUnstuck___rarg), 10, 0); return x_2; } } -lean_object* l___private_Init_Lean_WHNF_12__whnfCoreUnstuck___boxed(lean_object* x_1) { +lean_object* l___private_Init_Lean_WHNF_10__whnfCoreUnstuck___boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Init_Lean_WHNF_12__whnfCoreUnstuck(x_1); +x_2 = l___private_Init_Lean_WHNF_10__whnfCoreUnstuck(x_1); lean_dec(x_1); return x_2; } } -lean_object* l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_unfoldDefinition___spec__1___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_unfoldDefinition___spec__1___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { uint8_t x_4; -x_4 = l___private_Init_Lean_WHNF_7__isIdRhsApp(x_3); +x_4 = l___private_Init_Lean_WHNF_6__isIdRhsApp(x_3); if (x_4 == 0) { lean_object* x_5; lean_object* x_6; @@ -5696,13 +5677,13 @@ else { lean_object* x_7; lean_object* x_8; lean_dec(x_1); -x_7 = l___private_Init_Lean_WHNF_8__extractIdRhs(x_3); +x_7 = l___private_Init_Lean_WHNF_7__extractIdRhs(x_3); x_8 = lean_apply_1(x_2, x_7); return x_8; } } } -lean_object* l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_unfoldDefinition___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, 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* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_unfoldDefinition___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, 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; @@ -5741,9 +5722,9 @@ lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean x_23 = lean_instantiate_value_lparams(x_13, x_14); x_24 = l_Lean_Expr_betaRev(x_23, x_15); lean_dec(x_23); -x_25 = l___private_Init_Lean_WHNF_8__extractIdRhs(x_24); -x_26 = l___private_Init_Lean_WHNF_12__whnfCoreUnstuck___main___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_25); -x_27 = lean_alloc_closure((void*)(l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_unfoldDefinition___spec__1___rarg___lambda__1), 3, 2); +x_25 = l___private_Init_Lean_WHNF_7__extractIdRhs(x_24); +x_26 = l___private_Init_Lean_WHNF_10__whnfCoreUnstuck___main___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_25); +x_27 = lean_alloc_closure((void*)(l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_unfoldDefinition___spec__1___rarg___lambda__1), 3, 2); lean_closure_set(x_27, 0, x_10); lean_closure_set(x_27, 1, x_11); x_28 = lean_apply_4(x_12, lean_box(0), lean_box(0), x_26, x_27); @@ -5751,11 +5732,11 @@ return x_28; } } } -lean_object* l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_unfoldDefinition___spec__1(lean_object* x_1, lean_object* x_2) { +lean_object* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_unfoldDefinition___spec__1(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_unfoldDefinition___spec__1___rarg), 15, 0); +x_3 = lean_alloc_closure((void*)(l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_unfoldDefinition___spec__1___rarg), 15, 0); return x_3; } } @@ -5780,7 +5761,7 @@ lean_dec(x_4); if (lean_obj_tag(x_7) == 1) { lean_object* x_8; -x_8 = l___private_Init_Lean_WHNF_9__deltaDefinition___rarg(x_7, x_2, x_1, x_3); +x_8 = l___private_Init_Lean_WHNF_8__deltaDefinition___rarg(x_7, x_2, x_1, x_3); return x_8; } else @@ -5817,7 +5798,7 @@ x_18 = l_Lean_Expr_getAppNumArgsAux___main(x_1, x_17); x_19 = lean_mk_empty_array_with_capacity(x_18); lean_dec(x_18); x_20 = l___private_Init_Lean_Expr_3__getAppRevArgsAux___main(x_1, x_19); -x_21 = l___private_Init_Lean_WHNF_10__deltaBetaDefinition___rarg(x_2, x_3, x_20, x_4, x_5); +x_21 = l___private_Init_Lean_WHNF_9__deltaBetaDefinition___rarg(x_2, x_3, x_20, x_4, x_5); return x_21; } else @@ -5835,7 +5816,7 @@ x_24 = l_Lean_Expr_getAppNumArgsAux___main(x_1, x_23); x_25 = lean_mk_empty_array_with_capacity(x_24); lean_dec(x_24); x_26 = l___private_Init_Lean_Expr_3__getAppRevArgsAux___main(x_1, x_25); -x_27 = l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_unfoldDefinition___spec__1___rarg(x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_4, x_5, x_15, x_22, x_3, x_26); +x_27 = l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_unfoldDefinition___spec__1___rarg(x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_4, x_5, x_15, x_22, x_3, x_26); return x_27; } else @@ -5857,7 +5838,7 @@ x_29 = l_Lean_Expr_getAppNumArgsAux___main(x_1, x_28); x_30 = lean_mk_empty_array_with_capacity(x_29); lean_dec(x_29); x_31 = l___private_Init_Lean_Expr_3__getAppRevArgsAux___main(x_1, x_30); -x_32 = l___private_Init_Lean_WHNF_10__deltaBetaDefinition___rarg(x_2, x_3, x_31, x_4, x_5); +x_32 = l___private_Init_Lean_WHNF_9__deltaBetaDefinition___rarg(x_2, x_3, x_31, x_4, x_5); return x_32; } } @@ -6069,11 +6050,11 @@ x_3 = lean_alloc_closure((void*)(l_Lean_unfoldDefinition___rarg), 12, 0); return x_3; } } -lean_object* l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_unfoldDefinition___spec__1___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_unfoldDefinition___spec__1___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_unfoldDefinition___spec__1(x_1, x_2); +x_3 = l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_unfoldDefinition___spec__1(x_1, x_2); lean_dec(x_2); return x_3; } @@ -6091,7 +6072,7 @@ lean_object* l_panicWithPos___at_Lean_whnfMain___main___spec__2___rarg(lean_obje _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_6 = l_Lean_exprIsInhabited; +x_6 = l_Lean_Expr_inhabited; x_7 = l_monadInhabited___rarg(x_1, x_6); x_8 = l_panicWithPos___rarg___closed__1; x_9 = lean_string_append(x_8, x_2); @@ -6124,7 +6105,7 @@ lean_object* l_panicWithPos___at_Lean_whnfMain___main___spec__3___rarg(lean_obje _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_6 = l_Lean_exprIsInhabited; +x_6 = l_Lean_Expr_inhabited; x_7 = l_monadInhabited___rarg(x_1, x_6); x_8 = l_panicWithPos___rarg___closed__1; x_9 = lean_string_append(x_8, x_2); @@ -6157,7 +6138,7 @@ lean_object* l_panicWithPos___at_Lean_whnfMain___main___spec__4___rarg(lean_obje _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_6 = l_Lean_exprIsInhabited; +x_6 = l_Lean_Expr_inhabited; x_7 = l_monadInhabited___rarg(x_1, x_6); x_8 = l_panicWithPos___rarg___closed__1; x_9 = lean_string_append(x_8, x_2); @@ -6190,7 +6171,7 @@ lean_object* l_panicWithPos___at_Lean_whnfMain___main___spec__5___rarg(lean_obje _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_6 = l_Lean_exprIsInhabited; +x_6 = l_Lean_Expr_inhabited; x_7 = l_monadInhabited___rarg(x_1, x_6); x_8 = l_panicWithPos___rarg___closed__1; x_9 = lean_string_append(x_8, x_2); @@ -6219,7 +6200,7 @@ x_2 = lean_alloc_closure((void*)(l_panicWithPos___at_Lean_whnfMain___main___spec return x_2; } } -lean_object* l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___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_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +lean_object* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___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_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; uint8_t x_19; @@ -6278,17 +6259,17 @@ lean_dec(x_9); x_28 = lean_instantiate_value_lparams(x_12, x_13); x_29 = l_Lean_Expr_betaRev(x_28, x_14); lean_dec(x_28); -x_30 = l___private_Init_Lean_WHNF_8__extractIdRhs(x_29); -x_31 = l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at_Lean_whnfMain___main___spec__14___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_30); +x_30 = l___private_Init_Lean_WHNF_7__extractIdRhs(x_29); +x_31 = l_Lean_whnfEasyCases___main___at_Lean_whnfMain___main___spec__14___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_30); return x_31; } } } -lean_object* l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__6(lean_object* x_1) { +lean_object* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__6(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__6___rarg___boxed), 14, 0); +x_2 = lean_alloc_closure((void*)(l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__6___rarg___boxed), 14, 0); return x_2; } } @@ -6343,13 +6324,13 @@ if (lean_obj_tag(x_32) == 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_dec(x_4); -x_33 = l_Lean_exprIsInhabited; +x_33 = l_Lean_Expr_inhabited; x_34 = lean_array_get(x_33, x_5, x_6); x_35 = lean_expr_mk_app(x_34, x_7); x_36 = lean_unsigned_to_nat(1u); x_37 = lean_nat_add(x_8, x_36); x_38 = l___private_Init_Lean_Expr_1__mkAppRangeAux___main(x_9, x_5, x_37, x_35); -x_39 = l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at_Lean_whnfMain___main___spec__14___rarg(x_3, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_38); +x_39 = l_Lean_whnfEasyCases___main___at_Lean_whnfMain___main___spec__14___rarg(x_3, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_38); return x_39; } else @@ -6943,7 +6924,7 @@ lean_inc(x_31); lean_dec(x_24); x_32 = lean_unsigned_to_nat(0u); x_33 = l_Lean_Expr_getAppNumArgsAux___main(x_23, x_32); -x_34 = l_Lean_exprIsInhabited___closed__1; +x_34 = l_Lean_Expr_inhabited___closed__1; lean_inc(x_33); x_35 = lean_mk_array(x_33, x_34); x_36 = lean_unsigned_to_nat(1u); @@ -7030,7 +7011,7 @@ lean_dec(x_38); lean_dec(x_58); x_62 = lean_nat_add(x_8, x_36); x_63 = l___private_Init_Lean_Expr_1__mkAppRangeAux___main(x_9, x_7, x_62, x_61); -x_64 = l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at_Lean_whnfMain___main___spec__14___rarg(x_4, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_63); +x_64 = l_Lean_whnfEasyCases___main___at_Lean_whnfMain___main___spec__14___rarg(x_4, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_63); return x_64; } } @@ -7220,7 +7201,7 @@ lean_object* l_panicWithPos___at_Lean_whnfMain___main___spec__10___rarg(lean_obj _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_6 = l_Lean_exprIsInhabited; +x_6 = l_Lean_Expr_inhabited; x_7 = l_monadInhabited___rarg(x_1, x_6); x_8 = l_panicWithPos___rarg___closed__1; x_9 = lean_string_append(x_8, x_2); @@ -7253,7 +7234,7 @@ lean_object* l_panicWithPos___at_Lean_whnfMain___main___spec__11___rarg(lean_obj _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_6 = l_Lean_exprIsInhabited; +x_6 = l_Lean_Expr_inhabited; x_7 = l_monadInhabited___rarg(x_1, x_6); x_8 = l_panicWithPos___rarg___closed__1; x_9 = lean_string_append(x_8, x_2); @@ -7286,7 +7267,7 @@ lean_object* l_panicWithPos___at_Lean_whnfMain___main___spec__12___rarg(lean_obj _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_6 = l_Lean_exprIsInhabited; +x_6 = l_Lean_Expr_inhabited; x_7 = l_monadInhabited___rarg(x_1, x_6); x_8 = l_panicWithPos___rarg___closed__1; x_9 = lean_string_append(x_8, x_2); @@ -7319,7 +7300,7 @@ lean_object* l_panicWithPos___at_Lean_whnfMain___main___spec__13___rarg(lean_obj _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_6 = l_Lean_exprIsInhabited; +x_6 = l_Lean_Expr_inhabited; x_7 = l_monadInhabited___rarg(x_1, x_6); x_8 = l_panicWithPos___rarg___closed__1; x_9 = lean_string_append(x_8, x_2); @@ -7352,7 +7333,7 @@ lean_object* l_panicWithPos___at_Lean_whnfMain___main___spec__15___rarg(lean_obj _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_6 = l_Lean_exprIsInhabited; +x_6 = l_Lean_Expr_inhabited; x_7 = l_monadInhabited___rarg(x_1, x_6); x_8 = l_panicWithPos___rarg___closed__1; x_9 = lean_string_append(x_8, x_2); @@ -7381,7 +7362,7 @@ x_2 = lean_alloc_closure((void*)(l_panicWithPos___at_Lean_whnfMain___main___spec return x_2; } } -lean_object* l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at_Lean_whnfMain___main___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, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +lean_object* l_Lean_whnfEasyCases___main___at_Lean_whnfMain___main___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, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; @@ -7412,12 +7393,12 @@ lean_dec(x_2); x_16 = lean_ctor_get(x_12, 0); lean_inc(x_16); lean_dec(x_12); -x_17 = l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at_Lean_whnfMain___main___spec__14___rarg(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_16); +x_17 = l_Lean_whnfEasyCases___main___at_Lean_whnfMain___main___spec__14___rarg(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_16); return x_17; } } } -lean_object* l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at_Lean_whnfMain___main___spec__14___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, lean_object* x_10, lean_object* x_11) { +lean_object* l_Lean_whnfEasyCases___main___at_Lean_whnfMain___main___spec__14___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, lean_object* x_10, lean_object* x_11) { _start: { if (lean_obj_tag(x_11) == 0) @@ -7446,12 +7427,12 @@ lean_dec(x_2); x_15 = lean_ctor_get(x_11, 0); lean_inc(x_15); lean_dec(x_11); -x_16 = l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at_Lean_whnfMain___main___spec__14___rarg(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_15); +x_16 = l_Lean_whnfEasyCases___main___at_Lean_whnfMain___main___spec__14___rarg(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_15); return x_16; } } } -lean_object* l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at_Lean_whnfMain___main___spec__14___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, lean_object* x_12, lean_object* x_13, uint8_t x_14) { +lean_object* l_Lean_whnfEasyCases___main___at_Lean_whnfMain___main___spec__14___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, lean_object* x_12, lean_object* x_13, uint8_t x_14) { _start: { if (x_14 == 0) @@ -7498,7 +7479,7 @@ 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_unsigned_to_nat(0u); x_24 = l_Lean_Expr_getAppNumArgsAux___main(x_4, x_23); -x_25 = l_Lean_exprIsInhabited___closed__1; +x_25 = l_Lean_Expr_inhabited___closed__1; lean_inc(x_24); x_26 = lean_mk_array(x_24, x_25); x_27 = lean_unsigned_to_nat(1u); @@ -7506,12 +7487,12 @@ x_28 = lean_nat_sub(x_24, x_27); lean_dec(x_24); lean_inc(x_4); x_29 = l___private_Init_Lean_Expr_2__getAppArgsAux___main(x_4, x_26, x_28); -x_30 = l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__6___rarg(x_3, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_4, x_1, x_2, x_12, x_13, x_29); +x_30 = l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__6___rarg(x_3, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_4, x_1, x_2, x_12, x_13, x_29); return x_30; } } } -lean_object* l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at_Lean_whnfMain___main___spec__14___rarg___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* l_Lean_whnfEasyCases___main___at_Lean_whnfMain___main___spec__14___rarg___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) { _start: { lean_object* x_15; @@ -7565,7 +7546,7 @@ lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; x_27 = l_Lean_ConstantInfo_name(x_26); lean_inc(x_5); x_28 = lean_apply_1(x_5, x_27); -x_29 = lean_alloc_closure((void*)(l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at_Lean_whnfMain___main___spec__14___rarg___lambda__3___boxed), 14, 13); +x_29 = lean_alloc_closure((void*)(l_Lean_whnfEasyCases___main___at_Lean_whnfMain___main___spec__14___rarg___lambda__3___boxed), 14, 13); lean_closure_set(x_29, 0, x_1); lean_closure_set(x_29, 1, x_2); lean_closure_set(x_29, 2, x_3); @@ -7591,7 +7572,7 @@ lean_inc(x_31); lean_dec(x_26); x_32 = lean_unsigned_to_nat(0u); x_33 = l_Lean_Expr_getAppNumArgsAux___main(x_4, x_32); -x_34 = l_Lean_exprIsInhabited___closed__1; +x_34 = l_Lean_Expr_inhabited___closed__1; lean_inc(x_33); x_35 = lean_mk_array(x_33, x_34); x_36 = lean_unsigned_to_nat(1u); @@ -7613,7 +7594,7 @@ lean_inc(x_40); lean_dec(x_26); x_41 = lean_unsigned_to_nat(0u); x_42 = l_Lean_Expr_getAppNumArgsAux___main(x_4, x_41); -x_43 = l_Lean_exprIsInhabited___closed__1; +x_43 = l_Lean_Expr_inhabited___closed__1; lean_inc(x_42); x_44 = lean_mk_array(x_42, x_43); x_45 = lean_unsigned_to_nat(1u); @@ -7679,7 +7660,7 @@ return x_18; } } } -lean_object* l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at_Lean_whnfMain___main___spec__14___rarg___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* l_Lean_whnfEasyCases___main___at_Lean_whnfMain___main___spec__14___rarg___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_18; @@ -7696,7 +7677,7 @@ lean_inc(x_20); lean_inc(x_4); x_21 = lean_apply_1(x_4, x_19); lean_inc(x_11); -x_22 = lean_alloc_closure((void*)(l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at_Lean_whnfMain___main___spec__14___rarg___lambda__4), 14, 13); +x_22 = lean_alloc_closure((void*)(l_Lean_whnfEasyCases___main___at_Lean_whnfMain___main___spec__14___rarg___lambda__4), 14, 13); lean_closure_set(x_22, 0, x_1); lean_closure_set(x_22, 1, x_12); lean_closure_set(x_22, 2, x_2); @@ -7762,7 +7743,7 @@ lean_dec(x_31); x_33 = l___private_Init_Lean_Expr_3__getAppRevArgsAux___main(x_3, x_32); x_34 = l_Lean_Expr_betaRev(x_1, x_33); lean_dec(x_1); -x_35 = l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at_Lean_whnfMain___main___spec__14___rarg(x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_34); +x_35 = l_Lean_whnfEasyCases___main___at_Lean_whnfMain___main___spec__14___rarg(x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_34); return x_35; } block_17: @@ -7780,7 +7761,7 @@ return x_16; } } } -lean_object* l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at_Lean_whnfMain___main___spec__14___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* l_Lean_whnfEasyCases___main___at_Lean_whnfMain___main___spec__14___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; @@ -7813,7 +7794,7 @@ lean_inc(x_21); lean_inc(x_7); x_22 = lean_apply_1(x_7, x_20); lean_inc(x_1); -x_23 = lean_alloc_closure((void*)(l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at_Lean_whnfMain___main___spec__14___rarg___lambda__1___boxed), 11, 10); +x_23 = lean_alloc_closure((void*)(l_Lean_whnfEasyCases___main___at_Lean_whnfMain___main___spec__14___rarg___lambda__1___boxed), 11, 10); lean_closure_set(x_23, 0, x_1); lean_closure_set(x_23, 1, x_9); lean_closure_set(x_23, 2, x_1); @@ -7837,7 +7818,7 @@ lean_inc(x_26); lean_inc(x_8); x_27 = lean_apply_1(x_8, x_25); lean_inc(x_1); -x_28 = lean_alloc_closure((void*)(l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at_Lean_whnfMain___main___spec__14___rarg___lambda__2___boxed), 11, 10); +x_28 = lean_alloc_closure((void*)(l_Lean_whnfEasyCases___main___at_Lean_whnfMain___main___spec__14___rarg___lambda__2___boxed), 11, 10); lean_closure_set(x_28, 0, x_1); lean_closure_set(x_28, 1, x_9); lean_closure_set(x_28, 2, x_1); @@ -7888,9 +7869,9 @@ lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); lean_inc(x_1); -x_36 = l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at_Lean_whnfMain___main___spec__14___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_34); +x_36 = l_Lean_whnfEasyCases___main___at_Lean_whnfMain___main___spec__14___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_34); lean_inc(x_35); -x_37 = lean_alloc_closure((void*)(l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at_Lean_whnfMain___main___spec__14___rarg___lambda__5), 12, 11); +x_37 = lean_alloc_closure((void*)(l_Lean_whnfEasyCases___main___at_Lean_whnfMain___main___spec__14___rarg___lambda__5), 12, 11); lean_closure_set(x_37, 0, x_34); lean_closure_set(x_37, 1, x_1); lean_closure_set(x_37, 2, x_9); @@ -7943,7 +7924,7 @@ x_48 = l_Lean_whnfMain___main___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_4 lean_inc(x_47); lean_inc(x_9); lean_inc(x_1); -x_49 = lean_alloc_closure((void*)(l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__12___rarg___lambda__7___boxed), 8, 7); +x_49 = lean_alloc_closure((void*)(l_Lean_whnfEasyCases___main___at_Lean_whnfCore___main___spec__12___rarg___lambda__7___boxed), 8, 7); lean_closure_set(x_49, 0, x_1); lean_closure_set(x_49, 1, x_9); lean_closure_set(x_49, 2, x_2); @@ -7984,31 +7965,31 @@ return x_13; } } } -lean_object* l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at_Lean_whnfMain___main___spec__14(lean_object* x_1) { +lean_object* l_Lean_whnfEasyCases___main___at_Lean_whnfMain___main___spec__14(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at_Lean_whnfMain___main___spec__14___rarg), 9, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_whnfEasyCases___main___at_Lean_whnfMain___main___spec__14___rarg), 9, 0); return x_2; } } -lean_object* l___private_Init_Lean_WHNF_11__whnfCore___main___at_Lean_whnfMain___main___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) { +lean_object* l_Lean_whnfCore___main___at_Lean_whnfMain___main___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; -x_10 = l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at_Lean_whnfMain___main___spec__14___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l_Lean_whnfEasyCases___main___at_Lean_whnfMain___main___spec__14___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_10; } } -lean_object* l___private_Init_Lean_WHNF_11__whnfCore___main___at_Lean_whnfMain___main___spec__1(lean_object* x_1) { +lean_object* l_Lean_whnfCore___main___at_Lean_whnfMain___main___spec__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Init_Lean_WHNF_11__whnfCore___main___at_Lean_whnfMain___main___spec__1___rarg), 9, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_whnfCore___main___at_Lean_whnfMain___main___spec__1___rarg), 9, 0); return x_2; } } -lean_object* l___private_Init_Lean_WHNF_9__deltaDefinition___at_Lean_whnfMain___main___spec__17___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* l___private_Init_Lean_WHNF_8__deltaDefinition___at_Lean_whnfMain___main___spec__17___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) { _start: { lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; @@ -8046,21 +8027,21 @@ else lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_dec(x_9); x_20 = lean_instantiate_value_lparams(x_10, x_11); -x_21 = l___private_Init_Lean_WHNF_8__extractIdRhs(x_20); +x_21 = l___private_Init_Lean_WHNF_7__extractIdRhs(x_20); x_22 = l_Lean_whnfMain___main___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_21); return x_22; } } } -lean_object* l___private_Init_Lean_WHNF_9__deltaDefinition___at_Lean_whnfMain___main___spec__17(lean_object* x_1) { +lean_object* l___private_Init_Lean_WHNF_8__deltaDefinition___at_Lean_whnfMain___main___spec__17(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Init_Lean_WHNF_9__deltaDefinition___at_Lean_whnfMain___main___spec__17___rarg), 11, 0); +x_2 = lean_alloc_closure((void*)(l___private_Init_Lean_WHNF_8__deltaDefinition___at_Lean_whnfMain___main___spec__17___rarg), 11, 0); return x_2; } } -lean_object* l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__18___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* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__18___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_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; @@ -8101,21 +8082,21 @@ lean_dec(x_9); x_21 = lean_instantiate_value_lparams(x_10, x_11); x_22 = l_Lean_Expr_betaRev(x_21, x_12); lean_dec(x_21); -x_23 = l___private_Init_Lean_WHNF_8__extractIdRhs(x_22); +x_23 = l___private_Init_Lean_WHNF_7__extractIdRhs(x_22); x_24 = l_Lean_whnfMain___main___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_23); return x_24; } } } -lean_object* l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__18(lean_object* x_1) { +lean_object* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__18(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__18___rarg), 12, 0); +x_2 = lean_alloc_closure((void*)(l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__18___rarg), 12, 0); return x_2; } } -lean_object* l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__19___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* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__19___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_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; @@ -8156,17 +8137,17 @@ lean_dec(x_9); x_21 = lean_instantiate_value_lparams(x_10, x_11); x_22 = l_Lean_Expr_betaRev(x_21, x_12); lean_dec(x_21); -x_23 = l___private_Init_Lean_WHNF_8__extractIdRhs(x_22); +x_23 = l___private_Init_Lean_WHNF_7__extractIdRhs(x_22); x_24 = l_Lean_whnfMain___main___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_23); return x_24; } } } -lean_object* l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__19(lean_object* x_1) { +lean_object* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__19(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__19___rarg), 12, 0); +x_2 = lean_alloc_closure((void*)(l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__19___rarg), 12, 0); return x_2; } } @@ -8174,7 +8155,7 @@ lean_object* l_panicWithPos___at_Lean_whnfMain___main___spec__22___rarg(lean_obj _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_6 = l_Lean_exprIsInhabited; +x_6 = l_Lean_Expr_inhabited; x_7 = l_monadInhabited___rarg(x_1, x_6); x_8 = l_panicWithPos___rarg___closed__1; x_9 = lean_string_append(x_8, x_2); @@ -8207,7 +8188,7 @@ lean_object* l_panicWithPos___at_Lean_whnfMain___main___spec__23___rarg(lean_obj _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_6 = l_Lean_exprIsInhabited; +x_6 = l_Lean_Expr_inhabited; x_7 = l_monadInhabited___rarg(x_1, x_6); x_8 = l_panicWithPos___rarg___closed__1; x_9 = lean_string_append(x_8, x_2); @@ -8240,7 +8221,7 @@ lean_object* l_panicWithPos___at_Lean_whnfMain___main___spec__24___rarg(lean_obj _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_6 = l_Lean_exprIsInhabited; +x_6 = l_Lean_Expr_inhabited; x_7 = l_monadInhabited___rarg(x_1, x_6); x_8 = l_panicWithPos___rarg___closed__1; x_9 = lean_string_append(x_8, x_2); @@ -8273,7 +8254,7 @@ lean_object* l_panicWithPos___at_Lean_whnfMain___main___spec__25___rarg(lean_obj _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_6 = l_Lean_exprIsInhabited; +x_6 = l_Lean_Expr_inhabited; x_7 = l_monadInhabited___rarg(x_1, x_6); x_8 = l_panicWithPos___rarg___closed__1; x_9 = lean_string_append(x_8, x_2); @@ -8302,7 +8283,7 @@ x_2 = lean_alloc_closure((void*)(l_panicWithPos___at_Lean_whnfMain___main___spec return x_2; } } -lean_object* l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__26___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* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__26___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) { _start: { lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; @@ -8361,17 +8342,17 @@ lean_dec(x_9); x_28 = lean_instantiate_value_lparams(x_12, x_13); x_29 = l_Lean_Expr_betaRev(x_28, x_14); lean_dec(x_28); -x_30 = l___private_Init_Lean_WHNF_8__extractIdRhs(x_29); -x_31 = l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at_Lean_whnfMain___main___spec__34___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_30); +x_30 = l___private_Init_Lean_WHNF_7__extractIdRhs(x_29); +x_31 = l_Lean_whnfEasyCases___main___at_Lean_whnfMain___main___spec__34___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_30); return x_31; } } } -lean_object* l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__26(lean_object* x_1) { +lean_object* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__26(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__26___rarg___boxed), 14, 0); +x_2 = lean_alloc_closure((void*)(l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__26___rarg___boxed), 14, 0); return x_2; } } @@ -8426,13 +8407,13 @@ if (lean_obj_tag(x_32) == 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_dec(x_4); -x_33 = l_Lean_exprIsInhabited; +x_33 = l_Lean_Expr_inhabited; x_34 = lean_array_get(x_33, x_5, x_6); x_35 = lean_expr_mk_app(x_34, x_7); x_36 = lean_unsigned_to_nat(1u); x_37 = lean_nat_add(x_8, x_36); x_38 = l___private_Init_Lean_Expr_1__mkAppRangeAux___main(x_9, x_5, x_37, x_35); -x_39 = l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at_Lean_whnfMain___main___spec__34___rarg(x_3, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_38); +x_39 = l_Lean_whnfEasyCases___main___at_Lean_whnfMain___main___spec__34___rarg(x_3, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_38); return x_39; } else @@ -9005,7 +8986,7 @@ lean_inc(x_31); lean_dec(x_24); x_32 = lean_unsigned_to_nat(0u); x_33 = l_Lean_Expr_getAppNumArgsAux___main(x_23, x_32); -x_34 = l_Lean_exprIsInhabited___closed__1; +x_34 = l_Lean_Expr_inhabited___closed__1; lean_inc(x_33); x_35 = lean_mk_array(x_33, x_34); x_36 = lean_unsigned_to_nat(1u); @@ -9092,7 +9073,7 @@ lean_dec(x_38); lean_dec(x_58); x_62 = lean_nat_add(x_8, x_36); x_63 = l___private_Init_Lean_Expr_1__mkAppRangeAux___main(x_9, x_7, x_62, x_61); -x_64 = l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at_Lean_whnfMain___main___spec__34___rarg(x_4, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_63); +x_64 = l_Lean_whnfEasyCases___main___at_Lean_whnfMain___main___spec__34___rarg(x_4, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_63); return x_64; } } @@ -9282,7 +9263,7 @@ lean_object* l_panicWithPos___at_Lean_whnfMain___main___spec__30___rarg(lean_obj _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_6 = l_Lean_exprIsInhabited; +x_6 = l_Lean_Expr_inhabited; x_7 = l_monadInhabited___rarg(x_1, x_6); x_8 = l_panicWithPos___rarg___closed__1; x_9 = lean_string_append(x_8, x_2); @@ -9315,7 +9296,7 @@ lean_object* l_panicWithPos___at_Lean_whnfMain___main___spec__31___rarg(lean_obj _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_6 = l_Lean_exprIsInhabited; +x_6 = l_Lean_Expr_inhabited; x_7 = l_monadInhabited___rarg(x_1, x_6); x_8 = l_panicWithPos___rarg___closed__1; x_9 = lean_string_append(x_8, x_2); @@ -9348,7 +9329,7 @@ lean_object* l_panicWithPos___at_Lean_whnfMain___main___spec__32___rarg(lean_obj _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_6 = l_Lean_exprIsInhabited; +x_6 = l_Lean_Expr_inhabited; x_7 = l_monadInhabited___rarg(x_1, x_6); x_8 = l_panicWithPos___rarg___closed__1; x_9 = lean_string_append(x_8, x_2); @@ -9381,7 +9362,7 @@ lean_object* l_panicWithPos___at_Lean_whnfMain___main___spec__33___rarg(lean_obj _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_6 = l_Lean_exprIsInhabited; +x_6 = l_Lean_Expr_inhabited; x_7 = l_monadInhabited___rarg(x_1, x_6); x_8 = l_panicWithPos___rarg___closed__1; x_9 = lean_string_append(x_8, x_2); @@ -9414,7 +9395,7 @@ lean_object* l_panicWithPos___at_Lean_whnfMain___main___spec__35___rarg(lean_obj _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_6 = l_Lean_exprIsInhabited; +x_6 = l_Lean_Expr_inhabited; x_7 = l_monadInhabited___rarg(x_1, x_6); x_8 = l_panicWithPos___rarg___closed__1; x_9 = lean_string_append(x_8, x_2); @@ -9443,7 +9424,7 @@ x_2 = lean_alloc_closure((void*)(l_panicWithPos___at_Lean_whnfMain___main___spec return x_2; } } -lean_object* l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at_Lean_whnfMain___main___spec__34___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* l_Lean_whnfEasyCases___main___at_Lean_whnfMain___main___spec__34___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; @@ -9474,12 +9455,12 @@ lean_dec(x_2); x_16 = lean_ctor_get(x_12, 0); lean_inc(x_16); lean_dec(x_12); -x_17 = l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at_Lean_whnfMain___main___spec__34___rarg(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_16); +x_17 = l_Lean_whnfEasyCases___main___at_Lean_whnfMain___main___spec__34___rarg(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_16); return x_17; } } } -lean_object* l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at_Lean_whnfMain___main___spec__34___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, lean_object* x_10, lean_object* x_11) { +lean_object* l_Lean_whnfEasyCases___main___at_Lean_whnfMain___main___spec__34___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, lean_object* x_10, lean_object* x_11) { _start: { if (lean_obj_tag(x_11) == 0) @@ -9508,12 +9489,12 @@ lean_dec(x_2); x_15 = lean_ctor_get(x_11, 0); lean_inc(x_15); lean_dec(x_11); -x_16 = l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at_Lean_whnfMain___main___spec__34___rarg(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_15); +x_16 = l_Lean_whnfEasyCases___main___at_Lean_whnfMain___main___spec__34___rarg(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_15); return x_16; } } } -lean_object* l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at_Lean_whnfMain___main___spec__34___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, lean_object* x_12, lean_object* x_13, uint8_t x_14) { +lean_object* l_Lean_whnfEasyCases___main___at_Lean_whnfMain___main___spec__34___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, lean_object* x_12, lean_object* x_13, uint8_t x_14) { _start: { if (x_14 == 0) @@ -9560,7 +9541,7 @@ 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_unsigned_to_nat(0u); x_24 = l_Lean_Expr_getAppNumArgsAux___main(x_4, x_23); -x_25 = l_Lean_exprIsInhabited___closed__1; +x_25 = l_Lean_Expr_inhabited___closed__1; lean_inc(x_24); x_26 = lean_mk_array(x_24, x_25); x_27 = lean_unsigned_to_nat(1u); @@ -9568,12 +9549,12 @@ x_28 = lean_nat_sub(x_24, x_27); lean_dec(x_24); lean_inc(x_4); x_29 = l___private_Init_Lean_Expr_2__getAppArgsAux___main(x_4, x_26, x_28); -x_30 = l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__26___rarg(x_3, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_4, x_1, x_2, x_12, x_13, x_29); +x_30 = l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__26___rarg(x_3, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_4, x_1, x_2, x_12, x_13, x_29); return x_30; } } } -lean_object* l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at_Lean_whnfMain___main___spec__34___rarg___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* l_Lean_whnfEasyCases___main___at_Lean_whnfMain___main___spec__34___rarg___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) { _start: { lean_object* x_15; @@ -9627,7 +9608,7 @@ lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; x_27 = l_Lean_ConstantInfo_name(x_26); lean_inc(x_5); x_28 = lean_apply_1(x_5, x_27); -x_29 = lean_alloc_closure((void*)(l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at_Lean_whnfMain___main___spec__34___rarg___lambda__3___boxed), 14, 13); +x_29 = lean_alloc_closure((void*)(l_Lean_whnfEasyCases___main___at_Lean_whnfMain___main___spec__34___rarg___lambda__3___boxed), 14, 13); lean_closure_set(x_29, 0, x_1); lean_closure_set(x_29, 1, x_2); lean_closure_set(x_29, 2, x_3); @@ -9653,7 +9634,7 @@ lean_inc(x_31); lean_dec(x_26); x_32 = lean_unsigned_to_nat(0u); x_33 = l_Lean_Expr_getAppNumArgsAux___main(x_4, x_32); -x_34 = l_Lean_exprIsInhabited___closed__1; +x_34 = l_Lean_Expr_inhabited___closed__1; lean_inc(x_33); x_35 = lean_mk_array(x_33, x_34); x_36 = lean_unsigned_to_nat(1u); @@ -9675,7 +9656,7 @@ lean_inc(x_40); lean_dec(x_26); x_41 = lean_unsigned_to_nat(0u); x_42 = l_Lean_Expr_getAppNumArgsAux___main(x_4, x_41); -x_43 = l_Lean_exprIsInhabited___closed__1; +x_43 = l_Lean_Expr_inhabited___closed__1; lean_inc(x_42); x_44 = lean_mk_array(x_42, x_43); x_45 = lean_unsigned_to_nat(1u); @@ -9741,7 +9722,7 @@ return x_18; } } } -lean_object* l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at_Lean_whnfMain___main___spec__34___rarg___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* l_Lean_whnfEasyCases___main___at_Lean_whnfMain___main___spec__34___rarg___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_18; @@ -9758,7 +9739,7 @@ lean_inc(x_20); lean_inc(x_4); x_21 = lean_apply_1(x_4, x_19); lean_inc(x_11); -x_22 = lean_alloc_closure((void*)(l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at_Lean_whnfMain___main___spec__34___rarg___lambda__4), 14, 13); +x_22 = lean_alloc_closure((void*)(l_Lean_whnfEasyCases___main___at_Lean_whnfMain___main___spec__34___rarg___lambda__4), 14, 13); lean_closure_set(x_22, 0, x_1); lean_closure_set(x_22, 1, x_12); lean_closure_set(x_22, 2, x_2); @@ -9824,7 +9805,7 @@ lean_dec(x_31); x_33 = l___private_Init_Lean_Expr_3__getAppRevArgsAux___main(x_3, x_32); x_34 = l_Lean_Expr_betaRev(x_1, x_33); lean_dec(x_1); -x_35 = l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at_Lean_whnfMain___main___spec__34___rarg(x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_34); +x_35 = l_Lean_whnfEasyCases___main___at_Lean_whnfMain___main___spec__34___rarg(x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_34); return x_35; } block_17: @@ -9842,7 +9823,7 @@ return x_16; } } } -lean_object* l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at_Lean_whnfMain___main___spec__34___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* l_Lean_whnfEasyCases___main___at_Lean_whnfMain___main___spec__34___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; @@ -9875,7 +9856,7 @@ lean_inc(x_21); lean_inc(x_7); x_22 = lean_apply_1(x_7, x_20); lean_inc(x_1); -x_23 = lean_alloc_closure((void*)(l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at_Lean_whnfMain___main___spec__34___rarg___lambda__1___boxed), 11, 10); +x_23 = lean_alloc_closure((void*)(l_Lean_whnfEasyCases___main___at_Lean_whnfMain___main___spec__34___rarg___lambda__1___boxed), 11, 10); lean_closure_set(x_23, 0, x_1); lean_closure_set(x_23, 1, x_9); lean_closure_set(x_23, 2, x_1); @@ -9899,7 +9880,7 @@ lean_inc(x_26); lean_inc(x_8); x_27 = lean_apply_1(x_8, x_25); lean_inc(x_1); -x_28 = lean_alloc_closure((void*)(l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at_Lean_whnfMain___main___spec__34___rarg___lambda__2___boxed), 11, 10); +x_28 = lean_alloc_closure((void*)(l_Lean_whnfEasyCases___main___at_Lean_whnfMain___main___spec__34___rarg___lambda__2___boxed), 11, 10); lean_closure_set(x_28, 0, x_1); lean_closure_set(x_28, 1, x_9); lean_closure_set(x_28, 2, x_1); @@ -9950,9 +9931,9 @@ lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); lean_inc(x_1); -x_36 = l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at_Lean_whnfMain___main___spec__34___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_34); +x_36 = l_Lean_whnfEasyCases___main___at_Lean_whnfMain___main___spec__34___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_34); lean_inc(x_35); -x_37 = lean_alloc_closure((void*)(l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at_Lean_whnfMain___main___spec__34___rarg___lambda__5), 12, 11); +x_37 = lean_alloc_closure((void*)(l_Lean_whnfEasyCases___main___at_Lean_whnfMain___main___spec__34___rarg___lambda__5), 12, 11); lean_closure_set(x_37, 0, x_34); lean_closure_set(x_37, 1, x_1); lean_closure_set(x_37, 2, x_9); @@ -10005,7 +9986,7 @@ x_48 = l_Lean_whnfMain___main___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_4 lean_inc(x_47); lean_inc(x_9); lean_inc(x_1); -x_49 = lean_alloc_closure((void*)(l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at___private_Init_Lean_WHNF_11__whnfCore___main___spec__12___rarg___lambda__7___boxed), 8, 7); +x_49 = lean_alloc_closure((void*)(l_Lean_whnfEasyCases___main___at_Lean_whnfCore___main___spec__12___rarg___lambda__7___boxed), 8, 7); lean_closure_set(x_49, 0, x_1); lean_closure_set(x_49, 1, x_9); lean_closure_set(x_49, 2, x_2); @@ -10046,27 +10027,27 @@ return x_13; } } } -lean_object* l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at_Lean_whnfMain___main___spec__34(lean_object* x_1) { +lean_object* l_Lean_whnfEasyCases___main___at_Lean_whnfMain___main___spec__34(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at_Lean_whnfMain___main___spec__34___rarg), 9, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_whnfEasyCases___main___at_Lean_whnfMain___main___spec__34___rarg), 9, 0); return x_2; } } -lean_object* l___private_Init_Lean_WHNF_11__whnfCore___main___at_Lean_whnfMain___main___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, lean_object* x_9) { +lean_object* l_Lean_whnfCore___main___at_Lean_whnfMain___main___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, lean_object* x_9) { _start: { lean_object* x_10; -x_10 = l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at_Lean_whnfMain___main___spec__34___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l_Lean_whnfEasyCases___main___at_Lean_whnfMain___main___spec__34___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_10; } } -lean_object* l___private_Init_Lean_WHNF_11__whnfCore___main___at_Lean_whnfMain___main___spec__21(lean_object* x_1) { +lean_object* l_Lean_whnfCore___main___at_Lean_whnfMain___main___spec__21(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Init_Lean_WHNF_11__whnfCore___main___at_Lean_whnfMain___main___spec__21___rarg), 9, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_whnfCore___main___at_Lean_whnfMain___main___spec__21___rarg), 9, 0); return x_2; } } @@ -10301,7 +10282,7 @@ lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean x_21 = lean_ctor_get(x_20, 0); x_22 = lean_unsigned_to_nat(0u); x_23 = l_Lean_Expr_getAppNumArgsAux___main(x_2, x_22); -x_24 = l_Lean_exprIsInhabited___closed__1; +x_24 = l_Lean_Expr_inhabited___closed__1; lean_inc(x_23); x_25 = lean_mk_array(x_23, x_24); x_26 = lean_unsigned_to_nat(1u); @@ -10318,7 +10299,7 @@ lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean x_30 = lean_ctor_get(x_20, 0); x_31 = lean_unsigned_to_nat(0u); x_32 = l_Lean_Expr_getAppNumArgsAux___main(x_2, x_31); -x_33 = l_Lean_exprIsInhabited___closed__1; +x_33 = l_Lean_Expr_inhabited___closed__1; lean_inc(x_32); x_34 = lean_mk_array(x_32, x_33); x_35 = lean_unsigned_to_nat(1u); @@ -10542,7 +10523,7 @@ x_2 = lean_alloc_closure((void*)(l_Lean_getStuckMVar___main___at_Lean_whnfMain__ return x_2; } } -lean_object* l___private_Init_Lean_WHNF_12__whnfCoreUnstuck___main___at_Lean_whnfMain___main___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, uint8_t x_10) { +lean_object* l___private_Init_Lean_WHNF_10__whnfCoreUnstuck___main___at_Lean_whnfMain___main___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, uint8_t x_10) { _start: { if (x_10 == 0) @@ -10567,12 +10548,12 @@ return x_13; else { lean_object* x_14; -x_14 = l___private_Init_Lean_WHNF_12__whnfCoreUnstuck___main___at_Lean_whnfMain___main___spec__20___rarg(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_2); +x_14 = l___private_Init_Lean_WHNF_10__whnfCoreUnstuck___main___at_Lean_whnfMain___main___spec__20___rarg(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_2); return x_14; } } } -lean_object* l___private_Init_Lean_WHNF_12__whnfCoreUnstuck___main___at_Lean_whnfMain___main___spec__20___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, lean_object* x_10, lean_object* x_11) { +lean_object* l___private_Init_Lean_WHNF_10__whnfCoreUnstuck___main___at_Lean_whnfMain___main___spec__20___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, lean_object* x_10, lean_object* x_11) { _start: { if (lean_obj_tag(x_11) == 0) @@ -10603,7 +10584,7 @@ lean_inc(x_15); lean_dec(x_11); lean_inc(x_3); x_16 = lean_apply_1(x_3, x_15); -x_17 = lean_alloc_closure((void*)(l___private_Init_Lean_WHNF_12__whnfCoreUnstuck___main___at_Lean_whnfMain___main___spec__20___rarg___lambda__1___boxed), 10, 9); +x_17 = lean_alloc_closure((void*)(l___private_Init_Lean_WHNF_10__whnfCoreUnstuck___main___at_Lean_whnfMain___main___spec__20___rarg___lambda__1___boxed), 10, 9); lean_closure_set(x_17, 0, x_1); lean_closure_set(x_17, 1, x_2); lean_closure_set(x_17, 2, x_4); @@ -10618,7 +10599,7 @@ return x_18; } } } -lean_object* l___private_Init_Lean_WHNF_12__whnfCoreUnstuck___main___at_Lean_whnfMain___main___spec__20___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* l___private_Init_Lean_WHNF_10__whnfCoreUnstuck___main___at_Lean_whnfMain___main___spec__20___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) { _start: { lean_object* x_11; lean_object* x_12; lean_object* x_13; @@ -10633,7 +10614,7 @@ lean_inc(x_2); lean_inc(x_1); x_11 = l_Lean_getStuckMVar___main___at_Lean_whnfMain___main___spec__36___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_10); lean_inc(x_9); -x_12 = lean_alloc_closure((void*)(l___private_Init_Lean_WHNF_12__whnfCoreUnstuck___main___at_Lean_whnfMain___main___spec__20___rarg___lambda__2), 11, 10); +x_12 = lean_alloc_closure((void*)(l___private_Init_Lean_WHNF_10__whnfCoreUnstuck___main___at_Lean_whnfMain___main___spec__20___rarg___lambda__2), 11, 10); lean_closure_set(x_12, 0, x_1); lean_closure_set(x_12, 1, x_10); lean_closure_set(x_12, 2, x_6); @@ -10648,7 +10629,7 @@ x_13 = lean_apply_4(x_9, lean_box(0), lean_box(0), x_11, x_12); return x_13; } } -lean_object* l___private_Init_Lean_WHNF_12__whnfCoreUnstuck___main___at_Lean_whnfMain___main___spec__20___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* l___private_Init_Lean_WHNF_10__whnfCoreUnstuck___main___at_Lean_whnfMain___main___spec__20___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; lean_object* x_13; @@ -10662,9 +10643,9 @@ lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); lean_inc(x_1); -x_11 = l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at_Lean_whnfMain___main___spec__34___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_11 = l_Lean_whnfEasyCases___main___at_Lean_whnfMain___main___spec__34___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_inc(x_10); -x_12 = lean_alloc_closure((void*)(l___private_Init_Lean_WHNF_12__whnfCoreUnstuck___main___at_Lean_whnfMain___main___spec__20___rarg___lambda__3), 10, 9); +x_12 = lean_alloc_closure((void*)(l___private_Init_Lean_WHNF_10__whnfCoreUnstuck___main___at_Lean_whnfMain___main___spec__20___rarg___lambda__3), 10, 9); lean_closure_set(x_12, 0, x_1); lean_closure_set(x_12, 1, x_2); lean_closure_set(x_12, 2, x_3); @@ -10678,19 +10659,19 @@ x_13 = lean_apply_4(x_10, lean_box(0), lean_box(0), x_11, x_12); return x_13; } } -lean_object* l___private_Init_Lean_WHNF_12__whnfCoreUnstuck___main___at_Lean_whnfMain___main___spec__20(lean_object* x_1) { +lean_object* l___private_Init_Lean_WHNF_10__whnfCoreUnstuck___main___at_Lean_whnfMain___main___spec__20(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Init_Lean_WHNF_12__whnfCoreUnstuck___main___at_Lean_whnfMain___main___spec__20___rarg), 9, 0); +x_2 = lean_alloc_closure((void*)(l___private_Init_Lean_WHNF_10__whnfCoreUnstuck___main___at_Lean_whnfMain___main___spec__20___rarg), 9, 0); return x_2; } } -lean_object* l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__39___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* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__39___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: { uint8_t x_11; -x_11 = l___private_Init_Lean_WHNF_7__isIdRhsApp(x_10); +x_11 = l___private_Init_Lean_WHNF_6__isIdRhsApp(x_10); if (x_11 == 0) { lean_object* x_12; lean_object* x_13; lean_object* x_14; @@ -10715,13 +10696,13 @@ else { lean_object* x_15; lean_object* x_16; lean_dec(x_2); -x_15 = l___private_Init_Lean_WHNF_8__extractIdRhs(x_10); +x_15 = l___private_Init_Lean_WHNF_7__extractIdRhs(x_10); x_16 = l_Lean_whnfMain___main___rarg(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_15); return x_16; } } } -lean_object* l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__39___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* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__39___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; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; @@ -10762,7 +10743,7 @@ lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean x_22 = lean_instantiate_value_lparams(x_11, x_12); x_23 = l_Lean_Expr_betaRev(x_22, x_13); lean_dec(x_22); -x_24 = l___private_Init_Lean_WHNF_8__extractIdRhs(x_23); +x_24 = l___private_Init_Lean_WHNF_7__extractIdRhs(x_23); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); @@ -10771,8 +10752,8 @@ lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); lean_inc(x_1); -x_25 = l___private_Init_Lean_WHNF_12__whnfCoreUnstuck___main___at_Lean_whnfMain___main___spec__20___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_24); -x_26 = lean_alloc_closure((void*)(l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__39___rarg___lambda__1), 10, 9); +x_25 = l___private_Init_Lean_WHNF_10__whnfCoreUnstuck___main___at_Lean_whnfMain___main___spec__20___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_24); +x_26 = lean_alloc_closure((void*)(l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__39___rarg___lambda__1), 10, 9); lean_closure_set(x_26, 0, x_1); lean_closure_set(x_26, 1, x_9); lean_closure_set(x_26, 2, x_2); @@ -10787,15 +10768,15 @@ return x_27; } } } -lean_object* l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__39(lean_object* x_1) { +lean_object* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__39(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__39___rarg), 13, 0); +x_2 = lean_alloc_closure((void*)(l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__39___rarg), 13, 0); return x_2; } } -lean_object* l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__40___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* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__40___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_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; @@ -10836,21 +10817,21 @@ lean_dec(x_9); x_21 = lean_instantiate_value_lparams(x_10, x_11); x_22 = l_Lean_Expr_betaRev(x_21, x_12); lean_dec(x_21); -x_23 = l___private_Init_Lean_WHNF_8__extractIdRhs(x_22); +x_23 = l___private_Init_Lean_WHNF_7__extractIdRhs(x_22); x_24 = l_Lean_whnfMain___main___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_23); return x_24; } } } -lean_object* l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__40(lean_object* x_1) { +lean_object* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__40(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__40___rarg), 12, 0); +x_2 = lean_alloc_closure((void*)(l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__40___rarg), 12, 0); return x_2; } } -lean_object* l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__41___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* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__41___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_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; @@ -10891,21 +10872,21 @@ lean_dec(x_9); x_21 = lean_instantiate_value_lparams(x_10, x_11); x_22 = l_Lean_Expr_betaRev(x_21, x_12); lean_dec(x_21); -x_23 = l___private_Init_Lean_WHNF_8__extractIdRhs(x_22); +x_23 = l___private_Init_Lean_WHNF_7__extractIdRhs(x_22); x_24 = l_Lean_whnfMain___main___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_23); return x_24; } } } -lean_object* l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__41(lean_object* x_1) { +lean_object* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__41(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__41___rarg), 12, 0); +x_2 = lean_alloc_closure((void*)(l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__41___rarg), 12, 0); return x_2; } } -lean_object* l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__42___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* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__42___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_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; @@ -10946,21 +10927,21 @@ lean_dec(x_9); x_21 = lean_instantiate_value_lparams(x_10, x_11); x_22 = l_Lean_Expr_betaRev(x_21, x_12); lean_dec(x_21); -x_23 = l___private_Init_Lean_WHNF_8__extractIdRhs(x_22); +x_23 = l___private_Init_Lean_WHNF_7__extractIdRhs(x_22); x_24 = l_Lean_whnfMain___main___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_23); return x_24; } } } -lean_object* l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__42(lean_object* x_1) { +lean_object* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__42(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__42___rarg), 12, 0); +x_2 = lean_alloc_closure((void*)(l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__42___rarg), 12, 0); return x_2; } } -lean_object* l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__43___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* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__43___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_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; @@ -11001,21 +10982,21 @@ lean_dec(x_9); x_21 = lean_instantiate_value_lparams(x_10, x_11); x_22 = l_Lean_Expr_betaRev(x_21, x_12); lean_dec(x_21); -x_23 = l___private_Init_Lean_WHNF_8__extractIdRhs(x_22); +x_23 = l___private_Init_Lean_WHNF_7__extractIdRhs(x_22); x_24 = l_Lean_whnfMain___main___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_23); return x_24; } } } -lean_object* l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__43(lean_object* x_1) { +lean_object* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__43(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__43___rarg), 12, 0); +x_2 = lean_alloc_closure((void*)(l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__43___rarg), 12, 0); return x_2; } } -lean_object* l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__44___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* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__44___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_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; @@ -11056,21 +11037,21 @@ lean_dec(x_9); x_21 = lean_instantiate_value_lparams(x_10, x_11); x_22 = l_Lean_Expr_betaRev(x_21, x_12); lean_dec(x_21); -x_23 = l___private_Init_Lean_WHNF_8__extractIdRhs(x_22); +x_23 = l___private_Init_Lean_WHNF_7__extractIdRhs(x_22); x_24 = l_Lean_whnfMain___main___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_23); return x_24; } } } -lean_object* l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__44(lean_object* x_1) { +lean_object* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__44(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__44___rarg), 12, 0); +x_2 = lean_alloc_closure((void*)(l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__44___rarg), 12, 0); return x_2; } } -lean_object* l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__45___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* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__45___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_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; @@ -11111,17 +11092,17 @@ lean_dec(x_9); x_21 = lean_instantiate_value_lparams(x_10, x_11); x_22 = l_Lean_Expr_betaRev(x_21, x_12); lean_dec(x_21); -x_23 = l___private_Init_Lean_WHNF_8__extractIdRhs(x_22); +x_23 = l___private_Init_Lean_WHNF_7__extractIdRhs(x_22); x_24 = l_Lean_whnfMain___main___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_23); return x_24; } } } -lean_object* l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__45(lean_object* x_1) { +lean_object* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__45(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__45___rarg), 12, 0); +x_2 = lean_alloc_closure((void*)(l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__45___rarg), 12, 0); return x_2; } } @@ -11157,7 +11138,7 @@ lean_dec(x_11); if (lean_obj_tag(x_15) == 1) { lean_object* x_16; -x_16 = l___private_Init_Lean_WHNF_9__deltaDefinition___at_Lean_whnfMain___main___spec__17___rarg(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_2, x_15, x_10); +x_16 = l___private_Init_Lean_WHNF_8__deltaDefinition___at_Lean_whnfMain___main___spec__17___rarg(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_2, x_15, x_10); return x_16; } else @@ -11196,7 +11177,7 @@ x_16 = l_Lean_Expr_getAppNumArgsAux___main(x_1, x_15); x_17 = lean_mk_empty_array_with_capacity(x_16); lean_dec(x_16); x_18 = l___private_Init_Lean_Expr_3__getAppRevArgsAux___main(x_1, x_17); -x_19 = l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__18___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_18); +x_19 = l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__18___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_18); return x_19; } else @@ -11216,7 +11197,7 @@ x_22 = l_Lean_Expr_getAppNumArgsAux___main(x_1, x_21); x_23 = lean_mk_empty_array_with_capacity(x_22); lean_dec(x_22); x_24 = l___private_Init_Lean_Expr_3__getAppRevArgsAux___main(x_1, x_23); -x_25 = l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__19___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_24); +x_25 = l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__19___rarg(x_2, 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; } case 1: @@ -11228,7 +11209,7 @@ x_27 = l_Lean_Expr_getAppNumArgsAux___main(x_1, x_26); x_28 = lean_mk_empty_array_with_capacity(x_27); lean_dec(x_27); x_29 = l___private_Init_Lean_Expr_3__getAppRevArgsAux___main(x_1, x_28); -x_30 = l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__39___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_13, x_20, x_12, x_29); +x_30 = l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__39___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_13, x_20, x_12, x_29); return x_30; } case 2: @@ -11241,7 +11222,7 @@ x_32 = l_Lean_Expr_getAppNumArgsAux___main(x_1, x_31); x_33 = lean_mk_empty_array_with_capacity(x_32); lean_dec(x_32); x_34 = l___private_Init_Lean_Expr_3__getAppRevArgsAux___main(x_1, x_33); -x_35 = l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__40___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_34); +x_35 = l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__40___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_34); return x_35; } case 3: @@ -11254,7 +11235,7 @@ x_37 = l_Lean_Expr_getAppNumArgsAux___main(x_1, x_36); x_38 = lean_mk_empty_array_with_capacity(x_37); lean_dec(x_37); x_39 = l___private_Init_Lean_Expr_3__getAppRevArgsAux___main(x_1, x_38); -x_40 = l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__41___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_39); +x_40 = l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__41___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_39); return x_40; } case 4: @@ -11267,7 +11248,7 @@ x_42 = l_Lean_Expr_getAppNumArgsAux___main(x_1, x_41); x_43 = lean_mk_empty_array_with_capacity(x_42); lean_dec(x_42); x_44 = l___private_Init_Lean_Expr_3__getAppRevArgsAux___main(x_1, x_43); -x_45 = l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__42___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_44); +x_45 = l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__42___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_44); return x_45; } case 5: @@ -11280,7 +11261,7 @@ x_47 = l_Lean_Expr_getAppNumArgsAux___main(x_1, x_46); x_48 = lean_mk_empty_array_with_capacity(x_47); lean_dec(x_47); x_49 = l___private_Init_Lean_Expr_3__getAppRevArgsAux___main(x_1, x_48); -x_50 = l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__43___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_49); +x_50 = l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__43___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_49); return x_50; } case 6: @@ -11293,7 +11274,7 @@ x_52 = l_Lean_Expr_getAppNumArgsAux___main(x_1, x_51); x_53 = lean_mk_empty_array_with_capacity(x_52); lean_dec(x_52); x_54 = l___private_Init_Lean_Expr_3__getAppRevArgsAux___main(x_1, x_53); -x_55 = l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__44___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_54); +x_55 = l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__44___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_54); return x_55; } default: @@ -11306,7 +11287,7 @@ x_57 = l_Lean_Expr_getAppNumArgsAux___main(x_1, x_56); x_58 = lean_mk_empty_array_with_capacity(x_57); lean_dec(x_57); x_59 = l___private_Init_Lean_Expr_3__getAppRevArgsAux___main(x_1, x_58); -x_60 = l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__45___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_59); +x_60 = l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__45___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_59); return x_60; } } @@ -11546,7 +11527,7 @@ lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); lean_inc(x_1); -x_11 = l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at_Lean_whnfMain___main___spec__14___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_11 = l_Lean_whnfEasyCases___main___at_Lean_whnfMain___main___spec__14___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); x_12 = lean_alloc_closure((void*)(l_Lean_whnfMain___main___rarg___lambda__1), 9, 8); lean_closure_set(x_12, 0, x_1); lean_closure_set(x_12, 1, x_2); @@ -11644,21 +11625,21 @@ lean_dec(x_1); return x_2; } } -lean_object* l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___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_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +lean_object* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___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_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___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__6___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, x_14); +x_15 = l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__6___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, x_14); lean_dec(x_11); lean_dec(x_10); return x_15; } } -lean_object* l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__6___boxed(lean_object* x_1) { +lean_object* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__6___boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__6(x_1); +x_2 = l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__6(x_1); lean_dec(x_1); return x_2; } @@ -11908,78 +11889,78 @@ lean_dec(x_1); return x_2; } } -lean_object* l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at_Lean_whnfMain___main___spec__14___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* l_Lean_whnfEasyCases___main___at_Lean_whnfMain___main___spec__14___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) { _start: { lean_object* x_12; -x_12 = l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at_Lean_whnfMain___main___spec__14___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 = l_Lean_whnfEasyCases___main___at_Lean_whnfMain___main___spec__14___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); lean_dec(x_11); lean_dec(x_1); return x_12; } } -lean_object* l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at_Lean_whnfMain___main___spec__14___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, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +lean_object* l_Lean_whnfEasyCases___main___at_Lean_whnfMain___main___spec__14___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, 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_Init_Lean_WHNF_6__whnfEasyCases___main___at_Lean_whnfMain___main___spec__14___rarg___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 = l_Lean_whnfEasyCases___main___at_Lean_whnfMain___main___spec__14___rarg___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_1); return x_12; } } -lean_object* l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at_Lean_whnfMain___main___spec__14___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, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +lean_object* l_Lean_whnfEasyCases___main___at_Lean_whnfMain___main___spec__14___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, 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_14); lean_dec(x_14); -x_16 = l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at_Lean_whnfMain___main___spec__14___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, x_12, x_13, x_15); +x_16 = l_Lean_whnfEasyCases___main___at_Lean_whnfMain___main___spec__14___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, x_12, x_13, x_15); lean_dec(x_2); lean_dec(x_1); return x_16; } } -lean_object* l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at_Lean_whnfMain___main___spec__14___boxed(lean_object* x_1) { +lean_object* l_Lean_whnfEasyCases___main___at_Lean_whnfMain___main___spec__14___boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at_Lean_whnfMain___main___spec__14(x_1); +x_2 = l_Lean_whnfEasyCases___main___at_Lean_whnfMain___main___spec__14(x_1); lean_dec(x_1); return x_2; } } -lean_object* l___private_Init_Lean_WHNF_11__whnfCore___main___at_Lean_whnfMain___main___spec__1___boxed(lean_object* x_1) { +lean_object* l_Lean_whnfCore___main___at_Lean_whnfMain___main___spec__1___boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Init_Lean_WHNF_11__whnfCore___main___at_Lean_whnfMain___main___spec__1(x_1); +x_2 = l_Lean_whnfCore___main___at_Lean_whnfMain___main___spec__1(x_1); lean_dec(x_1); return x_2; } } -lean_object* l___private_Init_Lean_WHNF_9__deltaDefinition___at_Lean_whnfMain___main___spec__17___boxed(lean_object* x_1) { +lean_object* l___private_Init_Lean_WHNF_8__deltaDefinition___at_Lean_whnfMain___main___spec__17___boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Init_Lean_WHNF_9__deltaDefinition___at_Lean_whnfMain___main___spec__17(x_1); +x_2 = l___private_Init_Lean_WHNF_8__deltaDefinition___at_Lean_whnfMain___main___spec__17(x_1); lean_dec(x_1); return x_2; } } -lean_object* l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__18___boxed(lean_object* x_1) { +lean_object* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__18___boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__18(x_1); +x_2 = l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__18(x_1); lean_dec(x_1); return x_2; } } -lean_object* l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__19___boxed(lean_object* x_1) { +lean_object* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__19___boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__19(x_1); +x_2 = l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__19(x_1); lean_dec(x_1); return x_2; } @@ -12060,21 +12041,21 @@ lean_dec(x_1); return x_2; } } -lean_object* l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__26___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_object* x_14) { +lean_object* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__26___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_object* x_14) { _start: { lean_object* x_15; -x_15 = l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__26___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, x_14); +x_15 = l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__26___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, x_14); lean_dec(x_11); lean_dec(x_10); return x_15; } } -lean_object* l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__26___boxed(lean_object* x_1) { +lean_object* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__26___boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__26(x_1); +x_2 = l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__26(x_1); lean_dec(x_1); return x_2; } @@ -12324,51 +12305,51 @@ lean_dec(x_1); return x_2; } } -lean_object* l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at_Lean_whnfMain___main___spec__34___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* l_Lean_whnfEasyCases___main___at_Lean_whnfMain___main___spec__34___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) { _start: { lean_object* x_12; -x_12 = l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at_Lean_whnfMain___main___spec__34___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 = l_Lean_whnfEasyCases___main___at_Lean_whnfMain___main___spec__34___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); lean_dec(x_11); lean_dec(x_1); return x_12; } } -lean_object* l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at_Lean_whnfMain___main___spec__34___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, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +lean_object* l_Lean_whnfEasyCases___main___at_Lean_whnfMain___main___spec__34___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, 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_Init_Lean_WHNF_6__whnfEasyCases___main___at_Lean_whnfMain___main___spec__34___rarg___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 = l_Lean_whnfEasyCases___main___at_Lean_whnfMain___main___spec__34___rarg___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_1); return x_12; } } -lean_object* l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at_Lean_whnfMain___main___spec__34___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, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +lean_object* l_Lean_whnfEasyCases___main___at_Lean_whnfMain___main___spec__34___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, 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_14); lean_dec(x_14); -x_16 = l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at_Lean_whnfMain___main___spec__34___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, x_12, x_13, x_15); +x_16 = l_Lean_whnfEasyCases___main___at_Lean_whnfMain___main___spec__34___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, x_12, x_13, x_15); lean_dec(x_2); lean_dec(x_1); return x_16; } } -lean_object* l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at_Lean_whnfMain___main___spec__34___boxed(lean_object* x_1) { +lean_object* l_Lean_whnfEasyCases___main___at_Lean_whnfMain___main___spec__34___boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Init_Lean_WHNF_6__whnfEasyCases___main___at_Lean_whnfMain___main___spec__34(x_1); +x_2 = l_Lean_whnfEasyCases___main___at_Lean_whnfMain___main___spec__34(x_1); lean_dec(x_1); return x_2; } } -lean_object* l___private_Init_Lean_WHNF_11__whnfCore___main___at_Lean_whnfMain___main___spec__21___boxed(lean_object* x_1) { +lean_object* l_Lean_whnfCore___main___at_Lean_whnfMain___main___spec__21___boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Init_Lean_WHNF_11__whnfCore___main___at_Lean_whnfMain___main___spec__21(x_1); +x_2 = l_Lean_whnfCore___main___at_Lean_whnfMain___main___spec__21(x_1); lean_dec(x_1); return x_2; } @@ -12433,84 +12414,84 @@ lean_dec(x_1); return x_2; } } -lean_object* l___private_Init_Lean_WHNF_12__whnfCoreUnstuck___main___at_Lean_whnfMain___main___spec__20___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* l___private_Init_Lean_WHNF_10__whnfCoreUnstuck___main___at_Lean_whnfMain___main___spec__20___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) { _start: { uint8_t x_11; lean_object* x_12; x_11 = lean_unbox(x_10); lean_dec(x_10); -x_12 = l___private_Init_Lean_WHNF_12__whnfCoreUnstuck___main___at_Lean_whnfMain___main___spec__20___rarg___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_11); +x_12 = l___private_Init_Lean_WHNF_10__whnfCoreUnstuck___main___at_Lean_whnfMain___main___spec__20___rarg___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_11); return x_12; } } -lean_object* l___private_Init_Lean_WHNF_12__whnfCoreUnstuck___main___at_Lean_whnfMain___main___spec__20___boxed(lean_object* x_1) { +lean_object* l___private_Init_Lean_WHNF_10__whnfCoreUnstuck___main___at_Lean_whnfMain___main___spec__20___boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Init_Lean_WHNF_12__whnfCoreUnstuck___main___at_Lean_whnfMain___main___spec__20(x_1); +x_2 = l___private_Init_Lean_WHNF_10__whnfCoreUnstuck___main___at_Lean_whnfMain___main___spec__20(x_1); lean_dec(x_1); return x_2; } } -lean_object* l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__39___boxed(lean_object* x_1) { +lean_object* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__39___boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__39(x_1); +x_2 = l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__39(x_1); lean_dec(x_1); return x_2; } } -lean_object* l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__40___boxed(lean_object* x_1) { +lean_object* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__40___boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__40(x_1); +x_2 = l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__40(x_1); lean_dec(x_1); return x_2; } } -lean_object* l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__41___boxed(lean_object* x_1) { +lean_object* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__41___boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__41(x_1); +x_2 = l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__41(x_1); lean_dec(x_1); return x_2; } } -lean_object* l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__42___boxed(lean_object* x_1) { +lean_object* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__42___boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__42(x_1); +x_2 = l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__42(x_1); lean_dec(x_1); return x_2; } } -lean_object* l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__43___boxed(lean_object* x_1) { +lean_object* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__43___boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__43(x_1); +x_2 = l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__43(x_1); lean_dec(x_1); return x_2; } } -lean_object* l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__44___boxed(lean_object* x_1) { +lean_object* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__44___boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__44(x_1); +x_2 = l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__44(x_1); lean_dec(x_1); return x_2; } } -lean_object* l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__45___boxed(lean_object* x_1) { +lean_object* l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__45___boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Init_Lean_WHNF_10__deltaBetaDefinition___at_Lean_whnfMain___main___spec__45(x_1); +x_2 = l___private_Init_Lean_WHNF_9__deltaBetaDefinition___at_Lean_whnfMain___main___spec__45(x_1); lean_dec(x_1); return x_2; } @@ -12587,14 +12568,10 @@ l___private_Init_Lean_WHNF_3__toCtorIfLit___closed__5 = _init_l___private_Init_L lean_mark_persistent(l___private_Init_Lean_WHNF_3__toCtorIfLit___closed__5); l___private_Init_Lean_WHNF_3__toCtorIfLit___closed__6 = _init_l___private_Init_Lean_WHNF_3__toCtorIfLit___closed__6(); lean_mark_persistent(l___private_Init_Lean_WHNF_3__toCtorIfLit___closed__6); -l___private_Init_Lean_WHNF_3__toCtorIfLit___closed__7 = _init_l___private_Init_Lean_WHNF_3__toCtorIfLit___closed__7(); -lean_mark_persistent(l___private_Init_Lean_WHNF_3__toCtorIfLit___closed__7); -l___private_Init_Lean_WHNF_3__toCtorIfLit___closed__8 = _init_l___private_Init_Lean_WHNF_3__toCtorIfLit___closed__8(); -lean_mark_persistent(l___private_Init_Lean_WHNF_3__toCtorIfLit___closed__8); -l___private_Init_Lean_WHNF_7__isIdRhsApp___closed__1 = _init_l___private_Init_Lean_WHNF_7__isIdRhsApp___closed__1(); -lean_mark_persistent(l___private_Init_Lean_WHNF_7__isIdRhsApp___closed__1); -l___private_Init_Lean_WHNF_7__isIdRhsApp___closed__2 = _init_l___private_Init_Lean_WHNF_7__isIdRhsApp___closed__2(); -lean_mark_persistent(l___private_Init_Lean_WHNF_7__isIdRhsApp___closed__2); +l___private_Init_Lean_WHNF_6__isIdRhsApp___closed__1 = _init_l___private_Init_Lean_WHNF_6__isIdRhsApp___closed__1(); +lean_mark_persistent(l___private_Init_Lean_WHNF_6__isIdRhsApp___closed__1); +l___private_Init_Lean_WHNF_6__isIdRhsApp___closed__2 = _init_l___private_Init_Lean_WHNF_6__isIdRhsApp___closed__2(); +lean_mark_persistent(l___private_Init_Lean_WHNF_6__isIdRhsApp___closed__2); return lean_mk_io_result(lean_box(0)); } #ifdef __cplusplus