chore: update stage0

This commit is contained in:
Leonardo de Moura 2019-11-08 16:21:26 -08:00
parent e5b77d4de8
commit f063bf4a40
29 changed files with 20164 additions and 1510 deletions

View file

@ -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)

View file

@ -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:
{

View file

@ -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;
}
}

View file

@ -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;

View file

@ -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();

View file

@ -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) {

View file

@ -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();

View file

@ -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();

View file

@ -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();

View file

@ -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();

View file

@ -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);

View file

@ -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();

View file

@ -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);

View file

@ -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();

View file

@ -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);

View file

@ -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);

View file

@ -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);

View file

@ -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();

View file

@ -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();

View file

@ -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();

17936
src/stage0/Init/Lean/Meta.c Normal file

File diff suppressed because it is too large Load diff

View file

@ -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);

View file

@ -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) {

View file

@ -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:
{

View file

@ -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));

View file

@ -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);

View file

@ -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);

View file

@ -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

File diff suppressed because it is too large Load diff