chore: update stage0

This commit is contained in:
Leonardo de Moura 2019-10-27 17:42:06 -07:00
parent 3c57c2b5ac
commit 2b2e32fdaa
10 changed files with 6879 additions and 68 deletions

View file

@ -1 +1 @@
add_library (stage0 OBJECT ./Init/Coe.c ./Init/Control/Alternative.c ./Init/Control/Applicative.c ./Init/Control/Combinators.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/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/Default.c ./Init/Data/List/Instances.c ./Init/Data/Nat/Basic.c ./Init/Data/Nat/Bitwise.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/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/AbstractMetavarContext.c ./Init/Lean/Attributes.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/Level.c ./Init/Lean/LocalContext.c ./Init/Lean/Message.c ./Init/Lean/MetavarContext.c ./Init/Lean/Modifiers.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/TypeContext.c ./Init/Lean/Util.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/Combinators.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/Default.c ./Init/Data/List/Instances.c ./Init/Data/Nat/Basic.c ./Init/Data/Nat/Bitwise.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/AbstractMetavarContext.c ./Init/Lean/Attributes.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/Level.c ./Init/Lean/LocalContext.c ./Init/Lean/Message.c ./Init/Lean/MetavarContext.c ./Init/Lean/Modifiers.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/TypeContext.c ./Init/Lean/Util.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

@ -21,6 +21,7 @@ lean_object* l_HashMapImp_fold___rarg(lean_object*, lean_object*, lean_object*);
lean_object* l_HashMapImp_mfoldBuckets(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Array_miterateAux___main___at_HashMapImp_fold___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_HashMap_mfold___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_HashMap_isEmpty(lean_object*, lean_object*, lean_object*, lean_object*);
uint8_t l_HashMap_contains___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_AssocList_mfoldl___main___at_HashMapImp_moveEntries___main___spec__1___rarg(lean_object*, lean_object*, lean_object*);
lean_object* l_HashMap_size___rarg___boxed(lean_object*);
@ -65,7 +66,6 @@ lean_object* l_HashMap_insert___rarg(lean_object*, lean_object*, lean_object*, l
lean_object* l_AssocList_erase___main___rarg(lean_object*, lean_object*, lean_object*);
lean_object* l_HashMapImp_moveEntries___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_HashMap_find_x21___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_HashMap_empty___rarg___boxed(lean_object*);
lean_object* l_HashMap_contains(lean_object*, lean_object*);
lean_object* l_HashMapImp_moveEntries___main(lean_object*, lean_object*);
lean_object* l_Array_miterateAux___main___at_HashMapImp_foldBuckets___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
@ -76,6 +76,7 @@ lean_object* l_Array_miterateAux___main___at_HashMap_mfold___spec__1(lean_object
lean_object* l_Array_miterateAux___main___at_HashMapImp_fold___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_AssocList_find___main___rarg(lean_object*, lean_object*, lean_object*);
lean_object* l_HashMapImp_reinsertAux___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_HashMap_isEmpty___rarg___boxed(lean_object*);
lean_object* l_HashMap_fold(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_HashMapImp_erase(lean_object*, lean_object*);
uint8_t l_AssocList_contains___main___rarg(lean_object*, lean_object*, lean_object*);
@ -85,6 +86,7 @@ lean_object* l_Array_miterateAux___main___at_HashMap_fold___spec__2___rarg(lean_
lean_object* l_AssocList_mfoldl___main___at_HashMapImp_fold___spec__1(lean_object*, lean_object*, lean_object*);
lean_object* l_HashMapBucket_update___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Array_miterateAux___main___at_HashMap_mfold___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_HashMap_isEmpty___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_HashMapImp_erase___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_HashMap_find_x21___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* lean_nat_add(lean_object*, lean_object*);
@ -111,6 +113,7 @@ lean_object* l_Array_miterateAux___main___at_HashMap_fold___spec__2(lean_object*
lean_object* l_HashMap_mfold___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_mkHashMap___rarg(lean_object*);
lean_object* l_HashMapImp_foldBuckets___rarg(lean_object*, lean_object*, lean_object*);
uint8_t l_HashMap_isEmpty___rarg(lean_object*);
lean_object* l_HashMapImp_moveEntries(lean_object*, lean_object*);
lean_object* l_HashMap_empty(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_HashMap_Inhabited___closed__1;
@ -139,7 +142,6 @@ lean_object* l_HashMap_find___rarg___boxed(lean_object*, lean_object*, lean_obje
lean_object* l_HashMap_fold___rarg___boxed(lean_object*, lean_object*, lean_object*);
lean_object* l_HashMap_find_x21___rarg___closed__2;
lean_object* lean_nat_mul(lean_object*, lean_object*);
uint8_t l_HashMap_empty___rarg(lean_object*);
lean_object* l_HashMap_fold___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_HashMapImp_mfoldBuckets___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_HashMap_HasEmptyc(lean_object*, lean_object*, lean_object*, lean_object*);
@ -1617,7 +1619,7 @@ lean_dec(x_3);
return x_5;
}
}
uint8_t l_HashMap_empty___rarg(lean_object* x_1) {
uint8_t l_HashMap_isEmpty___rarg(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; uint8_t x_4;
@ -1627,24 +1629,42 @@ x_4 = lean_nat_dec_eq(x_2, x_3);
return x_4;
}
}
lean_object* l_HashMap_isEmpty(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_HashMap_isEmpty___rarg___boxed), 1, 0);
return x_5;
}
}
lean_object* l_HashMap_isEmpty___rarg___boxed(lean_object* x_1) {
_start:
{
uint8_t x_2; lean_object* x_3;
x_2 = l_HashMap_isEmpty___rarg(x_1);
lean_dec(x_1);
x_3 = lean_box(x_2);
return x_3;
}
}
lean_object* l_HashMap_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_HashMap_isEmpty(x_1, x_2, x_3, x_4);
lean_dec(x_4);
lean_dec(x_3);
return x_5;
}
}
lean_object* l_HashMap_empty(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_HashMap_empty___rarg___boxed), 1, 0);
x_5 = l_HashMap_Inhabited___closed__1;
return x_5;
}
}
lean_object* l_HashMap_empty___rarg___boxed(lean_object* x_1) {
_start:
{
uint8_t x_2; lean_object* x_3;
x_2 = l_HashMap_empty___rarg(x_1);
lean_dec(x_1);
x_3 = lean_box(x_2);
return x_3;
}
}
lean_object* l_HashMap_empty___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{

View file

@ -0,0 +1,573 @@
// Lean compiler output
// Module: Init.Data.HashSet
// Imports: Init.Data.HashMap.Default
#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* l_AssocList_mfoldl___main___at_HashSet_mfold___spec__1(lean_object*, lean_object*, lean_object*);
uint8_t l_HashSet_contains___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_HashSet_empty(lean_object*, lean_object*, lean_object*);
lean_object* l_HashSet_isEmpty(lean_object*, lean_object*, lean_object*);
lean_object* l_mkHashSet___boxed(lean_object*, lean_object*, lean_object*);
lean_object* l_HashSet_size(lean_object*, lean_object*, lean_object*);
lean_object* l_HashSet_mfold___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_HashSet_fold___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_HashSet_fold___rarg___boxed(lean_object*, lean_object*, lean_object*);
lean_object* l_AssocList_mfoldl___main___at_HashSet_fold___spec__1___rarg(lean_object*, lean_object*, lean_object*);
lean_object* l_Array_miterateAux___main___at_HashSet_fold___spec__2(lean_object*, lean_object*);
uint8_t l_HashMapImp_contains___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_mkHashSet___rarg(lean_object*);
lean_object* l_HashSet_Inhabited___boxed(lean_object*, lean_object*, lean_object*);
lean_object* l_AssocList_mfoldl___main___at_HashSet_mfold___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Array_miterateAux___main___at_HashSet_mfold___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_HashSet_contains(lean_object*);
lean_object* l_HashSet_HasEmptyc(lean_object*, lean_object*, lean_object*);
lean_object* l_Array_miterateAux___main___at_HashSet_fold___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_AssocList_mfoldl___main___at_HashSet_mfold___spec__1___boxed(lean_object*, lean_object*, lean_object*);
lean_object* l_HashSet_Inhabited(lean_object*, lean_object*, lean_object*);
lean_object* l_HashSet_fold(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_HashSet_isEmpty___rarg___boxed(lean_object*);
uint8_t lean_nat_dec_lt(lean_object*, lean_object*);
lean_object* l_HashSet_size___rarg___boxed(lean_object*);
lean_object* l_HashSet_contains___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Array_miterateAux___main___at_HashSet_mfold___spec__2(lean_object*, lean_object*, lean_object*);
lean_object* l_HashMapImp_erase___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Array_miterateAux___main___at_HashSet_mfold___spec__2___boxed(lean_object*, lean_object*, lean_object*);
lean_object* lean_nat_add(lean_object*, lean_object*);
lean_object* l_HashMapImp_insert___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
uint8_t l_HashSet_isEmpty___rarg(lean_object*);
lean_object* l_HashSet_fold___rarg(lean_object*, lean_object*, lean_object*);
lean_object* l_HashSet_isEmpty___boxed(lean_object*, lean_object*, lean_object*);
lean_object* l_HashSet_erase___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_HashSet_erase(lean_object*);
lean_object* l_HashSet_insert___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_mkHashSet(lean_object*, lean_object*, lean_object*);
extern lean_object* l_HashMap_Inhabited___closed__1;
lean_object* lean_array_get_size(lean_object*);
lean_object* l_Array_miterateAux___main___at_HashSet_fold___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* lean_array_fget(lean_object*, lean_object*);
lean_object* l_Array_miterateAux___main___at_HashSet_mfold___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_mkHashMapImp___rarg(lean_object*);
lean_object* l_HashSet_empty___boxed(lean_object*, lean_object*, lean_object*);
lean_object* l_HashSet_insert(lean_object*);
lean_object* l_HashSet_size___rarg(lean_object*);
lean_object* l_AssocList_mfoldl___main___at_HashSet_fold___spec__1(lean_object*, lean_object*);
lean_object* l_HashSet_HasEmptyc___boxed(lean_object*, lean_object*, lean_object*);
lean_object* l_HashSet_size___boxed(lean_object*, lean_object*, lean_object*);
lean_object* l_HashSet_mfold___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_AssocList_mfoldl___main___at_HashSet_mfold___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_HashSet_mfold(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_mkHashSet___rarg(lean_object* x_1) {
_start:
{
lean_object* x_2;
x_2 = l_mkHashMapImp___rarg(x_1);
return x_2;
}
}
lean_object* l_mkHashSet(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4;
x_4 = lean_alloc_closure((void*)(l_mkHashSet___rarg), 1, 0);
return x_4;
}
}
lean_object* l_mkHashSet___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4;
x_4 = l_mkHashSet(x_1, x_2, x_3);
lean_dec(x_3);
lean_dec(x_2);
return x_4;
}
}
lean_object* l_HashSet_Inhabited(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4;
x_4 = l_HashMap_Inhabited___closed__1;
return x_4;
}
}
lean_object* l_HashSet_Inhabited___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4;
x_4 = l_HashSet_Inhabited(x_1, x_2, x_3);
lean_dec(x_3);
lean_dec(x_2);
return x_4;
}
}
lean_object* l_HashSet_HasEmptyc(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4;
x_4 = l_HashMap_Inhabited___closed__1;
return x_4;
}
}
lean_object* l_HashSet_HasEmptyc___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4;
x_4 = l_HashSet_HasEmptyc(x_1, x_2, x_3);
lean_dec(x_3);
lean_dec(x_2);
return x_4;
}
}
lean_object* l_HashSet_insert___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; lean_object* x_6;
x_5 = lean_box(0);
x_6 = l_HashMapImp_insert___rarg(x_1, x_2, x_3, x_4, x_5);
return x_6;
}
}
lean_object* l_HashSet_insert(lean_object* x_1) {
_start:
{
lean_object* x_2;
x_2 = lean_alloc_closure((void*)(l_HashSet_insert___rarg), 4, 0);
return x_2;
}
}
lean_object* l_HashSet_erase___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_HashMapImp_erase___rarg(x_1, x_2, x_3, x_4);
return x_5;
}
}
lean_object* l_HashSet_erase(lean_object* x_1) {
_start:
{
lean_object* x_2;
x_2 = lean_alloc_closure((void*)(l_HashSet_erase___rarg), 4, 0);
return x_2;
}
}
uint8_t l_HashSet_contains___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
uint8_t x_5;
x_5 = l_HashMapImp_contains___rarg(x_1, x_2, x_3, x_4);
return x_5;
}
}
lean_object* l_HashSet_contains(lean_object* x_1) {
_start:
{
lean_object* x_2;
x_2 = lean_alloc_closure((void*)(l_HashSet_contains___rarg___boxed), 4, 0);
return x_2;
}
}
lean_object* l_HashSet_contains___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
uint8_t x_5; lean_object* x_6;
x_5 = l_HashSet_contains___rarg(x_1, x_2, x_3, x_4);
lean_dec(x_3);
x_6 = lean_box(x_5);
return x_6;
}
}
lean_object* l_HashSet_size___rarg(lean_object* x_1) {
_start:
{
lean_object* x_2;
x_2 = lean_ctor_get(x_1, 0);
lean_inc(x_2);
return x_2;
}
}
lean_object* l_HashSet_size(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4;
x_4 = lean_alloc_closure((void*)(l_HashSet_size___rarg___boxed), 1, 0);
return x_4;
}
}
lean_object* l_HashSet_size___rarg___boxed(lean_object* x_1) {
_start:
{
lean_object* x_2;
x_2 = l_HashSet_size___rarg(x_1);
lean_dec(x_1);
return x_2;
}
}
lean_object* l_HashSet_size___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4;
x_4 = l_HashSet_size(x_1, x_2, x_3);
lean_dec(x_3);
lean_dec(x_2);
return x_4;
}
}
uint8_t l_HashSet_isEmpty___rarg(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; uint8_t x_4;
x_2 = lean_ctor_get(x_1, 0);
x_3 = lean_unsigned_to_nat(0u);
x_4 = lean_nat_dec_eq(x_2, x_3);
return x_4;
}
}
lean_object* l_HashSet_isEmpty(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4;
x_4 = lean_alloc_closure((void*)(l_HashSet_isEmpty___rarg___boxed), 1, 0);
return x_4;
}
}
lean_object* l_HashSet_isEmpty___rarg___boxed(lean_object* x_1) {
_start:
{
uint8_t x_2; lean_object* x_3;
x_2 = l_HashSet_isEmpty___rarg(x_1);
lean_dec(x_1);
x_3 = lean_box(x_2);
return x_3;
}
}
lean_object* l_HashSet_isEmpty___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4;
x_4 = l_HashSet_isEmpty(x_1, x_2, x_3);
lean_dec(x_3);
lean_dec(x_2);
return x_4;
}
}
lean_object* l_HashSet_empty(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4;
x_4 = l_HashMap_Inhabited___closed__1;
return x_4;
}
}
lean_object* l_HashSet_empty___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4;
x_4 = l_HashSet_empty(x_1, x_2, x_3);
lean_dec(x_3);
lean_dec(x_2);
return x_4;
}
}
lean_object* l_AssocList_mfoldl___main___at_HashSet_mfold___spec__1___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5;
x_5 = l_AssocList_mfoldl___main___at_HashSet_mfold___spec__1___rarg(x_1, x_2, x_4, x_3);
return x_5;
}
}
lean_object* l_AssocList_mfoldl___main___at_HashSet_mfold___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
if (lean_obj_tag(x_4) == 0)
{
lean_object* x_5; lean_object* x_6; lean_object* x_7;
lean_dec(x_2);
x_5 = lean_ctor_get(x_1, 0);
lean_inc(x_5);
lean_dec(x_1);
x_6 = lean_ctor_get(x_5, 1);
lean_inc(x_6);
lean_dec(x_5);
x_7 = lean_apply_2(x_6, lean_box(0), x_3);
return x_7;
}
else
{
lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13;
x_8 = lean_ctor_get(x_4, 0);
lean_inc(x_8);
x_9 = lean_ctor_get(x_4, 2);
lean_inc(x_9);
lean_dec(x_4);
x_10 = lean_ctor_get(x_1, 1);
lean_inc(x_10);
lean_inc(x_2);
x_11 = lean_apply_2(x_2, x_3, x_8);
x_12 = lean_alloc_closure((void*)(l_AssocList_mfoldl___main___at_HashSet_mfold___spec__1___rarg___lambda__1), 4, 3);
lean_closure_set(x_12, 0, x_1);
lean_closure_set(x_12, 1, x_2);
lean_closure_set(x_12, 2, x_9);
x_13 = lean_apply_4(x_10, lean_box(0), lean_box(0), x_11, x_12);
return x_13;
}
}
}
lean_object* l_AssocList_mfoldl___main___at_HashSet_mfold___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_AssocList_mfoldl___main___at_HashSet_mfold___spec__1___rarg), 4, 0);
return x_4;
}
}
lean_object* l_Array_miterateAux___main___at_HashSet_mfold___spec__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_7; uint8_t x_8;
x_7 = lean_array_get_size(x_4);
x_8 = lean_nat_dec_lt(x_5, x_7);
lean_dec(x_7);
if (x_8 == 0)
{
lean_object* x_9; lean_object* x_10; lean_object* x_11;
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_9 = lean_ctor_get(x_1, 0);
lean_inc(x_9);
lean_dec(x_1);
x_10 = lean_ctor_get(x_9, 1);
lean_inc(x_10);
lean_dec(x_9);
x_11 = lean_apply_2(x_10, lean_box(0), x_6);
return x_11;
}
else
{
lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18;
x_12 = lean_ctor_get(x_1, 1);
lean_inc(x_12);
x_13 = lean_array_fget(x_4, x_5);
lean_inc(x_2);
lean_inc(x_1);
x_14 = l_AssocList_mfoldl___main___at_HashSet_mfold___spec__1___rarg(x_1, x_2, x_6, x_13);
x_15 = lean_unsigned_to_nat(1u);
x_16 = lean_nat_add(x_5, x_15);
x_17 = lean_alloc_closure((void*)(l_Array_miterateAux___main___at_HashSet_mfold___spec__2___rarg___boxed), 6, 5);
lean_closure_set(x_17, 0, x_1);
lean_closure_set(x_17, 1, x_2);
lean_closure_set(x_17, 2, x_3);
lean_closure_set(x_17, 3, x_4);
lean_closure_set(x_17, 4, x_16);
x_18 = lean_apply_4(x_12, lean_box(0), lean_box(0), x_14, x_17);
return x_18;
}
}
}
lean_object* l_Array_miterateAux___main___at_HashSet_mfold___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4;
x_4 = lean_alloc_closure((void*)(l_Array_miterateAux___main___at_HashSet_mfold___spec__2___rarg___boxed), 6, 0);
return x_4;
}
}
lean_object* l_HashSet_mfold___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;
x_5 = lean_ctor_get(x_4, 1);
lean_inc(x_5);
x_6 = lean_unsigned_to_nat(0u);
x_7 = l_Array_miterateAux___main___at_HashSet_mfold___spec__2___rarg(x_1, x_2, x_4, x_5, x_6, x_3);
return x_7;
}
}
lean_object* l_HashSet_mfold(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_HashSet_mfold___rarg), 4, 0);
return x_6;
}
}
lean_object* l_AssocList_mfoldl___main___at_HashSet_mfold___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4;
x_4 = l_AssocList_mfoldl___main___at_HashSet_mfold___spec__1(x_1, x_2, x_3);
lean_dec(x_3);
return x_4;
}
}
lean_object* l_Array_miterateAux___main___at_HashSet_mfold___spec__2___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_7;
x_7 = l_Array_miterateAux___main___at_HashSet_mfold___spec__2___rarg(x_1, x_2, x_3, x_4, x_5, x_6);
lean_dec(x_5);
return x_7;
}
}
lean_object* l_Array_miterateAux___main___at_HashSet_mfold___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4;
x_4 = l_Array_miterateAux___main___at_HashSet_mfold___spec__2(x_1, x_2, x_3);
lean_dec(x_3);
return x_4;
}
}
lean_object* l_HashSet_mfold___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_HashSet_mfold(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_AssocList_mfoldl___main___at_HashSet_fold___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
if (lean_obj_tag(x_3) == 0)
{
lean_dec(x_1);
return x_2;
}
else
{
lean_object* x_4; lean_object* x_5; lean_object* x_6;
x_4 = lean_ctor_get(x_3, 0);
lean_inc(x_4);
x_5 = lean_ctor_get(x_3, 2);
lean_inc(x_5);
lean_dec(x_3);
lean_inc(x_1);
x_6 = lean_apply_2(x_1, x_2, x_4);
x_2 = x_6;
x_3 = x_5;
goto _start;
}
}
}
lean_object* l_AssocList_mfoldl___main___at_HashSet_fold___spec__1(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3;
x_3 = lean_alloc_closure((void*)(l_AssocList_mfoldl___main___at_HashSet_fold___spec__1___rarg), 3, 0);
return x_3;
}
}
lean_object* l_Array_miterateAux___main___at_HashSet_fold___spec__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_6; uint8_t x_7;
x_6 = lean_array_get_size(x_3);
x_7 = lean_nat_dec_lt(x_4, x_6);
lean_dec(x_6);
if (x_7 == 0)
{
lean_dec(x_4);
lean_dec(x_1);
return x_5;
}
else
{
lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11;
x_8 = lean_array_fget(x_3, x_4);
lean_inc(x_1);
x_9 = l_AssocList_mfoldl___main___at_HashSet_fold___spec__1___rarg(x_1, x_5, x_8);
x_10 = lean_unsigned_to_nat(1u);
x_11 = lean_nat_add(x_4, x_10);
lean_dec(x_4);
x_4 = x_11;
x_5 = x_9;
goto _start;
}
}
}
lean_object* l_Array_miterateAux___main___at_HashSet_fold___spec__2(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3;
x_3 = lean_alloc_closure((void*)(l_Array_miterateAux___main___at_HashSet_fold___spec__2___rarg___boxed), 5, 0);
return x_3;
}
}
lean_object* l_HashSet_fold___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;
x_4 = lean_ctor_get(x_3, 1);
x_5 = lean_unsigned_to_nat(0u);
x_6 = l_Array_miterateAux___main___at_HashSet_fold___spec__2___rarg(x_1, x_3, x_4, x_5, x_2);
return x_6;
}
}
lean_object* l_HashSet_fold(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_HashSet_fold___rarg___boxed), 3, 0);
return x_5;
}
}
lean_object* l_Array_miterateAux___main___at_HashSet_fold___spec__2___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_6;
x_6 = l_Array_miterateAux___main___at_HashSet_fold___spec__2___rarg(x_1, x_2, x_3, x_4, x_5);
lean_dec(x_3);
lean_dec(x_2);
return x_6;
}
}
lean_object* l_HashSet_fold___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4;
x_4 = l_HashSet_fold___rarg(x_1, x_2, x_3);
lean_dec(x_3);
return x_4;
}
}
lean_object* l_HashSet_fold___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_HashSet_fold(x_1, x_2, x_3, x_4);
lean_dec(x_3);
lean_dec(x_2);
return x_5;
}
}
lean_object* initialize_Init_Data_HashMap_Default(lean_object*);
static bool _G_initialized = false;
lean_object* initialize_Init_Data_HashSet(lean_object* w) {
lean_object * res;
if (_G_initialized) return lean_mk_io_result(lean_box(0));
_G_initialized = true;
res = initialize_Init_Data_HashMap_Default(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

View file

@ -0,0 +1,766 @@
// Lean compiler output
// Module: Init.Data.PersistentHashSet
// Imports: Init.Data.PersistentHashMap.Default
#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* l_PersistentHashSet_HasEmptyc(lean_object*, lean_object*, lean_object*);
lean_object* l_Array_miterateAux___main___at_PersistentHashSet_fold___spec__4___rarg(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_PersistentHashMap_mfoldlAux___main___at_PersistentHashSet_fold___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*);
extern lean_object* l_PersistentHashMap_HasEmptyc___closed__1;
lean_object* l_PersistentHashMap_insert___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_PersistentHashMap_mfoldl___at_PersistentHashSet_mfold___spec__1___boxed(lean_object*, lean_object*, lean_object*);
lean_object* l_PersistentHashSet_contains___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Array_miterateAux___main___at_PersistentHashSet_fold___spec__3___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_PersistentHashMap_mfoldlAux___main___at_PersistentHashSet_mfold___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Array_miterateAux___main___at_PersistentHashSet_mfold___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Array_miterateAux___main___at_PersistentHashSet_fold___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_PersistentHashSet_mfold___boxed(lean_object*, lean_object*, 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_PersistentHashMap_mfoldl___at_PersistentHashSet_fold___spec__1(lean_object*, lean_object*);
lean_object* l_PersistentHashMap_mfoldl___at_PersistentHashSet_mfold___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_PersistentHashSet_isEmpty(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_PersistentHashMap_mfoldl___at_PersistentHashSet_fold___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*);
lean_object* l_Array_miterateAux___main___at_PersistentHashSet_mfold___spec__3(lean_object*, lean_object*, lean_object*);
lean_object* l_Array_miterateAux___main___at_PersistentHashSet_mfold___spec__4(lean_object*, lean_object*, lean_object*);
lean_object* l_Array_miterateAux___main___at_PersistentHashSet_mfold___spec__4___boxed(lean_object*, lean_object*, 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_PersistentHashMap_mfoldlAux___main___at_PersistentHashSet_mfold___spec__2(lean_object*, 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_PersistentHashMap_mfoldl___at_PersistentHashSet_mfold___spec__1(lean_object*, lean_object*, lean_object*);
lean_object* l_Array_miterateAux___main___at_PersistentHashSet_mfold___spec__3___rarg(lean_object*, lean_object*, lean_object*, 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_erase(lean_object*);
lean_object* l_Array_miterateAux___main___at_PersistentHashSet_fold___spec__4(lean_object*, lean_object*);
lean_object* l_PersistentHashSet_isEmpty___boxed(lean_object*, lean_object*, lean_object*);
lean_object* l_Array_miterateAux___main___at_PersistentHashSet_mfold___spec__4___rarg___boxed(lean_object*, lean_object*, lean_object*, 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_Array_miterateAux___main___at_PersistentHashSet_fold___spec__4___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Array_miterateAux___main___at_PersistentHashSet_mfold___spec__3___boxed(lean_object*, lean_object*, lean_object*);
lean_object* l_Array_miterateAux___main___at_PersistentHashSet_mfold___spec__3___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* lean_array_get_size(lean_object*);
lean_object* l_PersistentHashMap_mfoldl___at_PersistentHashSet_fold___spec__1___rarg(lean_object*, lean_object*, lean_object*);
lean_object* lean_array_fget(lean_object*, lean_object*);
lean_object* l_PersistentHashSet_mfold___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_PersistentHashSet_fold(lean_object*, lean_object*, lean_object*, 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_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_PersistentHashSet_mfold(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Array_miterateAux___main___at_PersistentHashSet_fold___spec__3(lean_object*, lean_object*);
lean_object* l_PersistentHashMap_mfoldlAux___main___at_PersistentHashSet_fold___spec__2___rarg(lean_object*, lean_object*, lean_object*);
lean_object* l_PersistentHashSet_fold___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_PersistentHashMap_mfoldlAux___main___at_PersistentHashSet_fold___spec__2(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_PersistentHashMap_mfoldlAux___main___at_PersistentHashSet_mfold___spec__2___boxed(lean_object*, lean_object*, lean_object*);
uint8_t l_PersistentHashSet_isEmpty___rarg(lean_object* x_1) {
_start:
{
uint8_t x_2;
x_2 = l_PersistentHashMap_isEmpty___rarg(x_1);
return x_2;
}
}
lean_object* l_PersistentHashSet_isEmpty(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4;
x_4 = lean_alloc_closure((void*)(l_PersistentHashSet_isEmpty___rarg___boxed), 1, 0);
return x_4;
}
}
lean_object* l_PersistentHashSet_isEmpty___rarg___boxed(lean_object* x_1) {
_start:
{
uint8_t x_2; lean_object* x_3;
x_2 = l_PersistentHashSet_isEmpty___rarg(x_1);
lean_dec(x_1);
x_3 = lean_box(x_2);
return x_3;
}
}
lean_object* l_PersistentHashSet_isEmpty___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4;
x_4 = l_PersistentHashSet_isEmpty(x_1, x_2, x_3);
lean_dec(x_3);
lean_dec(x_2);
return x_4;
}
}
lean_object* l_PersistentHashSet_empty(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4;
x_4 = l_PersistentHashMap_HasEmptyc___closed__1;
return x_4;
}
}
lean_object* l_PersistentHashSet_empty___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4;
x_4 = l_PersistentHashSet_empty(x_1, x_2, x_3);
lean_dec(x_3);
lean_dec(x_2);
return x_4;
}
}
lean_object* l_PersistentHashSet_Inhabited(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4;
x_4 = l_PersistentHashMap_HasEmptyc___closed__1;
return x_4;
}
}
lean_object* l_PersistentHashSet_Inhabited___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4;
x_4 = l_PersistentHashSet_Inhabited(x_1, x_2, x_3);
lean_dec(x_3);
lean_dec(x_2);
return x_4;
}
}
lean_object* l_PersistentHashSet_HasEmptyc(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4;
x_4 = l_PersistentHashMap_HasEmptyc___closed__1;
return x_4;
}
}
lean_object* l_PersistentHashSet_HasEmptyc___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4;
x_4 = l_PersistentHashSet_HasEmptyc(x_1, x_2, x_3);
lean_dec(x_3);
lean_dec(x_2);
return x_4;
}
}
lean_object* l_PersistentHashSet_insert___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; lean_object* x_6;
x_5 = lean_box(0);
x_6 = l_PersistentHashMap_insert___rarg(x_1, x_2, x_3, x_4, x_5);
return x_6;
}
}
lean_object* l_PersistentHashSet_insert(lean_object* x_1) {
_start:
{
lean_object* x_2;
x_2 = lean_alloc_closure((void*)(l_PersistentHashSet_insert___rarg), 4, 0);
return x_2;
}
}
lean_object* l_PersistentHashSet_erase___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_erase___rarg(x_1, x_2, x_3, x_4);
return x_5;
}
}
lean_object* l_PersistentHashSet_erase(lean_object* x_1) {
_start:
{
lean_object* x_2;
x_2 = lean_alloc_closure((void*)(l_PersistentHashSet_erase___rarg), 4, 0);
return x_2;
}
}
lean_object* l_PersistentHashSet_contains___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_contains___rarg(x_1, x_2, x_3, x_4);
return x_5;
}
}
lean_object* l_PersistentHashSet_contains(lean_object* x_1) {
_start:
{
lean_object* x_2;
x_2 = lean_alloc_closure((void*)(l_PersistentHashSet_contains___rarg___boxed), 4, 0);
return x_2;
}
}
lean_object* l_PersistentHashSet_contains___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5;
x_5 = l_PersistentHashSet_contains___rarg(x_1, x_2, x_3, x_4);
lean_dec(x_3);
return x_5;
}
}
lean_object* l_PersistentHashSet_size___rarg(lean_object* x_1) {
_start:
{
lean_object* x_2;
x_2 = lean_ctor_get(x_1, 1);
lean_inc(x_2);
return x_2;
}
}
lean_object* l_PersistentHashSet_size(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4;
x_4 = lean_alloc_closure((void*)(l_PersistentHashSet_size___rarg___boxed), 1, 0);
return x_4;
}
}
lean_object* l_PersistentHashSet_size___rarg___boxed(lean_object* x_1) {
_start:
{
lean_object* x_2;
x_2 = l_PersistentHashSet_size___rarg(x_1);
lean_dec(x_1);
return x_2;
}
}
lean_object* l_PersistentHashSet_size___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4;
x_4 = l_PersistentHashSet_size(x_1, x_2, x_3);
lean_dec(x_3);
lean_dec(x_2);
return x_4;
}
}
lean_object* l_Array_miterateAux___main___at_PersistentHashSet_mfold___spec__3___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_7; uint8_t x_8;
x_7 = lean_array_get_size(x_4);
x_8 = lean_nat_dec_lt(x_5, x_7);
lean_dec(x_7);
if (x_8 == 0)
{
lean_object* x_9; lean_object* x_10; lean_object* x_11;
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_9 = lean_ctor_get(x_1, 0);
lean_inc(x_9);
lean_dec(x_1);
x_10 = lean_ctor_get(x_9, 1);
lean_inc(x_10);
lean_dec(x_9);
x_11 = lean_apply_2(x_10, lean_box(0), x_6);
return x_11;
}
else
{
lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16;
x_12 = lean_ctor_get(x_1, 1);
lean_inc(x_12);
x_13 = lean_array_fget(x_4, x_5);
x_14 = lean_unsigned_to_nat(1u);
x_15 = lean_nat_add(x_5, x_14);
lean_inc(x_2);
lean_inc(x_1);
x_16 = lean_alloc_closure((void*)(l_Array_miterateAux___main___at_PersistentHashSet_mfold___spec__3___rarg___boxed), 6, 5);
lean_closure_set(x_16, 0, x_1);
lean_closure_set(x_16, 1, x_2);
lean_closure_set(x_16, 2, x_3);
lean_closure_set(x_16, 3, x_4);
lean_closure_set(x_16, 4, x_15);
switch (lean_obj_tag(x_13)) {
case 0:
{
lean_object* x_17; lean_object* x_18; lean_object* x_19;
lean_dec(x_1);
x_17 = lean_ctor_get(x_13, 0);
lean_inc(x_17);
lean_dec(x_13);
x_18 = lean_apply_2(x_2, x_6, x_17);
x_19 = lean_apply_4(x_12, lean_box(0), lean_box(0), x_18, x_16);
return x_19;
}
case 1:
{
lean_object* x_20; lean_object* x_21; lean_object* x_22;
x_20 = lean_ctor_get(x_13, 0);
lean_inc(x_20);
lean_dec(x_13);
x_21 = l_PersistentHashMap_mfoldlAux___main___at_PersistentHashSet_mfold___spec__2___rarg(x_1, x_2, x_20, x_6);
x_22 = lean_apply_4(x_12, lean_box(0), lean_box(0), x_21, x_16);
return x_22;
}
default:
{
lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26;
lean_dec(x_2);
x_23 = lean_ctor_get(x_1, 0);
lean_inc(x_23);
lean_dec(x_1);
x_24 = lean_ctor_get(x_23, 1);
lean_inc(x_24);
lean_dec(x_23);
x_25 = lean_apply_2(x_24, lean_box(0), x_6);
x_26 = lean_apply_4(x_12, lean_box(0), lean_box(0), x_25, x_16);
return x_26;
}
}
}
}
}
lean_object* l_Array_miterateAux___main___at_PersistentHashSet_mfold___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4;
x_4 = lean_alloc_closure((void*)(l_Array_miterateAux___main___at_PersistentHashSet_mfold___spec__3___rarg___boxed), 6, 0);
return x_4;
}
}
lean_object* l_Array_miterateAux___main___at_PersistentHashSet_mfold___spec__4___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_7; uint8_t x_8;
x_7 = lean_array_get_size(x_4);
x_8 = lean_nat_dec_lt(x_5, x_7);
lean_dec(x_7);
if (x_8 == 0)
{
lean_object* x_9; lean_object* x_10; lean_object* x_11;
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_9 = lean_ctor_get(x_1, 0);
lean_inc(x_9);
lean_dec(x_1);
x_10 = lean_ctor_get(x_9, 1);
lean_inc(x_10);
lean_dec(x_9);
x_11 = lean_apply_2(x_10, lean_box(0), x_6);
return x_11;
}
else
{
lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18;
x_12 = lean_ctor_get(x_1, 1);
lean_inc(x_12);
x_13 = lean_array_fget(x_4, x_5);
lean_inc(x_2);
x_14 = lean_apply_2(x_2, x_6, x_13);
x_15 = lean_unsigned_to_nat(1u);
x_16 = lean_nat_add(x_5, x_15);
x_17 = lean_alloc_closure((void*)(l_Array_miterateAux___main___at_PersistentHashSet_mfold___spec__4___rarg___boxed), 6, 5);
lean_closure_set(x_17, 0, x_1);
lean_closure_set(x_17, 1, x_2);
lean_closure_set(x_17, 2, x_3);
lean_closure_set(x_17, 3, x_4);
lean_closure_set(x_17, 4, x_16);
x_18 = lean_apply_4(x_12, lean_box(0), lean_box(0), x_14, x_17);
return x_18;
}
}
}
lean_object* l_Array_miterateAux___main___at_PersistentHashSet_mfold___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4;
x_4 = lean_alloc_closure((void*)(l_Array_miterateAux___main___at_PersistentHashSet_mfold___spec__4___rarg___boxed), 6, 0);
return x_4;
}
}
lean_object* l_PersistentHashMap_mfoldlAux___main___at_PersistentHashSet_mfold___spec__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
if (lean_obj_tag(x_3) == 0)
{
lean_object* x_5; lean_object* x_6; lean_object* x_7;
x_5 = lean_ctor_get(x_3, 0);
lean_inc(x_5);
lean_dec(x_3);
x_6 = lean_unsigned_to_nat(0u);
lean_inc(x_5);
x_7 = l_Array_miterateAux___main___at_PersistentHashSet_mfold___spec__3___rarg(x_1, x_2, x_5, x_5, x_6, x_4);
return x_7;
}
else
{
lean_object* x_8; lean_object* x_9; lean_object* x_10;
x_8 = lean_ctor_get(x_3, 0);
lean_inc(x_8);
lean_dec(x_3);
x_9 = lean_unsigned_to_nat(0u);
lean_inc(x_8);
x_10 = l_Array_miterateAux___main___at_PersistentHashSet_mfold___spec__4___rarg(x_1, x_2, x_8, x_8, x_9, x_4);
return x_10;
}
}
}
lean_object* l_PersistentHashMap_mfoldlAux___main___at_PersistentHashSet_mfold___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4;
x_4 = lean_alloc_closure((void*)(l_PersistentHashMap_mfoldlAux___main___at_PersistentHashSet_mfold___spec__2___rarg), 4, 0);
return x_4;
}
}
lean_object* l_PersistentHashMap_mfoldl___at_PersistentHashSet_mfold___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; lean_object* x_6;
x_5 = lean_ctor_get(x_3, 0);
lean_inc(x_5);
lean_dec(x_3);
x_6 = l_PersistentHashMap_mfoldlAux___main___at_PersistentHashSet_mfold___spec__2___rarg(x_1, x_2, x_5, x_4);
return x_6;
}
}
lean_object* l_PersistentHashMap_mfoldl___at_PersistentHashSet_mfold___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_mfoldl___at_PersistentHashSet_mfold___spec__1___rarg), 4, 0);
return x_4;
}
}
lean_object* l_PersistentHashSet_mfold___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_mfoldl___at_PersistentHashSet_mfold___spec__1___rarg(x_1, x_2, x_4, x_3);
return x_5;
}
}
lean_object* l_PersistentHashSet_mfold(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_mfold___rarg), 4, 0);
return x_6;
}
}
lean_object* l_Array_miterateAux___main___at_PersistentHashSet_mfold___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:
{
lean_object* x_7;
x_7 = l_Array_miterateAux___main___at_PersistentHashSet_mfold___spec__3___rarg(x_1, x_2, x_3, x_4, x_5, x_6);
lean_dec(x_5);
return x_7;
}
}
lean_object* l_Array_miterateAux___main___at_PersistentHashSet_mfold___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4;
x_4 = l_Array_miterateAux___main___at_PersistentHashSet_mfold___spec__3(x_1, x_2, x_3);
lean_dec(x_3);
return x_4;
}
}
lean_object* l_Array_miterateAux___main___at_PersistentHashSet_mfold___spec__4___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_7;
x_7 = l_Array_miterateAux___main___at_PersistentHashSet_mfold___spec__4___rarg(x_1, x_2, x_3, x_4, x_5, x_6);
lean_dec(x_5);
return x_7;
}
}
lean_object* l_Array_miterateAux___main___at_PersistentHashSet_mfold___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4;
x_4 = l_Array_miterateAux___main___at_PersistentHashSet_mfold___spec__4(x_1, x_2, x_3);
lean_dec(x_3);
return x_4;
}
}
lean_object* l_PersistentHashMap_mfoldlAux___main___at_PersistentHashSet_mfold___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4;
x_4 = l_PersistentHashMap_mfoldlAux___main___at_PersistentHashSet_mfold___spec__2(x_1, x_2, x_3);
lean_dec(x_3);
return x_4;
}
}
lean_object* l_PersistentHashMap_mfoldl___at_PersistentHashSet_mfold___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4;
x_4 = l_PersistentHashMap_mfoldl___at_PersistentHashSet_mfold___spec__1(x_1, x_2, x_3);
lean_dec(x_3);
return x_4;
}
}
lean_object* l_PersistentHashSet_mfold___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_mfold(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_Array_miterateAux___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:
{
lean_object* x_6; uint8_t x_7;
x_6 = lean_array_get_size(x_3);
x_7 = lean_nat_dec_lt(x_4, x_6);
lean_dec(x_6);
if (x_7 == 0)
{
lean_dec(x_4);
lean_dec(x_1);
return x_5;
}
else
{
lean_object* x_8; lean_object* x_9; lean_object* x_10;
x_8 = lean_array_fget(x_3, x_4);
x_9 = lean_unsigned_to_nat(1u);
x_10 = lean_nat_add(x_4, x_9);
lean_dec(x_4);
switch (lean_obj_tag(x_8)) {
case 0:
{
lean_object* x_11; lean_object* x_12;
x_11 = lean_ctor_get(x_8, 0);
lean_inc(x_11);
lean_dec(x_8);
lean_inc(x_1);
x_12 = lean_apply_2(x_1, x_5, x_11);
x_4 = x_10;
x_5 = x_12;
goto _start;
}
case 1:
{
lean_object* x_14; lean_object* x_15;
x_14 = lean_ctor_get(x_8, 0);
lean_inc(x_14);
lean_dec(x_8);
lean_inc(x_1);
x_15 = l_PersistentHashMap_mfoldlAux___main___at_PersistentHashSet_fold___spec__2___rarg(x_1, x_14, x_5);
lean_dec(x_14);
x_4 = x_10;
x_5 = x_15;
goto _start;
}
default:
{
x_4 = x_10;
goto _start;
}
}
}
}
}
lean_object* l_Array_miterateAux___main___at_PersistentHashSet_fold___spec__3(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3;
x_3 = lean_alloc_closure((void*)(l_Array_miterateAux___main___at_PersistentHashSet_fold___spec__3___rarg___boxed), 5, 0);
return x_3;
}
}
lean_object* l_Array_miterateAux___main___at_PersistentHashSet_fold___spec__4___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_6; uint8_t x_7;
x_6 = lean_array_get_size(x_3);
x_7 = lean_nat_dec_lt(x_4, x_6);
lean_dec(x_6);
if (x_7 == 0)
{
lean_dec(x_4);
lean_dec(x_1);
return x_5;
}
else
{
lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11;
x_8 = lean_array_fget(x_3, x_4);
lean_inc(x_1);
x_9 = lean_apply_2(x_1, x_5, x_8);
x_10 = lean_unsigned_to_nat(1u);
x_11 = lean_nat_add(x_4, x_10);
lean_dec(x_4);
x_4 = x_11;
x_5 = x_9;
goto _start;
}
}
}
lean_object* l_Array_miterateAux___main___at_PersistentHashSet_fold___spec__4(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3;
x_3 = lean_alloc_closure((void*)(l_Array_miterateAux___main___at_PersistentHashSet_fold___spec__4___rarg___boxed), 5, 0);
return x_3;
}
}
lean_object* l_PersistentHashMap_mfoldlAux___main___at_PersistentHashSet_fold___spec__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
if (lean_obj_tag(x_2) == 0)
{
lean_object* x_4; lean_object* x_5; lean_object* x_6;
x_4 = lean_ctor_get(x_2, 0);
x_5 = lean_unsigned_to_nat(0u);
x_6 = l_Array_miterateAux___main___at_PersistentHashSet_fold___spec__3___rarg(x_1, x_4, x_4, x_5, x_3);
return x_6;
}
else
{
lean_object* x_7; lean_object* x_8; lean_object* x_9;
x_7 = lean_ctor_get(x_2, 0);
x_8 = lean_unsigned_to_nat(0u);
x_9 = l_Array_miterateAux___main___at_PersistentHashSet_fold___spec__4___rarg(x_1, x_7, x_7, x_8, x_3);
return x_9;
}
}
}
lean_object* l_PersistentHashMap_mfoldlAux___main___at_PersistentHashSet_fold___spec__2(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3;
x_3 = lean_alloc_closure((void*)(l_PersistentHashMap_mfoldlAux___main___at_PersistentHashSet_fold___spec__2___rarg___boxed), 3, 0);
return x_3;
}
}
lean_object* l_PersistentHashMap_mfoldl___at_PersistentHashSet_fold___spec__1___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_2, 0);
x_5 = l_PersistentHashMap_mfoldlAux___main___at_PersistentHashSet_fold___spec__2___rarg(x_1, x_4, x_3);
return x_5;
}
}
lean_object* l_PersistentHashMap_mfoldl___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_mfoldl___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_mfoldl___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) {
_start:
{
lean_object* x_5;
x_5 = lean_alloc_closure((void*)(l_PersistentHashSet_fold___rarg___boxed), 3, 0);
return x_5;
}
}
lean_object* l_Array_miterateAux___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:
{
lean_object* x_6;
x_6 = l_Array_miterateAux___main___at_PersistentHashSet_fold___spec__3___rarg(x_1, x_2, x_3, x_4, x_5);
lean_dec(x_3);
lean_dec(x_2);
return x_6;
}
}
lean_object* l_Array_miterateAux___main___at_PersistentHashSet_fold___spec__4___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_6;
x_6 = l_Array_miterateAux___main___at_PersistentHashSet_fold___spec__4___rarg(x_1, x_2, x_3, x_4, x_5);
lean_dec(x_3);
lean_dec(x_2);
return x_6;
}
}
lean_object* l_PersistentHashMap_mfoldlAux___main___at_PersistentHashSet_fold___spec__2___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4;
x_4 = l_PersistentHashMap_mfoldlAux___main___at_PersistentHashSet_fold___spec__2___rarg(x_1, x_2, x_3);
lean_dec(x_2);
return x_4;
}
}
lean_object* l_PersistentHashMap_mfoldl___at_PersistentHashSet_fold___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4;
x_4 = l_PersistentHashMap_mfoldl___at_PersistentHashSet_fold___spec__1___rarg(x_1, x_2, x_3);
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) {
_start:
{
lean_object* x_5;
x_5 = l_PersistentHashSet_fold(x_1, x_2, x_3, x_4);
lean_dec(x_3);
lean_dec(x_2);
return x_5;
}
}
lean_object* initialize_Init_Data_PersistentHashMap_Default(lean_object*);
static bool _G_initialized = false;
lean_object* initialize_Init_Data_PersistentHashSet(lean_object* w) {
lean_object * res;
if (_G_initialized) return lean_mk_io_result(lean_box(0));
_G_initialized = true;
res = initialize_Init_Data_PersistentHashMap_Default(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

View file

@ -1,6 +1,6 @@
// Lean compiler output
// Module: Init.Lean.Expr
// Imports: Init.Lean.Level Init.Lean.KVMap Init.Data.HashMap.Default Init.Data.PersistentHashMap.Default
// Imports: Init.Lean.Level Init.Lean.KVMap Init.Data.HashMap.Default Init.Data.HashSet Init.Data.PersistentHashMap.Default Init.Data.PersistentHashSet
#include "runtime/lean.h"
#if defined(__clang__)
#pragma clang diagnostic ignored "-Wunused-parameter"
@ -1718,7 +1718,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_constName___closed__1;
x_4 = lean_unsigned_to_nat(234u);
x_4 = lean_unsigned_to_nat(236u);
x_5 = lean_unsigned_to_nat(15u);
x_6 = l_Lean_Expr_constName___closed__2;
x_7 = l_panicWithPos___at_Lean_Expr_constName___spec__1(x_3, x_4, x_5, x_6);
@ -1783,7 +1783,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_constName___closed__1;
x_4 = lean_unsigned_to_nat(238u);
x_4 = lean_unsigned_to_nat(240u);
x_5 = lean_unsigned_to_nat(16u);
x_6 = l_Lean_Expr_constName___closed__2;
x_7 = l_panicWithPos___at_Lean_Expr_constLevels___spec__1(x_3, x_4, x_5, x_6);
@ -1832,7 +1832,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_constName___closed__1;
x_4 = lean_unsigned_to_nat(242u);
x_4 = lean_unsigned_to_nat(244u);
x_5 = lean_unsigned_to_nat(14u);
x_6 = l_Lean_Expr_bvarIdx___closed__1;
x_7 = l_panicWithPos___at_Array_findIdx_x21___spec__1(x_3, x_4, x_5, x_6);
@ -1871,7 +1871,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_constName___closed__1;
x_4 = lean_unsigned_to_nat(246u);
x_4 = lean_unsigned_to_nat(248u);
x_5 = lean_unsigned_to_nat(12u);
x_6 = l_Lean_Expr_fvarName___closed__1;
x_7 = l_panicWithPos___at_Lean_Expr_constName___spec__1(x_3, x_4, x_5, x_6);
@ -1918,7 +1918,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_constName___closed__1;
x_5 = lean_unsigned_to_nat(251u);
x_5 = lean_unsigned_to_nat(253u);
x_6 = lean_unsigned_to_nat(21u);
x_7 = l_Lean_Expr_bindingName___closed__1;
x_8 = l_panicWithPos___at_Lean_Expr_constName___spec__1(x_4, x_5, x_6, x_7);
@ -1982,7 +1982,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_constName___closed__1;
x_5 = lean_unsigned_to_nat(256u);
x_5 = lean_unsigned_to_nat(258u);
x_6 = lean_unsigned_to_nat(21u);
x_7 = l_Lean_Expr_bindingName___closed__1;
x_8 = l_panicWithPos___at_Lean_Expr_bindingDomain___spec__1(x_4, x_5, x_6, x_7);
@ -2032,7 +2032,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_constName___closed__1;
x_5 = lean_unsigned_to_nat(261u);
x_5 = lean_unsigned_to_nat(263u);
x_6 = lean_unsigned_to_nat(21u);
x_7 = l_Lean_Expr_bindingName___closed__1;
x_8 = l_panicWithPos___at_Lean_Expr_bindingDomain___spec__1(x_4, x_5, x_6, x_7);
@ -2072,7 +2072,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_constName___closed__1;
x_4 = lean_unsigned_to_nat(265u);
x_4 = lean_unsigned_to_nat(267u);
x_5 = lean_unsigned_to_nat(18u);
x_6 = l_Lean_Expr_letName___closed__1;
x_7 = l_panicWithPos___at_Lean_Expr_constName___spec__1(x_3, x_4, x_5, x_6);
@ -2637,7 +2637,7 @@ lean_dec(x_3);
lean_dec(x_2);
lean_dec(x_1);
x_5 = l_Lean_Expr_constName___closed__1;
x_6 = lean_unsigned_to_nat(398u);
x_6 = lean_unsigned_to_nat(403u);
x_7 = lean_unsigned_to_nat(16u);
x_8 = l_Lean_Expr_updateApp_x21___closed__1;
x_9 = l_panicWithPos___at_Lean_Expr_bindingDomain___spec__1(x_5, x_6, x_7, x_8);
@ -2668,7 +2668,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_constName___closed__1;
x_5 = lean_unsigned_to_nat(407u);
x_5 = lean_unsigned_to_nat(412u);
x_6 = lean_unsigned_to_nat(16u);
x_7 = l_Lean_Expr_constName___closed__2;
x_8 = l_panicWithPos___at_Lean_Expr_bindingDomain___spec__1(x_4, x_5, x_6, x_7);
@ -2707,7 +2707,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_constName___closed__1;
x_5 = lean_unsigned_to_nat(416u);
x_5 = lean_unsigned_to_nat(421u);
x_6 = lean_unsigned_to_nat(12u);
x_7 = l_Lean_Expr_updateSort_x21___closed__1;
x_8 = l_panicWithPos___at_Lean_Expr_bindingDomain___spec__1(x_4, x_5, x_6, x_7);
@ -2754,7 +2754,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_constName___closed__1;
x_5 = lean_unsigned_to_nat(433u);
x_5 = lean_unsigned_to_nat(438u);
x_6 = lean_unsigned_to_nat(15u);
x_7 = l_Lean_Expr_updateMData_x21___closed__1;
x_8 = l_panicWithPos___at_Lean_Expr_bindingDomain___spec__1(x_4, x_5, x_6, x_7);
@ -2785,7 +2785,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_constName___closed__1;
x_5 = lean_unsigned_to_nat(438u);
x_5 = lean_unsigned_to_nat(443u);
x_6 = lean_unsigned_to_nat(16u);
x_7 = l_Lean_Expr_updateProj_x21___closed__1;
x_8 = l_panicWithPos___at_Lean_Expr_bindingDomain___spec__1(x_4, x_5, x_6, x_7);
@ -2827,7 +2827,7 @@ lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_1);
x_6 = l_Lean_Expr_constName___closed__1;
x_7 = lean_unsigned_to_nat(447u);
x_7 = lean_unsigned_to_nat(452u);
x_8 = lean_unsigned_to_nat(22u);
x_9 = l_Lean_Expr_updateForall_x21___closed__1;
x_10 = l_panicWithPos___at_Lean_Expr_bindingDomain___spec__1(x_6, x_7, x_8, x_9);
@ -2862,7 +2862,7 @@ lean_dec(x_3);
lean_dec(x_2);
lean_dec(x_1);
x_6 = l_Lean_Expr_constName___closed__1;
x_7 = lean_unsigned_to_nat(452u);
x_7 = lean_unsigned_to_nat(457u);
x_8 = lean_unsigned_to_nat(22u);
x_9 = l_Lean_Expr_updateForall_x21___closed__1;
x_10 = l_panicWithPos___at_Lean_Expr_bindingDomain___spec__1(x_6, x_7, x_8, x_9);
@ -2904,7 +2904,7 @@ lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_1);
x_6 = l_Lean_Expr_constName___closed__1;
x_7 = lean_unsigned_to_nat(461u);
x_7 = lean_unsigned_to_nat(466u);
x_8 = lean_unsigned_to_nat(18u);
x_9 = l_Lean_Expr_updateLambda_x21___closed__1;
x_10 = l_panicWithPos___at_Lean_Expr_bindingDomain___spec__1(x_6, x_7, x_8, x_9);
@ -2939,7 +2939,7 @@ lean_dec(x_3);
lean_dec(x_2);
lean_dec(x_1);
x_6 = l_Lean_Expr_constName___closed__1;
x_7 = lean_unsigned_to_nat(466u);
x_7 = lean_unsigned_to_nat(471u);
x_8 = lean_unsigned_to_nat(18u);
x_9 = l_Lean_Expr_updateLambda_x21___closed__1;
x_10 = l_panicWithPos___at_Lean_Expr_bindingDomain___spec__1(x_6, x_7, x_8, x_9);
@ -2972,7 +2972,7 @@ lean_dec(x_3);
lean_dec(x_2);
lean_dec(x_1);
x_6 = l_Lean_Expr_constName___closed__1;
x_7 = lean_unsigned_to_nat(475u);
x_7 = lean_unsigned_to_nat(480u);
x_8 = lean_unsigned_to_nat(18u);
x_9 = l_Lean_Expr_letName___closed__1;
x_10 = l_panicWithPos___at_Lean_Expr_bindingDomain___spec__1(x_6, x_7, x_8, x_9);
@ -2983,7 +2983,9 @@ return x_10;
lean_object* initialize_Init_Lean_Level(lean_object*);
lean_object* initialize_Init_Lean_KVMap(lean_object*);
lean_object* initialize_Init_Data_HashMap_Default(lean_object*);
lean_object* initialize_Init_Data_HashSet(lean_object*);
lean_object* initialize_Init_Data_PersistentHashMap_Default(lean_object*);
lean_object* initialize_Init_Data_PersistentHashSet(lean_object*);
static bool _G_initialized = false;
lean_object* initialize_Init_Lean_Expr(lean_object* w) {
lean_object * res;
@ -2998,9 +3000,15 @@ lean_dec_ref(res);
res = initialize_Init_Data_HashMap_Default(lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Init_Data_HashSet(lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Init_Data_PersistentHashMap_Default(lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Init_Data_PersistentHashSet(lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
l_Lean_BinderInfo_HasBeq___closed__1 = _init_l_Lean_BinderInfo_HasBeq___closed__1();
lean_mark_persistent(l_Lean_BinderInfo_HasBeq___closed__1);
l_Lean_BinderInfo_HasBeq = _init_l_Lean_BinderInfo_HasBeq();

File diff suppressed because it is too large Load diff

View file

@ -42,7 +42,6 @@ lean_object* l_Array_miterateAux___main___at_Lean_MetavarContext_mkDecl___spec__
lean_object* lean_expr_mk_let(lean_object*, lean_object*, lean_object*, lean_object*);
uint8_t l_Lean_MetavarContext_hasAssignedLevelMVar(lean_object*, lean_object*);
lean_object* l_Lean_MetavarContext_getExprMVarLCtx(lean_object*, lean_object*);
extern lean_object* l_Lean_AbstractMetavarContext_InstantiateExprMVars_instantiateDelayedAux___main___rarg___closed__2;
lean_object* l_PersistentHashMap_findAtAux___main___at_Lean_MetavarContext_getDelayedAssignment___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
extern lean_object* l_panicWithPos___at_Lean_AbstractMetavarContext_InstantiateExprMVars_instantiateDelayedAux___main___spec__1___rarg___closed__2;
lean_object* lean_metavar_ctx_erase_delayed(lean_object*, lean_object*);
@ -57,6 +56,7 @@ lean_object* l_Array_miterateAux___main___at_Lean_MetavarContext_assignLevel___s
lean_object* l_PersistentHashMap_insertAux___main___at_Lean_MetavarContext_mkDecl___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_MetavarContext_hasAssignedLevelMVar___boxed(lean_object*, lean_object*);
lean_object* l_Lean_Expr_getAppNumArgsAux___main(lean_object*, lean_object*);
extern lean_object* l_Nat_foldRevAux___main___at_Lean_LocalContext_mkBinding___spec__1___closed__1;
lean_object* lean_metavar_ctx_get_expr_assignment(lean_object*, lean_object*);
lean_object* l_PersistentHashMap_eraseAux___main___at_Lean_MetavarContext_eraseDelayed___spec__2(lean_object*, size_t, lean_object*);
uint8_t l_PersistentHashMap_contains___at_Lean_MetavarContext_isLevelAssigned___spec__1(lean_object*, lean_object*);
@ -5584,9 +5584,9 @@ lean_dec(x_9);
lean_dec(x_4);
lean_dec(x_1);
x_13 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_instantiateDelayedAux___main___rarg___closed__1;
x_14 = lean_unsigned_to_nat(190u);
x_14 = lean_unsigned_to_nat(193u);
x_15 = lean_unsigned_to_nat(12u);
x_16 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_instantiateDelayedAux___main___rarg___closed__2;
x_16 = l_Nat_foldRevAux___main___at_Lean_LocalContext_mkBinding___spec__1___closed__1;
x_17 = l_panicWithPos___at_Lean_MetavarContext_instantiateMVars___spec__4(x_13, x_14, x_15, x_16, x_5);
return x_17;
}
@ -11866,7 +11866,7 @@ lean_dec(x_192);
lean_dec(x_190);
lean_dec(x_1);
x_197 = l_Lean_Expr_constName___closed__1;
x_198 = lean_unsigned_to_nat(466u);
x_198 = lean_unsigned_to_nat(471u);
x_199 = lean_unsigned_to_nat(18u);
x_200 = l_Lean_Expr_updateLambda_x21___closed__1;
x_201 = l_panicWithPos___at_Lean_Expr_bindingDomain___spec__1(x_197, x_198, x_199, x_200);
@ -12167,7 +12167,7 @@ lean_dec(x_265);
lean_dec(x_263);
lean_dec(x_1);
x_270 = l_Lean_Expr_constName___closed__1;
x_271 = lean_unsigned_to_nat(452u);
x_271 = lean_unsigned_to_nat(457u);
x_272 = lean_unsigned_to_nat(22u);
x_273 = l_Lean_Expr_updateForall_x21___closed__1;
x_274 = l_panicWithPos___at_Lean_Expr_bindingDomain___spec__1(x_270, x_271, x_272, x_273);
@ -12603,7 +12603,7 @@ lean_dec(x_339);
lean_dec(x_337);
lean_dec(x_1);
x_345 = l_Lean_Expr_constName___closed__1;
x_346 = lean_unsigned_to_nat(475u);
x_346 = lean_unsigned_to_nat(480u);
x_347 = lean_unsigned_to_nat(18u);
x_348 = l_Lean_Expr_letName___closed__1;
x_349 = l_panicWithPos___at_Lean_Expr_bindingDomain___spec__1(x_345, x_346, x_347, x_348);
@ -12949,7 +12949,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_constName___closed__1;
x_20 = lean_unsigned_to_nat(433u);
x_20 = lean_unsigned_to_nat(438u);
x_21 = lean_unsigned_to_nat(15u);
x_22 = l_Lean_Expr_updateMData_x21___closed__1;
x_23 = l_panicWithPos___at_Lean_Expr_bindingDomain___spec__1(x_19, x_20, x_21, x_22);
@ -12976,7 +12976,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_constName___closed__1;
x_31 = lean_unsigned_to_nat(438u);
x_31 = lean_unsigned_to_nat(443u);
x_32 = lean_unsigned_to_nat(16u);
x_33 = l_Lean_Expr_updateProj_x21___closed__1;
x_34 = l_panicWithPos___at_Lean_Expr_bindingDomain___spec__1(x_30, x_31, x_32, x_33);

View file

@ -17,11 +17,11 @@ lean_object* l_Lean_SimpleMonadTracerAdapter_isTracingEnabledFor___rarg___lambda
lean_object* l_Lean_MonadTracerAdapter_traceCtxExcept___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_MonadTracerAdapter_traceCtx___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l___private_Init_Lean_Trace_3__addTrace___boxed(lean_object*, lean_object*);
lean_object* l_getModify___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Format_joinArraySep___at_Lean_TraceState_Lean_HasFormat___spec__1___boxed(lean_object*, lean_object*);
lean_object* l_Lean_MonadTracerAdapter_traceCtx___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*);
extern lean_object* l_Array_empty___closed__1;
lean_object* l_Lean_SimpleMonadTracerAdapter_modifyTraces___rarg___lambda__1(lean_object*, lean_object*);
lean_object* l_ReaderT_Monad___rarg___lambda__4___boxed(lean_object*, lean_object*, lean_object*);
lean_object* l___private_Init_Lean_Trace_2__getResetTraces(lean_object*);
lean_object* l_Lean_MonadTracerAdapter_trace___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t);
lean_object* l_Lean_SimpleMonadTracerAdapter_isTracingEnabledFor(lean_object*);
@ -174,7 +174,7 @@ lean_inc(x_5);
lean_dec(x_1);
x_6 = l_Lean_PersistentEnvExtension_inhabited___rarg___closed__3;
x_7 = lean_apply_1(x_5, x_6);
x_8 = lean_alloc_closure((void*)(l_getModify___rarg___lambda__1___boxed), 3, 2);
x_8 = lean_alloc_closure((void*)(l_ReaderT_Monad___rarg___lambda__4___boxed), 3, 2);
lean_closure_set(x_8, 0, x_2);
lean_closure_set(x_8, 1, x_4);
x_9 = lean_apply_4(x_3, lean_box(0), lean_box(0), x_7, x_8);
@ -341,7 +341,7 @@ uint8_t x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object*
x_5 = 0;
x_6 = lean_box(x_5);
x_7 = lean_apply_1(x_1, x_6);
x_8 = lean_alloc_closure((void*)(l_getModify___rarg___lambda__1___boxed), 3, 2);
x_8 = lean_alloc_closure((void*)(l_ReaderT_Monad___rarg___lambda__4___boxed), 3, 2);
lean_closure_set(x_8, 0, x_2);
lean_closure_set(x_8, 1, x_4);
x_9 = lean_apply_4(x_3, lean_box(0), lean_box(0), x_7, x_8);
@ -366,7 +366,7 @@ _start:
{
lean_object* x_7; lean_object* x_8; lean_object* x_9;
x_7 = l___private_Init_Lean_Trace_1__addNode___rarg(x_1, x_2, x_3);
x_8 = lean_alloc_closure((void*)(l_getModify___rarg___lambda__1___boxed), 3, 2);
x_8 = lean_alloc_closure((void*)(l_ReaderT_Monad___rarg___lambda__4___boxed), 3, 2);
lean_closure_set(x_8, 0, x_4);
lean_closure_set(x_8, 1, x_6);
x_9 = lean_apply_4(x_5, lean_box(0), lean_box(0), x_7, x_8);