diff --git a/src/stage0/CMakeLists.txt b/src/stage0/CMakeLists.txt index ba521f9c35..35b6c1907b 100644 --- a/src/stage0/CMakeLists.txt +++ b/src/stage0/CMakeLists.txt @@ -1 +1 @@ -add_library (stage0 OBJECT ./Init/Coe.c ./Init/Control/Alternative.c ./Init/Control/Applicative.c ./Init/Control/Conditional.c ./Init/Control/Default.c ./Init/Control/EState.c ./Init/Control/Except.c ./Init/Control/Functor.c ./Init/Control/Id.c ./Init/Control/Lift.c ./Init/Control/Monad.c ./Init/Control/MonadFail.c ./Init/Control/Option.c ./Init/Control/Reader.c ./Init/Control/State.c ./Init/Core.c ./Init/Data/Array/Basic.c ./Init/Data/Array/BinSearch.c ./Init/Data/Array/Default.c ./Init/Data/Array/QSort.c ./Init/Data/AssocList.c ./Init/Data/Basic.c ./Init/Data/BinomialHeap/Basic.c ./Init/Data/BinomialHeap/Default.c ./Init/Data/ByteArray/Basic.c ./Init/Data/ByteArray/Default.c ./Init/Data/Char/Basic.c ./Init/Data/Char/Default.c ./Init/Data/DList.c ./Init/Data/Default.c ./Init/Data/Fin/Basic.c ./Init/Data/Fin/Default.c ./Init/Data/HashMap/Basic.c ./Init/Data/HashMap/Default.c ./Init/Data/HashSet.c ./Init/Data/Hashable.c ./Init/Data/Int/Basic.c ./Init/Data/Int/Default.c ./Init/Data/List/Basic.c ./Init/Data/List/BasicAux.c ./Init/Data/List/Control.c ./Init/Data/List/Default.c ./Init/Data/List/Instances.c ./Init/Data/Nat/Basic.c ./Init/Data/Nat/Bitwise.c ./Init/Data/Nat/Control.c ./Init/Data/Nat/Default.c ./Init/Data/Nat/Div.c ./Init/Data/Option/Basic.c ./Init/Data/Option/BasicAux.c ./Init/Data/Option/Default.c ./Init/Data/Option/Instances.c ./Init/Data/PersistentArray/Basic.c ./Init/Data/PersistentArray/Default.c ./Init/Data/PersistentHashMap/Basic.c ./Init/Data/PersistentHashMap/Default.c ./Init/Data/PersistentHashSet.c ./Init/Data/Queue/Basic.c ./Init/Data/Queue/Default.c ./Init/Data/RBMap/Basic.c ./Init/Data/RBMap/BasicAux.c ./Init/Data/RBMap/Default.c ./Init/Data/RBTree/Basic.c ./Init/Data/RBTree/Default.c ./Init/Data/Random.c ./Init/Data/Repr.c ./Init/Data/Stack/Basic.c ./Init/Data/Stack/Default.c ./Init/Data/String/Basic.c ./Init/Data/String/Default.c ./Init/Data/ToString.c ./Init/Data/UInt.c ./Init/Default.c ./Init/Fix.c ./Init/Lean/AbstractMetavarContext.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/InductiveUtil.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/QuotUtil.c ./Init/Lean/ReducibilityAttrs.c ./Init/Lean/Runtime.c ./Init/Lean/SMap.c ./Init/Lean/Scopes.c ./Init/Lean/Syntax.c ./Init/Lean/TmpMetavarContext.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/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/InductiveUtil.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/QuotUtil.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/System/Default.c ./Init/System/FilePath.c ./Init/System/IO.c ./Init/System/Platform.c ./Init/Util.c ./Init/WF.c) diff --git a/src/stage0/Init/Control/EState.c b/src/stage0/Init/Control/EState.c index 395f2341fb..da221bd0c1 100644 --- a/src/stage0/Init/Control/EState.c +++ b/src/stage0/Init/Control/EState.c @@ -13,92 +13,92 @@ #ifdef __cplusplus extern "C" { #endif -lean_object* l_EState_seqRight___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_EState_adaptState(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_EState_HasRepr___rarg(lean_object*, lean_object*); -lean_object* l_EState_Monad(lean_object*, lean_object*); -lean_object* l_EState_MonadStateAdapter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_EState_set(lean_object*, lean_object*); -lean_object* l_EState_Monad___closed__6; -lean_object* l_EState_MonadState___closed__3; -lean_object* l_EState_map___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_EState_nonBacktrackable___closed__3; -lean_object* l_EState_orelse(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_EState_run_x27(lean_object*, lean_object*, lean_object*); -lean_object* l_EState_Result_toString___rarg___closed__2; -lean_object* l_EState_orelse_x27(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_EState_dummySave___boxed(lean_object*, lean_object*); -lean_object* l_EState_orelse_x27___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_EState_run___rarg(lean_object*, lean_object*); -lean_object* l_EState_adaptState___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_EState_Monad___closed__5; -lean_object* l_EState_throw___rarg(lean_object*, lean_object*); -lean_object* l_EState_Result_toString(lean_object*, lean_object*, lean_object*); -lean_object* l_EState_fromState___rarg(lean_object*, lean_object*); -lean_object* l_EState_adaptExcept___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_EState_Result_toString___rarg___closed__1; -lean_object* l_EState_nonBacktrackable___closed__1; -lean_object* l_EState_bind(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_EState_HasOrelse___rarg(lean_object*); +lean_object* l_EStateM_Result_repr(lean_object*, lean_object*, lean_object*); +lean_object* l_EStateM_bind(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_EStateM_Result_toString___rarg___closed__2; +lean_object* l_EStateM_map___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_EStateM_dummySave(lean_object*, lean_object*); +lean_object* l_EStateM_catch(lean_object*, lean_object*, lean_object*); +lean_object* l_EStateM_orelse(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_EStateM_MonadState(lean_object*, lean_object*); +lean_object* l_EStateM_throw___rarg(lean_object*, lean_object*); +lean_object* l_EStateM_Monad___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_EStateM_nonBacktrackable___closed__2; +lean_object* l_EStateM_modifyGet___rarg(lean_object*, lean_object*); +lean_object* l_EStateM_seqRight(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_EStateM_get___rarg(lean_object*); +lean_object* l_EStateM_fromStateM___rarg(lean_object*, lean_object*); +lean_object* l_EStateM_Monad___closed__7; +lean_object* l_EStateM_run___rarg(lean_object*, lean_object*); +lean_object* l_EStateM_Monad___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_EStateM_MonadExcept___rarg___closed__1; +lean_object* l_EStateM_Monad___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_EStateM_HasOrelse___rarg(lean_object*); +lean_object* l_EStateM_Monad___closed__1; +lean_object* l_EStateM_HasRepr___rarg(lean_object*, lean_object*); +lean_object* l_EStateM_orelse_x27___rarg(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); +lean_object* l_EStateM_Monad___closed__4; +lean_object* l_EStateM_Monad___closed__5; +lean_object* l_EStateM_set___rarg___boxed(lean_object*, lean_object*); +lean_object* l_EStateM_Result_toString(lean_object*, lean_object*, lean_object*); +lean_object* l_EStateM_run_x27___rarg(lean_object*, lean_object*); +lean_object* l_EStateM_run_x27(lean_object*, lean_object*, lean_object*); +lean_object* l_EStateM_Result_repr___rarg(lean_object*, lean_object*, lean_object*); extern lean_object* l_Except_toString___rarg___closed__2; +lean_object* l_EStateM_MonadExcept(lean_object*, lean_object*, lean_object*); lean_object* lean_string_append(lean_object*, lean_object*); -lean_object* l_EState_Monad___closed__2; -lean_object* l_EState_MonadStateAdapter___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_EStateM_dummyRestore___rarg(lean_object*, lean_object*); +lean_object* l_EStateM_modifyGet(lean_object*, lean_object*, lean_object*); extern lean_object* l_Option_HasRepr___rarg___closed__3; -lean_object* l_EState_MonadExcept___rarg___closed__1; -lean_object* l_EState_pure(lean_object*, lean_object*, lean_object*); -lean_object* l_EState_Monad___closed__4; -lean_object* l_EState_HasOrelse(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_EState_fromState(lean_object*, lean_object*, lean_object*); -lean_object* l_EState_dummyRestore(lean_object*); -lean_object* l_EState_Monad___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_EState_MonadExcept___rarg(lean_object*); -lean_object* l_EState_set___rarg___boxed(lean_object*, lean_object*); -lean_object* l_EState_Monad___closed__10; -lean_object* l_EState_catch___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_EState_get(lean_object*, lean_object*); -lean_object* l_EState_adaptExcept(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_EState_Monad___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_EState_HasRepr(lean_object*, lean_object*, lean_object*); -lean_object* l_EState_MonadState___closed__2; -lean_object* l_EState_Monad___closed__3; -lean_object* l_EState_Monad___closed__9; -lean_object* l_EState_modifyGet___rarg(lean_object*, lean_object*); -lean_object* l_EState_nonBacktrackable(lean_object*); -lean_object* l_EState_bind___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_EState_Monad___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_EState_Monad___closed__8; -lean_object* l_EState_run_x27___rarg(lean_object*, lean_object*); -lean_object* l_EState_Result_repr___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_EState_orelse___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_EState_MonadState___closed__4; -lean_object* l_EState_seqRight(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_EState_dummyRestore___rarg___boxed(lean_object*, lean_object*); -lean_object* l_EState_MonadState(lean_object*, lean_object*); -lean_object* l_EState_pure___rarg(lean_object*, lean_object*); -lean_object* l_EState_HasToString(lean_object*, lean_object*, lean_object*); -lean_object* l_EState_Monad___closed__1; -lean_object* l_EState_HasToString___rarg(lean_object*, lean_object*); -lean_object* l_EState_map(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_EState_orelse_x27___rarg(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); -lean_object* l_EState_dummySave(lean_object*, lean_object*); -lean_object* l_EState_Inhabited(lean_object*, lean_object*, lean_object*); -lean_object* l_EState_modifyGet(lean_object*, lean_object*, lean_object*); -lean_object* l_EState_MonadExcept(lean_object*, lean_object*, lean_object*); -lean_object* l_EState_catch(lean_object*, lean_object*, lean_object*); -lean_object* l_EState_MonadState___closed__1; -lean_object* l_EState_dummyRestore___rarg(lean_object*, lean_object*); -lean_object* l_EState_Monad___closed__7; -lean_object* l_EState_nonBacktrackable___closed__2; -lean_object* l_EState_Result_repr(lean_object*, lean_object*, lean_object*); -lean_object* l_EState_run(lean_object*, lean_object*, lean_object*); -lean_object* l_EState_set___rarg(lean_object*, lean_object*); -lean_object* l_EState_Inhabited___rarg(lean_object*, lean_object*); +lean_object* l_EStateM_Result_toString___rarg___closed__1; +lean_object* l_EStateM_HasToString(lean_object*, lean_object*, lean_object*); +lean_object* l_EStateM_Monad___closed__3; +lean_object* l_EStateM_set(lean_object*, lean_object*); +lean_object* l_EStateM_Monad(lean_object*, lean_object*); +lean_object* l_EStateM_MonadStateAdapter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_EStateM_map(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_EStateM_Result_toString___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_EStateM_get(lean_object*, lean_object*); +lean_object* l_EStateM_throw(lean_object*, lean_object*, lean_object*); +lean_object* l_EStateM_HasOrelse(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_EStateM_HasRepr(lean_object*, lean_object*, lean_object*); +lean_object* l_EStateM_fromStateM(lean_object*, lean_object*, lean_object*); +lean_object* l_EStateM_dummyRestore___rarg___boxed(lean_object*, lean_object*); +lean_object* l_EStateM_dummySave___boxed(lean_object*, lean_object*); +lean_object* l_EStateM_Monad___closed__2; +lean_object* l_EStateM_set___rarg(lean_object*, lean_object*); +lean_object* l_EStateM_orelse___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_EStateM_seqRight___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_EStateM_Monad___closed__8; +lean_object* l_EStateM_HasToString___rarg(lean_object*, lean_object*); +lean_object* l_EStateM_nonBacktrackable(lean_object*); +lean_object* l_EStateM_MonadState___closed__2; +lean_object* l_EStateM_dummyRestore(lean_object*); +lean_object* l_EStateM_adaptState(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_EStateM_Inhabited___rarg(lean_object*, lean_object*); +lean_object* l_EStateM_nonBacktrackable___closed__3; +lean_object* l_EStateM_run(lean_object*, lean_object*, lean_object*); +lean_object* l_EStateM_Inhabited(lean_object*, lean_object*, lean_object*); +lean_object* l_EStateM_pure(lean_object*, lean_object*, lean_object*); +lean_object* l_EStateM_orelse_x27(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_EStateM_nonBacktrackable___closed__1; +lean_object* l_EStateM_bind___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_EStateM_MonadState___closed__4; +lean_object* l_EStateM_Monad___closed__9; +lean_object* l_EStateM_Monad___closed__10; +lean_object* l_EStateM_pure___rarg(lean_object*, lean_object*); +lean_object* l_EStateM_orelse_x27___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_EStateM_Monad___closed__6; +lean_object* l_EStateM_MonadExcept___rarg(lean_object*); +lean_object* l_EStateM_adaptExcept___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_EStateM_catch___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_EStateM_adaptExcept(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_EStateM_MonadState___closed__1; +lean_object* l_EStateM_MonadStateAdapter___rarg(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Except_toString___rarg___closed__1; -lean_object* l_EState_throw(lean_object*, lean_object*, lean_object*); -lean_object* l_EState_get___rarg(lean_object*); -lean_object* l_EState_Result_toString___rarg(lean_object*, lean_object*, lean_object*); -lean_object* _init_l_EState_Result_toString___rarg___closed__1() { +lean_object* l_EStateM_MonadState___closed__3; +lean_object* l_EStateM_adaptState___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* _init_l_EStateM_Result_toString___rarg___closed__1() { _start: { lean_object* x_1; @@ -106,7 +106,7 @@ x_1 = lean_mk_string("ok: "); return x_1; } } -lean_object* _init_l_EState_Result_toString___rarg___closed__2() { +lean_object* _init_l_EStateM_Result_toString___rarg___closed__2() { _start: { lean_object* x_1; @@ -114,7 +114,7 @@ x_1 = lean_mk_string("error: "); return x_1; } } -lean_object* l_EState_Result_toString___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_EStateM_Result_toString___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_3) == 0) @@ -125,7 +125,7 @@ x_4 = lean_ctor_get(x_3, 0); lean_inc(x_4); lean_dec(x_3); x_5 = lean_apply_1(x_2, x_4); -x_6 = l_EState_Result_toString___rarg___closed__1; +x_6 = l_EStateM_Result_toString___rarg___closed__1; x_7 = lean_string_append(x_6, x_5); lean_dec(x_5); return x_7; @@ -138,22 +138,22 @@ x_8 = lean_ctor_get(x_3, 0); lean_inc(x_8); lean_dec(x_3); x_9 = lean_apply_1(x_1, x_8); -x_10 = l_EState_Result_toString___rarg___closed__2; +x_10 = l_EStateM_Result_toString___rarg___closed__2; x_11 = lean_string_append(x_10, x_9); lean_dec(x_9); return x_11; } } } -lean_object* l_EState_Result_toString(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_EStateM_Result_toString(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = lean_alloc_closure((void*)(l_EState_Result_toString___rarg), 3, 0); +x_4 = lean_alloc_closure((void*)(l_EStateM_Result_toString___rarg), 3, 0); return x_4; } } -lean_object* l_EState_Result_repr___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_EStateM_Result_repr___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_3) == 0) @@ -188,51 +188,51 @@ return x_15; } } } -lean_object* l_EState_Result_repr(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_EStateM_Result_repr(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = lean_alloc_closure((void*)(l_EState_Result_repr___rarg), 3, 0); +x_4 = lean_alloc_closure((void*)(l_EStateM_Result_repr___rarg), 3, 0); return x_4; } } -lean_object* l_EState_HasToString___rarg(lean_object* x_1, lean_object* x_2) { +lean_object* l_EStateM_HasToString___rarg(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_EState_Result_toString___rarg), 3, 2); +x_3 = lean_alloc_closure((void*)(l_EStateM_Result_toString___rarg), 3, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); return x_3; } } -lean_object* l_EState_HasToString(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_EStateM_HasToString(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = lean_alloc_closure((void*)(l_EState_HasToString___rarg), 2, 0); +x_4 = lean_alloc_closure((void*)(l_EStateM_HasToString___rarg), 2, 0); return x_4; } } -lean_object* l_EState_HasRepr___rarg(lean_object* x_1, lean_object* x_2) { +lean_object* l_EStateM_HasRepr___rarg(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_EState_Result_repr___rarg), 3, 2); +x_3 = lean_alloc_closure((void*)(l_EStateM_Result_repr___rarg), 3, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); return x_3; } } -lean_object* l_EState_HasRepr(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_EStateM_HasRepr(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = lean_alloc_closure((void*)(l_EState_HasRepr___rarg), 2, 0); +x_4 = lean_alloc_closure((void*)(l_EStateM_HasRepr___rarg), 2, 0); return x_4; } } -lean_object* l_EState_Inhabited___rarg(lean_object* x_1, lean_object* x_2) { +lean_object* l_EStateM_Inhabited___rarg(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; @@ -242,15 +242,15 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -lean_object* l_EState_Inhabited(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_EStateM_Inhabited(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = lean_alloc_closure((void*)(l_EState_Inhabited___rarg), 2, 0); +x_4 = lean_alloc_closure((void*)(l_EStateM_Inhabited___rarg), 2, 0); return x_4; } } -lean_object* l_EState_pure___rarg(lean_object* x_1, lean_object* x_2) { +lean_object* l_EStateM_pure___rarg(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; @@ -260,15 +260,15 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -lean_object* l_EState_pure(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_EStateM_pure(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = lean_alloc_closure((void*)(l_EState_pure___rarg), 2, 0); +x_4 = lean_alloc_closure((void*)(l_EStateM_pure___rarg), 2, 0); return x_4; } } -lean_object* l_EState_set___rarg(lean_object* x_1, lean_object* x_2) { +lean_object* l_EStateM_set___rarg(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; @@ -279,24 +279,24 @@ lean_ctor_set(x_4, 1, x_1); return x_4; } } -lean_object* l_EState_set(lean_object* x_1, lean_object* x_2) { +lean_object* l_EStateM_set(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_EState_set___rarg___boxed), 2, 0); +x_3 = lean_alloc_closure((void*)(l_EStateM_set___rarg___boxed), 2, 0); return x_3; } } -lean_object* l_EState_set___rarg___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l_EStateM_set___rarg___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_EState_set___rarg(x_1, x_2); +x_3 = l_EStateM_set___rarg(x_1, x_2); lean_dec(x_2); return x_3; } } -lean_object* l_EState_get___rarg(lean_object* x_1) { +lean_object* l_EStateM_get___rarg(lean_object* x_1) { _start: { lean_object* x_2; @@ -307,15 +307,15 @@ lean_ctor_set(x_2, 1, x_1); return x_2; } } -lean_object* l_EState_get(lean_object* x_1, lean_object* x_2) { +lean_object* l_EStateM_get(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_EState_get___rarg), 1, 0); +x_3 = lean_alloc_closure((void*)(l_EStateM_get___rarg), 1, 0); return x_3; } } -lean_object* l_EState_modifyGet___rarg(lean_object* x_1, lean_object* x_2) { +lean_object* l_EStateM_modifyGet___rarg(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; @@ -331,15 +331,15 @@ lean_ctor_set(x_6, 1, x_5); return x_6; } } -lean_object* l_EState_modifyGet(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_EStateM_modifyGet(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = lean_alloc_closure((void*)(l_EState_modifyGet___rarg), 2, 0); +x_4 = lean_alloc_closure((void*)(l_EStateM_modifyGet___rarg), 2, 0); return x_4; } } -lean_object* l_EState_throw___rarg(lean_object* x_1, lean_object* x_2) { +lean_object* l_EStateM_throw___rarg(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; @@ -349,15 +349,15 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -lean_object* l_EState_throw(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_EStateM_throw(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = lean_alloc_closure((void*)(l_EState_throw___rarg), 2, 0); +x_4 = lean_alloc_closure((void*)(l_EStateM_throw___rarg), 2, 0); return x_4; } } -lean_object* l_EState_catch___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_EStateM_catch___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; @@ -390,15 +390,15 @@ return x_13; } } } -lean_object* l_EState_catch(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_EStateM_catch(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = lean_alloc_closure((void*)(l_EState_catch___rarg), 5, 0); +x_4 = lean_alloc_closure((void*)(l_EStateM_catch___rarg), 5, 0); return x_4; } } -lean_object* l_EState_orelse___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_EStateM_orelse___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; @@ -429,15 +429,15 @@ return x_11; } } } -lean_object* l_EState_orelse(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_EStateM_orelse(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_EState_orelse___rarg), 4, 0); +x_5 = lean_alloc_closure((void*)(l_EStateM_orelse___rarg), 4, 0); return x_5; } } -lean_object* l_EState_orelse_x27___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5) { +lean_object* l_EStateM_orelse_x27___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5) { _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; @@ -524,25 +524,25 @@ return x_21; } } } -lean_object* l_EState_orelse_x27(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_EStateM_orelse_x27(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_EState_orelse_x27___rarg___boxed), 5, 0); +x_5 = lean_alloc_closure((void*)(l_EStateM_orelse_x27___rarg___boxed), 5, 0); return x_5; } } -lean_object* l_EState_orelse_x27___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_EStateM_orelse_x27___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { uint8_t x_6; lean_object* x_7; x_6 = lean_unbox(x_4); lean_dec(x_4); -x_7 = l_EState_orelse_x27___rarg(x_1, x_2, x_3, x_6, x_5); +x_7 = l_EStateM_orelse_x27___rarg(x_1, x_2, x_3, x_6, x_5); return x_7; } } -lean_object* l_EState_adaptExcept___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_EStateM_adaptExcept___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; @@ -599,15 +599,15 @@ return x_15; } } } -lean_object* l_EState_adaptExcept(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_EStateM_adaptExcept(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_EState_adaptExcept___rarg), 3, 0); +x_5 = lean_alloc_closure((void*)(l_EStateM_adaptExcept___rarg), 3, 0); return x_5; } } -lean_object* l_EState_bind___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_EStateM_bind___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; @@ -648,15 +648,15 @@ return x_11; } } } -lean_object* l_EState_bind(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_EStateM_bind(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_EState_bind___rarg), 3, 0); +x_5 = lean_alloc_closure((void*)(l_EStateM_bind___rarg), 3, 0); return x_5; } } -lean_object* l_EState_map___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_EStateM_map___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; @@ -713,15 +713,15 @@ return x_15; } } } -lean_object* l_EState_map(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_EStateM_map(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_EState_map___rarg), 3, 0); +x_5 = lean_alloc_closure((void*)(l_EStateM_map___rarg), 3, 0); return x_5; } } -lean_object* l_EState_seqRight___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_EStateM_seqRight___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; @@ -760,15 +760,15 @@ return x_10; } } } -lean_object* l_EState_seqRight(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_EStateM_seqRight(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_EState_seqRight___rarg), 3, 0); +x_5 = lean_alloc_closure((void*)(l_EStateM_seqRight___rarg), 3, 0); return x_5; } } -lean_object* l_EState_Monad___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_EStateM_Monad___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; @@ -822,7 +822,7 @@ return x_14; } } } -lean_object* l_EState_Monad___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_EStateM_Monad___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; @@ -912,7 +912,7 @@ return x_24; } } } -lean_object* l_EState_Monad___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_EStateM_Monad___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; @@ -999,81 +999,81 @@ return x_21; } } } -lean_object* _init_l_EState_Monad___closed__1() { +lean_object* _init_l_EStateM_Monad___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_EState_map), 4, 2); +x_1 = lean_alloc_closure((void*)(l_EStateM_map), 4, 2); lean_closure_set(x_1, 0, lean_box(0)); lean_closure_set(x_1, 1, lean_box(0)); return x_1; } } -lean_object* _init_l_EState_Monad___closed__2() { +lean_object* _init_l_EStateM_Monad___closed__2() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_EState_Monad___lambda__1), 5, 0); +x_1 = lean_alloc_closure((void*)(l_EStateM_Monad___lambda__1), 5, 0); return x_1; } } -lean_object* _init_l_EState_Monad___closed__3() { +lean_object* _init_l_EStateM_Monad___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_EState_Monad___closed__1; -x_2 = l_EState_Monad___closed__2; +x_1 = l_EStateM_Monad___closed__1; +x_2 = l_EStateM_Monad___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_EState_Monad___closed__4() { +lean_object* _init_l_EStateM_Monad___closed__4() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_EState_pure), 3, 2); +x_1 = lean_alloc_closure((void*)(l_EStateM_pure), 3, 2); lean_closure_set(x_1, 0, lean_box(0)); lean_closure_set(x_1, 1, lean_box(0)); return x_1; } } -lean_object* _init_l_EState_Monad___closed__5() { +lean_object* _init_l_EStateM_Monad___closed__5() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_EState_seqRight), 4, 2); +x_1 = lean_alloc_closure((void*)(l_EStateM_seqRight), 4, 2); lean_closure_set(x_1, 0, lean_box(0)); lean_closure_set(x_1, 1, lean_box(0)); return x_1; } } -lean_object* _init_l_EState_Monad___closed__6() { +lean_object* _init_l_EStateM_Monad___closed__6() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_EState_Monad___lambda__2), 5, 0); +x_1 = lean_alloc_closure((void*)(l_EStateM_Monad___lambda__2), 5, 0); return x_1; } } -lean_object* _init_l_EState_Monad___closed__7() { +lean_object* _init_l_EStateM_Monad___closed__7() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_EState_Monad___lambda__3), 5, 0); +x_1 = lean_alloc_closure((void*)(l_EStateM_Monad___lambda__3), 5, 0); return x_1; } } -lean_object* _init_l_EState_Monad___closed__8() { +lean_object* _init_l_EStateM_Monad___closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_1 = l_EState_Monad___closed__3; -x_2 = l_EState_Monad___closed__4; -x_3 = l_EState_Monad___closed__6; -x_4 = l_EState_Monad___closed__7; -x_5 = l_EState_Monad___closed__5; +x_1 = l_EStateM_Monad___closed__3; +x_2 = l_EStateM_Monad___closed__4; +x_3 = l_EStateM_Monad___closed__6; +x_4 = l_EStateM_Monad___closed__7; +x_5 = l_EStateM_Monad___closed__5; x_6 = lean_alloc_ctor(0, 5, 0); lean_ctor_set(x_6, 0, x_1); lean_ctor_set(x_6, 1, x_2); @@ -1083,86 +1083,86 @@ lean_ctor_set(x_6, 4, x_5); return x_6; } } -lean_object* _init_l_EState_Monad___closed__9() { +lean_object* _init_l_EStateM_Monad___closed__9() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_EState_bind), 4, 2); +x_1 = lean_alloc_closure((void*)(l_EStateM_bind), 4, 2); lean_closure_set(x_1, 0, lean_box(0)); lean_closure_set(x_1, 1, lean_box(0)); return x_1; } } -lean_object* _init_l_EState_Monad___closed__10() { +lean_object* _init_l_EStateM_Monad___closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_EState_Monad___closed__8; -x_2 = l_EState_Monad___closed__9; +x_1 = l_EStateM_Monad___closed__8; +x_2 = l_EStateM_Monad___closed__9; 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_EState_Monad(lean_object* x_1, lean_object* x_2) { +lean_object* l_EStateM_Monad(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_EState_Monad___closed__10; +x_3 = l_EStateM_Monad___closed__10; return x_3; } } -lean_object* l_EState_HasOrelse___rarg(lean_object* x_1) { +lean_object* l_EStateM_HasOrelse___rarg(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_EState_orelse___rarg), 4, 1); +x_2 = lean_alloc_closure((void*)(l_EStateM_orelse___rarg), 4, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } -lean_object* l_EState_HasOrelse(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_EStateM_HasOrelse(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_EState_HasOrelse___rarg), 1, 0); +x_5 = lean_alloc_closure((void*)(l_EStateM_HasOrelse___rarg), 1, 0); return x_5; } } -lean_object* _init_l_EState_MonadState___closed__1() { +lean_object* _init_l_EStateM_MonadState___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_EState_modifyGet), 3, 2); +x_1 = lean_alloc_closure((void*)(l_EStateM_modifyGet), 3, 2); lean_closure_set(x_1, 0, lean_box(0)); lean_closure_set(x_1, 1, lean_box(0)); return x_1; } } -lean_object* _init_l_EState_MonadState___closed__2() { +lean_object* _init_l_EStateM_MonadState___closed__2() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_EState_get___rarg), 1, 0); +x_1 = lean_alloc_closure((void*)(l_EStateM_get___rarg), 1, 0); return x_1; } } -lean_object* _init_l_EState_MonadState___closed__3() { +lean_object* _init_l_EStateM_MonadState___closed__3() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_EState_set___rarg___boxed), 2, 0); +x_1 = lean_alloc_closure((void*)(l_EStateM_set___rarg___boxed), 2, 0); return x_1; } } -lean_object* _init_l_EState_MonadState___closed__4() { +lean_object* _init_l_EStateM_MonadState___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_EState_MonadState___closed__2; -x_2 = l_EState_MonadState___closed__3; -x_3 = l_EState_MonadState___closed__1; +x_1 = l_EStateM_MonadState___closed__2; +x_2 = l_EStateM_MonadState___closed__3; +x_3 = l_EStateM_MonadState___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); @@ -1170,46 +1170,46 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -lean_object* l_EState_MonadState(lean_object* x_1, lean_object* x_2) { +lean_object* l_EStateM_MonadState(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_EState_MonadState___closed__4; +x_3 = l_EStateM_MonadState___closed__4; return x_3; } } -lean_object* _init_l_EState_MonadExcept___rarg___closed__1() { +lean_object* _init_l_EStateM_MonadExcept___rarg___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_EState_throw), 3, 2); +x_1 = lean_alloc_closure((void*)(l_EStateM_throw), 3, 2); lean_closure_set(x_1, 0, lean_box(0)); lean_closure_set(x_1, 1, lean_box(0)); return x_1; } } -lean_object* l_EState_MonadExcept___rarg(lean_object* x_1) { +lean_object* l_EStateM_MonadExcept___rarg(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = lean_alloc_closure((void*)(l_EState_catch___rarg), 5, 1); +x_2 = lean_alloc_closure((void*)(l_EStateM_catch___rarg), 5, 1); lean_closure_set(x_2, 0, x_1); -x_3 = l_EState_MonadExcept___rarg___closed__1; +x_3 = l_EStateM_MonadExcept___rarg___closed__1; x_4 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_4, 0, x_3); lean_ctor_set(x_4, 1, x_2); return x_4; } } -lean_object* l_EState_MonadExcept(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_EStateM_MonadExcept(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = lean_alloc_closure((void*)(l_EState_MonadExcept___rarg), 1, 0); +x_4 = lean_alloc_closure((void*)(l_EStateM_MonadExcept___rarg), 1, 0); return x_4; } } -lean_object* l_EState_adaptState___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_EStateM_adaptState___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; @@ -1276,15 +1276,15 @@ return x_22; } } } -lean_object* l_EState_adaptState(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_EStateM_adaptState(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_EState_adaptState___rarg), 4, 0); +x_6 = lean_alloc_closure((void*)(l_EStateM_adaptState___rarg), 4, 0); return x_6; } } -lean_object* l_EState_MonadStateAdapter___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_EStateM_MonadStateAdapter___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; @@ -1351,15 +1351,15 @@ return x_22; } } } -lean_object* l_EState_MonadStateAdapter(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_EStateM_MonadStateAdapter(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_EState_MonadStateAdapter___rarg), 4, 0); +x_6 = lean_alloc_closure((void*)(l_EStateM_MonadStateAdapter___rarg), 4, 0); return x_6; } } -lean_object* l_EState_fromState___rarg(lean_object* x_1, lean_object* x_2) { +lean_object* l_EStateM_fromStateM___rarg(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; @@ -1375,15 +1375,15 @@ lean_ctor_set(x_6, 1, x_5); return x_6; } } -lean_object* l_EState_fromState(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_EStateM_fromStateM(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = lean_alloc_closure((void*)(l_EState_fromState___rarg), 2, 0); +x_4 = lean_alloc_closure((void*)(l_EStateM_fromStateM___rarg), 2, 0); return x_4; } } -lean_object* l_EState_run___rarg(lean_object* x_1, lean_object* x_2) { +lean_object* l_EStateM_run___rarg(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; @@ -1391,15 +1391,15 @@ x_3 = lean_apply_1(x_1, x_2); return x_3; } } -lean_object* l_EState_run(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_EStateM_run(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = lean_alloc_closure((void*)(l_EState_run___rarg), 2, 0); +x_4 = lean_alloc_closure((void*)(l_EStateM_run___rarg), 2, 0); return x_4; } } -lean_object* l_EState_run_x27___rarg(lean_object* x_1, lean_object* x_2) { +lean_object* l_EStateM_run_x27___rarg(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; @@ -1423,15 +1423,15 @@ return x_6; } } } -lean_object* l_EState_run_x27(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_EStateM_run_x27(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = lean_alloc_closure((void*)(l_EState_run_x27___rarg), 2, 0); +x_4 = lean_alloc_closure((void*)(l_EStateM_run_x27___rarg), 2, 0); return x_4; } } -lean_object* l_EState_dummySave(lean_object* x_1, lean_object* x_2) { +lean_object* l_EStateM_dummySave(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; @@ -1439,74 +1439,74 @@ x_3 = lean_box(0); return x_3; } } -lean_object* l_EState_dummySave___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l_EStateM_dummySave___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_EState_dummySave(x_1, x_2); +x_3 = l_EStateM_dummySave(x_1, x_2); lean_dec(x_2); return x_3; } } -lean_object* l_EState_dummyRestore___rarg(lean_object* x_1, lean_object* x_2) { +lean_object* l_EStateM_dummyRestore___rarg(lean_object* x_1, lean_object* x_2) { _start: { lean_inc(x_1); return x_1; } } -lean_object* l_EState_dummyRestore(lean_object* x_1) { +lean_object* l_EStateM_dummyRestore(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_EState_dummyRestore___rarg___boxed), 2, 0); +x_2 = lean_alloc_closure((void*)(l_EStateM_dummyRestore___rarg___boxed), 2, 0); return x_2; } } -lean_object* l_EState_dummyRestore___rarg___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l_EStateM_dummyRestore___rarg___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_EState_dummyRestore___rarg(x_1, x_2); +x_3 = l_EStateM_dummyRestore___rarg(x_1, x_2); lean_dec(x_2); lean_dec(x_1); return x_3; } } -lean_object* _init_l_EState_nonBacktrackable___closed__1() { +lean_object* _init_l_EStateM_nonBacktrackable___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_EState_dummySave___boxed), 2, 1); +x_1 = lean_alloc_closure((void*)(l_EStateM_dummySave___boxed), 2, 1); lean_closure_set(x_1, 0, lean_box(0)); return x_1; } } -lean_object* _init_l_EState_nonBacktrackable___closed__2() { +lean_object* _init_l_EStateM_nonBacktrackable___closed__2() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_EState_dummyRestore___rarg___boxed), 2, 0); +x_1 = lean_alloc_closure((void*)(l_EStateM_dummyRestore___rarg___boxed), 2, 0); return x_1; } } -lean_object* _init_l_EState_nonBacktrackable___closed__3() { +lean_object* _init_l_EStateM_nonBacktrackable___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_EState_nonBacktrackable___closed__1; -x_2 = l_EState_nonBacktrackable___closed__2; +x_1 = l_EStateM_nonBacktrackable___closed__1; +x_2 = l_EStateM_nonBacktrackable___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* l_EState_nonBacktrackable(lean_object* x_1) { +lean_object* l_EStateM_nonBacktrackable(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l_EState_nonBacktrackable___closed__3; +x_2 = l_EStateM_nonBacktrackable___closed__3; return x_2; } } @@ -1523,46 +1523,46 @@ lean_dec_ref(res); res = initialize_Init_Control_Except(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l_EState_Result_toString___rarg___closed__1 = _init_l_EState_Result_toString___rarg___closed__1(); -lean_mark_persistent(l_EState_Result_toString___rarg___closed__1); -l_EState_Result_toString___rarg___closed__2 = _init_l_EState_Result_toString___rarg___closed__2(); -lean_mark_persistent(l_EState_Result_toString___rarg___closed__2); -l_EState_Monad___closed__1 = _init_l_EState_Monad___closed__1(); -lean_mark_persistent(l_EState_Monad___closed__1); -l_EState_Monad___closed__2 = _init_l_EState_Monad___closed__2(); -lean_mark_persistent(l_EState_Monad___closed__2); -l_EState_Monad___closed__3 = _init_l_EState_Monad___closed__3(); -lean_mark_persistent(l_EState_Monad___closed__3); -l_EState_Monad___closed__4 = _init_l_EState_Monad___closed__4(); -lean_mark_persistent(l_EState_Monad___closed__4); -l_EState_Monad___closed__5 = _init_l_EState_Monad___closed__5(); -lean_mark_persistent(l_EState_Monad___closed__5); -l_EState_Monad___closed__6 = _init_l_EState_Monad___closed__6(); -lean_mark_persistent(l_EState_Monad___closed__6); -l_EState_Monad___closed__7 = _init_l_EState_Monad___closed__7(); -lean_mark_persistent(l_EState_Monad___closed__7); -l_EState_Monad___closed__8 = _init_l_EState_Monad___closed__8(); -lean_mark_persistent(l_EState_Monad___closed__8); -l_EState_Monad___closed__9 = _init_l_EState_Monad___closed__9(); -lean_mark_persistent(l_EState_Monad___closed__9); -l_EState_Monad___closed__10 = _init_l_EState_Monad___closed__10(); -lean_mark_persistent(l_EState_Monad___closed__10); -l_EState_MonadState___closed__1 = _init_l_EState_MonadState___closed__1(); -lean_mark_persistent(l_EState_MonadState___closed__1); -l_EState_MonadState___closed__2 = _init_l_EState_MonadState___closed__2(); -lean_mark_persistent(l_EState_MonadState___closed__2); -l_EState_MonadState___closed__3 = _init_l_EState_MonadState___closed__3(); -lean_mark_persistent(l_EState_MonadState___closed__3); -l_EState_MonadState___closed__4 = _init_l_EState_MonadState___closed__4(); -lean_mark_persistent(l_EState_MonadState___closed__4); -l_EState_MonadExcept___rarg___closed__1 = _init_l_EState_MonadExcept___rarg___closed__1(); -lean_mark_persistent(l_EState_MonadExcept___rarg___closed__1); -l_EState_nonBacktrackable___closed__1 = _init_l_EState_nonBacktrackable___closed__1(); -lean_mark_persistent(l_EState_nonBacktrackable___closed__1); -l_EState_nonBacktrackable___closed__2 = _init_l_EState_nonBacktrackable___closed__2(); -lean_mark_persistent(l_EState_nonBacktrackable___closed__2); -l_EState_nonBacktrackable___closed__3 = _init_l_EState_nonBacktrackable___closed__3(); -lean_mark_persistent(l_EState_nonBacktrackable___closed__3); +l_EStateM_Result_toString___rarg___closed__1 = _init_l_EStateM_Result_toString___rarg___closed__1(); +lean_mark_persistent(l_EStateM_Result_toString___rarg___closed__1); +l_EStateM_Result_toString___rarg___closed__2 = _init_l_EStateM_Result_toString___rarg___closed__2(); +lean_mark_persistent(l_EStateM_Result_toString___rarg___closed__2); +l_EStateM_Monad___closed__1 = _init_l_EStateM_Monad___closed__1(); +lean_mark_persistent(l_EStateM_Monad___closed__1); +l_EStateM_Monad___closed__2 = _init_l_EStateM_Monad___closed__2(); +lean_mark_persistent(l_EStateM_Monad___closed__2); +l_EStateM_Monad___closed__3 = _init_l_EStateM_Monad___closed__3(); +lean_mark_persistent(l_EStateM_Monad___closed__3); +l_EStateM_Monad___closed__4 = _init_l_EStateM_Monad___closed__4(); +lean_mark_persistent(l_EStateM_Monad___closed__4); +l_EStateM_Monad___closed__5 = _init_l_EStateM_Monad___closed__5(); +lean_mark_persistent(l_EStateM_Monad___closed__5); +l_EStateM_Monad___closed__6 = _init_l_EStateM_Monad___closed__6(); +lean_mark_persistent(l_EStateM_Monad___closed__6); +l_EStateM_Monad___closed__7 = _init_l_EStateM_Monad___closed__7(); +lean_mark_persistent(l_EStateM_Monad___closed__7); +l_EStateM_Monad___closed__8 = _init_l_EStateM_Monad___closed__8(); +lean_mark_persistent(l_EStateM_Monad___closed__8); +l_EStateM_Monad___closed__9 = _init_l_EStateM_Monad___closed__9(); +lean_mark_persistent(l_EStateM_Monad___closed__9); +l_EStateM_Monad___closed__10 = _init_l_EStateM_Monad___closed__10(); +lean_mark_persistent(l_EStateM_Monad___closed__10); +l_EStateM_MonadState___closed__1 = _init_l_EStateM_MonadState___closed__1(); +lean_mark_persistent(l_EStateM_MonadState___closed__1); +l_EStateM_MonadState___closed__2 = _init_l_EStateM_MonadState___closed__2(); +lean_mark_persistent(l_EStateM_MonadState___closed__2); +l_EStateM_MonadState___closed__3 = _init_l_EStateM_MonadState___closed__3(); +lean_mark_persistent(l_EStateM_MonadState___closed__3); +l_EStateM_MonadState___closed__4 = _init_l_EStateM_MonadState___closed__4(); +lean_mark_persistent(l_EStateM_MonadState___closed__4); +l_EStateM_MonadExcept___rarg___closed__1 = _init_l_EStateM_MonadExcept___rarg___closed__1(); +lean_mark_persistent(l_EStateM_MonadExcept___rarg___closed__1); +l_EStateM_nonBacktrackable___closed__1 = _init_l_EStateM_nonBacktrackable___closed__1(); +lean_mark_persistent(l_EStateM_nonBacktrackable___closed__1); +l_EStateM_nonBacktrackable___closed__2 = _init_l_EStateM_nonBacktrackable___closed__2(); +lean_mark_persistent(l_EStateM_nonBacktrackable___closed__2); +l_EStateM_nonBacktrackable___closed__3 = _init_l_EStateM_nonBacktrackable___closed__3(); +lean_mark_persistent(l_EStateM_nonBacktrackable___closed__3); return lean_mk_io_result(lean_box(0)); } #ifdef __cplusplus diff --git a/src/stage0/Init/Core.c b/src/stage0/Init/Core.c index d37ef732ef..5c18b1bcd3 100644 --- a/src/stage0/Init/Core.c +++ b/src/stage0/Init/Core.c @@ -154,7 +154,6 @@ lean_object* l_List_HasSizeof___rarg(lean_object*); lean_object* l_ite_Decidable___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_decidableOfDecidableEq___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_beqOfEq___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_default___rarg(lean_object*); lean_object* l_Thunk_mk___boxed(lean_object*, lean_object*); lean_object* l_Subtype_HasSizeof___rarg(lean_object*, lean_object*); lean_object* l_Bool_sizeof___boxed(lean_object*); @@ -237,7 +236,6 @@ lean_object* l_Task_pure___boxed(lean_object*, lean_object*); lean_object* l_Function_const___rarg___boxed(lean_object*, lean_object*); lean_object* l_Subtype_HasSizeof(lean_object*); lean_object* l_Sum_DecidableEq(lean_object*, lean_object*); -lean_object* l_default___rarg___boxed(lean_object*); lean_object* l_dite___rarg(uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Quot_recOnSubsingleton___rarg(lean_object*, lean_object*); lean_object* l_dite_Decidable(lean_object*, lean_object*, lean_object*); @@ -293,7 +291,6 @@ lean_object* l_idRhs___rarg___boxed(lean_object*); lean_object* l_Quotient_recOnSubsingleton_u2082___at_Quotient_DecidableEq___spec__1(lean_object*, lean_object*); lean_object* l___private_Init_Core_20__funSetoid___boxed(lean_object*, lean_object*); lean_object* l_Subtype_sizeof___rarg___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_default(lean_object*); lean_object* l_Quotient_recOn___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Ne_Decidable___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_and___boxed(lean_object*, lean_object*); @@ -2624,30 +2621,6 @@ lean_dec(x_2); return x_4; } } -lean_object* l_default___rarg(lean_object* x_1) { -_start: -{ -lean_inc(x_1); -return x_1; -} -} -lean_object* l_default(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_default___rarg___boxed), 1, 0); -return x_2; -} -} -lean_object* l_default___rarg___boxed(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = l_default___rarg(x_1); -lean_dec(x_1); -return x_2; -} -} lean_object* l_arbitrary___rarg(lean_object* x_1) { _start: { diff --git a/src/stage0/Init/Lean/AbstractMetavarContext.c b/src/stage0/Init/Lean/AbstractMetavarContext.c deleted file mode 100644 index 96aa8f4263..0000000000 --- a/src/stage0/Init/Lean/AbstractMetavarContext.c +++ /dev/null @@ -1,40293 +0,0 @@ -// Lean compiler output -// Module: Init.Lean.AbstractMetavarContext -// Imports: Init.Control.Reader Init.Control.Conditional Init.Data.Option.Default Init.Data.List.Default Init.Data.Nat.Default Init.Lean.LocalContext Init.Lean.MonadCache Init.Lean.NameGenerator -#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___private_Init_Data_Array_Basic_3__iterateRevMAux___main___at_Lean_AbstractMetavarContext_MkBinding_reduceLocalContext___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_MkBinding_reduceLocalContext___boxed(lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_MkBinding_mkBinding___at_Lean_AbstractMetavarContext_mkBinding___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__30___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_InstantiateExprMVars_modifyCtx___rarg(lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_MkBinding_mkBinding(lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_isLevelAssigned___rarg___boxed(lean_object*, lean_object*, lean_object*); -uint8_t lean_expr_has_fvar(lean_object*); -lean_object* l_Lean_AbstractMetavarContext_MkBinding_visit(lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_MkBinding_mkBinding___at_Lean_AbstractMetavarContext_MkBinding_mkForallAux___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_PersistentArray_anyM___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__4___boxed(lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_InstantiateExprMVars_getMCtx(lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_MkBinding_mkBinding___at_Lean_AbstractMetavarContext_MkBinding_mkForallAux___spec__1___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_DependsOn_visit(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*); -lean_object* l_Lean_AbstractMetavarContext_hasAssignedLevelMVar___main___rarg___boxed(lean_object*, lean_object*, lean_object*); -uint8_t lean_name_dec_eq(lean_object*, lean_object*); -uint8_t l_PersistentArray_anyM___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__34(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Expr_4__withAppRevAux___main___at_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___spec__5___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_LocalContext_foldlFromM___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__57(lean_object*); -lean_object* l_PersistentArray_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__53___boxed(lean_object*, lean_object*); -lean_object* l_Lean_Expr_betaRev(lean_object*, lean_object*); -lean_object* l_Array_iterateMAux___main___at_Lean_AbstractMetavarContext_MkBinding_mkMVarApp___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_localDeclDependsOn___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Expr_4__withAppRevAux___main___at_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___spec__5(lean_object*); -lean_object* l_Lean_AbstractMetavarContext_InstantiateExprMVars_getMCtx___boxed(lean_object*, lean_object*); -lean_object* lean_expr_mk_forall(lean_object*, uint8_t, lean_object*, lean_object*); -lean_object* l_mkHashMap___at_Lean_AbstractMetavarContext_exprDependsOn___spec__2(lean_object*); -uint8_t l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__56(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_MetavarDecl_Inhabited___closed__1; -lean_object* l_Lean_AbstractMetavarContext_InstantiateExprMVars_modifyCtx(lean_object*, lean_object*); -lean_object* l_PersistentArray_foldlFromM___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__58___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_PersistentArray_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__11___boxed(lean_object*, lean_object*); -extern lean_object* l_Lean_LocalDecl_Inhabited; -lean_object* l_Lean_AbstractMetavarContext_mkForall___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_iterateMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__63(lean_object*); -extern lean_object* l_Array_empty___closed__1; -lean_object* lean_nat_sub(lean_object*, lean_object*); -lean_object* l_PersistentArray_foldlMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__60___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_panicWithPos___at_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_panicWithPos___at_Lean_AbstractMetavarContext_mkBinding___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__14(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_MkBinding_withFreshCache___rarg(lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_MkBinding_mkForall___boxed(lean_object*, lean_object*); -uint8_t l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__18(lean_object*, lean_object*, lean_object*); -lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); -lean_object* l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__1___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__21___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___lambda__1___boxed(lean_object*, lean_object*); -lean_object* l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(lean_object*, lean_object*, lean_object*); -lean_object* l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__13___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter(lean_object*); -lean_object* l_PersistentArray_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__41___boxed(lean_object*, lean_object*); -lean_object* lean_mk_array(lean_object*, lean_object*); -lean_object* l_Array_iterateMAux___main___at_Lean_AbstractMetavarContext_MkBinding_getInScope___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_exprIsInhabited; -extern lean_object* l_List_repr___rarg___closed__3; -lean_object* l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1___boxed(lean_object*, lean_object*); -size_t lean_expr_hash(lean_object*); -lean_object* l_Lean_AbstractMetavarContext_MkBinding_getLocalDeclWithSmallestIdx(lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_exprDependsOn(lean_object*); -lean_object* l_Lean_AbstractMetavarContext_MkBinding_collectDeps(lean_object*); -lean_object* l_Lean_AbstractMetavarContext_MkBinding_mkForallAux___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_monadInhabited___rarg(lean_object*, lean_object*); -size_t l_USize_shift__right(size_t, size_t); -uint8_t lean_level_has_mvar(lean_object*); -uint8_t l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__6(lean_object*, lean_object*, lean_object*); -lean_object* l_HashMapImp_expand___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__4(lean_object*, lean_object*); -uint8_t l_AssocList_contains___main___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__2(lean_object*, lean_object*); -lean_object* lean_expr_mk_let(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_MkBindingException_toStr___closed__1; -uint8_t l_PersistentArray_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__17(lean_object*, lean_object*); -lean_object* l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__38___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Nat_foldRevMAux___main___at_Lean_AbstractMetavarContext_MkBinding_mkBinding___spec__2___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_hasAssignedMVar___main(lean_object*); -lean_object* l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__27___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_panicWithPos___at_Lean_AbstractMetavarContext_MkBinding_mkBinding___spec__1(lean_object*); -lean_object* l_Nat_foldRevMAux___main___at_Lean_AbstractMetavarContext_mkBinding___spec__3___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); -uint8_t l_PersistentArray_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__53(lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_MkBinding_mkBinding___at_Lean_AbstractMetavarContext_MkBinding_mkForallAux___spec__1___boxed(lean_object*, lean_object*); -lean_object* l_Array_iterateMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__62___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_MkBinding_visit___boxed(lean_object*, lean_object*); -lean_object* l_StateT_Monad___rarg(lean_object*); -lean_object* l_Lean_AbstractMetavarContext_instantiateLevelMVars___main(lean_object*); -uint8_t l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__1(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_mkBinding(lean_object*); -lean_object* l_Lean_AbstractMetavarContext_MkBinding_abstractRange___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_mkHashMap___at_Lean_AbstractMetavarContext_instantiateMVars___spec__1(lean_object*); -extern lean_object* l_Lean_LocalContext_Inhabited___closed__1; -lean_object* l_Array_iterateMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__64___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__3___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_MkBinding_mkForall(lean_object*, lean_object*); -lean_object* l_Array_umapMAux___main___at_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___spec__4(lean_object*); -lean_object* l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main(lean_object*); -lean_object* l_Lean_AbstractMetavarContext_MkBinding_mkForall___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_iterateMAux___main___at_Lean_AbstractMetavarContext_MkBinding_getLocalDeclWithSmallestIdx___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_mkForall(lean_object*); -lean_object* l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__27___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_panicWithPos___at_Lean_AbstractMetavarContext_InstantiateExprMVars_instantiateDelayedAux___main___spec__1___rarg___closed__2; -lean_object* l_Lean_AbstractMetavarContext_MkBindingException_toStr(lean_object*); -lean_object* l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__45(lean_object*); -lean_object* l_Lean_AbstractMetavarContext_MkBindingException_toStr___closed__4; -lean_object* l_Lean_AbstractMetavarContext_hasAssignedMVar(lean_object*); -lean_object* l_Lean_AbstractMetavarContext_MkBinding_mkBinding___boxed(lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_InstantiateExprMVars_instantiateLevelMVars(lean_object*); -lean_object* lean_expr_mk_app(lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__9___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_panicWithPos___at_Lean_AbstractMetavarContext_MkBindingException_toStr___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_List_toStringAux___main___at_Lean_AbstractMetavarContext_MkBindingException_toStr___spec__4(uint8_t, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_exprDependsOn___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__19(lean_object*, lean_object*, lean_object*); -size_t l_USize_sub(size_t, size_t); -lean_object* l_panicWithPos___at_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_MkBinding_mkFreshId___rarg(lean_object*); -lean_object* l_panicWithPos___at_Lean_AbstractMetavarContext_MkBinding_mkForallAux___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__33(lean_object*); -lean_object* l_Lean_AbstractMetavarContext_MkBinding_withFreshCache___boxed(lean_object*, lean_object*, lean_object*); -uint8_t l_AssocList_contains___main___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__4(lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_hasAssignedLevelMVar(lean_object*); -lean_object* l_Lean_AbstractMetavarContext_DependsOn_main(lean_object*); -lean_object* l_Array_iterateMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__61___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* lean_array_uget(lean_object*, size_t); -lean_object* l_Lean_Name_toStringWithSep___main(lean_object*, lean_object*); -uint8_t l_PersistentArray_anyM___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__28(lean_object*, lean_object*); -lean_object* l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__43___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_exprDependsOn___rarg___closed__1; -lean_object* l_List_toString___at_Lean_AbstractMetavarContext_MkBindingException_toStr___spec__3(lean_object*); -lean_object* l_PersistentArray_anyMAux___main___at_Lean_AbstractMetavarContext_DependsOn_dep___main___spec__2___boxed(lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_hasAssignedLevelMVar___rarg___boxed(lean_object*, lean_object*, lean_object*); -lean_object* lean_array_uset(lean_object*, size_t, lean_object*); -uint8_t l_Lean_LocalContext_contains(lean_object*, lean_object*); -uint8_t l_PersistentArray_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__35(lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__15___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_iterateMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__66___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_AssocList_contains___main___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__4___boxed(lean_object*, lean_object*); -lean_object* l_PersistentArray_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__47___boxed(lean_object*, lean_object*); -uint8_t l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__42(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_mkLambda___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__50___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_InstantiateExprMVars_instantiateDelayed___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__42___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_PersistentArray_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__35___boxed(lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__21___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__43(lean_object*, lean_object*, lean_object*); -uint8_t l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__50(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_MkBindingException_HasToString; -lean_object* l_Lean_Expr_getAppNumArgsAux___main(lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_DependsOn_dep___main___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(lean_object*, lean_object*, lean_object*); -extern lean_object* l_Nat_foldRevAux___main___at_Lean_LocalContext_mkBinding___spec__1___closed__1; -lean_object* l_Lean_AbstractMetavarContext_InstantiateExprMVars_instantiateDelayedAux___main___at_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_InstantiateExprMVars_instantiateLevelMVars___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_panicWithPos___at_Lean_AbstractMetavarContext_InstantiateExprMVars_instantiateDelayedAux___main___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_HashMapImp_moveEntries___main___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__6(lean_object*, lean_object*, lean_object*); -lean_object* l_Nat_foldRevMAux___main___at_Lean_AbstractMetavarContext_MkBinding_mkForallAux___spec__3___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_MkBinding_reduceLocalContext(lean_object*, lean_object*); -lean_object* l_PersistentArray_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__17___boxed(lean_object*, lean_object*); -uint8_t l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__24(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_mkAppRev(lean_object*, lean_object*); -uint8_t l_List_foldr___main___at_Lean_AbstractMetavarContext_hasAssignedMVar___main___spec__1___rarg(lean_object*, lean_object*, uint8_t, lean_object*); -lean_object* lean_mk_empty_array_with_capacity(lean_object*); -lean_object* l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1___boxed(lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_MkBinding_mkBinding___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_iterateMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__63___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__54(lean_object*, lean_object*, lean_object*); -extern lean_object* l_Id_Monad; -lean_object* l_PersistentArray_anyM___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__34___boxed(lean_object*, lean_object*); -lean_object* l_PersistentArray_foldlFromM___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__58___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__20___boxed(lean_object*, lean_object*, lean_object*); -lean_object* lean_expr_update_forall(lean_object*, uint8_t, lean_object*, lean_object*); -lean_object* l_panicWithPos___at_Lean_AbstractMetavarContext_InstantiateExprMVars_instantiateDelayedAux___main___spec__1(lean_object*); -lean_object* l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__49___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__3(lean_object*); -uint8_t l_PersistentArray_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__11(lean_object*, lean_object*); -lean_object* l_PersistentArray_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__29___boxed(lean_object*, lean_object*); -lean_object* lean_level_update_succ(lean_object*, lean_object*); -lean_object* l_AssocList_foldlM___main___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__6(lean_object*, lean_object*); -lean_object* l_Nat_foldRevMAux___main___at_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___spec__3(lean_object*); -lean_object* l_Nat_foldRevMAux___main___at_Lean_AbstractMetavarContext_MkBinding_mkForallAux___spec__3___rarg___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_isLevelAssigned(lean_object*); -uint8_t l_Lean_AbstractMetavarContext_isExprAssigned___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Array_toList___rarg(lean_object*); -lean_object* l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_PersistentArray_anyM___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__40___boxed(lean_object*, lean_object*); -uint8_t l_PersistentArray_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__47(lean_object*, lean_object*); -lean_object* l_Nat_repr(lean_object*); -uint8_t l_PersistentArray_anyM___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__10(lean_object*, lean_object*); -lean_object* l_panicWithPos___at_Lean_AbstractMetavarContext_MkBinding_mkForallAux___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_List_repr___rarg___closed__2; -lean_object* l_PersistentArray_foldlMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__60(lean_object*); -lean_object* l_Lean_AbstractMetavarContext_MkBinding_mkLambda___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_iterateMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__64(lean_object*); -lean_object* l_Lean_AbstractMetavarContext_MkBinding_elimMVarDeps___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__30(lean_object*, lean_object*, lean_object*); -lean_object* l_Nat_foldRevMAux___main___at_Lean_AbstractMetavarContext_mkBinding___spec__3___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__12___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Array_iterateMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__64___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Expr_updateForall_x21___closed__1; -uint8_t l_Lean_BinderInfo_isAuxDecl(uint8_t); -extern lean_object* l_panicWithPos___rarg___closed__3; -lean_object* l_Array_iterateMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__62(lean_object*); -lean_object* l_Lean_AbstractMetavarContext_MkBinding_mkBinding___at_Lean_AbstractMetavarContext_MkBinding_mkForallAux___spec__1(lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_MkBinding_elimMVarDeps(lean_object*); -lean_object* l_panicWithPos___at_Lean_AbstractMetavarContext_mkBinding___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___lambda__2(lean_object*, lean_object*); -lean_object* l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__54___boxed(lean_object*, lean_object*, lean_object*); -uint8_t l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__26(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_MkBindingException_toStr___closed__2; -uint8_t lean_expr_eqv(lean_object*, lean_object*); -extern lean_object* l_Lean_Expr_getRevArg_x21___main___closed__1; -uint8_t l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__48(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_MkBinding_mkLambda___boxed(lean_object*, lean_object*); -uint8_t l_PersistentArray_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__29(lean_object*, lean_object*); -lean_object* l_Array_iterateMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__61(lean_object*); -lean_object* l_Lean_AbstractMetavarContext_MkBinding_mkForallAux(lean_object*); -lean_object* l_List_foldr___main___at_Lean_AbstractMetavarContext_hasAssignedMVar___main___spec__1(lean_object*); -lean_object* l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__6___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_LocalDecl_userName(lean_object*); -extern lean_object* l_Lean_Expr_updateProj_x21___closed__1; -lean_object* l_Nat_foldRevMAux___main___at_Lean_AbstractMetavarContext_MkBinding_mkBinding___spec__2(lean_object*); -lean_object* l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_PersistentArray_anyM___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__52___boxed(lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_hasAssignedLevelMVar___main(lean_object*); -uint8_t l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_DependsOn_dep___main___spec__3(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_LocalContext_findFVar(lean_object*, lean_object*); -uint8_t l_Lean_LocalDecl_isLet(lean_object*); -lean_object* lean_string_append(lean_object*, lean_object*); -extern lean_object* l_Lean_Level_mvarId_x21___closed__1; -lean_object* l_panicWithPos___at_Lean_AbstractMetavarContext_MkBinding_mkBinding___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__51(lean_object*); -extern lean_object* l_List_reprAux___main___rarg___closed__1; -lean_object* l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__48___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_AssocList_replace___main___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__7(lean_object*, lean_object*, lean_object*); -uint8_t l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__20(lean_object*, lean_object*, lean_object*); -uint8_t l_Lean_AbstractMetavarContext_hasAssignedMVar___main___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_AssocList_contains___main___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__2___boxed(lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___lambda__1(lean_object*, lean_object*); -lean_object* l_panicWithPos___at_Lean_AbstractMetavarContext_MkBinding_mkForallAux___spec__2(lean_object*); -lean_object* l_Lean_AbstractMetavarContext_hasAssignableLevelMVar(lean_object*); -lean_object* l_panicWithPos___at_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___spec__2(lean_object*); -lean_object* l_Lean_AbstractMetavarContext_InstantiateExprMVars_instantiateDelayedAux(lean_object*); -uint8_t l_Lean_AbstractMetavarContext_hasAssignedMVar___rarg(lean_object*, lean_object*, lean_object*); -uint8_t lean_nat_dec_lt(lean_object*, lean_object*); -lean_object* lean_expr_update_const(lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_instantiateLevelMVars(lean_object*); -lean_object* l_Nat_foldRevMAux___main___at_Lean_AbstractMetavarContext_MkBinding_mkBinding___spec__2___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_MkBinding_mkBinding___at_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___spec__1(lean_object*); -lean_object* l_Lean_AbstractMetavarContext_MkBinding_mkLambda(lean_object*, lean_object*); -extern lean_object* l_Char_HasRepr___closed__1; -lean_object* l_Nat_foldRevMAux___main___at_Lean_AbstractMetavarContext_MkBinding_mkForallAux___spec__3(lean_object*); -lean_object* l_Lean_AbstractMetavarContext_MkBindingException_toStr___closed__5; -lean_object* l_Nat_foldRevMAux___main___at_Lean_AbstractMetavarContext_MkBinding_mkForallAux___spec__3___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__32___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_hasAssignableLevelMVar___rarg___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Array_iterateMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__65(lean_object*); -lean_object* l_PersistentArray_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__23___boxed(lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___closed__4; -lean_object* l_Nat_foldRevMAux___main___at_Lean_AbstractMetavarContext_MkBinding_mkForallAux___spec__3___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_DependsOn_main___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_MkBinding_elimMVarDeps___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l_Lean_LocalDecl_binderInfo(lean_object*); -uint8_t l_Lean_AbstractMetavarContext_isLevelAssigned___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_MkBinding_mkForallAux___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_hasAssignedMVar___rarg___boxed(lean_object*, lean_object*, lean_object*); -lean_object* lean_nat_add(lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__39___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_DependsOn_dep___main___spec__5(lean_object*, lean_object*, lean_object*); -lean_object* l_List_foldr___main___at_Lean_AbstractMetavarContext_hasAssignedMVar___main___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__7(lean_object*, lean_object*, lean_object*); -uint8_t l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__38(lean_object*, lean_object*, lean_object*); -uint8_t l_PersistentArray_anyM___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__52(lean_object*, lean_object*); -uint8_t lean_nat_dec_eq(lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_MkBinding_mkBinding___at_Lean_AbstractMetavarContext_mkBinding___spec__1___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l_PersistentArray_anyMAux___main___at_Lean_AbstractMetavarContext_DependsOn_dep___main___spec__2(lean_object*, lean_object*); -lean_object* l_Nat_foldRevMAux___main___at_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___spec__3___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_mkHashSet___at_Lean_AbstractMetavarContext_exprDependsOn___spec__1(lean_object*); -lean_object* l_Nat_foldRevMAux___main___at_Lean_AbstractMetavarContext_mkBinding___spec__3(lean_object*); -uint8_t l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__8(lean_object*, lean_object*, lean_object*); -lean_object* lean_array_push(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Expr_4__withAppRevAux___main___at_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___spec__5___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__2___boxed(lean_object*, lean_object*, lean_object*); -uint8_t l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__31(lean_object*, lean_object*, lean_object*); -uint8_t l_PersistentArray_anyM___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__40(lean_object*, lean_object*); -lean_object* l_panicWithPos___at_Lean_AbstractMetavarContext_mkBinding___spec__2(lean_object*); -lean_object* l_PersistentArray_anyM___at_Lean_AbstractMetavarContext_DependsOn_dep___main___spec__1___boxed(lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_instantiateMVars(lean_object*); -lean_object* lean_expr_update_proj(lean_object*, lean_object*); -extern lean_object* l_panicWithPos___rarg___closed__1; -uint8_t l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__25(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_MetavarDecl_Inhabited; -lean_object* l_HashMapImp_moveEntries___main___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__5(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_MkBinding_getInScope(lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_MkBinding_visit___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__39(lean_object*); -lean_object* l_Lean_AbstractMetavarContext_MkBinding_withFreshCache(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_isExprAssigned(lean_object*); -lean_object* l_Lean_AbstractMetavarContext_hasAssignableLevelMVar___main___rarg___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__37___boxed(lean_object*, lean_object*, lean_object*); -uint8_t l_Lean_AbstractMetavarContext_hasAssignableLevelMVar___main___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_MkBinding_mkMVarApp(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_instantiateMVars___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Array_umapMAux___main___at_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_PersistentArray_foldlFromMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__59___rarg(lean_object*, lean_object*, size_t, size_t, lean_object*); -lean_object* l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__56___boxed(lean_object*, lean_object*, lean_object*); -lean_object* lean_expr_update_mdata(lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_MkBinding_getLocalDeclWithSmallestIdx___boxed(lean_object*, lean_object*); -uint8_t l_Lean_AbstractMetavarContext_hasAssignableLevelMVar___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_InstantiateExprMVars_instantiateDelayedAux___main___rarg___closed__1; -uint8_t l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__55(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___boxed(lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main(lean_object*); -lean_object* l_Lean_AbstractMetavarContext_InstantiateExprMVars_getMCtx___rarg(lean_object*); -lean_object* l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__26___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Array_iterateMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__62___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_PersistentArray_getAux___main___rarg___closed__1; -lean_object* l_Nat_foldRevMAux___main___at_Lean_AbstractMetavarContext_MkBinding_mkBinding___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Nat_foldRevMAux___main___at_Lean_AbstractMetavarContext_mkBinding___spec__3___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_mkLambda(lean_object*); -lean_object* l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_DependsOn_dep___main___spec__4___boxed(lean_object*, lean_object*, lean_object*); -uint8_t l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__2(lean_object*, lean_object*, lean_object*); -lean_object* l_Array_umapMAux___main___at_Lean_AbstractMetavarContext_MkBindingException_toStr___spec__2(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Expr_fvarId_x21(lean_object*); -lean_object* l_Lean_AbstractMetavarContext_InstantiateExprMVars_instantiateDelayedAux___main___at_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__36___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_MkBinding_abstractRange(lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_InstantiateExprMVars_main(lean_object*); -lean_object* l_Lean_AbstractMetavarContext_MkBinding_getMCtx___boxed(lean_object*, lean_object*); -extern lean_object* l_EState_MonadState___closed__2; -lean_object* l_Lean_AbstractMetavarContext_MkBindingException_toStr___closed__3; -lean_object* l_Lean_AbstractMetavarContext_MkBinding_getMCtx(lean_object*, lean_object*); -lean_object* lean_expr_mk_mvar(lean_object*); -lean_object* l_PersistentArray_foldlFromM___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__58(lean_object*); -lean_object* l_PersistentArray_foldlMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__60___rarg___boxed(lean_object*, lean_object*, lean_object*); -uint8_t l_Lean_Expr_isMVar(lean_object*); -lean_object* lean_expr_update_lambda(lean_object*, uint8_t, lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_instantiateLevelMVars___rarg(lean_object*, lean_object*, lean_object*); -extern lean_object* l_Array_HasRepr___rarg___closed__1; -lean_object* l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__9___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_EState_bind___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__44___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_MkBinding_abstractRange___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_MkBinding_mkFreshId___boxed(lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_DependsOn_dep___main(lean_object*); -extern lean_object* l_Lean_Expr_letName_x21___closed__1; -lean_object* l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_DependsOn_dep___main___spec__5___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__45___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___closed__1; -lean_object* l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__45___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* lean_expr_abstract_range(lean_object*, lean_object*, lean_object*); -lean_object* l_Array_iterateMAux___main___at_Lean_AbstractMetavarContext_MkBinding_getLocalDeclWithSmallestIdx___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_System_FilePath_dirName___closed__1; -lean_object* l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__15(lean_object*); -lean_object* l_panic(lean_object*, lean_object*, lean_object*); -lean_object* l_panicWithPos___at_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Nat_foldRevMAux___main___at_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___spec__3___rarg___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_MkBindingException_HasToString___closed__1; -uint8_t l_Lean_AbstractMetavarContext_hasAssignedLevelMVar___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_PersistentArray_anyM___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__46___boxed(lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_instantiateLevelMVars___main___rarg(lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Level_updateIMax_x21___closed__1; -lean_object* l_Lean_AbstractMetavarContext_localDeclDependsOn(lean_object*); -lean_object* l_Lean_LocalContext_foldlFromM___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__57___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Expr_updateLambda_x21___closed__1; -uint8_t l_Lean_AbstractMetavarContext_hasAssignedLevelMVar___main___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_InstantiateExprMVars_instantiateDelayedAux___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Expr_4__withAppRevAux___main___at_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___spec__5(lean_object*); -size_t lean_usize_modn(size_t, lean_object*); -lean_object* lean_name_mk_numeral(lean_object*, lean_object*); -lean_object* l_Array_iterateMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__63___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l_PersistentArray_anyM___at_Lean_AbstractMetavarContext_DependsOn_dep___main___spec__1(lean_object*, lean_object*); -uint8_t l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__12(lean_object*, lean_object*, lean_object*); -lean_object* l_List_toStringAux___main___at_Lean_AbstractMetavarContext_MkBindingException_toStr___spec__4___boxed(lean_object*, lean_object*); -lean_object* l_PersistentArray_anyM___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__28___boxed(lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_PersistentArray_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__5___boxed(lean_object*, lean_object*); -extern lean_object* l_HashMap_Inhabited___closed__1; -lean_object* l_AssocList_foldlM___main___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__7(lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_MkBinding_abstractRange___boxed(lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__27(lean_object*); -lean_object* l_Array_umapMAux___main___at_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___spec__4___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_panicWithPos___at_Lean_AbstractMetavarContext_MkBinding_mkBinding___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l_Lean_Expr_isApp(lean_object*); -lean_object* l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__31___boxed(lean_object*, lean_object*, lean_object*); -extern lean_object* l_Option_get_x21___rarg___closed__2; -lean_object* l_Lean_AbstractMetavarContext_hasAssignedMVar___main___rarg___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Nat_foldRevMAux___main___at_Lean_AbstractMetavarContext_MkBinding_mkBinding___spec__2___rarg(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* lean_array_get_size(lean_object*); -lean_object* l_Lean_AbstractMetavarContext_hasAssignableLevelMVar___main(lean_object*); -extern lean_object* l_EIO_Monad___closed__1; -lean_object* l_Lean_AbstractMetavarContext_MkBindingException_toStr___closed__7; -lean_object* l_Lean_AbstractMetavarContext_MkBinding_mkBinding___at_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_MkBinding_mkFreshId(lean_object*, lean_object*); -lean_object* lean_array_fget(lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_InstantiateExprMVars_instantiateDelayed(lean_object*); -lean_object* l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__8___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_MkBindingException_toStr___closed__6; -lean_object* l_mkHashMapImp___rarg(lean_object*); -uint8_t l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__32(lean_object*, lean_object*, lean_object*); -lean_object* l_Array_iterateMAux___main___at_Lean_AbstractMetavarContext_MkBinding_mkMVarApp___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__44(lean_object*, lean_object*, lean_object*); -lean_object* l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__18___boxed(lean_object*, lean_object*, lean_object*); -uint8_t l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__37(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_mkBinding___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_MkBinding_collectDeps___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* lean_local_ctx_erase(lean_object*, lean_object*); -uint8_t l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__49(lean_object*, lean_object*, lean_object*); -lean_object* l_List_mapM___main___at_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___spec__3___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_PersistentArray_foldlFromMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__59(lean_object*); -lean_object* l_Array_umapMAux___main___at_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___spec__4(lean_object*); -lean_object* l_Lean_LocalContext_foldlFromM___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__57___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_MkBinding_mkBinding___at_Lean_AbstractMetavarContext_mkBinding___spec__1(lean_object*); -lean_object* l_PersistentArray_anyM___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__16___boxed(lean_object*, lean_object*); -uint8_t l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__13(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___closed__3; -lean_object* l_Lean_AbstractMetavarContext_DependsOn_dep___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t lean_nat_dec_le(lean_object*, lean_object*); -lean_object* l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_DependsOn_dep___main___spec__3___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__21(lean_object*); -lean_object* l_Lean_AbstractMetavarContext_MkBinding_mkBinding___rarg(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -size_t lean_usize_of_nat(lean_object*); -lean_object* l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__51___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_MkBinding_mkBinding___at_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___spec__1___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_iterateMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__61___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*); -lean_object* l_Lean_LocalDecl_index(lean_object*); -lean_object* l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(lean_object*, lean_object*); -lean_object* l_Array_iterateMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__66___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_AssocList_replace___main___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__8(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_DependsOn_dep(lean_object*); -extern lean_object* l_panicWithPos___rarg___closed__2; -lean_object* l_PersistentArray_anyM___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__22___boxed(lean_object*, lean_object*); -lean_object* l_Array_iterateMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__66(lean_object*); -lean_object* l_panicWithPos___at_Lean_AbstractMetavarContext_InstantiateExprMVars_instantiateDelayedAux___main___spec__1___rarg___closed__1; -lean_object* l_Array_iterateMAux___main___at_Lean_AbstractMetavarContext_MkBinding_getLocalDeclWithSmallestIdx___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l_PersistentArray_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__41(lean_object*, lean_object*); -uint8_t l_PersistentArray_anyM___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__16(lean_object*, lean_object*); -size_t l_USize_shift__left(size_t, size_t); -uint8_t l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(lean_object*, lean_object*); -lean_object* lean_level_update_max(lean_object*, lean_object*, lean_object*); -uint8_t lean_expr_has_expr_mvar(lean_object*); -lean_object* l_Lean_AbstractMetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___closed__2; -lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Expr_updateMData_x21___closed__1; -lean_object* l_Lean_AbstractMetavarContext_MkBinding_getMCtx___rarg(lean_object*); -lean_object* l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_instantiateMVars___rarg___closed__1; -extern lean_object* l_Option_get_x21___rarg___closed__1; -uint8_t l_PersistentArray_anyM___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__4(lean_object*, lean_object*); -lean_object* l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__55___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_MkBinding_getInScope___boxed(lean_object*, lean_object*); -lean_object* lean_expr_abstract(lean_object*, lean_object*); -lean_object* l_Array_iterateMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__65___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_InstantiateExprMVars_instantiateDelayedAux___main___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l_PersistentArray_anyM___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__22(lean_object*, lean_object*); -lean_object* l_HashMapImp_expand___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__5(lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_mkBinding___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Nat_foldRevMAux___main___at_Lean_AbstractMetavarContext_mkBinding___spec__3___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Nat_foldRevMAux___main___at_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___spec__3___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_InstantiateExprMVars_instantiateDelayedAux___main___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__36(lean_object*, lean_object*, lean_object*); -lean_object* lean_expr_update_sort(lean_object*, lean_object*); -uint8_t l_PersistentArray_anyM___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__46(lean_object*, lean_object*); -lean_object* l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__19___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_panicWithPos___at_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___spec__2(lean_object*); -size_t l_USize_land(size_t, size_t); -lean_object* l_Array_iterateMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__65___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_MkBinding_mkMVarApp___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Array_iterateMAux___main___at_Lean_AbstractMetavarContext_MkBinding_getLocalDeclWithSmallestIdx___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_InstantiateExprMVars_instantiateDelayedAux___main(lean_object*); -lean_object* l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__9(lean_object*); -lean_object* l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__51___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_panicWithPos___at_Lean_AbstractMetavarContext_MkBindingException_toStr___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* lean_usize_to_nat(size_t); -lean_object* l_Lean_AbstractMetavarContext_InstantiateExprMVars_modifyCtx___boxed(lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_InstantiateExprMVars_instantiateDelayedAux___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_InstantiateExprMVars_visit(lean_object*, lean_object*); -lean_object* l_panicWithPos___at_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* lean_nat_mul(lean_object*, lean_object*); -lean_object* l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__7___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Array_iterateMAux___main___at_Lean_AbstractMetavarContext_MkBinding_getInScope___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux(lean_object*); -lean_object* l_Array_umapMAux___main___at_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_PersistentArray_foldlFromMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__59___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_AssocList_find___main___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__2(lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_isExprAssigned___rarg___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__33___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__14___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__24___boxed(lean_object*, lean_object*, lean_object*); -uint8_t l_PersistentArray_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__5(lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__39___rarg(lean_object*, lean_object*, 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_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__15___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_List_repr___rarg___closed__1; -lean_object* l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__25___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Data_Array_Basic_3__iterateRevMAux___main___at_Lean_AbstractMetavarContext_MkBinding_reduceLocalContext___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_List_mapM___main___at_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___spec__3(lean_object*); -lean_object* l_PersistentArray_anyM___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__10___boxed(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Expr_4__withAppRevAux___main___at_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___spec__5___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Nat_foldRevMAux___main___at_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___spec__3___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_LocalContext_foldlFromM___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__57___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_InstantiateExprMVars_instantiateDelayedAux___main___at_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___spec__1(lean_object*); -lean_object* l_AssocList_find___main___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__2___boxed(lean_object*, lean_object*); -uint8_t l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_DependsOn_dep___main___spec__4(lean_object*, lean_object*, lean_object*); -lean_object* l_panicWithPos___at_Lean_AbstractMetavarContext_MkBinding_mkBinding___spec__1___rarg___closed__1; -lean_object* l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__33___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* lean_expr_update_let(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_panicWithPos___at_Lean_AbstractMetavarContext_InstantiateExprMVars_instantiateDelayedAux___main___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t lean_expr_has_level_mvar(lean_object*); -uint8_t l_Lean_Expr_isLambda(lean_object*); -extern lean_object* l_String_splitAux___main___closed__1; -uint8_t l_PersistentArray_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__23(lean_object*, lean_object*); -lean_object* l_Lean_LocalDecl_name(lean_object*); -lean_object* l_panicWithPos___at_Lean_Expr_getRevArg_x21___main___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* _init_l_Lean_MetavarDecl_Inhabited___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; -x_1 = lean_box(0); -x_2 = l_Lean_LocalContext_Inhabited___closed__1; -x_3 = l_Lean_exprIsInhabited___closed__1; -x_4 = 0; -x_5 = lean_alloc_ctor(0, 3, 1); -lean_ctor_set(x_5, 0, x_1); -lean_ctor_set(x_5, 1, x_2); -lean_ctor_set(x_5, 2, x_3); -lean_ctor_set_uint8(x_5, sizeof(void*)*3, x_4); -return x_5; -} -} -lean_object* _init_l_Lean_MetavarDecl_Inhabited() { -_start: -{ -lean_object* x_1; -x_1 = l_Lean_MetavarDecl_Inhabited___closed__1; -return x_1; -} -} -uint8_t l_Lean_AbstractMetavarContext_isLevelAssigned___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_1, 2); -lean_inc(x_4); -lean_dec(x_1); -x_5 = lean_apply_2(x_4, x_2, x_3); -if (lean_obj_tag(x_5) == 0) -{ -uint8_t x_6; -x_6 = 0; -return x_6; -} -else -{ -uint8_t x_7; -lean_dec(x_5); -x_7 = 1; -return x_7; -} -} -} -lean_object* l_Lean_AbstractMetavarContext_isLevelAssigned(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_AbstractMetavarContext_isLevelAssigned___rarg___boxed), 3, 0); -return x_2; -} -} -lean_object* l_Lean_AbstractMetavarContext_isLevelAssigned___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -uint8_t x_4; lean_object* x_5; -x_4 = l_Lean_AbstractMetavarContext_isLevelAssigned___rarg(x_1, x_2, x_3); -x_5 = lean_box(x_4); -return x_5; -} -} -uint8_t l_Lean_AbstractMetavarContext_isExprAssigned___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_1, 5); -lean_inc(x_4); -lean_dec(x_1); -x_5 = lean_apply_2(x_4, x_2, x_3); -if (lean_obj_tag(x_5) == 0) -{ -uint8_t x_6; -x_6 = 0; -return x_6; -} -else -{ -uint8_t x_7; -lean_dec(x_5); -x_7 = 1; -return x_7; -} -} -} -lean_object* l_Lean_AbstractMetavarContext_isExprAssigned(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_AbstractMetavarContext_isExprAssigned___rarg___boxed), 3, 0); -return x_2; -} -} -lean_object* l_Lean_AbstractMetavarContext_isExprAssigned___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -uint8_t x_4; lean_object* x_5; -x_4 = l_Lean_AbstractMetavarContext_isExprAssigned___rarg(x_1, x_2, x_3); -x_5 = lean_box(x_4); -return x_5; -} -} -uint8_t l_Lean_AbstractMetavarContext_hasAssignableLevelMVar___main___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -switch (lean_obj_tag(x_3)) { -case 1: -{ -lean_object* x_4; uint8_t x_5; -x_4 = lean_ctor_get(x_3, 0); -lean_inc(x_4); -lean_dec(x_3); -lean_inc(x_4); -x_5 = lean_level_has_mvar(x_4); -if (x_5 == 0) -{ -uint8_t x_6; -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_6 = 0; -return x_6; -} -else -{ -x_3 = x_4; -goto _start; -} -} -case 2: -{ -lean_object* x_8; lean_object* x_9; uint8_t x_10; -x_8 = lean_ctor_get(x_3, 0); -lean_inc(x_8); -x_9 = lean_ctor_get(x_3, 1); -lean_inc(x_9); -lean_dec(x_3); -lean_inc(x_8); -x_10 = lean_level_has_mvar(x_8); -if (x_10 == 0) -{ -uint8_t x_11; -lean_dec(x_8); -lean_inc(x_9); -x_11 = lean_level_has_mvar(x_9); -if (x_11 == 0) -{ -uint8_t x_12; -lean_dec(x_9); -lean_dec(x_2); -lean_dec(x_1); -x_12 = 0; -return x_12; -} -else -{ -x_3 = x_9; -goto _start; -} -} -else -{ -uint8_t x_14; -lean_inc(x_2); -lean_inc(x_1); -x_14 = l_Lean_AbstractMetavarContext_hasAssignableLevelMVar___main___rarg(x_1, x_2, x_8); -if (x_14 == 0) -{ -uint8_t x_15; -lean_inc(x_9); -x_15 = lean_level_has_mvar(x_9); -if (x_15 == 0) -{ -lean_dec(x_9); -lean_dec(x_2); -lean_dec(x_1); -return x_14; -} -else -{ -x_3 = x_9; -goto _start; -} -} -else -{ -uint8_t x_17; -lean_dec(x_9); -lean_dec(x_2); -lean_dec(x_1); -x_17 = 1; -return x_17; -} -} -} -case 3: -{ -lean_object* x_18; lean_object* x_19; uint8_t x_20; -x_18 = lean_ctor_get(x_3, 0); -lean_inc(x_18); -x_19 = lean_ctor_get(x_3, 1); -lean_inc(x_19); -lean_dec(x_3); -lean_inc(x_18); -x_20 = lean_level_has_mvar(x_18); -if (x_20 == 0) -{ -uint8_t x_21; -lean_dec(x_18); -lean_inc(x_19); -x_21 = lean_level_has_mvar(x_19); -if (x_21 == 0) -{ -uint8_t x_22; -lean_dec(x_19); -lean_dec(x_2); -lean_dec(x_1); -x_22 = 0; -return x_22; -} -else -{ -x_3 = x_19; -goto _start; -} -} -else -{ -uint8_t x_24; -lean_inc(x_2); -lean_inc(x_1); -x_24 = l_Lean_AbstractMetavarContext_hasAssignableLevelMVar___main___rarg(x_1, x_2, x_18); -if (x_24 == 0) -{ -uint8_t x_25; -lean_inc(x_19); -x_25 = lean_level_has_mvar(x_19); -if (x_25 == 0) -{ -lean_dec(x_19); -lean_dec(x_2); -lean_dec(x_1); -return x_24; -} -else -{ -x_3 = x_19; -goto _start; -} -} -else -{ -uint8_t x_27; -lean_dec(x_19); -lean_dec(x_2); -lean_dec(x_1); -x_27 = 1; -return x_27; -} -} -} -case 5: -{ -lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; -x_28 = lean_ctor_get(x_3, 0); -lean_inc(x_28); -lean_dec(x_3); -x_29 = lean_ctor_get(x_1, 1); -lean_inc(x_29); -lean_dec(x_1); -x_30 = lean_apply_2(x_29, x_2, x_28); -x_31 = lean_unbox(x_30); -lean_dec(x_30); -if (x_31 == 0) -{ -uint8_t x_32; -x_32 = 1; -return x_32; -} -else -{ -uint8_t x_33; -x_33 = 0; -return x_33; -} -} -default: -{ -uint8_t x_34; -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_34 = 0; -return x_34; -} -} -} -} -lean_object* l_Lean_AbstractMetavarContext_hasAssignableLevelMVar___main(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_AbstractMetavarContext_hasAssignableLevelMVar___main___rarg___boxed), 3, 0); -return x_2; -} -} -lean_object* l_Lean_AbstractMetavarContext_hasAssignableLevelMVar___main___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -uint8_t x_4; lean_object* x_5; -x_4 = l_Lean_AbstractMetavarContext_hasAssignableLevelMVar___main___rarg(x_1, x_2, x_3); -x_5 = lean_box(x_4); -return x_5; -} -} -uint8_t l_Lean_AbstractMetavarContext_hasAssignableLevelMVar___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -uint8_t x_4; -x_4 = l_Lean_AbstractMetavarContext_hasAssignableLevelMVar___main___rarg(x_1, x_2, x_3); -return x_4; -} -} -lean_object* l_Lean_AbstractMetavarContext_hasAssignableLevelMVar(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_AbstractMetavarContext_hasAssignableLevelMVar___rarg___boxed), 3, 0); -return x_2; -} -} -lean_object* l_Lean_AbstractMetavarContext_hasAssignableLevelMVar___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -uint8_t x_4; lean_object* x_5; -x_4 = l_Lean_AbstractMetavarContext_hasAssignableLevelMVar___rarg(x_1, x_2, x_3); -x_5 = lean_box(x_4); -return x_5; -} -} -uint8_t l_Lean_AbstractMetavarContext_hasAssignedLevelMVar___main___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -switch (lean_obj_tag(x_3)) { -case 1: -{ -lean_object* x_4; uint8_t x_5; -x_4 = lean_ctor_get(x_3, 0); -lean_inc(x_4); -lean_dec(x_3); -lean_inc(x_4); -x_5 = lean_level_has_mvar(x_4); -if (x_5 == 0) -{ -uint8_t x_6; -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_6 = 0; -return x_6; -} -else -{ -x_3 = x_4; -goto _start; -} -} -case 2: -{ -lean_object* x_8; lean_object* x_9; uint8_t x_10; -x_8 = lean_ctor_get(x_3, 0); -lean_inc(x_8); -x_9 = lean_ctor_get(x_3, 1); -lean_inc(x_9); -lean_dec(x_3); -lean_inc(x_8); -x_10 = lean_level_has_mvar(x_8); -if (x_10 == 0) -{ -uint8_t x_11; -lean_dec(x_8); -lean_inc(x_9); -x_11 = lean_level_has_mvar(x_9); -if (x_11 == 0) -{ -uint8_t x_12; -lean_dec(x_9); -lean_dec(x_2); -lean_dec(x_1); -x_12 = 0; -return x_12; -} -else -{ -x_3 = x_9; -goto _start; -} -} -else -{ -uint8_t x_14; -lean_inc(x_2); -lean_inc(x_1); -x_14 = l_Lean_AbstractMetavarContext_hasAssignedLevelMVar___main___rarg(x_1, x_2, x_8); -if (x_14 == 0) -{ -uint8_t x_15; -lean_inc(x_9); -x_15 = lean_level_has_mvar(x_9); -if (x_15 == 0) -{ -lean_dec(x_9); -lean_dec(x_2); -lean_dec(x_1); -return x_14; -} -else -{ -x_3 = x_9; -goto _start; -} -} -else -{ -uint8_t x_17; -lean_dec(x_9); -lean_dec(x_2); -lean_dec(x_1); -x_17 = 1; -return x_17; -} -} -} -case 3: -{ -lean_object* x_18; lean_object* x_19; uint8_t x_20; -x_18 = lean_ctor_get(x_3, 0); -lean_inc(x_18); -x_19 = lean_ctor_get(x_3, 1); -lean_inc(x_19); -lean_dec(x_3); -lean_inc(x_18); -x_20 = lean_level_has_mvar(x_18); -if (x_20 == 0) -{ -uint8_t x_21; -lean_dec(x_18); -lean_inc(x_19); -x_21 = lean_level_has_mvar(x_19); -if (x_21 == 0) -{ -uint8_t x_22; -lean_dec(x_19); -lean_dec(x_2); -lean_dec(x_1); -x_22 = 0; -return x_22; -} -else -{ -x_3 = x_19; -goto _start; -} -} -else -{ -uint8_t x_24; -lean_inc(x_2); -lean_inc(x_1); -x_24 = l_Lean_AbstractMetavarContext_hasAssignedLevelMVar___main___rarg(x_1, x_2, x_18); -if (x_24 == 0) -{ -uint8_t x_25; -lean_inc(x_19); -x_25 = lean_level_has_mvar(x_19); -if (x_25 == 0) -{ -lean_dec(x_19); -lean_dec(x_2); -lean_dec(x_1); -return x_24; -} -else -{ -x_3 = x_19; -goto _start; -} -} -else -{ -uint8_t x_27; -lean_dec(x_19); -lean_dec(x_2); -lean_dec(x_1); -x_27 = 1; -return x_27; -} -} -} -case 5: -{ -lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_28 = lean_ctor_get(x_3, 0); -lean_inc(x_28); -lean_dec(x_3); -x_29 = lean_ctor_get(x_1, 2); -lean_inc(x_29); -lean_dec(x_1); -x_30 = lean_apply_2(x_29, x_2, x_28); -if (lean_obj_tag(x_30) == 0) -{ -uint8_t x_31; -x_31 = 0; -return x_31; -} -else -{ -uint8_t x_32; -lean_dec(x_30); -x_32 = 1; -return x_32; -} -} -default: -{ -uint8_t x_33; -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_33 = 0; -return x_33; -} -} -} -} -lean_object* l_Lean_AbstractMetavarContext_hasAssignedLevelMVar___main(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_AbstractMetavarContext_hasAssignedLevelMVar___main___rarg___boxed), 3, 0); -return x_2; -} -} -lean_object* l_Lean_AbstractMetavarContext_hasAssignedLevelMVar___main___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -uint8_t x_4; lean_object* x_5; -x_4 = l_Lean_AbstractMetavarContext_hasAssignedLevelMVar___main___rarg(x_1, x_2, x_3); -x_5 = lean_box(x_4); -return x_5; -} -} -uint8_t l_Lean_AbstractMetavarContext_hasAssignedLevelMVar___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -uint8_t x_4; -x_4 = l_Lean_AbstractMetavarContext_hasAssignedLevelMVar___main___rarg(x_1, x_2, x_3); -return x_4; -} -} -lean_object* l_Lean_AbstractMetavarContext_hasAssignedLevelMVar(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_AbstractMetavarContext_hasAssignedLevelMVar___rarg___boxed), 3, 0); -return x_2; -} -} -lean_object* l_Lean_AbstractMetavarContext_hasAssignedLevelMVar___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -uint8_t x_4; lean_object* x_5; -x_4 = l_Lean_AbstractMetavarContext_hasAssignedLevelMVar___rarg(x_1, x_2, x_3); -x_5 = lean_box(x_4); -return x_5; -} -} -uint8_t l_List_foldr___main___at_Lean_AbstractMetavarContext_hasAssignedMVar___main___spec__1___rarg(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4) { -_start: -{ -if (lean_obj_tag(x_4) == 0) -{ -lean_dec(x_2); -lean_dec(x_1); -return x_3; -} -else -{ -lean_object* x_5; lean_object* x_6; uint8_t x_7; uint8_t x_8; -x_5 = lean_ctor_get(x_4, 0); -lean_inc(x_5); -x_6 = lean_ctor_get(x_4, 1); -lean_inc(x_6); -lean_dec(x_4); -lean_inc(x_2); -lean_inc(x_1); -x_7 = l_List_foldr___main___at_Lean_AbstractMetavarContext_hasAssignedMVar___main___spec__1___rarg(x_1, x_2, x_3, x_6); -x_8 = l_Lean_AbstractMetavarContext_hasAssignedLevelMVar___main___rarg(x_1, x_2, x_5); -if (x_8 == 0) -{ -return x_7; -} -else -{ -uint8_t x_9; -x_9 = 1; -return x_9; -} -} -} -} -lean_object* l_List_foldr___main___at_Lean_AbstractMetavarContext_hasAssignedMVar___main___spec__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_List_foldr___main___at_Lean_AbstractMetavarContext_hasAssignedMVar___main___spec__1___rarg___boxed), 4, 0); -return x_2; -} -} -uint8_t l_Lean_AbstractMetavarContext_hasAssignedMVar___main___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -switch (lean_obj_tag(x_3)) { -case 2: -{ -lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_4 = lean_ctor_get(x_3, 0); -lean_inc(x_4); -lean_dec(x_3); -x_5 = lean_ctor_get(x_1, 5); -lean_inc(x_5); -lean_dec(x_1); -x_6 = lean_apply_2(x_5, x_2, x_4); -if (lean_obj_tag(x_6) == 0) -{ -uint8_t x_7; -x_7 = 0; -return x_7; -} -else -{ -uint8_t x_8; -lean_dec(x_6); -x_8 = 1; -return x_8; -} -} -case 3: -{ -lean_object* x_9; uint8_t x_10; -x_9 = lean_ctor_get(x_3, 0); -lean_inc(x_9); -lean_dec(x_3); -x_10 = l_Lean_AbstractMetavarContext_hasAssignedLevelMVar___main___rarg(x_1, x_2, x_9); -return x_10; -} -case 4: -{ -lean_object* x_11; uint8_t x_12; uint8_t x_13; -x_11 = lean_ctor_get(x_3, 1); -lean_inc(x_11); -lean_dec(x_3); -x_12 = 0; -x_13 = l_List_foldr___main___at_Lean_AbstractMetavarContext_hasAssignedMVar___main___spec__1___rarg(x_1, x_2, x_12, x_11); -return x_13; -} -case 5: -{ -lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_14 = lean_ctor_get(x_3, 0); -lean_inc(x_14); -x_15 = lean_ctor_get(x_3, 1); -lean_inc(x_15); -lean_dec(x_3); -x_16 = lean_expr_has_expr_mvar(x_14); -if (x_16 == 0) -{ -uint8_t x_17; -x_17 = lean_expr_has_level_mvar(x_14); -if (x_17 == 0) -{ -uint8_t x_18; -lean_dec(x_14); -x_18 = lean_expr_has_expr_mvar(x_15); -if (x_18 == 0) -{ -uint8_t x_19; -x_19 = lean_expr_has_level_mvar(x_15); -if (x_19 == 0) -{ -uint8_t x_20; -lean_dec(x_15); -lean_dec(x_2); -lean_dec(x_1); -x_20 = 0; -return x_20; -} -else -{ -x_3 = x_15; -goto _start; -} -} -else -{ -x_3 = x_15; -goto _start; -} -} -else -{ -uint8_t x_23; -lean_inc(x_2); -lean_inc(x_1); -x_23 = l_Lean_AbstractMetavarContext_hasAssignedMVar___main___rarg(x_1, x_2, x_14); -if (x_23 == 0) -{ -uint8_t x_24; -x_24 = lean_expr_has_expr_mvar(x_15); -if (x_24 == 0) -{ -uint8_t x_25; -x_25 = lean_expr_has_level_mvar(x_15); -if (x_25 == 0) -{ -lean_dec(x_15); -lean_dec(x_2); -lean_dec(x_1); -return x_23; -} -else -{ -x_3 = x_15; -goto _start; -} -} -else -{ -x_3 = x_15; -goto _start; -} -} -else -{ -uint8_t x_28; -lean_dec(x_15); -lean_dec(x_2); -lean_dec(x_1); -x_28 = 1; -return x_28; -} -} -} -else -{ -uint8_t x_29; -lean_inc(x_2); -lean_inc(x_1); -x_29 = l_Lean_AbstractMetavarContext_hasAssignedMVar___main___rarg(x_1, x_2, x_14); -if (x_29 == 0) -{ -uint8_t x_30; -x_30 = lean_expr_has_expr_mvar(x_15); -if (x_30 == 0) -{ -uint8_t x_31; -x_31 = lean_expr_has_level_mvar(x_15); -if (x_31 == 0) -{ -lean_dec(x_15); -lean_dec(x_2); -lean_dec(x_1); -return x_29; -} -else -{ -x_3 = x_15; -goto _start; -} -} -else -{ -x_3 = x_15; -goto _start; -} -} -else -{ -uint8_t x_34; -lean_dec(x_15); -lean_dec(x_2); -lean_dec(x_1); -x_34 = 1; -return x_34; -} -} -} -case 6: -{ -lean_object* x_35; lean_object* x_36; uint8_t x_37; -x_35 = lean_ctor_get(x_3, 1); -lean_inc(x_35); -x_36 = lean_ctor_get(x_3, 2); -lean_inc(x_36); -lean_dec(x_3); -x_37 = lean_expr_has_expr_mvar(x_35); -if (x_37 == 0) -{ -uint8_t x_38; -x_38 = lean_expr_has_level_mvar(x_35); -if (x_38 == 0) -{ -uint8_t x_39; -lean_dec(x_35); -x_39 = lean_expr_has_expr_mvar(x_36); -if (x_39 == 0) -{ -uint8_t x_40; -x_40 = lean_expr_has_level_mvar(x_36); -if (x_40 == 0) -{ -uint8_t x_41; -lean_dec(x_36); -lean_dec(x_2); -lean_dec(x_1); -x_41 = 0; -return x_41; -} -else -{ -x_3 = x_36; -goto _start; -} -} -else -{ -x_3 = x_36; -goto _start; -} -} -else -{ -uint8_t x_44; -lean_inc(x_2); -lean_inc(x_1); -x_44 = l_Lean_AbstractMetavarContext_hasAssignedMVar___main___rarg(x_1, x_2, x_35); -if (x_44 == 0) -{ -uint8_t x_45; -x_45 = lean_expr_has_expr_mvar(x_36); -if (x_45 == 0) -{ -uint8_t x_46; -x_46 = lean_expr_has_level_mvar(x_36); -if (x_46 == 0) -{ -lean_dec(x_36); -lean_dec(x_2); -lean_dec(x_1); -return x_44; -} -else -{ -x_3 = x_36; -goto _start; -} -} -else -{ -x_3 = x_36; -goto _start; -} -} -else -{ -uint8_t x_49; -lean_dec(x_36); -lean_dec(x_2); -lean_dec(x_1); -x_49 = 1; -return x_49; -} -} -} -else -{ -uint8_t x_50; -lean_inc(x_2); -lean_inc(x_1); -x_50 = l_Lean_AbstractMetavarContext_hasAssignedMVar___main___rarg(x_1, x_2, x_35); -if (x_50 == 0) -{ -uint8_t x_51; -x_51 = lean_expr_has_expr_mvar(x_36); -if (x_51 == 0) -{ -uint8_t x_52; -x_52 = lean_expr_has_level_mvar(x_36); -if (x_52 == 0) -{ -lean_dec(x_36); -lean_dec(x_2); -lean_dec(x_1); -return x_50; -} -else -{ -x_3 = x_36; -goto _start; -} -} -else -{ -x_3 = x_36; -goto _start; -} -} -else -{ -uint8_t x_55; -lean_dec(x_36); -lean_dec(x_2); -lean_dec(x_1); -x_55 = 1; -return x_55; -} -} -} -case 7: -{ -lean_object* x_56; lean_object* x_57; uint8_t x_58; -x_56 = lean_ctor_get(x_3, 1); -lean_inc(x_56); -x_57 = lean_ctor_get(x_3, 2); -lean_inc(x_57); -lean_dec(x_3); -x_58 = lean_expr_has_expr_mvar(x_56); -if (x_58 == 0) -{ -uint8_t x_59; -x_59 = lean_expr_has_level_mvar(x_56); -if (x_59 == 0) -{ -uint8_t x_60; -lean_dec(x_56); -x_60 = lean_expr_has_expr_mvar(x_57); -if (x_60 == 0) -{ -uint8_t x_61; -x_61 = lean_expr_has_level_mvar(x_57); -if (x_61 == 0) -{ -uint8_t x_62; -lean_dec(x_57); -lean_dec(x_2); -lean_dec(x_1); -x_62 = 0; -return x_62; -} -else -{ -x_3 = x_57; -goto _start; -} -} -else -{ -x_3 = x_57; -goto _start; -} -} -else -{ -uint8_t x_65; -lean_inc(x_2); -lean_inc(x_1); -x_65 = l_Lean_AbstractMetavarContext_hasAssignedMVar___main___rarg(x_1, x_2, x_56); -if (x_65 == 0) -{ -uint8_t x_66; -x_66 = lean_expr_has_expr_mvar(x_57); -if (x_66 == 0) -{ -uint8_t x_67; -x_67 = lean_expr_has_level_mvar(x_57); -if (x_67 == 0) -{ -lean_dec(x_57); -lean_dec(x_2); -lean_dec(x_1); -return x_65; -} -else -{ -x_3 = x_57; -goto _start; -} -} -else -{ -x_3 = x_57; -goto _start; -} -} -else -{ -uint8_t x_70; -lean_dec(x_57); -lean_dec(x_2); -lean_dec(x_1); -x_70 = 1; -return x_70; -} -} -} -else -{ -uint8_t x_71; -lean_inc(x_2); -lean_inc(x_1); -x_71 = l_Lean_AbstractMetavarContext_hasAssignedMVar___main___rarg(x_1, x_2, x_56); -if (x_71 == 0) -{ -uint8_t x_72; -x_72 = lean_expr_has_expr_mvar(x_57); -if (x_72 == 0) -{ -uint8_t x_73; -x_73 = lean_expr_has_level_mvar(x_57); -if (x_73 == 0) -{ -lean_dec(x_57); -lean_dec(x_2); -lean_dec(x_1); -return x_71; -} -else -{ -x_3 = x_57; -goto _start; -} -} -else -{ -x_3 = x_57; -goto _start; -} -} -else -{ -uint8_t x_76; -lean_dec(x_57); -lean_dec(x_2); -lean_dec(x_1); -x_76 = 1; -return x_76; -} -} -} -case 8: -{ -lean_object* x_77; lean_object* x_78; lean_object* x_79; uint8_t x_80; uint8_t x_101; -x_77 = lean_ctor_get(x_3, 1); -lean_inc(x_77); -x_78 = lean_ctor_get(x_3, 2); -lean_inc(x_78); -x_79 = lean_ctor_get(x_3, 3); -lean_inc(x_79); -lean_dec(x_3); -x_101 = lean_expr_has_expr_mvar(x_77); -if (x_101 == 0) -{ -uint8_t x_102; -x_102 = lean_expr_has_level_mvar(x_77); -if (x_102 == 0) -{ -uint8_t x_103; -lean_dec(x_77); -x_103 = 0; -x_80 = x_103; -goto block_100; -} -else -{ -uint8_t x_104; -lean_inc(x_2); -lean_inc(x_1); -x_104 = l_Lean_AbstractMetavarContext_hasAssignedMVar___main___rarg(x_1, x_2, x_77); -if (x_104 == 0) -{ -x_80 = x_104; -goto block_100; -} -else -{ -uint8_t x_105; -lean_dec(x_79); -lean_dec(x_78); -lean_dec(x_2); -lean_dec(x_1); -x_105 = 1; -return x_105; -} -} -} -else -{ -uint8_t x_106; -lean_inc(x_2); -lean_inc(x_1); -x_106 = l_Lean_AbstractMetavarContext_hasAssignedMVar___main___rarg(x_1, x_2, x_77); -if (x_106 == 0) -{ -x_80 = x_106; -goto block_100; -} -else -{ -uint8_t x_107; -lean_dec(x_79); -lean_dec(x_78); -lean_dec(x_2); -lean_dec(x_1); -x_107 = 1; -return x_107; -} -} -block_100: -{ -uint8_t x_81; -x_81 = lean_expr_has_expr_mvar(x_78); -if (x_81 == 0) -{ -uint8_t x_82; -x_82 = lean_expr_has_level_mvar(x_78); -if (x_82 == 0) -{ -lean_dec(x_78); -if (x_80 == 0) -{ -uint8_t x_83; -x_83 = lean_expr_has_expr_mvar(x_79); -if (x_83 == 0) -{ -uint8_t x_84; -x_84 = lean_expr_has_level_mvar(x_79); -if (x_84 == 0) -{ -lean_dec(x_79); -lean_dec(x_2); -lean_dec(x_1); -return x_80; -} -else -{ -x_3 = x_79; -goto _start; -} -} -else -{ -x_3 = x_79; -goto _start; -} -} -else -{ -uint8_t x_87; -lean_dec(x_79); -lean_dec(x_2); -lean_dec(x_1); -x_87 = 1; -return x_87; -} -} -else -{ -uint8_t x_88; -lean_inc(x_2); -lean_inc(x_1); -x_88 = l_Lean_AbstractMetavarContext_hasAssignedMVar___main___rarg(x_1, x_2, x_78); -if (x_88 == 0) -{ -uint8_t x_89; -x_89 = lean_expr_has_expr_mvar(x_79); -if (x_89 == 0) -{ -uint8_t x_90; -x_90 = lean_expr_has_level_mvar(x_79); -if (x_90 == 0) -{ -lean_dec(x_79); -lean_dec(x_2); -lean_dec(x_1); -return x_88; -} -else -{ -x_3 = x_79; -goto _start; -} -} -else -{ -x_3 = x_79; -goto _start; -} -} -else -{ -uint8_t x_93; -lean_dec(x_79); -lean_dec(x_2); -lean_dec(x_1); -x_93 = 1; -return x_93; -} -} -} -else -{ -uint8_t x_94; -lean_inc(x_2); -lean_inc(x_1); -x_94 = l_Lean_AbstractMetavarContext_hasAssignedMVar___main___rarg(x_1, x_2, x_78); -if (x_94 == 0) -{ -uint8_t x_95; -x_95 = lean_expr_has_expr_mvar(x_79); -if (x_95 == 0) -{ -uint8_t x_96; -x_96 = lean_expr_has_level_mvar(x_79); -if (x_96 == 0) -{ -lean_dec(x_79); -lean_dec(x_2); -lean_dec(x_1); -return x_94; -} -else -{ -x_3 = x_79; -goto _start; -} -} -else -{ -x_3 = x_79; -goto _start; -} -} -else -{ -uint8_t x_99; -lean_dec(x_79); -lean_dec(x_2); -lean_dec(x_1); -x_99 = 1; -return x_99; -} -} -} -} -case 10: -{ -lean_object* x_108; uint8_t x_109; -x_108 = lean_ctor_get(x_3, 1); -lean_inc(x_108); -lean_dec(x_3); -x_109 = lean_expr_has_expr_mvar(x_108); -if (x_109 == 0) -{ -uint8_t x_110; -x_110 = lean_expr_has_level_mvar(x_108); -if (x_110 == 0) -{ -uint8_t x_111; -lean_dec(x_108); -lean_dec(x_2); -lean_dec(x_1); -x_111 = 0; -return x_111; -} -else -{ -x_3 = x_108; -goto _start; -} -} -else -{ -x_3 = x_108; -goto _start; -} -} -case 11: -{ -lean_object* x_114; uint8_t x_115; -x_114 = lean_ctor_get(x_3, 2); -lean_inc(x_114); -lean_dec(x_3); -x_115 = lean_expr_has_expr_mvar(x_114); -if (x_115 == 0) -{ -uint8_t x_116; -x_116 = lean_expr_has_level_mvar(x_114); -if (x_116 == 0) -{ -uint8_t x_117; -lean_dec(x_114); -lean_dec(x_2); -lean_dec(x_1); -x_117 = 0; -return x_117; -} -else -{ -x_3 = x_114; -goto _start; -} -} -else -{ -x_3 = x_114; -goto _start; -} -} -default: -{ -uint8_t x_120; -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_120 = 0; -return x_120; -} -} -} -} -lean_object* l_Lean_AbstractMetavarContext_hasAssignedMVar___main(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_AbstractMetavarContext_hasAssignedMVar___main___rarg___boxed), 3, 0); -return x_2; -} -} -lean_object* l_List_foldr___main___at_Lean_AbstractMetavarContext_hasAssignedMVar___main___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -uint8_t x_5; uint8_t x_6; lean_object* x_7; -x_5 = lean_unbox(x_3); -lean_dec(x_3); -x_6 = l_List_foldr___main___at_Lean_AbstractMetavarContext_hasAssignedMVar___main___spec__1___rarg(x_1, x_2, x_5, x_4); -x_7 = lean_box(x_6); -return x_7; -} -} -lean_object* l_Lean_AbstractMetavarContext_hasAssignedMVar___main___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -uint8_t x_4; lean_object* x_5; -x_4 = l_Lean_AbstractMetavarContext_hasAssignedMVar___main___rarg(x_1, x_2, x_3); -x_5 = lean_box(x_4); -return x_5; -} -} -uint8_t l_Lean_AbstractMetavarContext_hasAssignedMVar___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -uint8_t x_4; -x_4 = l_Lean_AbstractMetavarContext_hasAssignedMVar___main___rarg(x_1, x_2, x_3); -return x_4; -} -} -lean_object* l_Lean_AbstractMetavarContext_hasAssignedMVar(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_AbstractMetavarContext_hasAssignedMVar___rarg___boxed), 3, 0); -return x_2; -} -} -lean_object* l_Lean_AbstractMetavarContext_hasAssignedMVar___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -uint8_t x_4; lean_object* x_5; -x_4 = l_Lean_AbstractMetavarContext_hasAssignedMVar___rarg(x_1, x_2, x_3); -x_5 = lean_box(x_4); -return x_5; -} -} -lean_object* l_Lean_AbstractMetavarContext_instantiateLevelMVars___main___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -switch (lean_obj_tag(x_2)) { -case 1: -{ -lean_object* x_4; lean_object* x_5; uint8_t x_6; -x_4 = lean_ctor_get(x_2, 0); -lean_inc(x_4); -x_5 = l_Lean_AbstractMetavarContext_instantiateLevelMVars___main___rarg(x_1, x_4, x_3); -x_6 = !lean_is_exclusive(x_5); -if (x_6 == 0) -{ -lean_object* x_7; lean_object* x_8; -x_7 = lean_ctor_get(x_5, 0); -x_8 = lean_level_update_succ(x_2, x_7); -lean_ctor_set(x_5, 0, x_8); -return x_5; -} -else -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_9 = lean_ctor_get(x_5, 0); -x_10 = lean_ctor_get(x_5, 1); -lean_inc(x_10); -lean_inc(x_9); -lean_dec(x_5); -x_11 = lean_level_update_succ(x_2, x_9); -x_12 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_12, 0, x_11); -lean_ctor_set(x_12, 1, x_10); -return x_12; -} -} -case 2: -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; -x_13 = lean_ctor_get(x_2, 0); -lean_inc(x_13); -x_14 = lean_ctor_get(x_2, 1); -lean_inc(x_14); -lean_inc(x_1); -x_15 = l_Lean_AbstractMetavarContext_instantiateLevelMVars___main___rarg(x_1, x_13, x_3); -x_16 = lean_ctor_get(x_15, 0); -lean_inc(x_16); -x_17 = lean_ctor_get(x_15, 1); -lean_inc(x_17); -lean_dec(x_15); -x_18 = l_Lean_AbstractMetavarContext_instantiateLevelMVars___main___rarg(x_1, x_14, x_17); -x_19 = !lean_is_exclusive(x_18); -if (x_19 == 0) -{ -lean_object* x_20; lean_object* x_21; -x_20 = lean_ctor_get(x_18, 0); -x_21 = lean_level_update_max(x_2, x_16, x_20); -lean_ctor_set(x_18, 0, x_21); -return x_18; -} -else -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_22 = lean_ctor_get(x_18, 0); -x_23 = lean_ctor_get(x_18, 1); -lean_inc(x_23); -lean_inc(x_22); -lean_dec(x_18); -x_24 = lean_level_update_max(x_2, x_16, x_22); -x_25 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_25, 0, x_24); -lean_ctor_set(x_25, 1, x_23); -return x_25; -} -} -case 3: -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; -x_26 = lean_ctor_get(x_2, 0); -lean_inc(x_26); -x_27 = lean_ctor_get(x_2, 1); -lean_inc(x_27); -lean_dec(x_2); -lean_inc(x_1); -x_28 = l_Lean_AbstractMetavarContext_instantiateLevelMVars___main___rarg(x_1, x_26, x_3); -x_29 = lean_ctor_get(x_28, 1); -lean_inc(x_29); -lean_dec(x_28); -x_30 = l_Lean_AbstractMetavarContext_instantiateLevelMVars___main___rarg(x_1, x_27, x_29); -x_31 = !lean_is_exclusive(x_30); -if (x_31 == 0) -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_32 = lean_ctor_get(x_30, 0); -lean_dec(x_32); -x_33 = l_Lean_Level_mvarId_x21___closed__1; -x_34 = lean_unsigned_to_nat(372u); -x_35 = lean_unsigned_to_nat(17u); -x_36 = l_Lean_Level_updateIMax_x21___closed__1; -x_37 = l_panicWithPos___at_Lean_Level_normalize___main___spec__1(x_33, x_34, x_35, x_36); -lean_ctor_set(x_30, 0, x_37); -return x_30; -} -else -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; -x_38 = lean_ctor_get(x_30, 1); -lean_inc(x_38); -lean_dec(x_30); -x_39 = l_Lean_Level_mvarId_x21___closed__1; -x_40 = lean_unsigned_to_nat(372u); -x_41 = lean_unsigned_to_nat(17u); -x_42 = l_Lean_Level_updateIMax_x21___closed__1; -x_43 = l_panicWithPos___at_Lean_Level_normalize___main___spec__1(x_39, x_40, x_41, x_42); -x_44 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_44, 0, x_43); -lean_ctor_set(x_44, 1, x_38); -return x_44; -} -} -case 5: -{ -lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_45 = lean_ctor_get(x_2, 0); -lean_inc(x_45); -x_46 = lean_ctor_get(x_1, 2); -lean_inc(x_46); -lean_inc(x_45); -lean_inc(x_3); -x_47 = lean_apply_2(x_46, x_3, x_45); -if (lean_obj_tag(x_47) == 0) -{ -lean_object* x_48; -lean_dec(x_45); -lean_dec(x_1); -x_48 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_48, 0, x_2); -lean_ctor_set(x_48, 1, x_3); -return x_48; -} -else -{ -lean_object* x_49; uint8_t x_50; -lean_dec(x_2); -x_49 = lean_ctor_get(x_47, 0); -lean_inc(x_49); -lean_dec(x_47); -lean_inc(x_49); -x_50 = lean_level_has_mvar(x_49); -if (x_50 == 0) -{ -lean_object* x_51; -lean_dec(x_45); -lean_dec(x_1); -x_51 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_51, 0, x_49); -lean_ctor_set(x_51, 1, x_3); -return x_51; -} -else -{ -lean_object* x_52; uint8_t x_53; -lean_inc(x_1); -x_52 = l_Lean_AbstractMetavarContext_instantiateLevelMVars___main___rarg(x_1, x_49, x_3); -x_53 = !lean_is_exclusive(x_52); -if (x_53 == 0) -{ -lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; -x_54 = lean_ctor_get(x_52, 0); -x_55 = lean_ctor_get(x_52, 1); -x_56 = lean_ctor_get(x_1, 3); -lean_inc(x_56); -lean_dec(x_1); -lean_inc(x_54); -x_57 = lean_apply_3(x_56, x_55, x_45, x_54); -lean_ctor_set(x_52, 1, x_57); -return x_52; -} -else -{ -lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; -x_58 = lean_ctor_get(x_52, 0); -x_59 = lean_ctor_get(x_52, 1); -lean_inc(x_59); -lean_inc(x_58); -lean_dec(x_52); -x_60 = lean_ctor_get(x_1, 3); -lean_inc(x_60); -lean_dec(x_1); -lean_inc(x_58); -x_61 = lean_apply_3(x_60, x_59, x_45, x_58); -x_62 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_62, 0, x_58); -lean_ctor_set(x_62, 1, x_61); -return x_62; -} -} -} -} -default: -{ -lean_object* x_63; -lean_dec(x_1); -x_63 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_63, 0, x_2); -lean_ctor_set(x_63, 1, x_3); -return x_63; -} -} -} -} -lean_object* l_Lean_AbstractMetavarContext_instantiateLevelMVars___main(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_AbstractMetavarContext_instantiateLevelMVars___main___rarg), 3, 0); -return x_2; -} -} -lean_object* l_Lean_AbstractMetavarContext_instantiateLevelMVars___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l_Lean_AbstractMetavarContext_instantiateLevelMVars___main___rarg(x_1, x_2, x_3); -return x_4; -} -} -lean_object* l_Lean_AbstractMetavarContext_instantiateLevelMVars(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_AbstractMetavarContext_instantiateLevelMVars___rarg), 3, 0); -return x_2; -} -} -lean_object* l_Lean_AbstractMetavarContext_InstantiateExprMVars_instantiateLevelMVars___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -uint8_t x_4; -x_4 = !lean_is_exclusive(x_3); -if (x_4 == 0) -{ -lean_object* x_5; lean_object* x_6; uint8_t x_7; -x_5 = lean_ctor_get(x_3, 0); -x_6 = l_Lean_AbstractMetavarContext_instantiateLevelMVars___main___rarg(x_1, x_2, x_5); -x_7 = !lean_is_exclusive(x_6); -if (x_7 == 0) -{ -lean_object* x_8; -x_8 = lean_ctor_get(x_6, 1); -lean_ctor_set(x_3, 0, x_8); -lean_ctor_set(x_6, 1, x_3); -return x_6; -} -else -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; -x_9 = lean_ctor_get(x_6, 0); -x_10 = lean_ctor_get(x_6, 1); -lean_inc(x_10); -lean_inc(x_9); -lean_dec(x_6); -lean_ctor_set(x_3, 0, x_10); -x_11 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_11, 0, x_9); -lean_ctor_set(x_11, 1, x_3); -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; lean_object* x_19; -x_12 = lean_ctor_get(x_3, 0); -x_13 = lean_ctor_get(x_3, 1); -lean_inc(x_13); -lean_inc(x_12); -lean_dec(x_3); -x_14 = l_Lean_AbstractMetavarContext_instantiateLevelMVars___main___rarg(x_1, x_2, x_12); -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_14, 1); -lean_inc(x_16); -if (lean_is_exclusive(x_14)) { - lean_ctor_release(x_14, 0); - lean_ctor_release(x_14, 1); - x_17 = x_14; -} else { - lean_dec_ref(x_14); - x_17 = lean_box(0); -} -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_16); -lean_ctor_set(x_18, 1, x_13); -if (lean_is_scalar(x_17)) { - x_19 = lean_alloc_ctor(0, 2, 0); -} else { - x_19 = x_17; -} -lean_ctor_set(x_19, 0, x_15); -lean_ctor_set(x_19, 1, x_18); -return x_19; -} -} -} -lean_object* l_Lean_AbstractMetavarContext_InstantiateExprMVars_instantiateLevelMVars(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_AbstractMetavarContext_InstantiateExprMVars_instantiateLevelMVars___rarg), 3, 0); -return x_2; -} -} -lean_object* l_AssocList_find___main___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__2(lean_object* x_1, lean_object* x_2) { -_start: -{ -if (lean_obj_tag(x_2) == 0) -{ -lean_object* x_3; -x_3 = lean_box(0); -return x_3; -} -else -{ -lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; -x_4 = lean_ctor_get(x_2, 0); -x_5 = lean_ctor_get(x_2, 1); -x_6 = lean_ctor_get(x_2, 2); -x_7 = lean_expr_eqv(x_4, x_1); -if (x_7 == 0) -{ -x_2 = x_6; -goto _start; -} -else -{ -lean_object* x_9; -lean_inc(x_5); -x_9 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_9, 0, x_5); -return x_9; -} -} -} -} -lean_object* l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; lean_object* x_4; size_t x_5; size_t x_6; lean_object* x_7; lean_object* x_8; -x_3 = lean_ctor_get(x_1, 1); -x_4 = lean_array_get_size(x_3); -x_5 = lean_expr_hash(x_2); -x_6 = lean_usize_modn(x_5, x_4); -lean_dec(x_4); -x_7 = lean_array_uget(x_3, x_6); -x_8 = l_AssocList_find___main___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__2(x_2, x_7); -lean_dec(x_7); -return x_8; -} -} -uint8_t l_AssocList_contains___main___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__4(lean_object* x_1, lean_object* x_2) { -_start: -{ -if (lean_obj_tag(x_2) == 0) -{ -uint8_t x_3; -x_3 = 0; -return x_3; -} -else -{ -lean_object* x_4; lean_object* x_5; uint8_t x_6; -x_4 = lean_ctor_get(x_2, 0); -x_5 = lean_ctor_get(x_2, 2); -x_6 = lean_expr_eqv(x_4, x_1); -if (x_6 == 0) -{ -x_2 = x_5; -goto _start; -} -else -{ -uint8_t x_8; -x_8 = 1; -return x_8; -} -} -} -} -lean_object* l_AssocList_foldlM___main___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__7(lean_object* x_1, lean_object* x_2) { -_start: -{ -if (lean_obj_tag(x_2) == 0) -{ -return x_1; -} -else -{ -uint8_t x_3; -x_3 = !lean_is_exclusive(x_2); -if (x_3 == 0) -{ -lean_object* x_4; lean_object* x_5; lean_object* x_6; size_t x_7; size_t x_8; lean_object* x_9; lean_object* x_10; -x_4 = lean_ctor_get(x_2, 0); -x_5 = lean_ctor_get(x_2, 2); -x_6 = lean_array_get_size(x_1); -x_7 = lean_expr_hash(x_4); -x_8 = lean_usize_modn(x_7, x_6); -lean_dec(x_6); -x_9 = lean_array_uget(x_1, x_8); -lean_ctor_set(x_2, 2, x_9); -x_10 = lean_array_uset(x_1, x_8, x_2); -x_1 = x_10; -x_2 = x_5; -goto _start; -} -else -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; size_t x_16; size_t x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_12 = lean_ctor_get(x_2, 0); -x_13 = lean_ctor_get(x_2, 1); -x_14 = lean_ctor_get(x_2, 2); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_dec(x_2); -x_15 = lean_array_get_size(x_1); -x_16 = lean_expr_hash(x_12); -x_17 = lean_usize_modn(x_16, x_15); -lean_dec(x_15); -x_18 = lean_array_uget(x_1, x_17); -x_19 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_19, 0, x_12); -lean_ctor_set(x_19, 1, x_13); -lean_ctor_set(x_19, 2, x_18); -x_20 = lean_array_uset(x_1, x_17, x_19); -x_1 = x_20; -x_2 = x_14; -goto _start; -} -} -} -} -lean_object* l_HashMapImp_moveEntries___main___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; uint8_t x_5; -x_4 = lean_array_get_size(x_2); -x_5 = lean_nat_dec_lt(x_1, x_4); -lean_dec(x_4); -if (x_5 == 0) -{ -lean_dec(x_2); -lean_dec(x_1); -return x_3; -} -else -{ -lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; -x_6 = lean_array_fget(x_2, x_1); -x_7 = lean_box(0); -x_8 = lean_array_fset(x_2, x_1, x_7); -x_9 = l_AssocList_foldlM___main___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__7(x_3, x_6); -x_10 = lean_unsigned_to_nat(1u); -x_11 = lean_nat_add(x_1, x_10); -lean_dec(x_1); -x_1 = x_11; -x_2 = x_8; -x_3 = x_9; -goto _start; -} -} -} -lean_object* l_HashMapImp_expand___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__5(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; -x_3 = lean_array_get_size(x_2); -x_4 = lean_unsigned_to_nat(2u); -x_5 = lean_nat_mul(x_3, x_4); -lean_dec(x_3); -x_6 = lean_box(0); -x_7 = lean_mk_array(x_5, x_6); -x_8 = lean_unsigned_to_nat(0u); -x_9 = l_HashMapImp_moveEntries___main___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__6(x_8, x_2, x_7); -x_10 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_10, 0, x_1); -lean_ctor_set(x_10, 1, x_9); -return x_10; -} -} -lean_object* l_AssocList_replace___main___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__8(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -if (lean_obj_tag(x_3) == 0) -{ -lean_dec(x_2); -lean_dec(x_1); -return x_3; -} -else -{ -uint8_t x_4; -x_4 = !lean_is_exclusive(x_3); -if (x_4 == 0) -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; -x_5 = lean_ctor_get(x_3, 0); -x_6 = lean_ctor_get(x_3, 1); -x_7 = lean_ctor_get(x_3, 2); -x_8 = lean_expr_eqv(x_5, x_1); -if (x_8 == 0) -{ -lean_object* x_9; -x_9 = l_AssocList_replace___main___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__8(x_1, x_2, x_7); -lean_ctor_set(x_3, 2, x_9); -return x_3; -} -else -{ -lean_dec(x_6); -lean_dec(x_5); -lean_ctor_set(x_3, 1, x_2); -lean_ctor_set(x_3, 0, x_1); -return x_3; -} -} -else -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; -x_10 = lean_ctor_get(x_3, 0); -x_11 = lean_ctor_get(x_3, 1); -x_12 = lean_ctor_get(x_3, 2); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_dec(x_3); -x_13 = lean_expr_eqv(x_10, x_1); -if (x_13 == 0) -{ -lean_object* x_14; lean_object* x_15; -x_14 = l_AssocList_replace___main___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__8(x_1, x_2, x_12); -x_15 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_15, 0, x_10); -lean_ctor_set(x_15, 1, x_11); -lean_ctor_set(x_15, 2, x_14); -return x_15; -} -else -{ -lean_object* x_16; -lean_dec(x_11); -lean_dec(x_10); -x_16 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_16, 0, x_1); -lean_ctor_set(x_16, 1, x_2); -lean_ctor_set(x_16, 2, x_12); -return x_16; -} -} -} -} -} -lean_object* l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -uint8_t x_4; -x_4 = !lean_is_exclusive(x_1); -if (x_4 == 0) -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; size_t x_8; size_t x_9; lean_object* x_10; uint8_t x_11; -x_5 = lean_ctor_get(x_1, 0); -x_6 = lean_ctor_get(x_1, 1); -x_7 = lean_array_get_size(x_6); -x_8 = lean_expr_hash(x_2); -x_9 = lean_usize_modn(x_8, x_7); -x_10 = lean_array_uget(x_6, x_9); -x_11 = l_AssocList_contains___main___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__4(x_2, x_10); -if (x_11 == 0) -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_12 = lean_unsigned_to_nat(1u); -x_13 = lean_nat_add(x_5, x_12); -lean_dec(x_5); -x_14 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_14, 0, x_2); -lean_ctor_set(x_14, 1, x_3); -lean_ctor_set(x_14, 2, x_10); -x_15 = lean_array_uset(x_6, x_9, x_14); -x_16 = lean_nat_dec_le(x_13, x_7); -lean_dec(x_7); -if (x_16 == 0) -{ -lean_object* x_17; -lean_free_object(x_1); -x_17 = l_HashMapImp_expand___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__5(x_13, x_15); -return x_17; -} -else -{ -lean_ctor_set(x_1, 1, x_15); -lean_ctor_set(x_1, 0, x_13); -return x_1; -} -} -else -{ -lean_object* x_18; lean_object* x_19; -lean_dec(x_7); -x_18 = l_AssocList_replace___main___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__8(x_2, x_3, x_10); -x_19 = lean_array_uset(x_6, x_9, x_18); -lean_ctor_set(x_1, 1, x_19); -return x_1; -} -} -else -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; size_t x_23; size_t x_24; lean_object* x_25; uint8_t x_26; -x_20 = lean_ctor_get(x_1, 0); -x_21 = lean_ctor_get(x_1, 1); -lean_inc(x_21); -lean_inc(x_20); -lean_dec(x_1); -x_22 = lean_array_get_size(x_21); -x_23 = lean_expr_hash(x_2); -x_24 = lean_usize_modn(x_23, x_22); -x_25 = lean_array_uget(x_21, x_24); -x_26 = l_AssocList_contains___main___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__4(x_2, x_25); -if (x_26 == 0) -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; -x_27 = lean_unsigned_to_nat(1u); -x_28 = lean_nat_add(x_20, x_27); -lean_dec(x_20); -x_29 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_29, 0, x_2); -lean_ctor_set(x_29, 1, x_3); -lean_ctor_set(x_29, 2, x_25); -x_30 = lean_array_uset(x_21, x_24, x_29); -x_31 = lean_nat_dec_le(x_28, x_22); -lean_dec(x_22); -if (x_31 == 0) -{ -lean_object* x_32; -x_32 = l_HashMapImp_expand___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__5(x_28, x_30); -return x_32; -} -else -{ -lean_object* x_33; -x_33 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_33, 0, x_28); -lean_ctor_set(x_33, 1, x_30); -return x_33; -} -} -else -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; -lean_dec(x_22); -x_34 = l_AssocList_replace___main___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__8(x_2, x_3, x_25); -x_35 = lean_array_uset(x_21, x_24, x_34); -x_36 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_36, 0, x_20); -lean_ctor_set(x_36, 1, x_35); -return x_36; -} -} -} -} -lean_object* l_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -uint8_t x_4; -x_4 = lean_expr_has_expr_mvar(x_2); -if (x_4 == 0) -{ -uint8_t x_5; -x_5 = lean_expr_has_level_mvar(x_2); -if (x_5 == 0) -{ -lean_object* x_6; -lean_dec(x_1); -x_6 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_6, 0, x_2); -lean_ctor_set(x_6, 1, x_3); -return x_6; -} -else -{ -lean_object* x_7; lean_object* x_8; -x_7 = lean_ctor_get(x_3, 1); -lean_inc(x_7); -x_8 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_7, x_2); -lean_dec(x_7); -if (lean_obj_tag(x_8) == 0) -{ -lean_object* x_9; uint8_t x_10; -lean_inc(x_2); -x_9 = lean_apply_2(x_1, x_2, x_3); -x_10 = !lean_is_exclusive(x_9); -if (x_10 == 0) -{ -lean_object* x_11; uint8_t x_12; -x_11 = lean_ctor_get(x_9, 1); -x_12 = !lean_is_exclusive(x_11); -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_13 = lean_ctor_get(x_9, 0); -x_14 = lean_ctor_get(x_11, 1); -lean_inc(x_13); -x_15 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_14, x_2, x_13); -lean_ctor_set(x_11, 1, x_15); -return x_9; -} -else -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_16 = lean_ctor_get(x_9, 0); -x_17 = lean_ctor_get(x_11, 0); -x_18 = lean_ctor_get(x_11, 1); -lean_inc(x_18); -lean_inc(x_17); -lean_dec(x_11); -lean_inc(x_16); -x_19 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_18, x_2, x_16); -x_20 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_20, 0, x_17); -lean_ctor_set(x_20, 1, x_19); -lean_ctor_set(x_9, 1, x_20); -return x_9; -} -} -else -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_21 = lean_ctor_get(x_9, 1); -x_22 = lean_ctor_get(x_9, 0); -lean_inc(x_21); -lean_inc(x_22); -lean_dec(x_9); -x_23 = lean_ctor_get(x_21, 0); -lean_inc(x_23); -x_24 = lean_ctor_get(x_21, 1); -lean_inc(x_24); -if (lean_is_exclusive(x_21)) { - lean_ctor_release(x_21, 0); - lean_ctor_release(x_21, 1); - x_25 = x_21; -} else { - lean_dec_ref(x_21); - x_25 = lean_box(0); -} -lean_inc(x_22); -x_26 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_24, x_2, x_22); -if (lean_is_scalar(x_25)) { - x_27 = lean_alloc_ctor(0, 2, 0); -} else { - x_27 = x_25; -} -lean_ctor_set(x_27, 0, x_23); -lean_ctor_set(x_27, 1, x_26); -x_28 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_28, 0, x_22); -lean_ctor_set(x_28, 1, x_27); -return x_28; -} -} -else -{ -lean_object* x_29; lean_object* x_30; -lean_dec(x_2); -lean_dec(x_1); -x_29 = lean_ctor_get(x_8, 0); -lean_inc(x_29); -lean_dec(x_8); -x_30 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_30, 0, x_29); -lean_ctor_set(x_30, 1, x_3); -return x_30; -} -} -} -else -{ -lean_object* x_31; lean_object* x_32; -x_31 = lean_ctor_get(x_3, 1); -lean_inc(x_31); -x_32 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_31, x_2); -lean_dec(x_31); -if (lean_obj_tag(x_32) == 0) -{ -lean_object* x_33; uint8_t x_34; -lean_inc(x_2); -x_33 = lean_apply_2(x_1, x_2, x_3); -x_34 = !lean_is_exclusive(x_33); -if (x_34 == 0) -{ -lean_object* x_35; uint8_t x_36; -x_35 = lean_ctor_get(x_33, 1); -x_36 = !lean_is_exclusive(x_35); -if (x_36 == 0) -{ -lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_37 = lean_ctor_get(x_33, 0); -x_38 = lean_ctor_get(x_35, 1); -lean_inc(x_37); -x_39 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_38, x_2, x_37); -lean_ctor_set(x_35, 1, x_39); -return x_33; -} -else -{ -lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; -x_40 = lean_ctor_get(x_33, 0); -x_41 = lean_ctor_get(x_35, 0); -x_42 = lean_ctor_get(x_35, 1); -lean_inc(x_42); -lean_inc(x_41); -lean_dec(x_35); -lean_inc(x_40); -x_43 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_42, x_2, x_40); -x_44 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_44, 0, x_41); -lean_ctor_set(x_44, 1, x_43); -lean_ctor_set(x_33, 1, x_44); -return x_33; -} -} -else -{ -lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; -x_45 = lean_ctor_get(x_33, 1); -x_46 = lean_ctor_get(x_33, 0); -lean_inc(x_45); -lean_inc(x_46); -lean_dec(x_33); -x_47 = lean_ctor_get(x_45, 0); -lean_inc(x_47); -x_48 = lean_ctor_get(x_45, 1); -lean_inc(x_48); -if (lean_is_exclusive(x_45)) { - lean_ctor_release(x_45, 0); - lean_ctor_release(x_45, 1); - x_49 = x_45; -} else { - lean_dec_ref(x_45); - x_49 = lean_box(0); -} -lean_inc(x_46); -x_50 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_48, x_2, x_46); -if (lean_is_scalar(x_49)) { - x_51 = lean_alloc_ctor(0, 2, 0); -} else { - x_51 = x_49; -} -lean_ctor_set(x_51, 0, x_47); -lean_ctor_set(x_51, 1, x_50); -x_52 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_52, 0, x_46); -lean_ctor_set(x_52, 1, x_51); -return x_52; -} -} -else -{ -lean_object* x_53; lean_object* x_54; -lean_dec(x_2); -lean_dec(x_1); -x_53 = lean_ctor_get(x_32, 0); -lean_inc(x_53); -lean_dec(x_32); -x_54 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_54, 0, x_53); -lean_ctor_set(x_54, 1, x_3); -return x_54; -} -} -} -} -lean_object* l_Lean_AbstractMetavarContext_InstantiateExprMVars_visit(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___rarg), 3, 0); -return x_3; -} -} -lean_object* l_AssocList_find___main___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__2___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_AssocList_find___main___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__2(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -return x_3; -} -} -lean_object* l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -return x_3; -} -} -lean_object* l_AssocList_contains___main___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__4___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; lean_object* x_4; -x_3 = l_AssocList_contains___main___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__4(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -x_4 = lean_box(x_3); -return x_4; -} -} -lean_object* l_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_visit(x_1, x_2); -lean_dec(x_2); -return x_3; -} -} -lean_object* l_Lean_AbstractMetavarContext_InstantiateExprMVars_getMCtx___rarg(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; -x_2 = lean_ctor_get(x_1, 0); -lean_inc(x_2); -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; -} -} -lean_object* l_Lean_AbstractMetavarContext_InstantiateExprMVars_getMCtx(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Lean_AbstractMetavarContext_InstantiateExprMVars_getMCtx___rarg), 1, 0); -return x_3; -} -} -lean_object* l_Lean_AbstractMetavarContext_InstantiateExprMVars_getMCtx___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_getMCtx(x_1, x_2); -lean_dec(x_2); -return x_3; -} -} -lean_object* l_Lean_AbstractMetavarContext_InstantiateExprMVars_modifyCtx___rarg(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; -x_3 = !lean_is_exclusive(x_2); -if (x_3 == 0) -{ -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_4 = lean_ctor_get(x_2, 0); -x_5 = lean_apply_1(x_1, x_4); -lean_ctor_set(x_2, 0, x_5); -x_6 = lean_box(0); -x_7 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_7, 0, x_6); -lean_ctor_set(x_7, 1, x_2); -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_2, 0); -x_9 = lean_ctor_get(x_2, 1); -lean_inc(x_9); -lean_inc(x_8); -lean_dec(x_2); -x_10 = lean_apply_1(x_1, x_8); -x_11 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_11, 0, x_10); -lean_ctor_set(x_11, 1, x_9); -x_12 = lean_box(0); -x_13 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_13, 0, x_12); -lean_ctor_set(x_13, 1, x_11); -return x_13; -} -} -} -lean_object* l_Lean_AbstractMetavarContext_InstantiateExprMVars_modifyCtx(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Lean_AbstractMetavarContext_InstantiateExprMVars_modifyCtx___rarg), 2, 0); -return x_3; -} -} -lean_object* l_Lean_AbstractMetavarContext_InstantiateExprMVars_modifyCtx___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_modifyCtx(x_1, x_2); -lean_dec(x_2); -return x_3; -} -} -lean_object* _init_l_panicWithPos___at_Lean_AbstractMetavarContext_InstantiateExprMVars_instantiateDelayedAux___main___spec__1___rarg___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Id_Monad; -x_2 = l_StateT_Monad___rarg(x_1); -return x_2; -} -} -lean_object* _init_l_panicWithPos___at_Lean_AbstractMetavarContext_InstantiateExprMVars_instantiateDelayedAux___main___spec__1___rarg___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_panicWithPos___at_Lean_AbstractMetavarContext_InstantiateExprMVars_instantiateDelayedAux___main___spec__1___rarg___closed__1; -x_3 = l_monadInhabited___rarg(x_2, x_1); -return x_3; -} -} -lean_object* l_panicWithPos___at_Lean_AbstractMetavarContext_InstantiateExprMVars_instantiateDelayedAux___main___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_6 = l_panicWithPos___rarg___closed__1; -x_7 = lean_string_append(x_6, x_1); -x_8 = l_panicWithPos___rarg___closed__2; -x_9 = lean_string_append(x_7, x_8); -x_10 = l_Nat_repr(x_2); -x_11 = lean_string_append(x_9, x_10); -lean_dec(x_10); -x_12 = l_panicWithPos___rarg___closed__2; -x_13 = lean_string_append(x_11, x_12); -x_14 = l_Nat_repr(x_3); -x_15 = lean_string_append(x_13, x_14); -lean_dec(x_14); -x_16 = l_panicWithPos___rarg___closed__3; -x_17 = lean_string_append(x_15, x_16); -x_18 = lean_string_append(x_17, x_4); -x_19 = l_panicWithPos___at_Lean_AbstractMetavarContext_InstantiateExprMVars_instantiateDelayedAux___main___spec__1___rarg___closed__2; -x_20 = lean_panic_fn(x_18); -x_21 = lean_apply_1(x_20, x_5); -return x_21; -} -} -lean_object* l_panicWithPos___at_Lean_AbstractMetavarContext_InstantiateExprMVars_instantiateDelayedAux___main___spec__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_panicWithPos___at_Lean_AbstractMetavarContext_InstantiateExprMVars_instantiateDelayedAux___main___spec__1___rarg___boxed), 5, 0); -return x_2; -} -} -lean_object* _init_l_Lean_AbstractMetavarContext_InstantiateExprMVars_instantiateDelayedAux___main___rarg___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("Init.Lean.AbstractMetavarContext"); -return x_1; -} -} -lean_object* l_Lean_AbstractMetavarContext_InstantiateExprMVars_instantiateDelayedAux___main___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; uint8_t x_9; -x_8 = lean_unsigned_to_nat(0u); -x_9 = lean_nat_dec_eq(x_5, x_8); -if (x_9 == 0) -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_10 = lean_unsigned_to_nat(1u); -x_11 = lean_nat_sub(x_5, x_10); -lean_dec(x_5); -x_12 = l_Lean_exprIsInhabited; -x_13 = lean_array_get(x_12, x_4, x_11); -lean_inc(x_3); -x_14 = l_Lean_LocalContext_findFVar(x_3, x_13); -lean_dec(x_13); -if (lean_obj_tag(x_14) == 0) -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -lean_dec(x_11); -lean_dec(x_6); -lean_dec(x_3); -lean_dec(x_2); -x_15 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_instantiateDelayedAux___main___rarg___closed__1; -x_16 = lean_unsigned_to_nat(209u); -x_17 = lean_unsigned_to_nat(12u); -x_18 = l_Nat_foldRevAux___main___at_Lean_LocalContext_mkBinding___spec__1___closed__1; -x_19 = l_panicWithPos___at_Lean_AbstractMetavarContext_InstantiateExprMVars_instantiateDelayedAux___main___spec__1___rarg(x_15, x_16, x_17, x_18, x_7); -return x_19; -} -else -{ -lean_object* x_20; -x_20 = lean_ctor_get(x_14, 0); -lean_inc(x_20); -lean_dec(x_14); -if (lean_obj_tag(x_20) == 0) -{ -lean_object* x_21; lean_object* x_22; uint8_t x_23; lean_object* x_24; lean_object* x_25; uint8_t x_36; -x_21 = lean_ctor_get(x_20, 2); -lean_inc(x_21); -x_22 = lean_ctor_get(x_20, 3); -lean_inc(x_22); -x_23 = lean_ctor_get_uint8(x_20, sizeof(void*)*4); -lean_dec(x_20); -x_36 = lean_expr_has_expr_mvar(x_22); -if (x_36 == 0) -{ -uint8_t x_37; -x_37 = lean_expr_has_level_mvar(x_22); -if (x_37 == 0) -{ -x_24 = x_22; -x_25 = x_7; -goto block_35; -} -else -{ -lean_object* x_38; lean_object* x_39; -x_38 = lean_ctor_get(x_7, 1); -lean_inc(x_38); -x_39 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_38, x_22); -lean_dec(x_38); -if (lean_obj_tag(x_39) == 0) -{ -lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; -lean_inc(x_2); -lean_inc(x_22); -x_40 = lean_apply_2(x_2, x_22, x_7); -x_41 = lean_ctor_get(x_40, 1); -lean_inc(x_41); -x_42 = lean_ctor_get(x_40, 0); -lean_inc(x_42); -lean_dec(x_40); -x_43 = !lean_is_exclusive(x_41); -if (x_43 == 0) -{ -lean_object* x_44; lean_object* x_45; -x_44 = lean_ctor_get(x_41, 1); -lean_inc(x_42); -x_45 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_44, x_22, x_42); -lean_ctor_set(x_41, 1, x_45); -x_24 = x_42; -x_25 = x_41; -goto block_35; -} -else -{ -lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; -x_46 = lean_ctor_get(x_41, 0); -x_47 = lean_ctor_get(x_41, 1); -lean_inc(x_47); -lean_inc(x_46); -lean_dec(x_41); -lean_inc(x_42); -x_48 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_47, x_22, x_42); -x_49 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_49, 0, x_46); -lean_ctor_set(x_49, 1, x_48); -x_24 = x_42; -x_25 = x_49; -goto block_35; -} -} -else -{ -lean_object* x_50; -lean_dec(x_22); -x_50 = lean_ctor_get(x_39, 0); -lean_inc(x_50); -lean_dec(x_39); -x_24 = x_50; -x_25 = x_7; -goto block_35; -} -} -} -else -{ -lean_object* x_51; lean_object* x_52; -x_51 = lean_ctor_get(x_7, 1); -lean_inc(x_51); -x_52 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_51, x_22); -lean_dec(x_51); -if (lean_obj_tag(x_52) == 0) -{ -lean_object* x_53; lean_object* x_54; lean_object* x_55; uint8_t x_56; -lean_inc(x_2); -lean_inc(x_22); -x_53 = lean_apply_2(x_2, x_22, x_7); -x_54 = lean_ctor_get(x_53, 1); -lean_inc(x_54); -x_55 = lean_ctor_get(x_53, 0); -lean_inc(x_55); -lean_dec(x_53); -x_56 = !lean_is_exclusive(x_54); -if (x_56 == 0) -{ -lean_object* x_57; lean_object* x_58; -x_57 = lean_ctor_get(x_54, 1); -lean_inc(x_55); -x_58 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_57, x_22, x_55); -lean_ctor_set(x_54, 1, x_58); -x_24 = x_55; -x_25 = x_54; -goto block_35; -} -else -{ -lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; -x_59 = lean_ctor_get(x_54, 0); -x_60 = lean_ctor_get(x_54, 1); -lean_inc(x_60); -lean_inc(x_59); -lean_dec(x_54); -lean_inc(x_55); -x_61 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_60, x_22, x_55); -x_62 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_62, 0, x_59); -lean_ctor_set(x_62, 1, x_61); -x_24 = x_55; -x_25 = x_62; -goto block_35; -} -} -else -{ -lean_object* x_63; -lean_dec(x_22); -x_63 = lean_ctor_get(x_52, 0); -lean_inc(x_63); -lean_dec(x_52); -x_24 = x_63; -x_25 = x_7; -goto block_35; -} -} -block_35: -{ -uint8_t x_26; -x_26 = lean_expr_has_expr_mvar(x_24); -if (x_26 == 0) -{ -uint8_t x_27; -x_27 = lean_expr_has_level_mvar(x_24); -if (x_27 == 0) -{ -lean_object* x_28; lean_object* x_29; -x_28 = lean_expr_abstract_range(x_24, x_11, x_4); -lean_dec(x_24); -x_29 = lean_expr_mk_lambda(x_21, x_23, x_28, x_6); -x_5 = x_11; -x_6 = x_29; -x_7 = x_25; -goto _start; -} -else -{ -lean_object* x_31; lean_object* x_32; -lean_dec(x_24); -lean_dec(x_21); -lean_dec(x_11); -lean_dec(x_6); -lean_dec(x_3); -lean_dec(x_2); -x_31 = lean_box(0); -x_32 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_32, 0, x_31); -lean_ctor_set(x_32, 1, x_25); -return x_32; -} -} -else -{ -lean_object* x_33; lean_object* x_34; -lean_dec(x_24); -lean_dec(x_21); -lean_dec(x_11); -lean_dec(x_6); -lean_dec(x_3); -lean_dec(x_2); -x_33 = lean_box(0); -x_34 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_34, 0, x_33); -lean_ctor_set(x_34, 1, x_25); -return x_34; -} -} -} -else -{ -lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; uint8_t x_117; -x_64 = lean_ctor_get(x_20, 2); -lean_inc(x_64); -x_65 = lean_ctor_get(x_20, 3); -lean_inc(x_65); -x_66 = lean_ctor_get(x_20, 4); -lean_inc(x_66); -lean_dec(x_20); -x_117 = lean_expr_has_expr_mvar(x_65); -if (x_117 == 0) -{ -uint8_t x_118; -x_118 = lean_expr_has_level_mvar(x_65); -if (x_118 == 0) -{ -x_67 = x_65; -x_68 = x_7; -goto block_116; -} -else -{ -lean_object* x_119; lean_object* x_120; -x_119 = lean_ctor_get(x_7, 1); -lean_inc(x_119); -x_120 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_119, x_65); -lean_dec(x_119); -if (lean_obj_tag(x_120) == 0) -{ -lean_object* x_121; lean_object* x_122; lean_object* x_123; uint8_t x_124; -lean_inc(x_2); -lean_inc(x_65); -x_121 = lean_apply_2(x_2, x_65, x_7); -x_122 = lean_ctor_get(x_121, 1); -lean_inc(x_122); -x_123 = lean_ctor_get(x_121, 0); -lean_inc(x_123); -lean_dec(x_121); -x_124 = !lean_is_exclusive(x_122); -if (x_124 == 0) -{ -lean_object* x_125; lean_object* x_126; -x_125 = lean_ctor_get(x_122, 1); -lean_inc(x_123); -x_126 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_125, x_65, x_123); -lean_ctor_set(x_122, 1, x_126); -x_67 = x_123; -x_68 = x_122; -goto block_116; -} -else -{ -lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; -x_127 = lean_ctor_get(x_122, 0); -x_128 = lean_ctor_get(x_122, 1); -lean_inc(x_128); -lean_inc(x_127); -lean_dec(x_122); -lean_inc(x_123); -x_129 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_128, x_65, x_123); -x_130 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_130, 0, x_127); -lean_ctor_set(x_130, 1, x_129); -x_67 = x_123; -x_68 = x_130; -goto block_116; -} -} -else -{ -lean_object* x_131; -lean_dec(x_65); -x_131 = lean_ctor_get(x_120, 0); -lean_inc(x_131); -lean_dec(x_120); -x_67 = x_131; -x_68 = x_7; -goto block_116; -} -} -} -else -{ -lean_object* x_132; lean_object* x_133; -x_132 = lean_ctor_get(x_7, 1); -lean_inc(x_132); -x_133 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_132, x_65); -lean_dec(x_132); -if (lean_obj_tag(x_133) == 0) -{ -lean_object* x_134; lean_object* x_135; lean_object* x_136; uint8_t x_137; -lean_inc(x_2); -lean_inc(x_65); -x_134 = lean_apply_2(x_2, x_65, x_7); -x_135 = lean_ctor_get(x_134, 1); -lean_inc(x_135); -x_136 = lean_ctor_get(x_134, 0); -lean_inc(x_136); -lean_dec(x_134); -x_137 = !lean_is_exclusive(x_135); -if (x_137 == 0) -{ -lean_object* x_138; lean_object* x_139; -x_138 = lean_ctor_get(x_135, 1); -lean_inc(x_136); -x_139 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_138, x_65, x_136); -lean_ctor_set(x_135, 1, x_139); -x_67 = x_136; -x_68 = x_135; -goto block_116; -} -else -{ -lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; -x_140 = lean_ctor_get(x_135, 0); -x_141 = lean_ctor_get(x_135, 1); -lean_inc(x_141); -lean_inc(x_140); -lean_dec(x_135); -lean_inc(x_136); -x_142 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_141, x_65, x_136); -x_143 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_143, 0, x_140); -lean_ctor_set(x_143, 1, x_142); -x_67 = x_136; -x_68 = x_143; -goto block_116; -} -} -else -{ -lean_object* x_144; -lean_dec(x_65); -x_144 = lean_ctor_get(x_133, 0); -lean_inc(x_144); -lean_dec(x_133); -x_67 = x_144; -x_68 = x_7; -goto block_116; -} -} -block_116: -{ -lean_object* x_69; lean_object* x_70; uint8_t x_82; -x_82 = lean_expr_has_expr_mvar(x_67); -if (x_82 == 0) -{ -uint8_t x_83; -x_83 = lean_expr_has_level_mvar(x_67); -if (x_83 == 0) -{ -uint8_t x_84; -x_84 = lean_expr_has_expr_mvar(x_66); -if (x_84 == 0) -{ -uint8_t x_85; -x_85 = lean_expr_has_level_mvar(x_66); -if (x_85 == 0) -{ -x_69 = x_66; -x_70 = x_68; -goto block_81; -} -else -{ -lean_object* x_86; lean_object* x_87; -x_86 = lean_ctor_get(x_68, 1); -lean_inc(x_86); -x_87 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_86, x_66); -lean_dec(x_86); -if (lean_obj_tag(x_87) == 0) -{ -lean_object* x_88; lean_object* x_89; lean_object* x_90; uint8_t x_91; -lean_inc(x_2); -lean_inc(x_66); -x_88 = lean_apply_2(x_2, x_66, x_68); -x_89 = lean_ctor_get(x_88, 1); -lean_inc(x_89); -x_90 = lean_ctor_get(x_88, 0); -lean_inc(x_90); -lean_dec(x_88); -x_91 = !lean_is_exclusive(x_89); -if (x_91 == 0) -{ -lean_object* x_92; lean_object* x_93; -x_92 = lean_ctor_get(x_89, 1); -lean_inc(x_90); -x_93 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_92, x_66, x_90); -lean_ctor_set(x_89, 1, x_93); -x_69 = x_90; -x_70 = x_89; -goto block_81; -} -else -{ -lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; -x_94 = lean_ctor_get(x_89, 0); -x_95 = lean_ctor_get(x_89, 1); -lean_inc(x_95); -lean_inc(x_94); -lean_dec(x_89); -lean_inc(x_90); -x_96 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_95, x_66, x_90); -x_97 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_97, 0, x_94); -lean_ctor_set(x_97, 1, x_96); -x_69 = x_90; -x_70 = x_97; -goto block_81; -} -} -else -{ -lean_object* x_98; -lean_dec(x_66); -x_98 = lean_ctor_get(x_87, 0); -lean_inc(x_98); -lean_dec(x_87); -x_69 = x_98; -x_70 = x_68; -goto block_81; -} -} -} -else -{ -lean_object* x_99; lean_object* x_100; -x_99 = lean_ctor_get(x_68, 1); -lean_inc(x_99); -x_100 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_99, x_66); -lean_dec(x_99); -if (lean_obj_tag(x_100) == 0) -{ -lean_object* x_101; lean_object* x_102; lean_object* x_103; uint8_t x_104; -lean_inc(x_2); -lean_inc(x_66); -x_101 = lean_apply_2(x_2, x_66, x_68); -x_102 = lean_ctor_get(x_101, 1); -lean_inc(x_102); -x_103 = lean_ctor_get(x_101, 0); -lean_inc(x_103); -lean_dec(x_101); -x_104 = !lean_is_exclusive(x_102); -if (x_104 == 0) -{ -lean_object* x_105; lean_object* x_106; -x_105 = lean_ctor_get(x_102, 1); -lean_inc(x_103); -x_106 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_105, x_66, x_103); -lean_ctor_set(x_102, 1, x_106); -x_69 = x_103; -x_70 = x_102; -goto block_81; -} -else -{ -lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; -x_107 = lean_ctor_get(x_102, 0); -x_108 = lean_ctor_get(x_102, 1); -lean_inc(x_108); -lean_inc(x_107); -lean_dec(x_102); -lean_inc(x_103); -x_109 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_108, x_66, x_103); -x_110 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_110, 0, x_107); -lean_ctor_set(x_110, 1, x_109); -x_69 = x_103; -x_70 = x_110; -goto block_81; -} -} -else -{ -lean_object* x_111; -lean_dec(x_66); -x_111 = lean_ctor_get(x_100, 0); -lean_inc(x_111); -lean_dec(x_100); -x_69 = x_111; -x_70 = x_68; -goto block_81; -} -} -} -else -{ -lean_object* x_112; lean_object* x_113; -lean_dec(x_67); -lean_dec(x_66); -lean_dec(x_64); -lean_dec(x_11); -lean_dec(x_6); -lean_dec(x_3); -lean_dec(x_2); -x_112 = lean_box(0); -x_113 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_113, 0, x_112); -lean_ctor_set(x_113, 1, x_68); -return x_113; -} -} -else -{ -lean_object* x_114; lean_object* x_115; -lean_dec(x_67); -lean_dec(x_66); -lean_dec(x_64); -lean_dec(x_11); -lean_dec(x_6); -lean_dec(x_3); -lean_dec(x_2); -x_114 = lean_box(0); -x_115 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_115, 0, x_114); -lean_ctor_set(x_115, 1, x_68); -return x_115; -} -block_81: -{ -uint8_t x_71; -x_71 = lean_expr_has_expr_mvar(x_69); -if (x_71 == 0) -{ -uint8_t x_72; -x_72 = lean_expr_has_level_mvar(x_69); -if (x_72 == 0) -{ -lean_object* x_73; lean_object* x_74; lean_object* x_75; -x_73 = lean_expr_abstract_range(x_67, x_11, x_4); -lean_dec(x_67); -x_74 = lean_expr_abstract_range(x_69, x_11, x_4); -lean_dec(x_69); -x_75 = lean_expr_mk_let(x_64, x_73, x_74, x_6); -x_5 = x_11; -x_6 = x_75; -x_7 = x_70; -goto _start; -} -else -{ -lean_object* x_77; lean_object* x_78; -lean_dec(x_69); -lean_dec(x_67); -lean_dec(x_64); -lean_dec(x_11); -lean_dec(x_6); -lean_dec(x_3); -lean_dec(x_2); -x_77 = lean_box(0); -x_78 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_78, 0, x_77); -lean_ctor_set(x_78, 1, x_70); -return x_78; -} -} -else -{ -lean_object* x_79; lean_object* x_80; -lean_dec(x_69); -lean_dec(x_67); -lean_dec(x_64); -lean_dec(x_11); -lean_dec(x_6); -lean_dec(x_3); -lean_dec(x_2); -x_79 = lean_box(0); -x_80 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_80, 0, x_79); -lean_ctor_set(x_80, 1, x_70); -return x_80; -} -} -} -} -} -} -else -{ -lean_object* x_145; lean_object* x_146; -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_2); -x_145 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_145, 0, x_6); -x_146 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_146, 0, x_145); -lean_ctor_set(x_146, 1, x_7); -return x_146; -} -} -} -lean_object* l_Lean_AbstractMetavarContext_InstantiateExprMVars_instantiateDelayedAux___main(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_AbstractMetavarContext_InstantiateExprMVars_instantiateDelayedAux___main___rarg___boxed), 7, 0); -return x_2; -} -} -lean_object* l_panicWithPos___at_Lean_AbstractMetavarContext_InstantiateExprMVars_instantiateDelayedAux___main___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; -x_6 = l_panicWithPos___at_Lean_AbstractMetavarContext_InstantiateExprMVars_instantiateDelayedAux___main___spec__1___rarg(x_1, x_2, x_3, x_4, x_5); -lean_dec(x_4); -lean_dec(x_1); -return x_6; -} -} -lean_object* l_Lean_AbstractMetavarContext_InstantiateExprMVars_instantiateDelayedAux___main___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_Lean_AbstractMetavarContext_InstantiateExprMVars_instantiateDelayedAux___main___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_4); -lean_dec(x_1); -return x_8; -} -} -lean_object* l_Lean_AbstractMetavarContext_InstantiateExprMVars_instantiateDelayedAux___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; -x_8 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_instantiateDelayedAux___main___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -return x_8; -} -} -lean_object* l_Lean_AbstractMetavarContext_InstantiateExprMVars_instantiateDelayedAux(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_AbstractMetavarContext_InstantiateExprMVars_instantiateDelayedAux___rarg___boxed), 7, 0); -return x_2; -} -} -lean_object* l_Lean_AbstractMetavarContext_InstantiateExprMVars_instantiateDelayedAux___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_Lean_AbstractMetavarContext_InstantiateExprMVars_instantiateDelayedAux___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_4); -lean_dec(x_1); -return x_8; -} -} -lean_object* l_Lean_AbstractMetavarContext_InstantiateExprMVars_instantiateDelayed___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_95; -x_6 = lean_ctor_get(x_4, 0); -lean_inc(x_6); -x_7 = lean_ctor_get(x_4, 1); -lean_inc(x_7); -x_8 = lean_ctor_get(x_4, 2); -lean_inc(x_8); -lean_dec(x_4); -x_95 = lean_expr_has_expr_mvar(x_8); -if (x_95 == 0) -{ -uint8_t x_96; -x_96 = lean_expr_has_level_mvar(x_8); -if (x_96 == 0) -{ -x_9 = x_8; -x_10 = x_5; -goto block_94; -} -else -{ -lean_object* x_97; lean_object* x_98; -x_97 = lean_ctor_get(x_5, 1); -lean_inc(x_97); -x_98 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_97, x_8); -lean_dec(x_97); -if (lean_obj_tag(x_98) == 0) -{ -lean_object* x_99; lean_object* x_100; lean_object* x_101; uint8_t x_102; -lean_inc(x_2); -lean_inc(x_8); -x_99 = lean_apply_2(x_2, x_8, x_5); -x_100 = lean_ctor_get(x_99, 1); -lean_inc(x_100); -x_101 = lean_ctor_get(x_99, 0); -lean_inc(x_101); -lean_dec(x_99); -x_102 = !lean_is_exclusive(x_100); -if (x_102 == 0) -{ -lean_object* x_103; lean_object* x_104; -x_103 = lean_ctor_get(x_100, 1); -lean_inc(x_101); -x_104 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_103, x_8, x_101); -lean_ctor_set(x_100, 1, x_104); -x_9 = x_101; -x_10 = x_100; -goto block_94; -} -else -{ -lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; -x_105 = lean_ctor_get(x_100, 0); -x_106 = lean_ctor_get(x_100, 1); -lean_inc(x_106); -lean_inc(x_105); -lean_dec(x_100); -lean_inc(x_101); -x_107 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_106, x_8, x_101); -x_108 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_108, 0, x_105); -lean_ctor_set(x_108, 1, x_107); -x_9 = x_101; -x_10 = x_108; -goto block_94; -} -} -else -{ -lean_object* x_109; -lean_dec(x_8); -x_109 = lean_ctor_get(x_98, 0); -lean_inc(x_109); -lean_dec(x_98); -x_9 = x_109; -x_10 = x_5; -goto block_94; -} -} -} -else -{ -lean_object* x_110; lean_object* x_111; -x_110 = lean_ctor_get(x_5, 1); -lean_inc(x_110); -x_111 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_110, x_8); -lean_dec(x_110); -if (lean_obj_tag(x_111) == 0) -{ -lean_object* x_112; lean_object* x_113; lean_object* x_114; uint8_t x_115; -lean_inc(x_2); -lean_inc(x_8); -x_112 = lean_apply_2(x_2, x_8, x_5); -x_113 = lean_ctor_get(x_112, 1); -lean_inc(x_113); -x_114 = lean_ctor_get(x_112, 0); -lean_inc(x_114); -lean_dec(x_112); -x_115 = !lean_is_exclusive(x_113); -if (x_115 == 0) -{ -lean_object* x_116; lean_object* x_117; -x_116 = lean_ctor_get(x_113, 1); -lean_inc(x_114); -x_117 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_116, x_8, x_114); -lean_ctor_set(x_113, 1, x_117); -x_9 = x_114; -x_10 = x_113; -goto block_94; -} -else -{ -lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; -x_118 = lean_ctor_get(x_113, 0); -x_119 = lean_ctor_get(x_113, 1); -lean_inc(x_119); -lean_inc(x_118); -lean_dec(x_113); -lean_inc(x_114); -x_120 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_119, x_8, x_114); -x_121 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_121, 0, x_118); -lean_ctor_set(x_121, 1, x_120); -x_9 = x_114; -x_10 = x_121; -goto block_94; -} -} -else -{ -lean_object* x_122; -lean_dec(x_8); -x_122 = lean_ctor_get(x_111, 0); -lean_inc(x_122); -lean_dec(x_111); -x_9 = x_122; -x_10 = x_5; -goto block_94; -} -} -block_94: -{ -uint8_t x_11; -x_11 = lean_expr_has_expr_mvar(x_9); -if (x_11 == 0) -{ -uint8_t x_12; -x_12 = lean_expr_has_level_mvar(x_9); -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_13 = lean_array_get_size(x_7); -x_14 = lean_expr_abstract(x_9, x_7); -lean_inc(x_6); -x_15 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_instantiateDelayedAux___main___rarg(x_1, x_2, x_6, x_7, x_13, x_14, x_10); -x_16 = lean_ctor_get(x_15, 0); -lean_inc(x_16); -if (lean_obj_tag(x_16) == 0) -{ -uint8_t x_17; -x_17 = !lean_is_exclusive(x_15); -if (x_17 == 0) -{ -lean_object* x_18; lean_object* x_19; uint8_t x_20; -x_18 = lean_ctor_get(x_15, 1); -x_19 = lean_ctor_get(x_15, 0); -lean_dec(x_19); -x_20 = !lean_is_exclusive(x_18); -if (x_20 == 0) -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_21 = lean_ctor_get(x_18, 0); -x_22 = lean_ctor_get(x_1, 8); -lean_inc(x_22); -lean_dec(x_1); -x_23 = lean_apply_5(x_22, x_21, x_3, x_6, x_7, x_9); -lean_ctor_set(x_18, 0, x_23); -x_24 = lean_box(0); -lean_ctor_set(x_15, 0, x_24); -return x_15; -} -else -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_25 = lean_ctor_get(x_18, 0); -x_26 = lean_ctor_get(x_18, 1); -lean_inc(x_26); -lean_inc(x_25); -lean_dec(x_18); -x_27 = lean_ctor_get(x_1, 8); -lean_inc(x_27); -lean_dec(x_1); -x_28 = lean_apply_5(x_27, x_25, x_3, x_6, x_7, x_9); -x_29 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_29, 0, x_28); -lean_ctor_set(x_29, 1, x_26); -x_30 = lean_box(0); -lean_ctor_set(x_15, 1, x_29); -lean_ctor_set(x_15, 0, x_30); -return x_15; -} -} -else -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_31 = lean_ctor_get(x_15, 1); -lean_inc(x_31); -lean_dec(x_15); -x_32 = lean_ctor_get(x_31, 0); -lean_inc(x_32); -x_33 = lean_ctor_get(x_31, 1); -lean_inc(x_33); -if (lean_is_exclusive(x_31)) { - lean_ctor_release(x_31, 0); - lean_ctor_release(x_31, 1); - x_34 = x_31; -} else { - lean_dec_ref(x_31); - x_34 = lean_box(0); -} -x_35 = lean_ctor_get(x_1, 8); -lean_inc(x_35); -lean_dec(x_1); -x_36 = lean_apply_5(x_35, x_32, x_3, x_6, x_7, x_9); -if (lean_is_scalar(x_34)) { - x_37 = lean_alloc_ctor(0, 2, 0); -} else { - x_37 = x_34; -} -lean_ctor_set(x_37, 0, x_36); -lean_ctor_set(x_37, 1, x_33); -x_38 = lean_box(0); -x_39 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_39, 0, x_38); -lean_ctor_set(x_39, 1, x_37); -return x_39; -} -} -else -{ -uint8_t x_40; -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -x_40 = !lean_is_exclusive(x_15); -if (x_40 == 0) -{ -lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44; -x_41 = lean_ctor_get(x_15, 1); -x_42 = lean_ctor_get(x_15, 0); -lean_dec(x_42); -x_43 = lean_ctor_get(x_16, 0); -lean_inc(x_43); -x_44 = !lean_is_exclusive(x_41); -if (x_44 == 0) -{ -lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; -x_45 = lean_ctor_get(x_41, 0); -x_46 = lean_ctor_get(x_1, 6); -lean_inc(x_46); -x_47 = lean_ctor_get(x_1, 10); -lean_inc(x_47); -lean_dec(x_1); -lean_inc(x_3); -x_48 = lean_apply_2(x_47, x_45, x_3); -x_49 = lean_apply_3(x_46, x_48, x_3, x_43); -lean_ctor_set(x_41, 0, x_49); -return x_15; -} -else -{ -lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; -x_50 = lean_ctor_get(x_41, 0); -x_51 = lean_ctor_get(x_41, 1); -lean_inc(x_51); -lean_inc(x_50); -lean_dec(x_41); -x_52 = lean_ctor_get(x_1, 6); -lean_inc(x_52); -x_53 = lean_ctor_get(x_1, 10); -lean_inc(x_53); -lean_dec(x_1); -lean_inc(x_3); -x_54 = lean_apply_2(x_53, x_50, x_3); -x_55 = lean_apply_3(x_52, x_54, x_3, x_43); -x_56 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_56, 0, x_55); -lean_ctor_set(x_56, 1, x_51); -lean_ctor_set(x_15, 1, x_56); -return x_15; -} -} -else -{ -lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; -x_57 = lean_ctor_get(x_15, 1); -lean_inc(x_57); -lean_dec(x_15); -x_58 = lean_ctor_get(x_16, 0); -lean_inc(x_58); -x_59 = lean_ctor_get(x_57, 0); -lean_inc(x_59); -x_60 = lean_ctor_get(x_57, 1); -lean_inc(x_60); -if (lean_is_exclusive(x_57)) { - lean_ctor_release(x_57, 0); - lean_ctor_release(x_57, 1); - x_61 = x_57; -} else { - lean_dec_ref(x_57); - x_61 = lean_box(0); -} -x_62 = lean_ctor_get(x_1, 6); -lean_inc(x_62); -x_63 = lean_ctor_get(x_1, 10); -lean_inc(x_63); -lean_dec(x_1); -lean_inc(x_3); -x_64 = lean_apply_2(x_63, x_59, x_3); -x_65 = lean_apply_3(x_62, x_64, x_3, x_58); -if (lean_is_scalar(x_61)) { - x_66 = lean_alloc_ctor(0, 2, 0); -} else { - x_66 = x_61; -} -lean_ctor_set(x_66, 0, x_65); -lean_ctor_set(x_66, 1, x_60); -x_67 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_67, 0, x_16); -lean_ctor_set(x_67, 1, x_66); -return x_67; -} -} -} -else -{ -uint8_t x_68; -lean_dec(x_2); -x_68 = !lean_is_exclusive(x_10); -if (x_68 == 0) -{ -lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; -x_69 = lean_ctor_get(x_10, 0); -x_70 = lean_ctor_get(x_1, 8); -lean_inc(x_70); -lean_dec(x_1); -x_71 = lean_apply_5(x_70, x_69, x_3, x_6, x_7, x_9); -lean_ctor_set(x_10, 0, x_71); -x_72 = lean_box(0); -x_73 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_73, 0, x_72); -lean_ctor_set(x_73, 1, x_10); -return x_73; -} -else -{ -lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; -x_74 = lean_ctor_get(x_10, 0); -x_75 = lean_ctor_get(x_10, 1); -lean_inc(x_75); -lean_inc(x_74); -lean_dec(x_10); -x_76 = lean_ctor_get(x_1, 8); -lean_inc(x_76); -lean_dec(x_1); -x_77 = lean_apply_5(x_76, x_74, x_3, x_6, x_7, x_9); -x_78 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_78, 0, x_77); -lean_ctor_set(x_78, 1, x_75); -x_79 = lean_box(0); -x_80 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_80, 0, x_79); -lean_ctor_set(x_80, 1, x_78); -return x_80; -} -} -} -else -{ -uint8_t x_81; -lean_dec(x_2); -x_81 = !lean_is_exclusive(x_10); -if (x_81 == 0) -{ -lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; -x_82 = lean_ctor_get(x_10, 0); -x_83 = lean_ctor_get(x_1, 8); -lean_inc(x_83); -lean_dec(x_1); -x_84 = lean_apply_5(x_83, x_82, x_3, x_6, x_7, x_9); -lean_ctor_set(x_10, 0, x_84); -x_85 = lean_box(0); -x_86 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_86, 0, x_85); -lean_ctor_set(x_86, 1, x_10); -return x_86; -} -else -{ -lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; -x_87 = lean_ctor_get(x_10, 0); -x_88 = lean_ctor_get(x_10, 1); -lean_inc(x_88); -lean_inc(x_87); -lean_dec(x_10); -x_89 = lean_ctor_get(x_1, 8); -lean_inc(x_89); -lean_dec(x_1); -x_90 = lean_apply_5(x_89, x_87, x_3, x_6, x_7, x_9); -x_91 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_91, 0, x_90); -lean_ctor_set(x_91, 1, x_88); -x_92 = lean_box(0); -x_93 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_93, 0, x_92); -lean_ctor_set(x_93, 1, x_91); -return x_93; -} -} -} -} -} -lean_object* l_Lean_AbstractMetavarContext_InstantiateExprMVars_instantiateDelayed(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_AbstractMetavarContext_InstantiateExprMVars_instantiateDelayed___rarg), 5, 0); -return x_2; -} -} -lean_object* l_panicWithPos___at_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___spec__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_6 = l_panicWithPos___rarg___closed__1; -x_7 = lean_string_append(x_6, x_1); -x_8 = l_panicWithPos___rarg___closed__2; -x_9 = lean_string_append(x_7, x_8); -x_10 = l_Nat_repr(x_2); -x_11 = lean_string_append(x_9, x_10); -lean_dec(x_10); -x_12 = l_panicWithPos___rarg___closed__2; -x_13 = lean_string_append(x_11, x_12); -x_14 = l_Nat_repr(x_3); -x_15 = lean_string_append(x_13, x_14); -lean_dec(x_14); -x_16 = l_panicWithPos___rarg___closed__3; -x_17 = lean_string_append(x_15, x_16); -x_18 = lean_string_append(x_17, x_4); -x_19 = l_panicWithPos___at_Lean_AbstractMetavarContext_InstantiateExprMVars_instantiateDelayedAux___main___spec__1___rarg___closed__2; -x_20 = lean_panic_fn(x_18); -x_21 = lean_apply_1(x_20, x_5); -return x_21; -} -} -lean_object* l_panicWithPos___at_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___spec__2(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_panicWithPos___at_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___spec__2___rarg___boxed), 5, 0); -return x_2; -} -} -lean_object* l_Lean_AbstractMetavarContext_InstantiateExprMVars_instantiateDelayedAux___main___at_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; uint8_t x_8; -x_7 = lean_unsigned_to_nat(0u); -x_8 = lean_nat_dec_eq(x_4, x_7); -if (x_8 == 0) -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; -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_12 = lean_array_get(x_11, x_3, x_10); -lean_inc(x_2); -x_13 = l_Lean_LocalContext_findFVar(x_2, x_12); -lean_dec(x_12); -if (lean_obj_tag(x_13) == 0) -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -lean_dec(x_10); -lean_dec(x_5); -lean_dec(x_2); -lean_dec(x_1); -x_14 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_instantiateDelayedAux___main___rarg___closed__1; -x_15 = lean_unsigned_to_nat(209u); -x_16 = lean_unsigned_to_nat(12u); -x_17 = l_Nat_foldRevAux___main___at_Lean_LocalContext_mkBinding___spec__1___closed__1; -x_18 = l_panicWithPos___at_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___spec__2___rarg(x_14, x_15, x_16, x_17, x_6); -return x_18; -} -else -{ -lean_object* x_19; -x_19 = lean_ctor_get(x_13, 0); -lean_inc(x_19); -lean_dec(x_13); -if (lean_obj_tag(x_19) == 0) -{ -lean_object* x_20; lean_object* x_21; uint8_t x_22; lean_object* x_23; lean_object* x_24; uint8_t x_35; -x_20 = lean_ctor_get(x_19, 2); -lean_inc(x_20); -x_21 = lean_ctor_get(x_19, 3); -lean_inc(x_21); -x_22 = lean_ctor_get_uint8(x_19, sizeof(void*)*4); -lean_dec(x_19); -x_35 = lean_expr_has_expr_mvar(x_21); -if (x_35 == 0) -{ -uint8_t x_36; -x_36 = lean_expr_has_level_mvar(x_21); -if (x_36 == 0) -{ -x_23 = x_21; -x_24 = x_6; -goto block_34; -} -else -{ -lean_object* x_37; lean_object* x_38; -x_37 = lean_ctor_get(x_6, 1); -lean_inc(x_37); -x_38 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_37, x_21); -lean_dec(x_37); -if (lean_obj_tag(x_38) == 0) -{ -lean_object* x_39; lean_object* x_40; lean_object* x_41; uint8_t x_42; -lean_inc(x_21); -lean_inc(x_1); -x_39 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___rarg(x_1, x_21, x_6); -x_40 = lean_ctor_get(x_39, 1); -lean_inc(x_40); -x_41 = lean_ctor_get(x_39, 0); -lean_inc(x_41); -lean_dec(x_39); -x_42 = !lean_is_exclusive(x_40); -if (x_42 == 0) -{ -lean_object* x_43; lean_object* x_44; -x_43 = lean_ctor_get(x_40, 1); -lean_inc(x_41); -x_44 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_43, x_21, x_41); -lean_ctor_set(x_40, 1, x_44); -x_23 = x_41; -x_24 = x_40; -goto block_34; -} -else -{ -lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_45 = lean_ctor_get(x_40, 0); -x_46 = lean_ctor_get(x_40, 1); -lean_inc(x_46); -lean_inc(x_45); -lean_dec(x_40); -lean_inc(x_41); -x_47 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_46, x_21, x_41); -x_48 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_48, 0, x_45); -lean_ctor_set(x_48, 1, x_47); -x_23 = x_41; -x_24 = x_48; -goto block_34; -} -} -else -{ -lean_object* x_49; -lean_dec(x_21); -x_49 = lean_ctor_get(x_38, 0); -lean_inc(x_49); -lean_dec(x_38); -x_23 = x_49; -x_24 = x_6; -goto block_34; -} -} -} -else -{ -lean_object* x_50; lean_object* x_51; -x_50 = lean_ctor_get(x_6, 1); -lean_inc(x_50); -x_51 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_50, x_21); -lean_dec(x_50); -if (lean_obj_tag(x_51) == 0) -{ -lean_object* x_52; lean_object* x_53; lean_object* x_54; uint8_t x_55; -lean_inc(x_21); -lean_inc(x_1); -x_52 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___rarg(x_1, x_21, x_6); -x_53 = lean_ctor_get(x_52, 1); -lean_inc(x_53); -x_54 = lean_ctor_get(x_52, 0); -lean_inc(x_54); -lean_dec(x_52); -x_55 = !lean_is_exclusive(x_53); -if (x_55 == 0) -{ -lean_object* x_56; lean_object* x_57; -x_56 = lean_ctor_get(x_53, 1); -lean_inc(x_54); -x_57 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_56, x_21, x_54); -lean_ctor_set(x_53, 1, x_57); -x_23 = x_54; -x_24 = x_53; -goto block_34; -} -else -{ -lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; -x_58 = lean_ctor_get(x_53, 0); -x_59 = lean_ctor_get(x_53, 1); -lean_inc(x_59); -lean_inc(x_58); -lean_dec(x_53); -lean_inc(x_54); -x_60 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_59, x_21, x_54); -x_61 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_61, 0, x_58); -lean_ctor_set(x_61, 1, x_60); -x_23 = x_54; -x_24 = x_61; -goto block_34; -} -} -else -{ -lean_object* x_62; -lean_dec(x_21); -x_62 = lean_ctor_get(x_51, 0); -lean_inc(x_62); -lean_dec(x_51); -x_23 = x_62; -x_24 = x_6; -goto block_34; -} -} -block_34: -{ -uint8_t x_25; -x_25 = lean_expr_has_expr_mvar(x_23); -if (x_25 == 0) -{ -uint8_t x_26; -x_26 = lean_expr_has_level_mvar(x_23); -if (x_26 == 0) -{ -lean_object* x_27; lean_object* x_28; -x_27 = lean_expr_abstract_range(x_23, x_10, x_3); -lean_dec(x_23); -x_28 = lean_expr_mk_lambda(x_20, x_22, x_27, x_5); -x_4 = x_10; -x_5 = x_28; -x_6 = x_24; -goto _start; -} -else -{ -lean_object* x_30; lean_object* x_31; -lean_dec(x_23); -lean_dec(x_20); -lean_dec(x_10); -lean_dec(x_5); -lean_dec(x_2); -lean_dec(x_1); -x_30 = lean_box(0); -x_31 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_31, 0, x_30); -lean_ctor_set(x_31, 1, x_24); -return x_31; -} -} -else -{ -lean_object* x_32; lean_object* x_33; -lean_dec(x_23); -lean_dec(x_20); -lean_dec(x_10); -lean_dec(x_5); -lean_dec(x_2); -lean_dec(x_1); -x_32 = lean_box(0); -x_33 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_33, 0, x_32); -lean_ctor_set(x_33, 1, x_24); -return x_33; -} -} -} -else -{ -lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; uint8_t x_116; -x_63 = lean_ctor_get(x_19, 2); -lean_inc(x_63); -x_64 = lean_ctor_get(x_19, 3); -lean_inc(x_64); -x_65 = lean_ctor_get(x_19, 4); -lean_inc(x_65); -lean_dec(x_19); -x_116 = lean_expr_has_expr_mvar(x_64); -if (x_116 == 0) -{ -uint8_t x_117; -x_117 = lean_expr_has_level_mvar(x_64); -if (x_117 == 0) -{ -x_66 = x_64; -x_67 = x_6; -goto block_115; -} -else -{ -lean_object* x_118; lean_object* x_119; -x_118 = lean_ctor_get(x_6, 1); -lean_inc(x_118); -x_119 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_118, x_64); -lean_dec(x_118); -if (lean_obj_tag(x_119) == 0) -{ -lean_object* x_120; lean_object* x_121; lean_object* x_122; uint8_t x_123; -lean_inc(x_64); -lean_inc(x_1); -x_120 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___rarg(x_1, x_64, x_6); -x_121 = lean_ctor_get(x_120, 1); -lean_inc(x_121); -x_122 = lean_ctor_get(x_120, 0); -lean_inc(x_122); -lean_dec(x_120); -x_123 = !lean_is_exclusive(x_121); -if (x_123 == 0) -{ -lean_object* x_124; lean_object* x_125; -x_124 = lean_ctor_get(x_121, 1); -lean_inc(x_122); -x_125 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_124, x_64, x_122); -lean_ctor_set(x_121, 1, x_125); -x_66 = x_122; -x_67 = x_121; -goto block_115; -} -else -{ -lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; -x_126 = lean_ctor_get(x_121, 0); -x_127 = lean_ctor_get(x_121, 1); -lean_inc(x_127); -lean_inc(x_126); -lean_dec(x_121); -lean_inc(x_122); -x_128 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_127, x_64, x_122); -x_129 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_129, 0, x_126); -lean_ctor_set(x_129, 1, x_128); -x_66 = x_122; -x_67 = x_129; -goto block_115; -} -} -else -{ -lean_object* x_130; -lean_dec(x_64); -x_130 = lean_ctor_get(x_119, 0); -lean_inc(x_130); -lean_dec(x_119); -x_66 = x_130; -x_67 = x_6; -goto block_115; -} -} -} -else -{ -lean_object* x_131; lean_object* x_132; -x_131 = lean_ctor_get(x_6, 1); -lean_inc(x_131); -x_132 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_131, x_64); -lean_dec(x_131); -if (lean_obj_tag(x_132) == 0) -{ -lean_object* x_133; lean_object* x_134; lean_object* x_135; uint8_t x_136; -lean_inc(x_64); -lean_inc(x_1); -x_133 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___rarg(x_1, x_64, x_6); -x_134 = lean_ctor_get(x_133, 1); -lean_inc(x_134); -x_135 = lean_ctor_get(x_133, 0); -lean_inc(x_135); -lean_dec(x_133); -x_136 = !lean_is_exclusive(x_134); -if (x_136 == 0) -{ -lean_object* x_137; lean_object* x_138; -x_137 = lean_ctor_get(x_134, 1); -lean_inc(x_135); -x_138 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_137, x_64, x_135); -lean_ctor_set(x_134, 1, x_138); -x_66 = x_135; -x_67 = x_134; -goto block_115; -} -else -{ -lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; -x_139 = lean_ctor_get(x_134, 0); -x_140 = lean_ctor_get(x_134, 1); -lean_inc(x_140); -lean_inc(x_139); -lean_dec(x_134); -lean_inc(x_135); -x_141 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_140, x_64, x_135); -x_142 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_142, 0, x_139); -lean_ctor_set(x_142, 1, x_141); -x_66 = x_135; -x_67 = x_142; -goto block_115; -} -} -else -{ -lean_object* x_143; -lean_dec(x_64); -x_143 = lean_ctor_get(x_132, 0); -lean_inc(x_143); -lean_dec(x_132); -x_66 = x_143; -x_67 = x_6; -goto block_115; -} -} -block_115: -{ -lean_object* x_68; lean_object* x_69; uint8_t x_81; -x_81 = lean_expr_has_expr_mvar(x_66); -if (x_81 == 0) -{ -uint8_t x_82; -x_82 = lean_expr_has_level_mvar(x_66); -if (x_82 == 0) -{ -uint8_t x_83; -x_83 = lean_expr_has_expr_mvar(x_65); -if (x_83 == 0) -{ -uint8_t x_84; -x_84 = lean_expr_has_level_mvar(x_65); -if (x_84 == 0) -{ -x_68 = x_65; -x_69 = x_67; -goto block_80; -} -else -{ -lean_object* x_85; lean_object* x_86; -x_85 = lean_ctor_get(x_67, 1); -lean_inc(x_85); -x_86 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_85, x_65); -lean_dec(x_85); -if (lean_obj_tag(x_86) == 0) -{ -lean_object* x_87; lean_object* x_88; lean_object* x_89; uint8_t x_90; -lean_inc(x_65); -lean_inc(x_1); -x_87 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___rarg(x_1, x_65, x_67); -x_88 = lean_ctor_get(x_87, 1); -lean_inc(x_88); -x_89 = lean_ctor_get(x_87, 0); -lean_inc(x_89); -lean_dec(x_87); -x_90 = !lean_is_exclusive(x_88); -if (x_90 == 0) -{ -lean_object* x_91; lean_object* x_92; -x_91 = lean_ctor_get(x_88, 1); -lean_inc(x_89); -x_92 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_91, x_65, x_89); -lean_ctor_set(x_88, 1, x_92); -x_68 = x_89; -x_69 = x_88; -goto block_80; -} -else -{ -lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; -x_93 = lean_ctor_get(x_88, 0); -x_94 = lean_ctor_get(x_88, 1); -lean_inc(x_94); -lean_inc(x_93); -lean_dec(x_88); -lean_inc(x_89); -x_95 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_94, x_65, x_89); -x_96 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_96, 0, x_93); -lean_ctor_set(x_96, 1, x_95); -x_68 = x_89; -x_69 = x_96; -goto block_80; -} -} -else -{ -lean_object* x_97; -lean_dec(x_65); -x_97 = lean_ctor_get(x_86, 0); -lean_inc(x_97); -lean_dec(x_86); -x_68 = x_97; -x_69 = x_67; -goto block_80; -} -} -} -else -{ -lean_object* x_98; lean_object* x_99; -x_98 = lean_ctor_get(x_67, 1); -lean_inc(x_98); -x_99 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_98, x_65); -lean_dec(x_98); -if (lean_obj_tag(x_99) == 0) -{ -lean_object* x_100; lean_object* x_101; lean_object* x_102; uint8_t x_103; -lean_inc(x_65); -lean_inc(x_1); -x_100 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___rarg(x_1, x_65, x_67); -x_101 = lean_ctor_get(x_100, 1); -lean_inc(x_101); -x_102 = lean_ctor_get(x_100, 0); -lean_inc(x_102); -lean_dec(x_100); -x_103 = !lean_is_exclusive(x_101); -if (x_103 == 0) -{ -lean_object* x_104; lean_object* x_105; -x_104 = lean_ctor_get(x_101, 1); -lean_inc(x_102); -x_105 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_104, x_65, x_102); -lean_ctor_set(x_101, 1, x_105); -x_68 = x_102; -x_69 = x_101; -goto block_80; -} -else -{ -lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; -x_106 = lean_ctor_get(x_101, 0); -x_107 = lean_ctor_get(x_101, 1); -lean_inc(x_107); -lean_inc(x_106); -lean_dec(x_101); -lean_inc(x_102); -x_108 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_107, x_65, x_102); -x_109 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_109, 0, x_106); -lean_ctor_set(x_109, 1, x_108); -x_68 = x_102; -x_69 = x_109; -goto block_80; -} -} -else -{ -lean_object* x_110; -lean_dec(x_65); -x_110 = lean_ctor_get(x_99, 0); -lean_inc(x_110); -lean_dec(x_99); -x_68 = x_110; -x_69 = x_67; -goto block_80; -} -} -} -else -{ -lean_object* x_111; lean_object* x_112; -lean_dec(x_66); -lean_dec(x_65); -lean_dec(x_63); -lean_dec(x_10); -lean_dec(x_5); -lean_dec(x_2); -lean_dec(x_1); -x_111 = lean_box(0); -x_112 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_112, 0, x_111); -lean_ctor_set(x_112, 1, x_67); -return x_112; -} -} -else -{ -lean_object* x_113; lean_object* x_114; -lean_dec(x_66); -lean_dec(x_65); -lean_dec(x_63); -lean_dec(x_10); -lean_dec(x_5); -lean_dec(x_2); -lean_dec(x_1); -x_113 = lean_box(0); -x_114 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_114, 0, x_113); -lean_ctor_set(x_114, 1, x_67); -return x_114; -} -block_80: -{ -uint8_t x_70; -x_70 = lean_expr_has_expr_mvar(x_68); -if (x_70 == 0) -{ -uint8_t x_71; -x_71 = lean_expr_has_level_mvar(x_68); -if (x_71 == 0) -{ -lean_object* x_72; lean_object* x_73; lean_object* x_74; -x_72 = lean_expr_abstract_range(x_66, x_10, x_3); -lean_dec(x_66); -x_73 = lean_expr_abstract_range(x_68, x_10, x_3); -lean_dec(x_68); -x_74 = lean_expr_mk_let(x_63, x_72, x_73, x_5); -x_4 = x_10; -x_5 = x_74; -x_6 = x_69; -goto _start; -} -else -{ -lean_object* x_76; lean_object* x_77; -lean_dec(x_68); -lean_dec(x_66); -lean_dec(x_63); -lean_dec(x_10); -lean_dec(x_5); -lean_dec(x_2); -lean_dec(x_1); -x_76 = lean_box(0); -x_77 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_77, 0, x_76); -lean_ctor_set(x_77, 1, x_69); -return x_77; -} -} -else -{ -lean_object* x_78; lean_object* x_79; -lean_dec(x_68); -lean_dec(x_66); -lean_dec(x_63); -lean_dec(x_10); -lean_dec(x_5); -lean_dec(x_2); -lean_dec(x_1); -x_78 = lean_box(0); -x_79 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_79, 0, x_78); -lean_ctor_set(x_79, 1, x_69); -return x_79; -} -} -} -} -} -} -else -{ -lean_object* x_144; lean_object* x_145; -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_144 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_144, 0, x_5); -x_145 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_145, 0, x_144); -lean_ctor_set(x_145, 1, x_6); -return x_145; -} -} -} -lean_object* l_Lean_AbstractMetavarContext_InstantiateExprMVars_instantiateDelayedAux___main___at_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___spec__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_AbstractMetavarContext_InstantiateExprMVars_instantiateDelayedAux___main___at_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___spec__1___rarg___boxed), 6, 0); -return x_2; -} -} -lean_object* l_List_mapM___main___at_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___spec__3___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -if (lean_obj_tag(x_2) == 0) -{ -lean_object* x_4; lean_object* x_5; -lean_dec(x_1); -x_4 = lean_box(0); -x_5 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_5, 0, x_4); -lean_ctor_set(x_5, 1, x_3); -return x_5; -} -else -{ -uint8_t x_6; -x_6 = !lean_is_exclusive(x_2); -if (x_6 == 0) -{ -uint8_t x_7; -x_7 = !lean_is_exclusive(x_3); -if (x_7 == 0) -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; -x_8 = lean_ctor_get(x_2, 0); -x_9 = lean_ctor_get(x_2, 1); -x_10 = lean_ctor_get(x_3, 0); -lean_inc(x_1); -x_11 = l_Lean_AbstractMetavarContext_instantiateLevelMVars___main___rarg(x_1, x_8, x_10); -x_12 = lean_ctor_get(x_11, 0); -lean_inc(x_12); -x_13 = lean_ctor_get(x_11, 1); -lean_inc(x_13); -lean_dec(x_11); -lean_ctor_set(x_3, 0, x_13); -x_14 = l_List_mapM___main___at_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___spec__3___rarg(x_1, x_9, x_3); -x_15 = !lean_is_exclusive(x_14); -if (x_15 == 0) -{ -lean_object* x_16; -x_16 = lean_ctor_get(x_14, 0); -lean_ctor_set(x_2, 1, x_16); -lean_ctor_set(x_2, 0, x_12); -lean_ctor_set(x_14, 0, x_2); -return x_14; -} -else -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_17 = lean_ctor_get(x_14, 0); -x_18 = lean_ctor_get(x_14, 1); -lean_inc(x_18); -lean_inc(x_17); -lean_dec(x_14); -lean_ctor_set(x_2, 1, x_17); -lean_ctor_set(x_2, 0, x_12); -x_19 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_19, 0, x_2); -lean_ctor_set(x_19, 1, x_18); -return x_19; -} -} -else -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_20 = lean_ctor_get(x_2, 0); -x_21 = lean_ctor_get(x_2, 1); -x_22 = lean_ctor_get(x_3, 0); -x_23 = lean_ctor_get(x_3, 1); -lean_inc(x_23); -lean_inc(x_22); -lean_dec(x_3); -lean_inc(x_1); -x_24 = l_Lean_AbstractMetavarContext_instantiateLevelMVars___main___rarg(x_1, x_20, x_22); -x_25 = lean_ctor_get(x_24, 0); -lean_inc(x_25); -x_26 = lean_ctor_get(x_24, 1); -lean_inc(x_26); -lean_dec(x_24); -x_27 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_27, 0, x_26); -lean_ctor_set(x_27, 1, x_23); -x_28 = l_List_mapM___main___at_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___spec__3___rarg(x_1, x_21, x_27); -x_29 = lean_ctor_get(x_28, 0); -lean_inc(x_29); -x_30 = lean_ctor_get(x_28, 1); -lean_inc(x_30); -if (lean_is_exclusive(x_28)) { - lean_ctor_release(x_28, 0); - lean_ctor_release(x_28, 1); - x_31 = x_28; -} else { - lean_dec_ref(x_28); - x_31 = lean_box(0); -} -lean_ctor_set(x_2, 1, x_29); -lean_ctor_set(x_2, 0, x_25); -if (lean_is_scalar(x_31)) { - x_32 = lean_alloc_ctor(0, 2, 0); -} else { - x_32 = x_31; -} -lean_ctor_set(x_32, 0, x_2); -lean_ctor_set(x_32, 1, x_30); -return x_32; -} -} -else -{ -lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_33 = lean_ctor_get(x_2, 0); -x_34 = lean_ctor_get(x_2, 1); -lean_inc(x_34); -lean_inc(x_33); -lean_dec(x_2); -x_35 = lean_ctor_get(x_3, 0); -lean_inc(x_35); -x_36 = lean_ctor_get(x_3, 1); -lean_inc(x_36); -if (lean_is_exclusive(x_3)) { - lean_ctor_release(x_3, 0); - lean_ctor_release(x_3, 1); - x_37 = x_3; -} else { - lean_dec_ref(x_3); - x_37 = lean_box(0); -} -lean_inc(x_1); -x_38 = l_Lean_AbstractMetavarContext_instantiateLevelMVars___main___rarg(x_1, x_33, x_35); -x_39 = lean_ctor_get(x_38, 0); -lean_inc(x_39); -x_40 = lean_ctor_get(x_38, 1); -lean_inc(x_40); -lean_dec(x_38); -if (lean_is_scalar(x_37)) { - x_41 = lean_alloc_ctor(0, 2, 0); -} else { - x_41 = x_37; -} -lean_ctor_set(x_41, 0, x_40); -lean_ctor_set(x_41, 1, x_36); -x_42 = l_List_mapM___main___at_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___spec__3___rarg(x_1, x_34, x_41); -x_43 = lean_ctor_get(x_42, 0); -lean_inc(x_43); -x_44 = lean_ctor_get(x_42, 1); -lean_inc(x_44); -if (lean_is_exclusive(x_42)) { - lean_ctor_release(x_42, 0); - lean_ctor_release(x_42, 1); - x_45 = x_42; -} else { - lean_dec_ref(x_42); - x_45 = lean_box(0); -} -x_46 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_46, 0, x_39); -lean_ctor_set(x_46, 1, x_43); -if (lean_is_scalar(x_45)) { - x_47 = lean_alloc_ctor(0, 2, 0); -} else { - x_47 = x_45; -} -lean_ctor_set(x_47, 0, x_46); -lean_ctor_set(x_47, 1, x_44); -return x_47; -} -} -} -} -lean_object* l_List_mapM___main___at_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___spec__3(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_List_mapM___main___at_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___spec__3___rarg), 3, 0); -return x_2; -} -} -lean_object* l_Array_umapMAux___main___at_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___spec__4___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; uint8_t x_6; -x_5 = lean_array_get_size(x_3); -x_6 = lean_nat_dec_lt(x_2, x_5); -lean_dec(x_5); -if (x_6 == 0) -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; -lean_dec(x_2); -lean_dec(x_1); -x_7 = l_Array_empty___closed__1; -x_8 = x_3; -x_9 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_9, 0, x_8); -lean_ctor_set(x_9, 1, x_4); -return x_9; -} -else -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_10 = lean_array_fget(x_3, x_2); -x_11 = lean_box(0); -lean_inc(x_10); -x_12 = x_11; -x_13 = lean_array_fset(x_3, x_2, x_12); -x_14 = lean_expr_has_expr_mvar(x_10); -if (x_14 == 0) -{ -uint8_t x_15; -x_15 = lean_expr_has_level_mvar(x_10); -if (x_15 == 0) -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_16 = lean_unsigned_to_nat(1u); -x_17 = lean_nat_add(x_2, x_16); -lean_inc(x_10); -x_18 = x_10; -x_19 = lean_array_fset(x_13, x_2, x_18); -lean_dec(x_2); -x_2 = x_17; -x_3 = x_19; -goto _start; -} -else -{ -lean_object* x_21; lean_object* x_22; -x_21 = lean_ctor_get(x_4, 1); -lean_inc(x_21); -x_22 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_21, x_10); -lean_dec(x_21); -if (lean_obj_tag(x_22) == 0) -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; -lean_inc(x_10); -lean_inc(x_1); -x_23 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___rarg(x_1, x_10, x_4); -x_24 = lean_ctor_get(x_23, 1); -lean_inc(x_24); -x_25 = lean_ctor_get(x_23, 0); -lean_inc(x_25); -lean_dec(x_23); -x_26 = !lean_is_exclusive(x_24); -if (x_26 == 0) -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_27 = lean_ctor_get(x_24, 1); -lean_inc(x_25); -lean_inc(x_10); -x_28 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_27, x_10, x_25); -lean_ctor_set(x_24, 1, x_28); -x_29 = lean_unsigned_to_nat(1u); -x_30 = lean_nat_add(x_2, x_29); -x_31 = x_25; -x_32 = lean_array_fset(x_13, x_2, x_31); -lean_dec(x_2); -x_2 = x_30; -x_3 = x_32; -x_4 = x_24; -goto _start; -} -else -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_34 = lean_ctor_get(x_24, 0); -x_35 = lean_ctor_get(x_24, 1); -lean_inc(x_35); -lean_inc(x_34); -lean_dec(x_24); -lean_inc(x_25); -lean_inc(x_10); -x_36 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_35, x_10, x_25); -x_37 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_37, 0, x_34); -lean_ctor_set(x_37, 1, x_36); -x_38 = lean_unsigned_to_nat(1u); -x_39 = lean_nat_add(x_2, x_38); -x_40 = x_25; -x_41 = lean_array_fset(x_13, x_2, x_40); -lean_dec(x_2); -x_2 = x_39; -x_3 = x_41; -x_4 = x_37; -goto _start; -} -} -else -{ -lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_43 = lean_ctor_get(x_22, 0); -lean_inc(x_43); -lean_dec(x_22); -x_44 = lean_unsigned_to_nat(1u); -x_45 = lean_nat_add(x_2, x_44); -x_46 = x_43; -x_47 = lean_array_fset(x_13, x_2, x_46); -lean_dec(x_2); -x_2 = x_45; -x_3 = x_47; -goto _start; -} -} -} -else -{ -lean_object* x_49; lean_object* x_50; -x_49 = lean_ctor_get(x_4, 1); -lean_inc(x_49); -x_50 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_49, x_10); -lean_dec(x_49); -if (lean_obj_tag(x_50) == 0) -{ -lean_object* x_51; lean_object* x_52; lean_object* x_53; uint8_t x_54; -lean_inc(x_10); -lean_inc(x_1); -x_51 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___rarg(x_1, x_10, x_4); -x_52 = lean_ctor_get(x_51, 1); -lean_inc(x_52); -x_53 = lean_ctor_get(x_51, 0); -lean_inc(x_53); -lean_dec(x_51); -x_54 = !lean_is_exclusive(x_52); -if (x_54 == 0) -{ -lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; -x_55 = lean_ctor_get(x_52, 1); -lean_inc(x_53); -lean_inc(x_10); -x_56 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_55, x_10, x_53); -lean_ctor_set(x_52, 1, x_56); -x_57 = lean_unsigned_to_nat(1u); -x_58 = lean_nat_add(x_2, x_57); -x_59 = x_53; -x_60 = lean_array_fset(x_13, x_2, x_59); -lean_dec(x_2); -x_2 = x_58; -x_3 = x_60; -x_4 = x_52; -goto _start; -} -else -{ -lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; -x_62 = lean_ctor_get(x_52, 0); -x_63 = lean_ctor_get(x_52, 1); -lean_inc(x_63); -lean_inc(x_62); -lean_dec(x_52); -lean_inc(x_53); -lean_inc(x_10); -x_64 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_63, x_10, x_53); -x_65 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_65, 0, x_62); -lean_ctor_set(x_65, 1, x_64); -x_66 = lean_unsigned_to_nat(1u); -x_67 = lean_nat_add(x_2, x_66); -x_68 = x_53; -x_69 = lean_array_fset(x_13, x_2, x_68); -lean_dec(x_2); -x_2 = x_67; -x_3 = x_69; -x_4 = x_65; -goto _start; -} -} -else -{ -lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; -x_71 = lean_ctor_get(x_50, 0); -lean_inc(x_71); -lean_dec(x_50); -x_72 = lean_unsigned_to_nat(1u); -x_73 = lean_nat_add(x_2, x_72); -x_74 = x_71; -x_75 = lean_array_fset(x_13, x_2, x_74); -lean_dec(x_2); -x_2 = x_73; -x_3 = x_75; -goto _start; -} -} -} -} -} -lean_object* l_Array_umapMAux___main___at_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___spec__4(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Array_umapMAux___main___at_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___spec__4___rarg), 4, 0); -return x_2; -} -} -lean_object* l___private_Init_Lean_Expr_4__withAppRevAux___main___at_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___spec__5___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -switch (lean_obj_tag(x_2)) { -case 0: -{ -uint8_t x_5; lean_object* x_6; lean_object* x_7; uint8_t x_75; -x_5 = l_Lean_Expr_isMVar(x_2); -x_75 = lean_expr_has_expr_mvar(x_2); -if (x_75 == 0) -{ -uint8_t x_76; -x_76 = lean_expr_has_level_mvar(x_2); -if (x_76 == 0) -{ -x_6 = x_2; -x_7 = x_4; -goto block_74; -} -else -{ -lean_object* x_77; lean_object* x_78; -x_77 = lean_ctor_get(x_4, 1); -lean_inc(x_77); -x_78 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_77, x_2); -lean_dec(x_77); -if (lean_obj_tag(x_78) == 0) -{ -lean_object* x_79; lean_object* x_80; lean_object* x_81; uint8_t x_82; -lean_inc(x_2); -lean_inc(x_1); -x_79 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___rarg(x_1, x_2, x_4); -x_80 = lean_ctor_get(x_79, 1); -lean_inc(x_80); -x_81 = lean_ctor_get(x_79, 0); -lean_inc(x_81); -lean_dec(x_79); -x_82 = !lean_is_exclusive(x_80); -if (x_82 == 0) -{ -lean_object* x_83; lean_object* x_84; -x_83 = lean_ctor_get(x_80, 1); -lean_inc(x_81); -x_84 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_83, x_2, x_81); -lean_ctor_set(x_80, 1, x_84); -x_6 = x_81; -x_7 = x_80; -goto block_74; -} -else -{ -lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; -x_85 = lean_ctor_get(x_80, 0); -x_86 = lean_ctor_get(x_80, 1); -lean_inc(x_86); -lean_inc(x_85); -lean_dec(x_80); -lean_inc(x_81); -x_87 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_86, x_2, x_81); -x_88 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_88, 0, x_85); -lean_ctor_set(x_88, 1, x_87); -x_6 = x_81; -x_7 = x_88; -goto block_74; -} -} -else -{ -lean_object* x_89; -lean_dec(x_2); -x_89 = lean_ctor_get(x_78, 0); -lean_inc(x_89); -lean_dec(x_78); -x_6 = x_89; -x_7 = x_4; -goto block_74; -} -} -} -else -{ -lean_object* x_90; lean_object* x_91; -x_90 = lean_ctor_get(x_4, 1); -lean_inc(x_90); -x_91 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_90, x_2); -lean_dec(x_90); -if (lean_obj_tag(x_91) == 0) -{ -lean_object* x_92; lean_object* x_93; lean_object* x_94; uint8_t x_95; -lean_inc(x_2); -lean_inc(x_1); -x_92 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___rarg(x_1, x_2, x_4); -x_93 = lean_ctor_get(x_92, 1); -lean_inc(x_93); -x_94 = lean_ctor_get(x_92, 0); -lean_inc(x_94); -lean_dec(x_92); -x_95 = !lean_is_exclusive(x_93); -if (x_95 == 0) -{ -lean_object* x_96; lean_object* x_97; -x_96 = lean_ctor_get(x_93, 1); -lean_inc(x_94); -x_97 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_96, x_2, x_94); -lean_ctor_set(x_93, 1, x_97); -x_6 = x_94; -x_7 = x_93; -goto block_74; -} -else -{ -lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; -x_98 = lean_ctor_get(x_93, 0); -x_99 = lean_ctor_get(x_93, 1); -lean_inc(x_99); -lean_inc(x_98); -lean_dec(x_93); -lean_inc(x_94); -x_100 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_99, x_2, x_94); -x_101 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_101, 0, x_98); -lean_ctor_set(x_101, 1, x_100); -x_6 = x_94; -x_7 = x_101; -goto block_74; -} -} -else -{ -lean_object* x_102; -lean_dec(x_2); -x_102 = lean_ctor_get(x_91, 0); -lean_inc(x_102); -lean_dec(x_91); -x_6 = x_102; -x_7 = x_4; -goto block_74; -} -} -block_74: -{ -lean_object* x_8; -if (x_5 == 0) -{ -lean_object* x_19; -x_19 = lean_box(0); -x_8 = x_19; -goto block_18; -} -else -{ -uint8_t x_20; -x_20 = l_Lean_Expr_isLambda(x_6); -if (x_20 == 0) -{ -lean_object* x_21; -x_21 = lean_box(0); -x_8 = x_21; -goto block_18; -} -else -{ -lean_object* x_22; uint8_t x_23; -x_22 = l_Lean_Expr_betaRev(x_6, x_3); -lean_dec(x_6); -x_23 = lean_expr_has_expr_mvar(x_22); -if (x_23 == 0) -{ -uint8_t x_24; -x_24 = lean_expr_has_level_mvar(x_22); -if (x_24 == 0) -{ -lean_object* x_25; -lean_dec(x_1); -x_25 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_25, 0, x_22); -lean_ctor_set(x_25, 1, x_7); -return x_25; -} -else -{ -lean_object* x_26; lean_object* x_27; -x_26 = lean_ctor_get(x_7, 1); -lean_inc(x_26); -x_27 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_26, x_22); -lean_dec(x_26); -if (lean_obj_tag(x_27) == 0) -{ -lean_object* x_28; uint8_t x_29; -lean_inc(x_22); -x_28 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___rarg(x_1, x_22, x_7); -x_29 = !lean_is_exclusive(x_28); -if (x_29 == 0) -{ -lean_object* x_30; uint8_t x_31; -x_30 = lean_ctor_get(x_28, 1); -x_31 = !lean_is_exclusive(x_30); -if (x_31 == 0) -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_32 = lean_ctor_get(x_28, 0); -x_33 = lean_ctor_get(x_30, 1); -lean_inc(x_32); -x_34 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_33, x_22, x_32); -lean_ctor_set(x_30, 1, x_34); -return x_28; -} -else -{ -lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_35 = lean_ctor_get(x_28, 0); -x_36 = lean_ctor_get(x_30, 0); -x_37 = lean_ctor_get(x_30, 1); -lean_inc(x_37); -lean_inc(x_36); -lean_dec(x_30); -lean_inc(x_35); -x_38 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_37, x_22, x_35); -x_39 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_39, 0, x_36); -lean_ctor_set(x_39, 1, x_38); -lean_ctor_set(x_28, 1, x_39); -return x_28; -} -} -else -{ -lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_40 = lean_ctor_get(x_28, 1); -x_41 = lean_ctor_get(x_28, 0); -lean_inc(x_40); -lean_inc(x_41); -lean_dec(x_28); -x_42 = lean_ctor_get(x_40, 0); -lean_inc(x_42); -x_43 = lean_ctor_get(x_40, 1); -lean_inc(x_43); -if (lean_is_exclusive(x_40)) { - lean_ctor_release(x_40, 0); - lean_ctor_release(x_40, 1); - x_44 = x_40; -} else { - lean_dec_ref(x_40); - x_44 = lean_box(0); -} -lean_inc(x_41); -x_45 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_43, x_22, x_41); -if (lean_is_scalar(x_44)) { - x_46 = lean_alloc_ctor(0, 2, 0); -} else { - x_46 = x_44; -} -lean_ctor_set(x_46, 0, x_42); -lean_ctor_set(x_46, 1, x_45); -x_47 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_47, 0, x_41); -lean_ctor_set(x_47, 1, x_46); -return x_47; -} -} -else -{ -lean_object* x_48; lean_object* x_49; -lean_dec(x_22); -lean_dec(x_1); -x_48 = lean_ctor_get(x_27, 0); -lean_inc(x_48); -lean_dec(x_27); -x_49 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_49, 0, x_48); -lean_ctor_set(x_49, 1, x_7); -return x_49; -} -} -} -else -{ -lean_object* x_50; lean_object* x_51; -x_50 = lean_ctor_get(x_7, 1); -lean_inc(x_50); -x_51 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_50, x_22); -lean_dec(x_50); -if (lean_obj_tag(x_51) == 0) -{ -lean_object* x_52; uint8_t x_53; -lean_inc(x_22); -x_52 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___rarg(x_1, x_22, x_7); -x_53 = !lean_is_exclusive(x_52); -if (x_53 == 0) -{ -lean_object* x_54; uint8_t x_55; -x_54 = lean_ctor_get(x_52, 1); -x_55 = !lean_is_exclusive(x_54); -if (x_55 == 0) -{ -lean_object* x_56; lean_object* x_57; lean_object* x_58; -x_56 = lean_ctor_get(x_52, 0); -x_57 = lean_ctor_get(x_54, 1); -lean_inc(x_56); -x_58 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_57, x_22, x_56); -lean_ctor_set(x_54, 1, x_58); -return x_52; -} -else -{ -lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; -x_59 = lean_ctor_get(x_52, 0); -x_60 = lean_ctor_get(x_54, 0); -x_61 = lean_ctor_get(x_54, 1); -lean_inc(x_61); -lean_inc(x_60); -lean_dec(x_54); -lean_inc(x_59); -x_62 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_61, x_22, x_59); -x_63 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_63, 0, x_60); -lean_ctor_set(x_63, 1, x_62); -lean_ctor_set(x_52, 1, x_63); -return x_52; -} -} -else -{ -lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; -x_64 = lean_ctor_get(x_52, 1); -x_65 = lean_ctor_get(x_52, 0); -lean_inc(x_64); -lean_inc(x_65); -lean_dec(x_52); -x_66 = lean_ctor_get(x_64, 0); -lean_inc(x_66); -x_67 = lean_ctor_get(x_64, 1); -lean_inc(x_67); -if (lean_is_exclusive(x_64)) { - lean_ctor_release(x_64, 0); - lean_ctor_release(x_64, 1); - x_68 = x_64; -} else { - lean_dec_ref(x_64); - x_68 = lean_box(0); -} -lean_inc(x_65); -x_69 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_67, x_22, x_65); -if (lean_is_scalar(x_68)) { - x_70 = lean_alloc_ctor(0, 2, 0); -} else { - x_70 = x_68; -} -lean_ctor_set(x_70, 0, x_66); -lean_ctor_set(x_70, 1, x_69); -x_71 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_71, 0, x_65); -lean_ctor_set(x_71, 1, x_70); -return x_71; -} -} -else -{ -lean_object* x_72; lean_object* x_73; -lean_dec(x_22); -lean_dec(x_1); -x_72 = lean_ctor_get(x_51, 0); -lean_inc(x_72); -lean_dec(x_51); -x_73 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_73, 0, x_72); -lean_ctor_set(x_73, 1, x_7); -return x_73; -} -} -} -} -block_18: -{ -lean_object* x_9; lean_object* x_10; uint8_t x_11; -lean_dec(x_8); -x_9 = lean_unsigned_to_nat(0u); -x_10 = l_Array_umapMAux___main___at_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___spec__4___rarg(x_1, x_9, x_3, x_7); -x_11 = !lean_is_exclusive(x_10); -if (x_11 == 0) -{ -lean_object* x_12; lean_object* x_13; -x_12 = lean_ctor_get(x_10, 0); -x_13 = l_Lean_mkAppRev(x_6, x_12); -lean_dec(x_12); -lean_ctor_set(x_10, 0, x_13); -return x_10; -} -else -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_14 = lean_ctor_get(x_10, 0); -x_15 = lean_ctor_get(x_10, 1); -lean_inc(x_15); -lean_inc(x_14); -lean_dec(x_10); -x_16 = l_Lean_mkAppRev(x_6, x_14); -lean_dec(x_14); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_15); -return x_17; -} -} -} -} -case 1: -{ -uint8_t x_103; lean_object* x_104; lean_object* x_105; uint8_t x_173; -x_103 = l_Lean_Expr_isMVar(x_2); -x_173 = lean_expr_has_expr_mvar(x_2); -if (x_173 == 0) -{ -uint8_t x_174; -x_174 = lean_expr_has_level_mvar(x_2); -if (x_174 == 0) -{ -x_104 = x_2; -x_105 = x_4; -goto block_172; -} -else -{ -lean_object* x_175; lean_object* x_176; -x_175 = lean_ctor_get(x_4, 1); -lean_inc(x_175); -x_176 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_175, x_2); -lean_dec(x_175); -if (lean_obj_tag(x_176) == 0) -{ -lean_object* x_177; lean_object* x_178; lean_object* x_179; uint8_t x_180; -lean_inc(x_2); -lean_inc(x_1); -x_177 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___rarg(x_1, x_2, x_4); -x_178 = lean_ctor_get(x_177, 1); -lean_inc(x_178); -x_179 = lean_ctor_get(x_177, 0); -lean_inc(x_179); -lean_dec(x_177); -x_180 = !lean_is_exclusive(x_178); -if (x_180 == 0) -{ -lean_object* x_181; lean_object* x_182; -x_181 = lean_ctor_get(x_178, 1); -lean_inc(x_179); -x_182 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_181, x_2, x_179); -lean_ctor_set(x_178, 1, x_182); -x_104 = x_179; -x_105 = x_178; -goto block_172; -} -else -{ -lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; -x_183 = lean_ctor_get(x_178, 0); -x_184 = lean_ctor_get(x_178, 1); -lean_inc(x_184); -lean_inc(x_183); -lean_dec(x_178); -lean_inc(x_179); -x_185 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_184, x_2, x_179); -x_186 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_186, 0, x_183); -lean_ctor_set(x_186, 1, x_185); -x_104 = x_179; -x_105 = x_186; -goto block_172; -} -} -else -{ -lean_object* x_187; -lean_dec(x_2); -x_187 = lean_ctor_get(x_176, 0); -lean_inc(x_187); -lean_dec(x_176); -x_104 = x_187; -x_105 = x_4; -goto block_172; -} -} -} -else -{ -lean_object* x_188; lean_object* x_189; -x_188 = lean_ctor_get(x_4, 1); -lean_inc(x_188); -x_189 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_188, x_2); -lean_dec(x_188); -if (lean_obj_tag(x_189) == 0) -{ -lean_object* x_190; lean_object* x_191; lean_object* x_192; uint8_t x_193; -lean_inc(x_2); -lean_inc(x_1); -x_190 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___rarg(x_1, x_2, x_4); -x_191 = lean_ctor_get(x_190, 1); -lean_inc(x_191); -x_192 = lean_ctor_get(x_190, 0); -lean_inc(x_192); -lean_dec(x_190); -x_193 = !lean_is_exclusive(x_191); -if (x_193 == 0) -{ -lean_object* x_194; lean_object* x_195; -x_194 = lean_ctor_get(x_191, 1); -lean_inc(x_192); -x_195 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_194, x_2, x_192); -lean_ctor_set(x_191, 1, x_195); -x_104 = x_192; -x_105 = x_191; -goto block_172; -} -else -{ -lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; -x_196 = lean_ctor_get(x_191, 0); -x_197 = lean_ctor_get(x_191, 1); -lean_inc(x_197); -lean_inc(x_196); -lean_dec(x_191); -lean_inc(x_192); -x_198 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_197, x_2, x_192); -x_199 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_199, 0, x_196); -lean_ctor_set(x_199, 1, x_198); -x_104 = x_192; -x_105 = x_199; -goto block_172; -} -} -else -{ -lean_object* x_200; -lean_dec(x_2); -x_200 = lean_ctor_get(x_189, 0); -lean_inc(x_200); -lean_dec(x_189); -x_104 = x_200; -x_105 = x_4; -goto block_172; -} -} -block_172: -{ -lean_object* x_106; -if (x_103 == 0) -{ -lean_object* x_117; -x_117 = lean_box(0); -x_106 = x_117; -goto block_116; -} -else -{ -uint8_t x_118; -x_118 = l_Lean_Expr_isLambda(x_104); -if (x_118 == 0) -{ -lean_object* x_119; -x_119 = lean_box(0); -x_106 = x_119; -goto block_116; -} -else -{ -lean_object* x_120; uint8_t x_121; -x_120 = l_Lean_Expr_betaRev(x_104, x_3); -lean_dec(x_104); -x_121 = lean_expr_has_expr_mvar(x_120); -if (x_121 == 0) -{ -uint8_t x_122; -x_122 = lean_expr_has_level_mvar(x_120); -if (x_122 == 0) -{ -lean_object* x_123; -lean_dec(x_1); -x_123 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_123, 0, x_120); -lean_ctor_set(x_123, 1, x_105); -return x_123; -} -else -{ -lean_object* x_124; lean_object* x_125; -x_124 = lean_ctor_get(x_105, 1); -lean_inc(x_124); -x_125 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_124, x_120); -lean_dec(x_124); -if (lean_obj_tag(x_125) == 0) -{ -lean_object* x_126; uint8_t x_127; -lean_inc(x_120); -x_126 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___rarg(x_1, x_120, x_105); -x_127 = !lean_is_exclusive(x_126); -if (x_127 == 0) -{ -lean_object* x_128; uint8_t x_129; -x_128 = lean_ctor_get(x_126, 1); -x_129 = !lean_is_exclusive(x_128); -if (x_129 == 0) -{ -lean_object* x_130; lean_object* x_131; lean_object* x_132; -x_130 = lean_ctor_get(x_126, 0); -x_131 = lean_ctor_get(x_128, 1); -lean_inc(x_130); -x_132 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_131, x_120, x_130); -lean_ctor_set(x_128, 1, x_132); -return x_126; -} -else -{ -lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; -x_133 = lean_ctor_get(x_126, 0); -x_134 = lean_ctor_get(x_128, 0); -x_135 = lean_ctor_get(x_128, 1); -lean_inc(x_135); -lean_inc(x_134); -lean_dec(x_128); -lean_inc(x_133); -x_136 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_135, x_120, x_133); -x_137 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_137, 0, x_134); -lean_ctor_set(x_137, 1, x_136); -lean_ctor_set(x_126, 1, x_137); -return x_126; -} -} -else -{ -lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; -x_138 = lean_ctor_get(x_126, 1); -x_139 = lean_ctor_get(x_126, 0); -lean_inc(x_138); -lean_inc(x_139); -lean_dec(x_126); -x_140 = lean_ctor_get(x_138, 0); -lean_inc(x_140); -x_141 = lean_ctor_get(x_138, 1); -lean_inc(x_141); -if (lean_is_exclusive(x_138)) { - lean_ctor_release(x_138, 0); - lean_ctor_release(x_138, 1); - x_142 = x_138; -} else { - lean_dec_ref(x_138); - x_142 = lean_box(0); -} -lean_inc(x_139); -x_143 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_141, x_120, x_139); -if (lean_is_scalar(x_142)) { - x_144 = lean_alloc_ctor(0, 2, 0); -} else { - x_144 = x_142; -} -lean_ctor_set(x_144, 0, x_140); -lean_ctor_set(x_144, 1, x_143); -x_145 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_145, 0, x_139); -lean_ctor_set(x_145, 1, x_144); -return x_145; -} -} -else -{ -lean_object* x_146; lean_object* x_147; -lean_dec(x_120); -lean_dec(x_1); -x_146 = lean_ctor_get(x_125, 0); -lean_inc(x_146); -lean_dec(x_125); -x_147 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_147, 0, x_146); -lean_ctor_set(x_147, 1, x_105); -return x_147; -} -} -} -else -{ -lean_object* x_148; lean_object* x_149; -x_148 = lean_ctor_get(x_105, 1); -lean_inc(x_148); -x_149 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_148, x_120); -lean_dec(x_148); -if (lean_obj_tag(x_149) == 0) -{ -lean_object* x_150; uint8_t x_151; -lean_inc(x_120); -x_150 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___rarg(x_1, x_120, x_105); -x_151 = !lean_is_exclusive(x_150); -if (x_151 == 0) -{ -lean_object* x_152; uint8_t x_153; -x_152 = lean_ctor_get(x_150, 1); -x_153 = !lean_is_exclusive(x_152); -if (x_153 == 0) -{ -lean_object* x_154; lean_object* x_155; lean_object* x_156; -x_154 = lean_ctor_get(x_150, 0); -x_155 = lean_ctor_get(x_152, 1); -lean_inc(x_154); -x_156 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_155, x_120, x_154); -lean_ctor_set(x_152, 1, x_156); -return x_150; -} -else -{ -lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; -x_157 = lean_ctor_get(x_150, 0); -x_158 = lean_ctor_get(x_152, 0); -x_159 = lean_ctor_get(x_152, 1); -lean_inc(x_159); -lean_inc(x_158); -lean_dec(x_152); -lean_inc(x_157); -x_160 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_159, x_120, x_157); -x_161 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_161, 0, x_158); -lean_ctor_set(x_161, 1, x_160); -lean_ctor_set(x_150, 1, x_161); -return x_150; -} -} -else -{ -lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; -x_162 = lean_ctor_get(x_150, 1); -x_163 = lean_ctor_get(x_150, 0); -lean_inc(x_162); -lean_inc(x_163); -lean_dec(x_150); -x_164 = lean_ctor_get(x_162, 0); -lean_inc(x_164); -x_165 = lean_ctor_get(x_162, 1); -lean_inc(x_165); -if (lean_is_exclusive(x_162)) { - lean_ctor_release(x_162, 0); - lean_ctor_release(x_162, 1); - x_166 = x_162; -} else { - lean_dec_ref(x_162); - x_166 = lean_box(0); -} -lean_inc(x_163); -x_167 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_165, x_120, x_163); -if (lean_is_scalar(x_166)) { - x_168 = lean_alloc_ctor(0, 2, 0); -} else { - x_168 = x_166; -} -lean_ctor_set(x_168, 0, x_164); -lean_ctor_set(x_168, 1, x_167); -x_169 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_169, 0, x_163); -lean_ctor_set(x_169, 1, x_168); -return x_169; -} -} -else -{ -lean_object* x_170; lean_object* x_171; -lean_dec(x_120); -lean_dec(x_1); -x_170 = lean_ctor_get(x_149, 0); -lean_inc(x_170); -lean_dec(x_149); -x_171 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_171, 0, x_170); -lean_ctor_set(x_171, 1, x_105); -return x_171; -} -} -} -} -block_116: -{ -lean_object* x_107; lean_object* x_108; uint8_t x_109; -lean_dec(x_106); -x_107 = lean_unsigned_to_nat(0u); -x_108 = l_Array_umapMAux___main___at_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___spec__4___rarg(x_1, x_107, x_3, x_105); -x_109 = !lean_is_exclusive(x_108); -if (x_109 == 0) -{ -lean_object* x_110; lean_object* x_111; -x_110 = lean_ctor_get(x_108, 0); -x_111 = l_Lean_mkAppRev(x_104, x_110); -lean_dec(x_110); -lean_ctor_set(x_108, 0, x_111); -return x_108; -} -else -{ -lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; -x_112 = lean_ctor_get(x_108, 0); -x_113 = lean_ctor_get(x_108, 1); -lean_inc(x_113); -lean_inc(x_112); -lean_dec(x_108); -x_114 = l_Lean_mkAppRev(x_104, x_112); -lean_dec(x_112); -x_115 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_115, 0, x_114); -lean_ctor_set(x_115, 1, x_113); -return x_115; -} -} -} -} -case 2: -{ -uint8_t x_201; lean_object* x_202; lean_object* x_203; uint8_t x_271; -x_201 = l_Lean_Expr_isMVar(x_2); -x_271 = lean_expr_has_expr_mvar(x_2); -if (x_271 == 0) -{ -uint8_t x_272; -x_272 = lean_expr_has_level_mvar(x_2); -if (x_272 == 0) -{ -x_202 = x_2; -x_203 = x_4; -goto block_270; -} -else -{ -lean_object* x_273; lean_object* x_274; -x_273 = lean_ctor_get(x_4, 1); -lean_inc(x_273); -x_274 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_273, x_2); -lean_dec(x_273); -if (lean_obj_tag(x_274) == 0) -{ -lean_object* x_275; lean_object* x_276; lean_object* x_277; uint8_t x_278; -lean_inc(x_2); -lean_inc(x_1); -x_275 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___rarg(x_1, x_2, x_4); -x_276 = lean_ctor_get(x_275, 1); -lean_inc(x_276); -x_277 = lean_ctor_get(x_275, 0); -lean_inc(x_277); -lean_dec(x_275); -x_278 = !lean_is_exclusive(x_276); -if (x_278 == 0) -{ -lean_object* x_279; lean_object* x_280; -x_279 = lean_ctor_get(x_276, 1); -lean_inc(x_277); -x_280 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_279, x_2, x_277); -lean_ctor_set(x_276, 1, x_280); -x_202 = x_277; -x_203 = x_276; -goto block_270; -} -else -{ -lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; -x_281 = lean_ctor_get(x_276, 0); -x_282 = lean_ctor_get(x_276, 1); -lean_inc(x_282); -lean_inc(x_281); -lean_dec(x_276); -lean_inc(x_277); -x_283 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_282, x_2, x_277); -x_284 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_284, 0, x_281); -lean_ctor_set(x_284, 1, x_283); -x_202 = x_277; -x_203 = x_284; -goto block_270; -} -} -else -{ -lean_object* x_285; -lean_dec(x_2); -x_285 = lean_ctor_get(x_274, 0); -lean_inc(x_285); -lean_dec(x_274); -x_202 = x_285; -x_203 = x_4; -goto block_270; -} -} -} -else -{ -lean_object* x_286; lean_object* x_287; -x_286 = lean_ctor_get(x_4, 1); -lean_inc(x_286); -x_287 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_286, x_2); -lean_dec(x_286); -if (lean_obj_tag(x_287) == 0) -{ -lean_object* x_288; lean_object* x_289; lean_object* x_290; uint8_t x_291; -lean_inc(x_2); -lean_inc(x_1); -x_288 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___rarg(x_1, x_2, x_4); -x_289 = lean_ctor_get(x_288, 1); -lean_inc(x_289); -x_290 = lean_ctor_get(x_288, 0); -lean_inc(x_290); -lean_dec(x_288); -x_291 = !lean_is_exclusive(x_289); -if (x_291 == 0) -{ -lean_object* x_292; lean_object* x_293; -x_292 = lean_ctor_get(x_289, 1); -lean_inc(x_290); -x_293 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_292, x_2, x_290); -lean_ctor_set(x_289, 1, x_293); -x_202 = x_290; -x_203 = x_289; -goto block_270; -} -else -{ -lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; -x_294 = lean_ctor_get(x_289, 0); -x_295 = lean_ctor_get(x_289, 1); -lean_inc(x_295); -lean_inc(x_294); -lean_dec(x_289); -lean_inc(x_290); -x_296 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_295, x_2, x_290); -x_297 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_297, 0, x_294); -lean_ctor_set(x_297, 1, x_296); -x_202 = x_290; -x_203 = x_297; -goto block_270; -} -} -else -{ -lean_object* x_298; -lean_dec(x_2); -x_298 = lean_ctor_get(x_287, 0); -lean_inc(x_298); -lean_dec(x_287); -x_202 = x_298; -x_203 = x_4; -goto block_270; -} -} -block_270: -{ -lean_object* x_204; -if (x_201 == 0) -{ -lean_object* x_215; -x_215 = lean_box(0); -x_204 = x_215; -goto block_214; -} -else -{ -uint8_t x_216; -x_216 = l_Lean_Expr_isLambda(x_202); -if (x_216 == 0) -{ -lean_object* x_217; -x_217 = lean_box(0); -x_204 = x_217; -goto block_214; -} -else -{ -lean_object* x_218; uint8_t x_219; -x_218 = l_Lean_Expr_betaRev(x_202, x_3); -lean_dec(x_202); -x_219 = lean_expr_has_expr_mvar(x_218); -if (x_219 == 0) -{ -uint8_t x_220; -x_220 = lean_expr_has_level_mvar(x_218); -if (x_220 == 0) -{ -lean_object* x_221; -lean_dec(x_1); -x_221 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_221, 0, x_218); -lean_ctor_set(x_221, 1, x_203); -return x_221; -} -else -{ -lean_object* x_222; lean_object* x_223; -x_222 = lean_ctor_get(x_203, 1); -lean_inc(x_222); -x_223 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_222, x_218); -lean_dec(x_222); -if (lean_obj_tag(x_223) == 0) -{ -lean_object* x_224; uint8_t x_225; -lean_inc(x_218); -x_224 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___rarg(x_1, x_218, x_203); -x_225 = !lean_is_exclusive(x_224); -if (x_225 == 0) -{ -lean_object* x_226; uint8_t x_227; -x_226 = lean_ctor_get(x_224, 1); -x_227 = !lean_is_exclusive(x_226); -if (x_227 == 0) -{ -lean_object* x_228; lean_object* x_229; lean_object* x_230; -x_228 = lean_ctor_get(x_224, 0); -x_229 = lean_ctor_get(x_226, 1); -lean_inc(x_228); -x_230 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_229, x_218, x_228); -lean_ctor_set(x_226, 1, x_230); -return x_224; -} -else -{ -lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; -x_231 = lean_ctor_get(x_224, 0); -x_232 = lean_ctor_get(x_226, 0); -x_233 = lean_ctor_get(x_226, 1); -lean_inc(x_233); -lean_inc(x_232); -lean_dec(x_226); -lean_inc(x_231); -x_234 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_233, x_218, x_231); -x_235 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_235, 0, x_232); -lean_ctor_set(x_235, 1, x_234); -lean_ctor_set(x_224, 1, x_235); -return x_224; -} -} -else -{ -lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; -x_236 = lean_ctor_get(x_224, 1); -x_237 = lean_ctor_get(x_224, 0); -lean_inc(x_236); -lean_inc(x_237); -lean_dec(x_224); -x_238 = lean_ctor_get(x_236, 0); -lean_inc(x_238); -x_239 = lean_ctor_get(x_236, 1); -lean_inc(x_239); -if (lean_is_exclusive(x_236)) { - lean_ctor_release(x_236, 0); - lean_ctor_release(x_236, 1); - x_240 = x_236; -} else { - lean_dec_ref(x_236); - x_240 = lean_box(0); -} -lean_inc(x_237); -x_241 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_239, x_218, x_237); -if (lean_is_scalar(x_240)) { - x_242 = lean_alloc_ctor(0, 2, 0); -} else { - x_242 = x_240; -} -lean_ctor_set(x_242, 0, x_238); -lean_ctor_set(x_242, 1, x_241); -x_243 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_243, 0, x_237); -lean_ctor_set(x_243, 1, x_242); -return x_243; -} -} -else -{ -lean_object* x_244; lean_object* x_245; -lean_dec(x_218); -lean_dec(x_1); -x_244 = lean_ctor_get(x_223, 0); -lean_inc(x_244); -lean_dec(x_223); -x_245 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_245, 0, x_244); -lean_ctor_set(x_245, 1, x_203); -return x_245; -} -} -} -else -{ -lean_object* x_246; lean_object* x_247; -x_246 = lean_ctor_get(x_203, 1); -lean_inc(x_246); -x_247 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_246, x_218); -lean_dec(x_246); -if (lean_obj_tag(x_247) == 0) -{ -lean_object* x_248; uint8_t x_249; -lean_inc(x_218); -x_248 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___rarg(x_1, x_218, x_203); -x_249 = !lean_is_exclusive(x_248); -if (x_249 == 0) -{ -lean_object* x_250; uint8_t x_251; -x_250 = lean_ctor_get(x_248, 1); -x_251 = !lean_is_exclusive(x_250); -if (x_251 == 0) -{ -lean_object* x_252; lean_object* x_253; lean_object* x_254; -x_252 = lean_ctor_get(x_248, 0); -x_253 = lean_ctor_get(x_250, 1); -lean_inc(x_252); -x_254 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_253, x_218, x_252); -lean_ctor_set(x_250, 1, x_254); -return x_248; -} -else -{ -lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; -x_255 = lean_ctor_get(x_248, 0); -x_256 = lean_ctor_get(x_250, 0); -x_257 = lean_ctor_get(x_250, 1); -lean_inc(x_257); -lean_inc(x_256); -lean_dec(x_250); -lean_inc(x_255); -x_258 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_257, x_218, x_255); -x_259 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_259, 0, x_256); -lean_ctor_set(x_259, 1, x_258); -lean_ctor_set(x_248, 1, x_259); -return x_248; -} -} -else -{ -lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; -x_260 = lean_ctor_get(x_248, 1); -x_261 = lean_ctor_get(x_248, 0); -lean_inc(x_260); -lean_inc(x_261); -lean_dec(x_248); -x_262 = lean_ctor_get(x_260, 0); -lean_inc(x_262); -x_263 = lean_ctor_get(x_260, 1); -lean_inc(x_263); -if (lean_is_exclusive(x_260)) { - lean_ctor_release(x_260, 0); - lean_ctor_release(x_260, 1); - x_264 = x_260; -} else { - lean_dec_ref(x_260); - x_264 = lean_box(0); -} -lean_inc(x_261); -x_265 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_263, x_218, x_261); -if (lean_is_scalar(x_264)) { - x_266 = lean_alloc_ctor(0, 2, 0); -} else { - x_266 = x_264; -} -lean_ctor_set(x_266, 0, x_262); -lean_ctor_set(x_266, 1, x_265); -x_267 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_267, 0, x_261); -lean_ctor_set(x_267, 1, x_266); -return x_267; -} -} -else -{ -lean_object* x_268; lean_object* x_269; -lean_dec(x_218); -lean_dec(x_1); -x_268 = lean_ctor_get(x_247, 0); -lean_inc(x_268); -lean_dec(x_247); -x_269 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_269, 0, x_268); -lean_ctor_set(x_269, 1, x_203); -return x_269; -} -} -} -} -block_214: -{ -lean_object* x_205; lean_object* x_206; uint8_t x_207; -lean_dec(x_204); -x_205 = lean_unsigned_to_nat(0u); -x_206 = l_Array_umapMAux___main___at_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___spec__4___rarg(x_1, x_205, x_3, x_203); -x_207 = !lean_is_exclusive(x_206); -if (x_207 == 0) -{ -lean_object* x_208; lean_object* x_209; -x_208 = lean_ctor_get(x_206, 0); -x_209 = l_Lean_mkAppRev(x_202, x_208); -lean_dec(x_208); -lean_ctor_set(x_206, 0, x_209); -return x_206; -} -else -{ -lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; -x_210 = lean_ctor_get(x_206, 0); -x_211 = lean_ctor_get(x_206, 1); -lean_inc(x_211); -lean_inc(x_210); -lean_dec(x_206); -x_212 = l_Lean_mkAppRev(x_202, x_210); -lean_dec(x_210); -x_213 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_213, 0, x_212); -lean_ctor_set(x_213, 1, x_211); -return x_213; -} -} -} -} -case 3: -{ -uint8_t x_299; lean_object* x_300; lean_object* x_301; uint8_t x_369; -x_299 = l_Lean_Expr_isMVar(x_2); -x_369 = lean_expr_has_expr_mvar(x_2); -if (x_369 == 0) -{ -uint8_t x_370; -x_370 = lean_expr_has_level_mvar(x_2); -if (x_370 == 0) -{ -x_300 = x_2; -x_301 = x_4; -goto block_368; -} -else -{ -lean_object* x_371; lean_object* x_372; -x_371 = lean_ctor_get(x_4, 1); -lean_inc(x_371); -x_372 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_371, x_2); -lean_dec(x_371); -if (lean_obj_tag(x_372) == 0) -{ -lean_object* x_373; lean_object* x_374; lean_object* x_375; uint8_t x_376; -lean_inc(x_2); -lean_inc(x_1); -x_373 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___rarg(x_1, x_2, x_4); -x_374 = lean_ctor_get(x_373, 1); -lean_inc(x_374); -x_375 = lean_ctor_get(x_373, 0); -lean_inc(x_375); -lean_dec(x_373); -x_376 = !lean_is_exclusive(x_374); -if (x_376 == 0) -{ -lean_object* x_377; lean_object* x_378; -x_377 = lean_ctor_get(x_374, 1); -lean_inc(x_375); -x_378 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_377, x_2, x_375); -lean_ctor_set(x_374, 1, x_378); -x_300 = x_375; -x_301 = x_374; -goto block_368; -} -else -{ -lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; -x_379 = lean_ctor_get(x_374, 0); -x_380 = lean_ctor_get(x_374, 1); -lean_inc(x_380); -lean_inc(x_379); -lean_dec(x_374); -lean_inc(x_375); -x_381 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_380, x_2, x_375); -x_382 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_382, 0, x_379); -lean_ctor_set(x_382, 1, x_381); -x_300 = x_375; -x_301 = x_382; -goto block_368; -} -} -else -{ -lean_object* x_383; -lean_dec(x_2); -x_383 = lean_ctor_get(x_372, 0); -lean_inc(x_383); -lean_dec(x_372); -x_300 = x_383; -x_301 = x_4; -goto block_368; -} -} -} -else -{ -lean_object* x_384; lean_object* x_385; -x_384 = lean_ctor_get(x_4, 1); -lean_inc(x_384); -x_385 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_384, x_2); -lean_dec(x_384); -if (lean_obj_tag(x_385) == 0) -{ -lean_object* x_386; lean_object* x_387; lean_object* x_388; uint8_t x_389; -lean_inc(x_2); -lean_inc(x_1); -x_386 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___rarg(x_1, x_2, x_4); -x_387 = lean_ctor_get(x_386, 1); -lean_inc(x_387); -x_388 = lean_ctor_get(x_386, 0); -lean_inc(x_388); -lean_dec(x_386); -x_389 = !lean_is_exclusive(x_387); -if (x_389 == 0) -{ -lean_object* x_390; lean_object* x_391; -x_390 = lean_ctor_get(x_387, 1); -lean_inc(x_388); -x_391 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_390, x_2, x_388); -lean_ctor_set(x_387, 1, x_391); -x_300 = x_388; -x_301 = x_387; -goto block_368; -} -else -{ -lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; -x_392 = lean_ctor_get(x_387, 0); -x_393 = lean_ctor_get(x_387, 1); -lean_inc(x_393); -lean_inc(x_392); -lean_dec(x_387); -lean_inc(x_388); -x_394 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_393, x_2, x_388); -x_395 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_395, 0, x_392); -lean_ctor_set(x_395, 1, x_394); -x_300 = x_388; -x_301 = x_395; -goto block_368; -} -} -else -{ -lean_object* x_396; -lean_dec(x_2); -x_396 = lean_ctor_get(x_385, 0); -lean_inc(x_396); -lean_dec(x_385); -x_300 = x_396; -x_301 = x_4; -goto block_368; -} -} -block_368: -{ -lean_object* x_302; -if (x_299 == 0) -{ -lean_object* x_313; -x_313 = lean_box(0); -x_302 = x_313; -goto block_312; -} -else -{ -uint8_t x_314; -x_314 = l_Lean_Expr_isLambda(x_300); -if (x_314 == 0) -{ -lean_object* x_315; -x_315 = lean_box(0); -x_302 = x_315; -goto block_312; -} -else -{ -lean_object* x_316; uint8_t x_317; -x_316 = l_Lean_Expr_betaRev(x_300, x_3); -lean_dec(x_300); -x_317 = lean_expr_has_expr_mvar(x_316); -if (x_317 == 0) -{ -uint8_t x_318; -x_318 = lean_expr_has_level_mvar(x_316); -if (x_318 == 0) -{ -lean_object* x_319; -lean_dec(x_1); -x_319 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_319, 0, x_316); -lean_ctor_set(x_319, 1, x_301); -return x_319; -} -else -{ -lean_object* x_320; lean_object* x_321; -x_320 = lean_ctor_get(x_301, 1); -lean_inc(x_320); -x_321 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_320, x_316); -lean_dec(x_320); -if (lean_obj_tag(x_321) == 0) -{ -lean_object* x_322; uint8_t x_323; -lean_inc(x_316); -x_322 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___rarg(x_1, x_316, x_301); -x_323 = !lean_is_exclusive(x_322); -if (x_323 == 0) -{ -lean_object* x_324; uint8_t x_325; -x_324 = lean_ctor_get(x_322, 1); -x_325 = !lean_is_exclusive(x_324); -if (x_325 == 0) -{ -lean_object* x_326; lean_object* x_327; lean_object* x_328; -x_326 = lean_ctor_get(x_322, 0); -x_327 = lean_ctor_get(x_324, 1); -lean_inc(x_326); -x_328 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_327, x_316, x_326); -lean_ctor_set(x_324, 1, x_328); -return x_322; -} -else -{ -lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; -x_329 = lean_ctor_get(x_322, 0); -x_330 = lean_ctor_get(x_324, 0); -x_331 = lean_ctor_get(x_324, 1); -lean_inc(x_331); -lean_inc(x_330); -lean_dec(x_324); -lean_inc(x_329); -x_332 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_331, x_316, x_329); -x_333 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_333, 0, x_330); -lean_ctor_set(x_333, 1, x_332); -lean_ctor_set(x_322, 1, x_333); -return x_322; -} -} -else -{ -lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; -x_334 = lean_ctor_get(x_322, 1); -x_335 = lean_ctor_get(x_322, 0); -lean_inc(x_334); -lean_inc(x_335); -lean_dec(x_322); -x_336 = lean_ctor_get(x_334, 0); -lean_inc(x_336); -x_337 = lean_ctor_get(x_334, 1); -lean_inc(x_337); -if (lean_is_exclusive(x_334)) { - lean_ctor_release(x_334, 0); - lean_ctor_release(x_334, 1); - x_338 = x_334; -} else { - lean_dec_ref(x_334); - x_338 = lean_box(0); -} -lean_inc(x_335); -x_339 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_337, x_316, x_335); -if (lean_is_scalar(x_338)) { - x_340 = lean_alloc_ctor(0, 2, 0); -} else { - x_340 = x_338; -} -lean_ctor_set(x_340, 0, x_336); -lean_ctor_set(x_340, 1, x_339); -x_341 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_341, 0, x_335); -lean_ctor_set(x_341, 1, x_340); -return x_341; -} -} -else -{ -lean_object* x_342; lean_object* x_343; -lean_dec(x_316); -lean_dec(x_1); -x_342 = lean_ctor_get(x_321, 0); -lean_inc(x_342); -lean_dec(x_321); -x_343 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_343, 0, x_342); -lean_ctor_set(x_343, 1, x_301); -return x_343; -} -} -} -else -{ -lean_object* x_344; lean_object* x_345; -x_344 = lean_ctor_get(x_301, 1); -lean_inc(x_344); -x_345 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_344, x_316); -lean_dec(x_344); -if (lean_obj_tag(x_345) == 0) -{ -lean_object* x_346; uint8_t x_347; -lean_inc(x_316); -x_346 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___rarg(x_1, x_316, x_301); -x_347 = !lean_is_exclusive(x_346); -if (x_347 == 0) -{ -lean_object* x_348; uint8_t x_349; -x_348 = lean_ctor_get(x_346, 1); -x_349 = !lean_is_exclusive(x_348); -if (x_349 == 0) -{ -lean_object* x_350; lean_object* x_351; lean_object* x_352; -x_350 = lean_ctor_get(x_346, 0); -x_351 = lean_ctor_get(x_348, 1); -lean_inc(x_350); -x_352 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_351, x_316, x_350); -lean_ctor_set(x_348, 1, x_352); -return x_346; -} -else -{ -lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; -x_353 = lean_ctor_get(x_346, 0); -x_354 = lean_ctor_get(x_348, 0); -x_355 = lean_ctor_get(x_348, 1); -lean_inc(x_355); -lean_inc(x_354); -lean_dec(x_348); -lean_inc(x_353); -x_356 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_355, x_316, x_353); -x_357 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_357, 0, x_354); -lean_ctor_set(x_357, 1, x_356); -lean_ctor_set(x_346, 1, x_357); -return x_346; -} -} -else -{ -lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; -x_358 = lean_ctor_get(x_346, 1); -x_359 = lean_ctor_get(x_346, 0); -lean_inc(x_358); -lean_inc(x_359); -lean_dec(x_346); -x_360 = lean_ctor_get(x_358, 0); -lean_inc(x_360); -x_361 = lean_ctor_get(x_358, 1); -lean_inc(x_361); -if (lean_is_exclusive(x_358)) { - lean_ctor_release(x_358, 0); - lean_ctor_release(x_358, 1); - x_362 = x_358; -} else { - lean_dec_ref(x_358); - x_362 = lean_box(0); -} -lean_inc(x_359); -x_363 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_361, x_316, x_359); -if (lean_is_scalar(x_362)) { - x_364 = lean_alloc_ctor(0, 2, 0); -} else { - x_364 = x_362; -} -lean_ctor_set(x_364, 0, x_360); -lean_ctor_set(x_364, 1, x_363); -x_365 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_365, 0, x_359); -lean_ctor_set(x_365, 1, x_364); -return x_365; -} -} -else -{ -lean_object* x_366; lean_object* x_367; -lean_dec(x_316); -lean_dec(x_1); -x_366 = lean_ctor_get(x_345, 0); -lean_inc(x_366); -lean_dec(x_345); -x_367 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_367, 0, x_366); -lean_ctor_set(x_367, 1, x_301); -return x_367; -} -} -} -} -block_312: -{ -lean_object* x_303; lean_object* x_304; uint8_t x_305; -lean_dec(x_302); -x_303 = lean_unsigned_to_nat(0u); -x_304 = l_Array_umapMAux___main___at_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___spec__4___rarg(x_1, x_303, x_3, x_301); -x_305 = !lean_is_exclusive(x_304); -if (x_305 == 0) -{ -lean_object* x_306; lean_object* x_307; -x_306 = lean_ctor_get(x_304, 0); -x_307 = l_Lean_mkAppRev(x_300, x_306); -lean_dec(x_306); -lean_ctor_set(x_304, 0, x_307); -return x_304; -} -else -{ -lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; -x_308 = lean_ctor_get(x_304, 0); -x_309 = lean_ctor_get(x_304, 1); -lean_inc(x_309); -lean_inc(x_308); -lean_dec(x_304); -x_310 = l_Lean_mkAppRev(x_300, x_308); -lean_dec(x_308); -x_311 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_311, 0, x_310); -lean_ctor_set(x_311, 1, x_309); -return x_311; -} -} -} -} -case 4: -{ -uint8_t x_397; lean_object* x_398; lean_object* x_399; uint8_t x_467; -x_397 = l_Lean_Expr_isMVar(x_2); -x_467 = lean_expr_has_expr_mvar(x_2); -if (x_467 == 0) -{ -uint8_t x_468; -x_468 = lean_expr_has_level_mvar(x_2); -if (x_468 == 0) -{ -x_398 = x_2; -x_399 = x_4; -goto block_466; -} -else -{ -lean_object* x_469; lean_object* x_470; -x_469 = lean_ctor_get(x_4, 1); -lean_inc(x_469); -x_470 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_469, x_2); -lean_dec(x_469); -if (lean_obj_tag(x_470) == 0) -{ -lean_object* x_471; lean_object* x_472; lean_object* x_473; uint8_t x_474; -lean_inc(x_2); -lean_inc(x_1); -x_471 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___rarg(x_1, x_2, x_4); -x_472 = lean_ctor_get(x_471, 1); -lean_inc(x_472); -x_473 = lean_ctor_get(x_471, 0); -lean_inc(x_473); -lean_dec(x_471); -x_474 = !lean_is_exclusive(x_472); -if (x_474 == 0) -{ -lean_object* x_475; lean_object* x_476; -x_475 = lean_ctor_get(x_472, 1); -lean_inc(x_473); -x_476 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_475, x_2, x_473); -lean_ctor_set(x_472, 1, x_476); -x_398 = x_473; -x_399 = x_472; -goto block_466; -} -else -{ -lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; -x_477 = lean_ctor_get(x_472, 0); -x_478 = lean_ctor_get(x_472, 1); -lean_inc(x_478); -lean_inc(x_477); -lean_dec(x_472); -lean_inc(x_473); -x_479 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_478, x_2, x_473); -x_480 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_480, 0, x_477); -lean_ctor_set(x_480, 1, x_479); -x_398 = x_473; -x_399 = x_480; -goto block_466; -} -} -else -{ -lean_object* x_481; -lean_dec(x_2); -x_481 = lean_ctor_get(x_470, 0); -lean_inc(x_481); -lean_dec(x_470); -x_398 = x_481; -x_399 = x_4; -goto block_466; -} -} -} -else -{ -lean_object* x_482; lean_object* x_483; -x_482 = lean_ctor_get(x_4, 1); -lean_inc(x_482); -x_483 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_482, x_2); -lean_dec(x_482); -if (lean_obj_tag(x_483) == 0) -{ -lean_object* x_484; lean_object* x_485; lean_object* x_486; uint8_t x_487; -lean_inc(x_2); -lean_inc(x_1); -x_484 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___rarg(x_1, x_2, x_4); -x_485 = lean_ctor_get(x_484, 1); -lean_inc(x_485); -x_486 = lean_ctor_get(x_484, 0); -lean_inc(x_486); -lean_dec(x_484); -x_487 = !lean_is_exclusive(x_485); -if (x_487 == 0) -{ -lean_object* x_488; lean_object* x_489; -x_488 = lean_ctor_get(x_485, 1); -lean_inc(x_486); -x_489 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_488, x_2, x_486); -lean_ctor_set(x_485, 1, x_489); -x_398 = x_486; -x_399 = x_485; -goto block_466; -} -else -{ -lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; -x_490 = lean_ctor_get(x_485, 0); -x_491 = lean_ctor_get(x_485, 1); -lean_inc(x_491); -lean_inc(x_490); -lean_dec(x_485); -lean_inc(x_486); -x_492 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_491, x_2, x_486); -x_493 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_493, 0, x_490); -lean_ctor_set(x_493, 1, x_492); -x_398 = x_486; -x_399 = x_493; -goto block_466; -} -} -else -{ -lean_object* x_494; -lean_dec(x_2); -x_494 = lean_ctor_get(x_483, 0); -lean_inc(x_494); -lean_dec(x_483); -x_398 = x_494; -x_399 = x_4; -goto block_466; -} -} -block_466: -{ -lean_object* x_400; -if (x_397 == 0) -{ -lean_object* x_411; -x_411 = lean_box(0); -x_400 = x_411; -goto block_410; -} -else -{ -uint8_t x_412; -x_412 = l_Lean_Expr_isLambda(x_398); -if (x_412 == 0) -{ -lean_object* x_413; -x_413 = lean_box(0); -x_400 = x_413; -goto block_410; -} -else -{ -lean_object* x_414; uint8_t x_415; -x_414 = l_Lean_Expr_betaRev(x_398, x_3); -lean_dec(x_398); -x_415 = lean_expr_has_expr_mvar(x_414); -if (x_415 == 0) -{ -uint8_t x_416; -x_416 = lean_expr_has_level_mvar(x_414); -if (x_416 == 0) -{ -lean_object* x_417; -lean_dec(x_1); -x_417 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_417, 0, x_414); -lean_ctor_set(x_417, 1, x_399); -return x_417; -} -else -{ -lean_object* x_418; lean_object* x_419; -x_418 = lean_ctor_get(x_399, 1); -lean_inc(x_418); -x_419 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_418, x_414); -lean_dec(x_418); -if (lean_obj_tag(x_419) == 0) -{ -lean_object* x_420; uint8_t x_421; -lean_inc(x_414); -x_420 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___rarg(x_1, x_414, x_399); -x_421 = !lean_is_exclusive(x_420); -if (x_421 == 0) -{ -lean_object* x_422; uint8_t x_423; -x_422 = lean_ctor_get(x_420, 1); -x_423 = !lean_is_exclusive(x_422); -if (x_423 == 0) -{ -lean_object* x_424; lean_object* x_425; lean_object* x_426; -x_424 = lean_ctor_get(x_420, 0); -x_425 = lean_ctor_get(x_422, 1); -lean_inc(x_424); -x_426 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_425, x_414, x_424); -lean_ctor_set(x_422, 1, x_426); -return x_420; -} -else -{ -lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; -x_427 = lean_ctor_get(x_420, 0); -x_428 = lean_ctor_get(x_422, 0); -x_429 = lean_ctor_get(x_422, 1); -lean_inc(x_429); -lean_inc(x_428); -lean_dec(x_422); -lean_inc(x_427); -x_430 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_429, x_414, x_427); -x_431 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_431, 0, x_428); -lean_ctor_set(x_431, 1, x_430); -lean_ctor_set(x_420, 1, x_431); -return x_420; -} -} -else -{ -lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; -x_432 = lean_ctor_get(x_420, 1); -x_433 = lean_ctor_get(x_420, 0); -lean_inc(x_432); -lean_inc(x_433); -lean_dec(x_420); -x_434 = lean_ctor_get(x_432, 0); -lean_inc(x_434); -x_435 = lean_ctor_get(x_432, 1); -lean_inc(x_435); -if (lean_is_exclusive(x_432)) { - lean_ctor_release(x_432, 0); - lean_ctor_release(x_432, 1); - x_436 = x_432; -} else { - lean_dec_ref(x_432); - x_436 = lean_box(0); -} -lean_inc(x_433); -x_437 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_435, x_414, x_433); -if (lean_is_scalar(x_436)) { - x_438 = lean_alloc_ctor(0, 2, 0); -} else { - x_438 = x_436; -} -lean_ctor_set(x_438, 0, x_434); -lean_ctor_set(x_438, 1, x_437); -x_439 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_439, 0, x_433); -lean_ctor_set(x_439, 1, x_438); -return x_439; -} -} -else -{ -lean_object* x_440; lean_object* x_441; -lean_dec(x_414); -lean_dec(x_1); -x_440 = lean_ctor_get(x_419, 0); -lean_inc(x_440); -lean_dec(x_419); -x_441 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_441, 0, x_440); -lean_ctor_set(x_441, 1, x_399); -return x_441; -} -} -} -else -{ -lean_object* x_442; lean_object* x_443; -x_442 = lean_ctor_get(x_399, 1); -lean_inc(x_442); -x_443 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_442, x_414); -lean_dec(x_442); -if (lean_obj_tag(x_443) == 0) -{ -lean_object* x_444; uint8_t x_445; -lean_inc(x_414); -x_444 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___rarg(x_1, x_414, x_399); -x_445 = !lean_is_exclusive(x_444); -if (x_445 == 0) -{ -lean_object* x_446; uint8_t x_447; -x_446 = lean_ctor_get(x_444, 1); -x_447 = !lean_is_exclusive(x_446); -if (x_447 == 0) -{ -lean_object* x_448; lean_object* x_449; lean_object* x_450; -x_448 = lean_ctor_get(x_444, 0); -x_449 = lean_ctor_get(x_446, 1); -lean_inc(x_448); -x_450 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_449, x_414, x_448); -lean_ctor_set(x_446, 1, x_450); -return x_444; -} -else -{ -lean_object* x_451; lean_object* x_452; lean_object* x_453; lean_object* x_454; lean_object* x_455; -x_451 = lean_ctor_get(x_444, 0); -x_452 = lean_ctor_get(x_446, 0); -x_453 = lean_ctor_get(x_446, 1); -lean_inc(x_453); -lean_inc(x_452); -lean_dec(x_446); -lean_inc(x_451); -x_454 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_453, x_414, x_451); -x_455 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_455, 0, x_452); -lean_ctor_set(x_455, 1, x_454); -lean_ctor_set(x_444, 1, x_455); -return x_444; -} -} -else -{ -lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; -x_456 = lean_ctor_get(x_444, 1); -x_457 = lean_ctor_get(x_444, 0); -lean_inc(x_456); -lean_inc(x_457); -lean_dec(x_444); -x_458 = lean_ctor_get(x_456, 0); -lean_inc(x_458); -x_459 = lean_ctor_get(x_456, 1); -lean_inc(x_459); -if (lean_is_exclusive(x_456)) { - lean_ctor_release(x_456, 0); - lean_ctor_release(x_456, 1); - x_460 = x_456; -} else { - lean_dec_ref(x_456); - x_460 = lean_box(0); -} -lean_inc(x_457); -x_461 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_459, x_414, x_457); -if (lean_is_scalar(x_460)) { - x_462 = lean_alloc_ctor(0, 2, 0); -} else { - x_462 = x_460; -} -lean_ctor_set(x_462, 0, x_458); -lean_ctor_set(x_462, 1, x_461); -x_463 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_463, 0, x_457); -lean_ctor_set(x_463, 1, x_462); -return x_463; -} -} -else -{ -lean_object* x_464; lean_object* x_465; -lean_dec(x_414); -lean_dec(x_1); -x_464 = lean_ctor_get(x_443, 0); -lean_inc(x_464); -lean_dec(x_443); -x_465 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_465, 0, x_464); -lean_ctor_set(x_465, 1, x_399); -return x_465; -} -} -} -} -block_410: -{ -lean_object* x_401; lean_object* x_402; uint8_t x_403; -lean_dec(x_400); -x_401 = lean_unsigned_to_nat(0u); -x_402 = l_Array_umapMAux___main___at_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___spec__4___rarg(x_1, x_401, x_3, x_399); -x_403 = !lean_is_exclusive(x_402); -if (x_403 == 0) -{ -lean_object* x_404; lean_object* x_405; -x_404 = lean_ctor_get(x_402, 0); -x_405 = l_Lean_mkAppRev(x_398, x_404); -lean_dec(x_404); -lean_ctor_set(x_402, 0, x_405); -return x_402; -} -else -{ -lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; -x_406 = lean_ctor_get(x_402, 0); -x_407 = lean_ctor_get(x_402, 1); -lean_inc(x_407); -lean_inc(x_406); -lean_dec(x_402); -x_408 = l_Lean_mkAppRev(x_398, x_406); -lean_dec(x_406); -x_409 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_409, 0, x_408); -lean_ctor_set(x_409, 1, x_407); -return x_409; -} -} -} -} -case 5: -{ -lean_object* x_495; lean_object* x_496; lean_object* x_497; -x_495 = lean_ctor_get(x_2, 0); -lean_inc(x_495); -x_496 = lean_ctor_get(x_2, 1); -lean_inc(x_496); -lean_dec(x_2); -x_497 = lean_array_push(x_3, x_496); -x_2 = x_495; -x_3 = x_497; -goto _start; -} -case 6: -{ -uint8_t x_499; lean_object* x_500; lean_object* x_501; uint8_t x_569; -x_499 = l_Lean_Expr_isMVar(x_2); -x_569 = lean_expr_has_expr_mvar(x_2); -if (x_569 == 0) -{ -uint8_t x_570; -x_570 = lean_expr_has_level_mvar(x_2); -if (x_570 == 0) -{ -x_500 = x_2; -x_501 = x_4; -goto block_568; -} -else -{ -lean_object* x_571; lean_object* x_572; -x_571 = lean_ctor_get(x_4, 1); -lean_inc(x_571); -x_572 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_571, x_2); -lean_dec(x_571); -if (lean_obj_tag(x_572) == 0) -{ -lean_object* x_573; lean_object* x_574; lean_object* x_575; uint8_t x_576; -lean_inc(x_2); -lean_inc(x_1); -x_573 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___rarg(x_1, x_2, x_4); -x_574 = lean_ctor_get(x_573, 1); -lean_inc(x_574); -x_575 = lean_ctor_get(x_573, 0); -lean_inc(x_575); -lean_dec(x_573); -x_576 = !lean_is_exclusive(x_574); -if (x_576 == 0) -{ -lean_object* x_577; lean_object* x_578; -x_577 = lean_ctor_get(x_574, 1); -lean_inc(x_575); -x_578 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_577, x_2, x_575); -lean_ctor_set(x_574, 1, x_578); -x_500 = x_575; -x_501 = x_574; -goto block_568; -} -else -{ -lean_object* x_579; lean_object* x_580; lean_object* x_581; lean_object* x_582; -x_579 = lean_ctor_get(x_574, 0); -x_580 = lean_ctor_get(x_574, 1); -lean_inc(x_580); -lean_inc(x_579); -lean_dec(x_574); -lean_inc(x_575); -x_581 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_580, x_2, x_575); -x_582 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_582, 0, x_579); -lean_ctor_set(x_582, 1, x_581); -x_500 = x_575; -x_501 = x_582; -goto block_568; -} -} -else -{ -lean_object* x_583; -lean_dec(x_2); -x_583 = lean_ctor_get(x_572, 0); -lean_inc(x_583); -lean_dec(x_572); -x_500 = x_583; -x_501 = x_4; -goto block_568; -} -} -} -else -{ -lean_object* x_584; lean_object* x_585; -x_584 = lean_ctor_get(x_4, 1); -lean_inc(x_584); -x_585 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_584, x_2); -lean_dec(x_584); -if (lean_obj_tag(x_585) == 0) -{ -lean_object* x_586; lean_object* x_587; lean_object* x_588; uint8_t x_589; -lean_inc(x_2); -lean_inc(x_1); -x_586 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___rarg(x_1, x_2, x_4); -x_587 = lean_ctor_get(x_586, 1); -lean_inc(x_587); -x_588 = lean_ctor_get(x_586, 0); -lean_inc(x_588); -lean_dec(x_586); -x_589 = !lean_is_exclusive(x_587); -if (x_589 == 0) -{ -lean_object* x_590; lean_object* x_591; -x_590 = lean_ctor_get(x_587, 1); -lean_inc(x_588); -x_591 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_590, x_2, x_588); -lean_ctor_set(x_587, 1, x_591); -x_500 = x_588; -x_501 = x_587; -goto block_568; -} -else -{ -lean_object* x_592; lean_object* x_593; lean_object* x_594; lean_object* x_595; -x_592 = lean_ctor_get(x_587, 0); -x_593 = lean_ctor_get(x_587, 1); -lean_inc(x_593); -lean_inc(x_592); -lean_dec(x_587); -lean_inc(x_588); -x_594 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_593, x_2, x_588); -x_595 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_595, 0, x_592); -lean_ctor_set(x_595, 1, x_594); -x_500 = x_588; -x_501 = x_595; -goto block_568; -} -} -else -{ -lean_object* x_596; -lean_dec(x_2); -x_596 = lean_ctor_get(x_585, 0); -lean_inc(x_596); -lean_dec(x_585); -x_500 = x_596; -x_501 = x_4; -goto block_568; -} -} -block_568: -{ -lean_object* x_502; -if (x_499 == 0) -{ -lean_object* x_513; -x_513 = lean_box(0); -x_502 = x_513; -goto block_512; -} -else -{ -uint8_t x_514; -x_514 = l_Lean_Expr_isLambda(x_500); -if (x_514 == 0) -{ -lean_object* x_515; -x_515 = lean_box(0); -x_502 = x_515; -goto block_512; -} -else -{ -lean_object* x_516; uint8_t x_517; -x_516 = l_Lean_Expr_betaRev(x_500, x_3); -lean_dec(x_500); -x_517 = lean_expr_has_expr_mvar(x_516); -if (x_517 == 0) -{ -uint8_t x_518; -x_518 = lean_expr_has_level_mvar(x_516); -if (x_518 == 0) -{ -lean_object* x_519; -lean_dec(x_1); -x_519 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_519, 0, x_516); -lean_ctor_set(x_519, 1, x_501); -return x_519; -} -else -{ -lean_object* x_520; lean_object* x_521; -x_520 = lean_ctor_get(x_501, 1); -lean_inc(x_520); -x_521 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_520, x_516); -lean_dec(x_520); -if (lean_obj_tag(x_521) == 0) -{ -lean_object* x_522; uint8_t x_523; -lean_inc(x_516); -x_522 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___rarg(x_1, x_516, x_501); -x_523 = !lean_is_exclusive(x_522); -if (x_523 == 0) -{ -lean_object* x_524; uint8_t x_525; -x_524 = lean_ctor_get(x_522, 1); -x_525 = !lean_is_exclusive(x_524); -if (x_525 == 0) -{ -lean_object* x_526; lean_object* x_527; lean_object* x_528; -x_526 = lean_ctor_get(x_522, 0); -x_527 = lean_ctor_get(x_524, 1); -lean_inc(x_526); -x_528 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_527, x_516, x_526); -lean_ctor_set(x_524, 1, x_528); -return x_522; -} -else -{ -lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; -x_529 = lean_ctor_get(x_522, 0); -x_530 = lean_ctor_get(x_524, 0); -x_531 = lean_ctor_get(x_524, 1); -lean_inc(x_531); -lean_inc(x_530); -lean_dec(x_524); -lean_inc(x_529); -x_532 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_531, x_516, x_529); -x_533 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_533, 0, x_530); -lean_ctor_set(x_533, 1, x_532); -lean_ctor_set(x_522, 1, x_533); -return x_522; -} -} -else -{ -lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; lean_object* x_540; lean_object* x_541; -x_534 = lean_ctor_get(x_522, 1); -x_535 = lean_ctor_get(x_522, 0); -lean_inc(x_534); -lean_inc(x_535); -lean_dec(x_522); -x_536 = lean_ctor_get(x_534, 0); -lean_inc(x_536); -x_537 = lean_ctor_get(x_534, 1); -lean_inc(x_537); -if (lean_is_exclusive(x_534)) { - lean_ctor_release(x_534, 0); - lean_ctor_release(x_534, 1); - x_538 = x_534; -} else { - lean_dec_ref(x_534); - x_538 = lean_box(0); -} -lean_inc(x_535); -x_539 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_537, x_516, x_535); -if (lean_is_scalar(x_538)) { - x_540 = lean_alloc_ctor(0, 2, 0); -} else { - x_540 = x_538; -} -lean_ctor_set(x_540, 0, x_536); -lean_ctor_set(x_540, 1, x_539); -x_541 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_541, 0, x_535); -lean_ctor_set(x_541, 1, x_540); -return x_541; -} -} -else -{ -lean_object* x_542; lean_object* x_543; -lean_dec(x_516); -lean_dec(x_1); -x_542 = lean_ctor_get(x_521, 0); -lean_inc(x_542); -lean_dec(x_521); -x_543 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_543, 0, x_542); -lean_ctor_set(x_543, 1, x_501); -return x_543; -} -} -} -else -{ -lean_object* x_544; lean_object* x_545; -x_544 = lean_ctor_get(x_501, 1); -lean_inc(x_544); -x_545 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_544, x_516); -lean_dec(x_544); -if (lean_obj_tag(x_545) == 0) -{ -lean_object* x_546; uint8_t x_547; -lean_inc(x_516); -x_546 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___rarg(x_1, x_516, x_501); -x_547 = !lean_is_exclusive(x_546); -if (x_547 == 0) -{ -lean_object* x_548; uint8_t x_549; -x_548 = lean_ctor_get(x_546, 1); -x_549 = !lean_is_exclusive(x_548); -if (x_549 == 0) -{ -lean_object* x_550; lean_object* x_551; lean_object* x_552; -x_550 = lean_ctor_get(x_546, 0); -x_551 = lean_ctor_get(x_548, 1); -lean_inc(x_550); -x_552 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_551, x_516, x_550); -lean_ctor_set(x_548, 1, x_552); -return x_546; -} -else -{ -lean_object* x_553; lean_object* x_554; lean_object* x_555; lean_object* x_556; lean_object* x_557; -x_553 = lean_ctor_get(x_546, 0); -x_554 = lean_ctor_get(x_548, 0); -x_555 = lean_ctor_get(x_548, 1); -lean_inc(x_555); -lean_inc(x_554); -lean_dec(x_548); -lean_inc(x_553); -x_556 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_555, x_516, x_553); -x_557 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_557, 0, x_554); -lean_ctor_set(x_557, 1, x_556); -lean_ctor_set(x_546, 1, x_557); -return x_546; -} -} -else -{ -lean_object* x_558; lean_object* x_559; lean_object* x_560; lean_object* x_561; lean_object* x_562; lean_object* x_563; lean_object* x_564; lean_object* x_565; -x_558 = lean_ctor_get(x_546, 1); -x_559 = lean_ctor_get(x_546, 0); -lean_inc(x_558); -lean_inc(x_559); -lean_dec(x_546); -x_560 = lean_ctor_get(x_558, 0); -lean_inc(x_560); -x_561 = lean_ctor_get(x_558, 1); -lean_inc(x_561); -if (lean_is_exclusive(x_558)) { - lean_ctor_release(x_558, 0); - lean_ctor_release(x_558, 1); - x_562 = x_558; -} else { - lean_dec_ref(x_558); - x_562 = lean_box(0); -} -lean_inc(x_559); -x_563 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_561, x_516, x_559); -if (lean_is_scalar(x_562)) { - x_564 = lean_alloc_ctor(0, 2, 0); -} else { - x_564 = x_562; -} -lean_ctor_set(x_564, 0, x_560); -lean_ctor_set(x_564, 1, x_563); -x_565 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_565, 0, x_559); -lean_ctor_set(x_565, 1, x_564); -return x_565; -} -} -else -{ -lean_object* x_566; lean_object* x_567; -lean_dec(x_516); -lean_dec(x_1); -x_566 = lean_ctor_get(x_545, 0); -lean_inc(x_566); -lean_dec(x_545); -x_567 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_567, 0, x_566); -lean_ctor_set(x_567, 1, x_501); -return x_567; -} -} -} -} -block_512: -{ -lean_object* x_503; lean_object* x_504; uint8_t x_505; -lean_dec(x_502); -x_503 = lean_unsigned_to_nat(0u); -x_504 = l_Array_umapMAux___main___at_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___spec__4___rarg(x_1, x_503, x_3, x_501); -x_505 = !lean_is_exclusive(x_504); -if (x_505 == 0) -{ -lean_object* x_506; lean_object* x_507; -x_506 = lean_ctor_get(x_504, 0); -x_507 = l_Lean_mkAppRev(x_500, x_506); -lean_dec(x_506); -lean_ctor_set(x_504, 0, x_507); -return x_504; -} -else -{ -lean_object* x_508; lean_object* x_509; lean_object* x_510; lean_object* x_511; -x_508 = lean_ctor_get(x_504, 0); -x_509 = lean_ctor_get(x_504, 1); -lean_inc(x_509); -lean_inc(x_508); -lean_dec(x_504); -x_510 = l_Lean_mkAppRev(x_500, x_508); -lean_dec(x_508); -x_511 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_511, 0, x_510); -lean_ctor_set(x_511, 1, x_509); -return x_511; -} -} -} -} -case 7: -{ -uint8_t x_597; lean_object* x_598; lean_object* x_599; uint8_t x_667; -x_597 = l_Lean_Expr_isMVar(x_2); -x_667 = lean_expr_has_expr_mvar(x_2); -if (x_667 == 0) -{ -uint8_t x_668; -x_668 = lean_expr_has_level_mvar(x_2); -if (x_668 == 0) -{ -x_598 = x_2; -x_599 = x_4; -goto block_666; -} -else -{ -lean_object* x_669; lean_object* x_670; -x_669 = lean_ctor_get(x_4, 1); -lean_inc(x_669); -x_670 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_669, x_2); -lean_dec(x_669); -if (lean_obj_tag(x_670) == 0) -{ -lean_object* x_671; lean_object* x_672; lean_object* x_673; uint8_t x_674; -lean_inc(x_2); -lean_inc(x_1); -x_671 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___rarg(x_1, x_2, x_4); -x_672 = lean_ctor_get(x_671, 1); -lean_inc(x_672); -x_673 = lean_ctor_get(x_671, 0); -lean_inc(x_673); -lean_dec(x_671); -x_674 = !lean_is_exclusive(x_672); -if (x_674 == 0) -{ -lean_object* x_675; lean_object* x_676; -x_675 = lean_ctor_get(x_672, 1); -lean_inc(x_673); -x_676 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_675, x_2, x_673); -lean_ctor_set(x_672, 1, x_676); -x_598 = x_673; -x_599 = x_672; -goto block_666; -} -else -{ -lean_object* x_677; lean_object* x_678; lean_object* x_679; lean_object* x_680; -x_677 = lean_ctor_get(x_672, 0); -x_678 = lean_ctor_get(x_672, 1); -lean_inc(x_678); -lean_inc(x_677); -lean_dec(x_672); -lean_inc(x_673); -x_679 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_678, x_2, x_673); -x_680 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_680, 0, x_677); -lean_ctor_set(x_680, 1, x_679); -x_598 = x_673; -x_599 = x_680; -goto block_666; -} -} -else -{ -lean_object* x_681; -lean_dec(x_2); -x_681 = lean_ctor_get(x_670, 0); -lean_inc(x_681); -lean_dec(x_670); -x_598 = x_681; -x_599 = x_4; -goto block_666; -} -} -} -else -{ -lean_object* x_682; lean_object* x_683; -x_682 = lean_ctor_get(x_4, 1); -lean_inc(x_682); -x_683 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_682, x_2); -lean_dec(x_682); -if (lean_obj_tag(x_683) == 0) -{ -lean_object* x_684; lean_object* x_685; lean_object* x_686; uint8_t x_687; -lean_inc(x_2); -lean_inc(x_1); -x_684 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___rarg(x_1, x_2, x_4); -x_685 = lean_ctor_get(x_684, 1); -lean_inc(x_685); -x_686 = lean_ctor_get(x_684, 0); -lean_inc(x_686); -lean_dec(x_684); -x_687 = !lean_is_exclusive(x_685); -if (x_687 == 0) -{ -lean_object* x_688; lean_object* x_689; -x_688 = lean_ctor_get(x_685, 1); -lean_inc(x_686); -x_689 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_688, x_2, x_686); -lean_ctor_set(x_685, 1, x_689); -x_598 = x_686; -x_599 = x_685; -goto block_666; -} -else -{ -lean_object* x_690; lean_object* x_691; lean_object* x_692; lean_object* x_693; -x_690 = lean_ctor_get(x_685, 0); -x_691 = lean_ctor_get(x_685, 1); -lean_inc(x_691); -lean_inc(x_690); -lean_dec(x_685); -lean_inc(x_686); -x_692 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_691, x_2, x_686); -x_693 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_693, 0, x_690); -lean_ctor_set(x_693, 1, x_692); -x_598 = x_686; -x_599 = x_693; -goto block_666; -} -} -else -{ -lean_object* x_694; -lean_dec(x_2); -x_694 = lean_ctor_get(x_683, 0); -lean_inc(x_694); -lean_dec(x_683); -x_598 = x_694; -x_599 = x_4; -goto block_666; -} -} -block_666: -{ -lean_object* x_600; -if (x_597 == 0) -{ -lean_object* x_611; -x_611 = lean_box(0); -x_600 = x_611; -goto block_610; -} -else -{ -uint8_t x_612; -x_612 = l_Lean_Expr_isLambda(x_598); -if (x_612 == 0) -{ -lean_object* x_613; -x_613 = lean_box(0); -x_600 = x_613; -goto block_610; -} -else -{ -lean_object* x_614; uint8_t x_615; -x_614 = l_Lean_Expr_betaRev(x_598, x_3); -lean_dec(x_598); -x_615 = lean_expr_has_expr_mvar(x_614); -if (x_615 == 0) -{ -uint8_t x_616; -x_616 = lean_expr_has_level_mvar(x_614); -if (x_616 == 0) -{ -lean_object* x_617; -lean_dec(x_1); -x_617 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_617, 0, x_614); -lean_ctor_set(x_617, 1, x_599); -return x_617; -} -else -{ -lean_object* x_618; lean_object* x_619; -x_618 = lean_ctor_get(x_599, 1); -lean_inc(x_618); -x_619 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_618, x_614); -lean_dec(x_618); -if (lean_obj_tag(x_619) == 0) -{ -lean_object* x_620; uint8_t x_621; -lean_inc(x_614); -x_620 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___rarg(x_1, x_614, x_599); -x_621 = !lean_is_exclusive(x_620); -if (x_621 == 0) -{ -lean_object* x_622; uint8_t x_623; -x_622 = lean_ctor_get(x_620, 1); -x_623 = !lean_is_exclusive(x_622); -if (x_623 == 0) -{ -lean_object* x_624; lean_object* x_625; lean_object* x_626; -x_624 = lean_ctor_get(x_620, 0); -x_625 = lean_ctor_get(x_622, 1); -lean_inc(x_624); -x_626 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_625, x_614, x_624); -lean_ctor_set(x_622, 1, x_626); -return x_620; -} -else -{ -lean_object* x_627; lean_object* x_628; lean_object* x_629; lean_object* x_630; lean_object* x_631; -x_627 = lean_ctor_get(x_620, 0); -x_628 = lean_ctor_get(x_622, 0); -x_629 = lean_ctor_get(x_622, 1); -lean_inc(x_629); -lean_inc(x_628); -lean_dec(x_622); -lean_inc(x_627); -x_630 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_629, x_614, x_627); -x_631 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_631, 0, x_628); -lean_ctor_set(x_631, 1, x_630); -lean_ctor_set(x_620, 1, x_631); -return x_620; -} -} -else -{ -lean_object* x_632; lean_object* x_633; lean_object* x_634; lean_object* x_635; lean_object* x_636; lean_object* x_637; lean_object* x_638; lean_object* x_639; -x_632 = lean_ctor_get(x_620, 1); -x_633 = lean_ctor_get(x_620, 0); -lean_inc(x_632); -lean_inc(x_633); -lean_dec(x_620); -x_634 = lean_ctor_get(x_632, 0); -lean_inc(x_634); -x_635 = lean_ctor_get(x_632, 1); -lean_inc(x_635); -if (lean_is_exclusive(x_632)) { - lean_ctor_release(x_632, 0); - lean_ctor_release(x_632, 1); - x_636 = x_632; -} else { - lean_dec_ref(x_632); - x_636 = lean_box(0); -} -lean_inc(x_633); -x_637 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_635, x_614, x_633); -if (lean_is_scalar(x_636)) { - x_638 = lean_alloc_ctor(0, 2, 0); -} else { - x_638 = x_636; -} -lean_ctor_set(x_638, 0, x_634); -lean_ctor_set(x_638, 1, x_637); -x_639 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_639, 0, x_633); -lean_ctor_set(x_639, 1, x_638); -return x_639; -} -} -else -{ -lean_object* x_640; lean_object* x_641; -lean_dec(x_614); -lean_dec(x_1); -x_640 = lean_ctor_get(x_619, 0); -lean_inc(x_640); -lean_dec(x_619); -x_641 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_641, 0, x_640); -lean_ctor_set(x_641, 1, x_599); -return x_641; -} -} -} -else -{ -lean_object* x_642; lean_object* x_643; -x_642 = lean_ctor_get(x_599, 1); -lean_inc(x_642); -x_643 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_642, x_614); -lean_dec(x_642); -if (lean_obj_tag(x_643) == 0) -{ -lean_object* x_644; uint8_t x_645; -lean_inc(x_614); -x_644 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___rarg(x_1, x_614, x_599); -x_645 = !lean_is_exclusive(x_644); -if (x_645 == 0) -{ -lean_object* x_646; uint8_t x_647; -x_646 = lean_ctor_get(x_644, 1); -x_647 = !lean_is_exclusive(x_646); -if (x_647 == 0) -{ -lean_object* x_648; lean_object* x_649; lean_object* x_650; -x_648 = lean_ctor_get(x_644, 0); -x_649 = lean_ctor_get(x_646, 1); -lean_inc(x_648); -x_650 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_649, x_614, x_648); -lean_ctor_set(x_646, 1, x_650); -return x_644; -} -else -{ -lean_object* x_651; lean_object* x_652; lean_object* x_653; lean_object* x_654; lean_object* x_655; -x_651 = lean_ctor_get(x_644, 0); -x_652 = lean_ctor_get(x_646, 0); -x_653 = lean_ctor_get(x_646, 1); -lean_inc(x_653); -lean_inc(x_652); -lean_dec(x_646); -lean_inc(x_651); -x_654 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_653, x_614, x_651); -x_655 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_655, 0, x_652); -lean_ctor_set(x_655, 1, x_654); -lean_ctor_set(x_644, 1, x_655); -return x_644; -} -} -else -{ -lean_object* x_656; lean_object* x_657; lean_object* x_658; lean_object* x_659; lean_object* x_660; lean_object* x_661; lean_object* x_662; lean_object* x_663; -x_656 = lean_ctor_get(x_644, 1); -x_657 = lean_ctor_get(x_644, 0); -lean_inc(x_656); -lean_inc(x_657); -lean_dec(x_644); -x_658 = lean_ctor_get(x_656, 0); -lean_inc(x_658); -x_659 = lean_ctor_get(x_656, 1); -lean_inc(x_659); -if (lean_is_exclusive(x_656)) { - lean_ctor_release(x_656, 0); - lean_ctor_release(x_656, 1); - x_660 = x_656; -} else { - lean_dec_ref(x_656); - x_660 = lean_box(0); -} -lean_inc(x_657); -x_661 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_659, x_614, x_657); -if (lean_is_scalar(x_660)) { - x_662 = lean_alloc_ctor(0, 2, 0); -} else { - x_662 = x_660; -} -lean_ctor_set(x_662, 0, x_658); -lean_ctor_set(x_662, 1, x_661); -x_663 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_663, 0, x_657); -lean_ctor_set(x_663, 1, x_662); -return x_663; -} -} -else -{ -lean_object* x_664; lean_object* x_665; -lean_dec(x_614); -lean_dec(x_1); -x_664 = lean_ctor_get(x_643, 0); -lean_inc(x_664); -lean_dec(x_643); -x_665 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_665, 0, x_664); -lean_ctor_set(x_665, 1, x_599); -return x_665; -} -} -} -} -block_610: -{ -lean_object* x_601; lean_object* x_602; uint8_t x_603; -lean_dec(x_600); -x_601 = lean_unsigned_to_nat(0u); -x_602 = l_Array_umapMAux___main___at_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___spec__4___rarg(x_1, x_601, x_3, x_599); -x_603 = !lean_is_exclusive(x_602); -if (x_603 == 0) -{ -lean_object* x_604; lean_object* x_605; -x_604 = lean_ctor_get(x_602, 0); -x_605 = l_Lean_mkAppRev(x_598, x_604); -lean_dec(x_604); -lean_ctor_set(x_602, 0, x_605); -return x_602; -} -else -{ -lean_object* x_606; lean_object* x_607; lean_object* x_608; lean_object* x_609; -x_606 = lean_ctor_get(x_602, 0); -x_607 = lean_ctor_get(x_602, 1); -lean_inc(x_607); -lean_inc(x_606); -lean_dec(x_602); -x_608 = l_Lean_mkAppRev(x_598, x_606); -lean_dec(x_606); -x_609 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_609, 0, x_608); -lean_ctor_set(x_609, 1, x_607); -return x_609; -} -} -} -} -case 8: -{ -uint8_t x_695; lean_object* x_696; lean_object* x_697; uint8_t x_765; -x_695 = l_Lean_Expr_isMVar(x_2); -x_765 = lean_expr_has_expr_mvar(x_2); -if (x_765 == 0) -{ -uint8_t x_766; -x_766 = lean_expr_has_level_mvar(x_2); -if (x_766 == 0) -{ -x_696 = x_2; -x_697 = x_4; -goto block_764; -} -else -{ -lean_object* x_767; lean_object* x_768; -x_767 = lean_ctor_get(x_4, 1); -lean_inc(x_767); -x_768 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_767, x_2); -lean_dec(x_767); -if (lean_obj_tag(x_768) == 0) -{ -lean_object* x_769; lean_object* x_770; lean_object* x_771; uint8_t x_772; -lean_inc(x_2); -lean_inc(x_1); -x_769 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___rarg(x_1, x_2, x_4); -x_770 = lean_ctor_get(x_769, 1); -lean_inc(x_770); -x_771 = lean_ctor_get(x_769, 0); -lean_inc(x_771); -lean_dec(x_769); -x_772 = !lean_is_exclusive(x_770); -if (x_772 == 0) -{ -lean_object* x_773; lean_object* x_774; -x_773 = lean_ctor_get(x_770, 1); -lean_inc(x_771); -x_774 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_773, x_2, x_771); -lean_ctor_set(x_770, 1, x_774); -x_696 = x_771; -x_697 = x_770; -goto block_764; -} -else -{ -lean_object* x_775; lean_object* x_776; lean_object* x_777; lean_object* x_778; -x_775 = lean_ctor_get(x_770, 0); -x_776 = lean_ctor_get(x_770, 1); -lean_inc(x_776); -lean_inc(x_775); -lean_dec(x_770); -lean_inc(x_771); -x_777 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_776, x_2, x_771); -x_778 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_778, 0, x_775); -lean_ctor_set(x_778, 1, x_777); -x_696 = x_771; -x_697 = x_778; -goto block_764; -} -} -else -{ -lean_object* x_779; -lean_dec(x_2); -x_779 = lean_ctor_get(x_768, 0); -lean_inc(x_779); -lean_dec(x_768); -x_696 = x_779; -x_697 = x_4; -goto block_764; -} -} -} -else -{ -lean_object* x_780; lean_object* x_781; -x_780 = lean_ctor_get(x_4, 1); -lean_inc(x_780); -x_781 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_780, x_2); -lean_dec(x_780); -if (lean_obj_tag(x_781) == 0) -{ -lean_object* x_782; lean_object* x_783; lean_object* x_784; uint8_t x_785; -lean_inc(x_2); -lean_inc(x_1); -x_782 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___rarg(x_1, x_2, x_4); -x_783 = lean_ctor_get(x_782, 1); -lean_inc(x_783); -x_784 = lean_ctor_get(x_782, 0); -lean_inc(x_784); -lean_dec(x_782); -x_785 = !lean_is_exclusive(x_783); -if (x_785 == 0) -{ -lean_object* x_786; lean_object* x_787; -x_786 = lean_ctor_get(x_783, 1); -lean_inc(x_784); -x_787 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_786, x_2, x_784); -lean_ctor_set(x_783, 1, x_787); -x_696 = x_784; -x_697 = x_783; -goto block_764; -} -else -{ -lean_object* x_788; lean_object* x_789; lean_object* x_790; lean_object* x_791; -x_788 = lean_ctor_get(x_783, 0); -x_789 = lean_ctor_get(x_783, 1); -lean_inc(x_789); -lean_inc(x_788); -lean_dec(x_783); -lean_inc(x_784); -x_790 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_789, x_2, x_784); -x_791 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_791, 0, x_788); -lean_ctor_set(x_791, 1, x_790); -x_696 = x_784; -x_697 = x_791; -goto block_764; -} -} -else -{ -lean_object* x_792; -lean_dec(x_2); -x_792 = lean_ctor_get(x_781, 0); -lean_inc(x_792); -lean_dec(x_781); -x_696 = x_792; -x_697 = x_4; -goto block_764; -} -} -block_764: -{ -lean_object* x_698; -if (x_695 == 0) -{ -lean_object* x_709; -x_709 = lean_box(0); -x_698 = x_709; -goto block_708; -} -else -{ -uint8_t x_710; -x_710 = l_Lean_Expr_isLambda(x_696); -if (x_710 == 0) -{ -lean_object* x_711; -x_711 = lean_box(0); -x_698 = x_711; -goto block_708; -} -else -{ -lean_object* x_712; uint8_t x_713; -x_712 = l_Lean_Expr_betaRev(x_696, x_3); -lean_dec(x_696); -x_713 = lean_expr_has_expr_mvar(x_712); -if (x_713 == 0) -{ -uint8_t x_714; -x_714 = lean_expr_has_level_mvar(x_712); -if (x_714 == 0) -{ -lean_object* x_715; -lean_dec(x_1); -x_715 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_715, 0, x_712); -lean_ctor_set(x_715, 1, x_697); -return x_715; -} -else -{ -lean_object* x_716; lean_object* x_717; -x_716 = lean_ctor_get(x_697, 1); -lean_inc(x_716); -x_717 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_716, x_712); -lean_dec(x_716); -if (lean_obj_tag(x_717) == 0) -{ -lean_object* x_718; uint8_t x_719; -lean_inc(x_712); -x_718 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___rarg(x_1, x_712, x_697); -x_719 = !lean_is_exclusive(x_718); -if (x_719 == 0) -{ -lean_object* x_720; uint8_t x_721; -x_720 = lean_ctor_get(x_718, 1); -x_721 = !lean_is_exclusive(x_720); -if (x_721 == 0) -{ -lean_object* x_722; lean_object* x_723; lean_object* x_724; -x_722 = lean_ctor_get(x_718, 0); -x_723 = lean_ctor_get(x_720, 1); -lean_inc(x_722); -x_724 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_723, x_712, x_722); -lean_ctor_set(x_720, 1, x_724); -return x_718; -} -else -{ -lean_object* x_725; lean_object* x_726; lean_object* x_727; lean_object* x_728; lean_object* x_729; -x_725 = lean_ctor_get(x_718, 0); -x_726 = lean_ctor_get(x_720, 0); -x_727 = lean_ctor_get(x_720, 1); -lean_inc(x_727); -lean_inc(x_726); -lean_dec(x_720); -lean_inc(x_725); -x_728 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_727, x_712, x_725); -x_729 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_729, 0, x_726); -lean_ctor_set(x_729, 1, x_728); -lean_ctor_set(x_718, 1, x_729); -return x_718; -} -} -else -{ -lean_object* x_730; lean_object* x_731; lean_object* x_732; lean_object* x_733; lean_object* x_734; lean_object* x_735; lean_object* x_736; lean_object* x_737; -x_730 = lean_ctor_get(x_718, 1); -x_731 = lean_ctor_get(x_718, 0); -lean_inc(x_730); -lean_inc(x_731); -lean_dec(x_718); -x_732 = lean_ctor_get(x_730, 0); -lean_inc(x_732); -x_733 = lean_ctor_get(x_730, 1); -lean_inc(x_733); -if (lean_is_exclusive(x_730)) { - lean_ctor_release(x_730, 0); - lean_ctor_release(x_730, 1); - x_734 = x_730; -} else { - lean_dec_ref(x_730); - x_734 = lean_box(0); -} -lean_inc(x_731); -x_735 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_733, x_712, x_731); -if (lean_is_scalar(x_734)) { - x_736 = lean_alloc_ctor(0, 2, 0); -} else { - x_736 = x_734; -} -lean_ctor_set(x_736, 0, x_732); -lean_ctor_set(x_736, 1, x_735); -x_737 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_737, 0, x_731); -lean_ctor_set(x_737, 1, x_736); -return x_737; -} -} -else -{ -lean_object* x_738; lean_object* x_739; -lean_dec(x_712); -lean_dec(x_1); -x_738 = lean_ctor_get(x_717, 0); -lean_inc(x_738); -lean_dec(x_717); -x_739 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_739, 0, x_738); -lean_ctor_set(x_739, 1, x_697); -return x_739; -} -} -} -else -{ -lean_object* x_740; lean_object* x_741; -x_740 = lean_ctor_get(x_697, 1); -lean_inc(x_740); -x_741 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_740, x_712); -lean_dec(x_740); -if (lean_obj_tag(x_741) == 0) -{ -lean_object* x_742; uint8_t x_743; -lean_inc(x_712); -x_742 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___rarg(x_1, x_712, x_697); -x_743 = !lean_is_exclusive(x_742); -if (x_743 == 0) -{ -lean_object* x_744; uint8_t x_745; -x_744 = lean_ctor_get(x_742, 1); -x_745 = !lean_is_exclusive(x_744); -if (x_745 == 0) -{ -lean_object* x_746; lean_object* x_747; lean_object* x_748; -x_746 = lean_ctor_get(x_742, 0); -x_747 = lean_ctor_get(x_744, 1); -lean_inc(x_746); -x_748 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_747, x_712, x_746); -lean_ctor_set(x_744, 1, x_748); -return x_742; -} -else -{ -lean_object* x_749; lean_object* x_750; lean_object* x_751; lean_object* x_752; lean_object* x_753; -x_749 = lean_ctor_get(x_742, 0); -x_750 = lean_ctor_get(x_744, 0); -x_751 = lean_ctor_get(x_744, 1); -lean_inc(x_751); -lean_inc(x_750); -lean_dec(x_744); -lean_inc(x_749); -x_752 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_751, x_712, x_749); -x_753 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_753, 0, x_750); -lean_ctor_set(x_753, 1, x_752); -lean_ctor_set(x_742, 1, x_753); -return x_742; -} -} -else -{ -lean_object* x_754; lean_object* x_755; lean_object* x_756; lean_object* x_757; lean_object* x_758; lean_object* x_759; lean_object* x_760; lean_object* x_761; -x_754 = lean_ctor_get(x_742, 1); -x_755 = lean_ctor_get(x_742, 0); -lean_inc(x_754); -lean_inc(x_755); -lean_dec(x_742); -x_756 = lean_ctor_get(x_754, 0); -lean_inc(x_756); -x_757 = lean_ctor_get(x_754, 1); -lean_inc(x_757); -if (lean_is_exclusive(x_754)) { - lean_ctor_release(x_754, 0); - lean_ctor_release(x_754, 1); - x_758 = x_754; -} else { - lean_dec_ref(x_754); - x_758 = lean_box(0); -} -lean_inc(x_755); -x_759 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_757, x_712, x_755); -if (lean_is_scalar(x_758)) { - x_760 = lean_alloc_ctor(0, 2, 0); -} else { - x_760 = x_758; -} -lean_ctor_set(x_760, 0, x_756); -lean_ctor_set(x_760, 1, x_759); -x_761 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_761, 0, x_755); -lean_ctor_set(x_761, 1, x_760); -return x_761; -} -} -else -{ -lean_object* x_762; lean_object* x_763; -lean_dec(x_712); -lean_dec(x_1); -x_762 = lean_ctor_get(x_741, 0); -lean_inc(x_762); -lean_dec(x_741); -x_763 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_763, 0, x_762); -lean_ctor_set(x_763, 1, x_697); -return x_763; -} -} -} -} -block_708: -{ -lean_object* x_699; lean_object* x_700; uint8_t x_701; -lean_dec(x_698); -x_699 = lean_unsigned_to_nat(0u); -x_700 = l_Array_umapMAux___main___at_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___spec__4___rarg(x_1, x_699, x_3, x_697); -x_701 = !lean_is_exclusive(x_700); -if (x_701 == 0) -{ -lean_object* x_702; lean_object* x_703; -x_702 = lean_ctor_get(x_700, 0); -x_703 = l_Lean_mkAppRev(x_696, x_702); -lean_dec(x_702); -lean_ctor_set(x_700, 0, x_703); -return x_700; -} -else -{ -lean_object* x_704; lean_object* x_705; lean_object* x_706; lean_object* x_707; -x_704 = lean_ctor_get(x_700, 0); -x_705 = lean_ctor_get(x_700, 1); -lean_inc(x_705); -lean_inc(x_704); -lean_dec(x_700); -x_706 = l_Lean_mkAppRev(x_696, x_704); -lean_dec(x_704); -x_707 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_707, 0, x_706); -lean_ctor_set(x_707, 1, x_705); -return x_707; -} -} -} -} -case 9: -{ -uint8_t x_793; lean_object* x_794; lean_object* x_795; uint8_t x_863; -x_793 = l_Lean_Expr_isMVar(x_2); -x_863 = lean_expr_has_expr_mvar(x_2); -if (x_863 == 0) -{ -uint8_t x_864; -x_864 = lean_expr_has_level_mvar(x_2); -if (x_864 == 0) -{ -x_794 = x_2; -x_795 = x_4; -goto block_862; -} -else -{ -lean_object* x_865; lean_object* x_866; -x_865 = lean_ctor_get(x_4, 1); -lean_inc(x_865); -x_866 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_865, x_2); -lean_dec(x_865); -if (lean_obj_tag(x_866) == 0) -{ -lean_object* x_867; lean_object* x_868; lean_object* x_869; uint8_t x_870; -lean_inc(x_2); -lean_inc(x_1); -x_867 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___rarg(x_1, x_2, x_4); -x_868 = lean_ctor_get(x_867, 1); -lean_inc(x_868); -x_869 = lean_ctor_get(x_867, 0); -lean_inc(x_869); -lean_dec(x_867); -x_870 = !lean_is_exclusive(x_868); -if (x_870 == 0) -{ -lean_object* x_871; lean_object* x_872; -x_871 = lean_ctor_get(x_868, 1); -lean_inc(x_869); -x_872 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_871, x_2, x_869); -lean_ctor_set(x_868, 1, x_872); -x_794 = x_869; -x_795 = x_868; -goto block_862; -} -else -{ -lean_object* x_873; lean_object* x_874; lean_object* x_875; lean_object* x_876; -x_873 = lean_ctor_get(x_868, 0); -x_874 = lean_ctor_get(x_868, 1); -lean_inc(x_874); -lean_inc(x_873); -lean_dec(x_868); -lean_inc(x_869); -x_875 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_874, x_2, x_869); -x_876 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_876, 0, x_873); -lean_ctor_set(x_876, 1, x_875); -x_794 = x_869; -x_795 = x_876; -goto block_862; -} -} -else -{ -lean_object* x_877; -lean_dec(x_2); -x_877 = lean_ctor_get(x_866, 0); -lean_inc(x_877); -lean_dec(x_866); -x_794 = x_877; -x_795 = x_4; -goto block_862; -} -} -} -else -{ -lean_object* x_878; lean_object* x_879; -x_878 = lean_ctor_get(x_4, 1); -lean_inc(x_878); -x_879 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_878, x_2); -lean_dec(x_878); -if (lean_obj_tag(x_879) == 0) -{ -lean_object* x_880; lean_object* x_881; lean_object* x_882; uint8_t x_883; -lean_inc(x_2); -lean_inc(x_1); -x_880 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___rarg(x_1, x_2, x_4); -x_881 = lean_ctor_get(x_880, 1); -lean_inc(x_881); -x_882 = lean_ctor_get(x_880, 0); -lean_inc(x_882); -lean_dec(x_880); -x_883 = !lean_is_exclusive(x_881); -if (x_883 == 0) -{ -lean_object* x_884; lean_object* x_885; -x_884 = lean_ctor_get(x_881, 1); -lean_inc(x_882); -x_885 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_884, x_2, x_882); -lean_ctor_set(x_881, 1, x_885); -x_794 = x_882; -x_795 = x_881; -goto block_862; -} -else -{ -lean_object* x_886; lean_object* x_887; lean_object* x_888; lean_object* x_889; -x_886 = lean_ctor_get(x_881, 0); -x_887 = lean_ctor_get(x_881, 1); -lean_inc(x_887); -lean_inc(x_886); -lean_dec(x_881); -lean_inc(x_882); -x_888 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_887, x_2, x_882); -x_889 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_889, 0, x_886); -lean_ctor_set(x_889, 1, x_888); -x_794 = x_882; -x_795 = x_889; -goto block_862; -} -} -else -{ -lean_object* x_890; -lean_dec(x_2); -x_890 = lean_ctor_get(x_879, 0); -lean_inc(x_890); -lean_dec(x_879); -x_794 = x_890; -x_795 = x_4; -goto block_862; -} -} -block_862: -{ -lean_object* x_796; -if (x_793 == 0) -{ -lean_object* x_807; -x_807 = lean_box(0); -x_796 = x_807; -goto block_806; -} -else -{ -uint8_t x_808; -x_808 = l_Lean_Expr_isLambda(x_794); -if (x_808 == 0) -{ -lean_object* x_809; -x_809 = lean_box(0); -x_796 = x_809; -goto block_806; -} -else -{ -lean_object* x_810; uint8_t x_811; -x_810 = l_Lean_Expr_betaRev(x_794, x_3); -lean_dec(x_794); -x_811 = lean_expr_has_expr_mvar(x_810); -if (x_811 == 0) -{ -uint8_t x_812; -x_812 = lean_expr_has_level_mvar(x_810); -if (x_812 == 0) -{ -lean_object* x_813; -lean_dec(x_1); -x_813 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_813, 0, x_810); -lean_ctor_set(x_813, 1, x_795); -return x_813; -} -else -{ -lean_object* x_814; lean_object* x_815; -x_814 = lean_ctor_get(x_795, 1); -lean_inc(x_814); -x_815 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_814, x_810); -lean_dec(x_814); -if (lean_obj_tag(x_815) == 0) -{ -lean_object* x_816; uint8_t x_817; -lean_inc(x_810); -x_816 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___rarg(x_1, x_810, x_795); -x_817 = !lean_is_exclusive(x_816); -if (x_817 == 0) -{ -lean_object* x_818; uint8_t x_819; -x_818 = lean_ctor_get(x_816, 1); -x_819 = !lean_is_exclusive(x_818); -if (x_819 == 0) -{ -lean_object* x_820; lean_object* x_821; lean_object* x_822; -x_820 = lean_ctor_get(x_816, 0); -x_821 = lean_ctor_get(x_818, 1); -lean_inc(x_820); -x_822 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_821, x_810, x_820); -lean_ctor_set(x_818, 1, x_822); -return x_816; -} -else -{ -lean_object* x_823; lean_object* x_824; lean_object* x_825; lean_object* x_826; lean_object* x_827; -x_823 = lean_ctor_get(x_816, 0); -x_824 = lean_ctor_get(x_818, 0); -x_825 = lean_ctor_get(x_818, 1); -lean_inc(x_825); -lean_inc(x_824); -lean_dec(x_818); -lean_inc(x_823); -x_826 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_825, x_810, x_823); -x_827 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_827, 0, x_824); -lean_ctor_set(x_827, 1, x_826); -lean_ctor_set(x_816, 1, x_827); -return x_816; -} -} -else -{ -lean_object* x_828; lean_object* x_829; lean_object* x_830; lean_object* x_831; lean_object* x_832; lean_object* x_833; lean_object* x_834; lean_object* x_835; -x_828 = lean_ctor_get(x_816, 1); -x_829 = lean_ctor_get(x_816, 0); -lean_inc(x_828); -lean_inc(x_829); -lean_dec(x_816); -x_830 = lean_ctor_get(x_828, 0); -lean_inc(x_830); -x_831 = lean_ctor_get(x_828, 1); -lean_inc(x_831); -if (lean_is_exclusive(x_828)) { - lean_ctor_release(x_828, 0); - lean_ctor_release(x_828, 1); - x_832 = x_828; -} else { - lean_dec_ref(x_828); - x_832 = lean_box(0); -} -lean_inc(x_829); -x_833 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_831, x_810, x_829); -if (lean_is_scalar(x_832)) { - x_834 = lean_alloc_ctor(0, 2, 0); -} else { - x_834 = x_832; -} -lean_ctor_set(x_834, 0, x_830); -lean_ctor_set(x_834, 1, x_833); -x_835 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_835, 0, x_829); -lean_ctor_set(x_835, 1, x_834); -return x_835; -} -} -else -{ -lean_object* x_836; lean_object* x_837; -lean_dec(x_810); -lean_dec(x_1); -x_836 = lean_ctor_get(x_815, 0); -lean_inc(x_836); -lean_dec(x_815); -x_837 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_837, 0, x_836); -lean_ctor_set(x_837, 1, x_795); -return x_837; -} -} -} -else -{ -lean_object* x_838; lean_object* x_839; -x_838 = lean_ctor_get(x_795, 1); -lean_inc(x_838); -x_839 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_838, x_810); -lean_dec(x_838); -if (lean_obj_tag(x_839) == 0) -{ -lean_object* x_840; uint8_t x_841; -lean_inc(x_810); -x_840 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___rarg(x_1, x_810, x_795); -x_841 = !lean_is_exclusive(x_840); -if (x_841 == 0) -{ -lean_object* x_842; uint8_t x_843; -x_842 = lean_ctor_get(x_840, 1); -x_843 = !lean_is_exclusive(x_842); -if (x_843 == 0) -{ -lean_object* x_844; lean_object* x_845; lean_object* x_846; -x_844 = lean_ctor_get(x_840, 0); -x_845 = lean_ctor_get(x_842, 1); -lean_inc(x_844); -x_846 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_845, x_810, x_844); -lean_ctor_set(x_842, 1, x_846); -return x_840; -} -else -{ -lean_object* x_847; lean_object* x_848; lean_object* x_849; lean_object* x_850; lean_object* x_851; -x_847 = lean_ctor_get(x_840, 0); -x_848 = lean_ctor_get(x_842, 0); -x_849 = lean_ctor_get(x_842, 1); -lean_inc(x_849); -lean_inc(x_848); -lean_dec(x_842); -lean_inc(x_847); -x_850 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_849, x_810, x_847); -x_851 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_851, 0, x_848); -lean_ctor_set(x_851, 1, x_850); -lean_ctor_set(x_840, 1, x_851); -return x_840; -} -} -else -{ -lean_object* x_852; lean_object* x_853; lean_object* x_854; lean_object* x_855; lean_object* x_856; lean_object* x_857; lean_object* x_858; lean_object* x_859; -x_852 = lean_ctor_get(x_840, 1); -x_853 = lean_ctor_get(x_840, 0); -lean_inc(x_852); -lean_inc(x_853); -lean_dec(x_840); -x_854 = lean_ctor_get(x_852, 0); -lean_inc(x_854); -x_855 = lean_ctor_get(x_852, 1); -lean_inc(x_855); -if (lean_is_exclusive(x_852)) { - lean_ctor_release(x_852, 0); - lean_ctor_release(x_852, 1); - x_856 = x_852; -} else { - lean_dec_ref(x_852); - x_856 = lean_box(0); -} -lean_inc(x_853); -x_857 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_855, x_810, x_853); -if (lean_is_scalar(x_856)) { - x_858 = lean_alloc_ctor(0, 2, 0); -} else { - x_858 = x_856; -} -lean_ctor_set(x_858, 0, x_854); -lean_ctor_set(x_858, 1, x_857); -x_859 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_859, 0, x_853); -lean_ctor_set(x_859, 1, x_858); -return x_859; -} -} -else -{ -lean_object* x_860; lean_object* x_861; -lean_dec(x_810); -lean_dec(x_1); -x_860 = lean_ctor_get(x_839, 0); -lean_inc(x_860); -lean_dec(x_839); -x_861 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_861, 0, x_860); -lean_ctor_set(x_861, 1, x_795); -return x_861; -} -} -} -} -block_806: -{ -lean_object* x_797; lean_object* x_798; uint8_t x_799; -lean_dec(x_796); -x_797 = lean_unsigned_to_nat(0u); -x_798 = l_Array_umapMAux___main___at_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___spec__4___rarg(x_1, x_797, x_3, x_795); -x_799 = !lean_is_exclusive(x_798); -if (x_799 == 0) -{ -lean_object* x_800; lean_object* x_801; -x_800 = lean_ctor_get(x_798, 0); -x_801 = l_Lean_mkAppRev(x_794, x_800); -lean_dec(x_800); -lean_ctor_set(x_798, 0, x_801); -return x_798; -} -else -{ -lean_object* x_802; lean_object* x_803; lean_object* x_804; lean_object* x_805; -x_802 = lean_ctor_get(x_798, 0); -x_803 = lean_ctor_get(x_798, 1); -lean_inc(x_803); -lean_inc(x_802); -lean_dec(x_798); -x_804 = l_Lean_mkAppRev(x_794, x_802); -lean_dec(x_802); -x_805 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_805, 0, x_804); -lean_ctor_set(x_805, 1, x_803); -return x_805; -} -} -} -} -case 10: -{ -uint8_t x_891; lean_object* x_892; lean_object* x_893; uint8_t x_961; -x_891 = l_Lean_Expr_isMVar(x_2); -x_961 = lean_expr_has_expr_mvar(x_2); -if (x_961 == 0) -{ -uint8_t x_962; -x_962 = lean_expr_has_level_mvar(x_2); -if (x_962 == 0) -{ -x_892 = x_2; -x_893 = x_4; -goto block_960; -} -else -{ -lean_object* x_963; lean_object* x_964; -x_963 = lean_ctor_get(x_4, 1); -lean_inc(x_963); -x_964 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_963, x_2); -lean_dec(x_963); -if (lean_obj_tag(x_964) == 0) -{ -lean_object* x_965; lean_object* x_966; lean_object* x_967; uint8_t x_968; -lean_inc(x_2); -lean_inc(x_1); -x_965 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___rarg(x_1, x_2, x_4); -x_966 = lean_ctor_get(x_965, 1); -lean_inc(x_966); -x_967 = lean_ctor_get(x_965, 0); -lean_inc(x_967); -lean_dec(x_965); -x_968 = !lean_is_exclusive(x_966); -if (x_968 == 0) -{ -lean_object* x_969; lean_object* x_970; -x_969 = lean_ctor_get(x_966, 1); -lean_inc(x_967); -x_970 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_969, x_2, x_967); -lean_ctor_set(x_966, 1, x_970); -x_892 = x_967; -x_893 = x_966; -goto block_960; -} -else -{ -lean_object* x_971; lean_object* x_972; lean_object* x_973; lean_object* x_974; -x_971 = lean_ctor_get(x_966, 0); -x_972 = lean_ctor_get(x_966, 1); -lean_inc(x_972); -lean_inc(x_971); -lean_dec(x_966); -lean_inc(x_967); -x_973 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_972, x_2, x_967); -x_974 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_974, 0, x_971); -lean_ctor_set(x_974, 1, x_973); -x_892 = x_967; -x_893 = x_974; -goto block_960; -} -} -else -{ -lean_object* x_975; -lean_dec(x_2); -x_975 = lean_ctor_get(x_964, 0); -lean_inc(x_975); -lean_dec(x_964); -x_892 = x_975; -x_893 = x_4; -goto block_960; -} -} -} -else -{ -lean_object* x_976; lean_object* x_977; -x_976 = lean_ctor_get(x_4, 1); -lean_inc(x_976); -x_977 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_976, x_2); -lean_dec(x_976); -if (lean_obj_tag(x_977) == 0) -{ -lean_object* x_978; lean_object* x_979; lean_object* x_980; uint8_t x_981; -lean_inc(x_2); -lean_inc(x_1); -x_978 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___rarg(x_1, x_2, x_4); -x_979 = lean_ctor_get(x_978, 1); -lean_inc(x_979); -x_980 = lean_ctor_get(x_978, 0); -lean_inc(x_980); -lean_dec(x_978); -x_981 = !lean_is_exclusive(x_979); -if (x_981 == 0) -{ -lean_object* x_982; lean_object* x_983; -x_982 = lean_ctor_get(x_979, 1); -lean_inc(x_980); -x_983 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_982, x_2, x_980); -lean_ctor_set(x_979, 1, x_983); -x_892 = x_980; -x_893 = x_979; -goto block_960; -} -else -{ -lean_object* x_984; lean_object* x_985; lean_object* x_986; lean_object* x_987; -x_984 = lean_ctor_get(x_979, 0); -x_985 = lean_ctor_get(x_979, 1); -lean_inc(x_985); -lean_inc(x_984); -lean_dec(x_979); -lean_inc(x_980); -x_986 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_985, x_2, x_980); -x_987 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_987, 0, x_984); -lean_ctor_set(x_987, 1, x_986); -x_892 = x_980; -x_893 = x_987; -goto block_960; -} -} -else -{ -lean_object* x_988; -lean_dec(x_2); -x_988 = lean_ctor_get(x_977, 0); -lean_inc(x_988); -lean_dec(x_977); -x_892 = x_988; -x_893 = x_4; -goto block_960; -} -} -block_960: -{ -lean_object* x_894; -if (x_891 == 0) -{ -lean_object* x_905; -x_905 = lean_box(0); -x_894 = x_905; -goto block_904; -} -else -{ -uint8_t x_906; -x_906 = l_Lean_Expr_isLambda(x_892); -if (x_906 == 0) -{ -lean_object* x_907; -x_907 = lean_box(0); -x_894 = x_907; -goto block_904; -} -else -{ -lean_object* x_908; uint8_t x_909; -x_908 = l_Lean_Expr_betaRev(x_892, x_3); -lean_dec(x_892); -x_909 = lean_expr_has_expr_mvar(x_908); -if (x_909 == 0) -{ -uint8_t x_910; -x_910 = lean_expr_has_level_mvar(x_908); -if (x_910 == 0) -{ -lean_object* x_911; -lean_dec(x_1); -x_911 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_911, 0, x_908); -lean_ctor_set(x_911, 1, x_893); -return x_911; -} -else -{ -lean_object* x_912; lean_object* x_913; -x_912 = lean_ctor_get(x_893, 1); -lean_inc(x_912); -x_913 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_912, x_908); -lean_dec(x_912); -if (lean_obj_tag(x_913) == 0) -{ -lean_object* x_914; uint8_t x_915; -lean_inc(x_908); -x_914 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___rarg(x_1, x_908, x_893); -x_915 = !lean_is_exclusive(x_914); -if (x_915 == 0) -{ -lean_object* x_916; uint8_t x_917; -x_916 = lean_ctor_get(x_914, 1); -x_917 = !lean_is_exclusive(x_916); -if (x_917 == 0) -{ -lean_object* x_918; lean_object* x_919; lean_object* x_920; -x_918 = lean_ctor_get(x_914, 0); -x_919 = lean_ctor_get(x_916, 1); -lean_inc(x_918); -x_920 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_919, x_908, x_918); -lean_ctor_set(x_916, 1, x_920); -return x_914; -} -else -{ -lean_object* x_921; lean_object* x_922; lean_object* x_923; lean_object* x_924; lean_object* x_925; -x_921 = lean_ctor_get(x_914, 0); -x_922 = lean_ctor_get(x_916, 0); -x_923 = lean_ctor_get(x_916, 1); -lean_inc(x_923); -lean_inc(x_922); -lean_dec(x_916); -lean_inc(x_921); -x_924 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_923, x_908, x_921); -x_925 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_925, 0, x_922); -lean_ctor_set(x_925, 1, x_924); -lean_ctor_set(x_914, 1, x_925); -return x_914; -} -} -else -{ -lean_object* x_926; lean_object* x_927; lean_object* x_928; lean_object* x_929; lean_object* x_930; lean_object* x_931; lean_object* x_932; lean_object* x_933; -x_926 = lean_ctor_get(x_914, 1); -x_927 = lean_ctor_get(x_914, 0); -lean_inc(x_926); -lean_inc(x_927); -lean_dec(x_914); -x_928 = lean_ctor_get(x_926, 0); -lean_inc(x_928); -x_929 = lean_ctor_get(x_926, 1); -lean_inc(x_929); -if (lean_is_exclusive(x_926)) { - lean_ctor_release(x_926, 0); - lean_ctor_release(x_926, 1); - x_930 = x_926; -} else { - lean_dec_ref(x_926); - x_930 = lean_box(0); -} -lean_inc(x_927); -x_931 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_929, x_908, x_927); -if (lean_is_scalar(x_930)) { - x_932 = lean_alloc_ctor(0, 2, 0); -} else { - x_932 = x_930; -} -lean_ctor_set(x_932, 0, x_928); -lean_ctor_set(x_932, 1, x_931); -x_933 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_933, 0, x_927); -lean_ctor_set(x_933, 1, x_932); -return x_933; -} -} -else -{ -lean_object* x_934; lean_object* x_935; -lean_dec(x_908); -lean_dec(x_1); -x_934 = lean_ctor_get(x_913, 0); -lean_inc(x_934); -lean_dec(x_913); -x_935 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_935, 0, x_934); -lean_ctor_set(x_935, 1, x_893); -return x_935; -} -} -} -else -{ -lean_object* x_936; lean_object* x_937; -x_936 = lean_ctor_get(x_893, 1); -lean_inc(x_936); -x_937 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_936, x_908); -lean_dec(x_936); -if (lean_obj_tag(x_937) == 0) -{ -lean_object* x_938; uint8_t x_939; -lean_inc(x_908); -x_938 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___rarg(x_1, x_908, x_893); -x_939 = !lean_is_exclusive(x_938); -if (x_939 == 0) -{ -lean_object* x_940; uint8_t x_941; -x_940 = lean_ctor_get(x_938, 1); -x_941 = !lean_is_exclusive(x_940); -if (x_941 == 0) -{ -lean_object* x_942; lean_object* x_943; lean_object* x_944; -x_942 = lean_ctor_get(x_938, 0); -x_943 = lean_ctor_get(x_940, 1); -lean_inc(x_942); -x_944 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_943, x_908, x_942); -lean_ctor_set(x_940, 1, x_944); -return x_938; -} -else -{ -lean_object* x_945; lean_object* x_946; lean_object* x_947; lean_object* x_948; lean_object* x_949; -x_945 = lean_ctor_get(x_938, 0); -x_946 = lean_ctor_get(x_940, 0); -x_947 = lean_ctor_get(x_940, 1); -lean_inc(x_947); -lean_inc(x_946); -lean_dec(x_940); -lean_inc(x_945); -x_948 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_947, x_908, x_945); -x_949 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_949, 0, x_946); -lean_ctor_set(x_949, 1, x_948); -lean_ctor_set(x_938, 1, x_949); -return x_938; -} -} -else -{ -lean_object* x_950; lean_object* x_951; lean_object* x_952; lean_object* x_953; lean_object* x_954; lean_object* x_955; lean_object* x_956; lean_object* x_957; -x_950 = lean_ctor_get(x_938, 1); -x_951 = lean_ctor_get(x_938, 0); -lean_inc(x_950); -lean_inc(x_951); -lean_dec(x_938); -x_952 = lean_ctor_get(x_950, 0); -lean_inc(x_952); -x_953 = lean_ctor_get(x_950, 1); -lean_inc(x_953); -if (lean_is_exclusive(x_950)) { - lean_ctor_release(x_950, 0); - lean_ctor_release(x_950, 1); - x_954 = x_950; -} else { - lean_dec_ref(x_950); - x_954 = lean_box(0); -} -lean_inc(x_951); -x_955 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_953, x_908, x_951); -if (lean_is_scalar(x_954)) { - x_956 = lean_alloc_ctor(0, 2, 0); -} else { - x_956 = x_954; -} -lean_ctor_set(x_956, 0, x_952); -lean_ctor_set(x_956, 1, x_955); -x_957 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_957, 0, x_951); -lean_ctor_set(x_957, 1, x_956); -return x_957; -} -} -else -{ -lean_object* x_958; lean_object* x_959; -lean_dec(x_908); -lean_dec(x_1); -x_958 = lean_ctor_get(x_937, 0); -lean_inc(x_958); -lean_dec(x_937); -x_959 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_959, 0, x_958); -lean_ctor_set(x_959, 1, x_893); -return x_959; -} -} -} -} -block_904: -{ -lean_object* x_895; lean_object* x_896; uint8_t x_897; -lean_dec(x_894); -x_895 = lean_unsigned_to_nat(0u); -x_896 = l_Array_umapMAux___main___at_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___spec__4___rarg(x_1, x_895, x_3, x_893); -x_897 = !lean_is_exclusive(x_896); -if (x_897 == 0) -{ -lean_object* x_898; lean_object* x_899; -x_898 = lean_ctor_get(x_896, 0); -x_899 = l_Lean_mkAppRev(x_892, x_898); -lean_dec(x_898); -lean_ctor_set(x_896, 0, x_899); -return x_896; -} -else -{ -lean_object* x_900; lean_object* x_901; lean_object* x_902; lean_object* x_903; -x_900 = lean_ctor_get(x_896, 0); -x_901 = lean_ctor_get(x_896, 1); -lean_inc(x_901); -lean_inc(x_900); -lean_dec(x_896); -x_902 = l_Lean_mkAppRev(x_892, x_900); -lean_dec(x_900); -x_903 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_903, 0, x_902); -lean_ctor_set(x_903, 1, x_901); -return x_903; -} -} -} -} -default: -{ -uint8_t x_989; lean_object* x_990; lean_object* x_991; uint8_t x_1059; -x_989 = l_Lean_Expr_isMVar(x_2); -x_1059 = lean_expr_has_expr_mvar(x_2); -if (x_1059 == 0) -{ -uint8_t x_1060; -x_1060 = lean_expr_has_level_mvar(x_2); -if (x_1060 == 0) -{ -x_990 = x_2; -x_991 = x_4; -goto block_1058; -} -else -{ -lean_object* x_1061; lean_object* x_1062; -x_1061 = lean_ctor_get(x_4, 1); -lean_inc(x_1061); -x_1062 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_1061, x_2); -lean_dec(x_1061); -if (lean_obj_tag(x_1062) == 0) -{ -lean_object* x_1063; lean_object* x_1064; lean_object* x_1065; uint8_t x_1066; -lean_inc(x_2); -lean_inc(x_1); -x_1063 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___rarg(x_1, x_2, x_4); -x_1064 = lean_ctor_get(x_1063, 1); -lean_inc(x_1064); -x_1065 = lean_ctor_get(x_1063, 0); -lean_inc(x_1065); -lean_dec(x_1063); -x_1066 = !lean_is_exclusive(x_1064); -if (x_1066 == 0) -{ -lean_object* x_1067; lean_object* x_1068; -x_1067 = lean_ctor_get(x_1064, 1); -lean_inc(x_1065); -x_1068 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_1067, x_2, x_1065); -lean_ctor_set(x_1064, 1, x_1068); -x_990 = x_1065; -x_991 = x_1064; -goto block_1058; -} -else -{ -lean_object* x_1069; lean_object* x_1070; lean_object* x_1071; lean_object* x_1072; -x_1069 = lean_ctor_get(x_1064, 0); -x_1070 = lean_ctor_get(x_1064, 1); -lean_inc(x_1070); -lean_inc(x_1069); -lean_dec(x_1064); -lean_inc(x_1065); -x_1071 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_1070, x_2, x_1065); -x_1072 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1072, 0, x_1069); -lean_ctor_set(x_1072, 1, x_1071); -x_990 = x_1065; -x_991 = x_1072; -goto block_1058; -} -} -else -{ -lean_object* x_1073; -lean_dec(x_2); -x_1073 = lean_ctor_get(x_1062, 0); -lean_inc(x_1073); -lean_dec(x_1062); -x_990 = x_1073; -x_991 = x_4; -goto block_1058; -} -} -} -else -{ -lean_object* x_1074; lean_object* x_1075; -x_1074 = lean_ctor_get(x_4, 1); -lean_inc(x_1074); -x_1075 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_1074, x_2); -lean_dec(x_1074); -if (lean_obj_tag(x_1075) == 0) -{ -lean_object* x_1076; lean_object* x_1077; lean_object* x_1078; uint8_t x_1079; -lean_inc(x_2); -lean_inc(x_1); -x_1076 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___rarg(x_1, x_2, x_4); -x_1077 = lean_ctor_get(x_1076, 1); -lean_inc(x_1077); -x_1078 = lean_ctor_get(x_1076, 0); -lean_inc(x_1078); -lean_dec(x_1076); -x_1079 = !lean_is_exclusive(x_1077); -if (x_1079 == 0) -{ -lean_object* x_1080; lean_object* x_1081; -x_1080 = lean_ctor_get(x_1077, 1); -lean_inc(x_1078); -x_1081 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_1080, x_2, x_1078); -lean_ctor_set(x_1077, 1, x_1081); -x_990 = x_1078; -x_991 = x_1077; -goto block_1058; -} -else -{ -lean_object* x_1082; lean_object* x_1083; lean_object* x_1084; lean_object* x_1085; -x_1082 = lean_ctor_get(x_1077, 0); -x_1083 = lean_ctor_get(x_1077, 1); -lean_inc(x_1083); -lean_inc(x_1082); -lean_dec(x_1077); -lean_inc(x_1078); -x_1084 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_1083, x_2, x_1078); -x_1085 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1085, 0, x_1082); -lean_ctor_set(x_1085, 1, x_1084); -x_990 = x_1078; -x_991 = x_1085; -goto block_1058; -} -} -else -{ -lean_object* x_1086; -lean_dec(x_2); -x_1086 = lean_ctor_get(x_1075, 0); -lean_inc(x_1086); -lean_dec(x_1075); -x_990 = x_1086; -x_991 = x_4; -goto block_1058; -} -} -block_1058: -{ -lean_object* x_992; -if (x_989 == 0) -{ -lean_object* x_1003; -x_1003 = lean_box(0); -x_992 = x_1003; -goto block_1002; -} -else -{ -uint8_t x_1004; -x_1004 = l_Lean_Expr_isLambda(x_990); -if (x_1004 == 0) -{ -lean_object* x_1005; -x_1005 = lean_box(0); -x_992 = x_1005; -goto block_1002; -} -else -{ -lean_object* x_1006; uint8_t x_1007; -x_1006 = l_Lean_Expr_betaRev(x_990, x_3); -lean_dec(x_990); -x_1007 = lean_expr_has_expr_mvar(x_1006); -if (x_1007 == 0) -{ -uint8_t x_1008; -x_1008 = lean_expr_has_level_mvar(x_1006); -if (x_1008 == 0) -{ -lean_object* x_1009; -lean_dec(x_1); -x_1009 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1009, 0, x_1006); -lean_ctor_set(x_1009, 1, x_991); -return x_1009; -} -else -{ -lean_object* x_1010; lean_object* x_1011; -x_1010 = lean_ctor_get(x_991, 1); -lean_inc(x_1010); -x_1011 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_1010, x_1006); -lean_dec(x_1010); -if (lean_obj_tag(x_1011) == 0) -{ -lean_object* x_1012; uint8_t x_1013; -lean_inc(x_1006); -x_1012 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___rarg(x_1, x_1006, x_991); -x_1013 = !lean_is_exclusive(x_1012); -if (x_1013 == 0) -{ -lean_object* x_1014; uint8_t x_1015; -x_1014 = lean_ctor_get(x_1012, 1); -x_1015 = !lean_is_exclusive(x_1014); -if (x_1015 == 0) -{ -lean_object* x_1016; lean_object* x_1017; lean_object* x_1018; -x_1016 = lean_ctor_get(x_1012, 0); -x_1017 = lean_ctor_get(x_1014, 1); -lean_inc(x_1016); -x_1018 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_1017, x_1006, x_1016); -lean_ctor_set(x_1014, 1, x_1018); -return x_1012; -} -else -{ -lean_object* x_1019; lean_object* x_1020; lean_object* x_1021; lean_object* x_1022; lean_object* x_1023; -x_1019 = lean_ctor_get(x_1012, 0); -x_1020 = lean_ctor_get(x_1014, 0); -x_1021 = lean_ctor_get(x_1014, 1); -lean_inc(x_1021); -lean_inc(x_1020); -lean_dec(x_1014); -lean_inc(x_1019); -x_1022 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_1021, x_1006, x_1019); -x_1023 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1023, 0, x_1020); -lean_ctor_set(x_1023, 1, x_1022); -lean_ctor_set(x_1012, 1, x_1023); -return x_1012; -} -} -else -{ -lean_object* x_1024; lean_object* x_1025; lean_object* x_1026; lean_object* x_1027; lean_object* x_1028; lean_object* x_1029; lean_object* x_1030; lean_object* x_1031; -x_1024 = lean_ctor_get(x_1012, 1); -x_1025 = lean_ctor_get(x_1012, 0); -lean_inc(x_1024); -lean_inc(x_1025); -lean_dec(x_1012); -x_1026 = lean_ctor_get(x_1024, 0); -lean_inc(x_1026); -x_1027 = lean_ctor_get(x_1024, 1); -lean_inc(x_1027); -if (lean_is_exclusive(x_1024)) { - lean_ctor_release(x_1024, 0); - lean_ctor_release(x_1024, 1); - x_1028 = x_1024; -} else { - lean_dec_ref(x_1024); - x_1028 = lean_box(0); -} -lean_inc(x_1025); -x_1029 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_1027, x_1006, x_1025); -if (lean_is_scalar(x_1028)) { - x_1030 = lean_alloc_ctor(0, 2, 0); -} else { - x_1030 = x_1028; -} -lean_ctor_set(x_1030, 0, x_1026); -lean_ctor_set(x_1030, 1, x_1029); -x_1031 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1031, 0, x_1025); -lean_ctor_set(x_1031, 1, x_1030); -return x_1031; -} -} -else -{ -lean_object* x_1032; lean_object* x_1033; -lean_dec(x_1006); -lean_dec(x_1); -x_1032 = lean_ctor_get(x_1011, 0); -lean_inc(x_1032); -lean_dec(x_1011); -x_1033 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1033, 0, x_1032); -lean_ctor_set(x_1033, 1, x_991); -return x_1033; -} -} -} -else -{ -lean_object* x_1034; lean_object* x_1035; -x_1034 = lean_ctor_get(x_991, 1); -lean_inc(x_1034); -x_1035 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_1034, x_1006); -lean_dec(x_1034); -if (lean_obj_tag(x_1035) == 0) -{ -lean_object* x_1036; uint8_t x_1037; -lean_inc(x_1006); -x_1036 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___rarg(x_1, x_1006, x_991); -x_1037 = !lean_is_exclusive(x_1036); -if (x_1037 == 0) -{ -lean_object* x_1038; uint8_t x_1039; -x_1038 = lean_ctor_get(x_1036, 1); -x_1039 = !lean_is_exclusive(x_1038); -if (x_1039 == 0) -{ -lean_object* x_1040; lean_object* x_1041; lean_object* x_1042; -x_1040 = lean_ctor_get(x_1036, 0); -x_1041 = lean_ctor_get(x_1038, 1); -lean_inc(x_1040); -x_1042 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_1041, x_1006, x_1040); -lean_ctor_set(x_1038, 1, x_1042); -return x_1036; -} -else -{ -lean_object* x_1043; lean_object* x_1044; lean_object* x_1045; lean_object* x_1046; lean_object* x_1047; -x_1043 = lean_ctor_get(x_1036, 0); -x_1044 = lean_ctor_get(x_1038, 0); -x_1045 = lean_ctor_get(x_1038, 1); -lean_inc(x_1045); -lean_inc(x_1044); -lean_dec(x_1038); -lean_inc(x_1043); -x_1046 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_1045, x_1006, x_1043); -x_1047 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1047, 0, x_1044); -lean_ctor_set(x_1047, 1, x_1046); -lean_ctor_set(x_1036, 1, x_1047); -return x_1036; -} -} -else -{ -lean_object* x_1048; lean_object* x_1049; lean_object* x_1050; lean_object* x_1051; lean_object* x_1052; lean_object* x_1053; lean_object* x_1054; lean_object* x_1055; -x_1048 = lean_ctor_get(x_1036, 1); -x_1049 = lean_ctor_get(x_1036, 0); -lean_inc(x_1048); -lean_inc(x_1049); -lean_dec(x_1036); -x_1050 = lean_ctor_get(x_1048, 0); -lean_inc(x_1050); -x_1051 = lean_ctor_get(x_1048, 1); -lean_inc(x_1051); -if (lean_is_exclusive(x_1048)) { - lean_ctor_release(x_1048, 0); - lean_ctor_release(x_1048, 1); - x_1052 = x_1048; -} else { - lean_dec_ref(x_1048); - x_1052 = lean_box(0); -} -lean_inc(x_1049); -x_1053 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_1051, x_1006, x_1049); -if (lean_is_scalar(x_1052)) { - x_1054 = lean_alloc_ctor(0, 2, 0); -} else { - x_1054 = x_1052; -} -lean_ctor_set(x_1054, 0, x_1050); -lean_ctor_set(x_1054, 1, x_1053); -x_1055 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1055, 0, x_1049); -lean_ctor_set(x_1055, 1, x_1054); -return x_1055; -} -} -else -{ -lean_object* x_1056; lean_object* x_1057; -lean_dec(x_1006); -lean_dec(x_1); -x_1056 = lean_ctor_get(x_1035, 0); -lean_inc(x_1056); -lean_dec(x_1035); -x_1057 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1057, 0, x_1056); -lean_ctor_set(x_1057, 1, x_991); -return x_1057; -} -} -} -} -block_1002: -{ -lean_object* x_993; lean_object* x_994; uint8_t x_995; -lean_dec(x_992); -x_993 = lean_unsigned_to_nat(0u); -x_994 = l_Array_umapMAux___main___at_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___spec__4___rarg(x_1, x_993, x_3, x_991); -x_995 = !lean_is_exclusive(x_994); -if (x_995 == 0) -{ -lean_object* x_996; lean_object* x_997; -x_996 = lean_ctor_get(x_994, 0); -x_997 = l_Lean_mkAppRev(x_990, x_996); -lean_dec(x_996); -lean_ctor_set(x_994, 0, x_997); -return x_994; -} -else -{ -lean_object* x_998; lean_object* x_999; lean_object* x_1000; lean_object* x_1001; -x_998 = lean_ctor_get(x_994, 0); -x_999 = lean_ctor_get(x_994, 1); -lean_inc(x_999); -lean_inc(x_998); -lean_dec(x_994); -x_1000 = l_Lean_mkAppRev(x_990, x_998); -lean_dec(x_998); -x_1001 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1001, 0, x_1000); -lean_ctor_set(x_1001, 1, x_999); -return x_1001; -} -} -} -} -} -} -} -lean_object* l___private_Init_Lean_Expr_4__withAppRevAux___main___at_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___spec__5(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Init_Lean_Expr_4__withAppRevAux___main___at_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___spec__5___rarg), 4, 0); -return x_2; -} -} -lean_object* l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___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_16; lean_object* x_17; lean_object* x_27; lean_object* x_28; -switch (lean_obj_tag(x_2)) { -case 2: -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_51; lean_object* x_52; -x_38 = lean_ctor_get(x_2, 0); -lean_inc(x_38); -x_51 = lean_ctor_get(x_3, 1); -lean_inc(x_51); -x_52 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_51, x_2); -if (lean_obj_tag(x_52) == 0) -{ -lean_object* x_53; lean_object* x_54; lean_object* x_55; -x_53 = lean_ctor_get(x_3, 0); -lean_inc(x_53); -x_54 = lean_ctor_get(x_1, 5); -lean_inc(x_54); -lean_inc(x_38); -lean_inc(x_53); -x_55 = lean_apply_2(x_54, x_53, x_38); -if (lean_obj_tag(x_55) == 0) -{ -lean_object* x_56; lean_object* x_57; -x_56 = lean_ctor_get(x_1, 9); -lean_inc(x_56); -lean_inc(x_38); -x_57 = lean_apply_2(x_56, x_53, x_38); -if (lean_obj_tag(x_57) == 0) -{ -lean_dec(x_51); -lean_dec(x_38); -lean_dec(x_1); -lean_inc(x_2); -x_4 = x_2; -x_5 = x_3; -goto block_15; -} -else -{ -lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; uint8_t x_114; -x_58 = lean_ctor_get(x_57, 0); -lean_inc(x_58); -lean_dec(x_57); -x_59 = lean_ctor_get(x_58, 0); -lean_inc(x_59); -x_60 = lean_ctor_get(x_58, 1); -lean_inc(x_60); -x_61 = lean_ctor_get(x_58, 2); -lean_inc(x_61); -lean_dec(x_58); -x_114 = lean_expr_has_expr_mvar(x_61); -if (x_114 == 0) -{ -uint8_t x_115; -x_115 = lean_expr_has_level_mvar(x_61); -if (x_115 == 0) -{ -lean_dec(x_51); -x_62 = x_61; -x_63 = x_3; -goto block_113; -} -else -{ -lean_object* x_116; -x_116 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_51, x_61); -lean_dec(x_51); -if (lean_obj_tag(x_116) == 0) -{ -lean_object* x_117; lean_object* x_118; lean_object* x_119; uint8_t x_120; -lean_inc(x_61); -lean_inc(x_1); -x_117 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___rarg(x_1, x_61, x_3); -x_118 = lean_ctor_get(x_117, 1); -lean_inc(x_118); -x_119 = lean_ctor_get(x_117, 0); -lean_inc(x_119); -lean_dec(x_117); -x_120 = !lean_is_exclusive(x_118); -if (x_120 == 0) -{ -lean_object* x_121; lean_object* x_122; -x_121 = lean_ctor_get(x_118, 1); -lean_inc(x_119); -x_122 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_121, x_61, x_119); -lean_ctor_set(x_118, 1, x_122); -x_62 = x_119; -x_63 = x_118; -goto block_113; -} -else -{ -lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; -x_123 = lean_ctor_get(x_118, 0); -x_124 = lean_ctor_get(x_118, 1); -lean_inc(x_124); -lean_inc(x_123); -lean_dec(x_118); -lean_inc(x_119); -x_125 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_124, x_61, x_119); -x_126 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_126, 0, x_123); -lean_ctor_set(x_126, 1, x_125); -x_62 = x_119; -x_63 = x_126; -goto block_113; -} -} -else -{ -lean_object* x_127; -lean_dec(x_61); -x_127 = lean_ctor_get(x_116, 0); -lean_inc(x_127); -lean_dec(x_116); -x_62 = x_127; -x_63 = x_3; -goto block_113; -} -} -} -else -{ -lean_object* x_128; -x_128 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_51, x_61); -lean_dec(x_51); -if (lean_obj_tag(x_128) == 0) -{ -lean_object* x_129; lean_object* x_130; lean_object* x_131; uint8_t x_132; -lean_inc(x_61); -lean_inc(x_1); -x_129 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___rarg(x_1, x_61, x_3); -x_130 = lean_ctor_get(x_129, 1); -lean_inc(x_130); -x_131 = lean_ctor_get(x_129, 0); -lean_inc(x_131); -lean_dec(x_129); -x_132 = !lean_is_exclusive(x_130); -if (x_132 == 0) -{ -lean_object* x_133; lean_object* x_134; -x_133 = lean_ctor_get(x_130, 1); -lean_inc(x_131); -x_134 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_133, x_61, x_131); -lean_ctor_set(x_130, 1, x_134); -x_62 = x_131; -x_63 = x_130; -goto block_113; -} -else -{ -lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; -x_135 = lean_ctor_get(x_130, 0); -x_136 = lean_ctor_get(x_130, 1); -lean_inc(x_136); -lean_inc(x_135); -lean_dec(x_130); -lean_inc(x_131); -x_137 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_136, x_61, x_131); -x_138 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_138, 0, x_135); -lean_ctor_set(x_138, 1, x_137); -x_62 = x_131; -x_63 = x_138; -goto block_113; -} -} -else -{ -lean_object* x_139; -lean_dec(x_61); -x_139 = lean_ctor_get(x_128, 0); -lean_inc(x_139); -lean_dec(x_128); -x_62 = x_139; -x_63 = x_3; -goto block_113; -} -} -block_113: -{ -uint8_t x_64; -x_64 = lean_expr_has_expr_mvar(x_62); -if (x_64 == 0) -{ -uint8_t x_65; -x_65 = lean_expr_has_level_mvar(x_62); -if (x_65 == 0) -{ -lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; -x_66 = lean_array_get_size(x_60); -x_67 = lean_expr_abstract(x_62, x_60); -lean_inc(x_59); -lean_inc(x_1); -x_68 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_instantiateDelayedAux___main___at_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___spec__1___rarg(x_1, x_59, x_60, x_66, x_67, x_63); -x_69 = lean_ctor_get(x_68, 0); -lean_inc(x_69); -if (lean_obj_tag(x_69) == 0) -{ -lean_object* x_70; uint8_t x_71; -x_70 = lean_ctor_get(x_68, 1); -lean_inc(x_70); -lean_dec(x_68); -x_71 = !lean_is_exclusive(x_70); -if (x_71 == 0) -{ -lean_object* x_72; lean_object* x_73; lean_object* x_74; -x_72 = lean_ctor_get(x_70, 0); -x_73 = lean_ctor_get(x_1, 8); -lean_inc(x_73); -lean_dec(x_1); -x_74 = lean_apply_5(x_73, x_72, x_38, x_59, x_60, x_62); -lean_ctor_set(x_70, 0, x_74); -lean_inc(x_2); -x_4 = x_2; -x_5 = x_70; -goto block_15; -} -else -{ -lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; -x_75 = lean_ctor_get(x_70, 0); -x_76 = lean_ctor_get(x_70, 1); -lean_inc(x_76); -lean_inc(x_75); -lean_dec(x_70); -x_77 = lean_ctor_get(x_1, 8); -lean_inc(x_77); -lean_dec(x_1); -x_78 = lean_apply_5(x_77, x_75, x_38, x_59, x_60, x_62); -x_79 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_79, 0, x_78); -lean_ctor_set(x_79, 1, x_76); -lean_inc(x_2); -x_4 = x_2; -x_5 = x_79; -goto block_15; -} -} -else -{ -lean_object* x_80; lean_object* x_81; uint8_t x_82; -lean_dec(x_62); -lean_dec(x_60); -lean_dec(x_59); -x_80 = lean_ctor_get(x_68, 1); -lean_inc(x_80); -lean_dec(x_68); -x_81 = lean_ctor_get(x_69, 0); -lean_inc(x_81); -lean_dec(x_69); -x_82 = !lean_is_exclusive(x_80); -if (x_82 == 0) -{ -lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; -x_83 = lean_ctor_get(x_80, 0); -x_84 = lean_ctor_get(x_1, 6); -lean_inc(x_84); -x_85 = lean_ctor_get(x_1, 10); -lean_inc(x_85); -lean_dec(x_1); -lean_inc(x_38); -x_86 = lean_apply_2(x_85, x_83, x_38); -lean_inc(x_81); -x_87 = lean_apply_3(x_84, x_86, x_38, x_81); -lean_ctor_set(x_80, 0, x_87); -x_4 = x_81; -x_5 = x_80; -goto block_15; -} -else -{ -lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; -x_88 = lean_ctor_get(x_80, 0); -x_89 = lean_ctor_get(x_80, 1); -lean_inc(x_89); -lean_inc(x_88); -lean_dec(x_80); -x_90 = lean_ctor_get(x_1, 6); -lean_inc(x_90); -x_91 = lean_ctor_get(x_1, 10); -lean_inc(x_91); -lean_dec(x_1); -lean_inc(x_38); -x_92 = lean_apply_2(x_91, x_88, x_38); -lean_inc(x_81); -x_93 = lean_apply_3(x_90, x_92, x_38, x_81); -x_94 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_94, 0, x_93); -lean_ctor_set(x_94, 1, x_89); -x_4 = x_81; -x_5 = x_94; -goto block_15; -} -} -} -else -{ -uint8_t x_95; -x_95 = !lean_is_exclusive(x_63); -if (x_95 == 0) -{ -lean_object* x_96; lean_object* x_97; lean_object* x_98; -x_96 = lean_ctor_get(x_63, 0); -x_97 = lean_ctor_get(x_1, 8); -lean_inc(x_97); -lean_dec(x_1); -x_98 = lean_apply_5(x_97, x_96, x_38, x_59, x_60, x_62); -lean_ctor_set(x_63, 0, x_98); -lean_inc(x_2); -x_4 = x_2; -x_5 = x_63; -goto block_15; -} -else -{ -lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; -x_99 = lean_ctor_get(x_63, 0); -x_100 = lean_ctor_get(x_63, 1); -lean_inc(x_100); -lean_inc(x_99); -lean_dec(x_63); -x_101 = lean_ctor_get(x_1, 8); -lean_inc(x_101); -lean_dec(x_1); -x_102 = lean_apply_5(x_101, x_99, x_38, x_59, x_60, x_62); -x_103 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_103, 0, x_102); -lean_ctor_set(x_103, 1, x_100); -lean_inc(x_2); -x_4 = x_2; -x_5 = x_103; -goto block_15; -} -} -} -else -{ -uint8_t x_104; -x_104 = !lean_is_exclusive(x_63); -if (x_104 == 0) -{ -lean_object* x_105; lean_object* x_106; lean_object* x_107; -x_105 = lean_ctor_get(x_63, 0); -x_106 = lean_ctor_get(x_1, 8); -lean_inc(x_106); -lean_dec(x_1); -x_107 = lean_apply_5(x_106, x_105, x_38, x_59, x_60, x_62); -lean_ctor_set(x_63, 0, x_107); -lean_inc(x_2); -x_4 = x_2; -x_5 = x_63; -goto block_15; -} -else -{ -lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; -x_108 = lean_ctor_get(x_63, 0); -x_109 = lean_ctor_get(x_63, 1); -lean_inc(x_109); -lean_inc(x_108); -lean_dec(x_63); -x_110 = lean_ctor_get(x_1, 8); -lean_inc(x_110); -lean_dec(x_1); -x_111 = lean_apply_5(x_110, x_108, x_38, x_59, x_60, x_62); -x_112 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_112, 0, x_111); -lean_ctor_set(x_112, 1, x_109); -lean_inc(x_2); -x_4 = x_2; -x_5 = x_112; -goto block_15; -} -} -} -} -} -else -{ -lean_object* x_140; uint8_t x_141; -lean_dec(x_53); -x_140 = lean_ctor_get(x_55, 0); -lean_inc(x_140); -lean_dec(x_55); -x_141 = lean_expr_has_expr_mvar(x_140); -if (x_141 == 0) -{ -uint8_t x_142; -x_142 = lean_expr_has_level_mvar(x_140); -if (x_142 == 0) -{ -lean_dec(x_51); -x_39 = x_140; -x_40 = x_3; -goto block_50; -} -else -{ -lean_object* x_143; -x_143 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_51, x_140); -lean_dec(x_51); -if (lean_obj_tag(x_143) == 0) -{ -lean_object* x_144; lean_object* x_145; lean_object* x_146; uint8_t x_147; -lean_inc(x_140); -lean_inc(x_1); -x_144 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___rarg(x_1, x_140, x_3); -x_145 = lean_ctor_get(x_144, 1); -lean_inc(x_145); -x_146 = lean_ctor_get(x_144, 0); -lean_inc(x_146); -lean_dec(x_144); -x_147 = !lean_is_exclusive(x_145); -if (x_147 == 0) -{ -lean_object* x_148; lean_object* x_149; -x_148 = lean_ctor_get(x_145, 1); -lean_inc(x_146); -x_149 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_148, x_140, x_146); -lean_ctor_set(x_145, 1, x_149); -x_39 = x_146; -x_40 = x_145; -goto block_50; -} -else -{ -lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; -x_150 = lean_ctor_get(x_145, 0); -x_151 = lean_ctor_get(x_145, 1); -lean_inc(x_151); -lean_inc(x_150); -lean_dec(x_145); -lean_inc(x_146); -x_152 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_151, x_140, x_146); -x_153 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_153, 0, x_150); -lean_ctor_set(x_153, 1, x_152); -x_39 = x_146; -x_40 = x_153; -goto block_50; -} -} -else -{ -lean_object* x_154; -lean_dec(x_140); -x_154 = lean_ctor_get(x_143, 0); -lean_inc(x_154); -lean_dec(x_143); -x_39 = x_154; -x_40 = x_3; -goto block_50; -} -} -} -else -{ -lean_object* x_155; -x_155 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_51, x_140); -lean_dec(x_51); -if (lean_obj_tag(x_155) == 0) -{ -lean_object* x_156; lean_object* x_157; lean_object* x_158; uint8_t x_159; -lean_inc(x_140); -lean_inc(x_1); -x_156 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___rarg(x_1, x_140, x_3); -x_157 = lean_ctor_get(x_156, 1); -lean_inc(x_157); -x_158 = lean_ctor_get(x_156, 0); -lean_inc(x_158); -lean_dec(x_156); -x_159 = !lean_is_exclusive(x_157); -if (x_159 == 0) -{ -lean_object* x_160; lean_object* x_161; -x_160 = lean_ctor_get(x_157, 1); -lean_inc(x_158); -x_161 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_160, x_140, x_158); -lean_ctor_set(x_157, 1, x_161); -x_39 = x_158; -x_40 = x_157; -goto block_50; -} -else -{ -lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; -x_162 = lean_ctor_get(x_157, 0); -x_163 = lean_ctor_get(x_157, 1); -lean_inc(x_163); -lean_inc(x_162); -lean_dec(x_157); -lean_inc(x_158); -x_164 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_163, x_140, x_158); -x_165 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_165, 0, x_162); -lean_ctor_set(x_165, 1, x_164); -x_39 = x_158; -x_40 = x_165; -goto block_50; -} -} -else -{ -lean_object* x_166; -lean_dec(x_140); -x_166 = lean_ctor_get(x_155, 0); -lean_inc(x_166); -lean_dec(x_155); -x_39 = x_166; -x_40 = x_3; -goto block_50; -} -} -} -} -else -{ -lean_object* x_167; lean_object* x_168; -lean_dec(x_51); -lean_dec(x_38); -lean_dec(x_2); -lean_dec(x_1); -x_167 = lean_ctor_get(x_52, 0); -lean_inc(x_167); -lean_dec(x_52); -x_168 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_168, 0, x_167); -lean_ctor_set(x_168, 1, x_3); -return x_168; -} -block_50: -{ -uint8_t x_41; -x_41 = !lean_is_exclusive(x_40); -if (x_41 == 0) -{ -lean_object* x_42; lean_object* x_43; lean_object* x_44; -x_42 = lean_ctor_get(x_40, 0); -x_43 = lean_ctor_get(x_1, 6); -lean_inc(x_43); -lean_dec(x_1); -lean_inc(x_39); -x_44 = lean_apply_3(x_43, x_42, x_38, x_39); -lean_ctor_set(x_40, 0, x_44); -x_4 = x_39; -x_5 = x_40; -goto block_15; -} -else -{ -lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; -x_45 = lean_ctor_get(x_40, 0); -x_46 = lean_ctor_get(x_40, 1); -lean_inc(x_46); -lean_inc(x_45); -lean_dec(x_40); -x_47 = lean_ctor_get(x_1, 6); -lean_inc(x_47); -lean_dec(x_1); -lean_inc(x_39); -x_48 = lean_apply_3(x_47, x_45, x_38, x_39); -x_49 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_49, 0, x_48); -lean_ctor_set(x_49, 1, x_46); -x_4 = x_39; -x_5 = x_49; -goto block_15; -} -} -} -case 3: -{ -lean_object* x_169; uint8_t x_170; -x_169 = lean_ctor_get(x_2, 0); -lean_inc(x_169); -x_170 = !lean_is_exclusive(x_3); -if (x_170 == 0) -{ -lean_object* x_171; lean_object* x_172; uint8_t x_173; -x_171 = lean_ctor_get(x_3, 0); -x_172 = l_Lean_AbstractMetavarContext_instantiateLevelMVars___main___rarg(x_1, x_169, x_171); -x_173 = !lean_is_exclusive(x_172); -if (x_173 == 0) -{ -lean_object* x_174; lean_object* x_175; lean_object* x_176; -x_174 = lean_ctor_get(x_172, 0); -x_175 = lean_ctor_get(x_172, 1); -lean_ctor_set(x_3, 0, x_175); -x_176 = lean_expr_update_sort(x_2, x_174); -lean_ctor_set(x_172, 1, x_3); -lean_ctor_set(x_172, 0, x_176); -return x_172; -} -else -{ -lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; -x_177 = lean_ctor_get(x_172, 0); -x_178 = lean_ctor_get(x_172, 1); -lean_inc(x_178); -lean_inc(x_177); -lean_dec(x_172); -lean_ctor_set(x_3, 0, x_178); -x_179 = lean_expr_update_sort(x_2, x_177); -x_180 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_180, 0, x_179); -lean_ctor_set(x_180, 1, x_3); -return x_180; -} -} -else -{ -lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; -x_181 = lean_ctor_get(x_3, 0); -x_182 = lean_ctor_get(x_3, 1); -lean_inc(x_182); -lean_inc(x_181); -lean_dec(x_3); -x_183 = l_Lean_AbstractMetavarContext_instantiateLevelMVars___main___rarg(x_1, x_169, x_181); -x_184 = lean_ctor_get(x_183, 0); -lean_inc(x_184); -x_185 = lean_ctor_get(x_183, 1); -lean_inc(x_185); -if (lean_is_exclusive(x_183)) { - lean_ctor_release(x_183, 0); - lean_ctor_release(x_183, 1); - x_186 = x_183; -} else { - lean_dec_ref(x_183); - x_186 = lean_box(0); -} -x_187 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_187, 0, x_185); -lean_ctor_set(x_187, 1, x_182); -x_188 = lean_expr_update_sort(x_2, x_184); -if (lean_is_scalar(x_186)) { - x_189 = lean_alloc_ctor(0, 2, 0); -} else { - x_189 = x_186; -} -lean_ctor_set(x_189, 0, x_188); -lean_ctor_set(x_189, 1, x_187); -return x_189; -} -} -case 4: -{ -lean_object* x_190; lean_object* x_191; uint8_t x_192; -x_190 = lean_ctor_get(x_2, 1); -lean_inc(x_190); -x_191 = l_List_mapM___main___at_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___spec__3___rarg(x_1, x_190, x_3); -x_192 = !lean_is_exclusive(x_191); -if (x_192 == 0) -{ -lean_object* x_193; lean_object* x_194; -x_193 = lean_ctor_get(x_191, 0); -x_194 = lean_expr_update_const(x_2, x_193); -lean_ctor_set(x_191, 0, x_194); -return x_191; -} -else -{ -lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; -x_195 = lean_ctor_get(x_191, 0); -x_196 = lean_ctor_get(x_191, 1); -lean_inc(x_196); -lean_inc(x_195); -lean_dec(x_191); -x_197 = lean_expr_update_const(x_2, x_195); -x_198 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_198, 0, x_197); -lean_ctor_set(x_198, 1, x_196); -return x_198; -} -} -case 5: -{ -lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; -x_199 = lean_unsigned_to_nat(0u); -x_200 = l_Lean_Expr_getAppNumArgsAux___main(x_2, x_199); -x_201 = lean_mk_empty_array_with_capacity(x_200); -lean_dec(x_200); -x_202 = l___private_Init_Lean_Expr_4__withAppRevAux___main___at_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___spec__5___rarg(x_1, x_2, x_201, x_3); -return x_202; -} -case 6: -{ -lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; uint8_t x_248; -x_203 = lean_ctor_get(x_2, 1); -lean_inc(x_203); -x_204 = lean_ctor_get(x_2, 2); -lean_inc(x_204); -x_248 = lean_expr_has_expr_mvar(x_203); -if (x_248 == 0) -{ -uint8_t x_249; -x_249 = lean_expr_has_level_mvar(x_203); -if (x_249 == 0) -{ -x_205 = x_203; -x_206 = x_3; -goto block_247; -} -else -{ -lean_object* x_250; lean_object* x_251; -x_250 = lean_ctor_get(x_3, 1); -lean_inc(x_250); -x_251 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_250, x_203); -lean_dec(x_250); -if (lean_obj_tag(x_251) == 0) -{ -lean_object* x_252; lean_object* x_253; lean_object* x_254; uint8_t x_255; -lean_inc(x_203); -lean_inc(x_1); -x_252 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___rarg(x_1, x_203, x_3); -x_253 = lean_ctor_get(x_252, 1); -lean_inc(x_253); -x_254 = lean_ctor_get(x_252, 0); -lean_inc(x_254); -lean_dec(x_252); -x_255 = !lean_is_exclusive(x_253); -if (x_255 == 0) -{ -lean_object* x_256; lean_object* x_257; -x_256 = lean_ctor_get(x_253, 1); -lean_inc(x_254); -x_257 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_256, x_203, x_254); -lean_ctor_set(x_253, 1, x_257); -x_205 = x_254; -x_206 = x_253; -goto block_247; -} -else -{ -lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; -x_258 = lean_ctor_get(x_253, 0); -x_259 = lean_ctor_get(x_253, 1); -lean_inc(x_259); -lean_inc(x_258); -lean_dec(x_253); -lean_inc(x_254); -x_260 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_259, x_203, x_254); -x_261 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_261, 0, x_258); -lean_ctor_set(x_261, 1, x_260); -x_205 = x_254; -x_206 = x_261; -goto block_247; -} -} -else -{ -lean_object* x_262; -lean_dec(x_203); -x_262 = lean_ctor_get(x_251, 0); -lean_inc(x_262); -lean_dec(x_251); -x_205 = x_262; -x_206 = x_3; -goto block_247; -} -} -} -else -{ -lean_object* x_263; lean_object* x_264; -x_263 = lean_ctor_get(x_3, 1); -lean_inc(x_263); -x_264 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_263, x_203); -lean_dec(x_263); -if (lean_obj_tag(x_264) == 0) -{ -lean_object* x_265; lean_object* x_266; lean_object* x_267; uint8_t x_268; -lean_inc(x_203); -lean_inc(x_1); -x_265 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___rarg(x_1, x_203, x_3); -x_266 = lean_ctor_get(x_265, 1); -lean_inc(x_266); -x_267 = lean_ctor_get(x_265, 0); -lean_inc(x_267); -lean_dec(x_265); -x_268 = !lean_is_exclusive(x_266); -if (x_268 == 0) -{ -lean_object* x_269; lean_object* x_270; -x_269 = lean_ctor_get(x_266, 1); -lean_inc(x_267); -x_270 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_269, x_203, x_267); -lean_ctor_set(x_266, 1, x_270); -x_205 = x_267; -x_206 = x_266; -goto block_247; -} -else -{ -lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; -x_271 = lean_ctor_get(x_266, 0); -x_272 = lean_ctor_get(x_266, 1); -lean_inc(x_272); -lean_inc(x_271); -lean_dec(x_266); -lean_inc(x_267); -x_273 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_272, x_203, x_267); -x_274 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_274, 0, x_271); -lean_ctor_set(x_274, 1, x_273); -x_205 = x_267; -x_206 = x_274; -goto block_247; -} -} -else -{ -lean_object* x_275; -lean_dec(x_203); -x_275 = lean_ctor_get(x_264, 0); -lean_inc(x_275); -lean_dec(x_264); -x_205 = x_275; -x_206 = x_3; -goto block_247; -} -} -block_247: -{ -lean_object* x_207; lean_object* x_208; uint8_t x_219; -x_219 = lean_expr_has_expr_mvar(x_204); -if (x_219 == 0) -{ -uint8_t x_220; -x_220 = lean_expr_has_level_mvar(x_204); -if (x_220 == 0) -{ -lean_dec(x_1); -x_207 = x_204; -x_208 = x_206; -goto block_218; -} -else -{ -lean_object* x_221; lean_object* x_222; -x_221 = lean_ctor_get(x_206, 1); -lean_inc(x_221); -x_222 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_221, x_204); -lean_dec(x_221); -if (lean_obj_tag(x_222) == 0) -{ -lean_object* x_223; lean_object* x_224; lean_object* x_225; uint8_t x_226; -lean_inc(x_204); -x_223 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___rarg(x_1, x_204, x_206); -x_224 = lean_ctor_get(x_223, 1); -lean_inc(x_224); -x_225 = lean_ctor_get(x_223, 0); -lean_inc(x_225); -lean_dec(x_223); -x_226 = !lean_is_exclusive(x_224); -if (x_226 == 0) -{ -lean_object* x_227; lean_object* x_228; -x_227 = lean_ctor_get(x_224, 1); -lean_inc(x_225); -x_228 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_227, x_204, x_225); -lean_ctor_set(x_224, 1, x_228); -x_207 = x_225; -x_208 = x_224; -goto block_218; -} -else -{ -lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; -x_229 = lean_ctor_get(x_224, 0); -x_230 = lean_ctor_get(x_224, 1); -lean_inc(x_230); -lean_inc(x_229); -lean_dec(x_224); -lean_inc(x_225); -x_231 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_230, x_204, x_225); -x_232 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_232, 0, x_229); -lean_ctor_set(x_232, 1, x_231); -x_207 = x_225; -x_208 = x_232; -goto block_218; -} -} -else -{ -lean_object* x_233; -lean_dec(x_204); -lean_dec(x_1); -x_233 = lean_ctor_get(x_222, 0); -lean_inc(x_233); -lean_dec(x_222); -x_207 = x_233; -x_208 = x_206; -goto block_218; -} -} -} -else -{ -lean_object* x_234; lean_object* x_235; -x_234 = lean_ctor_get(x_206, 1); -lean_inc(x_234); -x_235 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_234, x_204); -lean_dec(x_234); -if (lean_obj_tag(x_235) == 0) -{ -lean_object* x_236; lean_object* x_237; lean_object* x_238; uint8_t x_239; -lean_inc(x_204); -x_236 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___rarg(x_1, x_204, x_206); -x_237 = lean_ctor_get(x_236, 1); -lean_inc(x_237); -x_238 = lean_ctor_get(x_236, 0); -lean_inc(x_238); -lean_dec(x_236); -x_239 = !lean_is_exclusive(x_237); -if (x_239 == 0) -{ -lean_object* x_240; lean_object* x_241; -x_240 = lean_ctor_get(x_237, 1); -lean_inc(x_238); -x_241 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_240, x_204, x_238); -lean_ctor_set(x_237, 1, x_241); -x_207 = x_238; -x_208 = x_237; -goto block_218; -} -else -{ -lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; -x_242 = lean_ctor_get(x_237, 0); -x_243 = lean_ctor_get(x_237, 1); -lean_inc(x_243); -lean_inc(x_242); -lean_dec(x_237); -lean_inc(x_238); -x_244 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_243, x_204, x_238); -x_245 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_245, 0, x_242); -lean_ctor_set(x_245, 1, x_244); -x_207 = x_238; -x_208 = x_245; -goto block_218; -} -} -else -{ -lean_object* x_246; -lean_dec(x_204); -lean_dec(x_1); -x_246 = lean_ctor_get(x_235, 0); -lean_inc(x_246); -lean_dec(x_235); -x_207 = x_246; -x_208 = x_206; -goto block_218; -} -} -block_218: -{ -if (lean_obj_tag(x_2) == 6) -{ -uint8_t x_209; lean_object* x_210; lean_object* x_211; -x_209 = lean_ctor_get_uint8(x_2, sizeof(void*)*3); -x_210 = lean_expr_update_lambda(x_2, x_209, x_205, x_207); -x_211 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_211, 0, x_210); -lean_ctor_set(x_211, 1, x_208); -return x_211; -} -else -{ -lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; -lean_dec(x_207); -lean_dec(x_205); -lean_dec(x_2); -x_212 = l_Lean_Expr_getRevArg_x21___main___closed__1; -x_213 = lean_unsigned_to_nat(513u); -x_214 = lean_unsigned_to_nat(18u); -x_215 = l_Lean_Expr_updateLambda_x21___closed__1; -x_216 = l_panicWithPos___at_Lean_Expr_getRevArg_x21___main___spec__1(x_212, x_213, x_214, x_215); -x_217 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_217, 0, x_216); -lean_ctor_set(x_217, 1, x_208); -return x_217; -} -} -} -} -case 7: -{ -lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; uint8_t x_321; -x_276 = lean_ctor_get(x_2, 1); -lean_inc(x_276); -x_277 = lean_ctor_get(x_2, 2); -lean_inc(x_277); -x_321 = lean_expr_has_expr_mvar(x_276); -if (x_321 == 0) -{ -uint8_t x_322; -x_322 = lean_expr_has_level_mvar(x_276); -if (x_322 == 0) -{ -x_278 = x_276; -x_279 = x_3; -goto block_320; -} -else -{ -lean_object* x_323; lean_object* x_324; -x_323 = lean_ctor_get(x_3, 1); -lean_inc(x_323); -x_324 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_323, x_276); -lean_dec(x_323); -if (lean_obj_tag(x_324) == 0) -{ -lean_object* x_325; lean_object* x_326; lean_object* x_327; uint8_t x_328; -lean_inc(x_276); -lean_inc(x_1); -x_325 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___rarg(x_1, x_276, x_3); -x_326 = lean_ctor_get(x_325, 1); -lean_inc(x_326); -x_327 = lean_ctor_get(x_325, 0); -lean_inc(x_327); -lean_dec(x_325); -x_328 = !lean_is_exclusive(x_326); -if (x_328 == 0) -{ -lean_object* x_329; lean_object* x_330; -x_329 = lean_ctor_get(x_326, 1); -lean_inc(x_327); -x_330 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_329, x_276, x_327); -lean_ctor_set(x_326, 1, x_330); -x_278 = x_327; -x_279 = x_326; -goto block_320; -} -else -{ -lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; -x_331 = lean_ctor_get(x_326, 0); -x_332 = lean_ctor_get(x_326, 1); -lean_inc(x_332); -lean_inc(x_331); -lean_dec(x_326); -lean_inc(x_327); -x_333 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_332, x_276, x_327); -x_334 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_334, 0, x_331); -lean_ctor_set(x_334, 1, x_333); -x_278 = x_327; -x_279 = x_334; -goto block_320; -} -} -else -{ -lean_object* x_335; -lean_dec(x_276); -x_335 = lean_ctor_get(x_324, 0); -lean_inc(x_335); -lean_dec(x_324); -x_278 = x_335; -x_279 = x_3; -goto block_320; -} -} -} -else -{ -lean_object* x_336; lean_object* x_337; -x_336 = lean_ctor_get(x_3, 1); -lean_inc(x_336); -x_337 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_336, x_276); -lean_dec(x_336); -if (lean_obj_tag(x_337) == 0) -{ -lean_object* x_338; lean_object* x_339; lean_object* x_340; uint8_t x_341; -lean_inc(x_276); -lean_inc(x_1); -x_338 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___rarg(x_1, x_276, x_3); -x_339 = lean_ctor_get(x_338, 1); -lean_inc(x_339); -x_340 = lean_ctor_get(x_338, 0); -lean_inc(x_340); -lean_dec(x_338); -x_341 = !lean_is_exclusive(x_339); -if (x_341 == 0) -{ -lean_object* x_342; lean_object* x_343; -x_342 = lean_ctor_get(x_339, 1); -lean_inc(x_340); -x_343 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_342, x_276, x_340); -lean_ctor_set(x_339, 1, x_343); -x_278 = x_340; -x_279 = x_339; -goto block_320; -} -else -{ -lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; -x_344 = lean_ctor_get(x_339, 0); -x_345 = lean_ctor_get(x_339, 1); -lean_inc(x_345); -lean_inc(x_344); -lean_dec(x_339); -lean_inc(x_340); -x_346 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_345, x_276, x_340); -x_347 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_347, 0, x_344); -lean_ctor_set(x_347, 1, x_346); -x_278 = x_340; -x_279 = x_347; -goto block_320; -} -} -else -{ -lean_object* x_348; -lean_dec(x_276); -x_348 = lean_ctor_get(x_337, 0); -lean_inc(x_348); -lean_dec(x_337); -x_278 = x_348; -x_279 = x_3; -goto block_320; -} -} -block_320: -{ -lean_object* x_280; lean_object* x_281; uint8_t x_292; -x_292 = lean_expr_has_expr_mvar(x_277); -if (x_292 == 0) -{ -uint8_t x_293; -x_293 = lean_expr_has_level_mvar(x_277); -if (x_293 == 0) -{ -lean_dec(x_1); -x_280 = x_277; -x_281 = x_279; -goto block_291; -} -else -{ -lean_object* x_294; lean_object* x_295; -x_294 = lean_ctor_get(x_279, 1); -lean_inc(x_294); -x_295 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_294, x_277); -lean_dec(x_294); -if (lean_obj_tag(x_295) == 0) -{ -lean_object* x_296; lean_object* x_297; lean_object* x_298; uint8_t x_299; -lean_inc(x_277); -x_296 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___rarg(x_1, x_277, x_279); -x_297 = lean_ctor_get(x_296, 1); -lean_inc(x_297); -x_298 = lean_ctor_get(x_296, 0); -lean_inc(x_298); -lean_dec(x_296); -x_299 = !lean_is_exclusive(x_297); -if (x_299 == 0) -{ -lean_object* x_300; lean_object* x_301; -x_300 = lean_ctor_get(x_297, 1); -lean_inc(x_298); -x_301 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_300, x_277, x_298); -lean_ctor_set(x_297, 1, x_301); -x_280 = x_298; -x_281 = x_297; -goto block_291; -} -else -{ -lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; -x_302 = lean_ctor_get(x_297, 0); -x_303 = lean_ctor_get(x_297, 1); -lean_inc(x_303); -lean_inc(x_302); -lean_dec(x_297); -lean_inc(x_298); -x_304 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_303, x_277, x_298); -x_305 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_305, 0, x_302); -lean_ctor_set(x_305, 1, x_304); -x_280 = x_298; -x_281 = x_305; -goto block_291; -} -} -else -{ -lean_object* x_306; -lean_dec(x_277); -lean_dec(x_1); -x_306 = lean_ctor_get(x_295, 0); -lean_inc(x_306); -lean_dec(x_295); -x_280 = x_306; -x_281 = x_279; -goto block_291; -} -} -} -else -{ -lean_object* x_307; lean_object* x_308; -x_307 = lean_ctor_get(x_279, 1); -lean_inc(x_307); -x_308 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_307, x_277); -lean_dec(x_307); -if (lean_obj_tag(x_308) == 0) -{ -lean_object* x_309; lean_object* x_310; lean_object* x_311; uint8_t x_312; -lean_inc(x_277); -x_309 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___rarg(x_1, x_277, x_279); -x_310 = lean_ctor_get(x_309, 1); -lean_inc(x_310); -x_311 = lean_ctor_get(x_309, 0); -lean_inc(x_311); -lean_dec(x_309); -x_312 = !lean_is_exclusive(x_310); -if (x_312 == 0) -{ -lean_object* x_313; lean_object* x_314; -x_313 = lean_ctor_get(x_310, 1); -lean_inc(x_311); -x_314 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_313, x_277, x_311); -lean_ctor_set(x_310, 1, x_314); -x_280 = x_311; -x_281 = x_310; -goto block_291; -} -else -{ -lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; -x_315 = lean_ctor_get(x_310, 0); -x_316 = lean_ctor_get(x_310, 1); -lean_inc(x_316); -lean_inc(x_315); -lean_dec(x_310); -lean_inc(x_311); -x_317 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_316, x_277, x_311); -x_318 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_318, 0, x_315); -lean_ctor_set(x_318, 1, x_317); -x_280 = x_311; -x_281 = x_318; -goto block_291; -} -} -else -{ -lean_object* x_319; -lean_dec(x_277); -lean_dec(x_1); -x_319 = lean_ctor_get(x_308, 0); -lean_inc(x_319); -lean_dec(x_308); -x_280 = x_319; -x_281 = x_279; -goto block_291; -} -} -block_291: -{ -if (lean_obj_tag(x_2) == 7) -{ -uint8_t x_282; lean_object* x_283; lean_object* x_284; -x_282 = lean_ctor_get_uint8(x_2, sizeof(void*)*3); -x_283 = lean_expr_update_forall(x_2, x_282, x_278, x_280); -x_284 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_284, 0, x_283); -lean_ctor_set(x_284, 1, x_281); -return x_284; -} -else -{ -lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; -lean_dec(x_280); -lean_dec(x_278); -lean_dec(x_2); -x_285 = l_Lean_Expr_getRevArg_x21___main___closed__1; -x_286 = lean_unsigned_to_nat(499u); -x_287 = lean_unsigned_to_nat(22u); -x_288 = l_Lean_Expr_updateForall_x21___closed__1; -x_289 = l_panicWithPos___at_Lean_Expr_getRevArg_x21___main___spec__1(x_285, x_286, x_287, x_288); -x_290 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_290, 0, x_289); -lean_ctor_set(x_290, 1, x_281); -return x_290; -} -} -} -} -case 8: -{ -lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; uint8_t x_425; -x_349 = lean_ctor_get(x_2, 1); -lean_inc(x_349); -x_350 = lean_ctor_get(x_2, 2); -lean_inc(x_350); -x_351 = lean_ctor_get(x_2, 3); -lean_inc(x_351); -x_425 = lean_expr_has_expr_mvar(x_349); -if (x_425 == 0) -{ -uint8_t x_426; -x_426 = lean_expr_has_level_mvar(x_349); -if (x_426 == 0) -{ -x_352 = x_349; -x_353 = x_3; -goto block_424; -} -else -{ -lean_object* x_427; lean_object* x_428; -x_427 = lean_ctor_get(x_3, 1); -lean_inc(x_427); -x_428 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_427, x_349); -lean_dec(x_427); -if (lean_obj_tag(x_428) == 0) -{ -lean_object* x_429; lean_object* x_430; lean_object* x_431; uint8_t x_432; -lean_inc(x_349); -lean_inc(x_1); -x_429 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___rarg(x_1, x_349, x_3); -x_430 = lean_ctor_get(x_429, 1); -lean_inc(x_430); -x_431 = lean_ctor_get(x_429, 0); -lean_inc(x_431); -lean_dec(x_429); -x_432 = !lean_is_exclusive(x_430); -if (x_432 == 0) -{ -lean_object* x_433; lean_object* x_434; -x_433 = lean_ctor_get(x_430, 1); -lean_inc(x_431); -x_434 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_433, x_349, x_431); -lean_ctor_set(x_430, 1, x_434); -x_352 = x_431; -x_353 = x_430; -goto block_424; -} -else -{ -lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; -x_435 = lean_ctor_get(x_430, 0); -x_436 = lean_ctor_get(x_430, 1); -lean_inc(x_436); -lean_inc(x_435); -lean_dec(x_430); -lean_inc(x_431); -x_437 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_436, x_349, x_431); -x_438 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_438, 0, x_435); -lean_ctor_set(x_438, 1, x_437); -x_352 = x_431; -x_353 = x_438; -goto block_424; -} -} -else -{ -lean_object* x_439; -lean_dec(x_349); -x_439 = lean_ctor_get(x_428, 0); -lean_inc(x_439); -lean_dec(x_428); -x_352 = x_439; -x_353 = x_3; -goto block_424; -} -} -} -else -{ -lean_object* x_440; lean_object* x_441; -x_440 = lean_ctor_get(x_3, 1); -lean_inc(x_440); -x_441 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_440, x_349); -lean_dec(x_440); -if (lean_obj_tag(x_441) == 0) -{ -lean_object* x_442; lean_object* x_443; lean_object* x_444; uint8_t x_445; -lean_inc(x_349); -lean_inc(x_1); -x_442 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___rarg(x_1, x_349, x_3); -x_443 = lean_ctor_get(x_442, 1); -lean_inc(x_443); -x_444 = lean_ctor_get(x_442, 0); -lean_inc(x_444); -lean_dec(x_442); -x_445 = !lean_is_exclusive(x_443); -if (x_445 == 0) -{ -lean_object* x_446; lean_object* x_447; -x_446 = lean_ctor_get(x_443, 1); -lean_inc(x_444); -x_447 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_446, x_349, x_444); -lean_ctor_set(x_443, 1, x_447); -x_352 = x_444; -x_353 = x_443; -goto block_424; -} -else -{ -lean_object* x_448; lean_object* x_449; lean_object* x_450; lean_object* x_451; -x_448 = lean_ctor_get(x_443, 0); -x_449 = lean_ctor_get(x_443, 1); -lean_inc(x_449); -lean_inc(x_448); -lean_dec(x_443); -lean_inc(x_444); -x_450 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_449, x_349, x_444); -x_451 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_451, 0, x_448); -lean_ctor_set(x_451, 1, x_450); -x_352 = x_444; -x_353 = x_451; -goto block_424; -} -} -else -{ -lean_object* x_452; -lean_dec(x_349); -x_452 = lean_ctor_get(x_441, 0); -lean_inc(x_452); -lean_dec(x_441); -x_352 = x_452; -x_353 = x_3; -goto block_424; -} -} -block_424: -{ -lean_object* x_354; lean_object* x_355; uint8_t x_396; -x_396 = lean_expr_has_expr_mvar(x_350); -if (x_396 == 0) -{ -uint8_t x_397; -x_397 = lean_expr_has_level_mvar(x_350); -if (x_397 == 0) -{ -x_354 = x_350; -x_355 = x_353; -goto block_395; -} -else -{ -lean_object* x_398; lean_object* x_399; -x_398 = lean_ctor_get(x_353, 1); -lean_inc(x_398); -x_399 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_398, x_350); -lean_dec(x_398); -if (lean_obj_tag(x_399) == 0) -{ -lean_object* x_400; lean_object* x_401; lean_object* x_402; uint8_t x_403; -lean_inc(x_350); -lean_inc(x_1); -x_400 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___rarg(x_1, x_350, x_353); -x_401 = lean_ctor_get(x_400, 1); -lean_inc(x_401); -x_402 = lean_ctor_get(x_400, 0); -lean_inc(x_402); -lean_dec(x_400); -x_403 = !lean_is_exclusive(x_401); -if (x_403 == 0) -{ -lean_object* x_404; lean_object* x_405; -x_404 = lean_ctor_get(x_401, 1); -lean_inc(x_402); -x_405 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_404, x_350, x_402); -lean_ctor_set(x_401, 1, x_405); -x_354 = x_402; -x_355 = x_401; -goto block_395; -} -else -{ -lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; -x_406 = lean_ctor_get(x_401, 0); -x_407 = lean_ctor_get(x_401, 1); -lean_inc(x_407); -lean_inc(x_406); -lean_dec(x_401); -lean_inc(x_402); -x_408 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_407, x_350, x_402); -x_409 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_409, 0, x_406); -lean_ctor_set(x_409, 1, x_408); -x_354 = x_402; -x_355 = x_409; -goto block_395; -} -} -else -{ -lean_object* x_410; -lean_dec(x_350); -x_410 = lean_ctor_get(x_399, 0); -lean_inc(x_410); -lean_dec(x_399); -x_354 = x_410; -x_355 = x_353; -goto block_395; -} -} -} -else -{ -lean_object* x_411; lean_object* x_412; -x_411 = lean_ctor_get(x_353, 1); -lean_inc(x_411); -x_412 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_411, x_350); -lean_dec(x_411); -if (lean_obj_tag(x_412) == 0) -{ -lean_object* x_413; lean_object* x_414; lean_object* x_415; uint8_t x_416; -lean_inc(x_350); -lean_inc(x_1); -x_413 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___rarg(x_1, x_350, x_353); -x_414 = lean_ctor_get(x_413, 1); -lean_inc(x_414); -x_415 = lean_ctor_get(x_413, 0); -lean_inc(x_415); -lean_dec(x_413); -x_416 = !lean_is_exclusive(x_414); -if (x_416 == 0) -{ -lean_object* x_417; lean_object* x_418; -x_417 = lean_ctor_get(x_414, 1); -lean_inc(x_415); -x_418 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_417, x_350, x_415); -lean_ctor_set(x_414, 1, x_418); -x_354 = x_415; -x_355 = x_414; -goto block_395; -} -else -{ -lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; -x_419 = lean_ctor_get(x_414, 0); -x_420 = lean_ctor_get(x_414, 1); -lean_inc(x_420); -lean_inc(x_419); -lean_dec(x_414); -lean_inc(x_415); -x_421 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_420, x_350, x_415); -x_422 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_422, 0, x_419); -lean_ctor_set(x_422, 1, x_421); -x_354 = x_415; -x_355 = x_422; -goto block_395; -} -} -else -{ -lean_object* x_423; -lean_dec(x_350); -x_423 = lean_ctor_get(x_412, 0); -lean_inc(x_423); -lean_dec(x_412); -x_354 = x_423; -x_355 = x_353; -goto block_395; -} -} -block_395: -{ -lean_object* x_356; lean_object* x_357; uint8_t x_367; -x_367 = lean_expr_has_expr_mvar(x_351); -if (x_367 == 0) -{ -uint8_t x_368; -x_368 = lean_expr_has_level_mvar(x_351); -if (x_368 == 0) -{ -lean_dec(x_1); -x_356 = x_351; -x_357 = x_355; -goto block_366; -} -else -{ -lean_object* x_369; lean_object* x_370; -x_369 = lean_ctor_get(x_355, 1); -lean_inc(x_369); -x_370 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_369, x_351); -lean_dec(x_369); -if (lean_obj_tag(x_370) == 0) -{ -lean_object* x_371; lean_object* x_372; lean_object* x_373; uint8_t x_374; -lean_inc(x_351); -x_371 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___rarg(x_1, x_351, x_355); -x_372 = lean_ctor_get(x_371, 1); -lean_inc(x_372); -x_373 = lean_ctor_get(x_371, 0); -lean_inc(x_373); -lean_dec(x_371); -x_374 = !lean_is_exclusive(x_372); -if (x_374 == 0) -{ -lean_object* x_375; lean_object* x_376; -x_375 = lean_ctor_get(x_372, 1); -lean_inc(x_373); -x_376 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_375, x_351, x_373); -lean_ctor_set(x_372, 1, x_376); -x_356 = x_373; -x_357 = x_372; -goto block_366; -} -else -{ -lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; -x_377 = lean_ctor_get(x_372, 0); -x_378 = lean_ctor_get(x_372, 1); -lean_inc(x_378); -lean_inc(x_377); -lean_dec(x_372); -lean_inc(x_373); -x_379 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_378, x_351, x_373); -x_380 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_380, 0, x_377); -lean_ctor_set(x_380, 1, x_379); -x_356 = x_373; -x_357 = x_380; -goto block_366; -} -} -else -{ -lean_object* x_381; -lean_dec(x_351); -lean_dec(x_1); -x_381 = lean_ctor_get(x_370, 0); -lean_inc(x_381); -lean_dec(x_370); -x_356 = x_381; -x_357 = x_355; -goto block_366; -} -} -} -else -{ -lean_object* x_382; lean_object* x_383; -x_382 = lean_ctor_get(x_355, 1); -lean_inc(x_382); -x_383 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_382, x_351); -lean_dec(x_382); -if (lean_obj_tag(x_383) == 0) -{ -lean_object* x_384; lean_object* x_385; lean_object* x_386; uint8_t x_387; -lean_inc(x_351); -x_384 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___rarg(x_1, x_351, x_355); -x_385 = lean_ctor_get(x_384, 1); -lean_inc(x_385); -x_386 = lean_ctor_get(x_384, 0); -lean_inc(x_386); -lean_dec(x_384); -x_387 = !lean_is_exclusive(x_385); -if (x_387 == 0) -{ -lean_object* x_388; lean_object* x_389; -x_388 = lean_ctor_get(x_385, 1); -lean_inc(x_386); -x_389 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_388, x_351, x_386); -lean_ctor_set(x_385, 1, x_389); -x_356 = x_386; -x_357 = x_385; -goto block_366; -} -else -{ -lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; -x_390 = lean_ctor_get(x_385, 0); -x_391 = lean_ctor_get(x_385, 1); -lean_inc(x_391); -lean_inc(x_390); -lean_dec(x_385); -lean_inc(x_386); -x_392 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_391, x_351, x_386); -x_393 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_393, 0, x_390); -lean_ctor_set(x_393, 1, x_392); -x_356 = x_386; -x_357 = x_393; -goto block_366; -} -} -else -{ -lean_object* x_394; -lean_dec(x_351); -lean_dec(x_1); -x_394 = lean_ctor_get(x_383, 0); -lean_inc(x_394); -lean_dec(x_383); -x_356 = x_394; -x_357 = x_355; -goto block_366; -} -} -block_366: -{ -if (lean_obj_tag(x_2) == 8) -{ -lean_object* x_358; lean_object* x_359; -x_358 = lean_expr_update_let(x_2, x_352, x_354, x_356); -x_359 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_359, 0, x_358); -lean_ctor_set(x_359, 1, x_357); -return x_359; -} -else -{ -lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; -lean_dec(x_356); -lean_dec(x_354); -lean_dec(x_352); -lean_dec(x_2); -x_360 = l_Lean_Expr_getRevArg_x21___main___closed__1; -x_361 = lean_unsigned_to_nat(522u); -x_362 = lean_unsigned_to_nat(18u); -x_363 = l_Lean_Expr_letName_x21___closed__1; -x_364 = l_panicWithPos___at_Lean_Expr_getRevArg_x21___main___spec__1(x_360, x_361, x_362, x_363); -x_365 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_365, 0, x_364); -lean_ctor_set(x_365, 1, x_357); -return x_365; -} -} -} -} -} -case 10: -{ -lean_object* x_453; uint8_t x_454; -x_453 = lean_ctor_get(x_2, 1); -lean_inc(x_453); -x_454 = lean_expr_has_expr_mvar(x_453); -if (x_454 == 0) -{ -uint8_t x_455; -x_455 = lean_expr_has_level_mvar(x_453); -if (x_455 == 0) -{ -lean_dec(x_1); -x_16 = x_453; -x_17 = x_3; -goto block_26; -} -else -{ -lean_object* x_456; lean_object* x_457; -x_456 = lean_ctor_get(x_3, 1); -lean_inc(x_456); -x_457 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_456, x_453); -lean_dec(x_456); -if (lean_obj_tag(x_457) == 0) -{ -lean_object* x_458; lean_object* x_459; lean_object* x_460; uint8_t x_461; -lean_inc(x_453); -x_458 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___rarg(x_1, x_453, x_3); -x_459 = lean_ctor_get(x_458, 1); -lean_inc(x_459); -x_460 = lean_ctor_get(x_458, 0); -lean_inc(x_460); -lean_dec(x_458); -x_461 = !lean_is_exclusive(x_459); -if (x_461 == 0) -{ -lean_object* x_462; lean_object* x_463; -x_462 = lean_ctor_get(x_459, 1); -lean_inc(x_460); -x_463 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_462, x_453, x_460); -lean_ctor_set(x_459, 1, x_463); -x_16 = x_460; -x_17 = x_459; -goto block_26; -} -else -{ -lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; -x_464 = lean_ctor_get(x_459, 0); -x_465 = lean_ctor_get(x_459, 1); -lean_inc(x_465); -lean_inc(x_464); -lean_dec(x_459); -lean_inc(x_460); -x_466 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_465, x_453, x_460); -x_467 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_467, 0, x_464); -lean_ctor_set(x_467, 1, x_466); -x_16 = x_460; -x_17 = x_467; -goto block_26; -} -} -else -{ -lean_object* x_468; -lean_dec(x_453); -lean_dec(x_1); -x_468 = lean_ctor_get(x_457, 0); -lean_inc(x_468); -lean_dec(x_457); -x_16 = x_468; -x_17 = x_3; -goto block_26; -} -} -} -else -{ -lean_object* x_469; lean_object* x_470; -x_469 = lean_ctor_get(x_3, 1); -lean_inc(x_469); -x_470 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_469, x_453); -lean_dec(x_469); -if (lean_obj_tag(x_470) == 0) -{ -lean_object* x_471; lean_object* x_472; lean_object* x_473; uint8_t x_474; -lean_inc(x_453); -x_471 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___rarg(x_1, x_453, x_3); -x_472 = lean_ctor_get(x_471, 1); -lean_inc(x_472); -x_473 = lean_ctor_get(x_471, 0); -lean_inc(x_473); -lean_dec(x_471); -x_474 = !lean_is_exclusive(x_472); -if (x_474 == 0) -{ -lean_object* x_475; lean_object* x_476; -x_475 = lean_ctor_get(x_472, 1); -lean_inc(x_473); -x_476 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_475, x_453, x_473); -lean_ctor_set(x_472, 1, x_476); -x_16 = x_473; -x_17 = x_472; -goto block_26; -} -else -{ -lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; -x_477 = lean_ctor_get(x_472, 0); -x_478 = lean_ctor_get(x_472, 1); -lean_inc(x_478); -lean_inc(x_477); -lean_dec(x_472); -lean_inc(x_473); -x_479 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_478, x_453, x_473); -x_480 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_480, 0, x_477); -lean_ctor_set(x_480, 1, x_479); -x_16 = x_473; -x_17 = x_480; -goto block_26; -} -} -else -{ -lean_object* x_481; -lean_dec(x_453); -lean_dec(x_1); -x_481 = lean_ctor_get(x_470, 0); -lean_inc(x_481); -lean_dec(x_470); -x_16 = x_481; -x_17 = x_3; -goto block_26; -} -} -} -case 11: -{ -lean_object* x_482; uint8_t x_483; -x_482 = lean_ctor_get(x_2, 2); -lean_inc(x_482); -x_483 = lean_expr_has_expr_mvar(x_482); -if (x_483 == 0) -{ -uint8_t x_484; -x_484 = lean_expr_has_level_mvar(x_482); -if (x_484 == 0) -{ -lean_dec(x_1); -x_27 = x_482; -x_28 = x_3; -goto block_37; -} -else -{ -lean_object* x_485; lean_object* x_486; -x_485 = lean_ctor_get(x_3, 1); -lean_inc(x_485); -x_486 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_485, x_482); -lean_dec(x_485); -if (lean_obj_tag(x_486) == 0) -{ -lean_object* x_487; lean_object* x_488; lean_object* x_489; uint8_t x_490; -lean_inc(x_482); -x_487 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___rarg(x_1, x_482, x_3); -x_488 = lean_ctor_get(x_487, 1); -lean_inc(x_488); -x_489 = lean_ctor_get(x_487, 0); -lean_inc(x_489); -lean_dec(x_487); -x_490 = !lean_is_exclusive(x_488); -if (x_490 == 0) -{ -lean_object* x_491; lean_object* x_492; -x_491 = lean_ctor_get(x_488, 1); -lean_inc(x_489); -x_492 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_491, x_482, x_489); -lean_ctor_set(x_488, 1, x_492); -x_27 = x_489; -x_28 = x_488; -goto block_37; -} -else -{ -lean_object* x_493; lean_object* x_494; lean_object* x_495; lean_object* x_496; -x_493 = lean_ctor_get(x_488, 0); -x_494 = lean_ctor_get(x_488, 1); -lean_inc(x_494); -lean_inc(x_493); -lean_dec(x_488); -lean_inc(x_489); -x_495 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_494, x_482, x_489); -x_496 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_496, 0, x_493); -lean_ctor_set(x_496, 1, x_495); -x_27 = x_489; -x_28 = x_496; -goto block_37; -} -} -else -{ -lean_object* x_497; -lean_dec(x_482); -lean_dec(x_1); -x_497 = lean_ctor_get(x_486, 0); -lean_inc(x_497); -lean_dec(x_486); -x_27 = x_497; -x_28 = x_3; -goto block_37; -} -} -} -else -{ -lean_object* x_498; lean_object* x_499; -x_498 = lean_ctor_get(x_3, 1); -lean_inc(x_498); -x_499 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_498, x_482); -lean_dec(x_498); -if (lean_obj_tag(x_499) == 0) -{ -lean_object* x_500; lean_object* x_501; lean_object* x_502; uint8_t x_503; -lean_inc(x_482); -x_500 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___rarg(x_1, x_482, x_3); -x_501 = lean_ctor_get(x_500, 1); -lean_inc(x_501); -x_502 = lean_ctor_get(x_500, 0); -lean_inc(x_502); -lean_dec(x_500); -x_503 = !lean_is_exclusive(x_501); -if (x_503 == 0) -{ -lean_object* x_504; lean_object* x_505; -x_504 = lean_ctor_get(x_501, 1); -lean_inc(x_502); -x_505 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_504, x_482, x_502); -lean_ctor_set(x_501, 1, x_505); -x_27 = x_502; -x_28 = x_501; -goto block_37; -} -else -{ -lean_object* x_506; lean_object* x_507; lean_object* x_508; lean_object* x_509; -x_506 = lean_ctor_get(x_501, 0); -x_507 = lean_ctor_get(x_501, 1); -lean_inc(x_507); -lean_inc(x_506); -lean_dec(x_501); -lean_inc(x_502); -x_508 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_507, x_482, x_502); -x_509 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_509, 0, x_506); -lean_ctor_set(x_509, 1, x_508); -x_27 = x_502; -x_28 = x_509; -goto block_37; -} -} -else -{ -lean_object* x_510; -lean_dec(x_482); -lean_dec(x_1); -x_510 = lean_ctor_get(x_499, 0); -lean_inc(x_510); -lean_dec(x_499); -x_27 = x_510; -x_28 = x_3; -goto block_37; -} -} -} -default: -{ -lean_object* x_511; -lean_dec(x_1); -x_511 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_511, 0, x_2); -lean_ctor_set(x_511, 1, x_3); -return x_511; -} -} -block_15: -{ -uint8_t x_6; -x_6 = !lean_is_exclusive(x_5); -if (x_6 == 0) -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; -x_7 = lean_ctor_get(x_5, 1); -lean_inc(x_4); -x_8 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_7, x_2, x_4); -lean_ctor_set(x_5, 1, x_8); -x_9 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_9, 0, x_4); -lean_ctor_set(x_9, 1, x_5); -return x_9; -} -else -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_10 = lean_ctor_get(x_5, 0); -x_11 = lean_ctor_get(x_5, 1); -lean_inc(x_11); -lean_inc(x_10); -lean_dec(x_5); -lean_inc(x_4); -x_12 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_11, x_2, x_4); -x_13 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_13, 0, x_10); -lean_ctor_set(x_13, 1, x_12); -x_14 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_14, 0, x_4); -lean_ctor_set(x_14, 1, x_13); -return x_14; -} -} -block_26: -{ -if (lean_obj_tag(x_2) == 10) -{ -lean_object* x_18; lean_object* x_19; -x_18 = lean_expr_update_mdata(x_2, x_16); -x_19 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_19, 0, x_18); -lean_ctor_set(x_19, 1, x_17); -return x_19; -} -else -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; -lean_dec(x_16); -lean_dec(x_2); -x_20 = l_Lean_Expr_getRevArg_x21___main___closed__1; -x_21 = lean_unsigned_to_nat(480u); -x_22 = lean_unsigned_to_nat(15u); -x_23 = l_Lean_Expr_updateMData_x21___closed__1; -x_24 = l_panicWithPos___at_Lean_Expr_getRevArg_x21___main___spec__1(x_20, x_21, x_22, x_23); -x_25 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_25, 0, x_24); -lean_ctor_set(x_25, 1, x_17); -return x_25; -} -} -block_37: -{ -if (lean_obj_tag(x_2) == 11) -{ -lean_object* x_29; lean_object* x_30; -x_29 = lean_expr_update_proj(x_2, x_27); -x_30 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_30, 0, x_29); -lean_ctor_set(x_30, 1, x_28); -return x_30; -} -else -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; -lean_dec(x_27); -lean_dec(x_2); -x_31 = l_Lean_Expr_getRevArg_x21___main___closed__1; -x_32 = lean_unsigned_to_nat(485u); -x_33 = lean_unsigned_to_nat(16u); -x_34 = l_Lean_Expr_updateProj_x21___closed__1; -x_35 = l_panicWithPos___at_Lean_Expr_getRevArg_x21___main___spec__1(x_31, x_32, x_33, x_34); -x_36 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_28); -return x_36; -} -} -} -} -lean_object* l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___rarg), 3, 0); -return x_2; -} -} -lean_object* l_panicWithPos___at_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___spec__2___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; -x_6 = l_panicWithPos___at_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___spec__2___rarg(x_1, x_2, x_3, x_4, x_5); -lean_dec(x_4); -lean_dec(x_1); -return x_6; -} -} -lean_object* l_Lean_AbstractMetavarContext_InstantiateExprMVars_instantiateDelayedAux___main___at_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; -x_7 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_instantiateDelayedAux___main___at_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___spec__1___rarg(x_1, x_2, x_3, x_4, x_5, x_6); -lean_dec(x_3); -return x_7; -} -} -lean_object* l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___rarg(x_1, x_2, x_3); -return x_4; -} -} -lean_object* l_Lean_AbstractMetavarContext_InstantiateExprMVars_main(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___rarg), 3, 0); -return x_2; -} -} -lean_object* l_mkHashMap___at_Lean_AbstractMetavarContext_instantiateMVars___spec__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = l_mkHashMapImp___rarg(x_1); -return x_2; -} -} -lean_object* _init_l_Lean_AbstractMetavarContext_instantiateMVars___rarg___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* l_Lean_AbstractMetavarContext_instantiateMVars___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -uint8_t x_4; -x_4 = lean_expr_has_expr_mvar(x_2); -if (x_4 == 0) -{ -uint8_t x_5; -x_5 = lean_expr_has_level_mvar(x_2); -if (x_5 == 0) -{ -lean_object* x_6; -lean_dec(x_1); -x_6 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_6, 0, x_2); -lean_ctor_set(x_6, 1, x_3); -return x_6; -} -else -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; -x_7 = l_Lean_AbstractMetavarContext_instantiateMVars___rarg___closed__1; -x_8 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_8, 0, x_3); -lean_ctor_set(x_8, 1, x_7); -x_9 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___rarg(x_1, x_2, x_8); -x_10 = !lean_is_exclusive(x_9); -if (x_10 == 0) -{ -lean_object* x_11; lean_object* x_12; -x_11 = lean_ctor_get(x_9, 1); -x_12 = lean_ctor_get(x_11, 0); -lean_inc(x_12); -lean_dec(x_11); -lean_ctor_set(x_9, 1, x_12); -return x_9; -} -else -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_13 = lean_ctor_get(x_9, 0); -x_14 = lean_ctor_get(x_9, 1); -lean_inc(x_14); -lean_inc(x_13); -lean_dec(x_9); -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -lean_dec(x_14); -x_16 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_16, 0, x_13); -lean_ctor_set(x_16, 1, x_15); -return x_16; -} -} -} -else -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; -x_17 = l_Lean_AbstractMetavarContext_instantiateMVars___rarg___closed__1; -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_3); -lean_ctor_set(x_18, 1, x_17); -x_19 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___rarg(x_1, x_2, x_18); -x_20 = !lean_is_exclusive(x_19); -if (x_20 == 0) -{ -lean_object* x_21; lean_object* x_22; -x_21 = lean_ctor_get(x_19, 1); -x_22 = lean_ctor_get(x_21, 0); -lean_inc(x_22); -lean_dec(x_21); -lean_ctor_set(x_19, 1, x_22); -return x_19; -} -else -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_23 = lean_ctor_get(x_19, 0); -x_24 = lean_ctor_get(x_19, 1); -lean_inc(x_24); -lean_inc(x_23); -lean_dec(x_19); -x_25 = lean_ctor_get(x_24, 0); -lean_inc(x_25); -lean_dec(x_24); -x_26 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_26, 0, x_23); -lean_ctor_set(x_26, 1, x_25); -return x_26; -} -} -} -} -lean_object* l_Lean_AbstractMetavarContext_instantiateMVars(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_AbstractMetavarContext_instantiateMVars___rarg), 3, 0); -return x_2; -} -} -uint8_t l_AssocList_contains___main___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__2(lean_object* x_1, lean_object* x_2) { -_start: -{ -if (lean_obj_tag(x_2) == 0) -{ -uint8_t x_3; -x_3 = 0; -return x_3; -} -else -{ -lean_object* x_4; lean_object* x_5; uint8_t x_6; -x_4 = lean_ctor_get(x_2, 0); -x_5 = lean_ctor_get(x_2, 2); -x_6 = lean_expr_eqv(x_4, x_1); -if (x_6 == 0) -{ -x_2 = x_5; -goto _start; -} -else -{ -uint8_t x_8; -x_8 = 1; -return x_8; -} -} -} -} -uint8_t l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; lean_object* x_4; size_t x_5; size_t x_6; lean_object* x_7; uint8_t x_8; -x_3 = lean_ctor_get(x_1, 1); -x_4 = lean_array_get_size(x_3); -x_5 = lean_expr_hash(x_2); -x_6 = lean_usize_modn(x_5, x_4); -lean_dec(x_4); -x_7 = lean_array_uget(x_3, x_6); -x_8 = l_AssocList_contains___main___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__2(x_2, x_7); -lean_dec(x_7); -return x_8; -} -} -lean_object* l_AssocList_foldlM___main___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__6(lean_object* x_1, lean_object* x_2) { -_start: -{ -if (lean_obj_tag(x_2) == 0) -{ -return x_1; -} -else -{ -uint8_t x_3; -x_3 = !lean_is_exclusive(x_2); -if (x_3 == 0) -{ -lean_object* x_4; lean_object* x_5; lean_object* x_6; size_t x_7; size_t x_8; lean_object* x_9; lean_object* x_10; -x_4 = lean_ctor_get(x_2, 0); -x_5 = lean_ctor_get(x_2, 2); -x_6 = lean_array_get_size(x_1); -x_7 = lean_expr_hash(x_4); -x_8 = lean_usize_modn(x_7, x_6); -lean_dec(x_6); -x_9 = lean_array_uget(x_1, x_8); -lean_ctor_set(x_2, 2, x_9); -x_10 = lean_array_uset(x_1, x_8, x_2); -x_1 = x_10; -x_2 = x_5; -goto _start; -} -else -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; size_t x_16; size_t x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_12 = lean_ctor_get(x_2, 0); -x_13 = lean_ctor_get(x_2, 1); -x_14 = lean_ctor_get(x_2, 2); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_dec(x_2); -x_15 = lean_array_get_size(x_1); -x_16 = lean_expr_hash(x_12); -x_17 = lean_usize_modn(x_16, x_15); -lean_dec(x_15); -x_18 = lean_array_uget(x_1, x_17); -x_19 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_19, 0, x_12); -lean_ctor_set(x_19, 1, x_13); -lean_ctor_set(x_19, 2, x_18); -x_20 = lean_array_uset(x_1, x_17, x_19); -x_1 = x_20; -x_2 = x_14; -goto _start; -} -} -} -} -lean_object* l_HashMapImp_moveEntries___main___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; uint8_t x_5; -x_4 = lean_array_get_size(x_2); -x_5 = lean_nat_dec_lt(x_1, x_4); -lean_dec(x_4); -if (x_5 == 0) -{ -lean_dec(x_2); -lean_dec(x_1); -return x_3; -} -else -{ -lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; -x_6 = lean_array_fget(x_2, x_1); -x_7 = lean_box(0); -x_8 = lean_array_fset(x_2, x_1, x_7); -x_9 = l_AssocList_foldlM___main___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__6(x_3, x_6); -x_10 = lean_unsigned_to_nat(1u); -x_11 = lean_nat_add(x_1, x_10); -lean_dec(x_1); -x_1 = x_11; -x_2 = x_8; -x_3 = x_9; -goto _start; -} -} -} -lean_object* l_HashMapImp_expand___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__4(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; -x_3 = lean_array_get_size(x_2); -x_4 = lean_unsigned_to_nat(2u); -x_5 = lean_nat_mul(x_3, x_4); -lean_dec(x_3); -x_6 = lean_box(0); -x_7 = lean_mk_array(x_5, x_6); -x_8 = lean_unsigned_to_nat(0u); -x_9 = l_HashMapImp_moveEntries___main___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__5(x_8, x_2, x_7); -x_10 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_10, 0, x_1); -lean_ctor_set(x_10, 1, x_9); -return x_10; -} -} -lean_object* l_AssocList_replace___main___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -if (lean_obj_tag(x_3) == 0) -{ -lean_dec(x_2); -lean_dec(x_1); -return x_3; -} -else -{ -uint8_t x_4; -x_4 = !lean_is_exclusive(x_3); -if (x_4 == 0) -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; -x_5 = lean_ctor_get(x_3, 0); -x_6 = lean_ctor_get(x_3, 1); -x_7 = lean_ctor_get(x_3, 2); -x_8 = lean_expr_eqv(x_5, x_1); -if (x_8 == 0) -{ -lean_object* x_9; -x_9 = l_AssocList_replace___main___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__7(x_1, x_2, x_7); -lean_ctor_set(x_3, 2, x_9); -return x_3; -} -else -{ -lean_dec(x_6); -lean_dec(x_5); -lean_ctor_set(x_3, 1, x_2); -lean_ctor_set(x_3, 0, x_1); -return x_3; -} -} -else -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; -x_10 = lean_ctor_get(x_3, 0); -x_11 = lean_ctor_get(x_3, 1); -x_12 = lean_ctor_get(x_3, 2); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_dec(x_3); -x_13 = lean_expr_eqv(x_10, x_1); -if (x_13 == 0) -{ -lean_object* x_14; lean_object* x_15; -x_14 = l_AssocList_replace___main___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__7(x_1, x_2, x_12); -x_15 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_15, 0, x_10); -lean_ctor_set(x_15, 1, x_11); -lean_ctor_set(x_15, 2, x_14); -return x_15; -} -else -{ -lean_object* x_16; -lean_dec(x_11); -lean_dec(x_10); -x_16 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_16, 0, x_1); -lean_ctor_set(x_16, 1, x_2); -lean_ctor_set(x_16, 2, x_12); -return x_16; -} -} -} -} -} -lean_object* l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -uint8_t x_4; -x_4 = !lean_is_exclusive(x_1); -if (x_4 == 0) -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; size_t x_8; size_t x_9; lean_object* x_10; uint8_t x_11; -x_5 = lean_ctor_get(x_1, 0); -x_6 = lean_ctor_get(x_1, 1); -x_7 = lean_array_get_size(x_6); -x_8 = lean_expr_hash(x_2); -x_9 = lean_usize_modn(x_8, x_7); -x_10 = lean_array_uget(x_6, x_9); -x_11 = l_AssocList_contains___main___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__2(x_2, x_10); -if (x_11 == 0) -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_12 = lean_unsigned_to_nat(1u); -x_13 = lean_nat_add(x_5, x_12); -lean_dec(x_5); -x_14 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_14, 0, x_2); -lean_ctor_set(x_14, 1, x_3); -lean_ctor_set(x_14, 2, x_10); -x_15 = lean_array_uset(x_6, x_9, x_14); -x_16 = lean_nat_dec_le(x_13, x_7); -lean_dec(x_7); -if (x_16 == 0) -{ -lean_object* x_17; -lean_free_object(x_1); -x_17 = l_HashMapImp_expand___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__4(x_13, x_15); -return x_17; -} -else -{ -lean_ctor_set(x_1, 1, x_15); -lean_ctor_set(x_1, 0, x_13); -return x_1; -} -} -else -{ -lean_object* x_18; lean_object* x_19; -lean_dec(x_7); -x_18 = l_AssocList_replace___main___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__7(x_2, x_3, x_10); -x_19 = lean_array_uset(x_6, x_9, x_18); -lean_ctor_set(x_1, 1, x_19); -return x_1; -} -} -else -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; size_t x_23; size_t x_24; lean_object* x_25; uint8_t x_26; -x_20 = lean_ctor_get(x_1, 0); -x_21 = lean_ctor_get(x_1, 1); -lean_inc(x_21); -lean_inc(x_20); -lean_dec(x_1); -x_22 = lean_array_get_size(x_21); -x_23 = lean_expr_hash(x_2); -x_24 = lean_usize_modn(x_23, x_22); -x_25 = lean_array_uget(x_21, x_24); -x_26 = l_AssocList_contains___main___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__2(x_2, x_25); -if (x_26 == 0) -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; -x_27 = lean_unsigned_to_nat(1u); -x_28 = lean_nat_add(x_20, x_27); -lean_dec(x_20); -x_29 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_29, 0, x_2); -lean_ctor_set(x_29, 1, x_3); -lean_ctor_set(x_29, 2, x_25); -x_30 = lean_array_uset(x_21, x_24, x_29); -x_31 = lean_nat_dec_le(x_28, x_22); -lean_dec(x_22); -if (x_31 == 0) -{ -lean_object* x_32; -x_32 = l_HashMapImp_expand___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__4(x_28, x_30); -return x_32; -} -else -{ -lean_object* x_33; -x_33 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_33, 0, x_28); -lean_ctor_set(x_33, 1, x_30); -return x_33; -} -} -else -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; -lean_dec(x_22); -x_34 = l_AssocList_replace___main___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__7(x_2, x_3, x_25); -x_35 = lean_array_uset(x_21, x_24, x_34); -x_36 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_36, 0, x_20); -lean_ctor_set(x_36, 1, x_35); -return x_36; -} -} -} -} -lean_object* l_Lean_AbstractMetavarContext_DependsOn_visit(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; uint8_t x_13; -x_13 = lean_expr_has_expr_mvar(x_2); -if (x_13 == 0) -{ -uint8_t x_14; -x_14 = lean_expr_has_level_mvar(x_2); -if (x_14 == 0) -{ -uint8_t x_15; -x_15 = lean_expr_has_fvar(x_2); -if (x_15 == 0) -{ -uint8_t x_16; lean_object* x_17; lean_object* x_18; -lean_dec(x_2); -lean_dec(x_1); -x_16 = 0; -x_17 = lean_box(x_16); -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_17); -lean_ctor_set(x_18, 1, x_3); -return x_18; -} -else -{ -lean_object* x_19; -x_19 = lean_box(0); -x_4 = x_19; -goto block_12; -} -} -else -{ -lean_object* x_20; -x_20 = lean_box(0); -x_4 = x_20; -goto block_12; -} -} -else -{ -lean_object* x_21; -x_21 = lean_box(0); -x_4 = x_21; -goto block_12; -} -block_12: -{ -uint8_t x_5; -lean_dec(x_4); -x_5 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_3, x_2); -if (x_5 == 0) -{ -lean_object* x_6; lean_object* x_7; lean_object* x_8; -x_6 = lean_box(0); -lean_inc(x_2); -x_7 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_3, x_2, x_6); -x_8 = lean_apply_2(x_1, x_2, x_7); -return x_8; -} -else -{ -uint8_t x_9; lean_object* x_10; lean_object* x_11; -lean_dec(x_2); -lean_dec(x_1); -x_9 = 0; -x_10 = lean_box(x_9); -x_11 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_11, 0, x_10); -lean_ctor_set(x_11, 1, x_3); -return x_11; -} -} -} -} -lean_object* l_AssocList_contains___main___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__2___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; lean_object* x_4; -x_3 = l_AssocList_contains___main___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__2(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -x_4 = lean_box(x_3); -return x_4; -} -} -lean_object* l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; lean_object* x_4; -x_3 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -x_4 = lean_box(x_3); -return x_4; -} -} -uint8_t l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_DependsOn_dep___main___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; uint8_t x_5; -x_4 = lean_array_get_size(x_2); -x_5 = lean_nat_dec_lt(x_3, x_4); -lean_dec(x_4); -if (x_5 == 0) -{ -uint8_t x_6; -lean_dec(x_3); -lean_dec(x_1); -x_6 = 0; -return x_6; -} -else -{ -lean_object* x_7; uint8_t x_8; -x_7 = lean_array_fget(x_2, x_3); -lean_inc(x_1); -x_8 = l_PersistentArray_anyMAux___main___at_Lean_AbstractMetavarContext_DependsOn_dep___main___spec__2(x_1, x_7); -lean_dec(x_7); -if (x_8 == 0) -{ -lean_object* x_9; lean_object* x_10; -x_9 = lean_unsigned_to_nat(1u); -x_10 = lean_nat_add(x_3, x_9); -lean_dec(x_3); -x_3 = x_10; -goto _start; -} -else -{ -lean_dec(x_3); -lean_dec(x_1); -return x_8; -} -} -} -} -uint8_t l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_DependsOn_dep___main___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; uint8_t x_5; -x_4 = lean_array_get_size(x_2); -x_5 = lean_nat_dec_lt(x_3, x_4); -lean_dec(x_4); -if (x_5 == 0) -{ -uint8_t x_6; -lean_dec(x_3); -lean_dec(x_1); -x_6 = 0; -return x_6; -} -else -{ -lean_object* x_7; -x_7 = lean_array_fget(x_2, x_3); -if (lean_obj_tag(x_7) == 0) -{ -lean_object* x_8; lean_object* x_9; -x_8 = lean_unsigned_to_nat(1u); -x_9 = lean_nat_add(x_3, x_8); -lean_dec(x_3); -x_3 = x_9; -goto _start; -} -else -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_11 = lean_ctor_get(x_7, 0); -lean_inc(x_11); -lean_dec(x_7); -x_12 = l_Lean_LocalDecl_name(x_11); -lean_dec(x_11); -lean_inc(x_1); -x_13 = lean_apply_1(x_1, x_12); -x_14 = lean_unbox(x_13); -lean_dec(x_13); -if (x_14 == 0) -{ -lean_object* x_15; lean_object* x_16; -x_15 = lean_unsigned_to_nat(1u); -x_16 = lean_nat_add(x_3, x_15); -lean_dec(x_3); -x_3 = x_16; -goto _start; -} -else -{ -lean_dec(x_3); -lean_dec(x_1); -return x_14; -} -} -} -} -} -uint8_t l_PersistentArray_anyMAux___main___at_Lean_AbstractMetavarContext_DependsOn_dep___main___spec__2(lean_object* x_1, lean_object* x_2) { -_start: -{ -if (lean_obj_tag(x_2) == 0) -{ -lean_object* x_3; lean_object* x_4; uint8_t x_5; -x_3 = lean_ctor_get(x_2, 0); -x_4 = lean_unsigned_to_nat(0u); -x_5 = l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_DependsOn_dep___main___spec__3(x_1, x_3, x_4); -return x_5; -} -else -{ -lean_object* x_6; lean_object* x_7; uint8_t x_8; -x_6 = lean_ctor_get(x_2, 0); -x_7 = lean_unsigned_to_nat(0u); -x_8 = l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_DependsOn_dep___main___spec__4(x_1, x_6, x_7); -return x_8; -} -} -} -uint8_t l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_DependsOn_dep___main___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; uint8_t x_5; -x_4 = lean_array_get_size(x_2); -x_5 = lean_nat_dec_lt(x_3, x_4); -lean_dec(x_4); -if (x_5 == 0) -{ -uint8_t x_6; -lean_dec(x_3); -lean_dec(x_1); -x_6 = 0; -return x_6; -} -else -{ -lean_object* x_7; -x_7 = lean_array_fget(x_2, x_3); -if (lean_obj_tag(x_7) == 0) -{ -lean_object* x_8; lean_object* x_9; -x_8 = lean_unsigned_to_nat(1u); -x_9 = lean_nat_add(x_3, x_8); -lean_dec(x_3); -x_3 = x_9; -goto _start; -} -else -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_11 = lean_ctor_get(x_7, 0); -lean_inc(x_11); -lean_dec(x_7); -x_12 = l_Lean_LocalDecl_name(x_11); -lean_dec(x_11); -lean_inc(x_1); -x_13 = lean_apply_1(x_1, x_12); -x_14 = lean_unbox(x_13); -lean_dec(x_13); -if (x_14 == 0) -{ -lean_object* x_15; lean_object* x_16; -x_15 = lean_unsigned_to_nat(1u); -x_16 = lean_nat_add(x_3, x_15); -lean_dec(x_3); -x_3 = x_16; -goto _start; -} -else -{ -lean_dec(x_3); -lean_dec(x_1); -return x_14; -} -} -} -} -} -uint8_t l_PersistentArray_anyM___at_Lean_AbstractMetavarContext_DependsOn_dep___main___spec__1(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; uint8_t x_4; -x_3 = lean_ctor_get(x_2, 0); -lean_inc(x_1); -x_4 = l_PersistentArray_anyMAux___main___at_Lean_AbstractMetavarContext_DependsOn_dep___main___spec__2(x_1, x_3); -if (x_4 == 0) -{ -lean_object* x_5; lean_object* x_6; uint8_t x_7; -x_5 = lean_ctor_get(x_2, 1); -x_6 = lean_unsigned_to_nat(0u); -x_7 = l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_DependsOn_dep___main___spec__5(x_1, x_5, x_6); -return x_7; -} -else -{ -lean_dec(x_1); -return x_4; -} -} -} -lean_object* l_Lean_AbstractMetavarContext_DependsOn_dep___main___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -switch (lean_obj_tag(x_4)) { -case 1: -{ -lean_object* x_6; lean_object* x_7; uint8_t x_8; lean_object* x_9; lean_object* x_10; -lean_dec(x_2); -lean_dec(x_1); -x_6 = lean_ctor_get(x_4, 0); -lean_inc(x_6); -lean_dec(x_4); -x_7 = lean_apply_1(x_3, x_6); -x_8 = lean_unbox(x_7); -lean_dec(x_7); -x_9 = lean_box(x_8); -x_10 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_10, 0, x_9); -lean_ctor_set(x_10, 1, x_5); -return x_10; -} -case 2: -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_11 = lean_ctor_get(x_4, 0); -lean_inc(x_11); -lean_dec(x_4); -x_12 = lean_ctor_get(x_1, 5); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_2); -x_13 = lean_apply_2(x_12, x_2, x_11); -if (lean_obj_tag(x_13) == 0) -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; lean_object* x_19; lean_object* x_20; -x_14 = lean_ctor_get(x_1, 7); -lean_inc(x_14); -lean_dec(x_1); -x_15 = lean_apply_2(x_14, x_2, x_11); -x_16 = lean_ctor_get(x_15, 1); -lean_inc(x_16); -lean_dec(x_15); -x_17 = lean_ctor_get(x_16, 1); -lean_inc(x_17); -lean_dec(x_16); -x_18 = l_PersistentArray_anyM___at_Lean_AbstractMetavarContext_DependsOn_dep___main___spec__1(x_3, x_17); -lean_dec(x_17); -x_19 = lean_box(x_18); -x_20 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_20, 0, x_19); -lean_ctor_set(x_20, 1, x_5); -return x_20; -} -else -{ -lean_object* x_21; lean_object* x_22; uint8_t x_31; -lean_dec(x_11); -x_21 = lean_ctor_get(x_13, 0); -lean_inc(x_21); -lean_dec(x_13); -x_31 = lean_expr_has_expr_mvar(x_21); -if (x_31 == 0) -{ -uint8_t x_32; -x_32 = lean_expr_has_level_mvar(x_21); -if (x_32 == 0) -{ -uint8_t x_33; -x_33 = lean_expr_has_fvar(x_21); -if (x_33 == 0) -{ -uint8_t x_34; lean_object* x_35; lean_object* x_36; -lean_dec(x_21); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_34 = 0; -x_35 = lean_box(x_34); -x_36 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_5); -return x_36; -} -else -{ -lean_object* x_37; -x_37 = lean_box(0); -x_22 = x_37; -goto block_30; -} -} -else -{ -lean_object* x_38; -x_38 = lean_box(0); -x_22 = x_38; -goto block_30; -} -} -else -{ -lean_object* x_39; -x_39 = lean_box(0); -x_22 = x_39; -goto block_30; -} -block_30: -{ -uint8_t x_23; -lean_dec(x_22); -x_23 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_5, x_21); -if (x_23 == 0) -{ -lean_object* x_24; lean_object* x_25; -x_24 = lean_box(0); -lean_inc(x_21); -x_25 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_5, x_21, x_24); -x_4 = x_21; -x_5 = x_25; -goto _start; -} -else -{ -uint8_t x_27; lean_object* x_28; lean_object* x_29; -lean_dec(x_21); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_27 = 0; -x_28 = lean_box(x_27); -x_29 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_29, 0, x_28); -lean_ctor_set(x_29, 1, x_5); -return x_29; -} -} -} -} -case 5: -{ -lean_object* x_40; lean_object* x_41; uint8_t x_42; lean_object* x_43; lean_object* x_67; uint8_t x_77; -x_40 = lean_ctor_get(x_4, 0); -lean_inc(x_40); -x_41 = lean_ctor_get(x_4, 1); -lean_inc(x_41); -lean_dec(x_4); -x_77 = lean_expr_has_expr_mvar(x_41); -if (x_77 == 0) -{ -uint8_t x_78; -x_78 = lean_expr_has_level_mvar(x_41); -if (x_78 == 0) -{ -uint8_t x_79; -x_79 = lean_expr_has_fvar(x_41); -if (x_79 == 0) -{ -uint8_t x_80; -lean_dec(x_41); -x_80 = 0; -x_42 = x_80; -x_43 = x_5; -goto block_66; -} -else -{ -lean_object* x_81; -x_81 = lean_box(0); -x_67 = x_81; -goto block_76; -} -} -else -{ -lean_object* x_82; -x_82 = lean_box(0); -x_67 = x_82; -goto block_76; -} -} -else -{ -lean_object* x_83; -x_83 = lean_box(0); -x_67 = x_83; -goto block_76; -} -block_66: -{ -if (x_42 == 0) -{ -uint8_t x_44; -x_44 = l_Lean_Expr_isApp(x_40); -if (x_44 == 0) -{ -lean_object* x_45; uint8_t x_54; -x_54 = lean_expr_has_expr_mvar(x_40); -if (x_54 == 0) -{ -uint8_t x_55; -x_55 = lean_expr_has_level_mvar(x_40); -if (x_55 == 0) -{ -uint8_t x_56; -x_56 = lean_expr_has_fvar(x_40); -if (x_56 == 0) -{ -uint8_t x_57; lean_object* x_58; lean_object* x_59; -lean_dec(x_40); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_57 = 0; -x_58 = lean_box(x_57); -x_59 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_59, 0, x_58); -lean_ctor_set(x_59, 1, x_43); -return x_59; -} -else -{ -lean_object* x_60; -x_60 = lean_box(0); -x_45 = x_60; -goto block_53; -} -} -else -{ -lean_object* x_61; -x_61 = lean_box(0); -x_45 = x_61; -goto block_53; -} -} -else -{ -lean_object* x_62; -x_62 = lean_box(0); -x_45 = x_62; -goto block_53; -} -block_53: -{ -uint8_t x_46; -lean_dec(x_45); -x_46 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_43, x_40); -if (x_46 == 0) -{ -lean_object* x_47; lean_object* x_48; -x_47 = lean_box(0); -lean_inc(x_40); -x_48 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_43, x_40, x_47); -x_4 = x_40; -x_5 = x_48; -goto _start; -} -else -{ -uint8_t x_50; lean_object* x_51; lean_object* x_52; -lean_dec(x_40); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_50 = 0; -x_51 = lean_box(x_50); -x_52 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_52, 0, x_51); -lean_ctor_set(x_52, 1, x_43); -return x_52; -} -} -} -else -{ -x_4 = x_40; -x_5 = x_43; -goto _start; -} -} -else -{ -lean_object* x_64; lean_object* x_65; -lean_dec(x_40); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_64 = lean_box(x_42); -x_65 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_65, 0, x_64); -lean_ctor_set(x_65, 1, x_43); -return x_65; -} -} -block_76: -{ -uint8_t x_68; -lean_dec(x_67); -x_68 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_5, x_41); -if (x_68 == 0) -{ -lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; uint8_t x_74; -x_69 = lean_box(0); -lean_inc(x_41); -x_70 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_5, x_41, x_69); -lean_inc(x_3); -lean_inc(x_2); -lean_inc(x_1); -x_71 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___rarg(x_1, x_2, x_3, x_41, x_70); -x_72 = lean_ctor_get(x_71, 0); -lean_inc(x_72); -x_73 = lean_ctor_get(x_71, 1); -lean_inc(x_73); -lean_dec(x_71); -x_74 = lean_unbox(x_72); -lean_dec(x_72); -x_42 = x_74; -x_43 = x_73; -goto block_66; -} -else -{ -uint8_t x_75; -lean_dec(x_41); -x_75 = 0; -x_42 = x_75; -x_43 = x_5; -goto block_66; -} -} -} -case 6: -{ -lean_object* x_84; lean_object* x_85; uint8_t x_86; lean_object* x_87; lean_object* x_109; uint8_t x_119; -x_84 = lean_ctor_get(x_4, 1); -lean_inc(x_84); -x_85 = lean_ctor_get(x_4, 2); -lean_inc(x_85); -lean_dec(x_4); -x_119 = lean_expr_has_expr_mvar(x_84); -if (x_119 == 0) -{ -uint8_t x_120; -x_120 = lean_expr_has_level_mvar(x_84); -if (x_120 == 0) -{ -uint8_t x_121; -x_121 = lean_expr_has_fvar(x_84); -if (x_121 == 0) -{ -uint8_t x_122; -lean_dec(x_84); -x_122 = 0; -x_86 = x_122; -x_87 = x_5; -goto block_108; -} -else -{ -lean_object* x_123; -x_123 = lean_box(0); -x_109 = x_123; -goto block_118; -} -} -else -{ -lean_object* x_124; -x_124 = lean_box(0); -x_109 = x_124; -goto block_118; -} -} -else -{ -lean_object* x_125; -x_125 = lean_box(0); -x_109 = x_125; -goto block_118; -} -block_108: -{ -if (x_86 == 0) -{ -lean_object* x_88; uint8_t x_97; -x_97 = lean_expr_has_expr_mvar(x_85); -if (x_97 == 0) -{ -uint8_t x_98; -x_98 = lean_expr_has_level_mvar(x_85); -if (x_98 == 0) -{ -uint8_t x_99; -x_99 = lean_expr_has_fvar(x_85); -if (x_99 == 0) -{ -uint8_t x_100; lean_object* x_101; lean_object* x_102; -lean_dec(x_85); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_100 = 0; -x_101 = lean_box(x_100); -x_102 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_102, 0, x_101); -lean_ctor_set(x_102, 1, x_87); -return x_102; -} -else -{ -lean_object* x_103; -x_103 = lean_box(0); -x_88 = x_103; -goto block_96; -} -} -else -{ -lean_object* x_104; -x_104 = lean_box(0); -x_88 = x_104; -goto block_96; -} -} -else -{ -lean_object* x_105; -x_105 = lean_box(0); -x_88 = x_105; -goto block_96; -} -block_96: -{ -uint8_t x_89; -lean_dec(x_88); -x_89 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_87, x_85); -if (x_89 == 0) -{ -lean_object* x_90; lean_object* x_91; -x_90 = lean_box(0); -lean_inc(x_85); -x_91 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_87, x_85, x_90); -x_4 = x_85; -x_5 = x_91; -goto _start; -} -else -{ -uint8_t x_93; lean_object* x_94; lean_object* x_95; -lean_dec(x_85); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_93 = 0; -x_94 = lean_box(x_93); -x_95 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_95, 0, x_94); -lean_ctor_set(x_95, 1, x_87); -return x_95; -} -} -} -else -{ -lean_object* x_106; lean_object* x_107; -lean_dec(x_85); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_106 = lean_box(x_86); -x_107 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_107, 0, x_106); -lean_ctor_set(x_107, 1, x_87); -return x_107; -} -} -block_118: -{ -uint8_t x_110; -lean_dec(x_109); -x_110 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_5, x_84); -if (x_110 == 0) -{ -lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; uint8_t x_116; -x_111 = lean_box(0); -lean_inc(x_84); -x_112 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_5, x_84, x_111); -lean_inc(x_3); -lean_inc(x_2); -lean_inc(x_1); -x_113 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___rarg(x_1, x_2, x_3, x_84, x_112); -x_114 = lean_ctor_get(x_113, 0); -lean_inc(x_114); -x_115 = lean_ctor_get(x_113, 1); -lean_inc(x_115); -lean_dec(x_113); -x_116 = lean_unbox(x_114); -lean_dec(x_114); -x_86 = x_116; -x_87 = x_115; -goto block_108; -} -else -{ -uint8_t x_117; -lean_dec(x_84); -x_117 = 0; -x_86 = x_117; -x_87 = x_5; -goto block_108; -} -} -} -case 7: -{ -lean_object* x_126; lean_object* x_127; uint8_t x_128; lean_object* x_129; lean_object* x_151; uint8_t x_161; -x_126 = lean_ctor_get(x_4, 1); -lean_inc(x_126); -x_127 = lean_ctor_get(x_4, 2); -lean_inc(x_127); -lean_dec(x_4); -x_161 = lean_expr_has_expr_mvar(x_126); -if (x_161 == 0) -{ -uint8_t x_162; -x_162 = lean_expr_has_level_mvar(x_126); -if (x_162 == 0) -{ -uint8_t x_163; -x_163 = lean_expr_has_fvar(x_126); -if (x_163 == 0) -{ -uint8_t x_164; -lean_dec(x_126); -x_164 = 0; -x_128 = x_164; -x_129 = x_5; -goto block_150; -} -else -{ -lean_object* x_165; -x_165 = lean_box(0); -x_151 = x_165; -goto block_160; -} -} -else -{ -lean_object* x_166; -x_166 = lean_box(0); -x_151 = x_166; -goto block_160; -} -} -else -{ -lean_object* x_167; -x_167 = lean_box(0); -x_151 = x_167; -goto block_160; -} -block_150: -{ -if (x_128 == 0) -{ -lean_object* x_130; uint8_t x_139; -x_139 = lean_expr_has_expr_mvar(x_127); -if (x_139 == 0) -{ -uint8_t x_140; -x_140 = lean_expr_has_level_mvar(x_127); -if (x_140 == 0) -{ -uint8_t x_141; -x_141 = lean_expr_has_fvar(x_127); -if (x_141 == 0) -{ -uint8_t x_142; lean_object* x_143; lean_object* x_144; -lean_dec(x_127); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_142 = 0; -x_143 = lean_box(x_142); -x_144 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_144, 0, x_143); -lean_ctor_set(x_144, 1, x_129); -return x_144; -} -else -{ -lean_object* x_145; -x_145 = lean_box(0); -x_130 = x_145; -goto block_138; -} -} -else -{ -lean_object* x_146; -x_146 = lean_box(0); -x_130 = x_146; -goto block_138; -} -} -else -{ -lean_object* x_147; -x_147 = lean_box(0); -x_130 = x_147; -goto block_138; -} -block_138: -{ -uint8_t x_131; -lean_dec(x_130); -x_131 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_129, x_127); -if (x_131 == 0) -{ -lean_object* x_132; lean_object* x_133; -x_132 = lean_box(0); -lean_inc(x_127); -x_133 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_129, x_127, x_132); -x_4 = x_127; -x_5 = x_133; -goto _start; -} -else -{ -uint8_t x_135; lean_object* x_136; lean_object* x_137; -lean_dec(x_127); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_135 = 0; -x_136 = lean_box(x_135); -x_137 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_137, 0, x_136); -lean_ctor_set(x_137, 1, x_129); -return x_137; -} -} -} -else -{ -lean_object* x_148; lean_object* x_149; -lean_dec(x_127); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_148 = lean_box(x_128); -x_149 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_149, 0, x_148); -lean_ctor_set(x_149, 1, x_129); -return x_149; -} -} -block_160: -{ -uint8_t x_152; -lean_dec(x_151); -x_152 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_5, x_126); -if (x_152 == 0) -{ -lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; uint8_t x_158; -x_153 = lean_box(0); -lean_inc(x_126); -x_154 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_5, x_126, x_153); -lean_inc(x_3); -lean_inc(x_2); -lean_inc(x_1); -x_155 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___rarg(x_1, x_2, x_3, x_126, x_154); -x_156 = lean_ctor_get(x_155, 0); -lean_inc(x_156); -x_157 = lean_ctor_get(x_155, 1); -lean_inc(x_157); -lean_dec(x_155); -x_158 = lean_unbox(x_156); -lean_dec(x_156); -x_128 = x_158; -x_129 = x_157; -goto block_150; -} -else -{ -uint8_t x_159; -lean_dec(x_126); -x_159 = 0; -x_128 = x_159; -x_129 = x_5; -goto block_150; -} -} -} -case 8: -{ -lean_object* x_168; lean_object* x_169; lean_object* x_170; uint8_t x_171; lean_object* x_172; uint8_t x_194; lean_object* x_195; lean_object* x_214; uint8_t x_224; -x_168 = lean_ctor_get(x_4, 1); -lean_inc(x_168); -x_169 = lean_ctor_get(x_4, 2); -lean_inc(x_169); -x_170 = lean_ctor_get(x_4, 3); -lean_inc(x_170); -lean_dec(x_4); -x_224 = lean_expr_has_expr_mvar(x_168); -if (x_224 == 0) -{ -uint8_t x_225; -x_225 = lean_expr_has_level_mvar(x_168); -if (x_225 == 0) -{ -uint8_t x_226; -x_226 = lean_expr_has_fvar(x_168); -if (x_226 == 0) -{ -uint8_t x_227; -lean_dec(x_168); -x_227 = 0; -x_194 = x_227; -x_195 = x_5; -goto block_213; -} -else -{ -lean_object* x_228; -x_228 = lean_box(0); -x_214 = x_228; -goto block_223; -} -} -else -{ -lean_object* x_229; -x_229 = lean_box(0); -x_214 = x_229; -goto block_223; -} -} -else -{ -lean_object* x_230; -x_230 = lean_box(0); -x_214 = x_230; -goto block_223; -} -block_193: -{ -if (x_171 == 0) -{ -lean_object* x_173; uint8_t x_182; -x_182 = lean_expr_has_expr_mvar(x_170); -if (x_182 == 0) -{ -uint8_t x_183; -x_183 = lean_expr_has_level_mvar(x_170); -if (x_183 == 0) -{ -uint8_t x_184; -x_184 = lean_expr_has_fvar(x_170); -if (x_184 == 0) -{ -uint8_t x_185; lean_object* x_186; lean_object* x_187; -lean_dec(x_170); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_185 = 0; -x_186 = lean_box(x_185); -x_187 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_187, 0, x_186); -lean_ctor_set(x_187, 1, x_172); -return x_187; -} -else -{ -lean_object* x_188; -x_188 = lean_box(0); -x_173 = x_188; -goto block_181; -} -} -else -{ -lean_object* x_189; -x_189 = lean_box(0); -x_173 = x_189; -goto block_181; -} -} -else -{ -lean_object* x_190; -x_190 = lean_box(0); -x_173 = x_190; -goto block_181; -} -block_181: -{ -uint8_t x_174; -lean_dec(x_173); -x_174 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_172, x_170); -if (x_174 == 0) -{ -lean_object* x_175; lean_object* x_176; -x_175 = lean_box(0); -lean_inc(x_170); -x_176 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_172, x_170, x_175); -x_4 = x_170; -x_5 = x_176; -goto _start; -} -else -{ -uint8_t x_178; lean_object* x_179; lean_object* x_180; -lean_dec(x_170); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_178 = 0; -x_179 = lean_box(x_178); -x_180 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_180, 0, x_179); -lean_ctor_set(x_180, 1, x_172); -return x_180; -} -} -} -else -{ -lean_object* x_191; lean_object* x_192; -lean_dec(x_170); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_191 = lean_box(x_171); -x_192 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_192, 0, x_191); -lean_ctor_set(x_192, 1, x_172); -return x_192; -} -} -block_213: -{ -lean_object* x_196; -if (x_194 == 0) -{ -uint8_t x_206; -x_206 = lean_expr_has_expr_mvar(x_169); -if (x_206 == 0) -{ -uint8_t x_207; -x_207 = lean_expr_has_level_mvar(x_169); -if (x_207 == 0) -{ -uint8_t x_208; -x_208 = lean_expr_has_fvar(x_169); -if (x_208 == 0) -{ -uint8_t x_209; -lean_dec(x_169); -x_209 = 0; -x_171 = x_209; -x_172 = x_195; -goto block_193; -} -else -{ -lean_object* x_210; -x_210 = lean_box(0); -x_196 = x_210; -goto block_205; -} -} -else -{ -lean_object* x_211; -x_211 = lean_box(0); -x_196 = x_211; -goto block_205; -} -} -else -{ -lean_object* x_212; -x_212 = lean_box(0); -x_196 = x_212; -goto block_205; -} -} -else -{ -lean_dec(x_169); -x_171 = x_194; -x_172 = x_195; -goto block_193; -} -block_205: -{ -uint8_t x_197; -lean_dec(x_196); -x_197 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_195, x_169); -if (x_197 == 0) -{ -lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; uint8_t x_203; -x_198 = lean_box(0); -lean_inc(x_169); -x_199 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_195, x_169, x_198); -lean_inc(x_3); -lean_inc(x_2); -lean_inc(x_1); -x_200 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___rarg(x_1, x_2, x_3, x_169, x_199); -x_201 = lean_ctor_get(x_200, 0); -lean_inc(x_201); -x_202 = lean_ctor_get(x_200, 1); -lean_inc(x_202); -lean_dec(x_200); -x_203 = lean_unbox(x_201); -lean_dec(x_201); -x_171 = x_203; -x_172 = x_202; -goto block_193; -} -else -{ -uint8_t x_204; -lean_dec(x_169); -x_204 = 0; -x_171 = x_204; -x_172 = x_195; -goto block_193; -} -} -} -block_223: -{ -uint8_t x_215; -lean_dec(x_214); -x_215 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_5, x_168); -if (x_215 == 0) -{ -lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; uint8_t x_221; -x_216 = lean_box(0); -lean_inc(x_168); -x_217 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_5, x_168, x_216); -lean_inc(x_3); -lean_inc(x_2); -lean_inc(x_1); -x_218 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___rarg(x_1, x_2, x_3, x_168, x_217); -x_219 = lean_ctor_get(x_218, 0); -lean_inc(x_219); -x_220 = lean_ctor_get(x_218, 1); -lean_inc(x_220); -lean_dec(x_218); -x_221 = lean_unbox(x_219); -lean_dec(x_219); -x_194 = x_221; -x_195 = x_220; -goto block_213; -} -else -{ -uint8_t x_222; -lean_dec(x_168); -x_222 = 0; -x_194 = x_222; -x_195 = x_5; -goto block_213; -} -} -} -case 10: -{ -lean_object* x_231; lean_object* x_232; uint8_t x_241; -x_231 = lean_ctor_get(x_4, 1); -lean_inc(x_231); -lean_dec(x_4); -x_241 = lean_expr_has_expr_mvar(x_231); -if (x_241 == 0) -{ -uint8_t x_242; -x_242 = lean_expr_has_level_mvar(x_231); -if (x_242 == 0) -{ -uint8_t x_243; -x_243 = lean_expr_has_fvar(x_231); -if (x_243 == 0) -{ -uint8_t x_244; lean_object* x_245; lean_object* x_246; -lean_dec(x_231); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_244 = 0; -x_245 = lean_box(x_244); -x_246 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_246, 0, x_245); -lean_ctor_set(x_246, 1, x_5); -return x_246; -} -else -{ -lean_object* x_247; -x_247 = lean_box(0); -x_232 = x_247; -goto block_240; -} -} -else -{ -lean_object* x_248; -x_248 = lean_box(0); -x_232 = x_248; -goto block_240; -} -} -else -{ -lean_object* x_249; -x_249 = lean_box(0); -x_232 = x_249; -goto block_240; -} -block_240: -{ -uint8_t x_233; -lean_dec(x_232); -x_233 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_5, x_231); -if (x_233 == 0) -{ -lean_object* x_234; lean_object* x_235; -x_234 = lean_box(0); -lean_inc(x_231); -x_235 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_5, x_231, x_234); -x_4 = x_231; -x_5 = x_235; -goto _start; -} -else -{ -uint8_t x_237; lean_object* x_238; lean_object* x_239; -lean_dec(x_231); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_237 = 0; -x_238 = lean_box(x_237); -x_239 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_239, 0, x_238); -lean_ctor_set(x_239, 1, x_5); -return x_239; -} -} -} -case 11: -{ -lean_object* x_250; lean_object* x_251; uint8_t x_260; -x_250 = lean_ctor_get(x_4, 2); -lean_inc(x_250); -lean_dec(x_4); -x_260 = lean_expr_has_expr_mvar(x_250); -if (x_260 == 0) -{ -uint8_t x_261; -x_261 = lean_expr_has_level_mvar(x_250); -if (x_261 == 0) -{ -uint8_t x_262; -x_262 = lean_expr_has_fvar(x_250); -if (x_262 == 0) -{ -uint8_t x_263; lean_object* x_264; lean_object* x_265; -lean_dec(x_250); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_263 = 0; -x_264 = lean_box(x_263); -x_265 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_265, 0, x_264); -lean_ctor_set(x_265, 1, x_5); -return x_265; -} -else -{ -lean_object* x_266; -x_266 = lean_box(0); -x_251 = x_266; -goto block_259; -} -} -else -{ -lean_object* x_267; -x_267 = lean_box(0); -x_251 = x_267; -goto block_259; -} -} -else -{ -lean_object* x_268; -x_268 = lean_box(0); -x_251 = x_268; -goto block_259; -} -block_259: -{ -uint8_t x_252; -lean_dec(x_251); -x_252 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_5, x_250); -if (x_252 == 0) -{ -lean_object* x_253; lean_object* x_254; -x_253 = lean_box(0); -lean_inc(x_250); -x_254 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_5, x_250, x_253); -x_4 = x_250; -x_5 = x_254; -goto _start; -} -else -{ -uint8_t x_256; lean_object* x_257; lean_object* x_258; -lean_dec(x_250); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_256 = 0; -x_257 = lean_box(x_256); -x_258 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_258, 0, x_257); -lean_ctor_set(x_258, 1, x_5); -return x_258; -} -} -} -default: -{ -uint8_t x_269; lean_object* x_270; lean_object* x_271; -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_269 = 0; -x_270 = lean_box(x_269); -x_271 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_271, 0, x_270); -lean_ctor_set(x_271, 1, x_5); -return x_271; -} -} -} -} -lean_object* l_Lean_AbstractMetavarContext_DependsOn_dep___main(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_AbstractMetavarContext_DependsOn_dep___main___rarg), 5, 0); -return x_2; -} -} -lean_object* l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_DependsOn_dep___main___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -uint8_t x_4; lean_object* x_5; -x_4 = l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_DependsOn_dep___main___spec__3(x_1, x_2, x_3); -lean_dec(x_2); -x_5 = lean_box(x_4); -return x_5; -} -} -lean_object* l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_DependsOn_dep___main___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -uint8_t x_4; lean_object* x_5; -x_4 = l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_DependsOn_dep___main___spec__4(x_1, x_2, x_3); -lean_dec(x_2); -x_5 = lean_box(x_4); -return x_5; -} -} -lean_object* l_PersistentArray_anyMAux___main___at_Lean_AbstractMetavarContext_DependsOn_dep___main___spec__2___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; lean_object* x_4; -x_3 = l_PersistentArray_anyMAux___main___at_Lean_AbstractMetavarContext_DependsOn_dep___main___spec__2(x_1, x_2); -lean_dec(x_2); -x_4 = lean_box(x_3); -return x_4; -} -} -lean_object* l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_DependsOn_dep___main___spec__5___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_AbstractMetavarContext_DependsOn_dep___main___spec__5(x_1, x_2, x_3); -lean_dec(x_2); -x_5 = lean_box(x_4); -return x_5; -} -} -lean_object* l_PersistentArray_anyM___at_Lean_AbstractMetavarContext_DependsOn_dep___main___spec__1___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; lean_object* x_4; -x_3 = l_PersistentArray_anyM___at_Lean_AbstractMetavarContext_DependsOn_dep___main___spec__1(x_1, x_2); -lean_dec(x_2); -x_4 = lean_box(x_3); -return x_4; -} -} -lean_object* l_Lean_AbstractMetavarContext_DependsOn_dep___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; -x_6 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___rarg(x_1, x_2, x_3, x_4, x_5); -return x_6; -} -} -lean_object* l_Lean_AbstractMetavarContext_DependsOn_dep(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_AbstractMetavarContext_DependsOn_dep___rarg), 5, 0); -return x_2; -} -} -lean_object* l_Lean_AbstractMetavarContext_DependsOn_main___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -uint8_t x_6; -x_6 = lean_expr_has_fvar(x_4); -if (x_6 == 0) -{ -uint8_t x_7; -x_7 = lean_expr_has_expr_mvar(x_4); -if (x_7 == 0) -{ -uint8_t x_8; -x_8 = lean_expr_has_level_mvar(x_4); -if (x_8 == 0) -{ -uint8_t x_9; lean_object* x_10; lean_object* x_11; -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_9 = 0; -x_10 = lean_box(x_9); -x_11 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_11, 0, x_10); -lean_ctor_set(x_11, 1, x_5); -return x_11; -} -else -{ -lean_object* x_12; -x_12 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___rarg(x_1, x_2, x_3, x_4, x_5); -return x_12; -} -} -else -{ -lean_object* x_13; -x_13 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___rarg(x_1, x_2, x_3, x_4, x_5); -return x_13; -} -} -else -{ -lean_object* x_14; -x_14 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___rarg(x_1, x_2, x_3, x_4, x_5); -return x_14; -} -} -} -lean_object* l_Lean_AbstractMetavarContext_DependsOn_main(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_AbstractMetavarContext_DependsOn_main___rarg), 5, 0); -return x_2; -} -} -lean_object* l_mkHashMap___at_Lean_AbstractMetavarContext_exprDependsOn___spec__2(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = l_mkHashMapImp___rarg(x_1); -return x_2; -} -} -lean_object* l_mkHashSet___at_Lean_AbstractMetavarContext_exprDependsOn___spec__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = l_mkHashMapImp___rarg(x_1); -return x_2; -} -} -lean_object* _init_l_Lean_AbstractMetavarContext_exprDependsOn___rarg___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* l_Lean_AbstractMetavarContext_exprDependsOn___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -uint8_t x_5; -x_5 = lean_expr_has_fvar(x_4); -if (x_5 == 0) -{ -uint8_t x_6; -x_6 = lean_expr_has_expr_mvar(x_4); -if (x_6 == 0) -{ -uint8_t x_7; -x_7 = lean_expr_has_level_mvar(x_4); -if (x_7 == 0) -{ -uint8_t x_8; lean_object* x_9; -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_8 = 0; -x_9 = lean_box(x_8); -return x_9; -} -else -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_10 = l_Lean_AbstractMetavarContext_exprDependsOn___rarg___closed__1; -x_11 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___rarg(x_1, x_2, x_3, x_4, x_10); -x_12 = lean_ctor_get(x_11, 0); -lean_inc(x_12); -lean_dec(x_11); -return x_12; -} -} -else -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_13 = l_Lean_AbstractMetavarContext_exprDependsOn___rarg___closed__1; -x_14 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___rarg(x_1, x_2, x_3, x_4, x_13); -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -lean_dec(x_14); -return x_15; -} -} -else -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_16 = l_Lean_AbstractMetavarContext_exprDependsOn___rarg___closed__1; -x_17 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___rarg(x_1, x_2, x_3, x_4, x_16); -x_18 = lean_ctor_get(x_17, 0); -lean_inc(x_18); -lean_dec(x_17); -return x_18; -} -} -} -lean_object* l_Lean_AbstractMetavarContext_exprDependsOn(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_AbstractMetavarContext_exprDependsOn___rarg), 4, 0); -return x_2; -} -} -lean_object* l_Lean_AbstractMetavarContext_localDeclDependsOn___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; uint8_t x_6; -x_5 = lean_ctor_get(x_4, 3); -lean_inc(x_5); -lean_dec(x_4); -x_6 = lean_expr_has_fvar(x_5); -if (x_6 == 0) -{ -uint8_t x_7; -x_7 = lean_expr_has_expr_mvar(x_5); -if (x_7 == 0) -{ -uint8_t x_8; -x_8 = lean_expr_has_level_mvar(x_5); -if (x_8 == 0) -{ -uint8_t x_9; lean_object* x_10; -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_9 = 0; -x_10 = lean_box(x_9); -return x_10; -} -else -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_11 = l_HashMap_Inhabited___closed__1; -x_12 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___rarg(x_1, x_2, x_3, x_5, x_11); -x_13 = lean_ctor_get(x_12, 0); -lean_inc(x_13); -lean_dec(x_12); -return x_13; -} -} -else -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_14 = l_HashMap_Inhabited___closed__1; -x_15 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___rarg(x_1, x_2, x_3, x_5, x_14); -x_16 = lean_ctor_get(x_15, 0); -lean_inc(x_16); -lean_dec(x_15); -return x_16; -} -} -else -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_17 = l_HashMap_Inhabited___closed__1; -x_18 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___rarg(x_1, x_2, x_3, x_5, x_17); -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -lean_dec(x_18); -return x_19; -} -} -else -{ -lean_object* x_20; lean_object* x_21; uint8_t x_22; lean_object* x_23; uint8_t x_37; -x_20 = lean_ctor_get(x_4, 3); -lean_inc(x_20); -x_21 = lean_ctor_get(x_4, 4); -lean_inc(x_21); -lean_dec(x_4); -x_37 = lean_expr_has_fvar(x_20); -if (x_37 == 0) -{ -uint8_t x_38; -x_38 = lean_expr_has_expr_mvar(x_20); -if (x_38 == 0) -{ -uint8_t x_39; -x_39 = lean_expr_has_level_mvar(x_20); -if (x_39 == 0) -{ -uint8_t x_40; lean_object* x_41; -lean_dec(x_20); -x_40 = 0; -x_41 = l_HashMap_Inhabited___closed__1; -x_22 = x_40; -x_23 = x_41; -goto block_36; -} -else -{ -lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; -x_42 = l_HashMap_Inhabited___closed__1; -lean_inc(x_3); -lean_inc(x_2); -lean_inc(x_1); -x_43 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___rarg(x_1, x_2, x_3, x_20, x_42); -x_44 = lean_ctor_get(x_43, 0); -lean_inc(x_44); -x_45 = lean_ctor_get(x_43, 1); -lean_inc(x_45); -lean_dec(x_43); -x_46 = lean_unbox(x_44); -lean_dec(x_44); -x_22 = x_46; -x_23 = x_45; -goto block_36; -} -} -else -{ -lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; uint8_t x_51; -x_47 = l_HashMap_Inhabited___closed__1; -lean_inc(x_3); -lean_inc(x_2); -lean_inc(x_1); -x_48 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___rarg(x_1, x_2, x_3, x_20, x_47); -x_49 = lean_ctor_get(x_48, 0); -lean_inc(x_49); -x_50 = lean_ctor_get(x_48, 1); -lean_inc(x_50); -lean_dec(x_48); -x_51 = lean_unbox(x_49); -lean_dec(x_49); -x_22 = x_51; -x_23 = x_50; -goto block_36; -} -} -else -{ -lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; uint8_t x_56; -x_52 = l_HashMap_Inhabited___closed__1; -lean_inc(x_3); -lean_inc(x_2); -lean_inc(x_1); -x_53 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___rarg(x_1, x_2, x_3, x_20, x_52); -x_54 = lean_ctor_get(x_53, 0); -lean_inc(x_54); -x_55 = lean_ctor_get(x_53, 1); -lean_inc(x_55); -lean_dec(x_53); -x_56 = lean_unbox(x_54); -lean_dec(x_54); -x_22 = x_56; -x_23 = x_55; -goto block_36; -} -block_36: -{ -if (x_22 == 0) -{ -uint8_t x_24; -x_24 = lean_expr_has_fvar(x_21); -if (x_24 == 0) -{ -uint8_t x_25; -x_25 = lean_expr_has_expr_mvar(x_21); -if (x_25 == 0) -{ -uint8_t x_26; -x_26 = lean_expr_has_level_mvar(x_21); -if (x_26 == 0) -{ -uint8_t x_27; lean_object* x_28; -lean_dec(x_23); -lean_dec(x_21); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_27 = 0; -x_28 = lean_box(x_27); -return x_28; -} -else -{ -lean_object* x_29; lean_object* x_30; -x_29 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___rarg(x_1, x_2, x_3, x_21, x_23); -x_30 = lean_ctor_get(x_29, 0); -lean_inc(x_30); -lean_dec(x_29); -return x_30; -} -} -else -{ -lean_object* x_31; lean_object* x_32; -x_31 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___rarg(x_1, x_2, x_3, x_21, x_23); -x_32 = lean_ctor_get(x_31, 0); -lean_inc(x_32); -lean_dec(x_31); -return x_32; -} -} -else -{ -lean_object* x_33; lean_object* x_34; -x_33 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___rarg(x_1, x_2, x_3, x_21, x_23); -x_34 = lean_ctor_get(x_33, 0); -lean_inc(x_34); -lean_dec(x_33); -return x_34; -} -} -else -{ -lean_object* x_35; -lean_dec(x_23); -lean_dec(x_21); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_35 = lean_box(x_22); -return x_35; -} -} -} -} -} -lean_object* l_Lean_AbstractMetavarContext_localDeclDependsOn(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_AbstractMetavarContext_localDeclDependsOn___rarg), 4, 0); -return x_2; -} -} -lean_object* l_panicWithPos___at_Lean_AbstractMetavarContext_MkBindingException_toStr___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_5 = l_panicWithPos___rarg___closed__1; -x_6 = lean_string_append(x_5, x_1); -x_7 = l_panicWithPos___rarg___closed__2; -x_8 = lean_string_append(x_6, x_7); -x_9 = l_Nat_repr(x_2); -x_10 = lean_string_append(x_8, x_9); -lean_dec(x_9); -x_11 = l_panicWithPos___rarg___closed__2; -x_12 = lean_string_append(x_10, x_11); -x_13 = l_Nat_repr(x_3); -x_14 = lean_string_append(x_12, x_13); -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_LocalDecl_Inhabited; -x_19 = lean_panic_fn(x_17); -return x_19; -} -} -lean_object* l_Array_umapMAux___main___at_Lean_AbstractMetavarContext_MkBindingException_toStr___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; uint8_t x_5; -x_4 = lean_array_get_size(x_3); -x_5 = lean_nat_dec_lt(x_2, x_4); -lean_dec(x_4); -if (x_5 == 0) -{ -lean_object* x_6; lean_object* x_7; -lean_dec(x_2); -lean_dec(x_1); -x_6 = l_Array_empty___closed__1; -x_7 = 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; lean_object* x_14; -x_8 = lean_array_fget(x_3, x_2); -x_9 = lean_box(0); -lean_inc(x_8); -x_10 = x_9; -x_11 = lean_array_fset(x_3, x_2, x_10); -lean_inc(x_1); -x_12 = l_Lean_LocalContext_findFVar(x_1, x_8); -x_13 = lean_unsigned_to_nat(1u); -x_14 = lean_nat_add(x_2, x_13); -if (lean_obj_tag(x_12) == 0) -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_15 = l_Option_get_x21___rarg___closed__1; -x_16 = lean_unsigned_to_nat(16u); -x_17 = lean_unsigned_to_nat(12u); -x_18 = l_Option_get_x21___rarg___closed__2; -x_19 = l_panicWithPos___at_Lean_AbstractMetavarContext_MkBindingException_toStr___spec__1(x_15, x_16, x_17, x_18); -x_20 = l_Lean_LocalDecl_userName(x_19); -lean_dec(x_19); -x_21 = l_System_FilePath_dirName___closed__1; -x_22 = l_Lean_Name_toStringWithSep___main(x_21, x_20); -x_23 = l_Char_HasRepr___closed__1; -x_24 = lean_string_append(x_23, x_22); -lean_dec(x_22); -x_25 = lean_string_append(x_24, x_23); -x_26 = x_25; -x_27 = lean_array_fset(x_11, x_2, x_26); -lean_dec(x_2); -x_2 = x_14; -x_3 = x_27; -goto _start; -} -else -{ -lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_29 = lean_ctor_get(x_12, 0); -lean_inc(x_29); -lean_dec(x_12); -x_30 = l_Lean_LocalDecl_userName(x_29); -lean_dec(x_29); -x_31 = l_System_FilePath_dirName___closed__1; -x_32 = l_Lean_Name_toStringWithSep___main(x_31, x_30); -x_33 = l_Char_HasRepr___closed__1; -x_34 = lean_string_append(x_33, x_32); -lean_dec(x_32); -x_35 = lean_string_append(x_34, x_33); -x_36 = x_35; -x_37 = lean_array_fset(x_11, x_2, x_36); -lean_dec(x_2); -x_2 = x_14; -x_3 = x_37; -goto _start; -} -} -} -} -lean_object* l_List_toStringAux___main___at_Lean_AbstractMetavarContext_MkBindingException_toStr___spec__4(uint8_t x_1, lean_object* x_2) { -_start: -{ -if (x_1 == 0) -{ -if (lean_obj_tag(x_2) == 0) -{ -lean_object* x_3; -x_3 = l_String_splitAux___main___closed__1; -return x_3; -} -else -{ -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; -x_4 = lean_ctor_get(x_2, 0); -lean_inc(x_4); -x_5 = lean_ctor_get(x_2, 1); -lean_inc(x_5); -lean_dec(x_2); -x_6 = l_List_reprAux___main___rarg___closed__1; -x_7 = lean_string_append(x_6, x_4); -lean_dec(x_4); -x_8 = l_List_toStringAux___main___at_Lean_AbstractMetavarContext_MkBindingException_toStr___spec__4(x_1, x_5); -x_9 = lean_string_append(x_7, x_8); -lean_dec(x_8); -return x_9; -} -} -else -{ -if (lean_obj_tag(x_2) == 0) -{ -lean_object* x_10; -x_10 = l_String_splitAux___main___closed__1; -return x_10; -} -else -{ -lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; lean_object* x_15; -x_11 = lean_ctor_get(x_2, 0); -lean_inc(x_11); -x_12 = lean_ctor_get(x_2, 1); -lean_inc(x_12); -lean_dec(x_2); -x_13 = 0; -x_14 = l_List_toStringAux___main___at_Lean_AbstractMetavarContext_MkBindingException_toStr___spec__4(x_13, x_12); -x_15 = lean_string_append(x_11, x_14); -lean_dec(x_14); -return x_15; -} -} -} -} -lean_object* l_List_toString___at_Lean_AbstractMetavarContext_MkBindingException_toStr___spec__3(lean_object* x_1) { -_start: -{ -if (lean_obj_tag(x_1) == 0) -{ -lean_object* x_2; -x_2 = l_List_repr___rarg___closed__1; -return x_2; -} -else -{ -uint8_t x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; -x_3 = 1; -x_4 = l_List_toStringAux___main___at_Lean_AbstractMetavarContext_MkBindingException_toStr___spec__4(x_3, x_1); -x_5 = l_List_repr___rarg___closed__2; -x_6 = lean_string_append(x_5, x_4); -lean_dec(x_4); -x_7 = l_List_repr___rarg___closed__3; -x_8 = lean_string_append(x_6, x_7); -return x_8; -} -} -} -lean_object* _init_l_Lean_AbstractMetavarContext_MkBindingException_toStr___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("failed to revert "); -return x_1; -} -} -lean_object* _init_l_Lean_AbstractMetavarContext_MkBindingException_toStr___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string(", '"); -return x_1; -} -} -lean_object* _init_l_Lean_AbstractMetavarContext_MkBindingException_toStr___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("' depends on them, and it is an auxiliary declaration created by the elaborator"); -return x_1; -} -} -lean_object* _init_l_Lean_AbstractMetavarContext_MkBindingException_toStr___closed__4() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string(" (possible solution: use tactic 'clear' to remove '"); -return x_1; -} -} -lean_object* _init_l_Lean_AbstractMetavarContext_MkBindingException_toStr___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("' from local context)"); -return x_1; -} -} -lean_object* _init_l_Lean_AbstractMetavarContext_MkBindingException_toStr___closed__6() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("failed to create binding due to read only metavariable"); -return x_1; -} -} -lean_object* _init_l_Lean_AbstractMetavarContext_MkBindingException_toStr___closed__7() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("auxiliary metavariables are not supported"); -return x_1; -} -} -lean_object* l_Lean_AbstractMetavarContext_MkBindingException_toStr(lean_object* x_1) { -_start: -{ -switch (lean_obj_tag(x_1)) { -case 0: -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_2 = lean_ctor_get(x_1, 0); -lean_inc(x_2); -x_3 = lean_ctor_get(x_1, 1); -lean_inc(x_3); -x_4 = lean_ctor_get(x_1, 2); -lean_inc(x_4); -lean_dec(x_1); -x_5 = lean_unsigned_to_nat(0u); -x_6 = l_Array_umapMAux___main___at_Lean_AbstractMetavarContext_MkBindingException_toStr___spec__2(x_2, x_5, x_3); -x_7 = l_Array_toList___rarg(x_6); -lean_dec(x_6); -x_8 = l_List_toString___at_Lean_AbstractMetavarContext_MkBindingException_toStr___spec__3(x_7); -x_9 = l_Array_HasRepr___rarg___closed__1; -x_10 = lean_string_append(x_9, x_8); -lean_dec(x_8); -x_11 = l_Lean_AbstractMetavarContext_MkBindingException_toStr___closed__1; -x_12 = lean_string_append(x_11, x_10); -lean_dec(x_10); -x_13 = l_Lean_AbstractMetavarContext_MkBindingException_toStr___closed__2; -x_14 = lean_string_append(x_12, x_13); -x_15 = l_Lean_LocalDecl_userName(x_4); -lean_dec(x_4); -x_16 = l_System_FilePath_dirName___closed__1; -x_17 = l_Lean_Name_toStringWithSep___main(x_16, x_15); -x_18 = lean_string_append(x_14, x_17); -x_19 = l_Lean_AbstractMetavarContext_MkBindingException_toStr___closed__3; -x_20 = lean_string_append(x_18, x_19); -x_21 = l_Lean_AbstractMetavarContext_MkBindingException_toStr___closed__4; -x_22 = lean_string_append(x_20, x_21); -x_23 = lean_string_append(x_22, x_17); -lean_dec(x_17); -x_24 = l_Lean_AbstractMetavarContext_MkBindingException_toStr___closed__5; -x_25 = lean_string_append(x_23, x_24); -return x_25; -} -case 1: -{ -lean_object* x_26; -lean_dec(x_1); -x_26 = l_Lean_AbstractMetavarContext_MkBindingException_toStr___closed__6; -return x_26; -} -default: -{ -lean_object* x_27; -x_27 = l_Lean_AbstractMetavarContext_MkBindingException_toStr___closed__7; -return x_27; -} -} -} -} -lean_object* l_panicWithPos___at_Lean_AbstractMetavarContext_MkBindingException_toStr___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_panicWithPos___at_Lean_AbstractMetavarContext_MkBindingException_toStr___spec__1(x_1, x_2, x_3, x_4); -lean_dec(x_4); -lean_dec(x_1); -return x_5; -} -} -lean_object* l_List_toStringAux___main___at_Lean_AbstractMetavarContext_MkBindingException_toStr___spec__4___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; lean_object* x_4; -x_3 = lean_unbox(x_1); -lean_dec(x_1); -x_4 = l_List_toStringAux___main___at_Lean_AbstractMetavarContext_MkBindingException_toStr___spec__4(x_3, x_2); -return x_4; -} -} -lean_object* _init_l_Lean_AbstractMetavarContext_MkBindingException_HasToString___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_AbstractMetavarContext_MkBindingException_toStr), 1, 0); -return x_1; -} -} -lean_object* _init_l_Lean_AbstractMetavarContext_MkBindingException_HasToString() { -_start: -{ -lean_object* x_1; -x_1 = l_Lean_AbstractMetavarContext_MkBindingException_HasToString___closed__1; -return x_1; -} -} -lean_object* l_Lean_AbstractMetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___lambda__1(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; lean_object* x_4; -x_3 = lean_ctor_get(x_1, 2); -lean_inc(x_3); -x_4 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_4, 0, x_3); -lean_ctor_set(x_4, 1, x_2); -return x_4; -} -} -lean_object* l_Lean_AbstractMetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___lambda__2(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; -x_3 = !lean_is_exclusive(x_2); -if (x_3 == 0) -{ -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_4 = lean_ctor_get(x_2, 2); -x_5 = lean_apply_1(x_1, x_4); -lean_ctor_set(x_2, 2, x_5); -x_6 = lean_box(0); -x_7 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_7, 0, x_6); -lean_ctor_set(x_7, 1, x_2); -return x_7; -} -else -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_8 = lean_ctor_get(x_2, 0); -x_9 = lean_ctor_get(x_2, 1); -x_10 = lean_ctor_get(x_2, 2); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_dec(x_2); -x_11 = lean_apply_1(x_1, x_10); -x_12 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_12, 0, x_8); -lean_ctor_set(x_12, 1, x_9); -lean_ctor_set(x_12, 2, x_11); -x_13 = lean_box(0); -x_14 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_14, 0, x_13); -lean_ctor_set(x_14, 1, x_12); -return x_14; -} -} -} -lean_object* _init_l_Lean_AbstractMetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_AbstractMetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___lambda__1___boxed), 2, 0); -return x_1; -} -} -lean_object* _init_l_Lean_AbstractMetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_EState_MonadState___closed__2; -x_2 = l_Lean_AbstractMetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___closed__1; -x_3 = lean_alloc_closure((void*)(l_EState_bind___rarg), 3, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -lean_object* _init_l_Lean_AbstractMetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_AbstractMetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___lambda__2), 2, 0); -return x_1; -} -} -lean_object* _init_l_Lean_AbstractMetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_AbstractMetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___closed__2; -x_2 = l_Lean_AbstractMetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___closed__3; -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -lean_object* l_Lean_AbstractMetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = l_Lean_AbstractMetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___closed__4; -return x_2; -} -} -lean_object* l_Lean_AbstractMetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___lambda__1___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Lean_AbstractMetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___lambda__1(x_1, x_2); -lean_dec(x_1); -return x_3; -} -} -lean_object* l_Lean_AbstractMetavarContext_MkBinding_abstractRange___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_inc(x_3); -x_7 = lean_apply_3(x_1, x_3, x_5, x_6); -if (lean_obj_tag(x_7) == 0) -{ -uint8_t x_8; -x_8 = !lean_is_exclusive(x_7); -if (x_8 == 0) -{ -lean_object* x_9; lean_object* x_10; -x_9 = lean_ctor_get(x_7, 0); -x_10 = lean_expr_abstract_range(x_9, x_4, x_3); -lean_dec(x_3); -lean_dec(x_9); -lean_ctor_set(x_7, 0, x_10); -return x_7; -} -else -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_11 = lean_ctor_get(x_7, 0); -x_12 = lean_ctor_get(x_7, 1); -lean_inc(x_12); -lean_inc(x_11); -lean_dec(x_7); -x_13 = lean_expr_abstract_range(x_11, x_4, x_3); -lean_dec(x_3); -lean_dec(x_11); -x_14 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_14, 0, x_13); -lean_ctor_set(x_14, 1, x_12); -return x_14; -} -} -else -{ -uint8_t x_15; -lean_dec(x_3); -x_15 = !lean_is_exclusive(x_7); -if (x_15 == 0) -{ -return x_7; -} -else -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_16 = lean_ctor_get(x_7, 0); -x_17 = lean_ctor_get(x_7, 1); -lean_inc(x_17); -lean_inc(x_16); -lean_dec(x_7); -x_18 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_18, 0, x_16); -lean_ctor_set(x_18, 1, x_17); -return x_18; -} -} -} -} -lean_object* l_Lean_AbstractMetavarContext_MkBinding_abstractRange(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Lean_AbstractMetavarContext_MkBinding_abstractRange___rarg___boxed), 6, 0); -return x_3; -} -} -lean_object* l_Lean_AbstractMetavarContext_MkBinding_abstractRange___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_AbstractMetavarContext_MkBinding_abstractRange___rarg(x_1, x_2, x_3, x_4, x_5, x_6); -lean_dec(x_4); -lean_dec(x_2); -return x_7; -} -} -lean_object* l_Lean_AbstractMetavarContext_MkBinding_abstractRange___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Lean_AbstractMetavarContext_MkBinding_abstractRange(x_1, x_2); -lean_dec(x_2); -return x_3; -} -} -lean_object* _init_l_panicWithPos___at_Lean_AbstractMetavarContext_MkBinding_mkBinding___spec__1___rarg___closed__1() { -_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_3 = l_monadInhabited___rarg(x_1, x_2); -return x_3; -} -} -lean_object* l_panicWithPos___at_Lean_AbstractMetavarContext_MkBinding_mkBinding___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_6 = l_panicWithPos___rarg___closed__1; -x_7 = lean_string_append(x_6, x_1); -x_8 = l_panicWithPos___rarg___closed__2; -x_9 = lean_string_append(x_7, x_8); -x_10 = l_Nat_repr(x_2); -x_11 = lean_string_append(x_9, x_10); -lean_dec(x_10); -x_12 = l_panicWithPos___rarg___closed__2; -x_13 = lean_string_append(x_11, x_12); -x_14 = l_Nat_repr(x_3); -x_15 = lean_string_append(x_13, x_14); -lean_dec(x_14); -x_16 = l_panicWithPos___rarg___closed__3; -x_17 = lean_string_append(x_15, x_16); -x_18 = lean_string_append(x_17, x_4); -x_19 = l_panicWithPos___at_Lean_AbstractMetavarContext_MkBinding_mkBinding___spec__1___rarg___closed__1; -x_20 = lean_panic_fn(x_18); -x_21 = lean_apply_1(x_20, x_5); -return x_21; -} -} -lean_object* l_panicWithPos___at_Lean_AbstractMetavarContext_MkBinding_mkBinding___spec__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_panicWithPos___at_Lean_AbstractMetavarContext_MkBinding_mkBinding___spec__1___rarg___boxed), 5, 0); -return x_2; -} -} -lean_object* l_Nat_foldRevMAux___main___at_Lean_AbstractMetavarContext_MkBinding_mkBinding___spec__2___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; -x_8 = l_Lean_exprIsInhabited; -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); -if (lean_obj_tag(x_10) == 0) -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_1); -x_11 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_instantiateDelayedAux___main___rarg___closed__1; -x_12 = lean_unsigned_to_nat(404u); -x_13 = lean_unsigned_to_nat(16u); -x_14 = l_Nat_foldRevAux___main___at_Lean_LocalContext_mkBinding___spec__1___closed__1; -x_15 = l_panicWithPos___at_Lean_AbstractMetavarContext_MkBinding_mkBinding___spec__1___rarg(x_11, x_12, x_13, x_14, x_7); -return x_15; -} -else -{ -lean_object* x_16; -x_16 = lean_ctor_get(x_10, 0); -lean_inc(x_16); -lean_dec(x_10); -if (lean_obj_tag(x_16) == 0) -{ -lean_object* x_17; lean_object* x_18; uint8_t x_19; lean_object* x_20; -x_17 = lean_ctor_get(x_16, 2); -lean_inc(x_17); -x_18 = lean_ctor_get(x_16, 3); -lean_inc(x_18); -x_19 = lean_ctor_get_uint8(x_16, sizeof(void*)*4); -lean_dec(x_16); -lean_inc(x_1); -x_20 = lean_apply_3(x_4, x_1, x_18, x_7); -if (lean_obj_tag(x_20) == 0) -{ -uint8_t x_21; -x_21 = !lean_is_exclusive(x_20); -if (x_21 == 0) -{ -lean_object* x_22; lean_object* x_23; -x_22 = lean_ctor_get(x_20, 0); -x_23 = lean_expr_abstract_range(x_22, x_2, x_1); -lean_dec(x_1); -lean_dec(x_22); -if (x_5 == 0) -{ -lean_object* x_24; -x_24 = lean_expr_mk_forall(x_17, x_19, x_23, x_6); -lean_ctor_set(x_20, 0, x_24); -return x_20; -} -else -{ -lean_object* x_25; -x_25 = lean_expr_mk_lambda(x_17, x_19, x_23, x_6); -lean_ctor_set(x_20, 0, x_25); -return x_20; -} -} -else -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_26 = lean_ctor_get(x_20, 0); -x_27 = lean_ctor_get(x_20, 1); -lean_inc(x_27); -lean_inc(x_26); -lean_dec(x_20); -x_28 = lean_expr_abstract_range(x_26, x_2, x_1); -lean_dec(x_1); -lean_dec(x_26); -if (x_5 == 0) -{ -lean_object* x_29; lean_object* x_30; -x_29 = lean_expr_mk_forall(x_17, x_19, x_28, x_6); -x_30 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_30, 0, x_29); -lean_ctor_set(x_30, 1, x_27); -return x_30; -} -else -{ -lean_object* x_31; lean_object* x_32; -x_31 = lean_expr_mk_lambda(x_17, x_19, x_28, x_6); -x_32 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_32, 0, x_31); -lean_ctor_set(x_32, 1, x_27); -return x_32; -} -} -} -else -{ -uint8_t x_33; -lean_dec(x_17); -lean_dec(x_6); -lean_dec(x_1); -x_33 = !lean_is_exclusive(x_20); -if (x_33 == 0) -{ -return x_20; -} -else -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_34 = lean_ctor_get(x_20, 0); -x_35 = lean_ctor_get(x_20, 1); -lean_inc(x_35); -lean_inc(x_34); -lean_dec(x_20); -x_36 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_36, 0, x_34); -lean_ctor_set(x_36, 1, x_35); -return x_36; -} -} -} -else -{ -lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_37 = lean_ctor_get(x_16, 2); -lean_inc(x_37); -x_38 = lean_ctor_get(x_16, 3); -lean_inc(x_38); -x_39 = lean_ctor_get(x_16, 4); -lean_inc(x_39); -lean_dec(x_16); -lean_inc(x_4); -lean_inc(x_1); -x_40 = lean_apply_3(x_4, x_1, x_38, x_7); -if (lean_obj_tag(x_40) == 0) -{ -lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; -x_41 = lean_ctor_get(x_40, 0); -lean_inc(x_41); -x_42 = lean_ctor_get(x_40, 1); -lean_inc(x_42); -lean_dec(x_40); -x_43 = lean_expr_abstract_range(x_41, x_2, x_1); -lean_dec(x_41); -lean_inc(x_1); -x_44 = lean_apply_3(x_4, x_1, x_39, x_42); -if (lean_obj_tag(x_44) == 0) -{ -uint8_t x_45; -x_45 = !lean_is_exclusive(x_44); -if (x_45 == 0) -{ -lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_46 = lean_ctor_get(x_44, 0); -x_47 = lean_expr_abstract_range(x_46, x_2, x_1); -lean_dec(x_1); -lean_dec(x_46); -x_48 = lean_expr_mk_let(x_37, x_43, x_47, x_6); -lean_ctor_set(x_44, 0, x_48); -return x_44; -} -else -{ -lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; -x_49 = lean_ctor_get(x_44, 0); -x_50 = lean_ctor_get(x_44, 1); -lean_inc(x_50); -lean_inc(x_49); -lean_dec(x_44); -x_51 = lean_expr_abstract_range(x_49, x_2, x_1); -lean_dec(x_1); -lean_dec(x_49); -x_52 = lean_expr_mk_let(x_37, x_43, x_51, x_6); -x_53 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_53, 0, x_52); -lean_ctor_set(x_53, 1, x_50); -return x_53; -} -} -else -{ -uint8_t x_54; -lean_dec(x_43); -lean_dec(x_37); -lean_dec(x_6); -lean_dec(x_1); -x_54 = !lean_is_exclusive(x_44); -if (x_54 == 0) -{ -return x_44; -} -else -{ -lean_object* x_55; lean_object* x_56; lean_object* x_57; -x_55 = lean_ctor_get(x_44, 0); -x_56 = lean_ctor_get(x_44, 1); -lean_inc(x_56); -lean_inc(x_55); -lean_dec(x_44); -x_57 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_57, 0, x_55); -lean_ctor_set(x_57, 1, x_56); -return x_57; -} -} -} -else -{ -uint8_t x_58; -lean_dec(x_39); -lean_dec(x_37); -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_1); -x_58 = !lean_is_exclusive(x_40); -if (x_58 == 0) -{ -return x_40; -} -else -{ -lean_object* x_59; lean_object* x_60; lean_object* x_61; -x_59 = lean_ctor_get(x_40, 0); -x_60 = lean_ctor_get(x_40, 1); -lean_inc(x_60); -lean_inc(x_59); -lean_dec(x_40); -x_61 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_61, 0, x_59); -lean_ctor_set(x_61, 1, x_60); -return x_61; -} -} -} -} -} -} -lean_object* l_Nat_foldRevMAux___main___at_Lean_AbstractMetavarContext_MkBinding_mkBinding___spec__2___rarg(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; uint8_t x_10; -x_9 = lean_unsigned_to_nat(0u); -x_10 = lean_nat_dec_eq(x_6, x_9); -if (x_10 == 0) -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_11 = lean_unsigned_to_nat(1u); -x_12 = lean_nat_sub(x_6, x_11); -x_13 = lean_ctor_get(x_5, 1); -lean_inc(x_13); -x_14 = lean_box(x_1); -lean_inc(x_2); -lean_inc(x_3); -lean_inc(x_12); -lean_inc(x_4); -x_15 = lean_alloc_closure((void*)(l_Nat_foldRevMAux___main___at_Lean_AbstractMetavarContext_MkBinding_mkBinding___spec__2___rarg___lambda__1___boxed), 7, 6); -lean_closure_set(x_15, 0, x_4); -lean_closure_set(x_15, 1, x_12); -lean_closure_set(x_15, 2, x_3); -lean_closure_set(x_15, 3, x_2); -lean_closure_set(x_15, 4, x_14); -lean_closure_set(x_15, 5, x_7); -x_16 = lean_box(x_1); -x_17 = lean_alloc_closure((void*)(l_Nat_foldRevMAux___main___at_Lean_AbstractMetavarContext_MkBinding_mkBinding___spec__2___rarg___boxed), 8, 6); -lean_closure_set(x_17, 0, x_16); -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_5); -lean_closure_set(x_17, 5, x_12); -x_18 = lean_apply_5(x_13, lean_box(0), lean_box(0), x_15, x_17, x_8); -return x_18; -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_19 = lean_ctor_get(x_5, 0); -lean_inc(x_19); -lean_dec(x_5); -x_20 = lean_ctor_get(x_19, 1); -lean_inc(x_20); -lean_dec(x_19); -x_21 = lean_apply_3(x_20, lean_box(0), x_7, x_8); -return x_21; -} -} -} -lean_object* l_Nat_foldRevMAux___main___at_Lean_AbstractMetavarContext_MkBinding_mkBinding___spec__2(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Nat_foldRevMAux___main___at_Lean_AbstractMetavarContext_MkBinding_mkBinding___spec__2___rarg___boxed), 8, 0); -return x_2; -} -} -lean_object* l_Lean_AbstractMetavarContext_MkBinding_mkBinding___rarg(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; lean_object* x_8; -x_7 = lean_array_get_size(x_4); -lean_inc(x_2); -lean_inc(x_4); -x_8 = lean_apply_3(x_2, x_4, x_5, x_6); -if (lean_obj_tag(x_8) == 0) -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_9 = lean_ctor_get(x_8, 0); -lean_inc(x_9); -x_10 = lean_ctor_get(x_8, 1); -lean_inc(x_10); -lean_dec(x_8); -x_11 = lean_expr_abstract_range(x_9, x_7, x_4); -lean_dec(x_9); -x_12 = l_EIO_Monad___closed__1; -x_13 = l_Nat_foldRevMAux___main___at_Lean_AbstractMetavarContext_MkBinding_mkBinding___spec__2___rarg(x_1, x_2, x_3, x_4, x_12, x_7, x_11, x_10); -lean_dec(x_7); -return x_13; -} -else -{ -uint8_t x_14; -lean_dec(x_7); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_14 = !lean_is_exclusive(x_8); -if (x_14 == 0) -{ -return x_8; -} -else -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_15 = lean_ctor_get(x_8, 0); -x_16 = lean_ctor_get(x_8, 1); -lean_inc(x_16); -lean_inc(x_15); -lean_dec(x_8); -x_17 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_17, 0, x_15); -lean_ctor_set(x_17, 1, x_16); -return x_17; -} -} -} -} -lean_object* l_Lean_AbstractMetavarContext_MkBinding_mkBinding(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Lean_AbstractMetavarContext_MkBinding_mkBinding___rarg___boxed), 6, 0); -return x_3; -} -} -lean_object* l_panicWithPos___at_Lean_AbstractMetavarContext_MkBinding_mkBinding___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; -x_6 = l_panicWithPos___at_Lean_AbstractMetavarContext_MkBinding_mkBinding___spec__1___rarg(x_1, x_2, x_3, x_4, x_5); -lean_dec(x_4); -lean_dec(x_1); -return x_6; -} -} -lean_object* l_Nat_foldRevMAux___main___at_Lean_AbstractMetavarContext_MkBinding_mkBinding___spec__2___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_5); -lean_dec(x_5); -x_9 = l_Nat_foldRevMAux___main___at_Lean_AbstractMetavarContext_MkBinding_mkBinding___spec__2___rarg___lambda__1(x_1, x_2, x_3, x_4, x_8, x_6, x_7); -lean_dec(x_2); -return x_9; -} -} -lean_object* l_Nat_foldRevMAux___main___at_Lean_AbstractMetavarContext_MkBinding_mkBinding___spec__2___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_1); -lean_dec(x_1); -x_10 = l_Nat_foldRevMAux___main___at_Lean_AbstractMetavarContext_MkBinding_mkBinding___spec__2___rarg(x_9, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_6); -return x_10; -} -} -lean_object* l_Lean_AbstractMetavarContext_MkBinding_mkBinding___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -uint8_t x_7; lean_object* x_8; -x_7 = lean_unbox(x_1); -lean_dec(x_1); -x_8 = l_Lean_AbstractMetavarContext_MkBinding_mkBinding___rarg(x_7, x_2, x_3, x_4, x_5, x_6); -return x_8; -} -} -lean_object* l_Lean_AbstractMetavarContext_MkBinding_mkBinding___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Lean_AbstractMetavarContext_MkBinding_mkBinding(x_1, x_2); -lean_dec(x_2); -return x_3; -} -} -lean_object* l_Lean_AbstractMetavarContext_MkBinding_mkLambda___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -uint8_t x_6; lean_object* x_7; -x_6 = 1; -x_7 = l_Lean_AbstractMetavarContext_MkBinding_mkBinding___rarg(x_6, x_1, x_2, x_3, x_4, x_5); -return x_7; -} -} -lean_object* l_Lean_AbstractMetavarContext_MkBinding_mkLambda(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Lean_AbstractMetavarContext_MkBinding_mkLambda___rarg), 5, 0); -return x_3; -} -} -lean_object* l_Lean_AbstractMetavarContext_MkBinding_mkLambda___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Lean_AbstractMetavarContext_MkBinding_mkLambda(x_1, x_2); -lean_dec(x_2); -return x_3; -} -} -lean_object* l_Lean_AbstractMetavarContext_MkBinding_mkForall___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -uint8_t x_6; lean_object* x_7; -x_6 = 0; -x_7 = l_Lean_AbstractMetavarContext_MkBinding_mkBinding___rarg(x_6, x_1, x_2, x_3, x_4, x_5); -return x_7; -} -} -lean_object* l_Lean_AbstractMetavarContext_MkBinding_mkForall(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Lean_AbstractMetavarContext_MkBinding_mkForall___rarg), 5, 0); -return x_3; -} -} -lean_object* l_Lean_AbstractMetavarContext_MkBinding_mkForall___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Lean_AbstractMetavarContext_MkBinding_mkForall(x_1, x_2); -lean_dec(x_2); -return x_3; -} -} -lean_object* l_Array_iterateMAux___main___at_Lean_AbstractMetavarContext_MkBinding_getLocalDeclWithSmallestIdx___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; 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; lean_object* x_12; -x_8 = lean_array_fget(x_3, x_4); -lean_inc(x_1); -x_9 = l_Lean_LocalContext_findFVar(x_1, x_8); -lean_dec(x_8); -x_10 = l_Lean_LocalDecl_index(x_5); -x_11 = lean_unsigned_to_nat(1u); -x_12 = lean_nat_add(x_4, x_11); -lean_dec(x_4); -if (lean_obj_tag(x_9) == 0) -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; -x_13 = l_Option_get_x21___rarg___closed__1; -x_14 = lean_unsigned_to_nat(16u); -x_15 = lean_unsigned_to_nat(12u); -x_16 = l_Option_get_x21___rarg___closed__2; -x_17 = l_panicWithPos___at_Lean_AbstractMetavarContext_MkBindingException_toStr___spec__1(x_13, x_14, x_15, x_16); -x_18 = l_Lean_LocalDecl_index(x_17); -x_19 = lean_nat_dec_lt(x_18, x_10); -lean_dec(x_10); -lean_dec(x_18); -if (x_19 == 0) -{ -lean_dec(x_17); -x_4 = x_12; -goto _start; -} -else -{ -lean_dec(x_5); -x_4 = x_12; -x_5 = x_17; -goto _start; -} -} -else -{ -lean_object* x_22; lean_object* x_23; uint8_t x_24; -x_22 = lean_ctor_get(x_9, 0); -lean_inc(x_22); -lean_dec(x_9); -x_23 = l_Lean_LocalDecl_index(x_22); -x_24 = lean_nat_dec_lt(x_23, x_10); -lean_dec(x_10); -lean_dec(x_23); -if (x_24 == 0) -{ -lean_dec(x_22); -x_4 = x_12; -goto _start; -} -else -{ -lean_dec(x_5); -x_4 = x_12; -x_5 = x_22; -goto _start; -} -} -} -} -} -lean_object* l_Array_iterateMAux___main___at_Lean_AbstractMetavarContext_MkBinding_getLocalDeclWithSmallestIdx___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; uint8_t x_7; -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; lean_object* x_12; -x_8 = lean_array_fget(x_3, x_4); -lean_inc(x_1); -x_9 = l_Lean_LocalContext_findFVar(x_1, x_8); -lean_dec(x_8); -x_10 = l_Lean_LocalDecl_index(x_5); -x_11 = lean_unsigned_to_nat(1u); -x_12 = lean_nat_add(x_4, x_11); -lean_dec(x_4); -if (lean_obj_tag(x_9) == 0) -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; -x_13 = l_Option_get_x21___rarg___closed__1; -x_14 = lean_unsigned_to_nat(16u); -x_15 = lean_unsigned_to_nat(12u); -x_16 = l_Option_get_x21___rarg___closed__2; -x_17 = l_panicWithPos___at_Lean_AbstractMetavarContext_MkBindingException_toStr___spec__1(x_13, x_14, x_15, x_16); -x_18 = l_Lean_LocalDecl_index(x_17); -x_19 = lean_nat_dec_lt(x_18, x_10); -lean_dec(x_10); -lean_dec(x_18); -if (x_19 == 0) -{ -lean_dec(x_17); -x_4 = x_12; -goto _start; -} -else -{ -lean_dec(x_5); -x_4 = x_12; -x_5 = x_17; -goto _start; -} -} -else -{ -lean_object* x_22; lean_object* x_23; uint8_t x_24; -x_22 = lean_ctor_get(x_9, 0); -lean_inc(x_22); -lean_dec(x_9); -x_23 = l_Lean_LocalDecl_index(x_22); -x_24 = lean_nat_dec_lt(x_23, x_10); -lean_dec(x_10); -lean_dec(x_23); -if (x_24 == 0) -{ -lean_dec(x_22); -x_4 = x_12; -goto _start; -} -else -{ -lean_dec(x_5); -x_4 = x_12; -x_5 = x_22; -goto _start; -} -} -} -} -} -lean_object* l_Lean_AbstractMetavarContext_MkBinding_getLocalDeclWithSmallestIdx(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_3 = l_Lean_exprIsInhabited; -x_4 = lean_unsigned_to_nat(0u); -x_5 = lean_array_get(x_3, x_2, x_4); -lean_inc(x_1); -x_6 = l_Lean_LocalContext_findFVar(x_1, x_5); -lean_dec(x_5); -if (lean_obj_tag(x_6) == 0) -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_7 = l_Option_get_x21___rarg___closed__1; -x_8 = lean_unsigned_to_nat(16u); -x_9 = lean_unsigned_to_nat(12u); -x_10 = l_Option_get_x21___rarg___closed__2; -x_11 = l_panicWithPos___at_Lean_AbstractMetavarContext_MkBindingException_toStr___spec__1(x_7, x_8, x_9, x_10); -x_12 = lean_unsigned_to_nat(1u); -x_13 = l_Array_iterateMAux___main___at_Lean_AbstractMetavarContext_MkBinding_getLocalDeclWithSmallestIdx___spec__1(x_1, x_2, x_2, x_12, x_11); -return x_13; -} -else -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_14 = lean_ctor_get(x_6, 0); -lean_inc(x_14); -lean_dec(x_6); -x_15 = lean_unsigned_to_nat(1u); -x_16 = l_Array_iterateMAux___main___at_Lean_AbstractMetavarContext_MkBinding_getLocalDeclWithSmallestIdx___spec__2(x_1, x_2, x_2, x_15, x_14); -return x_16; -} -} -} -lean_object* l_Array_iterateMAux___main___at_Lean_AbstractMetavarContext_MkBinding_getLocalDeclWithSmallestIdx___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_Array_iterateMAux___main___at_Lean_AbstractMetavarContext_MkBinding_getLocalDeclWithSmallestIdx___spec__1(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_iterateMAux___main___at_Lean_AbstractMetavarContext_MkBinding_getLocalDeclWithSmallestIdx___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; -x_6 = l_Array_iterateMAux___main___at_Lean_AbstractMetavarContext_MkBinding_getLocalDeclWithSmallestIdx___spec__2(x_1, x_2, x_3, x_4, x_5); -lean_dec(x_3); -lean_dec(x_2); -return x_6; -} -} -lean_object* l_Lean_AbstractMetavarContext_MkBinding_getLocalDeclWithSmallestIdx___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Lean_AbstractMetavarContext_MkBinding_getLocalDeclWithSmallestIdx(x_1, x_2); -lean_dec(x_2); -return x_3; -} -} -uint8_t l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; uint8_t x_5; -x_4 = lean_array_get_size(x_2); -x_5 = lean_nat_dec_lt(x_3, x_4); -lean_dec(x_4); -if (x_5 == 0) -{ -uint8_t x_6; -lean_dec(x_3); -x_6 = 0; -return x_6; -} -else -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; -x_7 = lean_array_fget(x_2, x_3); -x_8 = l_Lean_LocalDecl_name(x_1); -x_9 = l_Lean_Expr_fvarId_x21(x_7); -lean_dec(x_7); -x_10 = lean_name_dec_eq(x_8, x_9); -lean_dec(x_9); -lean_dec(x_8); -if (x_10 == 0) -{ -lean_object* x_11; lean_object* x_12; -x_11 = lean_unsigned_to_nat(1u); -x_12 = lean_nat_add(x_3, x_11); -lean_dec(x_3); -x_3 = x_12; -goto _start; -} -else -{ -lean_dec(x_3); -return x_10; -} -} -} -} -uint8_t l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; uint8_t x_5; -x_4 = lean_array_get_size(x_2); -x_5 = lean_nat_dec_lt(x_3, x_4); -lean_dec(x_4); -if (x_5 == 0) -{ -uint8_t x_6; -lean_dec(x_3); -x_6 = 0; -return x_6; -} -else -{ -lean_object* x_7; lean_object* x_8; uint8_t x_9; -x_7 = lean_array_fget(x_2, x_3); -x_8 = l_Lean_Expr_fvarId_x21(x_7); -lean_dec(x_7); -x_9 = lean_name_dec_eq(x_8, x_1); -lean_dec(x_8); -if (x_9 == 0) -{ -lean_object* x_10; lean_object* x_11; -x_10 = lean_unsigned_to_nat(1u); -x_11 = lean_nat_add(x_3, x_10); -lean_dec(x_3); -x_3 = x_11; -goto _start; -} -else -{ -lean_dec(x_3); -return x_9; -} -} -} -} -uint8_t l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; uint8_t x_5; -x_4 = lean_array_get_size(x_2); -x_5 = lean_nat_dec_lt(x_3, x_4); -lean_dec(x_4); -if (x_5 == 0) -{ -uint8_t x_6; -lean_dec(x_3); -x_6 = 0; -return x_6; -} -else -{ -lean_object* x_7; uint8_t x_8; -x_7 = lean_array_fget(x_2, x_3); -x_8 = l_PersistentArray_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__5(x_1, x_7); -lean_dec(x_7); -if (x_8 == 0) -{ -lean_object* x_9; lean_object* x_10; -x_9 = lean_unsigned_to_nat(1u); -x_10 = lean_nat_add(x_3, x_9); -lean_dec(x_3); -x_3 = x_10; -goto _start; -} -else -{ -lean_dec(x_3); -return x_8; -} -} -} -} -uint8_t l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; uint8_t x_5; -x_4 = lean_array_get_size(x_2); -x_5 = lean_nat_dec_lt(x_3, x_4); -lean_dec(x_4); -if (x_5 == 0) -{ -uint8_t x_6; -lean_dec(x_3); -x_6 = 0; -return x_6; -} -else -{ -lean_object* x_7; -x_7 = lean_array_fget(x_2, x_3); -if (lean_obj_tag(x_7) == 0) -{ -lean_object* x_8; lean_object* x_9; -x_8 = lean_unsigned_to_nat(1u); -x_9 = lean_nat_add(x_3, x_8); -lean_dec(x_3); -x_3 = x_9; -goto _start; -} -else -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_11 = lean_ctor_get(x_7, 0); -lean_inc(x_11); -lean_dec(x_7); -x_12 = l_Lean_LocalDecl_name(x_11); -lean_dec(x_11); -x_13 = lean_unsigned_to_nat(0u); -x_14 = l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__2(x_12, x_1, x_13); -lean_dec(x_12); -if (x_14 == 0) -{ -lean_object* x_15; lean_object* x_16; -x_15 = lean_unsigned_to_nat(1u); -x_16 = lean_nat_add(x_3, x_15); -lean_dec(x_3); -x_3 = x_16; -goto _start; -} -else -{ -lean_dec(x_3); -return x_14; -} -} -} -} -} -uint8_t l_PersistentArray_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__5(lean_object* x_1, lean_object* x_2) { -_start: -{ -if (lean_obj_tag(x_2) == 0) -{ -lean_object* x_3; lean_object* x_4; uint8_t x_5; -x_3 = lean_ctor_get(x_2, 0); -x_4 = lean_unsigned_to_nat(0u); -x_5 = l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__6(x_1, x_3, x_4); -return x_5; -} -else -{ -lean_object* x_6; lean_object* x_7; uint8_t x_8; -x_6 = lean_ctor_get(x_2, 0); -x_7 = lean_unsigned_to_nat(0u); -x_8 = l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__7(x_1, x_6, x_7); -return x_8; -} -} -} -uint8_t l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__8(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; uint8_t x_5; -x_4 = lean_array_get_size(x_2); -x_5 = lean_nat_dec_lt(x_3, x_4); -lean_dec(x_4); -if (x_5 == 0) -{ -uint8_t x_6; -lean_dec(x_3); -x_6 = 0; -return x_6; -} -else -{ -lean_object* x_7; -x_7 = lean_array_fget(x_2, x_3); -if (lean_obj_tag(x_7) == 0) -{ -lean_object* x_8; lean_object* x_9; -x_8 = lean_unsigned_to_nat(1u); -x_9 = lean_nat_add(x_3, x_8); -lean_dec(x_3); -x_3 = x_9; -goto _start; -} -else -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_11 = lean_ctor_get(x_7, 0); -lean_inc(x_11); -lean_dec(x_7); -x_12 = l_Lean_LocalDecl_name(x_11); -lean_dec(x_11); -x_13 = lean_unsigned_to_nat(0u); -x_14 = l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__2(x_12, x_1, x_13); -lean_dec(x_12); -if (x_14 == 0) -{ -lean_object* x_15; lean_object* x_16; -x_15 = lean_unsigned_to_nat(1u); -x_16 = lean_nat_add(x_3, x_15); -lean_dec(x_3); -x_3 = x_16; -goto _start; -} -else -{ -lean_dec(x_3); -return x_14; -} -} -} -} -} -uint8_t l_PersistentArray_anyM___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__4(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; uint8_t x_4; -x_3 = lean_ctor_get(x_2, 0); -x_4 = l_PersistentArray_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__5(x_1, x_3); -if (x_4 == 0) -{ -lean_object* x_5; lean_object* x_6; uint8_t x_7; -x_5 = lean_ctor_get(x_2, 1); -x_6 = lean_unsigned_to_nat(0u); -x_7 = l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__8(x_1, x_5, x_6); -return x_7; -} -else -{ -return x_4; -} -} -} -lean_object* l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__3___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -switch (lean_obj_tag(x_4)) { -case 1: -{ -lean_object* x_6; lean_object* x_7; uint8_t x_8; lean_object* x_9; lean_object* x_10; -lean_dec(x_3); -lean_dec(x_1); -x_6 = lean_ctor_get(x_4, 0); -lean_inc(x_6); -lean_dec(x_4); -x_7 = lean_unsigned_to_nat(0u); -x_8 = l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__2(x_6, x_2, x_7); -lean_dec(x_6); -x_9 = lean_box(x_8); -x_10 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_10, 0, x_9); -lean_ctor_set(x_10, 1, x_5); -return x_10; -} -case 2: -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_11 = lean_ctor_get(x_4, 0); -lean_inc(x_11); -lean_dec(x_4); -x_12 = lean_ctor_get(x_1, 5); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_3); -x_13 = lean_apply_2(x_12, x_3, x_11); -if (lean_obj_tag(x_13) == 0) -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; lean_object* x_19; lean_object* x_20; -x_14 = lean_ctor_get(x_1, 7); -lean_inc(x_14); -lean_dec(x_1); -x_15 = lean_apply_2(x_14, x_3, x_11); -x_16 = lean_ctor_get(x_15, 1); -lean_inc(x_16); -lean_dec(x_15); -x_17 = lean_ctor_get(x_16, 1); -lean_inc(x_17); -lean_dec(x_16); -x_18 = l_PersistentArray_anyM___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__4(x_2, x_17); -lean_dec(x_17); -x_19 = lean_box(x_18); -x_20 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_20, 0, x_19); -lean_ctor_set(x_20, 1, x_5); -return x_20; -} -else -{ -lean_object* x_21; lean_object* x_22; uint8_t x_31; -lean_dec(x_11); -x_21 = lean_ctor_get(x_13, 0); -lean_inc(x_21); -lean_dec(x_13); -x_31 = lean_expr_has_expr_mvar(x_21); -if (x_31 == 0) -{ -uint8_t x_32; -x_32 = lean_expr_has_level_mvar(x_21); -if (x_32 == 0) -{ -uint8_t x_33; -x_33 = lean_expr_has_fvar(x_21); -if (x_33 == 0) -{ -uint8_t x_34; lean_object* x_35; lean_object* x_36; -lean_dec(x_21); -lean_dec(x_3); -lean_dec(x_1); -x_34 = 0; -x_35 = lean_box(x_34); -x_36 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_5); -return x_36; -} -else -{ -lean_object* x_37; -x_37 = lean_box(0); -x_22 = x_37; -goto block_30; -} -} -else -{ -lean_object* x_38; -x_38 = lean_box(0); -x_22 = x_38; -goto block_30; -} -} -else -{ -lean_object* x_39; -x_39 = lean_box(0); -x_22 = x_39; -goto block_30; -} -block_30: -{ -uint8_t x_23; -lean_dec(x_22); -x_23 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_5, x_21); -if (x_23 == 0) -{ -lean_object* x_24; lean_object* x_25; -x_24 = lean_box(0); -lean_inc(x_21); -x_25 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_5, x_21, x_24); -x_4 = x_21; -x_5 = x_25; -goto _start; -} -else -{ -uint8_t x_27; lean_object* x_28; lean_object* x_29; -lean_dec(x_21); -lean_dec(x_3); -lean_dec(x_1); -x_27 = 0; -x_28 = lean_box(x_27); -x_29 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_29, 0, x_28); -lean_ctor_set(x_29, 1, x_5); -return x_29; -} -} -} -} -case 5: -{ -lean_object* x_40; lean_object* x_41; uint8_t x_42; lean_object* x_43; lean_object* x_67; uint8_t x_77; -x_40 = lean_ctor_get(x_4, 0); -lean_inc(x_40); -x_41 = lean_ctor_get(x_4, 1); -lean_inc(x_41); -lean_dec(x_4); -x_77 = lean_expr_has_expr_mvar(x_41); -if (x_77 == 0) -{ -uint8_t x_78; -x_78 = lean_expr_has_level_mvar(x_41); -if (x_78 == 0) -{ -uint8_t x_79; -x_79 = lean_expr_has_fvar(x_41); -if (x_79 == 0) -{ -uint8_t x_80; -lean_dec(x_41); -x_80 = 0; -x_42 = x_80; -x_43 = x_5; -goto block_66; -} -else -{ -lean_object* x_81; -x_81 = lean_box(0); -x_67 = x_81; -goto block_76; -} -} -else -{ -lean_object* x_82; -x_82 = lean_box(0); -x_67 = x_82; -goto block_76; -} -} -else -{ -lean_object* x_83; -x_83 = lean_box(0); -x_67 = x_83; -goto block_76; -} -block_66: -{ -if (x_42 == 0) -{ -uint8_t x_44; -x_44 = l_Lean_Expr_isApp(x_40); -if (x_44 == 0) -{ -lean_object* x_45; uint8_t x_54; -x_54 = lean_expr_has_expr_mvar(x_40); -if (x_54 == 0) -{ -uint8_t x_55; -x_55 = lean_expr_has_level_mvar(x_40); -if (x_55 == 0) -{ -uint8_t x_56; -x_56 = lean_expr_has_fvar(x_40); -if (x_56 == 0) -{ -uint8_t x_57; lean_object* x_58; lean_object* x_59; -lean_dec(x_40); -lean_dec(x_3); -lean_dec(x_1); -x_57 = 0; -x_58 = lean_box(x_57); -x_59 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_59, 0, x_58); -lean_ctor_set(x_59, 1, x_43); -return x_59; -} -else -{ -lean_object* x_60; -x_60 = lean_box(0); -x_45 = x_60; -goto block_53; -} -} -else -{ -lean_object* x_61; -x_61 = lean_box(0); -x_45 = x_61; -goto block_53; -} -} -else -{ -lean_object* x_62; -x_62 = lean_box(0); -x_45 = x_62; -goto block_53; -} -block_53: -{ -uint8_t x_46; -lean_dec(x_45); -x_46 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_43, x_40); -if (x_46 == 0) -{ -lean_object* x_47; lean_object* x_48; -x_47 = lean_box(0); -lean_inc(x_40); -x_48 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_43, x_40, x_47); -x_4 = x_40; -x_5 = x_48; -goto _start; -} -else -{ -uint8_t x_50; lean_object* x_51; lean_object* x_52; -lean_dec(x_40); -lean_dec(x_3); -lean_dec(x_1); -x_50 = 0; -x_51 = lean_box(x_50); -x_52 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_52, 0, x_51); -lean_ctor_set(x_52, 1, x_43); -return x_52; -} -} -} -else -{ -x_4 = x_40; -x_5 = x_43; -goto _start; -} -} -else -{ -lean_object* x_64; lean_object* x_65; -lean_dec(x_40); -lean_dec(x_3); -lean_dec(x_1); -x_64 = lean_box(x_42); -x_65 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_65, 0, x_64); -lean_ctor_set(x_65, 1, x_43); -return x_65; -} -} -block_76: -{ -uint8_t x_68; -lean_dec(x_67); -x_68 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_5, x_41); -if (x_68 == 0) -{ -lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; uint8_t x_74; -x_69 = lean_box(0); -lean_inc(x_41); -x_70 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_5, x_41, x_69); -lean_inc(x_3); -lean_inc(x_1); -x_71 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__3___rarg(x_1, x_2, x_3, x_41, x_70); -x_72 = lean_ctor_get(x_71, 0); -lean_inc(x_72); -x_73 = lean_ctor_get(x_71, 1); -lean_inc(x_73); -lean_dec(x_71); -x_74 = lean_unbox(x_72); -lean_dec(x_72); -x_42 = x_74; -x_43 = x_73; -goto block_66; -} -else -{ -uint8_t x_75; -lean_dec(x_41); -x_75 = 0; -x_42 = x_75; -x_43 = x_5; -goto block_66; -} -} -} -case 6: -{ -lean_object* x_84; lean_object* x_85; uint8_t x_86; lean_object* x_87; lean_object* x_109; uint8_t x_119; -x_84 = lean_ctor_get(x_4, 1); -lean_inc(x_84); -x_85 = lean_ctor_get(x_4, 2); -lean_inc(x_85); -lean_dec(x_4); -x_119 = lean_expr_has_expr_mvar(x_84); -if (x_119 == 0) -{ -uint8_t x_120; -x_120 = lean_expr_has_level_mvar(x_84); -if (x_120 == 0) -{ -uint8_t x_121; -x_121 = lean_expr_has_fvar(x_84); -if (x_121 == 0) -{ -uint8_t x_122; -lean_dec(x_84); -x_122 = 0; -x_86 = x_122; -x_87 = x_5; -goto block_108; -} -else -{ -lean_object* x_123; -x_123 = lean_box(0); -x_109 = x_123; -goto block_118; -} -} -else -{ -lean_object* x_124; -x_124 = lean_box(0); -x_109 = x_124; -goto block_118; -} -} -else -{ -lean_object* x_125; -x_125 = lean_box(0); -x_109 = x_125; -goto block_118; -} -block_108: -{ -if (x_86 == 0) -{ -lean_object* x_88; uint8_t x_97; -x_97 = lean_expr_has_expr_mvar(x_85); -if (x_97 == 0) -{ -uint8_t x_98; -x_98 = lean_expr_has_level_mvar(x_85); -if (x_98 == 0) -{ -uint8_t x_99; -x_99 = lean_expr_has_fvar(x_85); -if (x_99 == 0) -{ -uint8_t x_100; lean_object* x_101; lean_object* x_102; -lean_dec(x_85); -lean_dec(x_3); -lean_dec(x_1); -x_100 = 0; -x_101 = lean_box(x_100); -x_102 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_102, 0, x_101); -lean_ctor_set(x_102, 1, x_87); -return x_102; -} -else -{ -lean_object* x_103; -x_103 = lean_box(0); -x_88 = x_103; -goto block_96; -} -} -else -{ -lean_object* x_104; -x_104 = lean_box(0); -x_88 = x_104; -goto block_96; -} -} -else -{ -lean_object* x_105; -x_105 = lean_box(0); -x_88 = x_105; -goto block_96; -} -block_96: -{ -uint8_t x_89; -lean_dec(x_88); -x_89 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_87, x_85); -if (x_89 == 0) -{ -lean_object* x_90; lean_object* x_91; -x_90 = lean_box(0); -lean_inc(x_85); -x_91 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_87, x_85, x_90); -x_4 = x_85; -x_5 = x_91; -goto _start; -} -else -{ -uint8_t x_93; lean_object* x_94; lean_object* x_95; -lean_dec(x_85); -lean_dec(x_3); -lean_dec(x_1); -x_93 = 0; -x_94 = lean_box(x_93); -x_95 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_95, 0, x_94); -lean_ctor_set(x_95, 1, x_87); -return x_95; -} -} -} -else -{ -lean_object* x_106; lean_object* x_107; -lean_dec(x_85); -lean_dec(x_3); -lean_dec(x_1); -x_106 = lean_box(x_86); -x_107 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_107, 0, x_106); -lean_ctor_set(x_107, 1, x_87); -return x_107; -} -} -block_118: -{ -uint8_t x_110; -lean_dec(x_109); -x_110 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_5, x_84); -if (x_110 == 0) -{ -lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; uint8_t x_116; -x_111 = lean_box(0); -lean_inc(x_84); -x_112 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_5, x_84, x_111); -lean_inc(x_3); -lean_inc(x_1); -x_113 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__3___rarg(x_1, x_2, x_3, x_84, x_112); -x_114 = lean_ctor_get(x_113, 0); -lean_inc(x_114); -x_115 = lean_ctor_get(x_113, 1); -lean_inc(x_115); -lean_dec(x_113); -x_116 = lean_unbox(x_114); -lean_dec(x_114); -x_86 = x_116; -x_87 = x_115; -goto block_108; -} -else -{ -uint8_t x_117; -lean_dec(x_84); -x_117 = 0; -x_86 = x_117; -x_87 = x_5; -goto block_108; -} -} -} -case 7: -{ -lean_object* x_126; lean_object* x_127; uint8_t x_128; lean_object* x_129; lean_object* x_151; uint8_t x_161; -x_126 = lean_ctor_get(x_4, 1); -lean_inc(x_126); -x_127 = lean_ctor_get(x_4, 2); -lean_inc(x_127); -lean_dec(x_4); -x_161 = lean_expr_has_expr_mvar(x_126); -if (x_161 == 0) -{ -uint8_t x_162; -x_162 = lean_expr_has_level_mvar(x_126); -if (x_162 == 0) -{ -uint8_t x_163; -x_163 = lean_expr_has_fvar(x_126); -if (x_163 == 0) -{ -uint8_t x_164; -lean_dec(x_126); -x_164 = 0; -x_128 = x_164; -x_129 = x_5; -goto block_150; -} -else -{ -lean_object* x_165; -x_165 = lean_box(0); -x_151 = x_165; -goto block_160; -} -} -else -{ -lean_object* x_166; -x_166 = lean_box(0); -x_151 = x_166; -goto block_160; -} -} -else -{ -lean_object* x_167; -x_167 = lean_box(0); -x_151 = x_167; -goto block_160; -} -block_150: -{ -if (x_128 == 0) -{ -lean_object* x_130; uint8_t x_139; -x_139 = lean_expr_has_expr_mvar(x_127); -if (x_139 == 0) -{ -uint8_t x_140; -x_140 = lean_expr_has_level_mvar(x_127); -if (x_140 == 0) -{ -uint8_t x_141; -x_141 = lean_expr_has_fvar(x_127); -if (x_141 == 0) -{ -uint8_t x_142; lean_object* x_143; lean_object* x_144; -lean_dec(x_127); -lean_dec(x_3); -lean_dec(x_1); -x_142 = 0; -x_143 = lean_box(x_142); -x_144 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_144, 0, x_143); -lean_ctor_set(x_144, 1, x_129); -return x_144; -} -else -{ -lean_object* x_145; -x_145 = lean_box(0); -x_130 = x_145; -goto block_138; -} -} -else -{ -lean_object* x_146; -x_146 = lean_box(0); -x_130 = x_146; -goto block_138; -} -} -else -{ -lean_object* x_147; -x_147 = lean_box(0); -x_130 = x_147; -goto block_138; -} -block_138: -{ -uint8_t x_131; -lean_dec(x_130); -x_131 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_129, x_127); -if (x_131 == 0) -{ -lean_object* x_132; lean_object* x_133; -x_132 = lean_box(0); -lean_inc(x_127); -x_133 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_129, x_127, x_132); -x_4 = x_127; -x_5 = x_133; -goto _start; -} -else -{ -uint8_t x_135; lean_object* x_136; lean_object* x_137; -lean_dec(x_127); -lean_dec(x_3); -lean_dec(x_1); -x_135 = 0; -x_136 = lean_box(x_135); -x_137 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_137, 0, x_136); -lean_ctor_set(x_137, 1, x_129); -return x_137; -} -} -} -else -{ -lean_object* x_148; lean_object* x_149; -lean_dec(x_127); -lean_dec(x_3); -lean_dec(x_1); -x_148 = lean_box(x_128); -x_149 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_149, 0, x_148); -lean_ctor_set(x_149, 1, x_129); -return x_149; -} -} -block_160: -{ -uint8_t x_152; -lean_dec(x_151); -x_152 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_5, x_126); -if (x_152 == 0) -{ -lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; uint8_t x_158; -x_153 = lean_box(0); -lean_inc(x_126); -x_154 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_5, x_126, x_153); -lean_inc(x_3); -lean_inc(x_1); -x_155 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__3___rarg(x_1, x_2, x_3, x_126, x_154); -x_156 = lean_ctor_get(x_155, 0); -lean_inc(x_156); -x_157 = lean_ctor_get(x_155, 1); -lean_inc(x_157); -lean_dec(x_155); -x_158 = lean_unbox(x_156); -lean_dec(x_156); -x_128 = x_158; -x_129 = x_157; -goto block_150; -} -else -{ -uint8_t x_159; -lean_dec(x_126); -x_159 = 0; -x_128 = x_159; -x_129 = x_5; -goto block_150; -} -} -} -case 8: -{ -lean_object* x_168; lean_object* x_169; lean_object* x_170; uint8_t x_171; lean_object* x_172; uint8_t x_194; lean_object* x_195; lean_object* x_214; uint8_t x_224; -x_168 = lean_ctor_get(x_4, 1); -lean_inc(x_168); -x_169 = lean_ctor_get(x_4, 2); -lean_inc(x_169); -x_170 = lean_ctor_get(x_4, 3); -lean_inc(x_170); -lean_dec(x_4); -x_224 = lean_expr_has_expr_mvar(x_168); -if (x_224 == 0) -{ -uint8_t x_225; -x_225 = lean_expr_has_level_mvar(x_168); -if (x_225 == 0) -{ -uint8_t x_226; -x_226 = lean_expr_has_fvar(x_168); -if (x_226 == 0) -{ -uint8_t x_227; -lean_dec(x_168); -x_227 = 0; -x_194 = x_227; -x_195 = x_5; -goto block_213; -} -else -{ -lean_object* x_228; -x_228 = lean_box(0); -x_214 = x_228; -goto block_223; -} -} -else -{ -lean_object* x_229; -x_229 = lean_box(0); -x_214 = x_229; -goto block_223; -} -} -else -{ -lean_object* x_230; -x_230 = lean_box(0); -x_214 = x_230; -goto block_223; -} -block_193: -{ -if (x_171 == 0) -{ -lean_object* x_173; uint8_t x_182; -x_182 = lean_expr_has_expr_mvar(x_170); -if (x_182 == 0) -{ -uint8_t x_183; -x_183 = lean_expr_has_level_mvar(x_170); -if (x_183 == 0) -{ -uint8_t x_184; -x_184 = lean_expr_has_fvar(x_170); -if (x_184 == 0) -{ -uint8_t x_185; lean_object* x_186; lean_object* x_187; -lean_dec(x_170); -lean_dec(x_3); -lean_dec(x_1); -x_185 = 0; -x_186 = lean_box(x_185); -x_187 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_187, 0, x_186); -lean_ctor_set(x_187, 1, x_172); -return x_187; -} -else -{ -lean_object* x_188; -x_188 = lean_box(0); -x_173 = x_188; -goto block_181; -} -} -else -{ -lean_object* x_189; -x_189 = lean_box(0); -x_173 = x_189; -goto block_181; -} -} -else -{ -lean_object* x_190; -x_190 = lean_box(0); -x_173 = x_190; -goto block_181; -} -block_181: -{ -uint8_t x_174; -lean_dec(x_173); -x_174 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_172, x_170); -if (x_174 == 0) -{ -lean_object* x_175; lean_object* x_176; -x_175 = lean_box(0); -lean_inc(x_170); -x_176 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_172, x_170, x_175); -x_4 = x_170; -x_5 = x_176; -goto _start; -} -else -{ -uint8_t x_178; lean_object* x_179; lean_object* x_180; -lean_dec(x_170); -lean_dec(x_3); -lean_dec(x_1); -x_178 = 0; -x_179 = lean_box(x_178); -x_180 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_180, 0, x_179); -lean_ctor_set(x_180, 1, x_172); -return x_180; -} -} -} -else -{ -lean_object* x_191; lean_object* x_192; -lean_dec(x_170); -lean_dec(x_3); -lean_dec(x_1); -x_191 = lean_box(x_171); -x_192 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_192, 0, x_191); -lean_ctor_set(x_192, 1, x_172); -return x_192; -} -} -block_213: -{ -lean_object* x_196; -if (x_194 == 0) -{ -uint8_t x_206; -x_206 = lean_expr_has_expr_mvar(x_169); -if (x_206 == 0) -{ -uint8_t x_207; -x_207 = lean_expr_has_level_mvar(x_169); -if (x_207 == 0) -{ -uint8_t x_208; -x_208 = lean_expr_has_fvar(x_169); -if (x_208 == 0) -{ -uint8_t x_209; -lean_dec(x_169); -x_209 = 0; -x_171 = x_209; -x_172 = x_195; -goto block_193; -} -else -{ -lean_object* x_210; -x_210 = lean_box(0); -x_196 = x_210; -goto block_205; -} -} -else -{ -lean_object* x_211; -x_211 = lean_box(0); -x_196 = x_211; -goto block_205; -} -} -else -{ -lean_object* x_212; -x_212 = lean_box(0); -x_196 = x_212; -goto block_205; -} -} -else -{ -lean_dec(x_169); -x_171 = x_194; -x_172 = x_195; -goto block_193; -} -block_205: -{ -uint8_t x_197; -lean_dec(x_196); -x_197 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_195, x_169); -if (x_197 == 0) -{ -lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; uint8_t x_203; -x_198 = lean_box(0); -lean_inc(x_169); -x_199 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_195, x_169, x_198); -lean_inc(x_3); -lean_inc(x_1); -x_200 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__3___rarg(x_1, x_2, x_3, x_169, x_199); -x_201 = lean_ctor_get(x_200, 0); -lean_inc(x_201); -x_202 = lean_ctor_get(x_200, 1); -lean_inc(x_202); -lean_dec(x_200); -x_203 = lean_unbox(x_201); -lean_dec(x_201); -x_171 = x_203; -x_172 = x_202; -goto block_193; -} -else -{ -uint8_t x_204; -lean_dec(x_169); -x_204 = 0; -x_171 = x_204; -x_172 = x_195; -goto block_193; -} -} -} -block_223: -{ -uint8_t x_215; -lean_dec(x_214); -x_215 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_5, x_168); -if (x_215 == 0) -{ -lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; uint8_t x_221; -x_216 = lean_box(0); -lean_inc(x_168); -x_217 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_5, x_168, x_216); -lean_inc(x_3); -lean_inc(x_1); -x_218 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__3___rarg(x_1, x_2, x_3, x_168, x_217); -x_219 = lean_ctor_get(x_218, 0); -lean_inc(x_219); -x_220 = lean_ctor_get(x_218, 1); -lean_inc(x_220); -lean_dec(x_218); -x_221 = lean_unbox(x_219); -lean_dec(x_219); -x_194 = x_221; -x_195 = x_220; -goto block_213; -} -else -{ -uint8_t x_222; -lean_dec(x_168); -x_222 = 0; -x_194 = x_222; -x_195 = x_5; -goto block_213; -} -} -} -case 10: -{ -lean_object* x_231; lean_object* x_232; uint8_t x_241; -x_231 = lean_ctor_get(x_4, 1); -lean_inc(x_231); -lean_dec(x_4); -x_241 = lean_expr_has_expr_mvar(x_231); -if (x_241 == 0) -{ -uint8_t x_242; -x_242 = lean_expr_has_level_mvar(x_231); -if (x_242 == 0) -{ -uint8_t x_243; -x_243 = lean_expr_has_fvar(x_231); -if (x_243 == 0) -{ -uint8_t x_244; lean_object* x_245; lean_object* x_246; -lean_dec(x_231); -lean_dec(x_3); -lean_dec(x_1); -x_244 = 0; -x_245 = lean_box(x_244); -x_246 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_246, 0, x_245); -lean_ctor_set(x_246, 1, x_5); -return x_246; -} -else -{ -lean_object* x_247; -x_247 = lean_box(0); -x_232 = x_247; -goto block_240; -} -} -else -{ -lean_object* x_248; -x_248 = lean_box(0); -x_232 = x_248; -goto block_240; -} -} -else -{ -lean_object* x_249; -x_249 = lean_box(0); -x_232 = x_249; -goto block_240; -} -block_240: -{ -uint8_t x_233; -lean_dec(x_232); -x_233 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_5, x_231); -if (x_233 == 0) -{ -lean_object* x_234; lean_object* x_235; -x_234 = lean_box(0); -lean_inc(x_231); -x_235 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_5, x_231, x_234); -x_4 = x_231; -x_5 = x_235; -goto _start; -} -else -{ -uint8_t x_237; lean_object* x_238; lean_object* x_239; -lean_dec(x_231); -lean_dec(x_3); -lean_dec(x_1); -x_237 = 0; -x_238 = lean_box(x_237); -x_239 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_239, 0, x_238); -lean_ctor_set(x_239, 1, x_5); -return x_239; -} -} -} -case 11: -{ -lean_object* x_250; lean_object* x_251; uint8_t x_260; -x_250 = lean_ctor_get(x_4, 2); -lean_inc(x_250); -lean_dec(x_4); -x_260 = lean_expr_has_expr_mvar(x_250); -if (x_260 == 0) -{ -uint8_t x_261; -x_261 = lean_expr_has_level_mvar(x_250); -if (x_261 == 0) -{ -uint8_t x_262; -x_262 = lean_expr_has_fvar(x_250); -if (x_262 == 0) -{ -uint8_t x_263; lean_object* x_264; lean_object* x_265; -lean_dec(x_250); -lean_dec(x_3); -lean_dec(x_1); -x_263 = 0; -x_264 = lean_box(x_263); -x_265 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_265, 0, x_264); -lean_ctor_set(x_265, 1, x_5); -return x_265; -} -else -{ -lean_object* x_266; -x_266 = lean_box(0); -x_251 = x_266; -goto block_259; -} -} -else -{ -lean_object* x_267; -x_267 = lean_box(0); -x_251 = x_267; -goto block_259; -} -} -else -{ -lean_object* x_268; -x_268 = lean_box(0); -x_251 = x_268; -goto block_259; -} -block_259: -{ -uint8_t x_252; -lean_dec(x_251); -x_252 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_5, x_250); -if (x_252 == 0) -{ -lean_object* x_253; lean_object* x_254; -x_253 = lean_box(0); -lean_inc(x_250); -x_254 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_5, x_250, x_253); -x_4 = x_250; -x_5 = x_254; -goto _start; -} -else -{ -uint8_t x_256; lean_object* x_257; lean_object* x_258; -lean_dec(x_250); -lean_dec(x_3); -lean_dec(x_1); -x_256 = 0; -x_257 = lean_box(x_256); -x_258 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_258, 0, x_257); -lean_ctor_set(x_258, 1, x_5); -return x_258; -} -} -} -default: -{ -uint8_t x_269; lean_object* x_270; lean_object* x_271; -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_269 = 0; -x_270 = lean_box(x_269); -x_271 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_271, 0, x_270); -lean_ctor_set(x_271, 1, x_5); -return x_271; -} -} -} -} -lean_object* l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__3(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__3___rarg___boxed), 5, 0); -return x_2; -} -} -uint8_t l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__12(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; uint8_t x_5; -x_4 = lean_array_get_size(x_2); -x_5 = lean_nat_dec_lt(x_3, x_4); -lean_dec(x_4); -if (x_5 == 0) -{ -uint8_t x_6; -lean_dec(x_3); -x_6 = 0; -return x_6; -} -else -{ -lean_object* x_7; uint8_t x_8; -x_7 = lean_array_fget(x_2, x_3); -x_8 = l_PersistentArray_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__11(x_1, x_7); -lean_dec(x_7); -if (x_8 == 0) -{ -lean_object* x_9; lean_object* x_10; -x_9 = lean_unsigned_to_nat(1u); -x_10 = lean_nat_add(x_3, x_9); -lean_dec(x_3); -x_3 = x_10; -goto _start; -} -else -{ -lean_dec(x_3); -return x_8; -} -} -} -} -uint8_t l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__13(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; uint8_t x_5; -x_4 = lean_array_get_size(x_2); -x_5 = lean_nat_dec_lt(x_3, x_4); -lean_dec(x_4); -if (x_5 == 0) -{ -uint8_t x_6; -lean_dec(x_3); -x_6 = 0; -return x_6; -} -else -{ -lean_object* x_7; -x_7 = lean_array_fget(x_2, x_3); -if (lean_obj_tag(x_7) == 0) -{ -lean_object* x_8; lean_object* x_9; -x_8 = lean_unsigned_to_nat(1u); -x_9 = lean_nat_add(x_3, x_8); -lean_dec(x_3); -x_3 = x_9; -goto _start; -} -else -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_11 = lean_ctor_get(x_7, 0); -lean_inc(x_11); -lean_dec(x_7); -x_12 = l_Lean_LocalDecl_name(x_11); -lean_dec(x_11); -x_13 = lean_unsigned_to_nat(0u); -x_14 = l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__2(x_12, x_1, x_13); -lean_dec(x_12); -if (x_14 == 0) -{ -lean_object* x_15; lean_object* x_16; -x_15 = lean_unsigned_to_nat(1u); -x_16 = lean_nat_add(x_3, x_15); -lean_dec(x_3); -x_3 = x_16; -goto _start; -} -else -{ -lean_dec(x_3); -return x_14; -} -} -} -} -} -uint8_t l_PersistentArray_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__11(lean_object* x_1, lean_object* x_2) { -_start: -{ -if (lean_obj_tag(x_2) == 0) -{ -lean_object* x_3; lean_object* x_4; uint8_t x_5; -x_3 = lean_ctor_get(x_2, 0); -x_4 = lean_unsigned_to_nat(0u); -x_5 = l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__12(x_1, x_3, x_4); -return x_5; -} -else -{ -lean_object* x_6; lean_object* x_7; uint8_t x_8; -x_6 = lean_ctor_get(x_2, 0); -x_7 = lean_unsigned_to_nat(0u); -x_8 = l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__13(x_1, x_6, x_7); -return x_8; -} -} -} -uint8_t l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__14(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; uint8_t x_5; -x_4 = lean_array_get_size(x_2); -x_5 = lean_nat_dec_lt(x_3, x_4); -lean_dec(x_4); -if (x_5 == 0) -{ -uint8_t x_6; -lean_dec(x_3); -x_6 = 0; -return x_6; -} -else -{ -lean_object* x_7; -x_7 = lean_array_fget(x_2, x_3); -if (lean_obj_tag(x_7) == 0) -{ -lean_object* x_8; lean_object* x_9; -x_8 = lean_unsigned_to_nat(1u); -x_9 = lean_nat_add(x_3, x_8); -lean_dec(x_3); -x_3 = x_9; -goto _start; -} -else -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_11 = lean_ctor_get(x_7, 0); -lean_inc(x_11); -lean_dec(x_7); -x_12 = l_Lean_LocalDecl_name(x_11); -lean_dec(x_11); -x_13 = lean_unsigned_to_nat(0u); -x_14 = l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__2(x_12, x_1, x_13); -lean_dec(x_12); -if (x_14 == 0) -{ -lean_object* x_15; lean_object* x_16; -x_15 = lean_unsigned_to_nat(1u); -x_16 = lean_nat_add(x_3, x_15); -lean_dec(x_3); -x_3 = x_16; -goto _start; -} -else -{ -lean_dec(x_3); -return x_14; -} -} -} -} -} -uint8_t l_PersistentArray_anyM___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__10(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; uint8_t x_4; -x_3 = lean_ctor_get(x_2, 0); -x_4 = l_PersistentArray_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__11(x_1, x_3); -if (x_4 == 0) -{ -lean_object* x_5; lean_object* x_6; uint8_t x_7; -x_5 = lean_ctor_get(x_2, 1); -x_6 = lean_unsigned_to_nat(0u); -x_7 = l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__14(x_1, x_5, x_6); -return x_7; -} -else -{ -return x_4; -} -} -} -lean_object* l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__9___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -switch (lean_obj_tag(x_4)) { -case 1: -{ -lean_object* x_6; lean_object* x_7; uint8_t x_8; lean_object* x_9; lean_object* x_10; -lean_dec(x_3); -lean_dec(x_1); -x_6 = lean_ctor_get(x_4, 0); -lean_inc(x_6); -lean_dec(x_4); -x_7 = lean_unsigned_to_nat(0u); -x_8 = l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__2(x_6, x_2, x_7); -lean_dec(x_6); -x_9 = lean_box(x_8); -x_10 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_10, 0, x_9); -lean_ctor_set(x_10, 1, x_5); -return x_10; -} -case 2: -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_11 = lean_ctor_get(x_4, 0); -lean_inc(x_11); -lean_dec(x_4); -x_12 = lean_ctor_get(x_1, 5); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_3); -x_13 = lean_apply_2(x_12, x_3, x_11); -if (lean_obj_tag(x_13) == 0) -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; lean_object* x_19; lean_object* x_20; -x_14 = lean_ctor_get(x_1, 7); -lean_inc(x_14); -lean_dec(x_1); -x_15 = lean_apply_2(x_14, x_3, x_11); -x_16 = lean_ctor_get(x_15, 1); -lean_inc(x_16); -lean_dec(x_15); -x_17 = lean_ctor_get(x_16, 1); -lean_inc(x_17); -lean_dec(x_16); -x_18 = l_PersistentArray_anyM___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__10(x_2, x_17); -lean_dec(x_17); -x_19 = lean_box(x_18); -x_20 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_20, 0, x_19); -lean_ctor_set(x_20, 1, x_5); -return x_20; -} -else -{ -lean_object* x_21; lean_object* x_22; uint8_t x_31; -lean_dec(x_11); -x_21 = lean_ctor_get(x_13, 0); -lean_inc(x_21); -lean_dec(x_13); -x_31 = lean_expr_has_expr_mvar(x_21); -if (x_31 == 0) -{ -uint8_t x_32; -x_32 = lean_expr_has_level_mvar(x_21); -if (x_32 == 0) -{ -uint8_t x_33; -x_33 = lean_expr_has_fvar(x_21); -if (x_33 == 0) -{ -uint8_t x_34; lean_object* x_35; lean_object* x_36; -lean_dec(x_21); -lean_dec(x_3); -lean_dec(x_1); -x_34 = 0; -x_35 = lean_box(x_34); -x_36 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_5); -return x_36; -} -else -{ -lean_object* x_37; -x_37 = lean_box(0); -x_22 = x_37; -goto block_30; -} -} -else -{ -lean_object* x_38; -x_38 = lean_box(0); -x_22 = x_38; -goto block_30; -} -} -else -{ -lean_object* x_39; -x_39 = lean_box(0); -x_22 = x_39; -goto block_30; -} -block_30: -{ -uint8_t x_23; -lean_dec(x_22); -x_23 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_5, x_21); -if (x_23 == 0) -{ -lean_object* x_24; lean_object* x_25; -x_24 = lean_box(0); -lean_inc(x_21); -x_25 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_5, x_21, x_24); -x_4 = x_21; -x_5 = x_25; -goto _start; -} -else -{ -uint8_t x_27; lean_object* x_28; lean_object* x_29; -lean_dec(x_21); -lean_dec(x_3); -lean_dec(x_1); -x_27 = 0; -x_28 = lean_box(x_27); -x_29 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_29, 0, x_28); -lean_ctor_set(x_29, 1, x_5); -return x_29; -} -} -} -} -case 5: -{ -lean_object* x_40; lean_object* x_41; uint8_t x_42; lean_object* x_43; lean_object* x_67; uint8_t x_77; -x_40 = lean_ctor_get(x_4, 0); -lean_inc(x_40); -x_41 = lean_ctor_get(x_4, 1); -lean_inc(x_41); -lean_dec(x_4); -x_77 = lean_expr_has_expr_mvar(x_41); -if (x_77 == 0) -{ -uint8_t x_78; -x_78 = lean_expr_has_level_mvar(x_41); -if (x_78 == 0) -{ -uint8_t x_79; -x_79 = lean_expr_has_fvar(x_41); -if (x_79 == 0) -{ -uint8_t x_80; -lean_dec(x_41); -x_80 = 0; -x_42 = x_80; -x_43 = x_5; -goto block_66; -} -else -{ -lean_object* x_81; -x_81 = lean_box(0); -x_67 = x_81; -goto block_76; -} -} -else -{ -lean_object* x_82; -x_82 = lean_box(0); -x_67 = x_82; -goto block_76; -} -} -else -{ -lean_object* x_83; -x_83 = lean_box(0); -x_67 = x_83; -goto block_76; -} -block_66: -{ -if (x_42 == 0) -{ -uint8_t x_44; -x_44 = l_Lean_Expr_isApp(x_40); -if (x_44 == 0) -{ -lean_object* x_45; uint8_t x_54; -x_54 = lean_expr_has_expr_mvar(x_40); -if (x_54 == 0) -{ -uint8_t x_55; -x_55 = lean_expr_has_level_mvar(x_40); -if (x_55 == 0) -{ -uint8_t x_56; -x_56 = lean_expr_has_fvar(x_40); -if (x_56 == 0) -{ -uint8_t x_57; lean_object* x_58; lean_object* x_59; -lean_dec(x_40); -lean_dec(x_3); -lean_dec(x_1); -x_57 = 0; -x_58 = lean_box(x_57); -x_59 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_59, 0, x_58); -lean_ctor_set(x_59, 1, x_43); -return x_59; -} -else -{ -lean_object* x_60; -x_60 = lean_box(0); -x_45 = x_60; -goto block_53; -} -} -else -{ -lean_object* x_61; -x_61 = lean_box(0); -x_45 = x_61; -goto block_53; -} -} -else -{ -lean_object* x_62; -x_62 = lean_box(0); -x_45 = x_62; -goto block_53; -} -block_53: -{ -uint8_t x_46; -lean_dec(x_45); -x_46 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_43, x_40); -if (x_46 == 0) -{ -lean_object* x_47; lean_object* x_48; -x_47 = lean_box(0); -lean_inc(x_40); -x_48 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_43, x_40, x_47); -x_4 = x_40; -x_5 = x_48; -goto _start; -} -else -{ -uint8_t x_50; lean_object* x_51; lean_object* x_52; -lean_dec(x_40); -lean_dec(x_3); -lean_dec(x_1); -x_50 = 0; -x_51 = lean_box(x_50); -x_52 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_52, 0, x_51); -lean_ctor_set(x_52, 1, x_43); -return x_52; -} -} -} -else -{ -x_4 = x_40; -x_5 = x_43; -goto _start; -} -} -else -{ -lean_object* x_64; lean_object* x_65; -lean_dec(x_40); -lean_dec(x_3); -lean_dec(x_1); -x_64 = lean_box(x_42); -x_65 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_65, 0, x_64); -lean_ctor_set(x_65, 1, x_43); -return x_65; -} -} -block_76: -{ -uint8_t x_68; -lean_dec(x_67); -x_68 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_5, x_41); -if (x_68 == 0) -{ -lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; uint8_t x_74; -x_69 = lean_box(0); -lean_inc(x_41); -x_70 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_5, x_41, x_69); -lean_inc(x_3); -lean_inc(x_1); -x_71 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__9___rarg(x_1, x_2, x_3, x_41, x_70); -x_72 = lean_ctor_get(x_71, 0); -lean_inc(x_72); -x_73 = lean_ctor_get(x_71, 1); -lean_inc(x_73); -lean_dec(x_71); -x_74 = lean_unbox(x_72); -lean_dec(x_72); -x_42 = x_74; -x_43 = x_73; -goto block_66; -} -else -{ -uint8_t x_75; -lean_dec(x_41); -x_75 = 0; -x_42 = x_75; -x_43 = x_5; -goto block_66; -} -} -} -case 6: -{ -lean_object* x_84; lean_object* x_85; uint8_t x_86; lean_object* x_87; lean_object* x_109; uint8_t x_119; -x_84 = lean_ctor_get(x_4, 1); -lean_inc(x_84); -x_85 = lean_ctor_get(x_4, 2); -lean_inc(x_85); -lean_dec(x_4); -x_119 = lean_expr_has_expr_mvar(x_84); -if (x_119 == 0) -{ -uint8_t x_120; -x_120 = lean_expr_has_level_mvar(x_84); -if (x_120 == 0) -{ -uint8_t x_121; -x_121 = lean_expr_has_fvar(x_84); -if (x_121 == 0) -{ -uint8_t x_122; -lean_dec(x_84); -x_122 = 0; -x_86 = x_122; -x_87 = x_5; -goto block_108; -} -else -{ -lean_object* x_123; -x_123 = lean_box(0); -x_109 = x_123; -goto block_118; -} -} -else -{ -lean_object* x_124; -x_124 = lean_box(0); -x_109 = x_124; -goto block_118; -} -} -else -{ -lean_object* x_125; -x_125 = lean_box(0); -x_109 = x_125; -goto block_118; -} -block_108: -{ -if (x_86 == 0) -{ -lean_object* x_88; uint8_t x_97; -x_97 = lean_expr_has_expr_mvar(x_85); -if (x_97 == 0) -{ -uint8_t x_98; -x_98 = lean_expr_has_level_mvar(x_85); -if (x_98 == 0) -{ -uint8_t x_99; -x_99 = lean_expr_has_fvar(x_85); -if (x_99 == 0) -{ -uint8_t x_100; lean_object* x_101; lean_object* x_102; -lean_dec(x_85); -lean_dec(x_3); -lean_dec(x_1); -x_100 = 0; -x_101 = lean_box(x_100); -x_102 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_102, 0, x_101); -lean_ctor_set(x_102, 1, x_87); -return x_102; -} -else -{ -lean_object* x_103; -x_103 = lean_box(0); -x_88 = x_103; -goto block_96; -} -} -else -{ -lean_object* x_104; -x_104 = lean_box(0); -x_88 = x_104; -goto block_96; -} -} -else -{ -lean_object* x_105; -x_105 = lean_box(0); -x_88 = x_105; -goto block_96; -} -block_96: -{ -uint8_t x_89; -lean_dec(x_88); -x_89 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_87, x_85); -if (x_89 == 0) -{ -lean_object* x_90; lean_object* x_91; -x_90 = lean_box(0); -lean_inc(x_85); -x_91 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_87, x_85, x_90); -x_4 = x_85; -x_5 = x_91; -goto _start; -} -else -{ -uint8_t x_93; lean_object* x_94; lean_object* x_95; -lean_dec(x_85); -lean_dec(x_3); -lean_dec(x_1); -x_93 = 0; -x_94 = lean_box(x_93); -x_95 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_95, 0, x_94); -lean_ctor_set(x_95, 1, x_87); -return x_95; -} -} -} -else -{ -lean_object* x_106; lean_object* x_107; -lean_dec(x_85); -lean_dec(x_3); -lean_dec(x_1); -x_106 = lean_box(x_86); -x_107 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_107, 0, x_106); -lean_ctor_set(x_107, 1, x_87); -return x_107; -} -} -block_118: -{ -uint8_t x_110; -lean_dec(x_109); -x_110 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_5, x_84); -if (x_110 == 0) -{ -lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; uint8_t x_116; -x_111 = lean_box(0); -lean_inc(x_84); -x_112 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_5, x_84, x_111); -lean_inc(x_3); -lean_inc(x_1); -x_113 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__9___rarg(x_1, x_2, x_3, x_84, x_112); -x_114 = lean_ctor_get(x_113, 0); -lean_inc(x_114); -x_115 = lean_ctor_get(x_113, 1); -lean_inc(x_115); -lean_dec(x_113); -x_116 = lean_unbox(x_114); -lean_dec(x_114); -x_86 = x_116; -x_87 = x_115; -goto block_108; -} -else -{ -uint8_t x_117; -lean_dec(x_84); -x_117 = 0; -x_86 = x_117; -x_87 = x_5; -goto block_108; -} -} -} -case 7: -{ -lean_object* x_126; lean_object* x_127; uint8_t x_128; lean_object* x_129; lean_object* x_151; uint8_t x_161; -x_126 = lean_ctor_get(x_4, 1); -lean_inc(x_126); -x_127 = lean_ctor_get(x_4, 2); -lean_inc(x_127); -lean_dec(x_4); -x_161 = lean_expr_has_expr_mvar(x_126); -if (x_161 == 0) -{ -uint8_t x_162; -x_162 = lean_expr_has_level_mvar(x_126); -if (x_162 == 0) -{ -uint8_t x_163; -x_163 = lean_expr_has_fvar(x_126); -if (x_163 == 0) -{ -uint8_t x_164; -lean_dec(x_126); -x_164 = 0; -x_128 = x_164; -x_129 = x_5; -goto block_150; -} -else -{ -lean_object* x_165; -x_165 = lean_box(0); -x_151 = x_165; -goto block_160; -} -} -else -{ -lean_object* x_166; -x_166 = lean_box(0); -x_151 = x_166; -goto block_160; -} -} -else -{ -lean_object* x_167; -x_167 = lean_box(0); -x_151 = x_167; -goto block_160; -} -block_150: -{ -if (x_128 == 0) -{ -lean_object* x_130; uint8_t x_139; -x_139 = lean_expr_has_expr_mvar(x_127); -if (x_139 == 0) -{ -uint8_t x_140; -x_140 = lean_expr_has_level_mvar(x_127); -if (x_140 == 0) -{ -uint8_t x_141; -x_141 = lean_expr_has_fvar(x_127); -if (x_141 == 0) -{ -uint8_t x_142; lean_object* x_143; lean_object* x_144; -lean_dec(x_127); -lean_dec(x_3); -lean_dec(x_1); -x_142 = 0; -x_143 = lean_box(x_142); -x_144 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_144, 0, x_143); -lean_ctor_set(x_144, 1, x_129); -return x_144; -} -else -{ -lean_object* x_145; -x_145 = lean_box(0); -x_130 = x_145; -goto block_138; -} -} -else -{ -lean_object* x_146; -x_146 = lean_box(0); -x_130 = x_146; -goto block_138; -} -} -else -{ -lean_object* x_147; -x_147 = lean_box(0); -x_130 = x_147; -goto block_138; -} -block_138: -{ -uint8_t x_131; -lean_dec(x_130); -x_131 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_129, x_127); -if (x_131 == 0) -{ -lean_object* x_132; lean_object* x_133; -x_132 = lean_box(0); -lean_inc(x_127); -x_133 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_129, x_127, x_132); -x_4 = x_127; -x_5 = x_133; -goto _start; -} -else -{ -uint8_t x_135; lean_object* x_136; lean_object* x_137; -lean_dec(x_127); -lean_dec(x_3); -lean_dec(x_1); -x_135 = 0; -x_136 = lean_box(x_135); -x_137 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_137, 0, x_136); -lean_ctor_set(x_137, 1, x_129); -return x_137; -} -} -} -else -{ -lean_object* x_148; lean_object* x_149; -lean_dec(x_127); -lean_dec(x_3); -lean_dec(x_1); -x_148 = lean_box(x_128); -x_149 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_149, 0, x_148); -lean_ctor_set(x_149, 1, x_129); -return x_149; -} -} -block_160: -{ -uint8_t x_152; -lean_dec(x_151); -x_152 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_5, x_126); -if (x_152 == 0) -{ -lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; uint8_t x_158; -x_153 = lean_box(0); -lean_inc(x_126); -x_154 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_5, x_126, x_153); -lean_inc(x_3); -lean_inc(x_1); -x_155 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__9___rarg(x_1, x_2, x_3, x_126, x_154); -x_156 = lean_ctor_get(x_155, 0); -lean_inc(x_156); -x_157 = lean_ctor_get(x_155, 1); -lean_inc(x_157); -lean_dec(x_155); -x_158 = lean_unbox(x_156); -lean_dec(x_156); -x_128 = x_158; -x_129 = x_157; -goto block_150; -} -else -{ -uint8_t x_159; -lean_dec(x_126); -x_159 = 0; -x_128 = x_159; -x_129 = x_5; -goto block_150; -} -} -} -case 8: -{ -lean_object* x_168; lean_object* x_169; lean_object* x_170; uint8_t x_171; lean_object* x_172; uint8_t x_194; lean_object* x_195; lean_object* x_214; uint8_t x_224; -x_168 = lean_ctor_get(x_4, 1); -lean_inc(x_168); -x_169 = lean_ctor_get(x_4, 2); -lean_inc(x_169); -x_170 = lean_ctor_get(x_4, 3); -lean_inc(x_170); -lean_dec(x_4); -x_224 = lean_expr_has_expr_mvar(x_168); -if (x_224 == 0) -{ -uint8_t x_225; -x_225 = lean_expr_has_level_mvar(x_168); -if (x_225 == 0) -{ -uint8_t x_226; -x_226 = lean_expr_has_fvar(x_168); -if (x_226 == 0) -{ -uint8_t x_227; -lean_dec(x_168); -x_227 = 0; -x_194 = x_227; -x_195 = x_5; -goto block_213; -} -else -{ -lean_object* x_228; -x_228 = lean_box(0); -x_214 = x_228; -goto block_223; -} -} -else -{ -lean_object* x_229; -x_229 = lean_box(0); -x_214 = x_229; -goto block_223; -} -} -else -{ -lean_object* x_230; -x_230 = lean_box(0); -x_214 = x_230; -goto block_223; -} -block_193: -{ -if (x_171 == 0) -{ -lean_object* x_173; uint8_t x_182; -x_182 = lean_expr_has_expr_mvar(x_170); -if (x_182 == 0) -{ -uint8_t x_183; -x_183 = lean_expr_has_level_mvar(x_170); -if (x_183 == 0) -{ -uint8_t x_184; -x_184 = lean_expr_has_fvar(x_170); -if (x_184 == 0) -{ -uint8_t x_185; lean_object* x_186; lean_object* x_187; -lean_dec(x_170); -lean_dec(x_3); -lean_dec(x_1); -x_185 = 0; -x_186 = lean_box(x_185); -x_187 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_187, 0, x_186); -lean_ctor_set(x_187, 1, x_172); -return x_187; -} -else -{ -lean_object* x_188; -x_188 = lean_box(0); -x_173 = x_188; -goto block_181; -} -} -else -{ -lean_object* x_189; -x_189 = lean_box(0); -x_173 = x_189; -goto block_181; -} -} -else -{ -lean_object* x_190; -x_190 = lean_box(0); -x_173 = x_190; -goto block_181; -} -block_181: -{ -uint8_t x_174; -lean_dec(x_173); -x_174 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_172, x_170); -if (x_174 == 0) -{ -lean_object* x_175; lean_object* x_176; -x_175 = lean_box(0); -lean_inc(x_170); -x_176 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_172, x_170, x_175); -x_4 = x_170; -x_5 = x_176; -goto _start; -} -else -{ -uint8_t x_178; lean_object* x_179; lean_object* x_180; -lean_dec(x_170); -lean_dec(x_3); -lean_dec(x_1); -x_178 = 0; -x_179 = lean_box(x_178); -x_180 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_180, 0, x_179); -lean_ctor_set(x_180, 1, x_172); -return x_180; -} -} -} -else -{ -lean_object* x_191; lean_object* x_192; -lean_dec(x_170); -lean_dec(x_3); -lean_dec(x_1); -x_191 = lean_box(x_171); -x_192 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_192, 0, x_191); -lean_ctor_set(x_192, 1, x_172); -return x_192; -} -} -block_213: -{ -lean_object* x_196; -if (x_194 == 0) -{ -uint8_t x_206; -x_206 = lean_expr_has_expr_mvar(x_169); -if (x_206 == 0) -{ -uint8_t x_207; -x_207 = lean_expr_has_level_mvar(x_169); -if (x_207 == 0) -{ -uint8_t x_208; -x_208 = lean_expr_has_fvar(x_169); -if (x_208 == 0) -{ -uint8_t x_209; -lean_dec(x_169); -x_209 = 0; -x_171 = x_209; -x_172 = x_195; -goto block_193; -} -else -{ -lean_object* x_210; -x_210 = lean_box(0); -x_196 = x_210; -goto block_205; -} -} -else -{ -lean_object* x_211; -x_211 = lean_box(0); -x_196 = x_211; -goto block_205; -} -} -else -{ -lean_object* x_212; -x_212 = lean_box(0); -x_196 = x_212; -goto block_205; -} -} -else -{ -lean_dec(x_169); -x_171 = x_194; -x_172 = x_195; -goto block_193; -} -block_205: -{ -uint8_t x_197; -lean_dec(x_196); -x_197 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_195, x_169); -if (x_197 == 0) -{ -lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; uint8_t x_203; -x_198 = lean_box(0); -lean_inc(x_169); -x_199 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_195, x_169, x_198); -lean_inc(x_3); -lean_inc(x_1); -x_200 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__9___rarg(x_1, x_2, x_3, x_169, x_199); -x_201 = lean_ctor_get(x_200, 0); -lean_inc(x_201); -x_202 = lean_ctor_get(x_200, 1); -lean_inc(x_202); -lean_dec(x_200); -x_203 = lean_unbox(x_201); -lean_dec(x_201); -x_171 = x_203; -x_172 = x_202; -goto block_193; -} -else -{ -uint8_t x_204; -lean_dec(x_169); -x_204 = 0; -x_171 = x_204; -x_172 = x_195; -goto block_193; -} -} -} -block_223: -{ -uint8_t x_215; -lean_dec(x_214); -x_215 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_5, x_168); -if (x_215 == 0) -{ -lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; uint8_t x_221; -x_216 = lean_box(0); -lean_inc(x_168); -x_217 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_5, x_168, x_216); -lean_inc(x_3); -lean_inc(x_1); -x_218 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__9___rarg(x_1, x_2, x_3, x_168, x_217); -x_219 = lean_ctor_get(x_218, 0); -lean_inc(x_219); -x_220 = lean_ctor_get(x_218, 1); -lean_inc(x_220); -lean_dec(x_218); -x_221 = lean_unbox(x_219); -lean_dec(x_219); -x_194 = x_221; -x_195 = x_220; -goto block_213; -} -else -{ -uint8_t x_222; -lean_dec(x_168); -x_222 = 0; -x_194 = x_222; -x_195 = x_5; -goto block_213; -} -} -} -case 10: -{ -lean_object* x_231; lean_object* x_232; uint8_t x_241; -x_231 = lean_ctor_get(x_4, 1); -lean_inc(x_231); -lean_dec(x_4); -x_241 = lean_expr_has_expr_mvar(x_231); -if (x_241 == 0) -{ -uint8_t x_242; -x_242 = lean_expr_has_level_mvar(x_231); -if (x_242 == 0) -{ -uint8_t x_243; -x_243 = lean_expr_has_fvar(x_231); -if (x_243 == 0) -{ -uint8_t x_244; lean_object* x_245; lean_object* x_246; -lean_dec(x_231); -lean_dec(x_3); -lean_dec(x_1); -x_244 = 0; -x_245 = lean_box(x_244); -x_246 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_246, 0, x_245); -lean_ctor_set(x_246, 1, x_5); -return x_246; -} -else -{ -lean_object* x_247; -x_247 = lean_box(0); -x_232 = x_247; -goto block_240; -} -} -else -{ -lean_object* x_248; -x_248 = lean_box(0); -x_232 = x_248; -goto block_240; -} -} -else -{ -lean_object* x_249; -x_249 = lean_box(0); -x_232 = x_249; -goto block_240; -} -block_240: -{ -uint8_t x_233; -lean_dec(x_232); -x_233 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_5, x_231); -if (x_233 == 0) -{ -lean_object* x_234; lean_object* x_235; -x_234 = lean_box(0); -lean_inc(x_231); -x_235 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_5, x_231, x_234); -x_4 = x_231; -x_5 = x_235; -goto _start; -} -else -{ -uint8_t x_237; lean_object* x_238; lean_object* x_239; -lean_dec(x_231); -lean_dec(x_3); -lean_dec(x_1); -x_237 = 0; -x_238 = lean_box(x_237); -x_239 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_239, 0, x_238); -lean_ctor_set(x_239, 1, x_5); -return x_239; -} -} -} -case 11: -{ -lean_object* x_250; lean_object* x_251; uint8_t x_260; -x_250 = lean_ctor_get(x_4, 2); -lean_inc(x_250); -lean_dec(x_4); -x_260 = lean_expr_has_expr_mvar(x_250); -if (x_260 == 0) -{ -uint8_t x_261; -x_261 = lean_expr_has_level_mvar(x_250); -if (x_261 == 0) -{ -uint8_t x_262; -x_262 = lean_expr_has_fvar(x_250); -if (x_262 == 0) -{ -uint8_t x_263; lean_object* x_264; lean_object* x_265; -lean_dec(x_250); -lean_dec(x_3); -lean_dec(x_1); -x_263 = 0; -x_264 = lean_box(x_263); -x_265 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_265, 0, x_264); -lean_ctor_set(x_265, 1, x_5); -return x_265; -} -else -{ -lean_object* x_266; -x_266 = lean_box(0); -x_251 = x_266; -goto block_259; -} -} -else -{ -lean_object* x_267; -x_267 = lean_box(0); -x_251 = x_267; -goto block_259; -} -} -else -{ -lean_object* x_268; -x_268 = lean_box(0); -x_251 = x_268; -goto block_259; -} -block_259: -{ -uint8_t x_252; -lean_dec(x_251); -x_252 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_5, x_250); -if (x_252 == 0) -{ -lean_object* x_253; lean_object* x_254; -x_253 = lean_box(0); -lean_inc(x_250); -x_254 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_5, x_250, x_253); -x_4 = x_250; -x_5 = x_254; -goto _start; -} -else -{ -uint8_t x_256; lean_object* x_257; lean_object* x_258; -lean_dec(x_250); -lean_dec(x_3); -lean_dec(x_1); -x_256 = 0; -x_257 = lean_box(x_256); -x_258 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_258, 0, x_257); -lean_ctor_set(x_258, 1, x_5); -return x_258; -} -} -} -default: -{ -uint8_t x_269; lean_object* x_270; lean_object* x_271; -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_269 = 0; -x_270 = lean_box(x_269); -x_271 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_271, 0, x_270); -lean_ctor_set(x_271, 1, x_5); -return x_271; -} -} -} -} -lean_object* l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__9(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__9___rarg___boxed), 5, 0); -return x_2; -} -} -uint8_t l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__18(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; uint8_t x_5; -x_4 = lean_array_get_size(x_2); -x_5 = lean_nat_dec_lt(x_3, x_4); -lean_dec(x_4); -if (x_5 == 0) -{ -uint8_t x_6; -lean_dec(x_3); -x_6 = 0; -return x_6; -} -else -{ -lean_object* x_7; uint8_t x_8; -x_7 = lean_array_fget(x_2, x_3); -x_8 = l_PersistentArray_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__17(x_1, x_7); -lean_dec(x_7); -if (x_8 == 0) -{ -lean_object* x_9; lean_object* x_10; -x_9 = lean_unsigned_to_nat(1u); -x_10 = lean_nat_add(x_3, x_9); -lean_dec(x_3); -x_3 = x_10; -goto _start; -} -else -{ -lean_dec(x_3); -return x_8; -} -} -} -} -uint8_t l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__19(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; uint8_t x_5; -x_4 = lean_array_get_size(x_2); -x_5 = lean_nat_dec_lt(x_3, x_4); -lean_dec(x_4); -if (x_5 == 0) -{ -uint8_t x_6; -lean_dec(x_3); -x_6 = 0; -return x_6; -} -else -{ -lean_object* x_7; -x_7 = lean_array_fget(x_2, x_3); -if (lean_obj_tag(x_7) == 0) -{ -lean_object* x_8; lean_object* x_9; -x_8 = lean_unsigned_to_nat(1u); -x_9 = lean_nat_add(x_3, x_8); -lean_dec(x_3); -x_3 = x_9; -goto _start; -} -else -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_11 = lean_ctor_get(x_7, 0); -lean_inc(x_11); -lean_dec(x_7); -x_12 = l_Lean_LocalDecl_name(x_11); -lean_dec(x_11); -x_13 = lean_unsigned_to_nat(0u); -x_14 = l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__2(x_12, x_1, x_13); -lean_dec(x_12); -if (x_14 == 0) -{ -lean_object* x_15; lean_object* x_16; -x_15 = lean_unsigned_to_nat(1u); -x_16 = lean_nat_add(x_3, x_15); -lean_dec(x_3); -x_3 = x_16; -goto _start; -} -else -{ -lean_dec(x_3); -return x_14; -} -} -} -} -} -uint8_t l_PersistentArray_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__17(lean_object* x_1, lean_object* x_2) { -_start: -{ -if (lean_obj_tag(x_2) == 0) -{ -lean_object* x_3; lean_object* x_4; uint8_t x_5; -x_3 = lean_ctor_get(x_2, 0); -x_4 = lean_unsigned_to_nat(0u); -x_5 = l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__18(x_1, x_3, x_4); -return x_5; -} -else -{ -lean_object* x_6; lean_object* x_7; uint8_t x_8; -x_6 = lean_ctor_get(x_2, 0); -x_7 = lean_unsigned_to_nat(0u); -x_8 = l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__19(x_1, x_6, x_7); -return x_8; -} -} -} -uint8_t l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__20(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; uint8_t x_5; -x_4 = lean_array_get_size(x_2); -x_5 = lean_nat_dec_lt(x_3, x_4); -lean_dec(x_4); -if (x_5 == 0) -{ -uint8_t x_6; -lean_dec(x_3); -x_6 = 0; -return x_6; -} -else -{ -lean_object* x_7; -x_7 = lean_array_fget(x_2, x_3); -if (lean_obj_tag(x_7) == 0) -{ -lean_object* x_8; lean_object* x_9; -x_8 = lean_unsigned_to_nat(1u); -x_9 = lean_nat_add(x_3, x_8); -lean_dec(x_3); -x_3 = x_9; -goto _start; -} -else -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_11 = lean_ctor_get(x_7, 0); -lean_inc(x_11); -lean_dec(x_7); -x_12 = l_Lean_LocalDecl_name(x_11); -lean_dec(x_11); -x_13 = lean_unsigned_to_nat(0u); -x_14 = l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__2(x_12, x_1, x_13); -lean_dec(x_12); -if (x_14 == 0) -{ -lean_object* x_15; lean_object* x_16; -x_15 = lean_unsigned_to_nat(1u); -x_16 = lean_nat_add(x_3, x_15); -lean_dec(x_3); -x_3 = x_16; -goto _start; -} -else -{ -lean_dec(x_3); -return x_14; -} -} -} -} -} -uint8_t l_PersistentArray_anyM___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__16(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; uint8_t x_4; -x_3 = lean_ctor_get(x_2, 0); -x_4 = l_PersistentArray_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__17(x_1, x_3); -if (x_4 == 0) -{ -lean_object* x_5; lean_object* x_6; uint8_t x_7; -x_5 = lean_ctor_get(x_2, 1); -x_6 = lean_unsigned_to_nat(0u); -x_7 = l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__20(x_1, x_5, x_6); -return x_7; -} -else -{ -return x_4; -} -} -} -lean_object* l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__15___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -switch (lean_obj_tag(x_4)) { -case 1: -{ -lean_object* x_6; lean_object* x_7; uint8_t x_8; lean_object* x_9; lean_object* x_10; -lean_dec(x_3); -lean_dec(x_1); -x_6 = lean_ctor_get(x_4, 0); -lean_inc(x_6); -lean_dec(x_4); -x_7 = lean_unsigned_to_nat(0u); -x_8 = l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__2(x_6, x_2, x_7); -lean_dec(x_6); -x_9 = lean_box(x_8); -x_10 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_10, 0, x_9); -lean_ctor_set(x_10, 1, x_5); -return x_10; -} -case 2: -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_11 = lean_ctor_get(x_4, 0); -lean_inc(x_11); -lean_dec(x_4); -x_12 = lean_ctor_get(x_1, 5); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_3); -x_13 = lean_apply_2(x_12, x_3, x_11); -if (lean_obj_tag(x_13) == 0) -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; lean_object* x_19; lean_object* x_20; -x_14 = lean_ctor_get(x_1, 7); -lean_inc(x_14); -lean_dec(x_1); -x_15 = lean_apply_2(x_14, x_3, x_11); -x_16 = lean_ctor_get(x_15, 1); -lean_inc(x_16); -lean_dec(x_15); -x_17 = lean_ctor_get(x_16, 1); -lean_inc(x_17); -lean_dec(x_16); -x_18 = l_PersistentArray_anyM___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__16(x_2, x_17); -lean_dec(x_17); -x_19 = lean_box(x_18); -x_20 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_20, 0, x_19); -lean_ctor_set(x_20, 1, x_5); -return x_20; -} -else -{ -lean_object* x_21; lean_object* x_22; uint8_t x_31; -lean_dec(x_11); -x_21 = lean_ctor_get(x_13, 0); -lean_inc(x_21); -lean_dec(x_13); -x_31 = lean_expr_has_expr_mvar(x_21); -if (x_31 == 0) -{ -uint8_t x_32; -x_32 = lean_expr_has_level_mvar(x_21); -if (x_32 == 0) -{ -uint8_t x_33; -x_33 = lean_expr_has_fvar(x_21); -if (x_33 == 0) -{ -uint8_t x_34; lean_object* x_35; lean_object* x_36; -lean_dec(x_21); -lean_dec(x_3); -lean_dec(x_1); -x_34 = 0; -x_35 = lean_box(x_34); -x_36 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_5); -return x_36; -} -else -{ -lean_object* x_37; -x_37 = lean_box(0); -x_22 = x_37; -goto block_30; -} -} -else -{ -lean_object* x_38; -x_38 = lean_box(0); -x_22 = x_38; -goto block_30; -} -} -else -{ -lean_object* x_39; -x_39 = lean_box(0); -x_22 = x_39; -goto block_30; -} -block_30: -{ -uint8_t x_23; -lean_dec(x_22); -x_23 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_5, x_21); -if (x_23 == 0) -{ -lean_object* x_24; lean_object* x_25; -x_24 = lean_box(0); -lean_inc(x_21); -x_25 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_5, x_21, x_24); -x_4 = x_21; -x_5 = x_25; -goto _start; -} -else -{ -uint8_t x_27; lean_object* x_28; lean_object* x_29; -lean_dec(x_21); -lean_dec(x_3); -lean_dec(x_1); -x_27 = 0; -x_28 = lean_box(x_27); -x_29 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_29, 0, x_28); -lean_ctor_set(x_29, 1, x_5); -return x_29; -} -} -} -} -case 5: -{ -lean_object* x_40; lean_object* x_41; uint8_t x_42; lean_object* x_43; lean_object* x_67; uint8_t x_77; -x_40 = lean_ctor_get(x_4, 0); -lean_inc(x_40); -x_41 = lean_ctor_get(x_4, 1); -lean_inc(x_41); -lean_dec(x_4); -x_77 = lean_expr_has_expr_mvar(x_41); -if (x_77 == 0) -{ -uint8_t x_78; -x_78 = lean_expr_has_level_mvar(x_41); -if (x_78 == 0) -{ -uint8_t x_79; -x_79 = lean_expr_has_fvar(x_41); -if (x_79 == 0) -{ -uint8_t x_80; -lean_dec(x_41); -x_80 = 0; -x_42 = x_80; -x_43 = x_5; -goto block_66; -} -else -{ -lean_object* x_81; -x_81 = lean_box(0); -x_67 = x_81; -goto block_76; -} -} -else -{ -lean_object* x_82; -x_82 = lean_box(0); -x_67 = x_82; -goto block_76; -} -} -else -{ -lean_object* x_83; -x_83 = lean_box(0); -x_67 = x_83; -goto block_76; -} -block_66: -{ -if (x_42 == 0) -{ -uint8_t x_44; -x_44 = l_Lean_Expr_isApp(x_40); -if (x_44 == 0) -{ -lean_object* x_45; uint8_t x_54; -x_54 = lean_expr_has_expr_mvar(x_40); -if (x_54 == 0) -{ -uint8_t x_55; -x_55 = lean_expr_has_level_mvar(x_40); -if (x_55 == 0) -{ -uint8_t x_56; -x_56 = lean_expr_has_fvar(x_40); -if (x_56 == 0) -{ -uint8_t x_57; lean_object* x_58; lean_object* x_59; -lean_dec(x_40); -lean_dec(x_3); -lean_dec(x_1); -x_57 = 0; -x_58 = lean_box(x_57); -x_59 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_59, 0, x_58); -lean_ctor_set(x_59, 1, x_43); -return x_59; -} -else -{ -lean_object* x_60; -x_60 = lean_box(0); -x_45 = x_60; -goto block_53; -} -} -else -{ -lean_object* x_61; -x_61 = lean_box(0); -x_45 = x_61; -goto block_53; -} -} -else -{ -lean_object* x_62; -x_62 = lean_box(0); -x_45 = x_62; -goto block_53; -} -block_53: -{ -uint8_t x_46; -lean_dec(x_45); -x_46 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_43, x_40); -if (x_46 == 0) -{ -lean_object* x_47; lean_object* x_48; -x_47 = lean_box(0); -lean_inc(x_40); -x_48 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_43, x_40, x_47); -x_4 = x_40; -x_5 = x_48; -goto _start; -} -else -{ -uint8_t x_50; lean_object* x_51; lean_object* x_52; -lean_dec(x_40); -lean_dec(x_3); -lean_dec(x_1); -x_50 = 0; -x_51 = lean_box(x_50); -x_52 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_52, 0, x_51); -lean_ctor_set(x_52, 1, x_43); -return x_52; -} -} -} -else -{ -x_4 = x_40; -x_5 = x_43; -goto _start; -} -} -else -{ -lean_object* x_64; lean_object* x_65; -lean_dec(x_40); -lean_dec(x_3); -lean_dec(x_1); -x_64 = lean_box(x_42); -x_65 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_65, 0, x_64); -lean_ctor_set(x_65, 1, x_43); -return x_65; -} -} -block_76: -{ -uint8_t x_68; -lean_dec(x_67); -x_68 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_5, x_41); -if (x_68 == 0) -{ -lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; uint8_t x_74; -x_69 = lean_box(0); -lean_inc(x_41); -x_70 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_5, x_41, x_69); -lean_inc(x_3); -lean_inc(x_1); -x_71 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__15___rarg(x_1, x_2, x_3, x_41, x_70); -x_72 = lean_ctor_get(x_71, 0); -lean_inc(x_72); -x_73 = lean_ctor_get(x_71, 1); -lean_inc(x_73); -lean_dec(x_71); -x_74 = lean_unbox(x_72); -lean_dec(x_72); -x_42 = x_74; -x_43 = x_73; -goto block_66; -} -else -{ -uint8_t x_75; -lean_dec(x_41); -x_75 = 0; -x_42 = x_75; -x_43 = x_5; -goto block_66; -} -} -} -case 6: -{ -lean_object* x_84; lean_object* x_85; uint8_t x_86; lean_object* x_87; lean_object* x_109; uint8_t x_119; -x_84 = lean_ctor_get(x_4, 1); -lean_inc(x_84); -x_85 = lean_ctor_get(x_4, 2); -lean_inc(x_85); -lean_dec(x_4); -x_119 = lean_expr_has_expr_mvar(x_84); -if (x_119 == 0) -{ -uint8_t x_120; -x_120 = lean_expr_has_level_mvar(x_84); -if (x_120 == 0) -{ -uint8_t x_121; -x_121 = lean_expr_has_fvar(x_84); -if (x_121 == 0) -{ -uint8_t x_122; -lean_dec(x_84); -x_122 = 0; -x_86 = x_122; -x_87 = x_5; -goto block_108; -} -else -{ -lean_object* x_123; -x_123 = lean_box(0); -x_109 = x_123; -goto block_118; -} -} -else -{ -lean_object* x_124; -x_124 = lean_box(0); -x_109 = x_124; -goto block_118; -} -} -else -{ -lean_object* x_125; -x_125 = lean_box(0); -x_109 = x_125; -goto block_118; -} -block_108: -{ -if (x_86 == 0) -{ -lean_object* x_88; uint8_t x_97; -x_97 = lean_expr_has_expr_mvar(x_85); -if (x_97 == 0) -{ -uint8_t x_98; -x_98 = lean_expr_has_level_mvar(x_85); -if (x_98 == 0) -{ -uint8_t x_99; -x_99 = lean_expr_has_fvar(x_85); -if (x_99 == 0) -{ -uint8_t x_100; lean_object* x_101; lean_object* x_102; -lean_dec(x_85); -lean_dec(x_3); -lean_dec(x_1); -x_100 = 0; -x_101 = lean_box(x_100); -x_102 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_102, 0, x_101); -lean_ctor_set(x_102, 1, x_87); -return x_102; -} -else -{ -lean_object* x_103; -x_103 = lean_box(0); -x_88 = x_103; -goto block_96; -} -} -else -{ -lean_object* x_104; -x_104 = lean_box(0); -x_88 = x_104; -goto block_96; -} -} -else -{ -lean_object* x_105; -x_105 = lean_box(0); -x_88 = x_105; -goto block_96; -} -block_96: -{ -uint8_t x_89; -lean_dec(x_88); -x_89 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_87, x_85); -if (x_89 == 0) -{ -lean_object* x_90; lean_object* x_91; -x_90 = lean_box(0); -lean_inc(x_85); -x_91 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_87, x_85, x_90); -x_4 = x_85; -x_5 = x_91; -goto _start; -} -else -{ -uint8_t x_93; lean_object* x_94; lean_object* x_95; -lean_dec(x_85); -lean_dec(x_3); -lean_dec(x_1); -x_93 = 0; -x_94 = lean_box(x_93); -x_95 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_95, 0, x_94); -lean_ctor_set(x_95, 1, x_87); -return x_95; -} -} -} -else -{ -lean_object* x_106; lean_object* x_107; -lean_dec(x_85); -lean_dec(x_3); -lean_dec(x_1); -x_106 = lean_box(x_86); -x_107 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_107, 0, x_106); -lean_ctor_set(x_107, 1, x_87); -return x_107; -} -} -block_118: -{ -uint8_t x_110; -lean_dec(x_109); -x_110 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_5, x_84); -if (x_110 == 0) -{ -lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; uint8_t x_116; -x_111 = lean_box(0); -lean_inc(x_84); -x_112 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_5, x_84, x_111); -lean_inc(x_3); -lean_inc(x_1); -x_113 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__15___rarg(x_1, x_2, x_3, x_84, x_112); -x_114 = lean_ctor_get(x_113, 0); -lean_inc(x_114); -x_115 = lean_ctor_get(x_113, 1); -lean_inc(x_115); -lean_dec(x_113); -x_116 = lean_unbox(x_114); -lean_dec(x_114); -x_86 = x_116; -x_87 = x_115; -goto block_108; -} -else -{ -uint8_t x_117; -lean_dec(x_84); -x_117 = 0; -x_86 = x_117; -x_87 = x_5; -goto block_108; -} -} -} -case 7: -{ -lean_object* x_126; lean_object* x_127; uint8_t x_128; lean_object* x_129; lean_object* x_151; uint8_t x_161; -x_126 = lean_ctor_get(x_4, 1); -lean_inc(x_126); -x_127 = lean_ctor_get(x_4, 2); -lean_inc(x_127); -lean_dec(x_4); -x_161 = lean_expr_has_expr_mvar(x_126); -if (x_161 == 0) -{ -uint8_t x_162; -x_162 = lean_expr_has_level_mvar(x_126); -if (x_162 == 0) -{ -uint8_t x_163; -x_163 = lean_expr_has_fvar(x_126); -if (x_163 == 0) -{ -uint8_t x_164; -lean_dec(x_126); -x_164 = 0; -x_128 = x_164; -x_129 = x_5; -goto block_150; -} -else -{ -lean_object* x_165; -x_165 = lean_box(0); -x_151 = x_165; -goto block_160; -} -} -else -{ -lean_object* x_166; -x_166 = lean_box(0); -x_151 = x_166; -goto block_160; -} -} -else -{ -lean_object* x_167; -x_167 = lean_box(0); -x_151 = x_167; -goto block_160; -} -block_150: -{ -if (x_128 == 0) -{ -lean_object* x_130; uint8_t x_139; -x_139 = lean_expr_has_expr_mvar(x_127); -if (x_139 == 0) -{ -uint8_t x_140; -x_140 = lean_expr_has_level_mvar(x_127); -if (x_140 == 0) -{ -uint8_t x_141; -x_141 = lean_expr_has_fvar(x_127); -if (x_141 == 0) -{ -uint8_t x_142; lean_object* x_143; lean_object* x_144; -lean_dec(x_127); -lean_dec(x_3); -lean_dec(x_1); -x_142 = 0; -x_143 = lean_box(x_142); -x_144 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_144, 0, x_143); -lean_ctor_set(x_144, 1, x_129); -return x_144; -} -else -{ -lean_object* x_145; -x_145 = lean_box(0); -x_130 = x_145; -goto block_138; -} -} -else -{ -lean_object* x_146; -x_146 = lean_box(0); -x_130 = x_146; -goto block_138; -} -} -else -{ -lean_object* x_147; -x_147 = lean_box(0); -x_130 = x_147; -goto block_138; -} -block_138: -{ -uint8_t x_131; -lean_dec(x_130); -x_131 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_129, x_127); -if (x_131 == 0) -{ -lean_object* x_132; lean_object* x_133; -x_132 = lean_box(0); -lean_inc(x_127); -x_133 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_129, x_127, x_132); -x_4 = x_127; -x_5 = x_133; -goto _start; -} -else -{ -uint8_t x_135; lean_object* x_136; lean_object* x_137; -lean_dec(x_127); -lean_dec(x_3); -lean_dec(x_1); -x_135 = 0; -x_136 = lean_box(x_135); -x_137 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_137, 0, x_136); -lean_ctor_set(x_137, 1, x_129); -return x_137; -} -} -} -else -{ -lean_object* x_148; lean_object* x_149; -lean_dec(x_127); -lean_dec(x_3); -lean_dec(x_1); -x_148 = lean_box(x_128); -x_149 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_149, 0, x_148); -lean_ctor_set(x_149, 1, x_129); -return x_149; -} -} -block_160: -{ -uint8_t x_152; -lean_dec(x_151); -x_152 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_5, x_126); -if (x_152 == 0) -{ -lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; uint8_t x_158; -x_153 = lean_box(0); -lean_inc(x_126); -x_154 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_5, x_126, x_153); -lean_inc(x_3); -lean_inc(x_1); -x_155 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__15___rarg(x_1, x_2, x_3, x_126, x_154); -x_156 = lean_ctor_get(x_155, 0); -lean_inc(x_156); -x_157 = lean_ctor_get(x_155, 1); -lean_inc(x_157); -lean_dec(x_155); -x_158 = lean_unbox(x_156); -lean_dec(x_156); -x_128 = x_158; -x_129 = x_157; -goto block_150; -} -else -{ -uint8_t x_159; -lean_dec(x_126); -x_159 = 0; -x_128 = x_159; -x_129 = x_5; -goto block_150; -} -} -} -case 8: -{ -lean_object* x_168; lean_object* x_169; lean_object* x_170; uint8_t x_171; lean_object* x_172; uint8_t x_194; lean_object* x_195; lean_object* x_214; uint8_t x_224; -x_168 = lean_ctor_get(x_4, 1); -lean_inc(x_168); -x_169 = lean_ctor_get(x_4, 2); -lean_inc(x_169); -x_170 = lean_ctor_get(x_4, 3); -lean_inc(x_170); -lean_dec(x_4); -x_224 = lean_expr_has_expr_mvar(x_168); -if (x_224 == 0) -{ -uint8_t x_225; -x_225 = lean_expr_has_level_mvar(x_168); -if (x_225 == 0) -{ -uint8_t x_226; -x_226 = lean_expr_has_fvar(x_168); -if (x_226 == 0) -{ -uint8_t x_227; -lean_dec(x_168); -x_227 = 0; -x_194 = x_227; -x_195 = x_5; -goto block_213; -} -else -{ -lean_object* x_228; -x_228 = lean_box(0); -x_214 = x_228; -goto block_223; -} -} -else -{ -lean_object* x_229; -x_229 = lean_box(0); -x_214 = x_229; -goto block_223; -} -} -else -{ -lean_object* x_230; -x_230 = lean_box(0); -x_214 = x_230; -goto block_223; -} -block_193: -{ -if (x_171 == 0) -{ -lean_object* x_173; uint8_t x_182; -x_182 = lean_expr_has_expr_mvar(x_170); -if (x_182 == 0) -{ -uint8_t x_183; -x_183 = lean_expr_has_level_mvar(x_170); -if (x_183 == 0) -{ -uint8_t x_184; -x_184 = lean_expr_has_fvar(x_170); -if (x_184 == 0) -{ -uint8_t x_185; lean_object* x_186; lean_object* x_187; -lean_dec(x_170); -lean_dec(x_3); -lean_dec(x_1); -x_185 = 0; -x_186 = lean_box(x_185); -x_187 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_187, 0, x_186); -lean_ctor_set(x_187, 1, x_172); -return x_187; -} -else -{ -lean_object* x_188; -x_188 = lean_box(0); -x_173 = x_188; -goto block_181; -} -} -else -{ -lean_object* x_189; -x_189 = lean_box(0); -x_173 = x_189; -goto block_181; -} -} -else -{ -lean_object* x_190; -x_190 = lean_box(0); -x_173 = x_190; -goto block_181; -} -block_181: -{ -uint8_t x_174; -lean_dec(x_173); -x_174 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_172, x_170); -if (x_174 == 0) -{ -lean_object* x_175; lean_object* x_176; -x_175 = lean_box(0); -lean_inc(x_170); -x_176 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_172, x_170, x_175); -x_4 = x_170; -x_5 = x_176; -goto _start; -} -else -{ -uint8_t x_178; lean_object* x_179; lean_object* x_180; -lean_dec(x_170); -lean_dec(x_3); -lean_dec(x_1); -x_178 = 0; -x_179 = lean_box(x_178); -x_180 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_180, 0, x_179); -lean_ctor_set(x_180, 1, x_172); -return x_180; -} -} -} -else -{ -lean_object* x_191; lean_object* x_192; -lean_dec(x_170); -lean_dec(x_3); -lean_dec(x_1); -x_191 = lean_box(x_171); -x_192 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_192, 0, x_191); -lean_ctor_set(x_192, 1, x_172); -return x_192; -} -} -block_213: -{ -lean_object* x_196; -if (x_194 == 0) -{ -uint8_t x_206; -x_206 = lean_expr_has_expr_mvar(x_169); -if (x_206 == 0) -{ -uint8_t x_207; -x_207 = lean_expr_has_level_mvar(x_169); -if (x_207 == 0) -{ -uint8_t x_208; -x_208 = lean_expr_has_fvar(x_169); -if (x_208 == 0) -{ -uint8_t x_209; -lean_dec(x_169); -x_209 = 0; -x_171 = x_209; -x_172 = x_195; -goto block_193; -} -else -{ -lean_object* x_210; -x_210 = lean_box(0); -x_196 = x_210; -goto block_205; -} -} -else -{ -lean_object* x_211; -x_211 = lean_box(0); -x_196 = x_211; -goto block_205; -} -} -else -{ -lean_object* x_212; -x_212 = lean_box(0); -x_196 = x_212; -goto block_205; -} -} -else -{ -lean_dec(x_169); -x_171 = x_194; -x_172 = x_195; -goto block_193; -} -block_205: -{ -uint8_t x_197; -lean_dec(x_196); -x_197 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_195, x_169); -if (x_197 == 0) -{ -lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; uint8_t x_203; -x_198 = lean_box(0); -lean_inc(x_169); -x_199 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_195, x_169, x_198); -lean_inc(x_3); -lean_inc(x_1); -x_200 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__15___rarg(x_1, x_2, x_3, x_169, x_199); -x_201 = lean_ctor_get(x_200, 0); -lean_inc(x_201); -x_202 = lean_ctor_get(x_200, 1); -lean_inc(x_202); -lean_dec(x_200); -x_203 = lean_unbox(x_201); -lean_dec(x_201); -x_171 = x_203; -x_172 = x_202; -goto block_193; -} -else -{ -uint8_t x_204; -lean_dec(x_169); -x_204 = 0; -x_171 = x_204; -x_172 = x_195; -goto block_193; -} -} -} -block_223: -{ -uint8_t x_215; -lean_dec(x_214); -x_215 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_5, x_168); -if (x_215 == 0) -{ -lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; uint8_t x_221; -x_216 = lean_box(0); -lean_inc(x_168); -x_217 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_5, x_168, x_216); -lean_inc(x_3); -lean_inc(x_1); -x_218 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__15___rarg(x_1, x_2, x_3, x_168, x_217); -x_219 = lean_ctor_get(x_218, 0); -lean_inc(x_219); -x_220 = lean_ctor_get(x_218, 1); -lean_inc(x_220); -lean_dec(x_218); -x_221 = lean_unbox(x_219); -lean_dec(x_219); -x_194 = x_221; -x_195 = x_220; -goto block_213; -} -else -{ -uint8_t x_222; -lean_dec(x_168); -x_222 = 0; -x_194 = x_222; -x_195 = x_5; -goto block_213; -} -} -} -case 10: -{ -lean_object* x_231; lean_object* x_232; uint8_t x_241; -x_231 = lean_ctor_get(x_4, 1); -lean_inc(x_231); -lean_dec(x_4); -x_241 = lean_expr_has_expr_mvar(x_231); -if (x_241 == 0) -{ -uint8_t x_242; -x_242 = lean_expr_has_level_mvar(x_231); -if (x_242 == 0) -{ -uint8_t x_243; -x_243 = lean_expr_has_fvar(x_231); -if (x_243 == 0) -{ -uint8_t x_244; lean_object* x_245; lean_object* x_246; -lean_dec(x_231); -lean_dec(x_3); -lean_dec(x_1); -x_244 = 0; -x_245 = lean_box(x_244); -x_246 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_246, 0, x_245); -lean_ctor_set(x_246, 1, x_5); -return x_246; -} -else -{ -lean_object* x_247; -x_247 = lean_box(0); -x_232 = x_247; -goto block_240; -} -} -else -{ -lean_object* x_248; -x_248 = lean_box(0); -x_232 = x_248; -goto block_240; -} -} -else -{ -lean_object* x_249; -x_249 = lean_box(0); -x_232 = x_249; -goto block_240; -} -block_240: -{ -uint8_t x_233; -lean_dec(x_232); -x_233 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_5, x_231); -if (x_233 == 0) -{ -lean_object* x_234; lean_object* x_235; -x_234 = lean_box(0); -lean_inc(x_231); -x_235 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_5, x_231, x_234); -x_4 = x_231; -x_5 = x_235; -goto _start; -} -else -{ -uint8_t x_237; lean_object* x_238; lean_object* x_239; -lean_dec(x_231); -lean_dec(x_3); -lean_dec(x_1); -x_237 = 0; -x_238 = lean_box(x_237); -x_239 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_239, 0, x_238); -lean_ctor_set(x_239, 1, x_5); -return x_239; -} -} -} -case 11: -{ -lean_object* x_250; lean_object* x_251; uint8_t x_260; -x_250 = lean_ctor_get(x_4, 2); -lean_inc(x_250); -lean_dec(x_4); -x_260 = lean_expr_has_expr_mvar(x_250); -if (x_260 == 0) -{ -uint8_t x_261; -x_261 = lean_expr_has_level_mvar(x_250); -if (x_261 == 0) -{ -uint8_t x_262; -x_262 = lean_expr_has_fvar(x_250); -if (x_262 == 0) -{ -uint8_t x_263; lean_object* x_264; lean_object* x_265; -lean_dec(x_250); -lean_dec(x_3); -lean_dec(x_1); -x_263 = 0; -x_264 = lean_box(x_263); -x_265 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_265, 0, x_264); -lean_ctor_set(x_265, 1, x_5); -return x_265; -} -else -{ -lean_object* x_266; -x_266 = lean_box(0); -x_251 = x_266; -goto block_259; -} -} -else -{ -lean_object* x_267; -x_267 = lean_box(0); -x_251 = x_267; -goto block_259; -} -} -else -{ -lean_object* x_268; -x_268 = lean_box(0); -x_251 = x_268; -goto block_259; -} -block_259: -{ -uint8_t x_252; -lean_dec(x_251); -x_252 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_5, x_250); -if (x_252 == 0) -{ -lean_object* x_253; lean_object* x_254; -x_253 = lean_box(0); -lean_inc(x_250); -x_254 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_5, x_250, x_253); -x_4 = x_250; -x_5 = x_254; -goto _start; -} -else -{ -uint8_t x_256; lean_object* x_257; lean_object* x_258; -lean_dec(x_250); -lean_dec(x_3); -lean_dec(x_1); -x_256 = 0; -x_257 = lean_box(x_256); -x_258 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_258, 0, x_257); -lean_ctor_set(x_258, 1, x_5); -return x_258; -} -} -} -default: -{ -uint8_t x_269; lean_object* x_270; lean_object* x_271; -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_269 = 0; -x_270 = lean_box(x_269); -x_271 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_271, 0, x_270); -lean_ctor_set(x_271, 1, x_5); -return x_271; -} -} -} -} -lean_object* l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__15(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__15___rarg___boxed), 5, 0); -return x_2; -} -} -uint8_t l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__24(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; uint8_t x_5; -x_4 = lean_array_get_size(x_2); -x_5 = lean_nat_dec_lt(x_3, x_4); -lean_dec(x_4); -if (x_5 == 0) -{ -uint8_t x_6; -lean_dec(x_3); -x_6 = 0; -return x_6; -} -else -{ -lean_object* x_7; uint8_t x_8; -x_7 = lean_array_fget(x_2, x_3); -x_8 = l_PersistentArray_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__23(x_1, x_7); -lean_dec(x_7); -if (x_8 == 0) -{ -lean_object* x_9; lean_object* x_10; -x_9 = lean_unsigned_to_nat(1u); -x_10 = lean_nat_add(x_3, x_9); -lean_dec(x_3); -x_3 = x_10; -goto _start; -} -else -{ -lean_dec(x_3); -return x_8; -} -} -} -} -uint8_t l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__25(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; uint8_t x_5; -x_4 = lean_array_get_size(x_2); -x_5 = lean_nat_dec_lt(x_3, x_4); -lean_dec(x_4); -if (x_5 == 0) -{ -uint8_t x_6; -lean_dec(x_3); -x_6 = 0; -return x_6; -} -else -{ -lean_object* x_7; -x_7 = lean_array_fget(x_2, x_3); -if (lean_obj_tag(x_7) == 0) -{ -lean_object* x_8; lean_object* x_9; -x_8 = lean_unsigned_to_nat(1u); -x_9 = lean_nat_add(x_3, x_8); -lean_dec(x_3); -x_3 = x_9; -goto _start; -} -else -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_11 = lean_ctor_get(x_7, 0); -lean_inc(x_11); -lean_dec(x_7); -x_12 = l_Lean_LocalDecl_name(x_11); -lean_dec(x_11); -x_13 = lean_unsigned_to_nat(0u); -x_14 = l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__2(x_12, x_1, x_13); -lean_dec(x_12); -if (x_14 == 0) -{ -lean_object* x_15; lean_object* x_16; -x_15 = lean_unsigned_to_nat(1u); -x_16 = lean_nat_add(x_3, x_15); -lean_dec(x_3); -x_3 = x_16; -goto _start; -} -else -{ -lean_dec(x_3); -return x_14; -} -} -} -} -} -uint8_t l_PersistentArray_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__23(lean_object* x_1, lean_object* x_2) { -_start: -{ -if (lean_obj_tag(x_2) == 0) -{ -lean_object* x_3; lean_object* x_4; uint8_t x_5; -x_3 = lean_ctor_get(x_2, 0); -x_4 = lean_unsigned_to_nat(0u); -x_5 = l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__24(x_1, x_3, x_4); -return x_5; -} -else -{ -lean_object* x_6; lean_object* x_7; uint8_t x_8; -x_6 = lean_ctor_get(x_2, 0); -x_7 = lean_unsigned_to_nat(0u); -x_8 = l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__25(x_1, x_6, x_7); -return x_8; -} -} -} -uint8_t l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__26(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; uint8_t x_5; -x_4 = lean_array_get_size(x_2); -x_5 = lean_nat_dec_lt(x_3, x_4); -lean_dec(x_4); -if (x_5 == 0) -{ -uint8_t x_6; -lean_dec(x_3); -x_6 = 0; -return x_6; -} -else -{ -lean_object* x_7; -x_7 = lean_array_fget(x_2, x_3); -if (lean_obj_tag(x_7) == 0) -{ -lean_object* x_8; lean_object* x_9; -x_8 = lean_unsigned_to_nat(1u); -x_9 = lean_nat_add(x_3, x_8); -lean_dec(x_3); -x_3 = x_9; -goto _start; -} -else -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_11 = lean_ctor_get(x_7, 0); -lean_inc(x_11); -lean_dec(x_7); -x_12 = l_Lean_LocalDecl_name(x_11); -lean_dec(x_11); -x_13 = lean_unsigned_to_nat(0u); -x_14 = l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__2(x_12, x_1, x_13); -lean_dec(x_12); -if (x_14 == 0) -{ -lean_object* x_15; lean_object* x_16; -x_15 = lean_unsigned_to_nat(1u); -x_16 = lean_nat_add(x_3, x_15); -lean_dec(x_3); -x_3 = x_16; -goto _start; -} -else -{ -lean_dec(x_3); -return x_14; -} -} -} -} -} -uint8_t l_PersistentArray_anyM___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__22(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; uint8_t x_4; -x_3 = lean_ctor_get(x_2, 0); -x_4 = l_PersistentArray_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__23(x_1, x_3); -if (x_4 == 0) -{ -lean_object* x_5; lean_object* x_6; uint8_t x_7; -x_5 = lean_ctor_get(x_2, 1); -x_6 = lean_unsigned_to_nat(0u); -x_7 = l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__26(x_1, x_5, x_6); -return x_7; -} -else -{ -return x_4; -} -} -} -lean_object* l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__21___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -switch (lean_obj_tag(x_4)) { -case 1: -{ -lean_object* x_6; lean_object* x_7; uint8_t x_8; lean_object* x_9; lean_object* x_10; -lean_dec(x_3); -lean_dec(x_1); -x_6 = lean_ctor_get(x_4, 0); -lean_inc(x_6); -lean_dec(x_4); -x_7 = lean_unsigned_to_nat(0u); -x_8 = l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__2(x_6, x_2, x_7); -lean_dec(x_6); -x_9 = lean_box(x_8); -x_10 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_10, 0, x_9); -lean_ctor_set(x_10, 1, x_5); -return x_10; -} -case 2: -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_11 = lean_ctor_get(x_4, 0); -lean_inc(x_11); -lean_dec(x_4); -x_12 = lean_ctor_get(x_1, 5); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_3); -x_13 = lean_apply_2(x_12, x_3, x_11); -if (lean_obj_tag(x_13) == 0) -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; lean_object* x_19; lean_object* x_20; -x_14 = lean_ctor_get(x_1, 7); -lean_inc(x_14); -lean_dec(x_1); -x_15 = lean_apply_2(x_14, x_3, x_11); -x_16 = lean_ctor_get(x_15, 1); -lean_inc(x_16); -lean_dec(x_15); -x_17 = lean_ctor_get(x_16, 1); -lean_inc(x_17); -lean_dec(x_16); -x_18 = l_PersistentArray_anyM___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__22(x_2, x_17); -lean_dec(x_17); -x_19 = lean_box(x_18); -x_20 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_20, 0, x_19); -lean_ctor_set(x_20, 1, x_5); -return x_20; -} -else -{ -lean_object* x_21; lean_object* x_22; uint8_t x_31; -lean_dec(x_11); -x_21 = lean_ctor_get(x_13, 0); -lean_inc(x_21); -lean_dec(x_13); -x_31 = lean_expr_has_expr_mvar(x_21); -if (x_31 == 0) -{ -uint8_t x_32; -x_32 = lean_expr_has_level_mvar(x_21); -if (x_32 == 0) -{ -uint8_t x_33; -x_33 = lean_expr_has_fvar(x_21); -if (x_33 == 0) -{ -uint8_t x_34; lean_object* x_35; lean_object* x_36; -lean_dec(x_21); -lean_dec(x_3); -lean_dec(x_1); -x_34 = 0; -x_35 = lean_box(x_34); -x_36 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_5); -return x_36; -} -else -{ -lean_object* x_37; -x_37 = lean_box(0); -x_22 = x_37; -goto block_30; -} -} -else -{ -lean_object* x_38; -x_38 = lean_box(0); -x_22 = x_38; -goto block_30; -} -} -else -{ -lean_object* x_39; -x_39 = lean_box(0); -x_22 = x_39; -goto block_30; -} -block_30: -{ -uint8_t x_23; -lean_dec(x_22); -x_23 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_5, x_21); -if (x_23 == 0) -{ -lean_object* x_24; lean_object* x_25; -x_24 = lean_box(0); -lean_inc(x_21); -x_25 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_5, x_21, x_24); -x_4 = x_21; -x_5 = x_25; -goto _start; -} -else -{ -uint8_t x_27; lean_object* x_28; lean_object* x_29; -lean_dec(x_21); -lean_dec(x_3); -lean_dec(x_1); -x_27 = 0; -x_28 = lean_box(x_27); -x_29 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_29, 0, x_28); -lean_ctor_set(x_29, 1, x_5); -return x_29; -} -} -} -} -case 5: -{ -lean_object* x_40; lean_object* x_41; uint8_t x_42; lean_object* x_43; lean_object* x_67; uint8_t x_77; -x_40 = lean_ctor_get(x_4, 0); -lean_inc(x_40); -x_41 = lean_ctor_get(x_4, 1); -lean_inc(x_41); -lean_dec(x_4); -x_77 = lean_expr_has_expr_mvar(x_41); -if (x_77 == 0) -{ -uint8_t x_78; -x_78 = lean_expr_has_level_mvar(x_41); -if (x_78 == 0) -{ -uint8_t x_79; -x_79 = lean_expr_has_fvar(x_41); -if (x_79 == 0) -{ -uint8_t x_80; -lean_dec(x_41); -x_80 = 0; -x_42 = x_80; -x_43 = x_5; -goto block_66; -} -else -{ -lean_object* x_81; -x_81 = lean_box(0); -x_67 = x_81; -goto block_76; -} -} -else -{ -lean_object* x_82; -x_82 = lean_box(0); -x_67 = x_82; -goto block_76; -} -} -else -{ -lean_object* x_83; -x_83 = lean_box(0); -x_67 = x_83; -goto block_76; -} -block_66: -{ -if (x_42 == 0) -{ -uint8_t x_44; -x_44 = l_Lean_Expr_isApp(x_40); -if (x_44 == 0) -{ -lean_object* x_45; uint8_t x_54; -x_54 = lean_expr_has_expr_mvar(x_40); -if (x_54 == 0) -{ -uint8_t x_55; -x_55 = lean_expr_has_level_mvar(x_40); -if (x_55 == 0) -{ -uint8_t x_56; -x_56 = lean_expr_has_fvar(x_40); -if (x_56 == 0) -{ -uint8_t x_57; lean_object* x_58; lean_object* x_59; -lean_dec(x_40); -lean_dec(x_3); -lean_dec(x_1); -x_57 = 0; -x_58 = lean_box(x_57); -x_59 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_59, 0, x_58); -lean_ctor_set(x_59, 1, x_43); -return x_59; -} -else -{ -lean_object* x_60; -x_60 = lean_box(0); -x_45 = x_60; -goto block_53; -} -} -else -{ -lean_object* x_61; -x_61 = lean_box(0); -x_45 = x_61; -goto block_53; -} -} -else -{ -lean_object* x_62; -x_62 = lean_box(0); -x_45 = x_62; -goto block_53; -} -block_53: -{ -uint8_t x_46; -lean_dec(x_45); -x_46 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_43, x_40); -if (x_46 == 0) -{ -lean_object* x_47; lean_object* x_48; -x_47 = lean_box(0); -lean_inc(x_40); -x_48 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_43, x_40, x_47); -x_4 = x_40; -x_5 = x_48; -goto _start; -} -else -{ -uint8_t x_50; lean_object* x_51; lean_object* x_52; -lean_dec(x_40); -lean_dec(x_3); -lean_dec(x_1); -x_50 = 0; -x_51 = lean_box(x_50); -x_52 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_52, 0, x_51); -lean_ctor_set(x_52, 1, x_43); -return x_52; -} -} -} -else -{ -x_4 = x_40; -x_5 = x_43; -goto _start; -} -} -else -{ -lean_object* x_64; lean_object* x_65; -lean_dec(x_40); -lean_dec(x_3); -lean_dec(x_1); -x_64 = lean_box(x_42); -x_65 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_65, 0, x_64); -lean_ctor_set(x_65, 1, x_43); -return x_65; -} -} -block_76: -{ -uint8_t x_68; -lean_dec(x_67); -x_68 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_5, x_41); -if (x_68 == 0) -{ -lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; uint8_t x_74; -x_69 = lean_box(0); -lean_inc(x_41); -x_70 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_5, x_41, x_69); -lean_inc(x_3); -lean_inc(x_1); -x_71 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__21___rarg(x_1, x_2, x_3, x_41, x_70); -x_72 = lean_ctor_get(x_71, 0); -lean_inc(x_72); -x_73 = lean_ctor_get(x_71, 1); -lean_inc(x_73); -lean_dec(x_71); -x_74 = lean_unbox(x_72); -lean_dec(x_72); -x_42 = x_74; -x_43 = x_73; -goto block_66; -} -else -{ -uint8_t x_75; -lean_dec(x_41); -x_75 = 0; -x_42 = x_75; -x_43 = x_5; -goto block_66; -} -} -} -case 6: -{ -lean_object* x_84; lean_object* x_85; uint8_t x_86; lean_object* x_87; lean_object* x_109; uint8_t x_119; -x_84 = lean_ctor_get(x_4, 1); -lean_inc(x_84); -x_85 = lean_ctor_get(x_4, 2); -lean_inc(x_85); -lean_dec(x_4); -x_119 = lean_expr_has_expr_mvar(x_84); -if (x_119 == 0) -{ -uint8_t x_120; -x_120 = lean_expr_has_level_mvar(x_84); -if (x_120 == 0) -{ -uint8_t x_121; -x_121 = lean_expr_has_fvar(x_84); -if (x_121 == 0) -{ -uint8_t x_122; -lean_dec(x_84); -x_122 = 0; -x_86 = x_122; -x_87 = x_5; -goto block_108; -} -else -{ -lean_object* x_123; -x_123 = lean_box(0); -x_109 = x_123; -goto block_118; -} -} -else -{ -lean_object* x_124; -x_124 = lean_box(0); -x_109 = x_124; -goto block_118; -} -} -else -{ -lean_object* x_125; -x_125 = lean_box(0); -x_109 = x_125; -goto block_118; -} -block_108: -{ -if (x_86 == 0) -{ -lean_object* x_88; uint8_t x_97; -x_97 = lean_expr_has_expr_mvar(x_85); -if (x_97 == 0) -{ -uint8_t x_98; -x_98 = lean_expr_has_level_mvar(x_85); -if (x_98 == 0) -{ -uint8_t x_99; -x_99 = lean_expr_has_fvar(x_85); -if (x_99 == 0) -{ -uint8_t x_100; lean_object* x_101; lean_object* x_102; -lean_dec(x_85); -lean_dec(x_3); -lean_dec(x_1); -x_100 = 0; -x_101 = lean_box(x_100); -x_102 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_102, 0, x_101); -lean_ctor_set(x_102, 1, x_87); -return x_102; -} -else -{ -lean_object* x_103; -x_103 = lean_box(0); -x_88 = x_103; -goto block_96; -} -} -else -{ -lean_object* x_104; -x_104 = lean_box(0); -x_88 = x_104; -goto block_96; -} -} -else -{ -lean_object* x_105; -x_105 = lean_box(0); -x_88 = x_105; -goto block_96; -} -block_96: -{ -uint8_t x_89; -lean_dec(x_88); -x_89 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_87, x_85); -if (x_89 == 0) -{ -lean_object* x_90; lean_object* x_91; -x_90 = lean_box(0); -lean_inc(x_85); -x_91 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_87, x_85, x_90); -x_4 = x_85; -x_5 = x_91; -goto _start; -} -else -{ -uint8_t x_93; lean_object* x_94; lean_object* x_95; -lean_dec(x_85); -lean_dec(x_3); -lean_dec(x_1); -x_93 = 0; -x_94 = lean_box(x_93); -x_95 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_95, 0, x_94); -lean_ctor_set(x_95, 1, x_87); -return x_95; -} -} -} -else -{ -lean_object* x_106; lean_object* x_107; -lean_dec(x_85); -lean_dec(x_3); -lean_dec(x_1); -x_106 = lean_box(x_86); -x_107 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_107, 0, x_106); -lean_ctor_set(x_107, 1, x_87); -return x_107; -} -} -block_118: -{ -uint8_t x_110; -lean_dec(x_109); -x_110 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_5, x_84); -if (x_110 == 0) -{ -lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; uint8_t x_116; -x_111 = lean_box(0); -lean_inc(x_84); -x_112 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_5, x_84, x_111); -lean_inc(x_3); -lean_inc(x_1); -x_113 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__21___rarg(x_1, x_2, x_3, x_84, x_112); -x_114 = lean_ctor_get(x_113, 0); -lean_inc(x_114); -x_115 = lean_ctor_get(x_113, 1); -lean_inc(x_115); -lean_dec(x_113); -x_116 = lean_unbox(x_114); -lean_dec(x_114); -x_86 = x_116; -x_87 = x_115; -goto block_108; -} -else -{ -uint8_t x_117; -lean_dec(x_84); -x_117 = 0; -x_86 = x_117; -x_87 = x_5; -goto block_108; -} -} -} -case 7: -{ -lean_object* x_126; lean_object* x_127; uint8_t x_128; lean_object* x_129; lean_object* x_151; uint8_t x_161; -x_126 = lean_ctor_get(x_4, 1); -lean_inc(x_126); -x_127 = lean_ctor_get(x_4, 2); -lean_inc(x_127); -lean_dec(x_4); -x_161 = lean_expr_has_expr_mvar(x_126); -if (x_161 == 0) -{ -uint8_t x_162; -x_162 = lean_expr_has_level_mvar(x_126); -if (x_162 == 0) -{ -uint8_t x_163; -x_163 = lean_expr_has_fvar(x_126); -if (x_163 == 0) -{ -uint8_t x_164; -lean_dec(x_126); -x_164 = 0; -x_128 = x_164; -x_129 = x_5; -goto block_150; -} -else -{ -lean_object* x_165; -x_165 = lean_box(0); -x_151 = x_165; -goto block_160; -} -} -else -{ -lean_object* x_166; -x_166 = lean_box(0); -x_151 = x_166; -goto block_160; -} -} -else -{ -lean_object* x_167; -x_167 = lean_box(0); -x_151 = x_167; -goto block_160; -} -block_150: -{ -if (x_128 == 0) -{ -lean_object* x_130; uint8_t x_139; -x_139 = lean_expr_has_expr_mvar(x_127); -if (x_139 == 0) -{ -uint8_t x_140; -x_140 = lean_expr_has_level_mvar(x_127); -if (x_140 == 0) -{ -uint8_t x_141; -x_141 = lean_expr_has_fvar(x_127); -if (x_141 == 0) -{ -uint8_t x_142; lean_object* x_143; lean_object* x_144; -lean_dec(x_127); -lean_dec(x_3); -lean_dec(x_1); -x_142 = 0; -x_143 = lean_box(x_142); -x_144 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_144, 0, x_143); -lean_ctor_set(x_144, 1, x_129); -return x_144; -} -else -{ -lean_object* x_145; -x_145 = lean_box(0); -x_130 = x_145; -goto block_138; -} -} -else -{ -lean_object* x_146; -x_146 = lean_box(0); -x_130 = x_146; -goto block_138; -} -} -else -{ -lean_object* x_147; -x_147 = lean_box(0); -x_130 = x_147; -goto block_138; -} -block_138: -{ -uint8_t x_131; -lean_dec(x_130); -x_131 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_129, x_127); -if (x_131 == 0) -{ -lean_object* x_132; lean_object* x_133; -x_132 = lean_box(0); -lean_inc(x_127); -x_133 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_129, x_127, x_132); -x_4 = x_127; -x_5 = x_133; -goto _start; -} -else -{ -uint8_t x_135; lean_object* x_136; lean_object* x_137; -lean_dec(x_127); -lean_dec(x_3); -lean_dec(x_1); -x_135 = 0; -x_136 = lean_box(x_135); -x_137 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_137, 0, x_136); -lean_ctor_set(x_137, 1, x_129); -return x_137; -} -} -} -else -{ -lean_object* x_148; lean_object* x_149; -lean_dec(x_127); -lean_dec(x_3); -lean_dec(x_1); -x_148 = lean_box(x_128); -x_149 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_149, 0, x_148); -lean_ctor_set(x_149, 1, x_129); -return x_149; -} -} -block_160: -{ -uint8_t x_152; -lean_dec(x_151); -x_152 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_5, x_126); -if (x_152 == 0) -{ -lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; uint8_t x_158; -x_153 = lean_box(0); -lean_inc(x_126); -x_154 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_5, x_126, x_153); -lean_inc(x_3); -lean_inc(x_1); -x_155 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__21___rarg(x_1, x_2, x_3, x_126, x_154); -x_156 = lean_ctor_get(x_155, 0); -lean_inc(x_156); -x_157 = lean_ctor_get(x_155, 1); -lean_inc(x_157); -lean_dec(x_155); -x_158 = lean_unbox(x_156); -lean_dec(x_156); -x_128 = x_158; -x_129 = x_157; -goto block_150; -} -else -{ -uint8_t x_159; -lean_dec(x_126); -x_159 = 0; -x_128 = x_159; -x_129 = x_5; -goto block_150; -} -} -} -case 8: -{ -lean_object* x_168; lean_object* x_169; lean_object* x_170; uint8_t x_171; lean_object* x_172; uint8_t x_194; lean_object* x_195; lean_object* x_214; uint8_t x_224; -x_168 = lean_ctor_get(x_4, 1); -lean_inc(x_168); -x_169 = lean_ctor_get(x_4, 2); -lean_inc(x_169); -x_170 = lean_ctor_get(x_4, 3); -lean_inc(x_170); -lean_dec(x_4); -x_224 = lean_expr_has_expr_mvar(x_168); -if (x_224 == 0) -{ -uint8_t x_225; -x_225 = lean_expr_has_level_mvar(x_168); -if (x_225 == 0) -{ -uint8_t x_226; -x_226 = lean_expr_has_fvar(x_168); -if (x_226 == 0) -{ -uint8_t x_227; -lean_dec(x_168); -x_227 = 0; -x_194 = x_227; -x_195 = x_5; -goto block_213; -} -else -{ -lean_object* x_228; -x_228 = lean_box(0); -x_214 = x_228; -goto block_223; -} -} -else -{ -lean_object* x_229; -x_229 = lean_box(0); -x_214 = x_229; -goto block_223; -} -} -else -{ -lean_object* x_230; -x_230 = lean_box(0); -x_214 = x_230; -goto block_223; -} -block_193: -{ -if (x_171 == 0) -{ -lean_object* x_173; uint8_t x_182; -x_182 = lean_expr_has_expr_mvar(x_170); -if (x_182 == 0) -{ -uint8_t x_183; -x_183 = lean_expr_has_level_mvar(x_170); -if (x_183 == 0) -{ -uint8_t x_184; -x_184 = lean_expr_has_fvar(x_170); -if (x_184 == 0) -{ -uint8_t x_185; lean_object* x_186; lean_object* x_187; -lean_dec(x_170); -lean_dec(x_3); -lean_dec(x_1); -x_185 = 0; -x_186 = lean_box(x_185); -x_187 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_187, 0, x_186); -lean_ctor_set(x_187, 1, x_172); -return x_187; -} -else -{ -lean_object* x_188; -x_188 = lean_box(0); -x_173 = x_188; -goto block_181; -} -} -else -{ -lean_object* x_189; -x_189 = lean_box(0); -x_173 = x_189; -goto block_181; -} -} -else -{ -lean_object* x_190; -x_190 = lean_box(0); -x_173 = x_190; -goto block_181; -} -block_181: -{ -uint8_t x_174; -lean_dec(x_173); -x_174 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_172, x_170); -if (x_174 == 0) -{ -lean_object* x_175; lean_object* x_176; -x_175 = lean_box(0); -lean_inc(x_170); -x_176 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_172, x_170, x_175); -x_4 = x_170; -x_5 = x_176; -goto _start; -} -else -{ -uint8_t x_178; lean_object* x_179; lean_object* x_180; -lean_dec(x_170); -lean_dec(x_3); -lean_dec(x_1); -x_178 = 0; -x_179 = lean_box(x_178); -x_180 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_180, 0, x_179); -lean_ctor_set(x_180, 1, x_172); -return x_180; -} -} -} -else -{ -lean_object* x_191; lean_object* x_192; -lean_dec(x_170); -lean_dec(x_3); -lean_dec(x_1); -x_191 = lean_box(x_171); -x_192 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_192, 0, x_191); -lean_ctor_set(x_192, 1, x_172); -return x_192; -} -} -block_213: -{ -lean_object* x_196; -if (x_194 == 0) -{ -uint8_t x_206; -x_206 = lean_expr_has_expr_mvar(x_169); -if (x_206 == 0) -{ -uint8_t x_207; -x_207 = lean_expr_has_level_mvar(x_169); -if (x_207 == 0) -{ -uint8_t x_208; -x_208 = lean_expr_has_fvar(x_169); -if (x_208 == 0) -{ -uint8_t x_209; -lean_dec(x_169); -x_209 = 0; -x_171 = x_209; -x_172 = x_195; -goto block_193; -} -else -{ -lean_object* x_210; -x_210 = lean_box(0); -x_196 = x_210; -goto block_205; -} -} -else -{ -lean_object* x_211; -x_211 = lean_box(0); -x_196 = x_211; -goto block_205; -} -} -else -{ -lean_object* x_212; -x_212 = lean_box(0); -x_196 = x_212; -goto block_205; -} -} -else -{ -lean_dec(x_169); -x_171 = x_194; -x_172 = x_195; -goto block_193; -} -block_205: -{ -uint8_t x_197; -lean_dec(x_196); -x_197 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_195, x_169); -if (x_197 == 0) -{ -lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; uint8_t x_203; -x_198 = lean_box(0); -lean_inc(x_169); -x_199 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_195, x_169, x_198); -lean_inc(x_3); -lean_inc(x_1); -x_200 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__21___rarg(x_1, x_2, x_3, x_169, x_199); -x_201 = lean_ctor_get(x_200, 0); -lean_inc(x_201); -x_202 = lean_ctor_get(x_200, 1); -lean_inc(x_202); -lean_dec(x_200); -x_203 = lean_unbox(x_201); -lean_dec(x_201); -x_171 = x_203; -x_172 = x_202; -goto block_193; -} -else -{ -uint8_t x_204; -lean_dec(x_169); -x_204 = 0; -x_171 = x_204; -x_172 = x_195; -goto block_193; -} -} -} -block_223: -{ -uint8_t x_215; -lean_dec(x_214); -x_215 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_5, x_168); -if (x_215 == 0) -{ -lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; uint8_t x_221; -x_216 = lean_box(0); -lean_inc(x_168); -x_217 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_5, x_168, x_216); -lean_inc(x_3); -lean_inc(x_1); -x_218 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__21___rarg(x_1, x_2, x_3, x_168, x_217); -x_219 = lean_ctor_get(x_218, 0); -lean_inc(x_219); -x_220 = lean_ctor_get(x_218, 1); -lean_inc(x_220); -lean_dec(x_218); -x_221 = lean_unbox(x_219); -lean_dec(x_219); -x_194 = x_221; -x_195 = x_220; -goto block_213; -} -else -{ -uint8_t x_222; -lean_dec(x_168); -x_222 = 0; -x_194 = x_222; -x_195 = x_5; -goto block_213; -} -} -} -case 10: -{ -lean_object* x_231; lean_object* x_232; uint8_t x_241; -x_231 = lean_ctor_get(x_4, 1); -lean_inc(x_231); -lean_dec(x_4); -x_241 = lean_expr_has_expr_mvar(x_231); -if (x_241 == 0) -{ -uint8_t x_242; -x_242 = lean_expr_has_level_mvar(x_231); -if (x_242 == 0) -{ -uint8_t x_243; -x_243 = lean_expr_has_fvar(x_231); -if (x_243 == 0) -{ -uint8_t x_244; lean_object* x_245; lean_object* x_246; -lean_dec(x_231); -lean_dec(x_3); -lean_dec(x_1); -x_244 = 0; -x_245 = lean_box(x_244); -x_246 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_246, 0, x_245); -lean_ctor_set(x_246, 1, x_5); -return x_246; -} -else -{ -lean_object* x_247; -x_247 = lean_box(0); -x_232 = x_247; -goto block_240; -} -} -else -{ -lean_object* x_248; -x_248 = lean_box(0); -x_232 = x_248; -goto block_240; -} -} -else -{ -lean_object* x_249; -x_249 = lean_box(0); -x_232 = x_249; -goto block_240; -} -block_240: -{ -uint8_t x_233; -lean_dec(x_232); -x_233 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_5, x_231); -if (x_233 == 0) -{ -lean_object* x_234; lean_object* x_235; -x_234 = lean_box(0); -lean_inc(x_231); -x_235 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_5, x_231, x_234); -x_4 = x_231; -x_5 = x_235; -goto _start; -} -else -{ -uint8_t x_237; lean_object* x_238; lean_object* x_239; -lean_dec(x_231); -lean_dec(x_3); -lean_dec(x_1); -x_237 = 0; -x_238 = lean_box(x_237); -x_239 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_239, 0, x_238); -lean_ctor_set(x_239, 1, x_5); -return x_239; -} -} -} -case 11: -{ -lean_object* x_250; lean_object* x_251; uint8_t x_260; -x_250 = lean_ctor_get(x_4, 2); -lean_inc(x_250); -lean_dec(x_4); -x_260 = lean_expr_has_expr_mvar(x_250); -if (x_260 == 0) -{ -uint8_t x_261; -x_261 = lean_expr_has_level_mvar(x_250); -if (x_261 == 0) -{ -uint8_t x_262; -x_262 = lean_expr_has_fvar(x_250); -if (x_262 == 0) -{ -uint8_t x_263; lean_object* x_264; lean_object* x_265; -lean_dec(x_250); -lean_dec(x_3); -lean_dec(x_1); -x_263 = 0; -x_264 = lean_box(x_263); -x_265 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_265, 0, x_264); -lean_ctor_set(x_265, 1, x_5); -return x_265; -} -else -{ -lean_object* x_266; -x_266 = lean_box(0); -x_251 = x_266; -goto block_259; -} -} -else -{ -lean_object* x_267; -x_267 = lean_box(0); -x_251 = x_267; -goto block_259; -} -} -else -{ -lean_object* x_268; -x_268 = lean_box(0); -x_251 = x_268; -goto block_259; -} -block_259: -{ -uint8_t x_252; -lean_dec(x_251); -x_252 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_5, x_250); -if (x_252 == 0) -{ -lean_object* x_253; lean_object* x_254; -x_253 = lean_box(0); -lean_inc(x_250); -x_254 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_5, x_250, x_253); -x_4 = x_250; -x_5 = x_254; -goto _start; -} -else -{ -uint8_t x_256; lean_object* x_257; lean_object* x_258; -lean_dec(x_250); -lean_dec(x_3); -lean_dec(x_1); -x_256 = 0; -x_257 = lean_box(x_256); -x_258 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_258, 0, x_257); -lean_ctor_set(x_258, 1, x_5); -return x_258; -} -} -} -default: -{ -uint8_t x_269; lean_object* x_270; lean_object* x_271; -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_269 = 0; -x_270 = lean_box(x_269); -x_271 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_271, 0, x_270); -lean_ctor_set(x_271, 1, x_5); -return x_271; -} -} -} -} -lean_object* l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__21(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__21___rarg___boxed), 5, 0); -return x_2; -} -} -uint8_t l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__30(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; uint8_t x_5; -x_4 = lean_array_get_size(x_2); -x_5 = lean_nat_dec_lt(x_3, x_4); -lean_dec(x_4); -if (x_5 == 0) -{ -uint8_t x_6; -lean_dec(x_3); -x_6 = 0; -return x_6; -} -else -{ -lean_object* x_7; uint8_t x_8; -x_7 = lean_array_fget(x_2, x_3); -x_8 = l_PersistentArray_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__29(x_1, x_7); -lean_dec(x_7); -if (x_8 == 0) -{ -lean_object* x_9; lean_object* x_10; -x_9 = lean_unsigned_to_nat(1u); -x_10 = lean_nat_add(x_3, x_9); -lean_dec(x_3); -x_3 = x_10; -goto _start; -} -else -{ -lean_dec(x_3); -return x_8; -} -} -} -} -uint8_t l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__31(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; uint8_t x_5; -x_4 = lean_array_get_size(x_2); -x_5 = lean_nat_dec_lt(x_3, x_4); -lean_dec(x_4); -if (x_5 == 0) -{ -uint8_t x_6; -lean_dec(x_3); -x_6 = 0; -return x_6; -} -else -{ -lean_object* x_7; -x_7 = lean_array_fget(x_2, x_3); -if (lean_obj_tag(x_7) == 0) -{ -lean_object* x_8; lean_object* x_9; -x_8 = lean_unsigned_to_nat(1u); -x_9 = lean_nat_add(x_3, x_8); -lean_dec(x_3); -x_3 = x_9; -goto _start; -} -else -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_11 = lean_ctor_get(x_7, 0); -lean_inc(x_11); -lean_dec(x_7); -x_12 = l_Lean_LocalDecl_name(x_11); -lean_dec(x_11); -x_13 = lean_unsigned_to_nat(0u); -x_14 = l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__2(x_12, x_1, x_13); -lean_dec(x_12); -if (x_14 == 0) -{ -lean_object* x_15; lean_object* x_16; -x_15 = lean_unsigned_to_nat(1u); -x_16 = lean_nat_add(x_3, x_15); -lean_dec(x_3); -x_3 = x_16; -goto _start; -} -else -{ -lean_dec(x_3); -return x_14; -} -} -} -} -} -uint8_t l_PersistentArray_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__29(lean_object* x_1, lean_object* x_2) { -_start: -{ -if (lean_obj_tag(x_2) == 0) -{ -lean_object* x_3; lean_object* x_4; uint8_t x_5; -x_3 = lean_ctor_get(x_2, 0); -x_4 = lean_unsigned_to_nat(0u); -x_5 = l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__30(x_1, x_3, x_4); -return x_5; -} -else -{ -lean_object* x_6; lean_object* x_7; uint8_t x_8; -x_6 = lean_ctor_get(x_2, 0); -x_7 = lean_unsigned_to_nat(0u); -x_8 = l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__31(x_1, x_6, x_7); -return x_8; -} -} -} -uint8_t l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__32(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; uint8_t x_5; -x_4 = lean_array_get_size(x_2); -x_5 = lean_nat_dec_lt(x_3, x_4); -lean_dec(x_4); -if (x_5 == 0) -{ -uint8_t x_6; -lean_dec(x_3); -x_6 = 0; -return x_6; -} -else -{ -lean_object* x_7; -x_7 = lean_array_fget(x_2, x_3); -if (lean_obj_tag(x_7) == 0) -{ -lean_object* x_8; lean_object* x_9; -x_8 = lean_unsigned_to_nat(1u); -x_9 = lean_nat_add(x_3, x_8); -lean_dec(x_3); -x_3 = x_9; -goto _start; -} -else -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_11 = lean_ctor_get(x_7, 0); -lean_inc(x_11); -lean_dec(x_7); -x_12 = l_Lean_LocalDecl_name(x_11); -lean_dec(x_11); -x_13 = lean_unsigned_to_nat(0u); -x_14 = l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__2(x_12, x_1, x_13); -lean_dec(x_12); -if (x_14 == 0) -{ -lean_object* x_15; lean_object* x_16; -x_15 = lean_unsigned_to_nat(1u); -x_16 = lean_nat_add(x_3, x_15); -lean_dec(x_3); -x_3 = x_16; -goto _start; -} -else -{ -lean_dec(x_3); -return x_14; -} -} -} -} -} -uint8_t l_PersistentArray_anyM___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__28(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; uint8_t x_4; -x_3 = lean_ctor_get(x_2, 0); -x_4 = l_PersistentArray_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__29(x_1, x_3); -if (x_4 == 0) -{ -lean_object* x_5; lean_object* x_6; uint8_t x_7; -x_5 = lean_ctor_get(x_2, 1); -x_6 = lean_unsigned_to_nat(0u); -x_7 = l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__32(x_1, x_5, x_6); -return x_7; -} -else -{ -return x_4; -} -} -} -lean_object* l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__27___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -switch (lean_obj_tag(x_4)) { -case 1: -{ -lean_object* x_6; lean_object* x_7; uint8_t x_8; lean_object* x_9; lean_object* x_10; -lean_dec(x_3); -lean_dec(x_1); -x_6 = lean_ctor_get(x_4, 0); -lean_inc(x_6); -lean_dec(x_4); -x_7 = lean_unsigned_to_nat(0u); -x_8 = l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__2(x_6, x_2, x_7); -lean_dec(x_6); -x_9 = lean_box(x_8); -x_10 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_10, 0, x_9); -lean_ctor_set(x_10, 1, x_5); -return x_10; -} -case 2: -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_11 = lean_ctor_get(x_4, 0); -lean_inc(x_11); -lean_dec(x_4); -x_12 = lean_ctor_get(x_1, 5); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_3); -x_13 = lean_apply_2(x_12, x_3, x_11); -if (lean_obj_tag(x_13) == 0) -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; lean_object* x_19; lean_object* x_20; -x_14 = lean_ctor_get(x_1, 7); -lean_inc(x_14); -lean_dec(x_1); -x_15 = lean_apply_2(x_14, x_3, x_11); -x_16 = lean_ctor_get(x_15, 1); -lean_inc(x_16); -lean_dec(x_15); -x_17 = lean_ctor_get(x_16, 1); -lean_inc(x_17); -lean_dec(x_16); -x_18 = l_PersistentArray_anyM___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__28(x_2, x_17); -lean_dec(x_17); -x_19 = lean_box(x_18); -x_20 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_20, 0, x_19); -lean_ctor_set(x_20, 1, x_5); -return x_20; -} -else -{ -lean_object* x_21; lean_object* x_22; uint8_t x_31; -lean_dec(x_11); -x_21 = lean_ctor_get(x_13, 0); -lean_inc(x_21); -lean_dec(x_13); -x_31 = lean_expr_has_expr_mvar(x_21); -if (x_31 == 0) -{ -uint8_t x_32; -x_32 = lean_expr_has_level_mvar(x_21); -if (x_32 == 0) -{ -uint8_t x_33; -x_33 = lean_expr_has_fvar(x_21); -if (x_33 == 0) -{ -uint8_t x_34; lean_object* x_35; lean_object* x_36; -lean_dec(x_21); -lean_dec(x_3); -lean_dec(x_1); -x_34 = 0; -x_35 = lean_box(x_34); -x_36 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_5); -return x_36; -} -else -{ -lean_object* x_37; -x_37 = lean_box(0); -x_22 = x_37; -goto block_30; -} -} -else -{ -lean_object* x_38; -x_38 = lean_box(0); -x_22 = x_38; -goto block_30; -} -} -else -{ -lean_object* x_39; -x_39 = lean_box(0); -x_22 = x_39; -goto block_30; -} -block_30: -{ -uint8_t x_23; -lean_dec(x_22); -x_23 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_5, x_21); -if (x_23 == 0) -{ -lean_object* x_24; lean_object* x_25; -x_24 = lean_box(0); -lean_inc(x_21); -x_25 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_5, x_21, x_24); -x_4 = x_21; -x_5 = x_25; -goto _start; -} -else -{ -uint8_t x_27; lean_object* x_28; lean_object* x_29; -lean_dec(x_21); -lean_dec(x_3); -lean_dec(x_1); -x_27 = 0; -x_28 = lean_box(x_27); -x_29 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_29, 0, x_28); -lean_ctor_set(x_29, 1, x_5); -return x_29; -} -} -} -} -case 5: -{ -lean_object* x_40; lean_object* x_41; uint8_t x_42; lean_object* x_43; lean_object* x_67; uint8_t x_77; -x_40 = lean_ctor_get(x_4, 0); -lean_inc(x_40); -x_41 = lean_ctor_get(x_4, 1); -lean_inc(x_41); -lean_dec(x_4); -x_77 = lean_expr_has_expr_mvar(x_41); -if (x_77 == 0) -{ -uint8_t x_78; -x_78 = lean_expr_has_level_mvar(x_41); -if (x_78 == 0) -{ -uint8_t x_79; -x_79 = lean_expr_has_fvar(x_41); -if (x_79 == 0) -{ -uint8_t x_80; -lean_dec(x_41); -x_80 = 0; -x_42 = x_80; -x_43 = x_5; -goto block_66; -} -else -{ -lean_object* x_81; -x_81 = lean_box(0); -x_67 = x_81; -goto block_76; -} -} -else -{ -lean_object* x_82; -x_82 = lean_box(0); -x_67 = x_82; -goto block_76; -} -} -else -{ -lean_object* x_83; -x_83 = lean_box(0); -x_67 = x_83; -goto block_76; -} -block_66: -{ -if (x_42 == 0) -{ -uint8_t x_44; -x_44 = l_Lean_Expr_isApp(x_40); -if (x_44 == 0) -{ -lean_object* x_45; uint8_t x_54; -x_54 = lean_expr_has_expr_mvar(x_40); -if (x_54 == 0) -{ -uint8_t x_55; -x_55 = lean_expr_has_level_mvar(x_40); -if (x_55 == 0) -{ -uint8_t x_56; -x_56 = lean_expr_has_fvar(x_40); -if (x_56 == 0) -{ -uint8_t x_57; lean_object* x_58; lean_object* x_59; -lean_dec(x_40); -lean_dec(x_3); -lean_dec(x_1); -x_57 = 0; -x_58 = lean_box(x_57); -x_59 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_59, 0, x_58); -lean_ctor_set(x_59, 1, x_43); -return x_59; -} -else -{ -lean_object* x_60; -x_60 = lean_box(0); -x_45 = x_60; -goto block_53; -} -} -else -{ -lean_object* x_61; -x_61 = lean_box(0); -x_45 = x_61; -goto block_53; -} -} -else -{ -lean_object* x_62; -x_62 = lean_box(0); -x_45 = x_62; -goto block_53; -} -block_53: -{ -uint8_t x_46; -lean_dec(x_45); -x_46 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_43, x_40); -if (x_46 == 0) -{ -lean_object* x_47; lean_object* x_48; -x_47 = lean_box(0); -lean_inc(x_40); -x_48 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_43, x_40, x_47); -x_4 = x_40; -x_5 = x_48; -goto _start; -} -else -{ -uint8_t x_50; lean_object* x_51; lean_object* x_52; -lean_dec(x_40); -lean_dec(x_3); -lean_dec(x_1); -x_50 = 0; -x_51 = lean_box(x_50); -x_52 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_52, 0, x_51); -lean_ctor_set(x_52, 1, x_43); -return x_52; -} -} -} -else -{ -x_4 = x_40; -x_5 = x_43; -goto _start; -} -} -else -{ -lean_object* x_64; lean_object* x_65; -lean_dec(x_40); -lean_dec(x_3); -lean_dec(x_1); -x_64 = lean_box(x_42); -x_65 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_65, 0, x_64); -lean_ctor_set(x_65, 1, x_43); -return x_65; -} -} -block_76: -{ -uint8_t x_68; -lean_dec(x_67); -x_68 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_5, x_41); -if (x_68 == 0) -{ -lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; uint8_t x_74; -x_69 = lean_box(0); -lean_inc(x_41); -x_70 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_5, x_41, x_69); -lean_inc(x_3); -lean_inc(x_1); -x_71 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__27___rarg(x_1, x_2, x_3, x_41, x_70); -x_72 = lean_ctor_get(x_71, 0); -lean_inc(x_72); -x_73 = lean_ctor_get(x_71, 1); -lean_inc(x_73); -lean_dec(x_71); -x_74 = lean_unbox(x_72); -lean_dec(x_72); -x_42 = x_74; -x_43 = x_73; -goto block_66; -} -else -{ -uint8_t x_75; -lean_dec(x_41); -x_75 = 0; -x_42 = x_75; -x_43 = x_5; -goto block_66; -} -} -} -case 6: -{ -lean_object* x_84; lean_object* x_85; uint8_t x_86; lean_object* x_87; lean_object* x_109; uint8_t x_119; -x_84 = lean_ctor_get(x_4, 1); -lean_inc(x_84); -x_85 = lean_ctor_get(x_4, 2); -lean_inc(x_85); -lean_dec(x_4); -x_119 = lean_expr_has_expr_mvar(x_84); -if (x_119 == 0) -{ -uint8_t x_120; -x_120 = lean_expr_has_level_mvar(x_84); -if (x_120 == 0) -{ -uint8_t x_121; -x_121 = lean_expr_has_fvar(x_84); -if (x_121 == 0) -{ -uint8_t x_122; -lean_dec(x_84); -x_122 = 0; -x_86 = x_122; -x_87 = x_5; -goto block_108; -} -else -{ -lean_object* x_123; -x_123 = lean_box(0); -x_109 = x_123; -goto block_118; -} -} -else -{ -lean_object* x_124; -x_124 = lean_box(0); -x_109 = x_124; -goto block_118; -} -} -else -{ -lean_object* x_125; -x_125 = lean_box(0); -x_109 = x_125; -goto block_118; -} -block_108: -{ -if (x_86 == 0) -{ -lean_object* x_88; uint8_t x_97; -x_97 = lean_expr_has_expr_mvar(x_85); -if (x_97 == 0) -{ -uint8_t x_98; -x_98 = lean_expr_has_level_mvar(x_85); -if (x_98 == 0) -{ -uint8_t x_99; -x_99 = lean_expr_has_fvar(x_85); -if (x_99 == 0) -{ -uint8_t x_100; lean_object* x_101; lean_object* x_102; -lean_dec(x_85); -lean_dec(x_3); -lean_dec(x_1); -x_100 = 0; -x_101 = lean_box(x_100); -x_102 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_102, 0, x_101); -lean_ctor_set(x_102, 1, x_87); -return x_102; -} -else -{ -lean_object* x_103; -x_103 = lean_box(0); -x_88 = x_103; -goto block_96; -} -} -else -{ -lean_object* x_104; -x_104 = lean_box(0); -x_88 = x_104; -goto block_96; -} -} -else -{ -lean_object* x_105; -x_105 = lean_box(0); -x_88 = x_105; -goto block_96; -} -block_96: -{ -uint8_t x_89; -lean_dec(x_88); -x_89 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_87, x_85); -if (x_89 == 0) -{ -lean_object* x_90; lean_object* x_91; -x_90 = lean_box(0); -lean_inc(x_85); -x_91 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_87, x_85, x_90); -x_4 = x_85; -x_5 = x_91; -goto _start; -} -else -{ -uint8_t x_93; lean_object* x_94; lean_object* x_95; -lean_dec(x_85); -lean_dec(x_3); -lean_dec(x_1); -x_93 = 0; -x_94 = lean_box(x_93); -x_95 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_95, 0, x_94); -lean_ctor_set(x_95, 1, x_87); -return x_95; -} -} -} -else -{ -lean_object* x_106; lean_object* x_107; -lean_dec(x_85); -lean_dec(x_3); -lean_dec(x_1); -x_106 = lean_box(x_86); -x_107 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_107, 0, x_106); -lean_ctor_set(x_107, 1, x_87); -return x_107; -} -} -block_118: -{ -uint8_t x_110; -lean_dec(x_109); -x_110 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_5, x_84); -if (x_110 == 0) -{ -lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; uint8_t x_116; -x_111 = lean_box(0); -lean_inc(x_84); -x_112 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_5, x_84, x_111); -lean_inc(x_3); -lean_inc(x_1); -x_113 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__27___rarg(x_1, x_2, x_3, x_84, x_112); -x_114 = lean_ctor_get(x_113, 0); -lean_inc(x_114); -x_115 = lean_ctor_get(x_113, 1); -lean_inc(x_115); -lean_dec(x_113); -x_116 = lean_unbox(x_114); -lean_dec(x_114); -x_86 = x_116; -x_87 = x_115; -goto block_108; -} -else -{ -uint8_t x_117; -lean_dec(x_84); -x_117 = 0; -x_86 = x_117; -x_87 = x_5; -goto block_108; -} -} -} -case 7: -{ -lean_object* x_126; lean_object* x_127; uint8_t x_128; lean_object* x_129; lean_object* x_151; uint8_t x_161; -x_126 = lean_ctor_get(x_4, 1); -lean_inc(x_126); -x_127 = lean_ctor_get(x_4, 2); -lean_inc(x_127); -lean_dec(x_4); -x_161 = lean_expr_has_expr_mvar(x_126); -if (x_161 == 0) -{ -uint8_t x_162; -x_162 = lean_expr_has_level_mvar(x_126); -if (x_162 == 0) -{ -uint8_t x_163; -x_163 = lean_expr_has_fvar(x_126); -if (x_163 == 0) -{ -uint8_t x_164; -lean_dec(x_126); -x_164 = 0; -x_128 = x_164; -x_129 = x_5; -goto block_150; -} -else -{ -lean_object* x_165; -x_165 = lean_box(0); -x_151 = x_165; -goto block_160; -} -} -else -{ -lean_object* x_166; -x_166 = lean_box(0); -x_151 = x_166; -goto block_160; -} -} -else -{ -lean_object* x_167; -x_167 = lean_box(0); -x_151 = x_167; -goto block_160; -} -block_150: -{ -if (x_128 == 0) -{ -lean_object* x_130; uint8_t x_139; -x_139 = lean_expr_has_expr_mvar(x_127); -if (x_139 == 0) -{ -uint8_t x_140; -x_140 = lean_expr_has_level_mvar(x_127); -if (x_140 == 0) -{ -uint8_t x_141; -x_141 = lean_expr_has_fvar(x_127); -if (x_141 == 0) -{ -uint8_t x_142; lean_object* x_143; lean_object* x_144; -lean_dec(x_127); -lean_dec(x_3); -lean_dec(x_1); -x_142 = 0; -x_143 = lean_box(x_142); -x_144 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_144, 0, x_143); -lean_ctor_set(x_144, 1, x_129); -return x_144; -} -else -{ -lean_object* x_145; -x_145 = lean_box(0); -x_130 = x_145; -goto block_138; -} -} -else -{ -lean_object* x_146; -x_146 = lean_box(0); -x_130 = x_146; -goto block_138; -} -} -else -{ -lean_object* x_147; -x_147 = lean_box(0); -x_130 = x_147; -goto block_138; -} -block_138: -{ -uint8_t x_131; -lean_dec(x_130); -x_131 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_129, x_127); -if (x_131 == 0) -{ -lean_object* x_132; lean_object* x_133; -x_132 = lean_box(0); -lean_inc(x_127); -x_133 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_129, x_127, x_132); -x_4 = x_127; -x_5 = x_133; -goto _start; -} -else -{ -uint8_t x_135; lean_object* x_136; lean_object* x_137; -lean_dec(x_127); -lean_dec(x_3); -lean_dec(x_1); -x_135 = 0; -x_136 = lean_box(x_135); -x_137 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_137, 0, x_136); -lean_ctor_set(x_137, 1, x_129); -return x_137; -} -} -} -else -{ -lean_object* x_148; lean_object* x_149; -lean_dec(x_127); -lean_dec(x_3); -lean_dec(x_1); -x_148 = lean_box(x_128); -x_149 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_149, 0, x_148); -lean_ctor_set(x_149, 1, x_129); -return x_149; -} -} -block_160: -{ -uint8_t x_152; -lean_dec(x_151); -x_152 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_5, x_126); -if (x_152 == 0) -{ -lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; uint8_t x_158; -x_153 = lean_box(0); -lean_inc(x_126); -x_154 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_5, x_126, x_153); -lean_inc(x_3); -lean_inc(x_1); -x_155 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__27___rarg(x_1, x_2, x_3, x_126, x_154); -x_156 = lean_ctor_get(x_155, 0); -lean_inc(x_156); -x_157 = lean_ctor_get(x_155, 1); -lean_inc(x_157); -lean_dec(x_155); -x_158 = lean_unbox(x_156); -lean_dec(x_156); -x_128 = x_158; -x_129 = x_157; -goto block_150; -} -else -{ -uint8_t x_159; -lean_dec(x_126); -x_159 = 0; -x_128 = x_159; -x_129 = x_5; -goto block_150; -} -} -} -case 8: -{ -lean_object* x_168; lean_object* x_169; lean_object* x_170; uint8_t x_171; lean_object* x_172; uint8_t x_194; lean_object* x_195; lean_object* x_214; uint8_t x_224; -x_168 = lean_ctor_get(x_4, 1); -lean_inc(x_168); -x_169 = lean_ctor_get(x_4, 2); -lean_inc(x_169); -x_170 = lean_ctor_get(x_4, 3); -lean_inc(x_170); -lean_dec(x_4); -x_224 = lean_expr_has_expr_mvar(x_168); -if (x_224 == 0) -{ -uint8_t x_225; -x_225 = lean_expr_has_level_mvar(x_168); -if (x_225 == 0) -{ -uint8_t x_226; -x_226 = lean_expr_has_fvar(x_168); -if (x_226 == 0) -{ -uint8_t x_227; -lean_dec(x_168); -x_227 = 0; -x_194 = x_227; -x_195 = x_5; -goto block_213; -} -else -{ -lean_object* x_228; -x_228 = lean_box(0); -x_214 = x_228; -goto block_223; -} -} -else -{ -lean_object* x_229; -x_229 = lean_box(0); -x_214 = x_229; -goto block_223; -} -} -else -{ -lean_object* x_230; -x_230 = lean_box(0); -x_214 = x_230; -goto block_223; -} -block_193: -{ -if (x_171 == 0) -{ -lean_object* x_173; uint8_t x_182; -x_182 = lean_expr_has_expr_mvar(x_170); -if (x_182 == 0) -{ -uint8_t x_183; -x_183 = lean_expr_has_level_mvar(x_170); -if (x_183 == 0) -{ -uint8_t x_184; -x_184 = lean_expr_has_fvar(x_170); -if (x_184 == 0) -{ -uint8_t x_185; lean_object* x_186; lean_object* x_187; -lean_dec(x_170); -lean_dec(x_3); -lean_dec(x_1); -x_185 = 0; -x_186 = lean_box(x_185); -x_187 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_187, 0, x_186); -lean_ctor_set(x_187, 1, x_172); -return x_187; -} -else -{ -lean_object* x_188; -x_188 = lean_box(0); -x_173 = x_188; -goto block_181; -} -} -else -{ -lean_object* x_189; -x_189 = lean_box(0); -x_173 = x_189; -goto block_181; -} -} -else -{ -lean_object* x_190; -x_190 = lean_box(0); -x_173 = x_190; -goto block_181; -} -block_181: -{ -uint8_t x_174; -lean_dec(x_173); -x_174 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_172, x_170); -if (x_174 == 0) -{ -lean_object* x_175; lean_object* x_176; -x_175 = lean_box(0); -lean_inc(x_170); -x_176 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_172, x_170, x_175); -x_4 = x_170; -x_5 = x_176; -goto _start; -} -else -{ -uint8_t x_178; lean_object* x_179; lean_object* x_180; -lean_dec(x_170); -lean_dec(x_3); -lean_dec(x_1); -x_178 = 0; -x_179 = lean_box(x_178); -x_180 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_180, 0, x_179); -lean_ctor_set(x_180, 1, x_172); -return x_180; -} -} -} -else -{ -lean_object* x_191; lean_object* x_192; -lean_dec(x_170); -lean_dec(x_3); -lean_dec(x_1); -x_191 = lean_box(x_171); -x_192 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_192, 0, x_191); -lean_ctor_set(x_192, 1, x_172); -return x_192; -} -} -block_213: -{ -lean_object* x_196; -if (x_194 == 0) -{ -uint8_t x_206; -x_206 = lean_expr_has_expr_mvar(x_169); -if (x_206 == 0) -{ -uint8_t x_207; -x_207 = lean_expr_has_level_mvar(x_169); -if (x_207 == 0) -{ -uint8_t x_208; -x_208 = lean_expr_has_fvar(x_169); -if (x_208 == 0) -{ -uint8_t x_209; -lean_dec(x_169); -x_209 = 0; -x_171 = x_209; -x_172 = x_195; -goto block_193; -} -else -{ -lean_object* x_210; -x_210 = lean_box(0); -x_196 = x_210; -goto block_205; -} -} -else -{ -lean_object* x_211; -x_211 = lean_box(0); -x_196 = x_211; -goto block_205; -} -} -else -{ -lean_object* x_212; -x_212 = lean_box(0); -x_196 = x_212; -goto block_205; -} -} -else -{ -lean_dec(x_169); -x_171 = x_194; -x_172 = x_195; -goto block_193; -} -block_205: -{ -uint8_t x_197; -lean_dec(x_196); -x_197 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_195, x_169); -if (x_197 == 0) -{ -lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; uint8_t x_203; -x_198 = lean_box(0); -lean_inc(x_169); -x_199 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_195, x_169, x_198); -lean_inc(x_3); -lean_inc(x_1); -x_200 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__27___rarg(x_1, x_2, x_3, x_169, x_199); -x_201 = lean_ctor_get(x_200, 0); -lean_inc(x_201); -x_202 = lean_ctor_get(x_200, 1); -lean_inc(x_202); -lean_dec(x_200); -x_203 = lean_unbox(x_201); -lean_dec(x_201); -x_171 = x_203; -x_172 = x_202; -goto block_193; -} -else -{ -uint8_t x_204; -lean_dec(x_169); -x_204 = 0; -x_171 = x_204; -x_172 = x_195; -goto block_193; -} -} -} -block_223: -{ -uint8_t x_215; -lean_dec(x_214); -x_215 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_5, x_168); -if (x_215 == 0) -{ -lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; uint8_t x_221; -x_216 = lean_box(0); -lean_inc(x_168); -x_217 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_5, x_168, x_216); -lean_inc(x_3); -lean_inc(x_1); -x_218 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__27___rarg(x_1, x_2, x_3, x_168, x_217); -x_219 = lean_ctor_get(x_218, 0); -lean_inc(x_219); -x_220 = lean_ctor_get(x_218, 1); -lean_inc(x_220); -lean_dec(x_218); -x_221 = lean_unbox(x_219); -lean_dec(x_219); -x_194 = x_221; -x_195 = x_220; -goto block_213; -} -else -{ -uint8_t x_222; -lean_dec(x_168); -x_222 = 0; -x_194 = x_222; -x_195 = x_5; -goto block_213; -} -} -} -case 10: -{ -lean_object* x_231; lean_object* x_232; uint8_t x_241; -x_231 = lean_ctor_get(x_4, 1); -lean_inc(x_231); -lean_dec(x_4); -x_241 = lean_expr_has_expr_mvar(x_231); -if (x_241 == 0) -{ -uint8_t x_242; -x_242 = lean_expr_has_level_mvar(x_231); -if (x_242 == 0) -{ -uint8_t x_243; -x_243 = lean_expr_has_fvar(x_231); -if (x_243 == 0) -{ -uint8_t x_244; lean_object* x_245; lean_object* x_246; -lean_dec(x_231); -lean_dec(x_3); -lean_dec(x_1); -x_244 = 0; -x_245 = lean_box(x_244); -x_246 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_246, 0, x_245); -lean_ctor_set(x_246, 1, x_5); -return x_246; -} -else -{ -lean_object* x_247; -x_247 = lean_box(0); -x_232 = x_247; -goto block_240; -} -} -else -{ -lean_object* x_248; -x_248 = lean_box(0); -x_232 = x_248; -goto block_240; -} -} -else -{ -lean_object* x_249; -x_249 = lean_box(0); -x_232 = x_249; -goto block_240; -} -block_240: -{ -uint8_t x_233; -lean_dec(x_232); -x_233 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_5, x_231); -if (x_233 == 0) -{ -lean_object* x_234; lean_object* x_235; -x_234 = lean_box(0); -lean_inc(x_231); -x_235 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_5, x_231, x_234); -x_4 = x_231; -x_5 = x_235; -goto _start; -} -else -{ -uint8_t x_237; lean_object* x_238; lean_object* x_239; -lean_dec(x_231); -lean_dec(x_3); -lean_dec(x_1); -x_237 = 0; -x_238 = lean_box(x_237); -x_239 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_239, 0, x_238); -lean_ctor_set(x_239, 1, x_5); -return x_239; -} -} -} -case 11: -{ -lean_object* x_250; lean_object* x_251; uint8_t x_260; -x_250 = lean_ctor_get(x_4, 2); -lean_inc(x_250); -lean_dec(x_4); -x_260 = lean_expr_has_expr_mvar(x_250); -if (x_260 == 0) -{ -uint8_t x_261; -x_261 = lean_expr_has_level_mvar(x_250); -if (x_261 == 0) -{ -uint8_t x_262; -x_262 = lean_expr_has_fvar(x_250); -if (x_262 == 0) -{ -uint8_t x_263; lean_object* x_264; lean_object* x_265; -lean_dec(x_250); -lean_dec(x_3); -lean_dec(x_1); -x_263 = 0; -x_264 = lean_box(x_263); -x_265 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_265, 0, x_264); -lean_ctor_set(x_265, 1, x_5); -return x_265; -} -else -{ -lean_object* x_266; -x_266 = lean_box(0); -x_251 = x_266; -goto block_259; -} -} -else -{ -lean_object* x_267; -x_267 = lean_box(0); -x_251 = x_267; -goto block_259; -} -} -else -{ -lean_object* x_268; -x_268 = lean_box(0); -x_251 = x_268; -goto block_259; -} -block_259: -{ -uint8_t x_252; -lean_dec(x_251); -x_252 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_5, x_250); -if (x_252 == 0) -{ -lean_object* x_253; lean_object* x_254; -x_253 = lean_box(0); -lean_inc(x_250); -x_254 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_5, x_250, x_253); -x_4 = x_250; -x_5 = x_254; -goto _start; -} -else -{ -uint8_t x_256; lean_object* x_257; lean_object* x_258; -lean_dec(x_250); -lean_dec(x_3); -lean_dec(x_1); -x_256 = 0; -x_257 = lean_box(x_256); -x_258 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_258, 0, x_257); -lean_ctor_set(x_258, 1, x_5); -return x_258; -} -} -} -default: -{ -uint8_t x_269; lean_object* x_270; lean_object* x_271; -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_269 = 0; -x_270 = lean_box(x_269); -x_271 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_271, 0, x_270); -lean_ctor_set(x_271, 1, x_5); -return x_271; -} -} -} -} -lean_object* l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__27(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__27___rarg___boxed), 5, 0); -return x_2; -} -} -uint8_t l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__36(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; uint8_t x_5; -x_4 = lean_array_get_size(x_2); -x_5 = lean_nat_dec_lt(x_3, x_4); -lean_dec(x_4); -if (x_5 == 0) -{ -uint8_t x_6; -lean_dec(x_3); -x_6 = 0; -return x_6; -} -else -{ -lean_object* x_7; uint8_t x_8; -x_7 = lean_array_fget(x_2, x_3); -x_8 = l_PersistentArray_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__35(x_1, x_7); -lean_dec(x_7); -if (x_8 == 0) -{ -lean_object* x_9; lean_object* x_10; -x_9 = lean_unsigned_to_nat(1u); -x_10 = lean_nat_add(x_3, x_9); -lean_dec(x_3); -x_3 = x_10; -goto _start; -} -else -{ -lean_dec(x_3); -return x_8; -} -} -} -} -uint8_t l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__37(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; uint8_t x_5; -x_4 = lean_array_get_size(x_2); -x_5 = lean_nat_dec_lt(x_3, x_4); -lean_dec(x_4); -if (x_5 == 0) -{ -uint8_t x_6; -lean_dec(x_3); -x_6 = 0; -return x_6; -} -else -{ -lean_object* x_7; -x_7 = lean_array_fget(x_2, x_3); -if (lean_obj_tag(x_7) == 0) -{ -lean_object* x_8; lean_object* x_9; -x_8 = lean_unsigned_to_nat(1u); -x_9 = lean_nat_add(x_3, x_8); -lean_dec(x_3); -x_3 = x_9; -goto _start; -} -else -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_11 = lean_ctor_get(x_7, 0); -lean_inc(x_11); -lean_dec(x_7); -x_12 = l_Lean_LocalDecl_name(x_11); -lean_dec(x_11); -x_13 = lean_unsigned_to_nat(0u); -x_14 = l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__2(x_12, x_1, x_13); -lean_dec(x_12); -if (x_14 == 0) -{ -lean_object* x_15; lean_object* x_16; -x_15 = lean_unsigned_to_nat(1u); -x_16 = lean_nat_add(x_3, x_15); -lean_dec(x_3); -x_3 = x_16; -goto _start; -} -else -{ -lean_dec(x_3); -return x_14; -} -} -} -} -} -uint8_t l_PersistentArray_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__35(lean_object* x_1, lean_object* x_2) { -_start: -{ -if (lean_obj_tag(x_2) == 0) -{ -lean_object* x_3; lean_object* x_4; uint8_t x_5; -x_3 = lean_ctor_get(x_2, 0); -x_4 = lean_unsigned_to_nat(0u); -x_5 = l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__36(x_1, x_3, x_4); -return x_5; -} -else -{ -lean_object* x_6; lean_object* x_7; uint8_t x_8; -x_6 = lean_ctor_get(x_2, 0); -x_7 = lean_unsigned_to_nat(0u); -x_8 = l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__37(x_1, x_6, x_7); -return x_8; -} -} -} -uint8_t l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__38(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; uint8_t x_5; -x_4 = lean_array_get_size(x_2); -x_5 = lean_nat_dec_lt(x_3, x_4); -lean_dec(x_4); -if (x_5 == 0) -{ -uint8_t x_6; -lean_dec(x_3); -x_6 = 0; -return x_6; -} -else -{ -lean_object* x_7; -x_7 = lean_array_fget(x_2, x_3); -if (lean_obj_tag(x_7) == 0) -{ -lean_object* x_8; lean_object* x_9; -x_8 = lean_unsigned_to_nat(1u); -x_9 = lean_nat_add(x_3, x_8); -lean_dec(x_3); -x_3 = x_9; -goto _start; -} -else -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_11 = lean_ctor_get(x_7, 0); -lean_inc(x_11); -lean_dec(x_7); -x_12 = l_Lean_LocalDecl_name(x_11); -lean_dec(x_11); -x_13 = lean_unsigned_to_nat(0u); -x_14 = l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__2(x_12, x_1, x_13); -lean_dec(x_12); -if (x_14 == 0) -{ -lean_object* x_15; lean_object* x_16; -x_15 = lean_unsigned_to_nat(1u); -x_16 = lean_nat_add(x_3, x_15); -lean_dec(x_3); -x_3 = x_16; -goto _start; -} -else -{ -lean_dec(x_3); -return x_14; -} -} -} -} -} -uint8_t l_PersistentArray_anyM___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__34(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; uint8_t x_4; -x_3 = lean_ctor_get(x_2, 0); -x_4 = l_PersistentArray_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__35(x_1, x_3); -if (x_4 == 0) -{ -lean_object* x_5; lean_object* x_6; uint8_t x_7; -x_5 = lean_ctor_get(x_2, 1); -x_6 = lean_unsigned_to_nat(0u); -x_7 = l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__38(x_1, x_5, x_6); -return x_7; -} -else -{ -return x_4; -} -} -} -lean_object* l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__33___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -switch (lean_obj_tag(x_4)) { -case 1: -{ -lean_object* x_6; lean_object* x_7; uint8_t x_8; lean_object* x_9; lean_object* x_10; -lean_dec(x_3); -lean_dec(x_1); -x_6 = lean_ctor_get(x_4, 0); -lean_inc(x_6); -lean_dec(x_4); -x_7 = lean_unsigned_to_nat(0u); -x_8 = l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__2(x_6, x_2, x_7); -lean_dec(x_6); -x_9 = lean_box(x_8); -x_10 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_10, 0, x_9); -lean_ctor_set(x_10, 1, x_5); -return x_10; -} -case 2: -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_11 = lean_ctor_get(x_4, 0); -lean_inc(x_11); -lean_dec(x_4); -x_12 = lean_ctor_get(x_1, 5); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_3); -x_13 = lean_apply_2(x_12, x_3, x_11); -if (lean_obj_tag(x_13) == 0) -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; lean_object* x_19; lean_object* x_20; -x_14 = lean_ctor_get(x_1, 7); -lean_inc(x_14); -lean_dec(x_1); -x_15 = lean_apply_2(x_14, x_3, x_11); -x_16 = lean_ctor_get(x_15, 1); -lean_inc(x_16); -lean_dec(x_15); -x_17 = lean_ctor_get(x_16, 1); -lean_inc(x_17); -lean_dec(x_16); -x_18 = l_PersistentArray_anyM___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__34(x_2, x_17); -lean_dec(x_17); -x_19 = lean_box(x_18); -x_20 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_20, 0, x_19); -lean_ctor_set(x_20, 1, x_5); -return x_20; -} -else -{ -lean_object* x_21; lean_object* x_22; uint8_t x_31; -lean_dec(x_11); -x_21 = lean_ctor_get(x_13, 0); -lean_inc(x_21); -lean_dec(x_13); -x_31 = lean_expr_has_expr_mvar(x_21); -if (x_31 == 0) -{ -uint8_t x_32; -x_32 = lean_expr_has_level_mvar(x_21); -if (x_32 == 0) -{ -uint8_t x_33; -x_33 = lean_expr_has_fvar(x_21); -if (x_33 == 0) -{ -uint8_t x_34; lean_object* x_35; lean_object* x_36; -lean_dec(x_21); -lean_dec(x_3); -lean_dec(x_1); -x_34 = 0; -x_35 = lean_box(x_34); -x_36 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_5); -return x_36; -} -else -{ -lean_object* x_37; -x_37 = lean_box(0); -x_22 = x_37; -goto block_30; -} -} -else -{ -lean_object* x_38; -x_38 = lean_box(0); -x_22 = x_38; -goto block_30; -} -} -else -{ -lean_object* x_39; -x_39 = lean_box(0); -x_22 = x_39; -goto block_30; -} -block_30: -{ -uint8_t x_23; -lean_dec(x_22); -x_23 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_5, x_21); -if (x_23 == 0) -{ -lean_object* x_24; lean_object* x_25; -x_24 = lean_box(0); -lean_inc(x_21); -x_25 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_5, x_21, x_24); -x_4 = x_21; -x_5 = x_25; -goto _start; -} -else -{ -uint8_t x_27; lean_object* x_28; lean_object* x_29; -lean_dec(x_21); -lean_dec(x_3); -lean_dec(x_1); -x_27 = 0; -x_28 = lean_box(x_27); -x_29 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_29, 0, x_28); -lean_ctor_set(x_29, 1, x_5); -return x_29; -} -} -} -} -case 5: -{ -lean_object* x_40; lean_object* x_41; uint8_t x_42; lean_object* x_43; lean_object* x_67; uint8_t x_77; -x_40 = lean_ctor_get(x_4, 0); -lean_inc(x_40); -x_41 = lean_ctor_get(x_4, 1); -lean_inc(x_41); -lean_dec(x_4); -x_77 = lean_expr_has_expr_mvar(x_41); -if (x_77 == 0) -{ -uint8_t x_78; -x_78 = lean_expr_has_level_mvar(x_41); -if (x_78 == 0) -{ -uint8_t x_79; -x_79 = lean_expr_has_fvar(x_41); -if (x_79 == 0) -{ -uint8_t x_80; -lean_dec(x_41); -x_80 = 0; -x_42 = x_80; -x_43 = x_5; -goto block_66; -} -else -{ -lean_object* x_81; -x_81 = lean_box(0); -x_67 = x_81; -goto block_76; -} -} -else -{ -lean_object* x_82; -x_82 = lean_box(0); -x_67 = x_82; -goto block_76; -} -} -else -{ -lean_object* x_83; -x_83 = lean_box(0); -x_67 = x_83; -goto block_76; -} -block_66: -{ -if (x_42 == 0) -{ -uint8_t x_44; -x_44 = l_Lean_Expr_isApp(x_40); -if (x_44 == 0) -{ -lean_object* x_45; uint8_t x_54; -x_54 = lean_expr_has_expr_mvar(x_40); -if (x_54 == 0) -{ -uint8_t x_55; -x_55 = lean_expr_has_level_mvar(x_40); -if (x_55 == 0) -{ -uint8_t x_56; -x_56 = lean_expr_has_fvar(x_40); -if (x_56 == 0) -{ -uint8_t x_57; lean_object* x_58; lean_object* x_59; -lean_dec(x_40); -lean_dec(x_3); -lean_dec(x_1); -x_57 = 0; -x_58 = lean_box(x_57); -x_59 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_59, 0, x_58); -lean_ctor_set(x_59, 1, x_43); -return x_59; -} -else -{ -lean_object* x_60; -x_60 = lean_box(0); -x_45 = x_60; -goto block_53; -} -} -else -{ -lean_object* x_61; -x_61 = lean_box(0); -x_45 = x_61; -goto block_53; -} -} -else -{ -lean_object* x_62; -x_62 = lean_box(0); -x_45 = x_62; -goto block_53; -} -block_53: -{ -uint8_t x_46; -lean_dec(x_45); -x_46 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_43, x_40); -if (x_46 == 0) -{ -lean_object* x_47; lean_object* x_48; -x_47 = lean_box(0); -lean_inc(x_40); -x_48 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_43, x_40, x_47); -x_4 = x_40; -x_5 = x_48; -goto _start; -} -else -{ -uint8_t x_50; lean_object* x_51; lean_object* x_52; -lean_dec(x_40); -lean_dec(x_3); -lean_dec(x_1); -x_50 = 0; -x_51 = lean_box(x_50); -x_52 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_52, 0, x_51); -lean_ctor_set(x_52, 1, x_43); -return x_52; -} -} -} -else -{ -x_4 = x_40; -x_5 = x_43; -goto _start; -} -} -else -{ -lean_object* x_64; lean_object* x_65; -lean_dec(x_40); -lean_dec(x_3); -lean_dec(x_1); -x_64 = lean_box(x_42); -x_65 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_65, 0, x_64); -lean_ctor_set(x_65, 1, x_43); -return x_65; -} -} -block_76: -{ -uint8_t x_68; -lean_dec(x_67); -x_68 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_5, x_41); -if (x_68 == 0) -{ -lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; uint8_t x_74; -x_69 = lean_box(0); -lean_inc(x_41); -x_70 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_5, x_41, x_69); -lean_inc(x_3); -lean_inc(x_1); -x_71 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__33___rarg(x_1, x_2, x_3, x_41, x_70); -x_72 = lean_ctor_get(x_71, 0); -lean_inc(x_72); -x_73 = lean_ctor_get(x_71, 1); -lean_inc(x_73); -lean_dec(x_71); -x_74 = lean_unbox(x_72); -lean_dec(x_72); -x_42 = x_74; -x_43 = x_73; -goto block_66; -} -else -{ -uint8_t x_75; -lean_dec(x_41); -x_75 = 0; -x_42 = x_75; -x_43 = x_5; -goto block_66; -} -} -} -case 6: -{ -lean_object* x_84; lean_object* x_85; uint8_t x_86; lean_object* x_87; lean_object* x_109; uint8_t x_119; -x_84 = lean_ctor_get(x_4, 1); -lean_inc(x_84); -x_85 = lean_ctor_get(x_4, 2); -lean_inc(x_85); -lean_dec(x_4); -x_119 = lean_expr_has_expr_mvar(x_84); -if (x_119 == 0) -{ -uint8_t x_120; -x_120 = lean_expr_has_level_mvar(x_84); -if (x_120 == 0) -{ -uint8_t x_121; -x_121 = lean_expr_has_fvar(x_84); -if (x_121 == 0) -{ -uint8_t x_122; -lean_dec(x_84); -x_122 = 0; -x_86 = x_122; -x_87 = x_5; -goto block_108; -} -else -{ -lean_object* x_123; -x_123 = lean_box(0); -x_109 = x_123; -goto block_118; -} -} -else -{ -lean_object* x_124; -x_124 = lean_box(0); -x_109 = x_124; -goto block_118; -} -} -else -{ -lean_object* x_125; -x_125 = lean_box(0); -x_109 = x_125; -goto block_118; -} -block_108: -{ -if (x_86 == 0) -{ -lean_object* x_88; uint8_t x_97; -x_97 = lean_expr_has_expr_mvar(x_85); -if (x_97 == 0) -{ -uint8_t x_98; -x_98 = lean_expr_has_level_mvar(x_85); -if (x_98 == 0) -{ -uint8_t x_99; -x_99 = lean_expr_has_fvar(x_85); -if (x_99 == 0) -{ -uint8_t x_100; lean_object* x_101; lean_object* x_102; -lean_dec(x_85); -lean_dec(x_3); -lean_dec(x_1); -x_100 = 0; -x_101 = lean_box(x_100); -x_102 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_102, 0, x_101); -lean_ctor_set(x_102, 1, x_87); -return x_102; -} -else -{ -lean_object* x_103; -x_103 = lean_box(0); -x_88 = x_103; -goto block_96; -} -} -else -{ -lean_object* x_104; -x_104 = lean_box(0); -x_88 = x_104; -goto block_96; -} -} -else -{ -lean_object* x_105; -x_105 = lean_box(0); -x_88 = x_105; -goto block_96; -} -block_96: -{ -uint8_t x_89; -lean_dec(x_88); -x_89 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_87, x_85); -if (x_89 == 0) -{ -lean_object* x_90; lean_object* x_91; -x_90 = lean_box(0); -lean_inc(x_85); -x_91 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_87, x_85, x_90); -x_4 = x_85; -x_5 = x_91; -goto _start; -} -else -{ -uint8_t x_93; lean_object* x_94; lean_object* x_95; -lean_dec(x_85); -lean_dec(x_3); -lean_dec(x_1); -x_93 = 0; -x_94 = lean_box(x_93); -x_95 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_95, 0, x_94); -lean_ctor_set(x_95, 1, x_87); -return x_95; -} -} -} -else -{ -lean_object* x_106; lean_object* x_107; -lean_dec(x_85); -lean_dec(x_3); -lean_dec(x_1); -x_106 = lean_box(x_86); -x_107 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_107, 0, x_106); -lean_ctor_set(x_107, 1, x_87); -return x_107; -} -} -block_118: -{ -uint8_t x_110; -lean_dec(x_109); -x_110 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_5, x_84); -if (x_110 == 0) -{ -lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; uint8_t x_116; -x_111 = lean_box(0); -lean_inc(x_84); -x_112 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_5, x_84, x_111); -lean_inc(x_3); -lean_inc(x_1); -x_113 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__33___rarg(x_1, x_2, x_3, x_84, x_112); -x_114 = lean_ctor_get(x_113, 0); -lean_inc(x_114); -x_115 = lean_ctor_get(x_113, 1); -lean_inc(x_115); -lean_dec(x_113); -x_116 = lean_unbox(x_114); -lean_dec(x_114); -x_86 = x_116; -x_87 = x_115; -goto block_108; -} -else -{ -uint8_t x_117; -lean_dec(x_84); -x_117 = 0; -x_86 = x_117; -x_87 = x_5; -goto block_108; -} -} -} -case 7: -{ -lean_object* x_126; lean_object* x_127; uint8_t x_128; lean_object* x_129; lean_object* x_151; uint8_t x_161; -x_126 = lean_ctor_get(x_4, 1); -lean_inc(x_126); -x_127 = lean_ctor_get(x_4, 2); -lean_inc(x_127); -lean_dec(x_4); -x_161 = lean_expr_has_expr_mvar(x_126); -if (x_161 == 0) -{ -uint8_t x_162; -x_162 = lean_expr_has_level_mvar(x_126); -if (x_162 == 0) -{ -uint8_t x_163; -x_163 = lean_expr_has_fvar(x_126); -if (x_163 == 0) -{ -uint8_t x_164; -lean_dec(x_126); -x_164 = 0; -x_128 = x_164; -x_129 = x_5; -goto block_150; -} -else -{ -lean_object* x_165; -x_165 = lean_box(0); -x_151 = x_165; -goto block_160; -} -} -else -{ -lean_object* x_166; -x_166 = lean_box(0); -x_151 = x_166; -goto block_160; -} -} -else -{ -lean_object* x_167; -x_167 = lean_box(0); -x_151 = x_167; -goto block_160; -} -block_150: -{ -if (x_128 == 0) -{ -lean_object* x_130; uint8_t x_139; -x_139 = lean_expr_has_expr_mvar(x_127); -if (x_139 == 0) -{ -uint8_t x_140; -x_140 = lean_expr_has_level_mvar(x_127); -if (x_140 == 0) -{ -uint8_t x_141; -x_141 = lean_expr_has_fvar(x_127); -if (x_141 == 0) -{ -uint8_t x_142; lean_object* x_143; lean_object* x_144; -lean_dec(x_127); -lean_dec(x_3); -lean_dec(x_1); -x_142 = 0; -x_143 = lean_box(x_142); -x_144 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_144, 0, x_143); -lean_ctor_set(x_144, 1, x_129); -return x_144; -} -else -{ -lean_object* x_145; -x_145 = lean_box(0); -x_130 = x_145; -goto block_138; -} -} -else -{ -lean_object* x_146; -x_146 = lean_box(0); -x_130 = x_146; -goto block_138; -} -} -else -{ -lean_object* x_147; -x_147 = lean_box(0); -x_130 = x_147; -goto block_138; -} -block_138: -{ -uint8_t x_131; -lean_dec(x_130); -x_131 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_129, x_127); -if (x_131 == 0) -{ -lean_object* x_132; lean_object* x_133; -x_132 = lean_box(0); -lean_inc(x_127); -x_133 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_129, x_127, x_132); -x_4 = x_127; -x_5 = x_133; -goto _start; -} -else -{ -uint8_t x_135; lean_object* x_136; lean_object* x_137; -lean_dec(x_127); -lean_dec(x_3); -lean_dec(x_1); -x_135 = 0; -x_136 = lean_box(x_135); -x_137 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_137, 0, x_136); -lean_ctor_set(x_137, 1, x_129); -return x_137; -} -} -} -else -{ -lean_object* x_148; lean_object* x_149; -lean_dec(x_127); -lean_dec(x_3); -lean_dec(x_1); -x_148 = lean_box(x_128); -x_149 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_149, 0, x_148); -lean_ctor_set(x_149, 1, x_129); -return x_149; -} -} -block_160: -{ -uint8_t x_152; -lean_dec(x_151); -x_152 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_5, x_126); -if (x_152 == 0) -{ -lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; uint8_t x_158; -x_153 = lean_box(0); -lean_inc(x_126); -x_154 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_5, x_126, x_153); -lean_inc(x_3); -lean_inc(x_1); -x_155 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__33___rarg(x_1, x_2, x_3, x_126, x_154); -x_156 = lean_ctor_get(x_155, 0); -lean_inc(x_156); -x_157 = lean_ctor_get(x_155, 1); -lean_inc(x_157); -lean_dec(x_155); -x_158 = lean_unbox(x_156); -lean_dec(x_156); -x_128 = x_158; -x_129 = x_157; -goto block_150; -} -else -{ -uint8_t x_159; -lean_dec(x_126); -x_159 = 0; -x_128 = x_159; -x_129 = x_5; -goto block_150; -} -} -} -case 8: -{ -lean_object* x_168; lean_object* x_169; lean_object* x_170; uint8_t x_171; lean_object* x_172; uint8_t x_194; lean_object* x_195; lean_object* x_214; uint8_t x_224; -x_168 = lean_ctor_get(x_4, 1); -lean_inc(x_168); -x_169 = lean_ctor_get(x_4, 2); -lean_inc(x_169); -x_170 = lean_ctor_get(x_4, 3); -lean_inc(x_170); -lean_dec(x_4); -x_224 = lean_expr_has_expr_mvar(x_168); -if (x_224 == 0) -{ -uint8_t x_225; -x_225 = lean_expr_has_level_mvar(x_168); -if (x_225 == 0) -{ -uint8_t x_226; -x_226 = lean_expr_has_fvar(x_168); -if (x_226 == 0) -{ -uint8_t x_227; -lean_dec(x_168); -x_227 = 0; -x_194 = x_227; -x_195 = x_5; -goto block_213; -} -else -{ -lean_object* x_228; -x_228 = lean_box(0); -x_214 = x_228; -goto block_223; -} -} -else -{ -lean_object* x_229; -x_229 = lean_box(0); -x_214 = x_229; -goto block_223; -} -} -else -{ -lean_object* x_230; -x_230 = lean_box(0); -x_214 = x_230; -goto block_223; -} -block_193: -{ -if (x_171 == 0) -{ -lean_object* x_173; uint8_t x_182; -x_182 = lean_expr_has_expr_mvar(x_170); -if (x_182 == 0) -{ -uint8_t x_183; -x_183 = lean_expr_has_level_mvar(x_170); -if (x_183 == 0) -{ -uint8_t x_184; -x_184 = lean_expr_has_fvar(x_170); -if (x_184 == 0) -{ -uint8_t x_185; lean_object* x_186; lean_object* x_187; -lean_dec(x_170); -lean_dec(x_3); -lean_dec(x_1); -x_185 = 0; -x_186 = lean_box(x_185); -x_187 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_187, 0, x_186); -lean_ctor_set(x_187, 1, x_172); -return x_187; -} -else -{ -lean_object* x_188; -x_188 = lean_box(0); -x_173 = x_188; -goto block_181; -} -} -else -{ -lean_object* x_189; -x_189 = lean_box(0); -x_173 = x_189; -goto block_181; -} -} -else -{ -lean_object* x_190; -x_190 = lean_box(0); -x_173 = x_190; -goto block_181; -} -block_181: -{ -uint8_t x_174; -lean_dec(x_173); -x_174 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_172, x_170); -if (x_174 == 0) -{ -lean_object* x_175; lean_object* x_176; -x_175 = lean_box(0); -lean_inc(x_170); -x_176 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_172, x_170, x_175); -x_4 = x_170; -x_5 = x_176; -goto _start; -} -else -{ -uint8_t x_178; lean_object* x_179; lean_object* x_180; -lean_dec(x_170); -lean_dec(x_3); -lean_dec(x_1); -x_178 = 0; -x_179 = lean_box(x_178); -x_180 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_180, 0, x_179); -lean_ctor_set(x_180, 1, x_172); -return x_180; -} -} -} -else -{ -lean_object* x_191; lean_object* x_192; -lean_dec(x_170); -lean_dec(x_3); -lean_dec(x_1); -x_191 = lean_box(x_171); -x_192 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_192, 0, x_191); -lean_ctor_set(x_192, 1, x_172); -return x_192; -} -} -block_213: -{ -lean_object* x_196; -if (x_194 == 0) -{ -uint8_t x_206; -x_206 = lean_expr_has_expr_mvar(x_169); -if (x_206 == 0) -{ -uint8_t x_207; -x_207 = lean_expr_has_level_mvar(x_169); -if (x_207 == 0) -{ -uint8_t x_208; -x_208 = lean_expr_has_fvar(x_169); -if (x_208 == 0) -{ -uint8_t x_209; -lean_dec(x_169); -x_209 = 0; -x_171 = x_209; -x_172 = x_195; -goto block_193; -} -else -{ -lean_object* x_210; -x_210 = lean_box(0); -x_196 = x_210; -goto block_205; -} -} -else -{ -lean_object* x_211; -x_211 = lean_box(0); -x_196 = x_211; -goto block_205; -} -} -else -{ -lean_object* x_212; -x_212 = lean_box(0); -x_196 = x_212; -goto block_205; -} -} -else -{ -lean_dec(x_169); -x_171 = x_194; -x_172 = x_195; -goto block_193; -} -block_205: -{ -uint8_t x_197; -lean_dec(x_196); -x_197 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_195, x_169); -if (x_197 == 0) -{ -lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; uint8_t x_203; -x_198 = lean_box(0); -lean_inc(x_169); -x_199 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_195, x_169, x_198); -lean_inc(x_3); -lean_inc(x_1); -x_200 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__33___rarg(x_1, x_2, x_3, x_169, x_199); -x_201 = lean_ctor_get(x_200, 0); -lean_inc(x_201); -x_202 = lean_ctor_get(x_200, 1); -lean_inc(x_202); -lean_dec(x_200); -x_203 = lean_unbox(x_201); -lean_dec(x_201); -x_171 = x_203; -x_172 = x_202; -goto block_193; -} -else -{ -uint8_t x_204; -lean_dec(x_169); -x_204 = 0; -x_171 = x_204; -x_172 = x_195; -goto block_193; -} -} -} -block_223: -{ -uint8_t x_215; -lean_dec(x_214); -x_215 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_5, x_168); -if (x_215 == 0) -{ -lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; uint8_t x_221; -x_216 = lean_box(0); -lean_inc(x_168); -x_217 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_5, x_168, x_216); -lean_inc(x_3); -lean_inc(x_1); -x_218 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__33___rarg(x_1, x_2, x_3, x_168, x_217); -x_219 = lean_ctor_get(x_218, 0); -lean_inc(x_219); -x_220 = lean_ctor_get(x_218, 1); -lean_inc(x_220); -lean_dec(x_218); -x_221 = lean_unbox(x_219); -lean_dec(x_219); -x_194 = x_221; -x_195 = x_220; -goto block_213; -} -else -{ -uint8_t x_222; -lean_dec(x_168); -x_222 = 0; -x_194 = x_222; -x_195 = x_5; -goto block_213; -} -} -} -case 10: -{ -lean_object* x_231; lean_object* x_232; uint8_t x_241; -x_231 = lean_ctor_get(x_4, 1); -lean_inc(x_231); -lean_dec(x_4); -x_241 = lean_expr_has_expr_mvar(x_231); -if (x_241 == 0) -{ -uint8_t x_242; -x_242 = lean_expr_has_level_mvar(x_231); -if (x_242 == 0) -{ -uint8_t x_243; -x_243 = lean_expr_has_fvar(x_231); -if (x_243 == 0) -{ -uint8_t x_244; lean_object* x_245; lean_object* x_246; -lean_dec(x_231); -lean_dec(x_3); -lean_dec(x_1); -x_244 = 0; -x_245 = lean_box(x_244); -x_246 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_246, 0, x_245); -lean_ctor_set(x_246, 1, x_5); -return x_246; -} -else -{ -lean_object* x_247; -x_247 = lean_box(0); -x_232 = x_247; -goto block_240; -} -} -else -{ -lean_object* x_248; -x_248 = lean_box(0); -x_232 = x_248; -goto block_240; -} -} -else -{ -lean_object* x_249; -x_249 = lean_box(0); -x_232 = x_249; -goto block_240; -} -block_240: -{ -uint8_t x_233; -lean_dec(x_232); -x_233 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_5, x_231); -if (x_233 == 0) -{ -lean_object* x_234; lean_object* x_235; -x_234 = lean_box(0); -lean_inc(x_231); -x_235 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_5, x_231, x_234); -x_4 = x_231; -x_5 = x_235; -goto _start; -} -else -{ -uint8_t x_237; lean_object* x_238; lean_object* x_239; -lean_dec(x_231); -lean_dec(x_3); -lean_dec(x_1); -x_237 = 0; -x_238 = lean_box(x_237); -x_239 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_239, 0, x_238); -lean_ctor_set(x_239, 1, x_5); -return x_239; -} -} -} -case 11: -{ -lean_object* x_250; lean_object* x_251; uint8_t x_260; -x_250 = lean_ctor_get(x_4, 2); -lean_inc(x_250); -lean_dec(x_4); -x_260 = lean_expr_has_expr_mvar(x_250); -if (x_260 == 0) -{ -uint8_t x_261; -x_261 = lean_expr_has_level_mvar(x_250); -if (x_261 == 0) -{ -uint8_t x_262; -x_262 = lean_expr_has_fvar(x_250); -if (x_262 == 0) -{ -uint8_t x_263; lean_object* x_264; lean_object* x_265; -lean_dec(x_250); -lean_dec(x_3); -lean_dec(x_1); -x_263 = 0; -x_264 = lean_box(x_263); -x_265 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_265, 0, x_264); -lean_ctor_set(x_265, 1, x_5); -return x_265; -} -else -{ -lean_object* x_266; -x_266 = lean_box(0); -x_251 = x_266; -goto block_259; -} -} -else -{ -lean_object* x_267; -x_267 = lean_box(0); -x_251 = x_267; -goto block_259; -} -} -else -{ -lean_object* x_268; -x_268 = lean_box(0); -x_251 = x_268; -goto block_259; -} -block_259: -{ -uint8_t x_252; -lean_dec(x_251); -x_252 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_5, x_250); -if (x_252 == 0) -{ -lean_object* x_253; lean_object* x_254; -x_253 = lean_box(0); -lean_inc(x_250); -x_254 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_5, x_250, x_253); -x_4 = x_250; -x_5 = x_254; -goto _start; -} -else -{ -uint8_t x_256; lean_object* x_257; lean_object* x_258; -lean_dec(x_250); -lean_dec(x_3); -lean_dec(x_1); -x_256 = 0; -x_257 = lean_box(x_256); -x_258 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_258, 0, x_257); -lean_ctor_set(x_258, 1, x_5); -return x_258; -} -} -} -default: -{ -uint8_t x_269; lean_object* x_270; lean_object* x_271; -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_269 = 0; -x_270 = lean_box(x_269); -x_271 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_271, 0, x_270); -lean_ctor_set(x_271, 1, x_5); -return x_271; -} -} -} -} -lean_object* l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__33(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__33___rarg___boxed), 5, 0); -return x_2; -} -} -uint8_t l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__42(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; uint8_t x_5; -x_4 = lean_array_get_size(x_2); -x_5 = lean_nat_dec_lt(x_3, x_4); -lean_dec(x_4); -if (x_5 == 0) -{ -uint8_t x_6; -lean_dec(x_3); -x_6 = 0; -return x_6; -} -else -{ -lean_object* x_7; uint8_t x_8; -x_7 = lean_array_fget(x_2, x_3); -x_8 = l_PersistentArray_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__41(x_1, x_7); -lean_dec(x_7); -if (x_8 == 0) -{ -lean_object* x_9; lean_object* x_10; -x_9 = lean_unsigned_to_nat(1u); -x_10 = lean_nat_add(x_3, x_9); -lean_dec(x_3); -x_3 = x_10; -goto _start; -} -else -{ -lean_dec(x_3); -return x_8; -} -} -} -} -uint8_t l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__43(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; uint8_t x_5; -x_4 = lean_array_get_size(x_2); -x_5 = lean_nat_dec_lt(x_3, x_4); -lean_dec(x_4); -if (x_5 == 0) -{ -uint8_t x_6; -lean_dec(x_3); -x_6 = 0; -return x_6; -} -else -{ -lean_object* x_7; -x_7 = lean_array_fget(x_2, x_3); -if (lean_obj_tag(x_7) == 0) -{ -lean_object* x_8; lean_object* x_9; -x_8 = lean_unsigned_to_nat(1u); -x_9 = lean_nat_add(x_3, x_8); -lean_dec(x_3); -x_3 = x_9; -goto _start; -} -else -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_11 = lean_ctor_get(x_7, 0); -lean_inc(x_11); -lean_dec(x_7); -x_12 = l_Lean_LocalDecl_name(x_11); -lean_dec(x_11); -x_13 = lean_unsigned_to_nat(0u); -x_14 = l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__2(x_12, x_1, x_13); -lean_dec(x_12); -if (x_14 == 0) -{ -lean_object* x_15; lean_object* x_16; -x_15 = lean_unsigned_to_nat(1u); -x_16 = lean_nat_add(x_3, x_15); -lean_dec(x_3); -x_3 = x_16; -goto _start; -} -else -{ -lean_dec(x_3); -return x_14; -} -} -} -} -} -uint8_t l_PersistentArray_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__41(lean_object* x_1, lean_object* x_2) { -_start: -{ -if (lean_obj_tag(x_2) == 0) -{ -lean_object* x_3; lean_object* x_4; uint8_t x_5; -x_3 = lean_ctor_get(x_2, 0); -x_4 = lean_unsigned_to_nat(0u); -x_5 = l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__42(x_1, x_3, x_4); -return x_5; -} -else -{ -lean_object* x_6; lean_object* x_7; uint8_t x_8; -x_6 = lean_ctor_get(x_2, 0); -x_7 = lean_unsigned_to_nat(0u); -x_8 = l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__43(x_1, x_6, x_7); -return x_8; -} -} -} -uint8_t l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__44(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; uint8_t x_5; -x_4 = lean_array_get_size(x_2); -x_5 = lean_nat_dec_lt(x_3, x_4); -lean_dec(x_4); -if (x_5 == 0) -{ -uint8_t x_6; -lean_dec(x_3); -x_6 = 0; -return x_6; -} -else -{ -lean_object* x_7; -x_7 = lean_array_fget(x_2, x_3); -if (lean_obj_tag(x_7) == 0) -{ -lean_object* x_8; lean_object* x_9; -x_8 = lean_unsigned_to_nat(1u); -x_9 = lean_nat_add(x_3, x_8); -lean_dec(x_3); -x_3 = x_9; -goto _start; -} -else -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_11 = lean_ctor_get(x_7, 0); -lean_inc(x_11); -lean_dec(x_7); -x_12 = l_Lean_LocalDecl_name(x_11); -lean_dec(x_11); -x_13 = lean_unsigned_to_nat(0u); -x_14 = l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__2(x_12, x_1, x_13); -lean_dec(x_12); -if (x_14 == 0) -{ -lean_object* x_15; lean_object* x_16; -x_15 = lean_unsigned_to_nat(1u); -x_16 = lean_nat_add(x_3, x_15); -lean_dec(x_3); -x_3 = x_16; -goto _start; -} -else -{ -lean_dec(x_3); -return x_14; -} -} -} -} -} -uint8_t l_PersistentArray_anyM___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__40(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; uint8_t x_4; -x_3 = lean_ctor_get(x_2, 0); -x_4 = l_PersistentArray_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__41(x_1, x_3); -if (x_4 == 0) -{ -lean_object* x_5; lean_object* x_6; uint8_t x_7; -x_5 = lean_ctor_get(x_2, 1); -x_6 = lean_unsigned_to_nat(0u); -x_7 = l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__44(x_1, x_5, x_6); -return x_7; -} -else -{ -return x_4; -} -} -} -lean_object* l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__39___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -switch (lean_obj_tag(x_4)) { -case 1: -{ -lean_object* x_6; lean_object* x_7; uint8_t x_8; lean_object* x_9; lean_object* x_10; -lean_dec(x_3); -lean_dec(x_1); -x_6 = lean_ctor_get(x_4, 0); -lean_inc(x_6); -lean_dec(x_4); -x_7 = lean_unsigned_to_nat(0u); -x_8 = l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__2(x_6, x_2, x_7); -lean_dec(x_6); -x_9 = lean_box(x_8); -x_10 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_10, 0, x_9); -lean_ctor_set(x_10, 1, x_5); -return x_10; -} -case 2: -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_11 = lean_ctor_get(x_4, 0); -lean_inc(x_11); -lean_dec(x_4); -x_12 = lean_ctor_get(x_1, 5); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_3); -x_13 = lean_apply_2(x_12, x_3, x_11); -if (lean_obj_tag(x_13) == 0) -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; lean_object* x_19; lean_object* x_20; -x_14 = lean_ctor_get(x_1, 7); -lean_inc(x_14); -lean_dec(x_1); -x_15 = lean_apply_2(x_14, x_3, x_11); -x_16 = lean_ctor_get(x_15, 1); -lean_inc(x_16); -lean_dec(x_15); -x_17 = lean_ctor_get(x_16, 1); -lean_inc(x_17); -lean_dec(x_16); -x_18 = l_PersistentArray_anyM___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__40(x_2, x_17); -lean_dec(x_17); -x_19 = lean_box(x_18); -x_20 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_20, 0, x_19); -lean_ctor_set(x_20, 1, x_5); -return x_20; -} -else -{ -lean_object* x_21; lean_object* x_22; uint8_t x_31; -lean_dec(x_11); -x_21 = lean_ctor_get(x_13, 0); -lean_inc(x_21); -lean_dec(x_13); -x_31 = lean_expr_has_expr_mvar(x_21); -if (x_31 == 0) -{ -uint8_t x_32; -x_32 = lean_expr_has_level_mvar(x_21); -if (x_32 == 0) -{ -uint8_t x_33; -x_33 = lean_expr_has_fvar(x_21); -if (x_33 == 0) -{ -uint8_t x_34; lean_object* x_35; lean_object* x_36; -lean_dec(x_21); -lean_dec(x_3); -lean_dec(x_1); -x_34 = 0; -x_35 = lean_box(x_34); -x_36 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_5); -return x_36; -} -else -{ -lean_object* x_37; -x_37 = lean_box(0); -x_22 = x_37; -goto block_30; -} -} -else -{ -lean_object* x_38; -x_38 = lean_box(0); -x_22 = x_38; -goto block_30; -} -} -else -{ -lean_object* x_39; -x_39 = lean_box(0); -x_22 = x_39; -goto block_30; -} -block_30: -{ -uint8_t x_23; -lean_dec(x_22); -x_23 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_5, x_21); -if (x_23 == 0) -{ -lean_object* x_24; lean_object* x_25; -x_24 = lean_box(0); -lean_inc(x_21); -x_25 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_5, x_21, x_24); -x_4 = x_21; -x_5 = x_25; -goto _start; -} -else -{ -uint8_t x_27; lean_object* x_28; lean_object* x_29; -lean_dec(x_21); -lean_dec(x_3); -lean_dec(x_1); -x_27 = 0; -x_28 = lean_box(x_27); -x_29 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_29, 0, x_28); -lean_ctor_set(x_29, 1, x_5); -return x_29; -} -} -} -} -case 5: -{ -lean_object* x_40; lean_object* x_41; uint8_t x_42; lean_object* x_43; lean_object* x_67; uint8_t x_77; -x_40 = lean_ctor_get(x_4, 0); -lean_inc(x_40); -x_41 = lean_ctor_get(x_4, 1); -lean_inc(x_41); -lean_dec(x_4); -x_77 = lean_expr_has_expr_mvar(x_41); -if (x_77 == 0) -{ -uint8_t x_78; -x_78 = lean_expr_has_level_mvar(x_41); -if (x_78 == 0) -{ -uint8_t x_79; -x_79 = lean_expr_has_fvar(x_41); -if (x_79 == 0) -{ -uint8_t x_80; -lean_dec(x_41); -x_80 = 0; -x_42 = x_80; -x_43 = x_5; -goto block_66; -} -else -{ -lean_object* x_81; -x_81 = lean_box(0); -x_67 = x_81; -goto block_76; -} -} -else -{ -lean_object* x_82; -x_82 = lean_box(0); -x_67 = x_82; -goto block_76; -} -} -else -{ -lean_object* x_83; -x_83 = lean_box(0); -x_67 = x_83; -goto block_76; -} -block_66: -{ -if (x_42 == 0) -{ -uint8_t x_44; -x_44 = l_Lean_Expr_isApp(x_40); -if (x_44 == 0) -{ -lean_object* x_45; uint8_t x_54; -x_54 = lean_expr_has_expr_mvar(x_40); -if (x_54 == 0) -{ -uint8_t x_55; -x_55 = lean_expr_has_level_mvar(x_40); -if (x_55 == 0) -{ -uint8_t x_56; -x_56 = lean_expr_has_fvar(x_40); -if (x_56 == 0) -{ -uint8_t x_57; lean_object* x_58; lean_object* x_59; -lean_dec(x_40); -lean_dec(x_3); -lean_dec(x_1); -x_57 = 0; -x_58 = lean_box(x_57); -x_59 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_59, 0, x_58); -lean_ctor_set(x_59, 1, x_43); -return x_59; -} -else -{ -lean_object* x_60; -x_60 = lean_box(0); -x_45 = x_60; -goto block_53; -} -} -else -{ -lean_object* x_61; -x_61 = lean_box(0); -x_45 = x_61; -goto block_53; -} -} -else -{ -lean_object* x_62; -x_62 = lean_box(0); -x_45 = x_62; -goto block_53; -} -block_53: -{ -uint8_t x_46; -lean_dec(x_45); -x_46 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_43, x_40); -if (x_46 == 0) -{ -lean_object* x_47; lean_object* x_48; -x_47 = lean_box(0); -lean_inc(x_40); -x_48 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_43, x_40, x_47); -x_4 = x_40; -x_5 = x_48; -goto _start; -} -else -{ -uint8_t x_50; lean_object* x_51; lean_object* x_52; -lean_dec(x_40); -lean_dec(x_3); -lean_dec(x_1); -x_50 = 0; -x_51 = lean_box(x_50); -x_52 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_52, 0, x_51); -lean_ctor_set(x_52, 1, x_43); -return x_52; -} -} -} -else -{ -x_4 = x_40; -x_5 = x_43; -goto _start; -} -} -else -{ -lean_object* x_64; lean_object* x_65; -lean_dec(x_40); -lean_dec(x_3); -lean_dec(x_1); -x_64 = lean_box(x_42); -x_65 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_65, 0, x_64); -lean_ctor_set(x_65, 1, x_43); -return x_65; -} -} -block_76: -{ -uint8_t x_68; -lean_dec(x_67); -x_68 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_5, x_41); -if (x_68 == 0) -{ -lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; uint8_t x_74; -x_69 = lean_box(0); -lean_inc(x_41); -x_70 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_5, x_41, x_69); -lean_inc(x_3); -lean_inc(x_1); -x_71 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__39___rarg(x_1, x_2, x_3, x_41, x_70); -x_72 = lean_ctor_get(x_71, 0); -lean_inc(x_72); -x_73 = lean_ctor_get(x_71, 1); -lean_inc(x_73); -lean_dec(x_71); -x_74 = lean_unbox(x_72); -lean_dec(x_72); -x_42 = x_74; -x_43 = x_73; -goto block_66; -} -else -{ -uint8_t x_75; -lean_dec(x_41); -x_75 = 0; -x_42 = x_75; -x_43 = x_5; -goto block_66; -} -} -} -case 6: -{ -lean_object* x_84; lean_object* x_85; uint8_t x_86; lean_object* x_87; lean_object* x_109; uint8_t x_119; -x_84 = lean_ctor_get(x_4, 1); -lean_inc(x_84); -x_85 = lean_ctor_get(x_4, 2); -lean_inc(x_85); -lean_dec(x_4); -x_119 = lean_expr_has_expr_mvar(x_84); -if (x_119 == 0) -{ -uint8_t x_120; -x_120 = lean_expr_has_level_mvar(x_84); -if (x_120 == 0) -{ -uint8_t x_121; -x_121 = lean_expr_has_fvar(x_84); -if (x_121 == 0) -{ -uint8_t x_122; -lean_dec(x_84); -x_122 = 0; -x_86 = x_122; -x_87 = x_5; -goto block_108; -} -else -{ -lean_object* x_123; -x_123 = lean_box(0); -x_109 = x_123; -goto block_118; -} -} -else -{ -lean_object* x_124; -x_124 = lean_box(0); -x_109 = x_124; -goto block_118; -} -} -else -{ -lean_object* x_125; -x_125 = lean_box(0); -x_109 = x_125; -goto block_118; -} -block_108: -{ -if (x_86 == 0) -{ -lean_object* x_88; uint8_t x_97; -x_97 = lean_expr_has_expr_mvar(x_85); -if (x_97 == 0) -{ -uint8_t x_98; -x_98 = lean_expr_has_level_mvar(x_85); -if (x_98 == 0) -{ -uint8_t x_99; -x_99 = lean_expr_has_fvar(x_85); -if (x_99 == 0) -{ -uint8_t x_100; lean_object* x_101; lean_object* x_102; -lean_dec(x_85); -lean_dec(x_3); -lean_dec(x_1); -x_100 = 0; -x_101 = lean_box(x_100); -x_102 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_102, 0, x_101); -lean_ctor_set(x_102, 1, x_87); -return x_102; -} -else -{ -lean_object* x_103; -x_103 = lean_box(0); -x_88 = x_103; -goto block_96; -} -} -else -{ -lean_object* x_104; -x_104 = lean_box(0); -x_88 = x_104; -goto block_96; -} -} -else -{ -lean_object* x_105; -x_105 = lean_box(0); -x_88 = x_105; -goto block_96; -} -block_96: -{ -uint8_t x_89; -lean_dec(x_88); -x_89 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_87, x_85); -if (x_89 == 0) -{ -lean_object* x_90; lean_object* x_91; -x_90 = lean_box(0); -lean_inc(x_85); -x_91 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_87, x_85, x_90); -x_4 = x_85; -x_5 = x_91; -goto _start; -} -else -{ -uint8_t x_93; lean_object* x_94; lean_object* x_95; -lean_dec(x_85); -lean_dec(x_3); -lean_dec(x_1); -x_93 = 0; -x_94 = lean_box(x_93); -x_95 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_95, 0, x_94); -lean_ctor_set(x_95, 1, x_87); -return x_95; -} -} -} -else -{ -lean_object* x_106; lean_object* x_107; -lean_dec(x_85); -lean_dec(x_3); -lean_dec(x_1); -x_106 = lean_box(x_86); -x_107 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_107, 0, x_106); -lean_ctor_set(x_107, 1, x_87); -return x_107; -} -} -block_118: -{ -uint8_t x_110; -lean_dec(x_109); -x_110 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_5, x_84); -if (x_110 == 0) -{ -lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; uint8_t x_116; -x_111 = lean_box(0); -lean_inc(x_84); -x_112 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_5, x_84, x_111); -lean_inc(x_3); -lean_inc(x_1); -x_113 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__39___rarg(x_1, x_2, x_3, x_84, x_112); -x_114 = lean_ctor_get(x_113, 0); -lean_inc(x_114); -x_115 = lean_ctor_get(x_113, 1); -lean_inc(x_115); -lean_dec(x_113); -x_116 = lean_unbox(x_114); -lean_dec(x_114); -x_86 = x_116; -x_87 = x_115; -goto block_108; -} -else -{ -uint8_t x_117; -lean_dec(x_84); -x_117 = 0; -x_86 = x_117; -x_87 = x_5; -goto block_108; -} -} -} -case 7: -{ -lean_object* x_126; lean_object* x_127; uint8_t x_128; lean_object* x_129; lean_object* x_151; uint8_t x_161; -x_126 = lean_ctor_get(x_4, 1); -lean_inc(x_126); -x_127 = lean_ctor_get(x_4, 2); -lean_inc(x_127); -lean_dec(x_4); -x_161 = lean_expr_has_expr_mvar(x_126); -if (x_161 == 0) -{ -uint8_t x_162; -x_162 = lean_expr_has_level_mvar(x_126); -if (x_162 == 0) -{ -uint8_t x_163; -x_163 = lean_expr_has_fvar(x_126); -if (x_163 == 0) -{ -uint8_t x_164; -lean_dec(x_126); -x_164 = 0; -x_128 = x_164; -x_129 = x_5; -goto block_150; -} -else -{ -lean_object* x_165; -x_165 = lean_box(0); -x_151 = x_165; -goto block_160; -} -} -else -{ -lean_object* x_166; -x_166 = lean_box(0); -x_151 = x_166; -goto block_160; -} -} -else -{ -lean_object* x_167; -x_167 = lean_box(0); -x_151 = x_167; -goto block_160; -} -block_150: -{ -if (x_128 == 0) -{ -lean_object* x_130; uint8_t x_139; -x_139 = lean_expr_has_expr_mvar(x_127); -if (x_139 == 0) -{ -uint8_t x_140; -x_140 = lean_expr_has_level_mvar(x_127); -if (x_140 == 0) -{ -uint8_t x_141; -x_141 = lean_expr_has_fvar(x_127); -if (x_141 == 0) -{ -uint8_t x_142; lean_object* x_143; lean_object* x_144; -lean_dec(x_127); -lean_dec(x_3); -lean_dec(x_1); -x_142 = 0; -x_143 = lean_box(x_142); -x_144 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_144, 0, x_143); -lean_ctor_set(x_144, 1, x_129); -return x_144; -} -else -{ -lean_object* x_145; -x_145 = lean_box(0); -x_130 = x_145; -goto block_138; -} -} -else -{ -lean_object* x_146; -x_146 = lean_box(0); -x_130 = x_146; -goto block_138; -} -} -else -{ -lean_object* x_147; -x_147 = lean_box(0); -x_130 = x_147; -goto block_138; -} -block_138: -{ -uint8_t x_131; -lean_dec(x_130); -x_131 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_129, x_127); -if (x_131 == 0) -{ -lean_object* x_132; lean_object* x_133; -x_132 = lean_box(0); -lean_inc(x_127); -x_133 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_129, x_127, x_132); -x_4 = x_127; -x_5 = x_133; -goto _start; -} -else -{ -uint8_t x_135; lean_object* x_136; lean_object* x_137; -lean_dec(x_127); -lean_dec(x_3); -lean_dec(x_1); -x_135 = 0; -x_136 = lean_box(x_135); -x_137 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_137, 0, x_136); -lean_ctor_set(x_137, 1, x_129); -return x_137; -} -} -} -else -{ -lean_object* x_148; lean_object* x_149; -lean_dec(x_127); -lean_dec(x_3); -lean_dec(x_1); -x_148 = lean_box(x_128); -x_149 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_149, 0, x_148); -lean_ctor_set(x_149, 1, x_129); -return x_149; -} -} -block_160: -{ -uint8_t x_152; -lean_dec(x_151); -x_152 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_5, x_126); -if (x_152 == 0) -{ -lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; uint8_t x_158; -x_153 = lean_box(0); -lean_inc(x_126); -x_154 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_5, x_126, x_153); -lean_inc(x_3); -lean_inc(x_1); -x_155 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__39___rarg(x_1, x_2, x_3, x_126, x_154); -x_156 = lean_ctor_get(x_155, 0); -lean_inc(x_156); -x_157 = lean_ctor_get(x_155, 1); -lean_inc(x_157); -lean_dec(x_155); -x_158 = lean_unbox(x_156); -lean_dec(x_156); -x_128 = x_158; -x_129 = x_157; -goto block_150; -} -else -{ -uint8_t x_159; -lean_dec(x_126); -x_159 = 0; -x_128 = x_159; -x_129 = x_5; -goto block_150; -} -} -} -case 8: -{ -lean_object* x_168; lean_object* x_169; lean_object* x_170; uint8_t x_171; lean_object* x_172; uint8_t x_194; lean_object* x_195; lean_object* x_214; uint8_t x_224; -x_168 = lean_ctor_get(x_4, 1); -lean_inc(x_168); -x_169 = lean_ctor_get(x_4, 2); -lean_inc(x_169); -x_170 = lean_ctor_get(x_4, 3); -lean_inc(x_170); -lean_dec(x_4); -x_224 = lean_expr_has_expr_mvar(x_168); -if (x_224 == 0) -{ -uint8_t x_225; -x_225 = lean_expr_has_level_mvar(x_168); -if (x_225 == 0) -{ -uint8_t x_226; -x_226 = lean_expr_has_fvar(x_168); -if (x_226 == 0) -{ -uint8_t x_227; -lean_dec(x_168); -x_227 = 0; -x_194 = x_227; -x_195 = x_5; -goto block_213; -} -else -{ -lean_object* x_228; -x_228 = lean_box(0); -x_214 = x_228; -goto block_223; -} -} -else -{ -lean_object* x_229; -x_229 = lean_box(0); -x_214 = x_229; -goto block_223; -} -} -else -{ -lean_object* x_230; -x_230 = lean_box(0); -x_214 = x_230; -goto block_223; -} -block_193: -{ -if (x_171 == 0) -{ -lean_object* x_173; uint8_t x_182; -x_182 = lean_expr_has_expr_mvar(x_170); -if (x_182 == 0) -{ -uint8_t x_183; -x_183 = lean_expr_has_level_mvar(x_170); -if (x_183 == 0) -{ -uint8_t x_184; -x_184 = lean_expr_has_fvar(x_170); -if (x_184 == 0) -{ -uint8_t x_185; lean_object* x_186; lean_object* x_187; -lean_dec(x_170); -lean_dec(x_3); -lean_dec(x_1); -x_185 = 0; -x_186 = lean_box(x_185); -x_187 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_187, 0, x_186); -lean_ctor_set(x_187, 1, x_172); -return x_187; -} -else -{ -lean_object* x_188; -x_188 = lean_box(0); -x_173 = x_188; -goto block_181; -} -} -else -{ -lean_object* x_189; -x_189 = lean_box(0); -x_173 = x_189; -goto block_181; -} -} -else -{ -lean_object* x_190; -x_190 = lean_box(0); -x_173 = x_190; -goto block_181; -} -block_181: -{ -uint8_t x_174; -lean_dec(x_173); -x_174 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_172, x_170); -if (x_174 == 0) -{ -lean_object* x_175; lean_object* x_176; -x_175 = lean_box(0); -lean_inc(x_170); -x_176 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_172, x_170, x_175); -x_4 = x_170; -x_5 = x_176; -goto _start; -} -else -{ -uint8_t x_178; lean_object* x_179; lean_object* x_180; -lean_dec(x_170); -lean_dec(x_3); -lean_dec(x_1); -x_178 = 0; -x_179 = lean_box(x_178); -x_180 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_180, 0, x_179); -lean_ctor_set(x_180, 1, x_172); -return x_180; -} -} -} -else -{ -lean_object* x_191; lean_object* x_192; -lean_dec(x_170); -lean_dec(x_3); -lean_dec(x_1); -x_191 = lean_box(x_171); -x_192 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_192, 0, x_191); -lean_ctor_set(x_192, 1, x_172); -return x_192; -} -} -block_213: -{ -lean_object* x_196; -if (x_194 == 0) -{ -uint8_t x_206; -x_206 = lean_expr_has_expr_mvar(x_169); -if (x_206 == 0) -{ -uint8_t x_207; -x_207 = lean_expr_has_level_mvar(x_169); -if (x_207 == 0) -{ -uint8_t x_208; -x_208 = lean_expr_has_fvar(x_169); -if (x_208 == 0) -{ -uint8_t x_209; -lean_dec(x_169); -x_209 = 0; -x_171 = x_209; -x_172 = x_195; -goto block_193; -} -else -{ -lean_object* x_210; -x_210 = lean_box(0); -x_196 = x_210; -goto block_205; -} -} -else -{ -lean_object* x_211; -x_211 = lean_box(0); -x_196 = x_211; -goto block_205; -} -} -else -{ -lean_object* x_212; -x_212 = lean_box(0); -x_196 = x_212; -goto block_205; -} -} -else -{ -lean_dec(x_169); -x_171 = x_194; -x_172 = x_195; -goto block_193; -} -block_205: -{ -uint8_t x_197; -lean_dec(x_196); -x_197 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_195, x_169); -if (x_197 == 0) -{ -lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; uint8_t x_203; -x_198 = lean_box(0); -lean_inc(x_169); -x_199 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_195, x_169, x_198); -lean_inc(x_3); -lean_inc(x_1); -x_200 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__39___rarg(x_1, x_2, x_3, x_169, x_199); -x_201 = lean_ctor_get(x_200, 0); -lean_inc(x_201); -x_202 = lean_ctor_get(x_200, 1); -lean_inc(x_202); -lean_dec(x_200); -x_203 = lean_unbox(x_201); -lean_dec(x_201); -x_171 = x_203; -x_172 = x_202; -goto block_193; -} -else -{ -uint8_t x_204; -lean_dec(x_169); -x_204 = 0; -x_171 = x_204; -x_172 = x_195; -goto block_193; -} -} -} -block_223: -{ -uint8_t x_215; -lean_dec(x_214); -x_215 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_5, x_168); -if (x_215 == 0) -{ -lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; uint8_t x_221; -x_216 = lean_box(0); -lean_inc(x_168); -x_217 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_5, x_168, x_216); -lean_inc(x_3); -lean_inc(x_1); -x_218 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__39___rarg(x_1, x_2, x_3, x_168, x_217); -x_219 = lean_ctor_get(x_218, 0); -lean_inc(x_219); -x_220 = lean_ctor_get(x_218, 1); -lean_inc(x_220); -lean_dec(x_218); -x_221 = lean_unbox(x_219); -lean_dec(x_219); -x_194 = x_221; -x_195 = x_220; -goto block_213; -} -else -{ -uint8_t x_222; -lean_dec(x_168); -x_222 = 0; -x_194 = x_222; -x_195 = x_5; -goto block_213; -} -} -} -case 10: -{ -lean_object* x_231; lean_object* x_232; uint8_t x_241; -x_231 = lean_ctor_get(x_4, 1); -lean_inc(x_231); -lean_dec(x_4); -x_241 = lean_expr_has_expr_mvar(x_231); -if (x_241 == 0) -{ -uint8_t x_242; -x_242 = lean_expr_has_level_mvar(x_231); -if (x_242 == 0) -{ -uint8_t x_243; -x_243 = lean_expr_has_fvar(x_231); -if (x_243 == 0) -{ -uint8_t x_244; lean_object* x_245; lean_object* x_246; -lean_dec(x_231); -lean_dec(x_3); -lean_dec(x_1); -x_244 = 0; -x_245 = lean_box(x_244); -x_246 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_246, 0, x_245); -lean_ctor_set(x_246, 1, x_5); -return x_246; -} -else -{ -lean_object* x_247; -x_247 = lean_box(0); -x_232 = x_247; -goto block_240; -} -} -else -{ -lean_object* x_248; -x_248 = lean_box(0); -x_232 = x_248; -goto block_240; -} -} -else -{ -lean_object* x_249; -x_249 = lean_box(0); -x_232 = x_249; -goto block_240; -} -block_240: -{ -uint8_t x_233; -lean_dec(x_232); -x_233 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_5, x_231); -if (x_233 == 0) -{ -lean_object* x_234; lean_object* x_235; -x_234 = lean_box(0); -lean_inc(x_231); -x_235 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_5, x_231, x_234); -x_4 = x_231; -x_5 = x_235; -goto _start; -} -else -{ -uint8_t x_237; lean_object* x_238; lean_object* x_239; -lean_dec(x_231); -lean_dec(x_3); -lean_dec(x_1); -x_237 = 0; -x_238 = lean_box(x_237); -x_239 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_239, 0, x_238); -lean_ctor_set(x_239, 1, x_5); -return x_239; -} -} -} -case 11: -{ -lean_object* x_250; lean_object* x_251; uint8_t x_260; -x_250 = lean_ctor_get(x_4, 2); -lean_inc(x_250); -lean_dec(x_4); -x_260 = lean_expr_has_expr_mvar(x_250); -if (x_260 == 0) -{ -uint8_t x_261; -x_261 = lean_expr_has_level_mvar(x_250); -if (x_261 == 0) -{ -uint8_t x_262; -x_262 = lean_expr_has_fvar(x_250); -if (x_262 == 0) -{ -uint8_t x_263; lean_object* x_264; lean_object* x_265; -lean_dec(x_250); -lean_dec(x_3); -lean_dec(x_1); -x_263 = 0; -x_264 = lean_box(x_263); -x_265 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_265, 0, x_264); -lean_ctor_set(x_265, 1, x_5); -return x_265; -} -else -{ -lean_object* x_266; -x_266 = lean_box(0); -x_251 = x_266; -goto block_259; -} -} -else -{ -lean_object* x_267; -x_267 = lean_box(0); -x_251 = x_267; -goto block_259; -} -} -else -{ -lean_object* x_268; -x_268 = lean_box(0); -x_251 = x_268; -goto block_259; -} -block_259: -{ -uint8_t x_252; -lean_dec(x_251); -x_252 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_5, x_250); -if (x_252 == 0) -{ -lean_object* x_253; lean_object* x_254; -x_253 = lean_box(0); -lean_inc(x_250); -x_254 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_5, x_250, x_253); -x_4 = x_250; -x_5 = x_254; -goto _start; -} -else -{ -uint8_t x_256; lean_object* x_257; lean_object* x_258; -lean_dec(x_250); -lean_dec(x_3); -lean_dec(x_1); -x_256 = 0; -x_257 = lean_box(x_256); -x_258 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_258, 0, x_257); -lean_ctor_set(x_258, 1, x_5); -return x_258; -} -} -} -default: -{ -uint8_t x_269; lean_object* x_270; lean_object* x_271; -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_269 = 0; -x_270 = lean_box(x_269); -x_271 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_271, 0, x_270); -lean_ctor_set(x_271, 1, x_5); -return x_271; -} -} -} -} -lean_object* l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__39(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__39___rarg___boxed), 5, 0); -return x_2; -} -} -uint8_t l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__48(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; uint8_t x_5; -x_4 = lean_array_get_size(x_2); -x_5 = lean_nat_dec_lt(x_3, x_4); -lean_dec(x_4); -if (x_5 == 0) -{ -uint8_t x_6; -lean_dec(x_3); -x_6 = 0; -return x_6; -} -else -{ -lean_object* x_7; uint8_t x_8; -x_7 = lean_array_fget(x_2, x_3); -x_8 = l_PersistentArray_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__47(x_1, x_7); -lean_dec(x_7); -if (x_8 == 0) -{ -lean_object* x_9; lean_object* x_10; -x_9 = lean_unsigned_to_nat(1u); -x_10 = lean_nat_add(x_3, x_9); -lean_dec(x_3); -x_3 = x_10; -goto _start; -} -else -{ -lean_dec(x_3); -return x_8; -} -} -} -} -uint8_t l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__49(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; uint8_t x_5; -x_4 = lean_array_get_size(x_2); -x_5 = lean_nat_dec_lt(x_3, x_4); -lean_dec(x_4); -if (x_5 == 0) -{ -uint8_t x_6; -lean_dec(x_3); -x_6 = 0; -return x_6; -} -else -{ -lean_object* x_7; -x_7 = lean_array_fget(x_2, x_3); -if (lean_obj_tag(x_7) == 0) -{ -lean_object* x_8; lean_object* x_9; -x_8 = lean_unsigned_to_nat(1u); -x_9 = lean_nat_add(x_3, x_8); -lean_dec(x_3); -x_3 = x_9; -goto _start; -} -else -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_11 = lean_ctor_get(x_7, 0); -lean_inc(x_11); -lean_dec(x_7); -x_12 = l_Lean_LocalDecl_name(x_11); -lean_dec(x_11); -x_13 = lean_unsigned_to_nat(0u); -x_14 = l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__2(x_12, x_1, x_13); -lean_dec(x_12); -if (x_14 == 0) -{ -lean_object* x_15; lean_object* x_16; -x_15 = lean_unsigned_to_nat(1u); -x_16 = lean_nat_add(x_3, x_15); -lean_dec(x_3); -x_3 = x_16; -goto _start; -} -else -{ -lean_dec(x_3); -return x_14; -} -} -} -} -} -uint8_t l_PersistentArray_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__47(lean_object* x_1, lean_object* x_2) { -_start: -{ -if (lean_obj_tag(x_2) == 0) -{ -lean_object* x_3; lean_object* x_4; uint8_t x_5; -x_3 = lean_ctor_get(x_2, 0); -x_4 = lean_unsigned_to_nat(0u); -x_5 = l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__48(x_1, x_3, x_4); -return x_5; -} -else -{ -lean_object* x_6; lean_object* x_7; uint8_t x_8; -x_6 = lean_ctor_get(x_2, 0); -x_7 = lean_unsigned_to_nat(0u); -x_8 = l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__49(x_1, x_6, x_7); -return x_8; -} -} -} -uint8_t l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__50(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; uint8_t x_5; -x_4 = lean_array_get_size(x_2); -x_5 = lean_nat_dec_lt(x_3, x_4); -lean_dec(x_4); -if (x_5 == 0) -{ -uint8_t x_6; -lean_dec(x_3); -x_6 = 0; -return x_6; -} -else -{ -lean_object* x_7; -x_7 = lean_array_fget(x_2, x_3); -if (lean_obj_tag(x_7) == 0) -{ -lean_object* x_8; lean_object* x_9; -x_8 = lean_unsigned_to_nat(1u); -x_9 = lean_nat_add(x_3, x_8); -lean_dec(x_3); -x_3 = x_9; -goto _start; -} -else -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_11 = lean_ctor_get(x_7, 0); -lean_inc(x_11); -lean_dec(x_7); -x_12 = l_Lean_LocalDecl_name(x_11); -lean_dec(x_11); -x_13 = lean_unsigned_to_nat(0u); -x_14 = l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__2(x_12, x_1, x_13); -lean_dec(x_12); -if (x_14 == 0) -{ -lean_object* x_15; lean_object* x_16; -x_15 = lean_unsigned_to_nat(1u); -x_16 = lean_nat_add(x_3, x_15); -lean_dec(x_3); -x_3 = x_16; -goto _start; -} -else -{ -lean_dec(x_3); -return x_14; -} -} -} -} -} -uint8_t l_PersistentArray_anyM___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__46(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; uint8_t x_4; -x_3 = lean_ctor_get(x_2, 0); -x_4 = l_PersistentArray_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__47(x_1, x_3); -if (x_4 == 0) -{ -lean_object* x_5; lean_object* x_6; uint8_t x_7; -x_5 = lean_ctor_get(x_2, 1); -x_6 = lean_unsigned_to_nat(0u); -x_7 = l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__50(x_1, x_5, x_6); -return x_7; -} -else -{ -return x_4; -} -} -} -lean_object* l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__45___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -switch (lean_obj_tag(x_4)) { -case 1: -{ -lean_object* x_6; lean_object* x_7; uint8_t x_8; lean_object* x_9; lean_object* x_10; -lean_dec(x_3); -lean_dec(x_1); -x_6 = lean_ctor_get(x_4, 0); -lean_inc(x_6); -lean_dec(x_4); -x_7 = lean_unsigned_to_nat(0u); -x_8 = l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__2(x_6, x_2, x_7); -lean_dec(x_6); -x_9 = lean_box(x_8); -x_10 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_10, 0, x_9); -lean_ctor_set(x_10, 1, x_5); -return x_10; -} -case 2: -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_11 = lean_ctor_get(x_4, 0); -lean_inc(x_11); -lean_dec(x_4); -x_12 = lean_ctor_get(x_1, 5); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_3); -x_13 = lean_apply_2(x_12, x_3, x_11); -if (lean_obj_tag(x_13) == 0) -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; lean_object* x_19; lean_object* x_20; -x_14 = lean_ctor_get(x_1, 7); -lean_inc(x_14); -lean_dec(x_1); -x_15 = lean_apply_2(x_14, x_3, x_11); -x_16 = lean_ctor_get(x_15, 1); -lean_inc(x_16); -lean_dec(x_15); -x_17 = lean_ctor_get(x_16, 1); -lean_inc(x_17); -lean_dec(x_16); -x_18 = l_PersistentArray_anyM___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__46(x_2, x_17); -lean_dec(x_17); -x_19 = lean_box(x_18); -x_20 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_20, 0, x_19); -lean_ctor_set(x_20, 1, x_5); -return x_20; -} -else -{ -lean_object* x_21; lean_object* x_22; uint8_t x_31; -lean_dec(x_11); -x_21 = lean_ctor_get(x_13, 0); -lean_inc(x_21); -lean_dec(x_13); -x_31 = lean_expr_has_expr_mvar(x_21); -if (x_31 == 0) -{ -uint8_t x_32; -x_32 = lean_expr_has_level_mvar(x_21); -if (x_32 == 0) -{ -uint8_t x_33; -x_33 = lean_expr_has_fvar(x_21); -if (x_33 == 0) -{ -uint8_t x_34; lean_object* x_35; lean_object* x_36; -lean_dec(x_21); -lean_dec(x_3); -lean_dec(x_1); -x_34 = 0; -x_35 = lean_box(x_34); -x_36 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_5); -return x_36; -} -else -{ -lean_object* x_37; -x_37 = lean_box(0); -x_22 = x_37; -goto block_30; -} -} -else -{ -lean_object* x_38; -x_38 = lean_box(0); -x_22 = x_38; -goto block_30; -} -} -else -{ -lean_object* x_39; -x_39 = lean_box(0); -x_22 = x_39; -goto block_30; -} -block_30: -{ -uint8_t x_23; -lean_dec(x_22); -x_23 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_5, x_21); -if (x_23 == 0) -{ -lean_object* x_24; lean_object* x_25; -x_24 = lean_box(0); -lean_inc(x_21); -x_25 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_5, x_21, x_24); -x_4 = x_21; -x_5 = x_25; -goto _start; -} -else -{ -uint8_t x_27; lean_object* x_28; lean_object* x_29; -lean_dec(x_21); -lean_dec(x_3); -lean_dec(x_1); -x_27 = 0; -x_28 = lean_box(x_27); -x_29 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_29, 0, x_28); -lean_ctor_set(x_29, 1, x_5); -return x_29; -} -} -} -} -case 5: -{ -lean_object* x_40; lean_object* x_41; uint8_t x_42; lean_object* x_43; lean_object* x_67; uint8_t x_77; -x_40 = lean_ctor_get(x_4, 0); -lean_inc(x_40); -x_41 = lean_ctor_get(x_4, 1); -lean_inc(x_41); -lean_dec(x_4); -x_77 = lean_expr_has_expr_mvar(x_41); -if (x_77 == 0) -{ -uint8_t x_78; -x_78 = lean_expr_has_level_mvar(x_41); -if (x_78 == 0) -{ -uint8_t x_79; -x_79 = lean_expr_has_fvar(x_41); -if (x_79 == 0) -{ -uint8_t x_80; -lean_dec(x_41); -x_80 = 0; -x_42 = x_80; -x_43 = x_5; -goto block_66; -} -else -{ -lean_object* x_81; -x_81 = lean_box(0); -x_67 = x_81; -goto block_76; -} -} -else -{ -lean_object* x_82; -x_82 = lean_box(0); -x_67 = x_82; -goto block_76; -} -} -else -{ -lean_object* x_83; -x_83 = lean_box(0); -x_67 = x_83; -goto block_76; -} -block_66: -{ -if (x_42 == 0) -{ -uint8_t x_44; -x_44 = l_Lean_Expr_isApp(x_40); -if (x_44 == 0) -{ -lean_object* x_45; uint8_t x_54; -x_54 = lean_expr_has_expr_mvar(x_40); -if (x_54 == 0) -{ -uint8_t x_55; -x_55 = lean_expr_has_level_mvar(x_40); -if (x_55 == 0) -{ -uint8_t x_56; -x_56 = lean_expr_has_fvar(x_40); -if (x_56 == 0) -{ -uint8_t x_57; lean_object* x_58; lean_object* x_59; -lean_dec(x_40); -lean_dec(x_3); -lean_dec(x_1); -x_57 = 0; -x_58 = lean_box(x_57); -x_59 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_59, 0, x_58); -lean_ctor_set(x_59, 1, x_43); -return x_59; -} -else -{ -lean_object* x_60; -x_60 = lean_box(0); -x_45 = x_60; -goto block_53; -} -} -else -{ -lean_object* x_61; -x_61 = lean_box(0); -x_45 = x_61; -goto block_53; -} -} -else -{ -lean_object* x_62; -x_62 = lean_box(0); -x_45 = x_62; -goto block_53; -} -block_53: -{ -uint8_t x_46; -lean_dec(x_45); -x_46 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_43, x_40); -if (x_46 == 0) -{ -lean_object* x_47; lean_object* x_48; -x_47 = lean_box(0); -lean_inc(x_40); -x_48 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_43, x_40, x_47); -x_4 = x_40; -x_5 = x_48; -goto _start; -} -else -{ -uint8_t x_50; lean_object* x_51; lean_object* x_52; -lean_dec(x_40); -lean_dec(x_3); -lean_dec(x_1); -x_50 = 0; -x_51 = lean_box(x_50); -x_52 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_52, 0, x_51); -lean_ctor_set(x_52, 1, x_43); -return x_52; -} -} -} -else -{ -x_4 = x_40; -x_5 = x_43; -goto _start; -} -} -else -{ -lean_object* x_64; lean_object* x_65; -lean_dec(x_40); -lean_dec(x_3); -lean_dec(x_1); -x_64 = lean_box(x_42); -x_65 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_65, 0, x_64); -lean_ctor_set(x_65, 1, x_43); -return x_65; -} -} -block_76: -{ -uint8_t x_68; -lean_dec(x_67); -x_68 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_5, x_41); -if (x_68 == 0) -{ -lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; uint8_t x_74; -x_69 = lean_box(0); -lean_inc(x_41); -x_70 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_5, x_41, x_69); -lean_inc(x_3); -lean_inc(x_1); -x_71 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__45___rarg(x_1, x_2, x_3, x_41, x_70); -x_72 = lean_ctor_get(x_71, 0); -lean_inc(x_72); -x_73 = lean_ctor_get(x_71, 1); -lean_inc(x_73); -lean_dec(x_71); -x_74 = lean_unbox(x_72); -lean_dec(x_72); -x_42 = x_74; -x_43 = x_73; -goto block_66; -} -else -{ -uint8_t x_75; -lean_dec(x_41); -x_75 = 0; -x_42 = x_75; -x_43 = x_5; -goto block_66; -} -} -} -case 6: -{ -lean_object* x_84; lean_object* x_85; uint8_t x_86; lean_object* x_87; lean_object* x_109; uint8_t x_119; -x_84 = lean_ctor_get(x_4, 1); -lean_inc(x_84); -x_85 = lean_ctor_get(x_4, 2); -lean_inc(x_85); -lean_dec(x_4); -x_119 = lean_expr_has_expr_mvar(x_84); -if (x_119 == 0) -{ -uint8_t x_120; -x_120 = lean_expr_has_level_mvar(x_84); -if (x_120 == 0) -{ -uint8_t x_121; -x_121 = lean_expr_has_fvar(x_84); -if (x_121 == 0) -{ -uint8_t x_122; -lean_dec(x_84); -x_122 = 0; -x_86 = x_122; -x_87 = x_5; -goto block_108; -} -else -{ -lean_object* x_123; -x_123 = lean_box(0); -x_109 = x_123; -goto block_118; -} -} -else -{ -lean_object* x_124; -x_124 = lean_box(0); -x_109 = x_124; -goto block_118; -} -} -else -{ -lean_object* x_125; -x_125 = lean_box(0); -x_109 = x_125; -goto block_118; -} -block_108: -{ -if (x_86 == 0) -{ -lean_object* x_88; uint8_t x_97; -x_97 = lean_expr_has_expr_mvar(x_85); -if (x_97 == 0) -{ -uint8_t x_98; -x_98 = lean_expr_has_level_mvar(x_85); -if (x_98 == 0) -{ -uint8_t x_99; -x_99 = lean_expr_has_fvar(x_85); -if (x_99 == 0) -{ -uint8_t x_100; lean_object* x_101; lean_object* x_102; -lean_dec(x_85); -lean_dec(x_3); -lean_dec(x_1); -x_100 = 0; -x_101 = lean_box(x_100); -x_102 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_102, 0, x_101); -lean_ctor_set(x_102, 1, x_87); -return x_102; -} -else -{ -lean_object* x_103; -x_103 = lean_box(0); -x_88 = x_103; -goto block_96; -} -} -else -{ -lean_object* x_104; -x_104 = lean_box(0); -x_88 = x_104; -goto block_96; -} -} -else -{ -lean_object* x_105; -x_105 = lean_box(0); -x_88 = x_105; -goto block_96; -} -block_96: -{ -uint8_t x_89; -lean_dec(x_88); -x_89 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_87, x_85); -if (x_89 == 0) -{ -lean_object* x_90; lean_object* x_91; -x_90 = lean_box(0); -lean_inc(x_85); -x_91 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_87, x_85, x_90); -x_4 = x_85; -x_5 = x_91; -goto _start; -} -else -{ -uint8_t x_93; lean_object* x_94; lean_object* x_95; -lean_dec(x_85); -lean_dec(x_3); -lean_dec(x_1); -x_93 = 0; -x_94 = lean_box(x_93); -x_95 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_95, 0, x_94); -lean_ctor_set(x_95, 1, x_87); -return x_95; -} -} -} -else -{ -lean_object* x_106; lean_object* x_107; -lean_dec(x_85); -lean_dec(x_3); -lean_dec(x_1); -x_106 = lean_box(x_86); -x_107 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_107, 0, x_106); -lean_ctor_set(x_107, 1, x_87); -return x_107; -} -} -block_118: -{ -uint8_t x_110; -lean_dec(x_109); -x_110 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_5, x_84); -if (x_110 == 0) -{ -lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; uint8_t x_116; -x_111 = lean_box(0); -lean_inc(x_84); -x_112 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_5, x_84, x_111); -lean_inc(x_3); -lean_inc(x_1); -x_113 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__45___rarg(x_1, x_2, x_3, x_84, x_112); -x_114 = lean_ctor_get(x_113, 0); -lean_inc(x_114); -x_115 = lean_ctor_get(x_113, 1); -lean_inc(x_115); -lean_dec(x_113); -x_116 = lean_unbox(x_114); -lean_dec(x_114); -x_86 = x_116; -x_87 = x_115; -goto block_108; -} -else -{ -uint8_t x_117; -lean_dec(x_84); -x_117 = 0; -x_86 = x_117; -x_87 = x_5; -goto block_108; -} -} -} -case 7: -{ -lean_object* x_126; lean_object* x_127; uint8_t x_128; lean_object* x_129; lean_object* x_151; uint8_t x_161; -x_126 = lean_ctor_get(x_4, 1); -lean_inc(x_126); -x_127 = lean_ctor_get(x_4, 2); -lean_inc(x_127); -lean_dec(x_4); -x_161 = lean_expr_has_expr_mvar(x_126); -if (x_161 == 0) -{ -uint8_t x_162; -x_162 = lean_expr_has_level_mvar(x_126); -if (x_162 == 0) -{ -uint8_t x_163; -x_163 = lean_expr_has_fvar(x_126); -if (x_163 == 0) -{ -uint8_t x_164; -lean_dec(x_126); -x_164 = 0; -x_128 = x_164; -x_129 = x_5; -goto block_150; -} -else -{ -lean_object* x_165; -x_165 = lean_box(0); -x_151 = x_165; -goto block_160; -} -} -else -{ -lean_object* x_166; -x_166 = lean_box(0); -x_151 = x_166; -goto block_160; -} -} -else -{ -lean_object* x_167; -x_167 = lean_box(0); -x_151 = x_167; -goto block_160; -} -block_150: -{ -if (x_128 == 0) -{ -lean_object* x_130; uint8_t x_139; -x_139 = lean_expr_has_expr_mvar(x_127); -if (x_139 == 0) -{ -uint8_t x_140; -x_140 = lean_expr_has_level_mvar(x_127); -if (x_140 == 0) -{ -uint8_t x_141; -x_141 = lean_expr_has_fvar(x_127); -if (x_141 == 0) -{ -uint8_t x_142; lean_object* x_143; lean_object* x_144; -lean_dec(x_127); -lean_dec(x_3); -lean_dec(x_1); -x_142 = 0; -x_143 = lean_box(x_142); -x_144 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_144, 0, x_143); -lean_ctor_set(x_144, 1, x_129); -return x_144; -} -else -{ -lean_object* x_145; -x_145 = lean_box(0); -x_130 = x_145; -goto block_138; -} -} -else -{ -lean_object* x_146; -x_146 = lean_box(0); -x_130 = x_146; -goto block_138; -} -} -else -{ -lean_object* x_147; -x_147 = lean_box(0); -x_130 = x_147; -goto block_138; -} -block_138: -{ -uint8_t x_131; -lean_dec(x_130); -x_131 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_129, x_127); -if (x_131 == 0) -{ -lean_object* x_132; lean_object* x_133; -x_132 = lean_box(0); -lean_inc(x_127); -x_133 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_129, x_127, x_132); -x_4 = x_127; -x_5 = x_133; -goto _start; -} -else -{ -uint8_t x_135; lean_object* x_136; lean_object* x_137; -lean_dec(x_127); -lean_dec(x_3); -lean_dec(x_1); -x_135 = 0; -x_136 = lean_box(x_135); -x_137 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_137, 0, x_136); -lean_ctor_set(x_137, 1, x_129); -return x_137; -} -} -} -else -{ -lean_object* x_148; lean_object* x_149; -lean_dec(x_127); -lean_dec(x_3); -lean_dec(x_1); -x_148 = lean_box(x_128); -x_149 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_149, 0, x_148); -lean_ctor_set(x_149, 1, x_129); -return x_149; -} -} -block_160: -{ -uint8_t x_152; -lean_dec(x_151); -x_152 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_5, x_126); -if (x_152 == 0) -{ -lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; uint8_t x_158; -x_153 = lean_box(0); -lean_inc(x_126); -x_154 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_5, x_126, x_153); -lean_inc(x_3); -lean_inc(x_1); -x_155 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__45___rarg(x_1, x_2, x_3, x_126, x_154); -x_156 = lean_ctor_get(x_155, 0); -lean_inc(x_156); -x_157 = lean_ctor_get(x_155, 1); -lean_inc(x_157); -lean_dec(x_155); -x_158 = lean_unbox(x_156); -lean_dec(x_156); -x_128 = x_158; -x_129 = x_157; -goto block_150; -} -else -{ -uint8_t x_159; -lean_dec(x_126); -x_159 = 0; -x_128 = x_159; -x_129 = x_5; -goto block_150; -} -} -} -case 8: -{ -lean_object* x_168; lean_object* x_169; lean_object* x_170; uint8_t x_171; lean_object* x_172; uint8_t x_194; lean_object* x_195; lean_object* x_214; uint8_t x_224; -x_168 = lean_ctor_get(x_4, 1); -lean_inc(x_168); -x_169 = lean_ctor_get(x_4, 2); -lean_inc(x_169); -x_170 = lean_ctor_get(x_4, 3); -lean_inc(x_170); -lean_dec(x_4); -x_224 = lean_expr_has_expr_mvar(x_168); -if (x_224 == 0) -{ -uint8_t x_225; -x_225 = lean_expr_has_level_mvar(x_168); -if (x_225 == 0) -{ -uint8_t x_226; -x_226 = lean_expr_has_fvar(x_168); -if (x_226 == 0) -{ -uint8_t x_227; -lean_dec(x_168); -x_227 = 0; -x_194 = x_227; -x_195 = x_5; -goto block_213; -} -else -{ -lean_object* x_228; -x_228 = lean_box(0); -x_214 = x_228; -goto block_223; -} -} -else -{ -lean_object* x_229; -x_229 = lean_box(0); -x_214 = x_229; -goto block_223; -} -} -else -{ -lean_object* x_230; -x_230 = lean_box(0); -x_214 = x_230; -goto block_223; -} -block_193: -{ -if (x_171 == 0) -{ -lean_object* x_173; uint8_t x_182; -x_182 = lean_expr_has_expr_mvar(x_170); -if (x_182 == 0) -{ -uint8_t x_183; -x_183 = lean_expr_has_level_mvar(x_170); -if (x_183 == 0) -{ -uint8_t x_184; -x_184 = lean_expr_has_fvar(x_170); -if (x_184 == 0) -{ -uint8_t x_185; lean_object* x_186; lean_object* x_187; -lean_dec(x_170); -lean_dec(x_3); -lean_dec(x_1); -x_185 = 0; -x_186 = lean_box(x_185); -x_187 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_187, 0, x_186); -lean_ctor_set(x_187, 1, x_172); -return x_187; -} -else -{ -lean_object* x_188; -x_188 = lean_box(0); -x_173 = x_188; -goto block_181; -} -} -else -{ -lean_object* x_189; -x_189 = lean_box(0); -x_173 = x_189; -goto block_181; -} -} -else -{ -lean_object* x_190; -x_190 = lean_box(0); -x_173 = x_190; -goto block_181; -} -block_181: -{ -uint8_t x_174; -lean_dec(x_173); -x_174 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_172, x_170); -if (x_174 == 0) -{ -lean_object* x_175; lean_object* x_176; -x_175 = lean_box(0); -lean_inc(x_170); -x_176 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_172, x_170, x_175); -x_4 = x_170; -x_5 = x_176; -goto _start; -} -else -{ -uint8_t x_178; lean_object* x_179; lean_object* x_180; -lean_dec(x_170); -lean_dec(x_3); -lean_dec(x_1); -x_178 = 0; -x_179 = lean_box(x_178); -x_180 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_180, 0, x_179); -lean_ctor_set(x_180, 1, x_172); -return x_180; -} -} -} -else -{ -lean_object* x_191; lean_object* x_192; -lean_dec(x_170); -lean_dec(x_3); -lean_dec(x_1); -x_191 = lean_box(x_171); -x_192 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_192, 0, x_191); -lean_ctor_set(x_192, 1, x_172); -return x_192; -} -} -block_213: -{ -lean_object* x_196; -if (x_194 == 0) -{ -uint8_t x_206; -x_206 = lean_expr_has_expr_mvar(x_169); -if (x_206 == 0) -{ -uint8_t x_207; -x_207 = lean_expr_has_level_mvar(x_169); -if (x_207 == 0) -{ -uint8_t x_208; -x_208 = lean_expr_has_fvar(x_169); -if (x_208 == 0) -{ -uint8_t x_209; -lean_dec(x_169); -x_209 = 0; -x_171 = x_209; -x_172 = x_195; -goto block_193; -} -else -{ -lean_object* x_210; -x_210 = lean_box(0); -x_196 = x_210; -goto block_205; -} -} -else -{ -lean_object* x_211; -x_211 = lean_box(0); -x_196 = x_211; -goto block_205; -} -} -else -{ -lean_object* x_212; -x_212 = lean_box(0); -x_196 = x_212; -goto block_205; -} -} -else -{ -lean_dec(x_169); -x_171 = x_194; -x_172 = x_195; -goto block_193; -} -block_205: -{ -uint8_t x_197; -lean_dec(x_196); -x_197 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_195, x_169); -if (x_197 == 0) -{ -lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; uint8_t x_203; -x_198 = lean_box(0); -lean_inc(x_169); -x_199 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_195, x_169, x_198); -lean_inc(x_3); -lean_inc(x_1); -x_200 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__45___rarg(x_1, x_2, x_3, x_169, x_199); -x_201 = lean_ctor_get(x_200, 0); -lean_inc(x_201); -x_202 = lean_ctor_get(x_200, 1); -lean_inc(x_202); -lean_dec(x_200); -x_203 = lean_unbox(x_201); -lean_dec(x_201); -x_171 = x_203; -x_172 = x_202; -goto block_193; -} -else -{ -uint8_t x_204; -lean_dec(x_169); -x_204 = 0; -x_171 = x_204; -x_172 = x_195; -goto block_193; -} -} -} -block_223: -{ -uint8_t x_215; -lean_dec(x_214); -x_215 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_5, x_168); -if (x_215 == 0) -{ -lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; uint8_t x_221; -x_216 = lean_box(0); -lean_inc(x_168); -x_217 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_5, x_168, x_216); -lean_inc(x_3); -lean_inc(x_1); -x_218 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__45___rarg(x_1, x_2, x_3, x_168, x_217); -x_219 = lean_ctor_get(x_218, 0); -lean_inc(x_219); -x_220 = lean_ctor_get(x_218, 1); -lean_inc(x_220); -lean_dec(x_218); -x_221 = lean_unbox(x_219); -lean_dec(x_219); -x_194 = x_221; -x_195 = x_220; -goto block_213; -} -else -{ -uint8_t x_222; -lean_dec(x_168); -x_222 = 0; -x_194 = x_222; -x_195 = x_5; -goto block_213; -} -} -} -case 10: -{ -lean_object* x_231; lean_object* x_232; uint8_t x_241; -x_231 = lean_ctor_get(x_4, 1); -lean_inc(x_231); -lean_dec(x_4); -x_241 = lean_expr_has_expr_mvar(x_231); -if (x_241 == 0) -{ -uint8_t x_242; -x_242 = lean_expr_has_level_mvar(x_231); -if (x_242 == 0) -{ -uint8_t x_243; -x_243 = lean_expr_has_fvar(x_231); -if (x_243 == 0) -{ -uint8_t x_244; lean_object* x_245; lean_object* x_246; -lean_dec(x_231); -lean_dec(x_3); -lean_dec(x_1); -x_244 = 0; -x_245 = lean_box(x_244); -x_246 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_246, 0, x_245); -lean_ctor_set(x_246, 1, x_5); -return x_246; -} -else -{ -lean_object* x_247; -x_247 = lean_box(0); -x_232 = x_247; -goto block_240; -} -} -else -{ -lean_object* x_248; -x_248 = lean_box(0); -x_232 = x_248; -goto block_240; -} -} -else -{ -lean_object* x_249; -x_249 = lean_box(0); -x_232 = x_249; -goto block_240; -} -block_240: -{ -uint8_t x_233; -lean_dec(x_232); -x_233 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_5, x_231); -if (x_233 == 0) -{ -lean_object* x_234; lean_object* x_235; -x_234 = lean_box(0); -lean_inc(x_231); -x_235 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_5, x_231, x_234); -x_4 = x_231; -x_5 = x_235; -goto _start; -} -else -{ -uint8_t x_237; lean_object* x_238; lean_object* x_239; -lean_dec(x_231); -lean_dec(x_3); -lean_dec(x_1); -x_237 = 0; -x_238 = lean_box(x_237); -x_239 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_239, 0, x_238); -lean_ctor_set(x_239, 1, x_5); -return x_239; -} -} -} -case 11: -{ -lean_object* x_250; lean_object* x_251; uint8_t x_260; -x_250 = lean_ctor_get(x_4, 2); -lean_inc(x_250); -lean_dec(x_4); -x_260 = lean_expr_has_expr_mvar(x_250); -if (x_260 == 0) -{ -uint8_t x_261; -x_261 = lean_expr_has_level_mvar(x_250); -if (x_261 == 0) -{ -uint8_t x_262; -x_262 = lean_expr_has_fvar(x_250); -if (x_262 == 0) -{ -uint8_t x_263; lean_object* x_264; lean_object* x_265; -lean_dec(x_250); -lean_dec(x_3); -lean_dec(x_1); -x_263 = 0; -x_264 = lean_box(x_263); -x_265 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_265, 0, x_264); -lean_ctor_set(x_265, 1, x_5); -return x_265; -} -else -{ -lean_object* x_266; -x_266 = lean_box(0); -x_251 = x_266; -goto block_259; -} -} -else -{ -lean_object* x_267; -x_267 = lean_box(0); -x_251 = x_267; -goto block_259; -} -} -else -{ -lean_object* x_268; -x_268 = lean_box(0); -x_251 = x_268; -goto block_259; -} -block_259: -{ -uint8_t x_252; -lean_dec(x_251); -x_252 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_5, x_250); -if (x_252 == 0) -{ -lean_object* x_253; lean_object* x_254; -x_253 = lean_box(0); -lean_inc(x_250); -x_254 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_5, x_250, x_253); -x_4 = x_250; -x_5 = x_254; -goto _start; -} -else -{ -uint8_t x_256; lean_object* x_257; lean_object* x_258; -lean_dec(x_250); -lean_dec(x_3); -lean_dec(x_1); -x_256 = 0; -x_257 = lean_box(x_256); -x_258 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_258, 0, x_257); -lean_ctor_set(x_258, 1, x_5); -return x_258; -} -} -} -default: -{ -uint8_t x_269; lean_object* x_270; lean_object* x_271; -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_269 = 0; -x_270 = lean_box(x_269); -x_271 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_271, 0, x_270); -lean_ctor_set(x_271, 1, x_5); -return x_271; -} -} -} -} -lean_object* l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__45(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__45___rarg___boxed), 5, 0); -return x_2; -} -} -uint8_t l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__54(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; uint8_t x_5; -x_4 = lean_array_get_size(x_2); -x_5 = lean_nat_dec_lt(x_3, x_4); -lean_dec(x_4); -if (x_5 == 0) -{ -uint8_t x_6; -lean_dec(x_3); -x_6 = 0; -return x_6; -} -else -{ -lean_object* x_7; uint8_t x_8; -x_7 = lean_array_fget(x_2, x_3); -x_8 = l_PersistentArray_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__53(x_1, x_7); -lean_dec(x_7); -if (x_8 == 0) -{ -lean_object* x_9; lean_object* x_10; -x_9 = lean_unsigned_to_nat(1u); -x_10 = lean_nat_add(x_3, x_9); -lean_dec(x_3); -x_3 = x_10; -goto _start; -} -else -{ -lean_dec(x_3); -return x_8; -} -} -} -} -uint8_t l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__55(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; uint8_t x_5; -x_4 = lean_array_get_size(x_2); -x_5 = lean_nat_dec_lt(x_3, x_4); -lean_dec(x_4); -if (x_5 == 0) -{ -uint8_t x_6; -lean_dec(x_3); -x_6 = 0; -return x_6; -} -else -{ -lean_object* x_7; -x_7 = lean_array_fget(x_2, x_3); -if (lean_obj_tag(x_7) == 0) -{ -lean_object* x_8; lean_object* x_9; -x_8 = lean_unsigned_to_nat(1u); -x_9 = lean_nat_add(x_3, x_8); -lean_dec(x_3); -x_3 = x_9; -goto _start; -} -else -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_11 = lean_ctor_get(x_7, 0); -lean_inc(x_11); -lean_dec(x_7); -x_12 = l_Lean_LocalDecl_name(x_11); -lean_dec(x_11); -x_13 = lean_unsigned_to_nat(0u); -x_14 = l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__2(x_12, x_1, x_13); -lean_dec(x_12); -if (x_14 == 0) -{ -lean_object* x_15; lean_object* x_16; -x_15 = lean_unsigned_to_nat(1u); -x_16 = lean_nat_add(x_3, x_15); -lean_dec(x_3); -x_3 = x_16; -goto _start; -} -else -{ -lean_dec(x_3); -return x_14; -} -} -} -} -} -uint8_t l_PersistentArray_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__53(lean_object* x_1, lean_object* x_2) { -_start: -{ -if (lean_obj_tag(x_2) == 0) -{ -lean_object* x_3; lean_object* x_4; uint8_t x_5; -x_3 = lean_ctor_get(x_2, 0); -x_4 = lean_unsigned_to_nat(0u); -x_5 = l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__54(x_1, x_3, x_4); -return x_5; -} -else -{ -lean_object* x_6; lean_object* x_7; uint8_t x_8; -x_6 = lean_ctor_get(x_2, 0); -x_7 = lean_unsigned_to_nat(0u); -x_8 = l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__55(x_1, x_6, x_7); -return x_8; -} -} -} -uint8_t l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__56(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; uint8_t x_5; -x_4 = lean_array_get_size(x_2); -x_5 = lean_nat_dec_lt(x_3, x_4); -lean_dec(x_4); -if (x_5 == 0) -{ -uint8_t x_6; -lean_dec(x_3); -x_6 = 0; -return x_6; -} -else -{ -lean_object* x_7; -x_7 = lean_array_fget(x_2, x_3); -if (lean_obj_tag(x_7) == 0) -{ -lean_object* x_8; lean_object* x_9; -x_8 = lean_unsigned_to_nat(1u); -x_9 = lean_nat_add(x_3, x_8); -lean_dec(x_3); -x_3 = x_9; -goto _start; -} -else -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_11 = lean_ctor_get(x_7, 0); -lean_inc(x_11); -lean_dec(x_7); -x_12 = l_Lean_LocalDecl_name(x_11); -lean_dec(x_11); -x_13 = lean_unsigned_to_nat(0u); -x_14 = l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__2(x_12, x_1, x_13); -lean_dec(x_12); -if (x_14 == 0) -{ -lean_object* x_15; lean_object* x_16; -x_15 = lean_unsigned_to_nat(1u); -x_16 = lean_nat_add(x_3, x_15); -lean_dec(x_3); -x_3 = x_16; -goto _start; -} -else -{ -lean_dec(x_3); -return x_14; -} -} -} -} -} -uint8_t l_PersistentArray_anyM___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__52(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; uint8_t x_4; -x_3 = lean_ctor_get(x_2, 0); -x_4 = l_PersistentArray_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__53(x_1, x_3); -if (x_4 == 0) -{ -lean_object* x_5; lean_object* x_6; uint8_t x_7; -x_5 = lean_ctor_get(x_2, 1); -x_6 = lean_unsigned_to_nat(0u); -x_7 = l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__56(x_1, x_5, x_6); -return x_7; -} -else -{ -return x_4; -} -} -} -lean_object* l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__51___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -switch (lean_obj_tag(x_4)) { -case 1: -{ -lean_object* x_6; lean_object* x_7; uint8_t x_8; lean_object* x_9; lean_object* x_10; -lean_dec(x_3); -lean_dec(x_1); -x_6 = lean_ctor_get(x_4, 0); -lean_inc(x_6); -lean_dec(x_4); -x_7 = lean_unsigned_to_nat(0u); -x_8 = l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__2(x_6, x_2, x_7); -lean_dec(x_6); -x_9 = lean_box(x_8); -x_10 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_10, 0, x_9); -lean_ctor_set(x_10, 1, x_5); -return x_10; -} -case 2: -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_11 = lean_ctor_get(x_4, 0); -lean_inc(x_11); -lean_dec(x_4); -x_12 = lean_ctor_get(x_1, 5); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_3); -x_13 = lean_apply_2(x_12, x_3, x_11); -if (lean_obj_tag(x_13) == 0) -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; lean_object* x_19; lean_object* x_20; -x_14 = lean_ctor_get(x_1, 7); -lean_inc(x_14); -lean_dec(x_1); -x_15 = lean_apply_2(x_14, x_3, x_11); -x_16 = lean_ctor_get(x_15, 1); -lean_inc(x_16); -lean_dec(x_15); -x_17 = lean_ctor_get(x_16, 1); -lean_inc(x_17); -lean_dec(x_16); -x_18 = l_PersistentArray_anyM___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__52(x_2, x_17); -lean_dec(x_17); -x_19 = lean_box(x_18); -x_20 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_20, 0, x_19); -lean_ctor_set(x_20, 1, x_5); -return x_20; -} -else -{ -lean_object* x_21; lean_object* x_22; uint8_t x_31; -lean_dec(x_11); -x_21 = lean_ctor_get(x_13, 0); -lean_inc(x_21); -lean_dec(x_13); -x_31 = lean_expr_has_expr_mvar(x_21); -if (x_31 == 0) -{ -uint8_t x_32; -x_32 = lean_expr_has_level_mvar(x_21); -if (x_32 == 0) -{ -uint8_t x_33; -x_33 = lean_expr_has_fvar(x_21); -if (x_33 == 0) -{ -uint8_t x_34; lean_object* x_35; lean_object* x_36; -lean_dec(x_21); -lean_dec(x_3); -lean_dec(x_1); -x_34 = 0; -x_35 = lean_box(x_34); -x_36 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_5); -return x_36; -} -else -{ -lean_object* x_37; -x_37 = lean_box(0); -x_22 = x_37; -goto block_30; -} -} -else -{ -lean_object* x_38; -x_38 = lean_box(0); -x_22 = x_38; -goto block_30; -} -} -else -{ -lean_object* x_39; -x_39 = lean_box(0); -x_22 = x_39; -goto block_30; -} -block_30: -{ -uint8_t x_23; -lean_dec(x_22); -x_23 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_5, x_21); -if (x_23 == 0) -{ -lean_object* x_24; lean_object* x_25; -x_24 = lean_box(0); -lean_inc(x_21); -x_25 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_5, x_21, x_24); -x_4 = x_21; -x_5 = x_25; -goto _start; -} -else -{ -uint8_t x_27; lean_object* x_28; lean_object* x_29; -lean_dec(x_21); -lean_dec(x_3); -lean_dec(x_1); -x_27 = 0; -x_28 = lean_box(x_27); -x_29 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_29, 0, x_28); -lean_ctor_set(x_29, 1, x_5); -return x_29; -} -} -} -} -case 5: -{ -lean_object* x_40; lean_object* x_41; uint8_t x_42; lean_object* x_43; lean_object* x_67; uint8_t x_77; -x_40 = lean_ctor_get(x_4, 0); -lean_inc(x_40); -x_41 = lean_ctor_get(x_4, 1); -lean_inc(x_41); -lean_dec(x_4); -x_77 = lean_expr_has_expr_mvar(x_41); -if (x_77 == 0) -{ -uint8_t x_78; -x_78 = lean_expr_has_level_mvar(x_41); -if (x_78 == 0) -{ -uint8_t x_79; -x_79 = lean_expr_has_fvar(x_41); -if (x_79 == 0) -{ -uint8_t x_80; -lean_dec(x_41); -x_80 = 0; -x_42 = x_80; -x_43 = x_5; -goto block_66; -} -else -{ -lean_object* x_81; -x_81 = lean_box(0); -x_67 = x_81; -goto block_76; -} -} -else -{ -lean_object* x_82; -x_82 = lean_box(0); -x_67 = x_82; -goto block_76; -} -} -else -{ -lean_object* x_83; -x_83 = lean_box(0); -x_67 = x_83; -goto block_76; -} -block_66: -{ -if (x_42 == 0) -{ -uint8_t x_44; -x_44 = l_Lean_Expr_isApp(x_40); -if (x_44 == 0) -{ -lean_object* x_45; uint8_t x_54; -x_54 = lean_expr_has_expr_mvar(x_40); -if (x_54 == 0) -{ -uint8_t x_55; -x_55 = lean_expr_has_level_mvar(x_40); -if (x_55 == 0) -{ -uint8_t x_56; -x_56 = lean_expr_has_fvar(x_40); -if (x_56 == 0) -{ -uint8_t x_57; lean_object* x_58; lean_object* x_59; -lean_dec(x_40); -lean_dec(x_3); -lean_dec(x_1); -x_57 = 0; -x_58 = lean_box(x_57); -x_59 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_59, 0, x_58); -lean_ctor_set(x_59, 1, x_43); -return x_59; -} -else -{ -lean_object* x_60; -x_60 = lean_box(0); -x_45 = x_60; -goto block_53; -} -} -else -{ -lean_object* x_61; -x_61 = lean_box(0); -x_45 = x_61; -goto block_53; -} -} -else -{ -lean_object* x_62; -x_62 = lean_box(0); -x_45 = x_62; -goto block_53; -} -block_53: -{ -uint8_t x_46; -lean_dec(x_45); -x_46 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_43, x_40); -if (x_46 == 0) -{ -lean_object* x_47; lean_object* x_48; -x_47 = lean_box(0); -lean_inc(x_40); -x_48 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_43, x_40, x_47); -x_4 = x_40; -x_5 = x_48; -goto _start; -} -else -{ -uint8_t x_50; lean_object* x_51; lean_object* x_52; -lean_dec(x_40); -lean_dec(x_3); -lean_dec(x_1); -x_50 = 0; -x_51 = lean_box(x_50); -x_52 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_52, 0, x_51); -lean_ctor_set(x_52, 1, x_43); -return x_52; -} -} -} -else -{ -x_4 = x_40; -x_5 = x_43; -goto _start; -} -} -else -{ -lean_object* x_64; lean_object* x_65; -lean_dec(x_40); -lean_dec(x_3); -lean_dec(x_1); -x_64 = lean_box(x_42); -x_65 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_65, 0, x_64); -lean_ctor_set(x_65, 1, x_43); -return x_65; -} -} -block_76: -{ -uint8_t x_68; -lean_dec(x_67); -x_68 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_5, x_41); -if (x_68 == 0) -{ -lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; uint8_t x_74; -x_69 = lean_box(0); -lean_inc(x_41); -x_70 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_5, x_41, x_69); -lean_inc(x_3); -lean_inc(x_1); -x_71 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__51___rarg(x_1, x_2, x_3, x_41, x_70); -x_72 = lean_ctor_get(x_71, 0); -lean_inc(x_72); -x_73 = lean_ctor_get(x_71, 1); -lean_inc(x_73); -lean_dec(x_71); -x_74 = lean_unbox(x_72); -lean_dec(x_72); -x_42 = x_74; -x_43 = x_73; -goto block_66; -} -else -{ -uint8_t x_75; -lean_dec(x_41); -x_75 = 0; -x_42 = x_75; -x_43 = x_5; -goto block_66; -} -} -} -case 6: -{ -lean_object* x_84; lean_object* x_85; uint8_t x_86; lean_object* x_87; lean_object* x_109; uint8_t x_119; -x_84 = lean_ctor_get(x_4, 1); -lean_inc(x_84); -x_85 = lean_ctor_get(x_4, 2); -lean_inc(x_85); -lean_dec(x_4); -x_119 = lean_expr_has_expr_mvar(x_84); -if (x_119 == 0) -{ -uint8_t x_120; -x_120 = lean_expr_has_level_mvar(x_84); -if (x_120 == 0) -{ -uint8_t x_121; -x_121 = lean_expr_has_fvar(x_84); -if (x_121 == 0) -{ -uint8_t x_122; -lean_dec(x_84); -x_122 = 0; -x_86 = x_122; -x_87 = x_5; -goto block_108; -} -else -{ -lean_object* x_123; -x_123 = lean_box(0); -x_109 = x_123; -goto block_118; -} -} -else -{ -lean_object* x_124; -x_124 = lean_box(0); -x_109 = x_124; -goto block_118; -} -} -else -{ -lean_object* x_125; -x_125 = lean_box(0); -x_109 = x_125; -goto block_118; -} -block_108: -{ -if (x_86 == 0) -{ -lean_object* x_88; uint8_t x_97; -x_97 = lean_expr_has_expr_mvar(x_85); -if (x_97 == 0) -{ -uint8_t x_98; -x_98 = lean_expr_has_level_mvar(x_85); -if (x_98 == 0) -{ -uint8_t x_99; -x_99 = lean_expr_has_fvar(x_85); -if (x_99 == 0) -{ -uint8_t x_100; lean_object* x_101; lean_object* x_102; -lean_dec(x_85); -lean_dec(x_3); -lean_dec(x_1); -x_100 = 0; -x_101 = lean_box(x_100); -x_102 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_102, 0, x_101); -lean_ctor_set(x_102, 1, x_87); -return x_102; -} -else -{ -lean_object* x_103; -x_103 = lean_box(0); -x_88 = x_103; -goto block_96; -} -} -else -{ -lean_object* x_104; -x_104 = lean_box(0); -x_88 = x_104; -goto block_96; -} -} -else -{ -lean_object* x_105; -x_105 = lean_box(0); -x_88 = x_105; -goto block_96; -} -block_96: -{ -uint8_t x_89; -lean_dec(x_88); -x_89 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_87, x_85); -if (x_89 == 0) -{ -lean_object* x_90; lean_object* x_91; -x_90 = lean_box(0); -lean_inc(x_85); -x_91 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_87, x_85, x_90); -x_4 = x_85; -x_5 = x_91; -goto _start; -} -else -{ -uint8_t x_93; lean_object* x_94; lean_object* x_95; -lean_dec(x_85); -lean_dec(x_3); -lean_dec(x_1); -x_93 = 0; -x_94 = lean_box(x_93); -x_95 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_95, 0, x_94); -lean_ctor_set(x_95, 1, x_87); -return x_95; -} -} -} -else -{ -lean_object* x_106; lean_object* x_107; -lean_dec(x_85); -lean_dec(x_3); -lean_dec(x_1); -x_106 = lean_box(x_86); -x_107 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_107, 0, x_106); -lean_ctor_set(x_107, 1, x_87); -return x_107; -} -} -block_118: -{ -uint8_t x_110; -lean_dec(x_109); -x_110 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_5, x_84); -if (x_110 == 0) -{ -lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; uint8_t x_116; -x_111 = lean_box(0); -lean_inc(x_84); -x_112 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_5, x_84, x_111); -lean_inc(x_3); -lean_inc(x_1); -x_113 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__51___rarg(x_1, x_2, x_3, x_84, x_112); -x_114 = lean_ctor_get(x_113, 0); -lean_inc(x_114); -x_115 = lean_ctor_get(x_113, 1); -lean_inc(x_115); -lean_dec(x_113); -x_116 = lean_unbox(x_114); -lean_dec(x_114); -x_86 = x_116; -x_87 = x_115; -goto block_108; -} -else -{ -uint8_t x_117; -lean_dec(x_84); -x_117 = 0; -x_86 = x_117; -x_87 = x_5; -goto block_108; -} -} -} -case 7: -{ -lean_object* x_126; lean_object* x_127; uint8_t x_128; lean_object* x_129; lean_object* x_151; uint8_t x_161; -x_126 = lean_ctor_get(x_4, 1); -lean_inc(x_126); -x_127 = lean_ctor_get(x_4, 2); -lean_inc(x_127); -lean_dec(x_4); -x_161 = lean_expr_has_expr_mvar(x_126); -if (x_161 == 0) -{ -uint8_t x_162; -x_162 = lean_expr_has_level_mvar(x_126); -if (x_162 == 0) -{ -uint8_t x_163; -x_163 = lean_expr_has_fvar(x_126); -if (x_163 == 0) -{ -uint8_t x_164; -lean_dec(x_126); -x_164 = 0; -x_128 = x_164; -x_129 = x_5; -goto block_150; -} -else -{ -lean_object* x_165; -x_165 = lean_box(0); -x_151 = x_165; -goto block_160; -} -} -else -{ -lean_object* x_166; -x_166 = lean_box(0); -x_151 = x_166; -goto block_160; -} -} -else -{ -lean_object* x_167; -x_167 = lean_box(0); -x_151 = x_167; -goto block_160; -} -block_150: -{ -if (x_128 == 0) -{ -lean_object* x_130; uint8_t x_139; -x_139 = lean_expr_has_expr_mvar(x_127); -if (x_139 == 0) -{ -uint8_t x_140; -x_140 = lean_expr_has_level_mvar(x_127); -if (x_140 == 0) -{ -uint8_t x_141; -x_141 = lean_expr_has_fvar(x_127); -if (x_141 == 0) -{ -uint8_t x_142; lean_object* x_143; lean_object* x_144; -lean_dec(x_127); -lean_dec(x_3); -lean_dec(x_1); -x_142 = 0; -x_143 = lean_box(x_142); -x_144 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_144, 0, x_143); -lean_ctor_set(x_144, 1, x_129); -return x_144; -} -else -{ -lean_object* x_145; -x_145 = lean_box(0); -x_130 = x_145; -goto block_138; -} -} -else -{ -lean_object* x_146; -x_146 = lean_box(0); -x_130 = x_146; -goto block_138; -} -} -else -{ -lean_object* x_147; -x_147 = lean_box(0); -x_130 = x_147; -goto block_138; -} -block_138: -{ -uint8_t x_131; -lean_dec(x_130); -x_131 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_129, x_127); -if (x_131 == 0) -{ -lean_object* x_132; lean_object* x_133; -x_132 = lean_box(0); -lean_inc(x_127); -x_133 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_129, x_127, x_132); -x_4 = x_127; -x_5 = x_133; -goto _start; -} -else -{ -uint8_t x_135; lean_object* x_136; lean_object* x_137; -lean_dec(x_127); -lean_dec(x_3); -lean_dec(x_1); -x_135 = 0; -x_136 = lean_box(x_135); -x_137 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_137, 0, x_136); -lean_ctor_set(x_137, 1, x_129); -return x_137; -} -} -} -else -{ -lean_object* x_148; lean_object* x_149; -lean_dec(x_127); -lean_dec(x_3); -lean_dec(x_1); -x_148 = lean_box(x_128); -x_149 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_149, 0, x_148); -lean_ctor_set(x_149, 1, x_129); -return x_149; -} -} -block_160: -{ -uint8_t x_152; -lean_dec(x_151); -x_152 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_5, x_126); -if (x_152 == 0) -{ -lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; uint8_t x_158; -x_153 = lean_box(0); -lean_inc(x_126); -x_154 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_5, x_126, x_153); -lean_inc(x_3); -lean_inc(x_1); -x_155 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__51___rarg(x_1, x_2, x_3, x_126, x_154); -x_156 = lean_ctor_get(x_155, 0); -lean_inc(x_156); -x_157 = lean_ctor_get(x_155, 1); -lean_inc(x_157); -lean_dec(x_155); -x_158 = lean_unbox(x_156); -lean_dec(x_156); -x_128 = x_158; -x_129 = x_157; -goto block_150; -} -else -{ -uint8_t x_159; -lean_dec(x_126); -x_159 = 0; -x_128 = x_159; -x_129 = x_5; -goto block_150; -} -} -} -case 8: -{ -lean_object* x_168; lean_object* x_169; lean_object* x_170; uint8_t x_171; lean_object* x_172; uint8_t x_194; lean_object* x_195; lean_object* x_214; uint8_t x_224; -x_168 = lean_ctor_get(x_4, 1); -lean_inc(x_168); -x_169 = lean_ctor_get(x_4, 2); -lean_inc(x_169); -x_170 = lean_ctor_get(x_4, 3); -lean_inc(x_170); -lean_dec(x_4); -x_224 = lean_expr_has_expr_mvar(x_168); -if (x_224 == 0) -{ -uint8_t x_225; -x_225 = lean_expr_has_level_mvar(x_168); -if (x_225 == 0) -{ -uint8_t x_226; -x_226 = lean_expr_has_fvar(x_168); -if (x_226 == 0) -{ -uint8_t x_227; -lean_dec(x_168); -x_227 = 0; -x_194 = x_227; -x_195 = x_5; -goto block_213; -} -else -{ -lean_object* x_228; -x_228 = lean_box(0); -x_214 = x_228; -goto block_223; -} -} -else -{ -lean_object* x_229; -x_229 = lean_box(0); -x_214 = x_229; -goto block_223; -} -} -else -{ -lean_object* x_230; -x_230 = lean_box(0); -x_214 = x_230; -goto block_223; -} -block_193: -{ -if (x_171 == 0) -{ -lean_object* x_173; uint8_t x_182; -x_182 = lean_expr_has_expr_mvar(x_170); -if (x_182 == 0) -{ -uint8_t x_183; -x_183 = lean_expr_has_level_mvar(x_170); -if (x_183 == 0) -{ -uint8_t x_184; -x_184 = lean_expr_has_fvar(x_170); -if (x_184 == 0) -{ -uint8_t x_185; lean_object* x_186; lean_object* x_187; -lean_dec(x_170); -lean_dec(x_3); -lean_dec(x_1); -x_185 = 0; -x_186 = lean_box(x_185); -x_187 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_187, 0, x_186); -lean_ctor_set(x_187, 1, x_172); -return x_187; -} -else -{ -lean_object* x_188; -x_188 = lean_box(0); -x_173 = x_188; -goto block_181; -} -} -else -{ -lean_object* x_189; -x_189 = lean_box(0); -x_173 = x_189; -goto block_181; -} -} -else -{ -lean_object* x_190; -x_190 = lean_box(0); -x_173 = x_190; -goto block_181; -} -block_181: -{ -uint8_t x_174; -lean_dec(x_173); -x_174 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_172, x_170); -if (x_174 == 0) -{ -lean_object* x_175; lean_object* x_176; -x_175 = lean_box(0); -lean_inc(x_170); -x_176 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_172, x_170, x_175); -x_4 = x_170; -x_5 = x_176; -goto _start; -} -else -{ -uint8_t x_178; lean_object* x_179; lean_object* x_180; -lean_dec(x_170); -lean_dec(x_3); -lean_dec(x_1); -x_178 = 0; -x_179 = lean_box(x_178); -x_180 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_180, 0, x_179); -lean_ctor_set(x_180, 1, x_172); -return x_180; -} -} -} -else -{ -lean_object* x_191; lean_object* x_192; -lean_dec(x_170); -lean_dec(x_3); -lean_dec(x_1); -x_191 = lean_box(x_171); -x_192 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_192, 0, x_191); -lean_ctor_set(x_192, 1, x_172); -return x_192; -} -} -block_213: -{ -lean_object* x_196; -if (x_194 == 0) -{ -uint8_t x_206; -x_206 = lean_expr_has_expr_mvar(x_169); -if (x_206 == 0) -{ -uint8_t x_207; -x_207 = lean_expr_has_level_mvar(x_169); -if (x_207 == 0) -{ -uint8_t x_208; -x_208 = lean_expr_has_fvar(x_169); -if (x_208 == 0) -{ -uint8_t x_209; -lean_dec(x_169); -x_209 = 0; -x_171 = x_209; -x_172 = x_195; -goto block_193; -} -else -{ -lean_object* x_210; -x_210 = lean_box(0); -x_196 = x_210; -goto block_205; -} -} -else -{ -lean_object* x_211; -x_211 = lean_box(0); -x_196 = x_211; -goto block_205; -} -} -else -{ -lean_object* x_212; -x_212 = lean_box(0); -x_196 = x_212; -goto block_205; -} -} -else -{ -lean_dec(x_169); -x_171 = x_194; -x_172 = x_195; -goto block_193; -} -block_205: -{ -uint8_t x_197; -lean_dec(x_196); -x_197 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_195, x_169); -if (x_197 == 0) -{ -lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; uint8_t x_203; -x_198 = lean_box(0); -lean_inc(x_169); -x_199 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_195, x_169, x_198); -lean_inc(x_3); -lean_inc(x_1); -x_200 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__51___rarg(x_1, x_2, x_3, x_169, x_199); -x_201 = lean_ctor_get(x_200, 0); -lean_inc(x_201); -x_202 = lean_ctor_get(x_200, 1); -lean_inc(x_202); -lean_dec(x_200); -x_203 = lean_unbox(x_201); -lean_dec(x_201); -x_171 = x_203; -x_172 = x_202; -goto block_193; -} -else -{ -uint8_t x_204; -lean_dec(x_169); -x_204 = 0; -x_171 = x_204; -x_172 = x_195; -goto block_193; -} -} -} -block_223: -{ -uint8_t x_215; -lean_dec(x_214); -x_215 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_5, x_168); -if (x_215 == 0) -{ -lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; uint8_t x_221; -x_216 = lean_box(0); -lean_inc(x_168); -x_217 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_5, x_168, x_216); -lean_inc(x_3); -lean_inc(x_1); -x_218 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__51___rarg(x_1, x_2, x_3, x_168, x_217); -x_219 = lean_ctor_get(x_218, 0); -lean_inc(x_219); -x_220 = lean_ctor_get(x_218, 1); -lean_inc(x_220); -lean_dec(x_218); -x_221 = lean_unbox(x_219); -lean_dec(x_219); -x_194 = x_221; -x_195 = x_220; -goto block_213; -} -else -{ -uint8_t x_222; -lean_dec(x_168); -x_222 = 0; -x_194 = x_222; -x_195 = x_5; -goto block_213; -} -} -} -case 10: -{ -lean_object* x_231; lean_object* x_232; uint8_t x_241; -x_231 = lean_ctor_get(x_4, 1); -lean_inc(x_231); -lean_dec(x_4); -x_241 = lean_expr_has_expr_mvar(x_231); -if (x_241 == 0) -{ -uint8_t x_242; -x_242 = lean_expr_has_level_mvar(x_231); -if (x_242 == 0) -{ -uint8_t x_243; -x_243 = lean_expr_has_fvar(x_231); -if (x_243 == 0) -{ -uint8_t x_244; lean_object* x_245; lean_object* x_246; -lean_dec(x_231); -lean_dec(x_3); -lean_dec(x_1); -x_244 = 0; -x_245 = lean_box(x_244); -x_246 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_246, 0, x_245); -lean_ctor_set(x_246, 1, x_5); -return x_246; -} -else -{ -lean_object* x_247; -x_247 = lean_box(0); -x_232 = x_247; -goto block_240; -} -} -else -{ -lean_object* x_248; -x_248 = lean_box(0); -x_232 = x_248; -goto block_240; -} -} -else -{ -lean_object* x_249; -x_249 = lean_box(0); -x_232 = x_249; -goto block_240; -} -block_240: -{ -uint8_t x_233; -lean_dec(x_232); -x_233 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_5, x_231); -if (x_233 == 0) -{ -lean_object* x_234; lean_object* x_235; -x_234 = lean_box(0); -lean_inc(x_231); -x_235 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_5, x_231, x_234); -x_4 = x_231; -x_5 = x_235; -goto _start; -} -else -{ -uint8_t x_237; lean_object* x_238; lean_object* x_239; -lean_dec(x_231); -lean_dec(x_3); -lean_dec(x_1); -x_237 = 0; -x_238 = lean_box(x_237); -x_239 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_239, 0, x_238); -lean_ctor_set(x_239, 1, x_5); -return x_239; -} -} -} -case 11: -{ -lean_object* x_250; lean_object* x_251; uint8_t x_260; -x_250 = lean_ctor_get(x_4, 2); -lean_inc(x_250); -lean_dec(x_4); -x_260 = lean_expr_has_expr_mvar(x_250); -if (x_260 == 0) -{ -uint8_t x_261; -x_261 = lean_expr_has_level_mvar(x_250); -if (x_261 == 0) -{ -uint8_t x_262; -x_262 = lean_expr_has_fvar(x_250); -if (x_262 == 0) -{ -uint8_t x_263; lean_object* x_264; lean_object* x_265; -lean_dec(x_250); -lean_dec(x_3); -lean_dec(x_1); -x_263 = 0; -x_264 = lean_box(x_263); -x_265 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_265, 0, x_264); -lean_ctor_set(x_265, 1, x_5); -return x_265; -} -else -{ -lean_object* x_266; -x_266 = lean_box(0); -x_251 = x_266; -goto block_259; -} -} -else -{ -lean_object* x_267; -x_267 = lean_box(0); -x_251 = x_267; -goto block_259; -} -} -else -{ -lean_object* x_268; -x_268 = lean_box(0); -x_251 = x_268; -goto block_259; -} -block_259: -{ -uint8_t x_252; -lean_dec(x_251); -x_252 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_5, x_250); -if (x_252 == 0) -{ -lean_object* x_253; lean_object* x_254; -x_253 = lean_box(0); -lean_inc(x_250); -x_254 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_5, x_250, x_253); -x_4 = x_250; -x_5 = x_254; -goto _start; -} -else -{ -uint8_t x_256; lean_object* x_257; lean_object* x_258; -lean_dec(x_250); -lean_dec(x_3); -lean_dec(x_1); -x_256 = 0; -x_257 = lean_box(x_256); -x_258 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_258, 0, x_257); -lean_ctor_set(x_258, 1, x_5); -return x_258; -} -} -} -default: -{ -uint8_t x_269; lean_object* x_270; lean_object* x_271; -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_269 = 0; -x_270 = lean_box(x_269); -x_271 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_271, 0, x_270); -lean_ctor_set(x_271, 1, x_5); -return x_271; -} -} -} -} -lean_object* l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__51(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__51___rarg___boxed), 5, 0); -return x_2; -} -} -lean_object* l_Array_iterateMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__61___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_object* x_8; -lean_dec(x_4); -lean_dec(x_1); -x_8 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_8, 0, x_5); -return x_8; -} -else -{ -lean_object* x_9; lean_object* x_10; -x_9 = lean_array_fget(x_3, x_4); -lean_inc(x_1); -x_10 = l_PersistentArray_foldlMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__60___rarg(x_1, x_9, x_5); -lean_dec(x_9); -if (lean_obj_tag(x_10) == 0) -{ -uint8_t x_11; -lean_dec(x_4); -lean_dec(x_1); -x_11 = !lean_is_exclusive(x_10); -if (x_11 == 0) -{ -return x_10; -} -else -{ -lean_object* x_12; lean_object* x_13; -x_12 = lean_ctor_get(x_10, 0); -lean_inc(x_12); -lean_dec(x_10); -x_13 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_13, 0, x_12); -return x_13; -} -} -else -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_14 = lean_ctor_get(x_10, 0); -lean_inc(x_14); -lean_dec(x_10); -x_15 = lean_unsigned_to_nat(1u); -x_16 = lean_nat_add(x_4, x_15); -lean_dec(x_4); -x_4 = x_16; -x_5 = x_14; -goto _start; -} -} -} -} -lean_object* l_Array_iterateMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__61(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Array_iterateMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__61___rarg___boxed), 5, 0); -return x_2; -} -} -lean_object* l_Array_iterateMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__62___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_object* x_8; -lean_dec(x_4); -lean_dec(x_1); -x_8 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_8, 0, x_5); -return x_8; -} -else -{ -lean_object* x_9; lean_object* x_10; -x_9 = lean_array_fget(x_3, x_4); -lean_inc(x_1); -x_10 = lean_apply_2(x_1, x_5, x_9); -if (lean_obj_tag(x_10) == 0) -{ -uint8_t x_11; -lean_dec(x_4); -lean_dec(x_1); -x_11 = !lean_is_exclusive(x_10); -if (x_11 == 0) -{ -return x_10; -} -else -{ -lean_object* x_12; lean_object* x_13; -x_12 = lean_ctor_get(x_10, 0); -lean_inc(x_12); -lean_dec(x_10); -x_13 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_13, 0, x_12); -return x_13; -} -} -else -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_14 = lean_ctor_get(x_10, 0); -lean_inc(x_14); -lean_dec(x_10); -x_15 = lean_unsigned_to_nat(1u); -x_16 = lean_nat_add(x_4, x_15); -lean_dec(x_4); -x_4 = x_16; -x_5 = x_14; -goto _start; -} -} -} -} -lean_object* l_Array_iterateMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__62(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Array_iterateMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__62___rarg___boxed), 5, 0); -return x_2; -} -} -lean_object* l_PersistentArray_foldlMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__60___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_iterateMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__61___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_iterateMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__62___rarg(x_1, x_7, x_7, x_8, x_3); -return x_9; -} -} -} -lean_object* l_PersistentArray_foldlMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__60(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_PersistentArray_foldlMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__60___rarg___boxed), 3, 0); -return x_2; -} -} -lean_object* l_Array_iterateMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__63___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_object* x_8; -lean_dec(x_4); -lean_dec(x_1); -x_8 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_8, 0, x_5); -return x_8; -} -else -{ -lean_object* x_9; lean_object* x_10; -x_9 = lean_array_fget(x_3, x_4); -lean_inc(x_1); -x_10 = l_PersistentArray_foldlMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__60___rarg(x_1, x_9, x_5); -lean_dec(x_9); -if (lean_obj_tag(x_10) == 0) -{ -uint8_t x_11; -lean_dec(x_4); -lean_dec(x_1); -x_11 = !lean_is_exclusive(x_10); -if (x_11 == 0) -{ -return x_10; -} -else -{ -lean_object* x_12; lean_object* x_13; -x_12 = lean_ctor_get(x_10, 0); -lean_inc(x_12); -lean_dec(x_10); -x_13 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_13, 0, x_12); -return x_13; -} -} -else -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_14 = lean_ctor_get(x_10, 0); -lean_inc(x_14); -lean_dec(x_10); -x_15 = lean_unsigned_to_nat(1u); -x_16 = lean_nat_add(x_4, x_15); -lean_dec(x_4); -x_4 = x_16; -x_5 = x_14; -goto _start; -} -} -} -} -lean_object* l_Array_iterateMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__63(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Array_iterateMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__63___rarg___boxed), 5, 0); -return x_2; -} -} -lean_object* l_Array_iterateMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__64___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_object* x_8; -lean_dec(x_4); -lean_dec(x_1); -x_8 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_8, 0, x_5); -return x_8; -} -else -{ -lean_object* x_9; lean_object* x_10; -x_9 = lean_array_fget(x_3, x_4); -lean_inc(x_1); -x_10 = lean_apply_2(x_1, x_5, x_9); -if (lean_obj_tag(x_10) == 0) -{ -uint8_t x_11; -lean_dec(x_4); -lean_dec(x_1); -x_11 = !lean_is_exclusive(x_10); -if (x_11 == 0) -{ -return x_10; -} -else -{ -lean_object* x_12; lean_object* x_13; -x_12 = lean_ctor_get(x_10, 0); -lean_inc(x_12); -lean_dec(x_10); -x_13 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_13, 0, x_12); -return x_13; -} -} -else -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_14 = lean_ctor_get(x_10, 0); -lean_inc(x_14); -lean_dec(x_10); -x_15 = lean_unsigned_to_nat(1u); -x_16 = lean_nat_add(x_4, x_15); -lean_dec(x_4); -x_4 = x_16; -x_5 = x_14; -goto _start; -} -} -} -} -lean_object* l_Array_iterateMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__64(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Array_iterateMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__64___rarg___boxed), 5, 0); -return x_2; -} -} -lean_object* l_PersistentArray_foldlFromMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__59___rarg(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5) { -_start: -{ -if (lean_obj_tag(x_2) == 0) -{ -lean_object* x_6; size_t x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; size_t x_11; size_t x_12; size_t x_13; size_t x_14; size_t x_15; size_t x_16; lean_object* x_17; -x_6 = lean_ctor_get(x_2, 0); -x_7 = x_3 >> x_4; -x_8 = lean_usize_to_nat(x_7); -x_9 = l_PersistentArray_getAux___main___rarg___closed__1; -x_10 = lean_array_get(x_9, x_6, x_8); -x_11 = 1; -x_12 = x_11 << x_4; -x_13 = x_12 - x_11; -x_14 = x_3 & x_13; -x_15 = 5; -x_16 = x_4 - x_15; -lean_inc(x_1); -x_17 = l_PersistentArray_foldlFromMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__59___rarg(x_1, x_10, x_14, x_16, x_5); -lean_dec(x_10); -if (lean_obj_tag(x_17) == 0) -{ -uint8_t x_18; -lean_dec(x_8); -lean_dec(x_1); -x_18 = !lean_is_exclusive(x_17); -if (x_18 == 0) -{ -return x_17; -} -else -{ -lean_object* x_19; lean_object* x_20; -x_19 = lean_ctor_get(x_17, 0); -lean_inc(x_19); -lean_dec(x_17); -x_20 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_20, 0, x_19); -return x_20; -} -} -else -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_21 = lean_ctor_get(x_17, 0); -lean_inc(x_21); -lean_dec(x_17); -x_22 = lean_unsigned_to_nat(1u); -x_23 = lean_nat_add(x_8, x_22); -lean_dec(x_8); -x_24 = l_Array_iterateMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__63___rarg(x_1, x_6, x_6, x_23, x_21); -return x_24; -} -} -else -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_25 = lean_ctor_get(x_2, 0); -x_26 = lean_usize_to_nat(x_3); -x_27 = l_Array_iterateMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__64___rarg(x_1, x_25, x_25, x_26, x_5); -return x_27; -} -} -} -lean_object* l_PersistentArray_foldlFromMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__59(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_PersistentArray_foldlFromMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__59___rarg___boxed), 5, 0); -return x_2; -} -} -lean_object* l_Array_iterateMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__65___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_object* x_8; -lean_dec(x_4); -lean_dec(x_2); -x_8 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_8, 0, x_5); -return x_8; -} -else -{ -lean_object* x_9; lean_object* x_10; -x_9 = lean_array_fget(x_3, x_4); -lean_inc(x_2); -x_10 = lean_apply_2(x_2, x_5, x_9); -if (lean_obj_tag(x_10) == 0) -{ -uint8_t x_11; -lean_dec(x_4); -lean_dec(x_2); -x_11 = !lean_is_exclusive(x_10); -if (x_11 == 0) -{ -return x_10; -} -else -{ -lean_object* x_12; lean_object* x_13; -x_12 = lean_ctor_get(x_10, 0); -lean_inc(x_12); -lean_dec(x_10); -x_13 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_13, 0, x_12); -return x_13; -} -} -else -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_14 = lean_ctor_get(x_10, 0); -lean_inc(x_14); -lean_dec(x_10); -x_15 = lean_unsigned_to_nat(1u); -x_16 = lean_nat_add(x_4, x_15); -lean_dec(x_4); -x_4 = x_16; -x_5 = x_14; -goto _start; -} -} -} -} -lean_object* l_Array_iterateMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__65(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Array_iterateMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__65___rarg___boxed), 5, 0); -return x_2; -} -} -lean_object* l_Array_iterateMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__66___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_object* x_8; -lean_dec(x_4); -lean_dec(x_2); -x_8 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_8, 0, x_5); -return x_8; -} -else -{ -lean_object* x_9; lean_object* x_10; -x_9 = lean_array_fget(x_3, x_4); -lean_inc(x_2); -x_10 = lean_apply_2(x_2, x_5, x_9); -if (lean_obj_tag(x_10) == 0) -{ -uint8_t x_11; -lean_dec(x_4); -lean_dec(x_2); -x_11 = !lean_is_exclusive(x_10); -if (x_11 == 0) -{ -return x_10; -} -else -{ -lean_object* x_12; lean_object* x_13; -x_12 = lean_ctor_get(x_10, 0); -lean_inc(x_12); -lean_dec(x_10); -x_13 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_13, 0, x_12); -return x_13; -} -} -else -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_14 = lean_ctor_get(x_10, 0); -lean_inc(x_14); -lean_dec(x_10); -x_15 = lean_unsigned_to_nat(1u); -x_16 = lean_nat_add(x_4, x_15); -lean_dec(x_4); -x_4 = x_16; -x_5 = x_14; -goto _start; -} -} -} -} -lean_object* l_Array_iterateMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__66(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Array_iterateMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__66___rarg___boxed), 5, 0); -return x_2; -} -} -lean_object* l_PersistentArray_foldlFromM___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__58___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; uint8_t x_6; -x_5 = lean_ctor_get(x_1, 3); -x_6 = lean_nat_dec_le(x_5, x_4); -if (x_6 == 0) -{ -lean_object* x_7; size_t x_8; size_t x_9; lean_object* x_10; -x_7 = lean_ctor_get(x_1, 0); -x_8 = lean_usize_of_nat(x_4); -x_9 = lean_ctor_get_usize(x_1, 4); -lean_inc(x_2); -x_10 = l_PersistentArray_foldlFromMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__59___rarg(x_2, x_7, x_8, x_9, x_3); -if (lean_obj_tag(x_10) == 0) -{ -uint8_t x_11; -lean_dec(x_2); -x_11 = !lean_is_exclusive(x_10); -if (x_11 == 0) -{ -return x_10; -} -else -{ -lean_object* x_12; lean_object* x_13; -x_12 = lean_ctor_get(x_10, 0); -lean_inc(x_12); -lean_dec(x_10); -x_13 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_13, 0, x_12); -return x_13; -} -} -else -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_14 = lean_ctor_get(x_10, 0); -lean_inc(x_14); -lean_dec(x_10); -x_15 = lean_ctor_get(x_1, 1); -x_16 = lean_unsigned_to_nat(0u); -x_17 = l_Array_iterateMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__65___rarg(x_1, x_2, x_15, x_16, x_14); -return x_17; -} -} -else -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_18 = lean_ctor_get(x_1, 1); -x_19 = lean_nat_sub(x_4, x_5); -x_20 = l_Array_iterateMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__66___rarg(x_1, x_2, x_18, x_19, x_3); -return x_20; -} -} -} -lean_object* l_PersistentArray_foldlFromM___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__58(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_PersistentArray_foldlFromM___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__58___rarg___boxed), 4, 0); -return x_2; -} -} -lean_object* l_Lean_LocalContext_foldlFromM___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__57___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -if (lean_obj_tag(x_6) == 0) -{ -lean_object* x_7; -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_7 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_7, 0, x_5); -return x_7; -} -else -{ -lean_object* x_8; uint8_t x_9; lean_object* x_19; uint8_t x_20; -x_8 = lean_ctor_get(x_6, 0); -lean_inc(x_8); -lean_dec(x_6); -x_19 = lean_unsigned_to_nat(0u); -x_20 = l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__1(x_8, x_2, x_19); -if (x_20 == 0) -{ -if (lean_obj_tag(x_8) == 0) -{ -lean_object* x_21; uint8_t x_22; -x_21 = lean_ctor_get(x_8, 3); -lean_inc(x_21); -x_22 = lean_expr_has_fvar(x_21); -if (x_22 == 0) -{ -uint8_t x_23; -x_23 = lean_expr_has_expr_mvar(x_21); -if (x_23 == 0) -{ -uint8_t x_24; -x_24 = lean_expr_has_level_mvar(x_21); -if (x_24 == 0) -{ -uint8_t x_25; -lean_dec(x_21); -lean_dec(x_4); -lean_dec(x_3); -x_25 = 0; -x_9 = x_25; -goto block_18; -} -else -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; -x_26 = l_HashMap_Inhabited___closed__1; -x_27 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__3___rarg(x_3, x_5, x_4, x_21, x_26); -x_28 = lean_ctor_get(x_27, 0); -lean_inc(x_28); -lean_dec(x_27); -x_29 = lean_unbox(x_28); -lean_dec(x_28); -x_9 = x_29; -goto block_18; -} -} -else -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; -x_30 = l_HashMap_Inhabited___closed__1; -x_31 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__9___rarg(x_3, x_5, x_4, x_21, x_30); -x_32 = lean_ctor_get(x_31, 0); -lean_inc(x_32); -lean_dec(x_31); -x_33 = lean_unbox(x_32); -lean_dec(x_32); -x_9 = x_33; -goto block_18; -} -} -else -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; -x_34 = l_HashMap_Inhabited___closed__1; -x_35 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__15___rarg(x_3, x_5, x_4, x_21, x_34); -x_36 = lean_ctor_get(x_35, 0); -lean_inc(x_36); -lean_dec(x_35); -x_37 = lean_unbox(x_36); -lean_dec(x_36); -x_9 = x_37; -goto block_18; -} -} -else -{ -lean_object* x_38; lean_object* x_39; uint8_t x_40; lean_object* x_41; uint8_t x_56; -x_38 = lean_ctor_get(x_8, 3); -lean_inc(x_38); -x_39 = lean_ctor_get(x_8, 4); -lean_inc(x_39); -x_56 = lean_expr_has_fvar(x_38); -if (x_56 == 0) -{ -uint8_t x_57; -x_57 = lean_expr_has_expr_mvar(x_38); -if (x_57 == 0) -{ -uint8_t x_58; -x_58 = lean_expr_has_level_mvar(x_38); -if (x_58 == 0) -{ -uint8_t x_59; lean_object* x_60; -lean_dec(x_38); -x_59 = 0; -x_60 = l_HashMap_Inhabited___closed__1; -x_40 = x_59; -x_41 = x_60; -goto block_55; -} -else -{ -lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; uint8_t x_65; -x_61 = l_HashMap_Inhabited___closed__1; -lean_inc(x_4); -lean_inc(x_3); -x_62 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__39___rarg(x_3, x_5, x_4, x_38, x_61); -x_63 = lean_ctor_get(x_62, 0); -lean_inc(x_63); -x_64 = lean_ctor_get(x_62, 1); -lean_inc(x_64); -lean_dec(x_62); -x_65 = lean_unbox(x_63); -lean_dec(x_63); -x_40 = x_65; -x_41 = x_64; -goto block_55; -} -} -else -{ -lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; uint8_t x_70; -x_66 = l_HashMap_Inhabited___closed__1; -lean_inc(x_4); -lean_inc(x_3); -x_67 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__45___rarg(x_3, x_5, x_4, x_38, x_66); -x_68 = lean_ctor_get(x_67, 0); -lean_inc(x_68); -x_69 = lean_ctor_get(x_67, 1); -lean_inc(x_69); -lean_dec(x_67); -x_70 = lean_unbox(x_68); -lean_dec(x_68); -x_40 = x_70; -x_41 = x_69; -goto block_55; -} -} -else -{ -lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; uint8_t x_75; -x_71 = l_HashMap_Inhabited___closed__1; -lean_inc(x_4); -lean_inc(x_3); -x_72 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__51___rarg(x_3, x_5, x_4, x_38, x_71); -x_73 = lean_ctor_get(x_72, 0); -lean_inc(x_73); -x_74 = lean_ctor_get(x_72, 1); -lean_inc(x_74); -lean_dec(x_72); -x_75 = lean_unbox(x_73); -lean_dec(x_73); -x_40 = x_75; -x_41 = x_74; -goto block_55; -} -block_55: -{ -if (x_40 == 0) -{ -uint8_t x_42; -x_42 = lean_expr_has_fvar(x_39); -if (x_42 == 0) -{ -uint8_t x_43; -x_43 = lean_expr_has_expr_mvar(x_39); -if (x_43 == 0) -{ -uint8_t x_44; -x_44 = lean_expr_has_level_mvar(x_39); -if (x_44 == 0) -{ -uint8_t x_45; -lean_dec(x_41); -lean_dec(x_39); -lean_dec(x_4); -lean_dec(x_3); -x_45 = 0; -x_9 = x_45; -goto block_18; -} -else -{ -lean_object* x_46; lean_object* x_47; uint8_t x_48; -x_46 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__21___rarg(x_3, x_5, x_4, x_39, x_41); -x_47 = lean_ctor_get(x_46, 0); -lean_inc(x_47); -lean_dec(x_46); -x_48 = lean_unbox(x_47); -lean_dec(x_47); -x_9 = x_48; -goto block_18; -} -} -else -{ -lean_object* x_49; lean_object* x_50; uint8_t x_51; -x_49 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__27___rarg(x_3, x_5, x_4, x_39, x_41); -x_50 = lean_ctor_get(x_49, 0); -lean_inc(x_50); -lean_dec(x_49); -x_51 = lean_unbox(x_50); -lean_dec(x_50); -x_9 = x_51; -goto block_18; -} -} -else -{ -lean_object* x_52; lean_object* x_53; uint8_t x_54; -x_52 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__33___rarg(x_3, x_5, x_4, x_39, x_41); -x_53 = lean_ctor_get(x_52, 0); -lean_inc(x_53); -lean_dec(x_52); -x_54 = lean_unbox(x_53); -lean_dec(x_53); -x_9 = x_54; -goto block_18; -} -} -else -{ -lean_dec(x_41); -lean_dec(x_39); -lean_dec(x_4); -lean_dec(x_3); -x_9 = x_40; -goto block_18; -} -} -} -} -else -{ -lean_object* x_76; lean_object* x_77; lean_object* x_78; -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_76 = l_Lean_LocalDecl_toExpr(x_8); -lean_dec(x_8); -x_77 = lean_array_push(x_5, x_76); -x_78 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_78, 0, x_77); -return x_78; -} -block_18: -{ -if (x_9 == 0) -{ -lean_object* x_10; -lean_dec(x_8); -lean_dec(x_2); -lean_dec(x_1); -x_10 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_10, 0, x_5); -return x_10; -} -else -{ -uint8_t x_11; uint8_t x_12; -x_11 = l_Lean_LocalDecl_binderInfo(x_8); -x_12 = l_Lean_BinderInfo_isAuxDecl(x_11); -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; -lean_dec(x_2); -lean_dec(x_1); -x_13 = l_Lean_LocalDecl_toExpr(x_8); -lean_dec(x_8); -x_14 = lean_array_push(x_5, x_13); -x_15 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_15, 0, x_14); -return x_15; -} -else -{ -lean_object* x_16; lean_object* x_17; -lean_dec(x_5); -x_16 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_16, 0, x_1); -lean_ctor_set(x_16, 1, x_2); -lean_ctor_set(x_16, 2, x_8); -x_17 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_17, 0, x_16); -return x_17; -} -} -} -} -} -} -lean_object* l_Lean_LocalContext_foldlFromM___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__57___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; -x_8 = lean_ctor_get(x_5, 1); -x_9 = lean_alloc_closure((void*)(l_Lean_LocalContext_foldlFromM___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__57___rarg___lambda__1), 6, 4); -lean_closure_set(x_9, 0, x_3); -lean_closure_set(x_9, 1, x_4); -lean_closure_set(x_9, 2, x_1); -lean_closure_set(x_9, 3, x_2); -x_10 = l_Lean_LocalDecl_index(x_7); -x_11 = l_PersistentArray_foldlFromM___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__58___rarg(x_8, x_9, x_6, x_10); -lean_dec(x_10); -return x_11; -} -} -lean_object* l_Lean_LocalContext_foldlFromM___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__57(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_LocalContext_foldlFromM___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__57___rarg___boxed), 7, 0); -return x_2; -} -} -lean_object* l_Lean_AbstractMetavarContext_MkBinding_collectDeps___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; uint8_t x_7; -x_5 = lean_array_get_size(x_4); -x_6 = lean_unsigned_to_nat(0u); -x_7 = lean_nat_dec_eq(x_5, x_6); -if (x_7 == 0) -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; -lean_inc(x_3); -x_8 = l_Lean_AbstractMetavarContext_MkBinding_getLocalDeclWithSmallestIdx(x_3, x_4); -x_9 = lean_mk_empty_array_with_capacity(x_5); -lean_dec(x_5); -lean_inc(x_3); -x_10 = l_Lean_LocalContext_foldlFromM___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__57___rarg(x_1, x_2, x_3, x_4, x_3, x_9, x_8); -lean_dec(x_8); -lean_dec(x_3); -return x_10; -} -else -{ -lean_object* x_11; -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_11 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_11, 0, x_4); -return x_11; -} -} -} -lean_object* l_Lean_AbstractMetavarContext_MkBinding_collectDeps(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_AbstractMetavarContext_MkBinding_collectDeps___rarg), 4, 0); -return x_2; -} -} -lean_object* l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -uint8_t x_4; lean_object* x_5; -x_4 = l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__1(x_1, x_2, x_3); -lean_dec(x_2); -lean_dec(x_1); -x_5 = lean_box(x_4); -return x_5; -} -} -lean_object* l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -uint8_t x_4; lean_object* x_5; -x_4 = l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__2(x_1, x_2, x_3); -lean_dec(x_2); -lean_dec(x_1); -x_5 = lean_box(x_4); -return x_5; -} -} -lean_object* l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__6___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_AbstractMetavarContext_MkBinding_collectDeps___spec__6(x_1, x_2, x_3); -lean_dec(x_2); -lean_dec(x_1); -x_5 = lean_box(x_4); -return x_5; -} -} -lean_object* l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__7___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_AbstractMetavarContext_MkBinding_collectDeps___spec__7(x_1, x_2, x_3); -lean_dec(x_2); -lean_dec(x_1); -x_5 = lean_box(x_4); -return x_5; -} -} -lean_object* l_PersistentArray_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__5___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; lean_object* x_4; -x_3 = l_PersistentArray_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__5(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -x_4 = lean_box(x_3); -return x_4; -} -} -lean_object* l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -uint8_t x_4; lean_object* x_5; -x_4 = l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__8(x_1, x_2, x_3); -lean_dec(x_2); -lean_dec(x_1); -x_5 = lean_box(x_4); -return x_5; -} -} -lean_object* l_PersistentArray_anyM___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__4___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; lean_object* x_4; -x_3 = l_PersistentArray_anyM___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__4(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -x_4 = lean_box(x_3); -return x_4; -} -} -lean_object* l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___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_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__3___rarg(x_1, x_2, x_3, x_4, x_5); -lean_dec(x_2); -return x_6; -} -} -lean_object* l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__12___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_AbstractMetavarContext_MkBinding_collectDeps___spec__12(x_1, x_2, x_3); -lean_dec(x_2); -lean_dec(x_1); -x_5 = lean_box(x_4); -return x_5; -} -} -lean_object* l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__13___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_AbstractMetavarContext_MkBinding_collectDeps___spec__13(x_1, x_2, x_3); -lean_dec(x_2); -lean_dec(x_1); -x_5 = lean_box(x_4); -return x_5; -} -} -lean_object* l_PersistentArray_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__11___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; lean_object* x_4; -x_3 = l_PersistentArray_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__11(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -x_4 = lean_box(x_3); -return x_4; -} -} -lean_object* l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___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_AbstractMetavarContext_MkBinding_collectDeps___spec__14(x_1, x_2, x_3); -lean_dec(x_2); -lean_dec(x_1); -x_5 = lean_box(x_4); -return x_5; -} -} -lean_object* l_PersistentArray_anyM___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__10___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; lean_object* x_4; -x_3 = l_PersistentArray_anyM___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__10(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -x_4 = lean_box(x_3); -return x_4; -} -} -lean_object* l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__9___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; -x_6 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__9___rarg(x_1, x_2, x_3, x_4, x_5); -lean_dec(x_2); -return x_6; -} -} -lean_object* l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__18___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_AbstractMetavarContext_MkBinding_collectDeps___spec__18(x_1, x_2, x_3); -lean_dec(x_2); -lean_dec(x_1); -x_5 = lean_box(x_4); -return x_5; -} -} -lean_object* l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__19___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_AbstractMetavarContext_MkBinding_collectDeps___spec__19(x_1, x_2, x_3); -lean_dec(x_2); -lean_dec(x_1); -x_5 = lean_box(x_4); -return x_5; -} -} -lean_object* l_PersistentArray_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__17___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; lean_object* x_4; -x_3 = l_PersistentArray_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__17(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -x_4 = lean_box(x_3); -return x_4; -} -} -lean_object* l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__20___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_AbstractMetavarContext_MkBinding_collectDeps___spec__20(x_1, x_2, x_3); -lean_dec(x_2); -lean_dec(x_1); -x_5 = lean_box(x_4); -return x_5; -} -} -lean_object* l_PersistentArray_anyM___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__16___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; lean_object* x_4; -x_3 = l_PersistentArray_anyM___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__16(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -x_4 = lean_box(x_3); -return x_4; -} -} -lean_object* l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__15___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_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__15___rarg(x_1, x_2, x_3, x_4, x_5); -lean_dec(x_2); -return x_6; -} -} -lean_object* l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__24___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_AbstractMetavarContext_MkBinding_collectDeps___spec__24(x_1, x_2, x_3); -lean_dec(x_2); -lean_dec(x_1); -x_5 = lean_box(x_4); -return x_5; -} -} -lean_object* l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__25___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_AbstractMetavarContext_MkBinding_collectDeps___spec__25(x_1, x_2, x_3); -lean_dec(x_2); -lean_dec(x_1); -x_5 = lean_box(x_4); -return x_5; -} -} -lean_object* l_PersistentArray_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__23___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; lean_object* x_4; -x_3 = l_PersistentArray_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__23(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -x_4 = lean_box(x_3); -return x_4; -} -} -lean_object* l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__26___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_AbstractMetavarContext_MkBinding_collectDeps___spec__26(x_1, x_2, x_3); -lean_dec(x_2); -lean_dec(x_1); -x_5 = lean_box(x_4); -return x_5; -} -} -lean_object* l_PersistentArray_anyM___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__22___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; lean_object* x_4; -x_3 = l_PersistentArray_anyM___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__22(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -x_4 = lean_box(x_3); -return x_4; -} -} -lean_object* l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__21___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_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__21___rarg(x_1, x_2, x_3, x_4, x_5); -lean_dec(x_2); -return x_6; -} -} -lean_object* l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__30___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_AbstractMetavarContext_MkBinding_collectDeps___spec__30(x_1, x_2, x_3); -lean_dec(x_2); -lean_dec(x_1); -x_5 = lean_box(x_4); -return x_5; -} -} -lean_object* l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__31___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_AbstractMetavarContext_MkBinding_collectDeps___spec__31(x_1, x_2, x_3); -lean_dec(x_2); -lean_dec(x_1); -x_5 = lean_box(x_4); -return x_5; -} -} -lean_object* l_PersistentArray_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__29___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; lean_object* x_4; -x_3 = l_PersistentArray_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__29(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -x_4 = lean_box(x_3); -return x_4; -} -} -lean_object* l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__32___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_AbstractMetavarContext_MkBinding_collectDeps___spec__32(x_1, x_2, x_3); -lean_dec(x_2); -lean_dec(x_1); -x_5 = lean_box(x_4); -return x_5; -} -} -lean_object* l_PersistentArray_anyM___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__28___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; lean_object* x_4; -x_3 = l_PersistentArray_anyM___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__28(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -x_4 = lean_box(x_3); -return x_4; -} -} -lean_object* l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__27___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_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__27___rarg(x_1, x_2, x_3, x_4, x_5); -lean_dec(x_2); -return x_6; -} -} -lean_object* l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__36___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_AbstractMetavarContext_MkBinding_collectDeps___spec__36(x_1, x_2, x_3); -lean_dec(x_2); -lean_dec(x_1); -x_5 = lean_box(x_4); -return x_5; -} -} -lean_object* l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__37___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_AbstractMetavarContext_MkBinding_collectDeps___spec__37(x_1, x_2, x_3); -lean_dec(x_2); -lean_dec(x_1); -x_5 = lean_box(x_4); -return x_5; -} -} -lean_object* l_PersistentArray_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__35___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; lean_object* x_4; -x_3 = l_PersistentArray_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__35(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -x_4 = lean_box(x_3); -return x_4; -} -} -lean_object* l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__38___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_AbstractMetavarContext_MkBinding_collectDeps___spec__38(x_1, x_2, x_3); -lean_dec(x_2); -lean_dec(x_1); -x_5 = lean_box(x_4); -return x_5; -} -} -lean_object* l_PersistentArray_anyM___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__34___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; lean_object* x_4; -x_3 = l_PersistentArray_anyM___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__34(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -x_4 = lean_box(x_3); -return x_4; -} -} -lean_object* l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__33___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_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__33___rarg(x_1, x_2, x_3, x_4, x_5); -lean_dec(x_2); -return x_6; -} -} -lean_object* l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__42___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_AbstractMetavarContext_MkBinding_collectDeps___spec__42(x_1, x_2, x_3); -lean_dec(x_2); -lean_dec(x_1); -x_5 = lean_box(x_4); -return x_5; -} -} -lean_object* l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__43___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_AbstractMetavarContext_MkBinding_collectDeps___spec__43(x_1, x_2, x_3); -lean_dec(x_2); -lean_dec(x_1); -x_5 = lean_box(x_4); -return x_5; -} -} -lean_object* l_PersistentArray_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__41___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; lean_object* x_4; -x_3 = l_PersistentArray_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__41(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -x_4 = lean_box(x_3); -return x_4; -} -} -lean_object* l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__44___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_AbstractMetavarContext_MkBinding_collectDeps___spec__44(x_1, x_2, x_3); -lean_dec(x_2); -lean_dec(x_1); -x_5 = lean_box(x_4); -return x_5; -} -} -lean_object* l_PersistentArray_anyM___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__40___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; lean_object* x_4; -x_3 = l_PersistentArray_anyM___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__40(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -x_4 = lean_box(x_3); -return x_4; -} -} -lean_object* l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__39___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_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__39___rarg(x_1, x_2, x_3, x_4, x_5); -lean_dec(x_2); -return x_6; -} -} -lean_object* l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__48___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_AbstractMetavarContext_MkBinding_collectDeps___spec__48(x_1, x_2, x_3); -lean_dec(x_2); -lean_dec(x_1); -x_5 = lean_box(x_4); -return x_5; -} -} -lean_object* l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__49___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_AbstractMetavarContext_MkBinding_collectDeps___spec__49(x_1, x_2, x_3); -lean_dec(x_2); -lean_dec(x_1); -x_5 = lean_box(x_4); -return x_5; -} -} -lean_object* l_PersistentArray_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__47___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; lean_object* x_4; -x_3 = l_PersistentArray_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__47(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -x_4 = lean_box(x_3); -return x_4; -} -} -lean_object* l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__50___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_AbstractMetavarContext_MkBinding_collectDeps___spec__50(x_1, x_2, x_3); -lean_dec(x_2); -lean_dec(x_1); -x_5 = lean_box(x_4); -return x_5; -} -} -lean_object* l_PersistentArray_anyM___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__46___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; lean_object* x_4; -x_3 = l_PersistentArray_anyM___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__46(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -x_4 = lean_box(x_3); -return x_4; -} -} -lean_object* l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__45___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_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__45___rarg(x_1, x_2, x_3, x_4, x_5); -lean_dec(x_2); -return x_6; -} -} -lean_object* l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__54___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_AbstractMetavarContext_MkBinding_collectDeps___spec__54(x_1, x_2, x_3); -lean_dec(x_2); -lean_dec(x_1); -x_5 = lean_box(x_4); -return x_5; -} -} -lean_object* l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__55___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_AbstractMetavarContext_MkBinding_collectDeps___spec__55(x_1, x_2, x_3); -lean_dec(x_2); -lean_dec(x_1); -x_5 = lean_box(x_4); -return x_5; -} -} -lean_object* l_PersistentArray_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__53___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; lean_object* x_4; -x_3 = l_PersistentArray_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__53(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -x_4 = lean_box(x_3); -return x_4; -} -} -lean_object* l_Array_anyMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__56___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_AbstractMetavarContext_MkBinding_collectDeps___spec__56(x_1, x_2, x_3); -lean_dec(x_2); -lean_dec(x_1); -x_5 = lean_box(x_4); -return x_5; -} -} -lean_object* l_PersistentArray_anyM___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__52___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; lean_object* x_4; -x_3 = l_PersistentArray_anyM___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__52(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -x_4 = lean_box(x_3); -return x_4; -} -} -lean_object* l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__51___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_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__51___rarg(x_1, x_2, x_3, x_4, x_5); -lean_dec(x_2); -return x_6; -} -} -lean_object* l_Array_iterateMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__61___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_iterateMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__61___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_iterateMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__62___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_iterateMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__62___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_PersistentArray_foldlMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__60___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l_PersistentArray_foldlMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__60___rarg(x_1, x_2, x_3); -lean_dec(x_2); -return x_4; -} -} -lean_object* l_Array_iterateMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__63___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_iterateMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__63___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_iterateMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__64___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_iterateMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__64___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_PersistentArray_foldlFromMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__59___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -size_t x_6; size_t x_7; lean_object* x_8; -x_6 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_7 = lean_unbox_usize(x_4); -lean_dec(x_4); -x_8 = l_PersistentArray_foldlFromMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__59___rarg(x_1, x_2, x_6, x_7, x_5); -lean_dec(x_2); -return x_8; -} -} -lean_object* l_Array_iterateMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__65___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_iterateMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__65___rarg(x_1, x_2, x_3, x_4, x_5); -lean_dec(x_3); -lean_dec(x_1); -return x_6; -} -} -lean_object* l_Array_iterateMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__66___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_iterateMAux___main___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__66___rarg(x_1, x_2, x_3, x_4, x_5); -lean_dec(x_3); -lean_dec(x_1); -return x_6; -} -} -lean_object* l_PersistentArray_foldlFromM___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__58___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_PersistentArray_foldlFromM___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__58___rarg(x_1, x_2, x_3, x_4); -lean_dec(x_4); -lean_dec(x_1); -return x_5; -} -} -lean_object* l_Lean_LocalContext_foldlFromM___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__57___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_Lean_LocalContext_foldlFromM___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__57___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_7); -lean_dec(x_5); -return x_8; -} -} -lean_object* l___private_Init_Data_Array_Basic_3__iterateRevMAux___main___at_Lean_AbstractMetavarContext_MkBinding_reduceLocalContext___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; uint8_t x_7; -x_6 = lean_unsigned_to_nat(0u); -x_7 = lean_nat_dec_eq(x_3, x_6); -if (x_7 == 0) -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_8 = lean_unsigned_to_nat(1u); -x_9 = lean_nat_sub(x_3, x_8); -lean_dec(x_3); -x_10 = lean_array_fget(x_2, x_9); -x_11 = l_Lean_Expr_fvarId_x21(x_10); -lean_dec(x_10); -x_12 = lean_local_ctx_erase(x_5, x_11); -x_3 = x_9; -x_4 = lean_box(0); -x_5 = x_12; -goto _start; -} -else -{ -lean_dec(x_3); -return x_5; -} -} -} -lean_object* l_Lean_AbstractMetavarContext_MkBinding_reduceLocalContext(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; lean_object* x_4; -x_3 = lean_array_get_size(x_2); -x_4 = l___private_Init_Data_Array_Basic_3__iterateRevMAux___main___at_Lean_AbstractMetavarContext_MkBinding_reduceLocalContext___spec__1(x_2, x_2, x_3, lean_box(0), x_1); -return x_4; -} -} -lean_object* l___private_Init_Data_Array_Basic_3__iterateRevMAux___main___at_Lean_AbstractMetavarContext_MkBinding_reduceLocalContext___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___private_Init_Data_Array_Basic_3__iterateRevMAux___main___at_Lean_AbstractMetavarContext_MkBinding_reduceLocalContext___spec__1(x_1, x_2, x_3, x_4, x_5); -lean_dec(x_2); -lean_dec(x_1); -return x_6; -} -} -lean_object* l_Lean_AbstractMetavarContext_MkBinding_reduceLocalContext___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Lean_AbstractMetavarContext_MkBinding_reduceLocalContext(x_1, x_2); -lean_dec(x_2); -return x_3; -} -} -lean_object* l_Lean_AbstractMetavarContext_MkBinding_visit___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -uint8_t x_4; -x_4 = lean_expr_has_expr_mvar(x_2); -if (x_4 == 0) -{ -uint8_t x_5; -x_5 = lean_expr_has_level_mvar(x_2); -if (x_5 == 0) -{ -lean_object* x_6; -lean_dec(x_1); -x_6 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_6, 0, x_2); -lean_ctor_set(x_6, 1, x_3); -return x_6; -} -else -{ -lean_object* x_7; lean_object* x_8; -x_7 = lean_ctor_get(x_3, 2); -lean_inc(x_7); -x_8 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_7, x_2); -lean_dec(x_7); -if (lean_obj_tag(x_8) == 0) -{ -lean_object* x_9; -lean_inc(x_2); -x_9 = lean_apply_2(x_1, x_2, x_3); -if (lean_obj_tag(x_9) == 0) -{ -uint8_t x_10; -x_10 = !lean_is_exclusive(x_9); -if (x_10 == 0) -{ -lean_object* x_11; uint8_t x_12; -x_11 = lean_ctor_get(x_9, 1); -x_12 = !lean_is_exclusive(x_11); -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_13 = lean_ctor_get(x_9, 0); -x_14 = lean_ctor_get(x_11, 2); -lean_inc(x_13); -x_15 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_14, x_2, x_13); -lean_ctor_set(x_11, 2, x_15); -return x_9; -} -else -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_16 = lean_ctor_get(x_9, 0); -x_17 = lean_ctor_get(x_11, 0); -x_18 = lean_ctor_get(x_11, 1); -x_19 = lean_ctor_get(x_11, 2); -lean_inc(x_19); -lean_inc(x_18); -lean_inc(x_17); -lean_dec(x_11); -lean_inc(x_16); -x_20 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_19, x_2, x_16); -x_21 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_21, 0, x_17); -lean_ctor_set(x_21, 1, x_18); -lean_ctor_set(x_21, 2, x_20); -lean_ctor_set(x_9, 1, x_21); -return x_9; -} -} -else -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_22 = lean_ctor_get(x_9, 1); -x_23 = lean_ctor_get(x_9, 0); -lean_inc(x_22); -lean_inc(x_23); -lean_dec(x_9); -x_24 = lean_ctor_get(x_22, 0); -lean_inc(x_24); -x_25 = lean_ctor_get(x_22, 1); -lean_inc(x_25); -x_26 = lean_ctor_get(x_22, 2); -lean_inc(x_26); -if (lean_is_exclusive(x_22)) { - lean_ctor_release(x_22, 0); - lean_ctor_release(x_22, 1); - lean_ctor_release(x_22, 2); - x_27 = x_22; -} else { - lean_dec_ref(x_22); - x_27 = lean_box(0); -} -lean_inc(x_23); -x_28 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_26, x_2, x_23); -if (lean_is_scalar(x_27)) { - x_29 = lean_alloc_ctor(0, 3, 0); -} else { - x_29 = x_27; -} -lean_ctor_set(x_29, 0, x_24); -lean_ctor_set(x_29, 1, x_25); -lean_ctor_set(x_29, 2, x_28); -x_30 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_30, 0, x_23); -lean_ctor_set(x_30, 1, x_29); -return x_30; -} -} -else -{ -uint8_t x_31; -lean_dec(x_2); -x_31 = !lean_is_exclusive(x_9); -if (x_31 == 0) -{ -return x_9; -} -else -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_32 = lean_ctor_get(x_9, 0); -x_33 = lean_ctor_get(x_9, 1); -lean_inc(x_33); -lean_inc(x_32); -lean_dec(x_9); -x_34 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_34, 0, x_32); -lean_ctor_set(x_34, 1, x_33); -return x_34; -} -} -} -else -{ -lean_object* x_35; lean_object* x_36; -lean_dec(x_2); -lean_dec(x_1); -x_35 = lean_ctor_get(x_8, 0); -lean_inc(x_35); -lean_dec(x_8); -x_36 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_3); -return x_36; -} -} -} -else -{ -lean_object* x_37; lean_object* x_38; -x_37 = lean_ctor_get(x_3, 2); -lean_inc(x_37); -x_38 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_37, x_2); -lean_dec(x_37); -if (lean_obj_tag(x_38) == 0) -{ -lean_object* x_39; -lean_inc(x_2); -x_39 = lean_apply_2(x_1, x_2, x_3); -if (lean_obj_tag(x_39) == 0) -{ -uint8_t x_40; -x_40 = !lean_is_exclusive(x_39); -if (x_40 == 0) -{ -lean_object* x_41; uint8_t x_42; -x_41 = lean_ctor_get(x_39, 1); -x_42 = !lean_is_exclusive(x_41); -if (x_42 == 0) -{ -lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_43 = lean_ctor_get(x_39, 0); -x_44 = lean_ctor_get(x_41, 2); -lean_inc(x_43); -x_45 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_44, x_2, x_43); -lean_ctor_set(x_41, 2, x_45); -return x_39; -} -else -{ -lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_46 = lean_ctor_get(x_39, 0); -x_47 = lean_ctor_get(x_41, 0); -x_48 = lean_ctor_get(x_41, 1); -x_49 = lean_ctor_get(x_41, 2); -lean_inc(x_49); -lean_inc(x_48); -lean_inc(x_47); -lean_dec(x_41); -lean_inc(x_46); -x_50 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_49, x_2, x_46); -x_51 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_51, 0, x_47); -lean_ctor_set(x_51, 1, x_48); -lean_ctor_set(x_51, 2, x_50); -lean_ctor_set(x_39, 1, x_51); -return x_39; -} -} -else -{ -lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; -x_52 = lean_ctor_get(x_39, 1); -x_53 = lean_ctor_get(x_39, 0); -lean_inc(x_52); -lean_inc(x_53); -lean_dec(x_39); -x_54 = lean_ctor_get(x_52, 0); -lean_inc(x_54); -x_55 = lean_ctor_get(x_52, 1); -lean_inc(x_55); -x_56 = lean_ctor_get(x_52, 2); -lean_inc(x_56); -if (lean_is_exclusive(x_52)) { - lean_ctor_release(x_52, 0); - lean_ctor_release(x_52, 1); - lean_ctor_release(x_52, 2); - x_57 = x_52; -} else { - lean_dec_ref(x_52); - x_57 = lean_box(0); -} -lean_inc(x_53); -x_58 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_56, x_2, x_53); -if (lean_is_scalar(x_57)) { - x_59 = lean_alloc_ctor(0, 3, 0); -} else { - x_59 = x_57; -} -lean_ctor_set(x_59, 0, x_54); -lean_ctor_set(x_59, 1, x_55); -lean_ctor_set(x_59, 2, x_58); -x_60 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_60, 0, x_53); -lean_ctor_set(x_60, 1, x_59); -return x_60; -} -} -else -{ -uint8_t x_61; -lean_dec(x_2); -x_61 = !lean_is_exclusive(x_39); -if (x_61 == 0) -{ -return x_39; -} -else -{ -lean_object* x_62; lean_object* x_63; lean_object* x_64; -x_62 = lean_ctor_get(x_39, 0); -x_63 = lean_ctor_get(x_39, 1); -lean_inc(x_63); -lean_inc(x_62); -lean_dec(x_39); -x_64 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_64, 0, x_62); -lean_ctor_set(x_64, 1, x_63); -return x_64; -} -} -} -else -{ -lean_object* x_65; lean_object* x_66; -lean_dec(x_2); -lean_dec(x_1); -x_65 = lean_ctor_get(x_38, 0); -lean_inc(x_65); -lean_dec(x_38); -x_66 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_66, 0, x_65); -lean_ctor_set(x_66, 1, x_3); -return x_66; -} -} -} -} -lean_object* l_Lean_AbstractMetavarContext_MkBinding_visit(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Lean_AbstractMetavarContext_MkBinding_visit___rarg), 3, 0); -return x_3; -} -} -lean_object* l_Lean_AbstractMetavarContext_MkBinding_visit___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Lean_AbstractMetavarContext_MkBinding_visit(x_1, x_2); -lean_dec(x_2); -return x_3; -} -} -lean_object* l_Lean_AbstractMetavarContext_MkBinding_getMCtx___rarg(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; -x_2 = lean_ctor_get(x_1, 0); -lean_inc(x_2); -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; -} -} -lean_object* l_Lean_AbstractMetavarContext_MkBinding_getMCtx(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Lean_AbstractMetavarContext_MkBinding_getMCtx___rarg), 1, 0); -return x_3; -} -} -lean_object* l_Lean_AbstractMetavarContext_MkBinding_getMCtx___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Lean_AbstractMetavarContext_MkBinding_getMCtx(x_1, x_2); -lean_dec(x_2); -return x_3; -} -} -lean_object* l_Lean_AbstractMetavarContext_MkBinding_mkFreshId___rarg(lean_object* x_1) { -_start: -{ -uint8_t x_2; -x_2 = !lean_is_exclusive(x_1); -if (x_2 == 0) -{ -lean_object* x_3; uint8_t x_4; -x_3 = lean_ctor_get(x_1, 1); -x_4 = !lean_is_exclusive(x_3); -if (x_4 == 0) -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; -x_5 = lean_ctor_get(x_3, 0); -x_6 = lean_ctor_get(x_3, 1); -lean_inc(x_6); -lean_inc(x_5); -x_7 = lean_name_mk_numeral(x_5, x_6); -x_8 = lean_unsigned_to_nat(1u); -x_9 = lean_nat_add(x_6, x_8); -lean_dec(x_6); -lean_ctor_set(x_3, 1, x_9); -x_10 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_10, 0, x_7); -lean_ctor_set(x_10, 1, x_1); -return x_10; -} -else -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_11 = lean_ctor_get(x_3, 0); -x_12 = lean_ctor_get(x_3, 1); -lean_inc(x_12); -lean_inc(x_11); -lean_dec(x_3); -lean_inc(x_12); -lean_inc(x_11); -x_13 = lean_name_mk_numeral(x_11, x_12); -x_14 = lean_unsigned_to_nat(1u); -x_15 = lean_nat_add(x_12, x_14); -lean_dec(x_12); -x_16 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_16, 0, x_11); -lean_ctor_set(x_16, 1, x_15); -lean_ctor_set(x_1, 1, x_16); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_13); -lean_ctor_set(x_17, 1, x_1); -return x_17; -} -} -else -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_18 = lean_ctor_get(x_1, 1); -x_19 = lean_ctor_get(x_1, 0); -x_20 = lean_ctor_get(x_1, 2); -lean_inc(x_20); -lean_inc(x_18); -lean_inc(x_19); -lean_dec(x_1); -x_21 = lean_ctor_get(x_18, 0); -lean_inc(x_21); -x_22 = lean_ctor_get(x_18, 1); -lean_inc(x_22); -if (lean_is_exclusive(x_18)) { - lean_ctor_release(x_18, 0); - lean_ctor_release(x_18, 1); - x_23 = x_18; -} else { - lean_dec_ref(x_18); - x_23 = lean_box(0); -} -lean_inc(x_22); -lean_inc(x_21); -x_24 = lean_name_mk_numeral(x_21, x_22); -x_25 = lean_unsigned_to_nat(1u); -x_26 = lean_nat_add(x_22, x_25); -lean_dec(x_22); -if (lean_is_scalar(x_23)) { - x_27 = lean_alloc_ctor(0, 2, 0); -} else { - x_27 = x_23; -} -lean_ctor_set(x_27, 0, x_21); -lean_ctor_set(x_27, 1, x_26); -x_28 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_28, 0, x_19); -lean_ctor_set(x_28, 1, x_27); -lean_ctor_set(x_28, 2, x_20); -x_29 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_29, 0, x_24); -lean_ctor_set(x_29, 1, x_28); -return x_29; -} -} -} -lean_object* l_Lean_AbstractMetavarContext_MkBinding_mkFreshId(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Lean_AbstractMetavarContext_MkBinding_mkFreshId___rarg), 1, 0); -return x_3; -} -} -lean_object* l_Lean_AbstractMetavarContext_MkBinding_mkFreshId___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Lean_AbstractMetavarContext_MkBinding_mkFreshId(x_1, x_2); -lean_dec(x_2); -return x_3; -} -} -lean_object* l_Array_iterateMAux___main___at_Lean_AbstractMetavarContext_MkBinding_getInScope___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; 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); -return x_5; -} -else -{ -lean_object* x_8; lean_object* x_9; uint8_t x_10; lean_object* x_11; lean_object* x_12; -x_8 = lean_array_fget(x_3, x_4); -x_9 = l_Lean_Expr_fvarId_x21(x_8); -x_10 = l_Lean_LocalContext_contains(x_1, x_9); -lean_dec(x_9); -x_11 = lean_unsigned_to_nat(1u); -x_12 = lean_nat_add(x_4, x_11); -lean_dec(x_4); -if (x_10 == 0) -{ -lean_dec(x_8); -x_4 = x_12; -goto _start; -} -else -{ -lean_object* x_14; -x_14 = lean_array_push(x_5, x_8); -x_4 = x_12; -x_5 = x_14; -goto _start; -} -} -} -} -lean_object* l_Lean_AbstractMetavarContext_MkBinding_getInScope(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_3 = lean_unsigned_to_nat(0u); -x_4 = l_Array_empty___closed__1; -x_5 = l_Array_iterateMAux___main___at_Lean_AbstractMetavarContext_MkBinding_getInScope___spec__1(x_1, x_2, x_2, x_3, x_4); -return x_5; -} -} -lean_object* l_Array_iterateMAux___main___at_Lean_AbstractMetavarContext_MkBinding_getInScope___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_Array_iterateMAux___main___at_Lean_AbstractMetavarContext_MkBinding_getInScope___spec__1(x_1, x_2, x_3, x_4, x_5); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_6; -} -} -lean_object* l_Lean_AbstractMetavarContext_MkBinding_getInScope___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Lean_AbstractMetavarContext_MkBinding_getInScope(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -return x_3; -} -} -lean_object* l_Lean_AbstractMetavarContext_MkBinding_withFreshCache___rarg(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; -x_3 = !lean_is_exclusive(x_2); -if (x_3 == 0) -{ -lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_4 = lean_ctor_get(x_2, 2); -x_5 = l_HashMap_Inhabited___closed__1; -lean_ctor_set(x_2, 2, x_5); -x_6 = lean_apply_1(x_1, x_2); -if (lean_obj_tag(x_6) == 0) -{ -uint8_t x_7; -x_7 = !lean_is_exclusive(x_6); -if (x_7 == 0) -{ -lean_object* x_8; uint8_t x_9; -x_8 = lean_ctor_get(x_6, 1); -x_9 = !lean_is_exclusive(x_8); -if (x_9 == 0) -{ -lean_object* x_10; -x_10 = lean_ctor_get(x_8, 2); -lean_dec(x_10); -lean_ctor_set(x_8, 2, x_4); -return x_6; -} -else -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_11 = lean_ctor_get(x_8, 0); -x_12 = lean_ctor_get(x_8, 1); -lean_inc(x_12); -lean_inc(x_11); -lean_dec(x_8); -x_13 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_13, 0, x_11); -lean_ctor_set(x_13, 1, x_12); -lean_ctor_set(x_13, 2, x_4); -lean_ctor_set(x_6, 1, x_13); -return x_6; -} -} -else -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_14 = lean_ctor_get(x_6, 1); -x_15 = lean_ctor_get(x_6, 0); -lean_inc(x_14); -lean_inc(x_15); -lean_dec(x_6); -x_16 = lean_ctor_get(x_14, 0); -lean_inc(x_16); -x_17 = lean_ctor_get(x_14, 1); -lean_inc(x_17); -if (lean_is_exclusive(x_14)) { - lean_ctor_release(x_14, 0); - lean_ctor_release(x_14, 1); - lean_ctor_release(x_14, 2); - x_18 = x_14; -} else { - lean_dec_ref(x_14); - x_18 = lean_box(0); -} -if (lean_is_scalar(x_18)) { - x_19 = lean_alloc_ctor(0, 3, 0); -} else { - x_19 = x_18; -} -lean_ctor_set(x_19, 0, x_16); -lean_ctor_set(x_19, 1, x_17); -lean_ctor_set(x_19, 2, x_4); -x_20 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_20, 0, x_15); -lean_ctor_set(x_20, 1, x_19); -return x_20; -} -} -else -{ -uint8_t x_21; -lean_dec(x_4); -x_21 = !lean_is_exclusive(x_6); -if (x_21 == 0) -{ -return x_6; -} -else -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_22 = lean_ctor_get(x_6, 0); -x_23 = lean_ctor_get(x_6, 1); -lean_inc(x_23); -lean_inc(x_22); -lean_dec(x_6); -x_24 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_24, 0, x_22); -lean_ctor_set(x_24, 1, x_23); -return x_24; -} -} -} -else -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_25 = lean_ctor_get(x_2, 0); -x_26 = lean_ctor_get(x_2, 1); -x_27 = lean_ctor_get(x_2, 2); -lean_inc(x_27); -lean_inc(x_26); -lean_inc(x_25); -lean_dec(x_2); -x_28 = l_HashMap_Inhabited___closed__1; -x_29 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_29, 0, x_25); -lean_ctor_set(x_29, 1, x_26); -lean_ctor_set(x_29, 2, x_28); -x_30 = lean_apply_1(x_1, x_29); -if (lean_obj_tag(x_30) == 0) -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; -x_31 = lean_ctor_get(x_30, 1); -lean_inc(x_31); -x_32 = lean_ctor_get(x_30, 0); -lean_inc(x_32); -if (lean_is_exclusive(x_30)) { - lean_ctor_release(x_30, 0); - lean_ctor_release(x_30, 1); - x_33 = x_30; -} else { - lean_dec_ref(x_30); - x_33 = lean_box(0); -} -x_34 = lean_ctor_get(x_31, 0); -lean_inc(x_34); -x_35 = lean_ctor_get(x_31, 1); -lean_inc(x_35); -if (lean_is_exclusive(x_31)) { - lean_ctor_release(x_31, 0); - lean_ctor_release(x_31, 1); - lean_ctor_release(x_31, 2); - x_36 = x_31; -} else { - lean_dec_ref(x_31); - x_36 = lean_box(0); -} -if (lean_is_scalar(x_36)) { - x_37 = lean_alloc_ctor(0, 3, 0); -} else { - x_37 = x_36; -} -lean_ctor_set(x_37, 0, x_34); -lean_ctor_set(x_37, 1, x_35); -lean_ctor_set(x_37, 2, x_27); -if (lean_is_scalar(x_33)) { - x_38 = lean_alloc_ctor(0, 2, 0); -} else { - x_38 = x_33; -} -lean_ctor_set(x_38, 0, x_32); -lean_ctor_set(x_38, 1, x_37); -return x_38; -} -else -{ -lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; -lean_dec(x_27); -x_39 = lean_ctor_get(x_30, 0); -lean_inc(x_39); -x_40 = lean_ctor_get(x_30, 1); -lean_inc(x_40); -if (lean_is_exclusive(x_30)) { - lean_ctor_release(x_30, 0); - lean_ctor_release(x_30, 1); - x_41 = x_30; -} else { - lean_dec_ref(x_30); - x_41 = lean_box(0); -} -if (lean_is_scalar(x_41)) { - x_42 = lean_alloc_ctor(1, 2, 0); -} else { - x_42 = x_41; -} -lean_ctor_set(x_42, 0, x_39); -lean_ctor_set(x_42, 1, x_40); -return x_42; -} -} -} -} -lean_object* l_Lean_AbstractMetavarContext_MkBinding_withFreshCache(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = lean_alloc_closure((void*)(l_Lean_AbstractMetavarContext_MkBinding_withFreshCache___rarg), 2, 0); -return x_4; -} -} -lean_object* l_Lean_AbstractMetavarContext_MkBinding_withFreshCache___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l_Lean_AbstractMetavarContext_MkBinding_withFreshCache(x_1, x_2, x_3); -lean_dec(x_2); -return x_4; -} -} -lean_object* l_panicWithPos___at_Lean_AbstractMetavarContext_MkBinding_mkForallAux___spec__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_6 = l_panicWithPos___rarg___closed__1; -x_7 = lean_string_append(x_6, x_1); -x_8 = l_panicWithPos___rarg___closed__2; -x_9 = lean_string_append(x_7, x_8); -x_10 = l_Nat_repr(x_2); -x_11 = lean_string_append(x_9, x_10); -lean_dec(x_10); -x_12 = l_panicWithPos___rarg___closed__2; -x_13 = lean_string_append(x_11, x_12); -x_14 = l_Nat_repr(x_3); -x_15 = lean_string_append(x_13, x_14); -lean_dec(x_14); -x_16 = l_panicWithPos___rarg___closed__3; -x_17 = lean_string_append(x_15, x_16); -x_18 = lean_string_append(x_17, x_4); -x_19 = l_panicWithPos___at_Lean_AbstractMetavarContext_MkBinding_mkBinding___spec__1___rarg___closed__1; -x_20 = lean_panic_fn(x_18); -x_21 = lean_apply_1(x_20, x_5); -return x_21; -} -} -lean_object* l_panicWithPos___at_Lean_AbstractMetavarContext_MkBinding_mkForallAux___spec__2(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_panicWithPos___at_Lean_AbstractMetavarContext_MkBinding_mkForallAux___spec__2___rarg___boxed), 5, 0); -return x_2; -} -} -lean_object* l_Nat_foldRevMAux___main___at_Lean_AbstractMetavarContext_MkBinding_mkForallAux___spec__3___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; -x_8 = l_Lean_exprIsInhabited; -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); -if (lean_obj_tag(x_10) == 0) -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_1); -x_11 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_instantiateDelayedAux___main___rarg___closed__1; -x_12 = lean_unsigned_to_nat(404u); -x_13 = lean_unsigned_to_nat(16u); -x_14 = l_Nat_foldRevAux___main___at_Lean_LocalContext_mkBinding___spec__1___closed__1; -x_15 = l_panicWithPos___at_Lean_AbstractMetavarContext_MkBinding_mkForallAux___spec__2___rarg(x_11, x_12, x_13, x_14, x_7); -return x_15; -} -else -{ -lean_object* x_16; -x_16 = lean_ctor_get(x_10, 0); -lean_inc(x_16); -lean_dec(x_10); -if (lean_obj_tag(x_16) == 0) -{ -lean_object* x_17; lean_object* x_18; uint8_t x_19; lean_object* x_20; lean_object* x_21; uint8_t x_28; -x_17 = lean_ctor_get(x_16, 2); -lean_inc(x_17); -x_18 = lean_ctor_get(x_16, 3); -lean_inc(x_18); -x_19 = lean_ctor_get_uint8(x_16, sizeof(void*)*4); -lean_dec(x_16); -x_28 = lean_expr_has_expr_mvar(x_18); -if (x_28 == 0) -{ -uint8_t x_29; -x_29 = lean_expr_has_level_mvar(x_18); -if (x_29 == 0) -{ -lean_dec(x_6); -x_20 = x_18; -x_21 = x_7; -goto block_27; -} -else -{ -uint8_t x_30; -x_30 = !lean_is_exclusive(x_7); -if (x_30 == 0) -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_31 = lean_ctor_get(x_7, 2); -x_32 = l_HashMap_Inhabited___closed__1; -lean_ctor_set(x_7, 2, x_32); -lean_inc(x_1); -x_33 = lean_apply_3(x_6, x_1, x_18, x_7); -if (lean_obj_tag(x_33) == 0) -{ -lean_object* x_34; lean_object* x_35; uint8_t x_36; -x_34 = lean_ctor_get(x_33, 1); -lean_inc(x_34); -x_35 = lean_ctor_get(x_33, 0); -lean_inc(x_35); -lean_dec(x_33); -x_36 = !lean_is_exclusive(x_34); -if (x_36 == 0) -{ -lean_object* x_37; -x_37 = lean_ctor_get(x_34, 2); -lean_dec(x_37); -lean_ctor_set(x_34, 2, x_31); -x_20 = x_35; -x_21 = x_34; -goto block_27; -} -else -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_38 = lean_ctor_get(x_34, 0); -x_39 = lean_ctor_get(x_34, 1); -lean_inc(x_39); -lean_inc(x_38); -lean_dec(x_34); -x_40 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_40, 0, x_38); -lean_ctor_set(x_40, 1, x_39); -lean_ctor_set(x_40, 2, x_31); -x_20 = x_35; -x_21 = x_40; -goto block_27; -} -} -else -{ -uint8_t x_41; -lean_dec(x_31); -lean_dec(x_17); -lean_dec(x_5); -lean_dec(x_1); -x_41 = !lean_is_exclusive(x_33); -if (x_41 == 0) -{ -return x_33; -} -else -{ -lean_object* x_42; lean_object* x_43; lean_object* x_44; -x_42 = lean_ctor_get(x_33, 0); -x_43 = lean_ctor_get(x_33, 1); -lean_inc(x_43); -lean_inc(x_42); -lean_dec(x_33); -x_44 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_44, 0, x_42); -lean_ctor_set(x_44, 1, x_43); -return x_44; -} -} -} -else -{ -lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; -x_45 = lean_ctor_get(x_7, 0); -x_46 = lean_ctor_get(x_7, 1); -x_47 = lean_ctor_get(x_7, 2); -lean_inc(x_47); -lean_inc(x_46); -lean_inc(x_45); -lean_dec(x_7); -x_48 = l_HashMap_Inhabited___closed__1; -x_49 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_49, 0, x_45); -lean_ctor_set(x_49, 1, x_46); -lean_ctor_set(x_49, 2, x_48); -lean_inc(x_1); -x_50 = lean_apply_3(x_6, x_1, x_18, x_49); -if (lean_obj_tag(x_50) == 0) -{ -lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; -x_51 = lean_ctor_get(x_50, 1); -lean_inc(x_51); -x_52 = lean_ctor_get(x_50, 0); -lean_inc(x_52); -lean_dec(x_50); -x_53 = lean_ctor_get(x_51, 0); -lean_inc(x_53); -x_54 = lean_ctor_get(x_51, 1); -lean_inc(x_54); -if (lean_is_exclusive(x_51)) { - lean_ctor_release(x_51, 0); - lean_ctor_release(x_51, 1); - lean_ctor_release(x_51, 2); - x_55 = x_51; -} else { - lean_dec_ref(x_51); - x_55 = lean_box(0); -} -if (lean_is_scalar(x_55)) { - x_56 = lean_alloc_ctor(0, 3, 0); -} else { - x_56 = x_55; -} -lean_ctor_set(x_56, 0, x_53); -lean_ctor_set(x_56, 1, x_54); -lean_ctor_set(x_56, 2, x_47); -x_20 = x_52; -x_21 = x_56; -goto block_27; -} -else -{ -lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; -lean_dec(x_47); -lean_dec(x_17); -lean_dec(x_5); -lean_dec(x_1); -x_57 = lean_ctor_get(x_50, 0); -lean_inc(x_57); -x_58 = lean_ctor_get(x_50, 1); -lean_inc(x_58); -if (lean_is_exclusive(x_50)) { - lean_ctor_release(x_50, 0); - lean_ctor_release(x_50, 1); - x_59 = x_50; -} else { - lean_dec_ref(x_50); - x_59 = lean_box(0); -} -if (lean_is_scalar(x_59)) { - x_60 = lean_alloc_ctor(1, 2, 0); -} else { - x_60 = x_59; -} -lean_ctor_set(x_60, 0, x_57); -lean_ctor_set(x_60, 1, x_58); -return x_60; -} -} -} -} -else -{ -uint8_t x_61; -x_61 = !lean_is_exclusive(x_7); -if (x_61 == 0) -{ -lean_object* x_62; lean_object* x_63; lean_object* x_64; -x_62 = lean_ctor_get(x_7, 2); -x_63 = l_HashMap_Inhabited___closed__1; -lean_ctor_set(x_7, 2, x_63); -lean_inc(x_1); -x_64 = lean_apply_3(x_6, x_1, x_18, x_7); -if (lean_obj_tag(x_64) == 0) -{ -lean_object* x_65; lean_object* x_66; uint8_t x_67; -x_65 = lean_ctor_get(x_64, 1); -lean_inc(x_65); -x_66 = lean_ctor_get(x_64, 0); -lean_inc(x_66); -lean_dec(x_64); -x_67 = !lean_is_exclusive(x_65); -if (x_67 == 0) -{ -lean_object* x_68; -x_68 = lean_ctor_get(x_65, 2); -lean_dec(x_68); -lean_ctor_set(x_65, 2, x_62); -x_20 = x_66; -x_21 = x_65; -goto block_27; -} -else -{ -lean_object* x_69; lean_object* x_70; lean_object* x_71; -x_69 = lean_ctor_get(x_65, 0); -x_70 = lean_ctor_get(x_65, 1); -lean_inc(x_70); -lean_inc(x_69); -lean_dec(x_65); -x_71 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_71, 0, x_69); -lean_ctor_set(x_71, 1, x_70); -lean_ctor_set(x_71, 2, x_62); -x_20 = x_66; -x_21 = x_71; -goto block_27; -} -} -else -{ -uint8_t x_72; -lean_dec(x_62); -lean_dec(x_17); -lean_dec(x_5); -lean_dec(x_1); -x_72 = !lean_is_exclusive(x_64); -if (x_72 == 0) -{ -return x_64; -} -else -{ -lean_object* x_73; lean_object* x_74; lean_object* x_75; -x_73 = lean_ctor_get(x_64, 0); -x_74 = lean_ctor_get(x_64, 1); -lean_inc(x_74); -lean_inc(x_73); -lean_dec(x_64); -x_75 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_75, 0, x_73); -lean_ctor_set(x_75, 1, x_74); -return x_75; -} -} -} -else -{ -lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; -x_76 = lean_ctor_get(x_7, 0); -x_77 = lean_ctor_get(x_7, 1); -x_78 = lean_ctor_get(x_7, 2); -lean_inc(x_78); -lean_inc(x_77); -lean_inc(x_76); -lean_dec(x_7); -x_79 = l_HashMap_Inhabited___closed__1; -x_80 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_80, 0, x_76); -lean_ctor_set(x_80, 1, x_77); -lean_ctor_set(x_80, 2, x_79); -lean_inc(x_1); -x_81 = lean_apply_3(x_6, x_1, x_18, x_80); -if (lean_obj_tag(x_81) == 0) -{ -lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; -x_82 = lean_ctor_get(x_81, 1); -lean_inc(x_82); -x_83 = lean_ctor_get(x_81, 0); -lean_inc(x_83); -lean_dec(x_81); -x_84 = lean_ctor_get(x_82, 0); -lean_inc(x_84); -x_85 = lean_ctor_get(x_82, 1); -lean_inc(x_85); -if (lean_is_exclusive(x_82)) { - lean_ctor_release(x_82, 0); - lean_ctor_release(x_82, 1); - lean_ctor_release(x_82, 2); - x_86 = x_82; -} else { - lean_dec_ref(x_82); - x_86 = lean_box(0); -} -if (lean_is_scalar(x_86)) { - x_87 = lean_alloc_ctor(0, 3, 0); -} else { - x_87 = x_86; -} -lean_ctor_set(x_87, 0, x_84); -lean_ctor_set(x_87, 1, x_85); -lean_ctor_set(x_87, 2, x_78); -x_20 = x_83; -x_21 = x_87; -goto block_27; -} -else -{ -lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; -lean_dec(x_78); -lean_dec(x_17); -lean_dec(x_5); -lean_dec(x_1); -x_88 = lean_ctor_get(x_81, 0); -lean_inc(x_88); -x_89 = lean_ctor_get(x_81, 1); -lean_inc(x_89); -if (lean_is_exclusive(x_81)) { - lean_ctor_release(x_81, 0); - lean_ctor_release(x_81, 1); - x_90 = x_81; -} else { - lean_dec_ref(x_81); - x_90 = lean_box(0); -} -if (lean_is_scalar(x_90)) { - x_91 = lean_alloc_ctor(1, 2, 0); -} else { - x_91 = x_90; -} -lean_ctor_set(x_91, 0, x_88); -lean_ctor_set(x_91, 1, x_89); -return x_91; -} -} -} -block_27: -{ -lean_object* x_22; -x_22 = lean_expr_abstract_range(x_20, x_2, x_1); -lean_dec(x_1); -lean_dec(x_20); -if (x_4 == 0) -{ -lean_object* x_23; lean_object* x_24; -x_23 = lean_expr_mk_forall(x_17, x_19, x_22, x_5); -x_24 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_24, 0, x_23); -lean_ctor_set(x_24, 1, x_21); -return x_24; -} -else -{ -lean_object* x_25; lean_object* x_26; -x_25 = lean_expr_mk_lambda(x_17, x_19, x_22, x_5); -x_26 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_26, 0, x_25); -lean_ctor_set(x_26, 1, x_21); -return x_26; -} -} -} -else -{ -lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; uint8_t x_204; -x_92 = lean_ctor_get(x_16, 2); -lean_inc(x_92); -x_93 = lean_ctor_get(x_16, 3); -lean_inc(x_93); -x_94 = lean_ctor_get(x_16, 4); -lean_inc(x_94); -lean_dec(x_16); -x_204 = lean_expr_has_expr_mvar(x_93); -if (x_204 == 0) -{ -uint8_t x_205; -x_205 = lean_expr_has_level_mvar(x_93); -if (x_205 == 0) -{ -x_95 = x_93; -x_96 = x_7; -goto block_203; -} -else -{ -uint8_t x_206; -x_206 = !lean_is_exclusive(x_7); -if (x_206 == 0) -{ -lean_object* x_207; lean_object* x_208; lean_object* x_209; -x_207 = lean_ctor_get(x_7, 2); -x_208 = l_HashMap_Inhabited___closed__1; -lean_ctor_set(x_7, 2, x_208); -lean_inc(x_6); -lean_inc(x_1); -x_209 = lean_apply_3(x_6, x_1, x_93, x_7); -if (lean_obj_tag(x_209) == 0) -{ -lean_object* x_210; lean_object* x_211; uint8_t x_212; -x_210 = lean_ctor_get(x_209, 1); -lean_inc(x_210); -x_211 = lean_ctor_get(x_209, 0); -lean_inc(x_211); -lean_dec(x_209); -x_212 = !lean_is_exclusive(x_210); -if (x_212 == 0) -{ -lean_object* x_213; -x_213 = lean_ctor_get(x_210, 2); -lean_dec(x_213); -lean_ctor_set(x_210, 2, x_207); -x_95 = x_211; -x_96 = x_210; -goto block_203; -} -else -{ -lean_object* x_214; lean_object* x_215; lean_object* x_216; -x_214 = lean_ctor_get(x_210, 0); -x_215 = lean_ctor_get(x_210, 1); -lean_inc(x_215); -lean_inc(x_214); -lean_dec(x_210); -x_216 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_216, 0, x_214); -lean_ctor_set(x_216, 1, x_215); -lean_ctor_set(x_216, 2, x_207); -x_95 = x_211; -x_96 = x_216; -goto block_203; -} -} -else -{ -uint8_t x_217; -lean_dec(x_207); -lean_dec(x_94); -lean_dec(x_92); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_1); -x_217 = !lean_is_exclusive(x_209); -if (x_217 == 0) -{ -return x_209; -} -else -{ -lean_object* x_218; lean_object* x_219; lean_object* x_220; -x_218 = lean_ctor_get(x_209, 0); -x_219 = lean_ctor_get(x_209, 1); -lean_inc(x_219); -lean_inc(x_218); -lean_dec(x_209); -x_220 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_220, 0, x_218); -lean_ctor_set(x_220, 1, x_219); -return x_220; -} -} -} -else -{ -lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; -x_221 = lean_ctor_get(x_7, 0); -x_222 = lean_ctor_get(x_7, 1); -x_223 = lean_ctor_get(x_7, 2); -lean_inc(x_223); -lean_inc(x_222); -lean_inc(x_221); -lean_dec(x_7); -x_224 = l_HashMap_Inhabited___closed__1; -x_225 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_225, 0, x_221); -lean_ctor_set(x_225, 1, x_222); -lean_ctor_set(x_225, 2, x_224); -lean_inc(x_6); -lean_inc(x_1); -x_226 = lean_apply_3(x_6, x_1, x_93, x_225); -if (lean_obj_tag(x_226) == 0) -{ -lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; -x_227 = lean_ctor_get(x_226, 1); -lean_inc(x_227); -x_228 = lean_ctor_get(x_226, 0); -lean_inc(x_228); -lean_dec(x_226); -x_229 = lean_ctor_get(x_227, 0); -lean_inc(x_229); -x_230 = lean_ctor_get(x_227, 1); -lean_inc(x_230); -if (lean_is_exclusive(x_227)) { - lean_ctor_release(x_227, 0); - lean_ctor_release(x_227, 1); - lean_ctor_release(x_227, 2); - x_231 = x_227; -} else { - lean_dec_ref(x_227); - x_231 = lean_box(0); -} -if (lean_is_scalar(x_231)) { - x_232 = lean_alloc_ctor(0, 3, 0); -} else { - x_232 = x_231; -} -lean_ctor_set(x_232, 0, x_229); -lean_ctor_set(x_232, 1, x_230); -lean_ctor_set(x_232, 2, x_223); -x_95 = x_228; -x_96 = x_232; -goto block_203; -} -else -{ -lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; -lean_dec(x_223); -lean_dec(x_94); -lean_dec(x_92); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_1); -x_233 = lean_ctor_get(x_226, 0); -lean_inc(x_233); -x_234 = lean_ctor_get(x_226, 1); -lean_inc(x_234); -if (lean_is_exclusive(x_226)) { - lean_ctor_release(x_226, 0); - lean_ctor_release(x_226, 1); - x_235 = x_226; -} else { - lean_dec_ref(x_226); - x_235 = lean_box(0); -} -if (lean_is_scalar(x_235)) { - x_236 = lean_alloc_ctor(1, 2, 0); -} else { - x_236 = x_235; -} -lean_ctor_set(x_236, 0, x_233); -lean_ctor_set(x_236, 1, x_234); -return x_236; -} -} -} -} -else -{ -uint8_t x_237; -x_237 = !lean_is_exclusive(x_7); -if (x_237 == 0) -{ -lean_object* x_238; lean_object* x_239; lean_object* x_240; -x_238 = lean_ctor_get(x_7, 2); -x_239 = l_HashMap_Inhabited___closed__1; -lean_ctor_set(x_7, 2, x_239); -lean_inc(x_6); -lean_inc(x_1); -x_240 = lean_apply_3(x_6, x_1, x_93, x_7); -if (lean_obj_tag(x_240) == 0) -{ -lean_object* x_241; lean_object* x_242; uint8_t x_243; -x_241 = lean_ctor_get(x_240, 1); -lean_inc(x_241); -x_242 = lean_ctor_get(x_240, 0); -lean_inc(x_242); -lean_dec(x_240); -x_243 = !lean_is_exclusive(x_241); -if (x_243 == 0) -{ -lean_object* x_244; -x_244 = lean_ctor_get(x_241, 2); -lean_dec(x_244); -lean_ctor_set(x_241, 2, x_238); -x_95 = x_242; -x_96 = x_241; -goto block_203; -} -else -{ -lean_object* x_245; lean_object* x_246; lean_object* x_247; -x_245 = lean_ctor_get(x_241, 0); -x_246 = lean_ctor_get(x_241, 1); -lean_inc(x_246); -lean_inc(x_245); -lean_dec(x_241); -x_247 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_247, 0, x_245); -lean_ctor_set(x_247, 1, x_246); -lean_ctor_set(x_247, 2, x_238); -x_95 = x_242; -x_96 = x_247; -goto block_203; -} -} -else -{ -uint8_t x_248; -lean_dec(x_238); -lean_dec(x_94); -lean_dec(x_92); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_1); -x_248 = !lean_is_exclusive(x_240); -if (x_248 == 0) -{ -return x_240; -} -else -{ -lean_object* x_249; lean_object* x_250; lean_object* x_251; -x_249 = lean_ctor_get(x_240, 0); -x_250 = lean_ctor_get(x_240, 1); -lean_inc(x_250); -lean_inc(x_249); -lean_dec(x_240); -x_251 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_251, 0, x_249); -lean_ctor_set(x_251, 1, x_250); -return x_251; -} -} -} -else -{ -lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; -x_252 = lean_ctor_get(x_7, 0); -x_253 = lean_ctor_get(x_7, 1); -x_254 = lean_ctor_get(x_7, 2); -lean_inc(x_254); -lean_inc(x_253); -lean_inc(x_252); -lean_dec(x_7); -x_255 = l_HashMap_Inhabited___closed__1; -x_256 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_256, 0, x_252); -lean_ctor_set(x_256, 1, x_253); -lean_ctor_set(x_256, 2, x_255); -lean_inc(x_6); -lean_inc(x_1); -x_257 = lean_apply_3(x_6, x_1, x_93, x_256); -if (lean_obj_tag(x_257) == 0) -{ -lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; -x_258 = lean_ctor_get(x_257, 1); -lean_inc(x_258); -x_259 = lean_ctor_get(x_257, 0); -lean_inc(x_259); -lean_dec(x_257); -x_260 = lean_ctor_get(x_258, 0); -lean_inc(x_260); -x_261 = lean_ctor_get(x_258, 1); -lean_inc(x_261); -if (lean_is_exclusive(x_258)) { - lean_ctor_release(x_258, 0); - lean_ctor_release(x_258, 1); - lean_ctor_release(x_258, 2); - x_262 = x_258; -} else { - lean_dec_ref(x_258); - x_262 = lean_box(0); -} -if (lean_is_scalar(x_262)) { - x_263 = lean_alloc_ctor(0, 3, 0); -} else { - x_263 = x_262; -} -lean_ctor_set(x_263, 0, x_260); -lean_ctor_set(x_263, 1, x_261); -lean_ctor_set(x_263, 2, x_254); -x_95 = x_259; -x_96 = x_263; -goto block_203; -} -else -{ -lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; -lean_dec(x_254); -lean_dec(x_94); -lean_dec(x_92); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_1); -x_264 = lean_ctor_get(x_257, 0); -lean_inc(x_264); -x_265 = lean_ctor_get(x_257, 1); -lean_inc(x_265); -if (lean_is_exclusive(x_257)) { - lean_ctor_release(x_257, 0); - lean_ctor_release(x_257, 1); - x_266 = x_257; -} else { - lean_dec_ref(x_257); - x_266 = lean_box(0); -} -if (lean_is_scalar(x_266)) { - x_267 = lean_alloc_ctor(1, 2, 0); -} else { - x_267 = x_266; -} -lean_ctor_set(x_267, 0, x_264); -lean_ctor_set(x_267, 1, x_265); -return x_267; -} -} -} -block_203: -{ -lean_object* x_97; uint8_t x_98; -x_97 = lean_expr_abstract_range(x_95, x_2, x_1); -lean_dec(x_95); -x_98 = lean_expr_has_expr_mvar(x_94); -if (x_98 == 0) -{ -uint8_t x_99; -x_99 = lean_expr_has_level_mvar(x_94); -if (x_99 == 0) -{ -lean_object* x_100; lean_object* x_101; lean_object* x_102; -lean_dec(x_6); -x_100 = lean_expr_abstract_range(x_94, x_2, x_1); -lean_dec(x_1); -lean_dec(x_94); -x_101 = lean_expr_mk_let(x_92, x_97, x_100, x_5); -x_102 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_102, 0, x_101); -lean_ctor_set(x_102, 1, x_96); -return x_102; -} -else -{ -uint8_t x_103; -x_103 = !lean_is_exclusive(x_96); -if (x_103 == 0) -{ -lean_object* x_104; lean_object* x_105; lean_object* x_106; -x_104 = lean_ctor_get(x_96, 2); -x_105 = l_HashMap_Inhabited___closed__1; -lean_ctor_set(x_96, 2, x_105); -lean_inc(x_1); -x_106 = lean_apply_3(x_6, x_1, x_94, x_96); -if (lean_obj_tag(x_106) == 0) -{ -uint8_t x_107; -x_107 = !lean_is_exclusive(x_106); -if (x_107 == 0) -{ -lean_object* x_108; uint8_t x_109; -x_108 = lean_ctor_get(x_106, 1); -x_109 = !lean_is_exclusive(x_108); -if (x_109 == 0) -{ -lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; -x_110 = lean_ctor_get(x_106, 0); -x_111 = lean_ctor_get(x_108, 2); -lean_dec(x_111); -lean_ctor_set(x_108, 2, x_104); -x_112 = lean_expr_abstract_range(x_110, x_2, x_1); -lean_dec(x_1); -lean_dec(x_110); -x_113 = lean_expr_mk_let(x_92, x_97, x_112, x_5); -lean_ctor_set(x_106, 0, x_113); -return x_106; -} -else -{ -lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; -x_114 = lean_ctor_get(x_106, 0); -x_115 = lean_ctor_get(x_108, 0); -x_116 = lean_ctor_get(x_108, 1); -lean_inc(x_116); -lean_inc(x_115); -lean_dec(x_108); -x_117 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_117, 0, x_115); -lean_ctor_set(x_117, 1, x_116); -lean_ctor_set(x_117, 2, x_104); -x_118 = lean_expr_abstract_range(x_114, x_2, x_1); -lean_dec(x_1); -lean_dec(x_114); -x_119 = lean_expr_mk_let(x_92, x_97, x_118, x_5); -lean_ctor_set(x_106, 1, x_117); -lean_ctor_set(x_106, 0, x_119); -return x_106; -} -} -else -{ -lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; -x_120 = lean_ctor_get(x_106, 1); -x_121 = lean_ctor_get(x_106, 0); -lean_inc(x_120); -lean_inc(x_121); -lean_dec(x_106); -x_122 = lean_ctor_get(x_120, 0); -lean_inc(x_122); -x_123 = lean_ctor_get(x_120, 1); -lean_inc(x_123); -if (lean_is_exclusive(x_120)) { - lean_ctor_release(x_120, 0); - lean_ctor_release(x_120, 1); - lean_ctor_release(x_120, 2); - x_124 = x_120; -} else { - lean_dec_ref(x_120); - x_124 = lean_box(0); -} -if (lean_is_scalar(x_124)) { - x_125 = lean_alloc_ctor(0, 3, 0); -} else { - x_125 = x_124; -} -lean_ctor_set(x_125, 0, x_122); -lean_ctor_set(x_125, 1, x_123); -lean_ctor_set(x_125, 2, x_104); -x_126 = lean_expr_abstract_range(x_121, x_2, x_1); -lean_dec(x_1); -lean_dec(x_121); -x_127 = lean_expr_mk_let(x_92, x_97, x_126, x_5); -x_128 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_128, 0, x_127); -lean_ctor_set(x_128, 1, x_125); -return x_128; -} -} -else -{ -uint8_t x_129; -lean_dec(x_104); -lean_dec(x_97); -lean_dec(x_92); -lean_dec(x_5); -lean_dec(x_1); -x_129 = !lean_is_exclusive(x_106); -if (x_129 == 0) -{ -return x_106; -} -else -{ -lean_object* x_130; lean_object* x_131; lean_object* x_132; -x_130 = lean_ctor_get(x_106, 0); -x_131 = lean_ctor_get(x_106, 1); -lean_inc(x_131); -lean_inc(x_130); -lean_dec(x_106); -x_132 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_132, 0, x_130); -lean_ctor_set(x_132, 1, x_131); -return x_132; -} -} -} -else -{ -lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; -x_133 = lean_ctor_get(x_96, 0); -x_134 = lean_ctor_get(x_96, 1); -x_135 = lean_ctor_get(x_96, 2); -lean_inc(x_135); -lean_inc(x_134); -lean_inc(x_133); -lean_dec(x_96); -x_136 = l_HashMap_Inhabited___closed__1; -x_137 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_137, 0, x_133); -lean_ctor_set(x_137, 1, x_134); -lean_ctor_set(x_137, 2, x_136); -lean_inc(x_1); -x_138 = lean_apply_3(x_6, x_1, x_94, x_137); -if (lean_obj_tag(x_138) == 0) -{ -lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; -x_139 = lean_ctor_get(x_138, 1); -lean_inc(x_139); -x_140 = lean_ctor_get(x_138, 0); -lean_inc(x_140); -if (lean_is_exclusive(x_138)) { - lean_ctor_release(x_138, 0); - lean_ctor_release(x_138, 1); - x_141 = x_138; -} else { - lean_dec_ref(x_138); - x_141 = lean_box(0); -} -x_142 = lean_ctor_get(x_139, 0); -lean_inc(x_142); -x_143 = lean_ctor_get(x_139, 1); -lean_inc(x_143); -if (lean_is_exclusive(x_139)) { - lean_ctor_release(x_139, 0); - lean_ctor_release(x_139, 1); - lean_ctor_release(x_139, 2); - x_144 = x_139; -} else { - lean_dec_ref(x_139); - x_144 = lean_box(0); -} -if (lean_is_scalar(x_144)) { - x_145 = lean_alloc_ctor(0, 3, 0); -} else { - x_145 = x_144; -} -lean_ctor_set(x_145, 0, x_142); -lean_ctor_set(x_145, 1, x_143); -lean_ctor_set(x_145, 2, x_135); -x_146 = lean_expr_abstract_range(x_140, x_2, x_1); -lean_dec(x_1); -lean_dec(x_140); -x_147 = lean_expr_mk_let(x_92, x_97, x_146, x_5); -if (lean_is_scalar(x_141)) { - x_148 = lean_alloc_ctor(0, 2, 0); -} else { - x_148 = x_141; -} -lean_ctor_set(x_148, 0, x_147); -lean_ctor_set(x_148, 1, x_145); -return x_148; -} -else -{ -lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; -lean_dec(x_135); -lean_dec(x_97); -lean_dec(x_92); -lean_dec(x_5); -lean_dec(x_1); -x_149 = lean_ctor_get(x_138, 0); -lean_inc(x_149); -x_150 = lean_ctor_get(x_138, 1); -lean_inc(x_150); -if (lean_is_exclusive(x_138)) { - lean_ctor_release(x_138, 0); - lean_ctor_release(x_138, 1); - x_151 = x_138; -} else { - lean_dec_ref(x_138); - x_151 = lean_box(0); -} -if (lean_is_scalar(x_151)) { - x_152 = lean_alloc_ctor(1, 2, 0); -} else { - x_152 = x_151; -} -lean_ctor_set(x_152, 0, x_149); -lean_ctor_set(x_152, 1, x_150); -return x_152; -} -} -} -} -else -{ -uint8_t x_153; -x_153 = !lean_is_exclusive(x_96); -if (x_153 == 0) -{ -lean_object* x_154; lean_object* x_155; lean_object* x_156; -x_154 = lean_ctor_get(x_96, 2); -x_155 = l_HashMap_Inhabited___closed__1; -lean_ctor_set(x_96, 2, x_155); -lean_inc(x_1); -x_156 = lean_apply_3(x_6, x_1, x_94, x_96); -if (lean_obj_tag(x_156) == 0) -{ -uint8_t x_157; -x_157 = !lean_is_exclusive(x_156); -if (x_157 == 0) -{ -lean_object* x_158; uint8_t x_159; -x_158 = lean_ctor_get(x_156, 1); -x_159 = !lean_is_exclusive(x_158); -if (x_159 == 0) -{ -lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; -x_160 = lean_ctor_get(x_156, 0); -x_161 = lean_ctor_get(x_158, 2); -lean_dec(x_161); -lean_ctor_set(x_158, 2, x_154); -x_162 = lean_expr_abstract_range(x_160, x_2, x_1); -lean_dec(x_1); -lean_dec(x_160); -x_163 = lean_expr_mk_let(x_92, x_97, x_162, x_5); -lean_ctor_set(x_156, 0, x_163); -return x_156; -} -else -{ -lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; -x_164 = lean_ctor_get(x_156, 0); -x_165 = lean_ctor_get(x_158, 0); -x_166 = lean_ctor_get(x_158, 1); -lean_inc(x_166); -lean_inc(x_165); -lean_dec(x_158); -x_167 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_167, 0, x_165); -lean_ctor_set(x_167, 1, x_166); -lean_ctor_set(x_167, 2, x_154); -x_168 = lean_expr_abstract_range(x_164, x_2, x_1); -lean_dec(x_1); -lean_dec(x_164); -x_169 = lean_expr_mk_let(x_92, x_97, x_168, x_5); -lean_ctor_set(x_156, 1, x_167); -lean_ctor_set(x_156, 0, x_169); -return x_156; -} -} -else -{ -lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; -x_170 = lean_ctor_get(x_156, 1); -x_171 = lean_ctor_get(x_156, 0); -lean_inc(x_170); -lean_inc(x_171); -lean_dec(x_156); -x_172 = lean_ctor_get(x_170, 0); -lean_inc(x_172); -x_173 = lean_ctor_get(x_170, 1); -lean_inc(x_173); -if (lean_is_exclusive(x_170)) { - lean_ctor_release(x_170, 0); - lean_ctor_release(x_170, 1); - lean_ctor_release(x_170, 2); - x_174 = x_170; -} else { - lean_dec_ref(x_170); - x_174 = lean_box(0); -} -if (lean_is_scalar(x_174)) { - x_175 = lean_alloc_ctor(0, 3, 0); -} else { - x_175 = x_174; -} -lean_ctor_set(x_175, 0, x_172); -lean_ctor_set(x_175, 1, x_173); -lean_ctor_set(x_175, 2, x_154); -x_176 = lean_expr_abstract_range(x_171, x_2, x_1); -lean_dec(x_1); -lean_dec(x_171); -x_177 = lean_expr_mk_let(x_92, x_97, x_176, x_5); -x_178 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_178, 0, x_177); -lean_ctor_set(x_178, 1, x_175); -return x_178; -} -} -else -{ -uint8_t x_179; -lean_dec(x_154); -lean_dec(x_97); -lean_dec(x_92); -lean_dec(x_5); -lean_dec(x_1); -x_179 = !lean_is_exclusive(x_156); -if (x_179 == 0) -{ -return x_156; -} -else -{ -lean_object* x_180; lean_object* x_181; lean_object* x_182; -x_180 = lean_ctor_get(x_156, 0); -x_181 = lean_ctor_get(x_156, 1); -lean_inc(x_181); -lean_inc(x_180); -lean_dec(x_156); -x_182 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_182, 0, x_180); -lean_ctor_set(x_182, 1, x_181); -return x_182; -} -} -} -else -{ -lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; -x_183 = lean_ctor_get(x_96, 0); -x_184 = lean_ctor_get(x_96, 1); -x_185 = lean_ctor_get(x_96, 2); -lean_inc(x_185); -lean_inc(x_184); -lean_inc(x_183); -lean_dec(x_96); -x_186 = l_HashMap_Inhabited___closed__1; -x_187 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_187, 0, x_183); -lean_ctor_set(x_187, 1, x_184); -lean_ctor_set(x_187, 2, x_186); -lean_inc(x_1); -x_188 = lean_apply_3(x_6, x_1, x_94, x_187); -if (lean_obj_tag(x_188) == 0) -{ -lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; -x_189 = lean_ctor_get(x_188, 1); -lean_inc(x_189); -x_190 = lean_ctor_get(x_188, 0); -lean_inc(x_190); -if (lean_is_exclusive(x_188)) { - lean_ctor_release(x_188, 0); - lean_ctor_release(x_188, 1); - x_191 = x_188; -} else { - lean_dec_ref(x_188); - x_191 = lean_box(0); -} -x_192 = lean_ctor_get(x_189, 0); -lean_inc(x_192); -x_193 = lean_ctor_get(x_189, 1); -lean_inc(x_193); -if (lean_is_exclusive(x_189)) { - lean_ctor_release(x_189, 0); - lean_ctor_release(x_189, 1); - lean_ctor_release(x_189, 2); - x_194 = x_189; -} else { - lean_dec_ref(x_189); - x_194 = lean_box(0); -} -if (lean_is_scalar(x_194)) { - x_195 = lean_alloc_ctor(0, 3, 0); -} else { - x_195 = x_194; -} -lean_ctor_set(x_195, 0, x_192); -lean_ctor_set(x_195, 1, x_193); -lean_ctor_set(x_195, 2, x_185); -x_196 = lean_expr_abstract_range(x_190, x_2, x_1); -lean_dec(x_1); -lean_dec(x_190); -x_197 = lean_expr_mk_let(x_92, x_97, x_196, x_5); -if (lean_is_scalar(x_191)) { - x_198 = lean_alloc_ctor(0, 2, 0); -} else { - x_198 = x_191; -} -lean_ctor_set(x_198, 0, x_197); -lean_ctor_set(x_198, 1, x_195); -return x_198; -} -else -{ -lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; -lean_dec(x_185); -lean_dec(x_97); -lean_dec(x_92); -lean_dec(x_5); -lean_dec(x_1); -x_199 = lean_ctor_get(x_188, 0); -lean_inc(x_199); -x_200 = lean_ctor_get(x_188, 1); -lean_inc(x_200); -if (lean_is_exclusive(x_188)) { - lean_ctor_release(x_188, 0); - lean_ctor_release(x_188, 1); - x_201 = x_188; -} else { - lean_dec_ref(x_188); - x_201 = lean_box(0); -} -if (lean_is_scalar(x_201)) { - x_202 = lean_alloc_ctor(1, 2, 0); -} else { - x_202 = x_201; -} -lean_ctor_set(x_202, 0, x_199); -lean_ctor_set(x_202, 1, x_200); -return x_202; -} -} -} -} -} -} -} -} -lean_object* l_Nat_foldRevMAux___main___at_Lean_AbstractMetavarContext_MkBinding_mkForallAux___spec__3___rarg(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; uint8_t x_10; -x_9 = lean_unsigned_to_nat(0u); -x_10 = lean_nat_dec_eq(x_6, x_9); -if (x_10 == 0) -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_11 = lean_unsigned_to_nat(1u); -x_12 = lean_nat_sub(x_6, x_11); -x_13 = lean_ctor_get(x_5, 1); -lean_inc(x_13); -x_14 = lean_box(x_2); -lean_inc(x_1); -lean_inc(x_3); -lean_inc(x_12); -lean_inc(x_4); -x_15 = lean_alloc_closure((void*)(l_Nat_foldRevMAux___main___at_Lean_AbstractMetavarContext_MkBinding_mkForallAux___spec__3___rarg___lambda__1___boxed), 7, 6); -lean_closure_set(x_15, 0, x_4); -lean_closure_set(x_15, 1, x_12); -lean_closure_set(x_15, 2, x_3); -lean_closure_set(x_15, 3, x_14); -lean_closure_set(x_15, 4, x_7); -lean_closure_set(x_15, 5, x_1); -x_16 = lean_box(x_2); -x_17 = lean_alloc_closure((void*)(l_Nat_foldRevMAux___main___at_Lean_AbstractMetavarContext_MkBinding_mkForallAux___spec__3___rarg___boxed), 8, 6); -lean_closure_set(x_17, 0, x_1); -lean_closure_set(x_17, 1, x_16); -lean_closure_set(x_17, 2, x_3); -lean_closure_set(x_17, 3, x_4); -lean_closure_set(x_17, 4, x_5); -lean_closure_set(x_17, 5, x_12); -x_18 = lean_apply_5(x_13, lean_box(0), lean_box(0), x_15, x_17, x_8); -return x_18; -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_19 = lean_ctor_get(x_5, 0); -lean_inc(x_19); -lean_dec(x_5); -x_20 = lean_ctor_get(x_19, 1); -lean_inc(x_20); -lean_dec(x_19); -x_21 = lean_apply_3(x_20, lean_box(0), x_7, x_8); -return x_21; -} -} -} -lean_object* l_Nat_foldRevMAux___main___at_Lean_AbstractMetavarContext_MkBinding_mkForallAux___spec__3(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Nat_foldRevMAux___main___at_Lean_AbstractMetavarContext_MkBinding_mkForallAux___spec__3___rarg___boxed), 8, 0); -return x_2; -} -} -lean_object* l_Lean_AbstractMetavarContext_MkBinding_mkBinding___at_Lean_AbstractMetavarContext_MkBinding_mkForallAux___spec__1___rarg(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; uint8_t x_8; -x_7 = lean_array_get_size(x_4); -x_8 = lean_expr_has_expr_mvar(x_5); -if (x_8 == 0) -{ -uint8_t x_9; -x_9 = lean_expr_has_level_mvar(x_5); -if (x_9 == 0) -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_10 = lean_expr_abstract_range(x_5, x_7, x_4); -lean_dec(x_5); -x_11 = l_EIO_Monad___closed__1; -x_12 = l_Nat_foldRevMAux___main___at_Lean_AbstractMetavarContext_MkBinding_mkForallAux___spec__3___rarg(x_1, x_2, x_3, x_4, x_11, x_7, x_10, x_6); -lean_dec(x_7); -return x_12; -} -else -{ -uint8_t x_13; -x_13 = !lean_is_exclusive(x_6); -if (x_13 == 0) -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_14 = lean_ctor_get(x_6, 2); -x_15 = l_HashMap_Inhabited___closed__1; -lean_ctor_set(x_6, 2, x_15); -lean_inc(x_1); -lean_inc(x_4); -x_16 = lean_apply_3(x_1, x_4, x_5, x_6); -if (lean_obj_tag(x_16) == 0) -{ -lean_object* x_17; lean_object* x_18; uint8_t x_19; -x_17 = lean_ctor_get(x_16, 1); -lean_inc(x_17); -x_18 = lean_ctor_get(x_16, 0); -lean_inc(x_18); -lean_dec(x_16); -x_19 = !lean_is_exclusive(x_17); -if (x_19 == 0) -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_20 = lean_ctor_get(x_17, 2); -lean_dec(x_20); -lean_ctor_set(x_17, 2, x_14); -x_21 = lean_expr_abstract_range(x_18, x_7, x_4); -lean_dec(x_18); -x_22 = l_EIO_Monad___closed__1; -x_23 = l_Nat_foldRevMAux___main___at_Lean_AbstractMetavarContext_MkBinding_mkForallAux___spec__3___rarg(x_1, x_2, x_3, x_4, x_22, x_7, x_21, x_17); -lean_dec(x_7); -return x_23; -} -else -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_24 = lean_ctor_get(x_17, 0); -x_25 = lean_ctor_get(x_17, 1); -lean_inc(x_25); -lean_inc(x_24); -lean_dec(x_17); -x_26 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_26, 0, x_24); -lean_ctor_set(x_26, 1, x_25); -lean_ctor_set(x_26, 2, x_14); -x_27 = lean_expr_abstract_range(x_18, x_7, x_4); -lean_dec(x_18); -x_28 = l_EIO_Monad___closed__1; -x_29 = l_Nat_foldRevMAux___main___at_Lean_AbstractMetavarContext_MkBinding_mkForallAux___spec__3___rarg(x_1, x_2, x_3, x_4, x_28, x_7, x_27, x_26); -lean_dec(x_7); -return x_29; -} -} -else -{ -uint8_t x_30; -lean_dec(x_14); -lean_dec(x_7); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_30 = !lean_is_exclusive(x_16); -if (x_30 == 0) -{ -return x_16; -} -else -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_31 = lean_ctor_get(x_16, 0); -x_32 = lean_ctor_get(x_16, 1); -lean_inc(x_32); -lean_inc(x_31); -lean_dec(x_16); -x_33 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_33, 0, x_31); -lean_ctor_set(x_33, 1, x_32); -return x_33; -} -} -} -else -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_34 = lean_ctor_get(x_6, 0); -x_35 = lean_ctor_get(x_6, 1); -x_36 = lean_ctor_get(x_6, 2); -lean_inc(x_36); -lean_inc(x_35); -lean_inc(x_34); -lean_dec(x_6); -x_37 = l_HashMap_Inhabited___closed__1; -x_38 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_38, 0, x_34); -lean_ctor_set(x_38, 1, x_35); -lean_ctor_set(x_38, 2, x_37); -lean_inc(x_1); -lean_inc(x_4); -x_39 = lean_apply_3(x_1, x_4, x_5, x_38); -if (lean_obj_tag(x_39) == 0) -{ -lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_40 = lean_ctor_get(x_39, 1); -lean_inc(x_40); -x_41 = lean_ctor_get(x_39, 0); -lean_inc(x_41); -lean_dec(x_39); -x_42 = lean_ctor_get(x_40, 0); -lean_inc(x_42); -x_43 = lean_ctor_get(x_40, 1); -lean_inc(x_43); -if (lean_is_exclusive(x_40)) { - lean_ctor_release(x_40, 0); - lean_ctor_release(x_40, 1); - lean_ctor_release(x_40, 2); - x_44 = x_40; -} else { - lean_dec_ref(x_40); - x_44 = lean_box(0); -} -if (lean_is_scalar(x_44)) { - x_45 = lean_alloc_ctor(0, 3, 0); -} else { - x_45 = x_44; -} -lean_ctor_set(x_45, 0, x_42); -lean_ctor_set(x_45, 1, x_43); -lean_ctor_set(x_45, 2, x_36); -x_46 = lean_expr_abstract_range(x_41, x_7, x_4); -lean_dec(x_41); -x_47 = l_EIO_Monad___closed__1; -x_48 = l_Nat_foldRevMAux___main___at_Lean_AbstractMetavarContext_MkBinding_mkForallAux___spec__3___rarg(x_1, x_2, x_3, x_4, x_47, x_7, x_46, x_45); -lean_dec(x_7); -return x_48; -} -else -{ -lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; -lean_dec(x_36); -lean_dec(x_7); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_49 = lean_ctor_get(x_39, 0); -lean_inc(x_49); -x_50 = lean_ctor_get(x_39, 1); -lean_inc(x_50); -if (lean_is_exclusive(x_39)) { - lean_ctor_release(x_39, 0); - lean_ctor_release(x_39, 1); - x_51 = x_39; -} else { - lean_dec_ref(x_39); - x_51 = lean_box(0); -} -if (lean_is_scalar(x_51)) { - x_52 = lean_alloc_ctor(1, 2, 0); -} else { - x_52 = x_51; -} -lean_ctor_set(x_52, 0, x_49); -lean_ctor_set(x_52, 1, x_50); -return x_52; -} -} -} -} -else -{ -uint8_t x_53; -x_53 = !lean_is_exclusive(x_6); -if (x_53 == 0) -{ -lean_object* x_54; lean_object* x_55; lean_object* x_56; -x_54 = lean_ctor_get(x_6, 2); -x_55 = l_HashMap_Inhabited___closed__1; -lean_ctor_set(x_6, 2, x_55); -lean_inc(x_1); -lean_inc(x_4); -x_56 = lean_apply_3(x_1, x_4, x_5, x_6); -if (lean_obj_tag(x_56) == 0) -{ -lean_object* x_57; lean_object* x_58; uint8_t x_59; -x_57 = lean_ctor_get(x_56, 1); -lean_inc(x_57); -x_58 = lean_ctor_get(x_56, 0); -lean_inc(x_58); -lean_dec(x_56); -x_59 = !lean_is_exclusive(x_57); -if (x_59 == 0) -{ -lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; -x_60 = lean_ctor_get(x_57, 2); -lean_dec(x_60); -lean_ctor_set(x_57, 2, x_54); -x_61 = lean_expr_abstract_range(x_58, x_7, x_4); -lean_dec(x_58); -x_62 = l_EIO_Monad___closed__1; -x_63 = l_Nat_foldRevMAux___main___at_Lean_AbstractMetavarContext_MkBinding_mkForallAux___spec__3___rarg(x_1, x_2, x_3, x_4, x_62, x_7, x_61, x_57); -lean_dec(x_7); -return x_63; -} -else -{ -lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; -x_64 = lean_ctor_get(x_57, 0); -x_65 = lean_ctor_get(x_57, 1); -lean_inc(x_65); -lean_inc(x_64); -lean_dec(x_57); -x_66 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_66, 0, x_64); -lean_ctor_set(x_66, 1, x_65); -lean_ctor_set(x_66, 2, x_54); -x_67 = lean_expr_abstract_range(x_58, x_7, x_4); -lean_dec(x_58); -x_68 = l_EIO_Monad___closed__1; -x_69 = l_Nat_foldRevMAux___main___at_Lean_AbstractMetavarContext_MkBinding_mkForallAux___spec__3___rarg(x_1, x_2, x_3, x_4, x_68, x_7, x_67, x_66); -lean_dec(x_7); -return x_69; -} -} -else -{ -uint8_t x_70; -lean_dec(x_54); -lean_dec(x_7); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_70 = !lean_is_exclusive(x_56); -if (x_70 == 0) -{ -return x_56; -} -else -{ -lean_object* x_71; lean_object* x_72; lean_object* x_73; -x_71 = lean_ctor_get(x_56, 0); -x_72 = lean_ctor_get(x_56, 1); -lean_inc(x_72); -lean_inc(x_71); -lean_dec(x_56); -x_73 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_73, 0, x_71); -lean_ctor_set(x_73, 1, x_72); -return x_73; -} -} -} -else -{ -lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; -x_74 = lean_ctor_get(x_6, 0); -x_75 = lean_ctor_get(x_6, 1); -x_76 = lean_ctor_get(x_6, 2); -lean_inc(x_76); -lean_inc(x_75); -lean_inc(x_74); -lean_dec(x_6); -x_77 = l_HashMap_Inhabited___closed__1; -x_78 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_78, 0, x_74); -lean_ctor_set(x_78, 1, x_75); -lean_ctor_set(x_78, 2, x_77); -lean_inc(x_1); -lean_inc(x_4); -x_79 = lean_apply_3(x_1, x_4, x_5, x_78); -if (lean_obj_tag(x_79) == 0) -{ -lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; -x_80 = lean_ctor_get(x_79, 1); -lean_inc(x_80); -x_81 = lean_ctor_get(x_79, 0); -lean_inc(x_81); -lean_dec(x_79); -x_82 = lean_ctor_get(x_80, 0); -lean_inc(x_82); -x_83 = lean_ctor_get(x_80, 1); -lean_inc(x_83); -if (lean_is_exclusive(x_80)) { - lean_ctor_release(x_80, 0); - lean_ctor_release(x_80, 1); - lean_ctor_release(x_80, 2); - x_84 = x_80; -} else { - lean_dec_ref(x_80); - x_84 = lean_box(0); -} -if (lean_is_scalar(x_84)) { - x_85 = lean_alloc_ctor(0, 3, 0); -} else { - x_85 = x_84; -} -lean_ctor_set(x_85, 0, x_82); -lean_ctor_set(x_85, 1, x_83); -lean_ctor_set(x_85, 2, x_76); -x_86 = lean_expr_abstract_range(x_81, x_7, x_4); -lean_dec(x_81); -x_87 = l_EIO_Monad___closed__1; -x_88 = l_Nat_foldRevMAux___main___at_Lean_AbstractMetavarContext_MkBinding_mkForallAux___spec__3___rarg(x_1, x_2, x_3, x_4, x_87, x_7, x_86, x_85); -lean_dec(x_7); -return x_88; -} -else -{ -lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; -lean_dec(x_76); -lean_dec(x_7); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_89 = lean_ctor_get(x_79, 0); -lean_inc(x_89); -x_90 = lean_ctor_get(x_79, 1); -lean_inc(x_90); -if (lean_is_exclusive(x_79)) { - lean_ctor_release(x_79, 0); - lean_ctor_release(x_79, 1); - x_91 = x_79; -} else { - lean_dec_ref(x_79); - x_91 = lean_box(0); -} -if (lean_is_scalar(x_91)) { - x_92 = lean_alloc_ctor(1, 2, 0); -} else { - x_92 = x_91; -} -lean_ctor_set(x_92, 0, x_89); -lean_ctor_set(x_92, 1, x_90); -return x_92; -} -} -} -} -} -lean_object* l_Lean_AbstractMetavarContext_MkBinding_mkBinding___at_Lean_AbstractMetavarContext_MkBinding_mkForallAux___spec__1(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Lean_AbstractMetavarContext_MkBinding_mkBinding___at_Lean_AbstractMetavarContext_MkBinding_mkForallAux___spec__1___rarg___boxed), 6, 0); -return x_3; -} -} -lean_object* l_Lean_AbstractMetavarContext_MkBinding_mkForallAux___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: -{ -uint8_t x_7; lean_object* x_8; -x_7 = 0; -x_8 = l_Lean_AbstractMetavarContext_MkBinding_mkBinding___at_Lean_AbstractMetavarContext_MkBinding_mkForallAux___spec__1___rarg(x_2, x_7, x_3, x_4, x_5, x_6); -return x_8; -} -} -lean_object* l_Lean_AbstractMetavarContext_MkBinding_mkForallAux(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_AbstractMetavarContext_MkBinding_mkForallAux___rarg___boxed), 6, 0); -return x_2; -} -} -lean_object* l_panicWithPos___at_Lean_AbstractMetavarContext_MkBinding_mkForallAux___spec__2___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; -x_6 = l_panicWithPos___at_Lean_AbstractMetavarContext_MkBinding_mkForallAux___spec__2___rarg(x_1, x_2, x_3, x_4, x_5); -lean_dec(x_4); -lean_dec(x_1); -return x_6; -} -} -lean_object* l_Nat_foldRevMAux___main___at_Lean_AbstractMetavarContext_MkBinding_mkForallAux___spec__3___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_4); -lean_dec(x_4); -x_9 = l_Nat_foldRevMAux___main___at_Lean_AbstractMetavarContext_MkBinding_mkForallAux___spec__3___rarg___lambda__1(x_1, x_2, x_3, x_8, x_5, x_6, x_7); -lean_dec(x_2); -return x_9; -} -} -lean_object* l_Nat_foldRevMAux___main___at_Lean_AbstractMetavarContext_MkBinding_mkForallAux___spec__3___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_2); -lean_dec(x_2); -x_10 = l_Nat_foldRevMAux___main___at_Lean_AbstractMetavarContext_MkBinding_mkForallAux___spec__3___rarg(x_1, x_9, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_6); -return x_10; -} -} -lean_object* l_Lean_AbstractMetavarContext_MkBinding_mkBinding___at_Lean_AbstractMetavarContext_MkBinding_mkForallAux___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -uint8_t x_7; lean_object* x_8; -x_7 = lean_unbox(x_2); -lean_dec(x_2); -x_8 = l_Lean_AbstractMetavarContext_MkBinding_mkBinding___at_Lean_AbstractMetavarContext_MkBinding_mkForallAux___spec__1___rarg(x_1, x_7, x_3, x_4, x_5, x_6); -return x_8; -} -} -lean_object* l_Lean_AbstractMetavarContext_MkBinding_mkBinding___at_Lean_AbstractMetavarContext_MkBinding_mkForallAux___spec__1___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Lean_AbstractMetavarContext_MkBinding_mkBinding___at_Lean_AbstractMetavarContext_MkBinding_mkForallAux___spec__1(x_1, x_2); -lean_dec(x_2); -return x_3; -} -} -lean_object* l_Lean_AbstractMetavarContext_MkBinding_mkForallAux___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_AbstractMetavarContext_MkBinding_mkForallAux___rarg(x_1, x_2, x_3, x_4, x_5, x_6); -lean_dec(x_1); -return x_7; -} -} -lean_object* l_Array_iterateMAux___main___at_Lean_AbstractMetavarContext_MkBinding_mkMVarApp___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; 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_Lean_LocalContext_findFVar(x_1, x_8); -x_10 = lean_unsigned_to_nat(1u); -x_11 = lean_nat_add(x_4, x_10); -lean_dec(x_4); -if (lean_obj_tag(x_9) == 0) -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; -x_12 = l_Option_get_x21___rarg___closed__1; -x_13 = lean_unsigned_to_nat(16u); -x_14 = lean_unsigned_to_nat(12u); -x_15 = l_Option_get_x21___rarg___closed__2; -x_16 = l_panicWithPos___at_Lean_AbstractMetavarContext_MkBindingException_toStr___spec__1(x_12, x_13, x_14, x_15); -x_17 = l_Lean_LocalDecl_isLet(x_16); -lean_dec(x_16); -if (x_17 == 0) -{ -lean_object* x_18; -x_18 = lean_expr_mk_app(x_5, x_8); -x_4 = x_11; -x_5 = x_18; -goto _start; -} -else -{ -lean_dec(x_8); -x_4 = x_11; -goto _start; -} -} -else -{ -lean_object* x_21; uint8_t x_22; -x_21 = lean_ctor_get(x_9, 0); -lean_inc(x_21); -lean_dec(x_9); -x_22 = l_Lean_LocalDecl_isLet(x_21); -lean_dec(x_21); -if (x_22 == 0) -{ -lean_object* x_23; -x_23 = lean_expr_mk_app(x_5, x_8); -x_4 = x_11; -x_5 = x_23; -goto _start; -} -else -{ -lean_dec(x_8); -x_4 = x_11; -goto _start; -} -} -} -} -} -lean_object* l_Lean_AbstractMetavarContext_MkBinding_mkMVarApp(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; lean_object* x_5; -x_4 = lean_unsigned_to_nat(0u); -x_5 = l_Array_iterateMAux___main___at_Lean_AbstractMetavarContext_MkBinding_mkMVarApp___spec__1(x_1, x_3, x_3, x_4, x_2); -return x_5; -} -} -lean_object* l_Array_iterateMAux___main___at_Lean_AbstractMetavarContext_MkBinding_mkMVarApp___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_Array_iterateMAux___main___at_Lean_AbstractMetavarContext_MkBinding_mkMVarApp___spec__1(x_1, x_2, x_3, x_4, x_5); -lean_dec(x_3); -lean_dec(x_2); -return x_6; -} -} -lean_object* l_Lean_AbstractMetavarContext_MkBinding_mkMVarApp___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l_Lean_AbstractMetavarContext_MkBinding_mkMVarApp(x_1, x_2, x_3); -lean_dec(x_3); -return x_4; -} -} -lean_object* l_panicWithPos___at_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___spec__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_6 = l_panicWithPos___rarg___closed__1; -x_7 = lean_string_append(x_6, x_1); -x_8 = l_panicWithPos___rarg___closed__2; -x_9 = lean_string_append(x_7, x_8); -x_10 = l_Nat_repr(x_2); -x_11 = lean_string_append(x_9, x_10); -lean_dec(x_10); -x_12 = l_panicWithPos___rarg___closed__2; -x_13 = lean_string_append(x_11, x_12); -x_14 = l_Nat_repr(x_3); -x_15 = lean_string_append(x_13, x_14); -lean_dec(x_14); -x_16 = l_panicWithPos___rarg___closed__3; -x_17 = lean_string_append(x_15, x_16); -x_18 = lean_string_append(x_17, x_4); -x_19 = l_panicWithPos___at_Lean_AbstractMetavarContext_MkBinding_mkBinding___spec__1___rarg___closed__1; -x_20 = lean_panic_fn(x_18); -x_21 = lean_apply_1(x_20, x_5); -return x_21; -} -} -lean_object* l_panicWithPos___at_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___spec__2(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_panicWithPos___at_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___spec__2___rarg___boxed), 5, 0); -return x_2; -} -} -lean_object* l_Nat_foldRevMAux___main___at_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___spec__3___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; -x_8 = l_Lean_exprIsInhabited; -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); -if (lean_obj_tag(x_10) == 0) -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; -lean_dec(x_6); -lean_dec(x_5); -x_11 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_instantiateDelayedAux___main___rarg___closed__1; -x_12 = lean_unsigned_to_nat(404u); -x_13 = lean_unsigned_to_nat(16u); -x_14 = l_Nat_foldRevAux___main___at_Lean_LocalContext_mkBinding___spec__1___closed__1; -x_15 = l_panicWithPos___at_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___spec__2___rarg(x_11, x_12, x_13, x_14, x_7); -return x_15; -} -else -{ -lean_object* x_16; -x_16 = lean_ctor_get(x_10, 0); -lean_inc(x_16); -lean_dec(x_10); -if (lean_obj_tag(x_16) == 0) -{ -lean_object* x_17; lean_object* x_18; uint8_t x_19; lean_object* x_20; lean_object* x_21; uint8_t x_28; -x_17 = lean_ctor_get(x_16, 2); -lean_inc(x_17); -x_18 = lean_ctor_get(x_16, 3); -lean_inc(x_18); -x_19 = lean_ctor_get_uint8(x_16, sizeof(void*)*4); -lean_dec(x_16); -x_28 = lean_expr_has_expr_mvar(x_18); -if (x_28 == 0) -{ -uint8_t x_29; -x_29 = lean_expr_has_level_mvar(x_18); -if (x_29 == 0) -{ -lean_dec(x_6); -x_20 = x_18; -x_21 = x_7; -goto block_27; -} -else -{ -uint8_t x_30; -x_30 = !lean_is_exclusive(x_7); -if (x_30 == 0) -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_31 = lean_ctor_get(x_7, 2); -x_32 = l_HashMap_Inhabited___closed__1; -lean_ctor_set(x_7, 2, x_32); -x_33 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___rarg(x_6, x_1, x_18, x_7); -if (lean_obj_tag(x_33) == 0) -{ -lean_object* x_34; lean_object* x_35; uint8_t x_36; -x_34 = lean_ctor_get(x_33, 1); -lean_inc(x_34); -x_35 = lean_ctor_get(x_33, 0); -lean_inc(x_35); -lean_dec(x_33); -x_36 = !lean_is_exclusive(x_34); -if (x_36 == 0) -{ -lean_object* x_37; -x_37 = lean_ctor_get(x_34, 2); -lean_dec(x_37); -lean_ctor_set(x_34, 2, x_31); -x_20 = x_35; -x_21 = x_34; -goto block_27; -} -else -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_38 = lean_ctor_get(x_34, 0); -x_39 = lean_ctor_get(x_34, 1); -lean_inc(x_39); -lean_inc(x_38); -lean_dec(x_34); -x_40 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_40, 0, x_38); -lean_ctor_set(x_40, 1, x_39); -lean_ctor_set(x_40, 2, x_31); -x_20 = x_35; -x_21 = x_40; -goto block_27; -} -} -else -{ -uint8_t x_41; -lean_dec(x_31); -lean_dec(x_17); -lean_dec(x_5); -x_41 = !lean_is_exclusive(x_33); -if (x_41 == 0) -{ -return x_33; -} -else -{ -lean_object* x_42; lean_object* x_43; lean_object* x_44; -x_42 = lean_ctor_get(x_33, 0); -x_43 = lean_ctor_get(x_33, 1); -lean_inc(x_43); -lean_inc(x_42); -lean_dec(x_33); -x_44 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_44, 0, x_42); -lean_ctor_set(x_44, 1, x_43); -return x_44; -} -} -} -else -{ -lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; -x_45 = lean_ctor_get(x_7, 0); -x_46 = lean_ctor_get(x_7, 1); -x_47 = lean_ctor_get(x_7, 2); -lean_inc(x_47); -lean_inc(x_46); -lean_inc(x_45); -lean_dec(x_7); -x_48 = l_HashMap_Inhabited___closed__1; -x_49 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_49, 0, x_45); -lean_ctor_set(x_49, 1, x_46); -lean_ctor_set(x_49, 2, x_48); -x_50 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___rarg(x_6, x_1, x_18, x_49); -if (lean_obj_tag(x_50) == 0) -{ -lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; -x_51 = lean_ctor_get(x_50, 1); -lean_inc(x_51); -x_52 = lean_ctor_get(x_50, 0); -lean_inc(x_52); -lean_dec(x_50); -x_53 = lean_ctor_get(x_51, 0); -lean_inc(x_53); -x_54 = lean_ctor_get(x_51, 1); -lean_inc(x_54); -if (lean_is_exclusive(x_51)) { - lean_ctor_release(x_51, 0); - lean_ctor_release(x_51, 1); - lean_ctor_release(x_51, 2); - x_55 = x_51; -} else { - lean_dec_ref(x_51); - x_55 = lean_box(0); -} -if (lean_is_scalar(x_55)) { - x_56 = lean_alloc_ctor(0, 3, 0); -} else { - x_56 = x_55; -} -lean_ctor_set(x_56, 0, x_53); -lean_ctor_set(x_56, 1, x_54); -lean_ctor_set(x_56, 2, x_47); -x_20 = x_52; -x_21 = x_56; -goto block_27; -} -else -{ -lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; -lean_dec(x_47); -lean_dec(x_17); -lean_dec(x_5); -x_57 = lean_ctor_get(x_50, 0); -lean_inc(x_57); -x_58 = lean_ctor_get(x_50, 1); -lean_inc(x_58); -if (lean_is_exclusive(x_50)) { - lean_ctor_release(x_50, 0); - lean_ctor_release(x_50, 1); - x_59 = x_50; -} else { - lean_dec_ref(x_50); - x_59 = lean_box(0); -} -if (lean_is_scalar(x_59)) { - x_60 = lean_alloc_ctor(1, 2, 0); -} else { - x_60 = x_59; -} -lean_ctor_set(x_60, 0, x_57); -lean_ctor_set(x_60, 1, x_58); -return x_60; -} -} -} -} -else -{ -uint8_t x_61; -x_61 = !lean_is_exclusive(x_7); -if (x_61 == 0) -{ -lean_object* x_62; lean_object* x_63; lean_object* x_64; -x_62 = lean_ctor_get(x_7, 2); -x_63 = l_HashMap_Inhabited___closed__1; -lean_ctor_set(x_7, 2, x_63); -x_64 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___rarg(x_6, x_1, x_18, x_7); -if (lean_obj_tag(x_64) == 0) -{ -lean_object* x_65; lean_object* x_66; uint8_t x_67; -x_65 = lean_ctor_get(x_64, 1); -lean_inc(x_65); -x_66 = lean_ctor_get(x_64, 0); -lean_inc(x_66); -lean_dec(x_64); -x_67 = !lean_is_exclusive(x_65); -if (x_67 == 0) -{ -lean_object* x_68; -x_68 = lean_ctor_get(x_65, 2); -lean_dec(x_68); -lean_ctor_set(x_65, 2, x_62); -x_20 = x_66; -x_21 = x_65; -goto block_27; -} -else -{ -lean_object* x_69; lean_object* x_70; lean_object* x_71; -x_69 = lean_ctor_get(x_65, 0); -x_70 = lean_ctor_get(x_65, 1); -lean_inc(x_70); -lean_inc(x_69); -lean_dec(x_65); -x_71 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_71, 0, x_69); -lean_ctor_set(x_71, 1, x_70); -lean_ctor_set(x_71, 2, x_62); -x_20 = x_66; -x_21 = x_71; -goto block_27; -} -} -else -{ -uint8_t x_72; -lean_dec(x_62); -lean_dec(x_17); -lean_dec(x_5); -x_72 = !lean_is_exclusive(x_64); -if (x_72 == 0) -{ -return x_64; -} -else -{ -lean_object* x_73; lean_object* x_74; lean_object* x_75; -x_73 = lean_ctor_get(x_64, 0); -x_74 = lean_ctor_get(x_64, 1); -lean_inc(x_74); -lean_inc(x_73); -lean_dec(x_64); -x_75 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_75, 0, x_73); -lean_ctor_set(x_75, 1, x_74); -return x_75; -} -} -} -else -{ -lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; -x_76 = lean_ctor_get(x_7, 0); -x_77 = lean_ctor_get(x_7, 1); -x_78 = lean_ctor_get(x_7, 2); -lean_inc(x_78); -lean_inc(x_77); -lean_inc(x_76); -lean_dec(x_7); -x_79 = l_HashMap_Inhabited___closed__1; -x_80 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_80, 0, x_76); -lean_ctor_set(x_80, 1, x_77); -lean_ctor_set(x_80, 2, x_79); -x_81 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___rarg(x_6, x_1, x_18, x_80); -if (lean_obj_tag(x_81) == 0) -{ -lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; -x_82 = lean_ctor_get(x_81, 1); -lean_inc(x_82); -x_83 = lean_ctor_get(x_81, 0); -lean_inc(x_83); -lean_dec(x_81); -x_84 = lean_ctor_get(x_82, 0); -lean_inc(x_84); -x_85 = lean_ctor_get(x_82, 1); -lean_inc(x_85); -if (lean_is_exclusive(x_82)) { - lean_ctor_release(x_82, 0); - lean_ctor_release(x_82, 1); - lean_ctor_release(x_82, 2); - x_86 = x_82; -} else { - lean_dec_ref(x_82); - x_86 = lean_box(0); -} -if (lean_is_scalar(x_86)) { - x_87 = lean_alloc_ctor(0, 3, 0); -} else { - x_87 = x_86; -} -lean_ctor_set(x_87, 0, x_84); -lean_ctor_set(x_87, 1, x_85); -lean_ctor_set(x_87, 2, x_78); -x_20 = x_83; -x_21 = x_87; -goto block_27; -} -else -{ -lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; -lean_dec(x_78); -lean_dec(x_17); -lean_dec(x_5); -x_88 = lean_ctor_get(x_81, 0); -lean_inc(x_88); -x_89 = lean_ctor_get(x_81, 1); -lean_inc(x_89); -if (lean_is_exclusive(x_81)) { - lean_ctor_release(x_81, 0); - lean_ctor_release(x_81, 1); - x_90 = x_81; -} else { - lean_dec_ref(x_81); - x_90 = lean_box(0); -} -if (lean_is_scalar(x_90)) { - x_91 = lean_alloc_ctor(1, 2, 0); -} else { - x_91 = x_90; -} -lean_ctor_set(x_91, 0, x_88); -lean_ctor_set(x_91, 1, x_89); -return x_91; -} -} -} -block_27: -{ -lean_object* x_22; -x_22 = lean_expr_abstract_range(x_20, x_2, x_1); -lean_dec(x_20); -if (x_4 == 0) -{ -lean_object* x_23; lean_object* x_24; -x_23 = lean_expr_mk_forall(x_17, x_19, x_22, x_5); -x_24 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_24, 0, x_23); -lean_ctor_set(x_24, 1, x_21); -return x_24; -} -else -{ -lean_object* x_25; lean_object* x_26; -x_25 = lean_expr_mk_lambda(x_17, x_19, x_22, x_5); -x_26 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_26, 0, x_25); -lean_ctor_set(x_26, 1, x_21); -return x_26; -} -} -} -else -{ -lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; uint8_t x_204; -x_92 = lean_ctor_get(x_16, 2); -lean_inc(x_92); -x_93 = lean_ctor_get(x_16, 3); -lean_inc(x_93); -x_94 = lean_ctor_get(x_16, 4); -lean_inc(x_94); -lean_dec(x_16); -x_204 = lean_expr_has_expr_mvar(x_93); -if (x_204 == 0) -{ -uint8_t x_205; -x_205 = lean_expr_has_level_mvar(x_93); -if (x_205 == 0) -{ -x_95 = x_93; -x_96 = x_7; -goto block_203; -} -else -{ -uint8_t x_206; -x_206 = !lean_is_exclusive(x_7); -if (x_206 == 0) -{ -lean_object* x_207; lean_object* x_208; lean_object* x_209; -x_207 = lean_ctor_get(x_7, 2); -x_208 = l_HashMap_Inhabited___closed__1; -lean_ctor_set(x_7, 2, x_208); -lean_inc(x_6); -x_209 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___rarg(x_6, x_1, x_93, x_7); -if (lean_obj_tag(x_209) == 0) -{ -lean_object* x_210; lean_object* x_211; uint8_t x_212; -x_210 = lean_ctor_get(x_209, 1); -lean_inc(x_210); -x_211 = lean_ctor_get(x_209, 0); -lean_inc(x_211); -lean_dec(x_209); -x_212 = !lean_is_exclusive(x_210); -if (x_212 == 0) -{ -lean_object* x_213; -x_213 = lean_ctor_get(x_210, 2); -lean_dec(x_213); -lean_ctor_set(x_210, 2, x_207); -x_95 = x_211; -x_96 = x_210; -goto block_203; -} -else -{ -lean_object* x_214; lean_object* x_215; lean_object* x_216; -x_214 = lean_ctor_get(x_210, 0); -x_215 = lean_ctor_get(x_210, 1); -lean_inc(x_215); -lean_inc(x_214); -lean_dec(x_210); -x_216 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_216, 0, x_214); -lean_ctor_set(x_216, 1, x_215); -lean_ctor_set(x_216, 2, x_207); -x_95 = x_211; -x_96 = x_216; -goto block_203; -} -} -else -{ -uint8_t x_217; -lean_dec(x_207); -lean_dec(x_94); -lean_dec(x_92); -lean_dec(x_6); -lean_dec(x_5); -x_217 = !lean_is_exclusive(x_209); -if (x_217 == 0) -{ -return x_209; -} -else -{ -lean_object* x_218; lean_object* x_219; lean_object* x_220; -x_218 = lean_ctor_get(x_209, 0); -x_219 = lean_ctor_get(x_209, 1); -lean_inc(x_219); -lean_inc(x_218); -lean_dec(x_209); -x_220 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_220, 0, x_218); -lean_ctor_set(x_220, 1, x_219); -return x_220; -} -} -} -else -{ -lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; -x_221 = lean_ctor_get(x_7, 0); -x_222 = lean_ctor_get(x_7, 1); -x_223 = lean_ctor_get(x_7, 2); -lean_inc(x_223); -lean_inc(x_222); -lean_inc(x_221); -lean_dec(x_7); -x_224 = l_HashMap_Inhabited___closed__1; -x_225 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_225, 0, x_221); -lean_ctor_set(x_225, 1, x_222); -lean_ctor_set(x_225, 2, x_224); -lean_inc(x_6); -x_226 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___rarg(x_6, x_1, x_93, x_225); -if (lean_obj_tag(x_226) == 0) -{ -lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; -x_227 = lean_ctor_get(x_226, 1); -lean_inc(x_227); -x_228 = lean_ctor_get(x_226, 0); -lean_inc(x_228); -lean_dec(x_226); -x_229 = lean_ctor_get(x_227, 0); -lean_inc(x_229); -x_230 = lean_ctor_get(x_227, 1); -lean_inc(x_230); -if (lean_is_exclusive(x_227)) { - lean_ctor_release(x_227, 0); - lean_ctor_release(x_227, 1); - lean_ctor_release(x_227, 2); - x_231 = x_227; -} else { - lean_dec_ref(x_227); - x_231 = lean_box(0); -} -if (lean_is_scalar(x_231)) { - x_232 = lean_alloc_ctor(0, 3, 0); -} else { - x_232 = x_231; -} -lean_ctor_set(x_232, 0, x_229); -lean_ctor_set(x_232, 1, x_230); -lean_ctor_set(x_232, 2, x_223); -x_95 = x_228; -x_96 = x_232; -goto block_203; -} -else -{ -lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; -lean_dec(x_223); -lean_dec(x_94); -lean_dec(x_92); -lean_dec(x_6); -lean_dec(x_5); -x_233 = lean_ctor_get(x_226, 0); -lean_inc(x_233); -x_234 = lean_ctor_get(x_226, 1); -lean_inc(x_234); -if (lean_is_exclusive(x_226)) { - lean_ctor_release(x_226, 0); - lean_ctor_release(x_226, 1); - x_235 = x_226; -} else { - lean_dec_ref(x_226); - x_235 = lean_box(0); -} -if (lean_is_scalar(x_235)) { - x_236 = lean_alloc_ctor(1, 2, 0); -} else { - x_236 = x_235; -} -lean_ctor_set(x_236, 0, x_233); -lean_ctor_set(x_236, 1, x_234); -return x_236; -} -} -} -} -else -{ -uint8_t x_237; -x_237 = !lean_is_exclusive(x_7); -if (x_237 == 0) -{ -lean_object* x_238; lean_object* x_239; lean_object* x_240; -x_238 = lean_ctor_get(x_7, 2); -x_239 = l_HashMap_Inhabited___closed__1; -lean_ctor_set(x_7, 2, x_239); -lean_inc(x_6); -x_240 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___rarg(x_6, x_1, x_93, x_7); -if (lean_obj_tag(x_240) == 0) -{ -lean_object* x_241; lean_object* x_242; uint8_t x_243; -x_241 = lean_ctor_get(x_240, 1); -lean_inc(x_241); -x_242 = lean_ctor_get(x_240, 0); -lean_inc(x_242); -lean_dec(x_240); -x_243 = !lean_is_exclusive(x_241); -if (x_243 == 0) -{ -lean_object* x_244; -x_244 = lean_ctor_get(x_241, 2); -lean_dec(x_244); -lean_ctor_set(x_241, 2, x_238); -x_95 = x_242; -x_96 = x_241; -goto block_203; -} -else -{ -lean_object* x_245; lean_object* x_246; lean_object* x_247; -x_245 = lean_ctor_get(x_241, 0); -x_246 = lean_ctor_get(x_241, 1); -lean_inc(x_246); -lean_inc(x_245); -lean_dec(x_241); -x_247 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_247, 0, x_245); -lean_ctor_set(x_247, 1, x_246); -lean_ctor_set(x_247, 2, x_238); -x_95 = x_242; -x_96 = x_247; -goto block_203; -} -} -else -{ -uint8_t x_248; -lean_dec(x_238); -lean_dec(x_94); -lean_dec(x_92); -lean_dec(x_6); -lean_dec(x_5); -x_248 = !lean_is_exclusive(x_240); -if (x_248 == 0) -{ -return x_240; -} -else -{ -lean_object* x_249; lean_object* x_250; lean_object* x_251; -x_249 = lean_ctor_get(x_240, 0); -x_250 = lean_ctor_get(x_240, 1); -lean_inc(x_250); -lean_inc(x_249); -lean_dec(x_240); -x_251 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_251, 0, x_249); -lean_ctor_set(x_251, 1, x_250); -return x_251; -} -} -} -else -{ -lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; -x_252 = lean_ctor_get(x_7, 0); -x_253 = lean_ctor_get(x_7, 1); -x_254 = lean_ctor_get(x_7, 2); -lean_inc(x_254); -lean_inc(x_253); -lean_inc(x_252); -lean_dec(x_7); -x_255 = l_HashMap_Inhabited___closed__1; -x_256 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_256, 0, x_252); -lean_ctor_set(x_256, 1, x_253); -lean_ctor_set(x_256, 2, x_255); -lean_inc(x_6); -x_257 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___rarg(x_6, x_1, x_93, x_256); -if (lean_obj_tag(x_257) == 0) -{ -lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; -x_258 = lean_ctor_get(x_257, 1); -lean_inc(x_258); -x_259 = lean_ctor_get(x_257, 0); -lean_inc(x_259); -lean_dec(x_257); -x_260 = lean_ctor_get(x_258, 0); -lean_inc(x_260); -x_261 = lean_ctor_get(x_258, 1); -lean_inc(x_261); -if (lean_is_exclusive(x_258)) { - lean_ctor_release(x_258, 0); - lean_ctor_release(x_258, 1); - lean_ctor_release(x_258, 2); - x_262 = x_258; -} else { - lean_dec_ref(x_258); - x_262 = lean_box(0); -} -if (lean_is_scalar(x_262)) { - x_263 = lean_alloc_ctor(0, 3, 0); -} else { - x_263 = x_262; -} -lean_ctor_set(x_263, 0, x_260); -lean_ctor_set(x_263, 1, x_261); -lean_ctor_set(x_263, 2, x_254); -x_95 = x_259; -x_96 = x_263; -goto block_203; -} -else -{ -lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; -lean_dec(x_254); -lean_dec(x_94); -lean_dec(x_92); -lean_dec(x_6); -lean_dec(x_5); -x_264 = lean_ctor_get(x_257, 0); -lean_inc(x_264); -x_265 = lean_ctor_get(x_257, 1); -lean_inc(x_265); -if (lean_is_exclusive(x_257)) { - lean_ctor_release(x_257, 0); - lean_ctor_release(x_257, 1); - x_266 = x_257; -} else { - lean_dec_ref(x_257); - x_266 = lean_box(0); -} -if (lean_is_scalar(x_266)) { - x_267 = lean_alloc_ctor(1, 2, 0); -} else { - x_267 = x_266; -} -lean_ctor_set(x_267, 0, x_264); -lean_ctor_set(x_267, 1, x_265); -return x_267; -} -} -} -block_203: -{ -lean_object* x_97; uint8_t x_98; -x_97 = lean_expr_abstract_range(x_95, x_2, x_1); -lean_dec(x_95); -x_98 = lean_expr_has_expr_mvar(x_94); -if (x_98 == 0) -{ -uint8_t x_99; -x_99 = lean_expr_has_level_mvar(x_94); -if (x_99 == 0) -{ -lean_object* x_100; lean_object* x_101; lean_object* x_102; -lean_dec(x_6); -x_100 = lean_expr_abstract_range(x_94, x_2, x_1); -lean_dec(x_94); -x_101 = lean_expr_mk_let(x_92, x_97, x_100, x_5); -x_102 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_102, 0, x_101); -lean_ctor_set(x_102, 1, x_96); -return x_102; -} -else -{ -uint8_t x_103; -x_103 = !lean_is_exclusive(x_96); -if (x_103 == 0) -{ -lean_object* x_104; lean_object* x_105; lean_object* x_106; -x_104 = lean_ctor_get(x_96, 2); -x_105 = l_HashMap_Inhabited___closed__1; -lean_ctor_set(x_96, 2, x_105); -x_106 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___rarg(x_6, x_1, x_94, x_96); -if (lean_obj_tag(x_106) == 0) -{ -uint8_t x_107; -x_107 = !lean_is_exclusive(x_106); -if (x_107 == 0) -{ -lean_object* x_108; uint8_t x_109; -x_108 = lean_ctor_get(x_106, 1); -x_109 = !lean_is_exclusive(x_108); -if (x_109 == 0) -{ -lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; -x_110 = lean_ctor_get(x_106, 0); -x_111 = lean_ctor_get(x_108, 2); -lean_dec(x_111); -lean_ctor_set(x_108, 2, x_104); -x_112 = lean_expr_abstract_range(x_110, x_2, x_1); -lean_dec(x_110); -x_113 = lean_expr_mk_let(x_92, x_97, x_112, x_5); -lean_ctor_set(x_106, 0, x_113); -return x_106; -} -else -{ -lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; -x_114 = lean_ctor_get(x_106, 0); -x_115 = lean_ctor_get(x_108, 0); -x_116 = lean_ctor_get(x_108, 1); -lean_inc(x_116); -lean_inc(x_115); -lean_dec(x_108); -x_117 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_117, 0, x_115); -lean_ctor_set(x_117, 1, x_116); -lean_ctor_set(x_117, 2, x_104); -x_118 = lean_expr_abstract_range(x_114, x_2, x_1); -lean_dec(x_114); -x_119 = lean_expr_mk_let(x_92, x_97, x_118, x_5); -lean_ctor_set(x_106, 1, x_117); -lean_ctor_set(x_106, 0, x_119); -return x_106; -} -} -else -{ -lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; -x_120 = lean_ctor_get(x_106, 1); -x_121 = lean_ctor_get(x_106, 0); -lean_inc(x_120); -lean_inc(x_121); -lean_dec(x_106); -x_122 = lean_ctor_get(x_120, 0); -lean_inc(x_122); -x_123 = lean_ctor_get(x_120, 1); -lean_inc(x_123); -if (lean_is_exclusive(x_120)) { - lean_ctor_release(x_120, 0); - lean_ctor_release(x_120, 1); - lean_ctor_release(x_120, 2); - x_124 = x_120; -} else { - lean_dec_ref(x_120); - x_124 = lean_box(0); -} -if (lean_is_scalar(x_124)) { - x_125 = lean_alloc_ctor(0, 3, 0); -} else { - x_125 = x_124; -} -lean_ctor_set(x_125, 0, x_122); -lean_ctor_set(x_125, 1, x_123); -lean_ctor_set(x_125, 2, x_104); -x_126 = lean_expr_abstract_range(x_121, x_2, x_1); -lean_dec(x_121); -x_127 = lean_expr_mk_let(x_92, x_97, x_126, x_5); -x_128 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_128, 0, x_127); -lean_ctor_set(x_128, 1, x_125); -return x_128; -} -} -else -{ -uint8_t x_129; -lean_dec(x_104); -lean_dec(x_97); -lean_dec(x_92); -lean_dec(x_5); -x_129 = !lean_is_exclusive(x_106); -if (x_129 == 0) -{ -return x_106; -} -else -{ -lean_object* x_130; lean_object* x_131; lean_object* x_132; -x_130 = lean_ctor_get(x_106, 0); -x_131 = lean_ctor_get(x_106, 1); -lean_inc(x_131); -lean_inc(x_130); -lean_dec(x_106); -x_132 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_132, 0, x_130); -lean_ctor_set(x_132, 1, x_131); -return x_132; -} -} -} -else -{ -lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; -x_133 = lean_ctor_get(x_96, 0); -x_134 = lean_ctor_get(x_96, 1); -x_135 = lean_ctor_get(x_96, 2); -lean_inc(x_135); -lean_inc(x_134); -lean_inc(x_133); -lean_dec(x_96); -x_136 = l_HashMap_Inhabited___closed__1; -x_137 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_137, 0, x_133); -lean_ctor_set(x_137, 1, x_134); -lean_ctor_set(x_137, 2, x_136); -x_138 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___rarg(x_6, x_1, x_94, x_137); -if (lean_obj_tag(x_138) == 0) -{ -lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; -x_139 = lean_ctor_get(x_138, 1); -lean_inc(x_139); -x_140 = lean_ctor_get(x_138, 0); -lean_inc(x_140); -if (lean_is_exclusive(x_138)) { - lean_ctor_release(x_138, 0); - lean_ctor_release(x_138, 1); - x_141 = x_138; -} else { - lean_dec_ref(x_138); - x_141 = lean_box(0); -} -x_142 = lean_ctor_get(x_139, 0); -lean_inc(x_142); -x_143 = lean_ctor_get(x_139, 1); -lean_inc(x_143); -if (lean_is_exclusive(x_139)) { - lean_ctor_release(x_139, 0); - lean_ctor_release(x_139, 1); - lean_ctor_release(x_139, 2); - x_144 = x_139; -} else { - lean_dec_ref(x_139); - x_144 = lean_box(0); -} -if (lean_is_scalar(x_144)) { - x_145 = lean_alloc_ctor(0, 3, 0); -} else { - x_145 = x_144; -} -lean_ctor_set(x_145, 0, x_142); -lean_ctor_set(x_145, 1, x_143); -lean_ctor_set(x_145, 2, x_135); -x_146 = lean_expr_abstract_range(x_140, x_2, x_1); -lean_dec(x_140); -x_147 = lean_expr_mk_let(x_92, x_97, x_146, x_5); -if (lean_is_scalar(x_141)) { - x_148 = lean_alloc_ctor(0, 2, 0); -} else { - x_148 = x_141; -} -lean_ctor_set(x_148, 0, x_147); -lean_ctor_set(x_148, 1, x_145); -return x_148; -} -else -{ -lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; -lean_dec(x_135); -lean_dec(x_97); -lean_dec(x_92); -lean_dec(x_5); -x_149 = lean_ctor_get(x_138, 0); -lean_inc(x_149); -x_150 = lean_ctor_get(x_138, 1); -lean_inc(x_150); -if (lean_is_exclusive(x_138)) { - lean_ctor_release(x_138, 0); - lean_ctor_release(x_138, 1); - x_151 = x_138; -} else { - lean_dec_ref(x_138); - x_151 = lean_box(0); -} -if (lean_is_scalar(x_151)) { - x_152 = lean_alloc_ctor(1, 2, 0); -} else { - x_152 = x_151; -} -lean_ctor_set(x_152, 0, x_149); -lean_ctor_set(x_152, 1, x_150); -return x_152; -} -} -} -} -else -{ -uint8_t x_153; -x_153 = !lean_is_exclusive(x_96); -if (x_153 == 0) -{ -lean_object* x_154; lean_object* x_155; lean_object* x_156; -x_154 = lean_ctor_get(x_96, 2); -x_155 = l_HashMap_Inhabited___closed__1; -lean_ctor_set(x_96, 2, x_155); -x_156 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___rarg(x_6, x_1, x_94, x_96); -if (lean_obj_tag(x_156) == 0) -{ -uint8_t x_157; -x_157 = !lean_is_exclusive(x_156); -if (x_157 == 0) -{ -lean_object* x_158; uint8_t x_159; -x_158 = lean_ctor_get(x_156, 1); -x_159 = !lean_is_exclusive(x_158); -if (x_159 == 0) -{ -lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; -x_160 = lean_ctor_get(x_156, 0); -x_161 = lean_ctor_get(x_158, 2); -lean_dec(x_161); -lean_ctor_set(x_158, 2, x_154); -x_162 = lean_expr_abstract_range(x_160, x_2, x_1); -lean_dec(x_160); -x_163 = lean_expr_mk_let(x_92, x_97, x_162, x_5); -lean_ctor_set(x_156, 0, x_163); -return x_156; -} -else -{ -lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; -x_164 = lean_ctor_get(x_156, 0); -x_165 = lean_ctor_get(x_158, 0); -x_166 = lean_ctor_get(x_158, 1); -lean_inc(x_166); -lean_inc(x_165); -lean_dec(x_158); -x_167 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_167, 0, x_165); -lean_ctor_set(x_167, 1, x_166); -lean_ctor_set(x_167, 2, x_154); -x_168 = lean_expr_abstract_range(x_164, x_2, x_1); -lean_dec(x_164); -x_169 = lean_expr_mk_let(x_92, x_97, x_168, x_5); -lean_ctor_set(x_156, 1, x_167); -lean_ctor_set(x_156, 0, x_169); -return x_156; -} -} -else -{ -lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; -x_170 = lean_ctor_get(x_156, 1); -x_171 = lean_ctor_get(x_156, 0); -lean_inc(x_170); -lean_inc(x_171); -lean_dec(x_156); -x_172 = lean_ctor_get(x_170, 0); -lean_inc(x_172); -x_173 = lean_ctor_get(x_170, 1); -lean_inc(x_173); -if (lean_is_exclusive(x_170)) { - lean_ctor_release(x_170, 0); - lean_ctor_release(x_170, 1); - lean_ctor_release(x_170, 2); - x_174 = x_170; -} else { - lean_dec_ref(x_170); - x_174 = lean_box(0); -} -if (lean_is_scalar(x_174)) { - x_175 = lean_alloc_ctor(0, 3, 0); -} else { - x_175 = x_174; -} -lean_ctor_set(x_175, 0, x_172); -lean_ctor_set(x_175, 1, x_173); -lean_ctor_set(x_175, 2, x_154); -x_176 = lean_expr_abstract_range(x_171, x_2, x_1); -lean_dec(x_171); -x_177 = lean_expr_mk_let(x_92, x_97, x_176, x_5); -x_178 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_178, 0, x_177); -lean_ctor_set(x_178, 1, x_175); -return x_178; -} -} -else -{ -uint8_t x_179; -lean_dec(x_154); -lean_dec(x_97); -lean_dec(x_92); -lean_dec(x_5); -x_179 = !lean_is_exclusive(x_156); -if (x_179 == 0) -{ -return x_156; -} -else -{ -lean_object* x_180; lean_object* x_181; lean_object* x_182; -x_180 = lean_ctor_get(x_156, 0); -x_181 = lean_ctor_get(x_156, 1); -lean_inc(x_181); -lean_inc(x_180); -lean_dec(x_156); -x_182 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_182, 0, x_180); -lean_ctor_set(x_182, 1, x_181); -return x_182; -} -} -} -else -{ -lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; -x_183 = lean_ctor_get(x_96, 0); -x_184 = lean_ctor_get(x_96, 1); -x_185 = lean_ctor_get(x_96, 2); -lean_inc(x_185); -lean_inc(x_184); -lean_inc(x_183); -lean_dec(x_96); -x_186 = l_HashMap_Inhabited___closed__1; -x_187 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_187, 0, x_183); -lean_ctor_set(x_187, 1, x_184); -lean_ctor_set(x_187, 2, x_186); -x_188 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___rarg(x_6, x_1, x_94, x_187); -if (lean_obj_tag(x_188) == 0) -{ -lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; -x_189 = lean_ctor_get(x_188, 1); -lean_inc(x_189); -x_190 = lean_ctor_get(x_188, 0); -lean_inc(x_190); -if (lean_is_exclusive(x_188)) { - lean_ctor_release(x_188, 0); - lean_ctor_release(x_188, 1); - x_191 = x_188; -} else { - lean_dec_ref(x_188); - x_191 = lean_box(0); -} -x_192 = lean_ctor_get(x_189, 0); -lean_inc(x_192); -x_193 = lean_ctor_get(x_189, 1); -lean_inc(x_193); -if (lean_is_exclusive(x_189)) { - lean_ctor_release(x_189, 0); - lean_ctor_release(x_189, 1); - lean_ctor_release(x_189, 2); - x_194 = x_189; -} else { - lean_dec_ref(x_189); - x_194 = lean_box(0); -} -if (lean_is_scalar(x_194)) { - x_195 = lean_alloc_ctor(0, 3, 0); -} else { - x_195 = x_194; -} -lean_ctor_set(x_195, 0, x_192); -lean_ctor_set(x_195, 1, x_193); -lean_ctor_set(x_195, 2, x_185); -x_196 = lean_expr_abstract_range(x_190, x_2, x_1); -lean_dec(x_190); -x_197 = lean_expr_mk_let(x_92, x_97, x_196, x_5); -if (lean_is_scalar(x_191)) { - x_198 = lean_alloc_ctor(0, 2, 0); -} else { - x_198 = x_191; -} -lean_ctor_set(x_198, 0, x_197); -lean_ctor_set(x_198, 1, x_195); -return x_198; -} -else -{ -lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; -lean_dec(x_185); -lean_dec(x_97); -lean_dec(x_92); -lean_dec(x_5); -x_199 = lean_ctor_get(x_188, 0); -lean_inc(x_199); -x_200 = lean_ctor_get(x_188, 1); -lean_inc(x_200); -if (lean_is_exclusive(x_188)) { - lean_ctor_release(x_188, 0); - lean_ctor_release(x_188, 1); - x_201 = x_188; -} else { - lean_dec_ref(x_188); - x_201 = lean_box(0); -} -if (lean_is_scalar(x_201)) { - x_202 = lean_alloc_ctor(1, 2, 0); -} else { - x_202 = x_201; -} -lean_ctor_set(x_202, 0, x_199); -lean_ctor_set(x_202, 1, x_200); -return x_202; -} -} -} -} -} -} -} -} -lean_object* l_Nat_foldRevMAux___main___at_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___spec__3___rarg(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; uint8_t x_10; -x_9 = lean_unsigned_to_nat(0u); -x_10 = lean_nat_dec_eq(x_6, x_9); -if (x_10 == 0) -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_11 = lean_unsigned_to_nat(1u); -x_12 = lean_nat_sub(x_6, x_11); -x_13 = lean_ctor_get(x_5, 1); -lean_inc(x_13); -x_14 = lean_box(x_2); -lean_inc(x_1); -lean_inc(x_3); -lean_inc(x_12); -lean_inc(x_4); -x_15 = lean_alloc_closure((void*)(l_Nat_foldRevMAux___main___at_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___spec__3___rarg___lambda__1___boxed), 7, 6); -lean_closure_set(x_15, 0, x_4); -lean_closure_set(x_15, 1, x_12); -lean_closure_set(x_15, 2, x_3); -lean_closure_set(x_15, 3, x_14); -lean_closure_set(x_15, 4, x_7); -lean_closure_set(x_15, 5, x_1); -x_16 = lean_box(x_2); -x_17 = lean_alloc_closure((void*)(l_Nat_foldRevMAux___main___at_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___spec__3___rarg___boxed), 8, 6); -lean_closure_set(x_17, 0, x_1); -lean_closure_set(x_17, 1, x_16); -lean_closure_set(x_17, 2, x_3); -lean_closure_set(x_17, 3, x_4); -lean_closure_set(x_17, 4, x_5); -lean_closure_set(x_17, 5, x_12); -x_18 = lean_apply_5(x_13, lean_box(0), lean_box(0), x_15, x_17, x_8); -return x_18; -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_19 = lean_ctor_get(x_5, 0); -lean_inc(x_19); -lean_dec(x_5); -x_20 = lean_ctor_get(x_19, 1); -lean_inc(x_20); -lean_dec(x_19); -x_21 = lean_apply_3(x_20, lean_box(0), x_7, x_8); -return x_21; -} -} -} -lean_object* l_Nat_foldRevMAux___main___at_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___spec__3(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Nat_foldRevMAux___main___at_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___spec__3___rarg___boxed), 8, 0); -return x_2; -} -} -lean_object* l_Lean_AbstractMetavarContext_MkBinding_mkBinding___at_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___spec__1___rarg(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; uint8_t x_8; -x_7 = lean_array_get_size(x_4); -x_8 = lean_expr_has_expr_mvar(x_5); -if (x_8 == 0) -{ -uint8_t x_9; -x_9 = lean_expr_has_level_mvar(x_5); -if (x_9 == 0) -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_10 = lean_expr_abstract_range(x_5, x_7, x_4); -lean_dec(x_5); -x_11 = l_EIO_Monad___closed__1; -x_12 = l_Nat_foldRevMAux___main___at_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___spec__3___rarg(x_1, x_2, x_3, x_4, x_11, x_7, x_10, x_6); -lean_dec(x_7); -return x_12; -} -else -{ -uint8_t x_13; -x_13 = !lean_is_exclusive(x_6); -if (x_13 == 0) -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_14 = lean_ctor_get(x_6, 2); -x_15 = l_HashMap_Inhabited___closed__1; -lean_ctor_set(x_6, 2, x_15); -lean_inc(x_1); -x_16 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___rarg(x_1, x_4, x_5, x_6); -if (lean_obj_tag(x_16) == 0) -{ -lean_object* x_17; lean_object* x_18; uint8_t x_19; -x_17 = lean_ctor_get(x_16, 1); -lean_inc(x_17); -x_18 = lean_ctor_get(x_16, 0); -lean_inc(x_18); -lean_dec(x_16); -x_19 = !lean_is_exclusive(x_17); -if (x_19 == 0) -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_20 = lean_ctor_get(x_17, 2); -lean_dec(x_20); -lean_ctor_set(x_17, 2, x_14); -x_21 = lean_expr_abstract_range(x_18, x_7, x_4); -lean_dec(x_18); -x_22 = l_EIO_Monad___closed__1; -x_23 = l_Nat_foldRevMAux___main___at_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___spec__3___rarg(x_1, x_2, x_3, x_4, x_22, x_7, x_21, x_17); -lean_dec(x_7); -return x_23; -} -else -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_24 = lean_ctor_get(x_17, 0); -x_25 = lean_ctor_get(x_17, 1); -lean_inc(x_25); -lean_inc(x_24); -lean_dec(x_17); -x_26 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_26, 0, x_24); -lean_ctor_set(x_26, 1, x_25); -lean_ctor_set(x_26, 2, x_14); -x_27 = lean_expr_abstract_range(x_18, x_7, x_4); -lean_dec(x_18); -x_28 = l_EIO_Monad___closed__1; -x_29 = l_Nat_foldRevMAux___main___at_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___spec__3___rarg(x_1, x_2, x_3, x_4, x_28, x_7, x_27, x_26); -lean_dec(x_7); -return x_29; -} -} -else -{ -uint8_t x_30; -lean_dec(x_14); -lean_dec(x_7); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_30 = !lean_is_exclusive(x_16); -if (x_30 == 0) -{ -return x_16; -} -else -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_31 = lean_ctor_get(x_16, 0); -x_32 = lean_ctor_get(x_16, 1); -lean_inc(x_32); -lean_inc(x_31); -lean_dec(x_16); -x_33 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_33, 0, x_31); -lean_ctor_set(x_33, 1, x_32); -return x_33; -} -} -} -else -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_34 = lean_ctor_get(x_6, 0); -x_35 = lean_ctor_get(x_6, 1); -x_36 = lean_ctor_get(x_6, 2); -lean_inc(x_36); -lean_inc(x_35); -lean_inc(x_34); -lean_dec(x_6); -x_37 = l_HashMap_Inhabited___closed__1; -x_38 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_38, 0, x_34); -lean_ctor_set(x_38, 1, x_35); -lean_ctor_set(x_38, 2, x_37); -lean_inc(x_1); -x_39 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___rarg(x_1, x_4, x_5, x_38); -if (lean_obj_tag(x_39) == 0) -{ -lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_40 = lean_ctor_get(x_39, 1); -lean_inc(x_40); -x_41 = lean_ctor_get(x_39, 0); -lean_inc(x_41); -lean_dec(x_39); -x_42 = lean_ctor_get(x_40, 0); -lean_inc(x_42); -x_43 = lean_ctor_get(x_40, 1); -lean_inc(x_43); -if (lean_is_exclusive(x_40)) { - lean_ctor_release(x_40, 0); - lean_ctor_release(x_40, 1); - lean_ctor_release(x_40, 2); - x_44 = x_40; -} else { - lean_dec_ref(x_40); - x_44 = lean_box(0); -} -if (lean_is_scalar(x_44)) { - x_45 = lean_alloc_ctor(0, 3, 0); -} else { - x_45 = x_44; -} -lean_ctor_set(x_45, 0, x_42); -lean_ctor_set(x_45, 1, x_43); -lean_ctor_set(x_45, 2, x_36); -x_46 = lean_expr_abstract_range(x_41, x_7, x_4); -lean_dec(x_41); -x_47 = l_EIO_Monad___closed__1; -x_48 = l_Nat_foldRevMAux___main___at_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___spec__3___rarg(x_1, x_2, x_3, x_4, x_47, x_7, x_46, x_45); -lean_dec(x_7); -return x_48; -} -else -{ -lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; -lean_dec(x_36); -lean_dec(x_7); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_49 = lean_ctor_get(x_39, 0); -lean_inc(x_49); -x_50 = lean_ctor_get(x_39, 1); -lean_inc(x_50); -if (lean_is_exclusive(x_39)) { - lean_ctor_release(x_39, 0); - lean_ctor_release(x_39, 1); - x_51 = x_39; -} else { - lean_dec_ref(x_39); - x_51 = lean_box(0); -} -if (lean_is_scalar(x_51)) { - x_52 = lean_alloc_ctor(1, 2, 0); -} else { - x_52 = x_51; -} -lean_ctor_set(x_52, 0, x_49); -lean_ctor_set(x_52, 1, x_50); -return x_52; -} -} -} -} -else -{ -uint8_t x_53; -x_53 = !lean_is_exclusive(x_6); -if (x_53 == 0) -{ -lean_object* x_54; lean_object* x_55; lean_object* x_56; -x_54 = lean_ctor_get(x_6, 2); -x_55 = l_HashMap_Inhabited___closed__1; -lean_ctor_set(x_6, 2, x_55); -lean_inc(x_1); -x_56 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___rarg(x_1, x_4, x_5, x_6); -if (lean_obj_tag(x_56) == 0) -{ -lean_object* x_57; lean_object* x_58; uint8_t x_59; -x_57 = lean_ctor_get(x_56, 1); -lean_inc(x_57); -x_58 = lean_ctor_get(x_56, 0); -lean_inc(x_58); -lean_dec(x_56); -x_59 = !lean_is_exclusive(x_57); -if (x_59 == 0) -{ -lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; -x_60 = lean_ctor_get(x_57, 2); -lean_dec(x_60); -lean_ctor_set(x_57, 2, x_54); -x_61 = lean_expr_abstract_range(x_58, x_7, x_4); -lean_dec(x_58); -x_62 = l_EIO_Monad___closed__1; -x_63 = l_Nat_foldRevMAux___main___at_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___spec__3___rarg(x_1, x_2, x_3, x_4, x_62, x_7, x_61, x_57); -lean_dec(x_7); -return x_63; -} -else -{ -lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; -x_64 = lean_ctor_get(x_57, 0); -x_65 = lean_ctor_get(x_57, 1); -lean_inc(x_65); -lean_inc(x_64); -lean_dec(x_57); -x_66 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_66, 0, x_64); -lean_ctor_set(x_66, 1, x_65); -lean_ctor_set(x_66, 2, x_54); -x_67 = lean_expr_abstract_range(x_58, x_7, x_4); -lean_dec(x_58); -x_68 = l_EIO_Monad___closed__1; -x_69 = l_Nat_foldRevMAux___main___at_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___spec__3___rarg(x_1, x_2, x_3, x_4, x_68, x_7, x_67, x_66); -lean_dec(x_7); -return x_69; -} -} -else -{ -uint8_t x_70; -lean_dec(x_54); -lean_dec(x_7); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_70 = !lean_is_exclusive(x_56); -if (x_70 == 0) -{ -return x_56; -} -else -{ -lean_object* x_71; lean_object* x_72; lean_object* x_73; -x_71 = lean_ctor_get(x_56, 0); -x_72 = lean_ctor_get(x_56, 1); -lean_inc(x_72); -lean_inc(x_71); -lean_dec(x_56); -x_73 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_73, 0, x_71); -lean_ctor_set(x_73, 1, x_72); -return x_73; -} -} -} -else -{ -lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; -x_74 = lean_ctor_get(x_6, 0); -x_75 = lean_ctor_get(x_6, 1); -x_76 = lean_ctor_get(x_6, 2); -lean_inc(x_76); -lean_inc(x_75); -lean_inc(x_74); -lean_dec(x_6); -x_77 = l_HashMap_Inhabited___closed__1; -x_78 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_78, 0, x_74); -lean_ctor_set(x_78, 1, x_75); -lean_ctor_set(x_78, 2, x_77); -lean_inc(x_1); -x_79 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___rarg(x_1, x_4, x_5, x_78); -if (lean_obj_tag(x_79) == 0) -{ -lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; -x_80 = lean_ctor_get(x_79, 1); -lean_inc(x_80); -x_81 = lean_ctor_get(x_79, 0); -lean_inc(x_81); -lean_dec(x_79); -x_82 = lean_ctor_get(x_80, 0); -lean_inc(x_82); -x_83 = lean_ctor_get(x_80, 1); -lean_inc(x_83); -if (lean_is_exclusive(x_80)) { - lean_ctor_release(x_80, 0); - lean_ctor_release(x_80, 1); - lean_ctor_release(x_80, 2); - x_84 = x_80; -} else { - lean_dec_ref(x_80); - x_84 = lean_box(0); -} -if (lean_is_scalar(x_84)) { - x_85 = lean_alloc_ctor(0, 3, 0); -} else { - x_85 = x_84; -} -lean_ctor_set(x_85, 0, x_82); -lean_ctor_set(x_85, 1, x_83); -lean_ctor_set(x_85, 2, x_76); -x_86 = lean_expr_abstract_range(x_81, x_7, x_4); -lean_dec(x_81); -x_87 = l_EIO_Monad___closed__1; -x_88 = l_Nat_foldRevMAux___main___at_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___spec__3___rarg(x_1, x_2, x_3, x_4, x_87, x_7, x_86, x_85); -lean_dec(x_7); -return x_88; -} -else -{ -lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; -lean_dec(x_76); -lean_dec(x_7); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_89 = lean_ctor_get(x_79, 0); -lean_inc(x_89); -x_90 = lean_ctor_get(x_79, 1); -lean_inc(x_90); -if (lean_is_exclusive(x_79)) { - lean_ctor_release(x_79, 0); - lean_ctor_release(x_79, 1); - x_91 = x_79; -} else { - lean_dec_ref(x_79); - x_91 = lean_box(0); -} -if (lean_is_scalar(x_91)) { - x_92 = lean_alloc_ctor(1, 2, 0); -} else { - x_92 = x_91; -} -lean_ctor_set(x_92, 0, x_89); -lean_ctor_set(x_92, 1, x_90); -return x_92; -} -} -} -} -} -lean_object* l_Lean_AbstractMetavarContext_MkBinding_mkBinding___at_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___spec__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_AbstractMetavarContext_MkBinding_mkBinding___at_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___spec__1___rarg___boxed), 6, 0); -return x_2; -} -} -lean_object* l_Array_umapMAux___main___at_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___spec__4___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; uint8_t x_7; -x_6 = lean_array_get_size(x_4); -x_7 = lean_nat_dec_lt(x_3, x_6); -lean_dec(x_6); -if (x_7 == 0) -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; -lean_dec(x_3); -lean_dec(x_1); -x_8 = l_Array_empty___closed__1; -x_9 = x_4; -x_10 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_10, 0, x_9); -lean_ctor_set(x_10, 1, x_5); -return x_10; -} -else -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_23; -x_11 = lean_array_fget(x_4, x_3); -x_12 = lean_box(0); -lean_inc(x_11); -x_13 = x_12; -x_14 = lean_array_fset(x_4, x_3, x_13); -x_23 = lean_expr_has_expr_mvar(x_11); -if (x_23 == 0) -{ -uint8_t x_24; -x_24 = lean_expr_has_level_mvar(x_11); -if (x_24 == 0) -{ -lean_inc(x_11); -x_15 = x_11; -x_16 = x_5; -goto block_22; -} -else -{ -lean_object* x_25; lean_object* x_26; -x_25 = lean_ctor_get(x_5, 2); -lean_inc(x_25); -x_26 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_25, x_11); -lean_dec(x_25); -if (lean_obj_tag(x_26) == 0) -{ -lean_object* x_27; -lean_inc(x_11); -lean_inc(x_1); -x_27 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___rarg(x_1, x_2, x_11, x_5); -if (lean_obj_tag(x_27) == 0) -{ -lean_object* x_28; lean_object* x_29; uint8_t x_30; -x_28 = lean_ctor_get(x_27, 1); -lean_inc(x_28); -x_29 = lean_ctor_get(x_27, 0); -lean_inc(x_29); -lean_dec(x_27); -x_30 = !lean_is_exclusive(x_28); -if (x_30 == 0) -{ -lean_object* x_31; lean_object* x_32; -x_31 = lean_ctor_get(x_28, 2); -lean_inc(x_29); -lean_inc(x_11); -x_32 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_31, x_11, x_29); -lean_ctor_set(x_28, 2, x_32); -x_15 = x_29; -x_16 = x_28; -goto block_22; -} -else -{ -lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_33 = lean_ctor_get(x_28, 0); -x_34 = lean_ctor_get(x_28, 1); -x_35 = lean_ctor_get(x_28, 2); -lean_inc(x_35); -lean_inc(x_34); -lean_inc(x_33); -lean_dec(x_28); -lean_inc(x_29); -lean_inc(x_11); -x_36 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_35, x_11, x_29); -x_37 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_37, 0, x_33); -lean_ctor_set(x_37, 1, x_34); -lean_ctor_set(x_37, 2, x_36); -x_15 = x_29; -x_16 = x_37; -goto block_22; -} -} -else -{ -uint8_t x_38; -lean_dec(x_14); -lean_dec(x_11); -lean_dec(x_3); -lean_dec(x_1); -x_38 = !lean_is_exclusive(x_27); -if (x_38 == 0) -{ -return x_27; -} -else -{ -lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_39 = lean_ctor_get(x_27, 0); -x_40 = lean_ctor_get(x_27, 1); -lean_inc(x_40); -lean_inc(x_39); -lean_dec(x_27); -x_41 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_41, 0, x_39); -lean_ctor_set(x_41, 1, x_40); -return x_41; -} -} -} -else -{ -lean_object* x_42; -x_42 = lean_ctor_get(x_26, 0); -lean_inc(x_42); -lean_dec(x_26); -x_15 = x_42; -x_16 = x_5; -goto block_22; -} -} -} -else -{ -lean_object* x_43; lean_object* x_44; -x_43 = lean_ctor_get(x_5, 2); -lean_inc(x_43); -x_44 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_43, x_11); -lean_dec(x_43); -if (lean_obj_tag(x_44) == 0) -{ -lean_object* x_45; -lean_inc(x_11); -lean_inc(x_1); -x_45 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___rarg(x_1, x_2, x_11, x_5); -if (lean_obj_tag(x_45) == 0) -{ -lean_object* x_46; lean_object* x_47; uint8_t x_48; -x_46 = lean_ctor_get(x_45, 1); -lean_inc(x_46); -x_47 = lean_ctor_get(x_45, 0); -lean_inc(x_47); -lean_dec(x_45); -x_48 = !lean_is_exclusive(x_46); -if (x_48 == 0) -{ -lean_object* x_49; lean_object* x_50; -x_49 = lean_ctor_get(x_46, 2); -lean_inc(x_47); -lean_inc(x_11); -x_50 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_49, x_11, x_47); -lean_ctor_set(x_46, 2, x_50); -x_15 = x_47; -x_16 = x_46; -goto block_22; -} -else -{ -lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; -x_51 = lean_ctor_get(x_46, 0); -x_52 = lean_ctor_get(x_46, 1); -x_53 = lean_ctor_get(x_46, 2); -lean_inc(x_53); -lean_inc(x_52); -lean_inc(x_51); -lean_dec(x_46); -lean_inc(x_47); -lean_inc(x_11); -x_54 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_53, x_11, x_47); -x_55 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_55, 0, x_51); -lean_ctor_set(x_55, 1, x_52); -lean_ctor_set(x_55, 2, x_54); -x_15 = x_47; -x_16 = x_55; -goto block_22; -} -} -else -{ -uint8_t x_56; -lean_dec(x_14); -lean_dec(x_11); -lean_dec(x_3); -lean_dec(x_1); -x_56 = !lean_is_exclusive(x_45); -if (x_56 == 0) -{ -return x_45; -} -else -{ -lean_object* x_57; lean_object* x_58; lean_object* x_59; -x_57 = lean_ctor_get(x_45, 0); -x_58 = lean_ctor_get(x_45, 1); -lean_inc(x_58); -lean_inc(x_57); -lean_dec(x_45); -x_59 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_59, 0, x_57); -lean_ctor_set(x_59, 1, x_58); -return x_59; -} -} -} -else -{ -lean_object* x_60; -x_60 = lean_ctor_get(x_44, 0); -lean_inc(x_60); -lean_dec(x_44); -x_15 = x_60; -x_16 = x_5; -goto block_22; -} -} -block_22: -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_17 = lean_unsigned_to_nat(1u); -x_18 = lean_nat_add(x_3, x_17); -x_19 = x_15; -x_20 = lean_array_fset(x_14, x_3, x_19); -lean_dec(x_3); -x_3 = x_18; -x_4 = x_20; -x_5 = x_16; -goto _start; -} -} -} -} -lean_object* l_Array_umapMAux___main___at_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___spec__4(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Array_umapMAux___main___at_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___spec__4___rarg___boxed), 5, 0); -return x_2; -} -} -lean_object* l___private_Init_Lean_Expr_4__withAppRevAux___main___at_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___spec__5___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -switch (lean_obj_tag(x_3)) { -case 0: -{ -lean_object* x_6; lean_object* x_7; uint8_t x_22; -x_22 = lean_expr_has_expr_mvar(x_3); -if (x_22 == 0) -{ -uint8_t x_23; -x_23 = lean_expr_has_level_mvar(x_3); -if (x_23 == 0) -{ -x_6 = x_3; -x_7 = x_5; -goto block_21; -} -else -{ -lean_object* x_24; lean_object* x_25; -x_24 = lean_ctor_get(x_5, 2); -lean_inc(x_24); -x_25 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_24, x_3); -lean_dec(x_24); -if (lean_obj_tag(x_25) == 0) -{ -lean_object* x_26; -lean_inc(x_3); -lean_inc(x_1); -x_26 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___rarg(x_1, x_2, x_3, x_5); -if (lean_obj_tag(x_26) == 0) -{ -lean_object* x_27; lean_object* x_28; uint8_t x_29; -x_27 = lean_ctor_get(x_26, 1); -lean_inc(x_27); -x_28 = lean_ctor_get(x_26, 0); -lean_inc(x_28); -lean_dec(x_26); -x_29 = !lean_is_exclusive(x_27); -if (x_29 == 0) -{ -lean_object* x_30; lean_object* x_31; -x_30 = lean_ctor_get(x_27, 2); -lean_inc(x_28); -x_31 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_30, x_3, x_28); -lean_ctor_set(x_27, 2, x_31); -x_6 = x_28; -x_7 = x_27; -goto block_21; -} -else -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_32 = lean_ctor_get(x_27, 0); -x_33 = lean_ctor_get(x_27, 1); -x_34 = lean_ctor_get(x_27, 2); -lean_inc(x_34); -lean_inc(x_33); -lean_inc(x_32); -lean_dec(x_27); -lean_inc(x_28); -x_35 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_34, x_3, x_28); -x_36 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_36, 0, x_32); -lean_ctor_set(x_36, 1, x_33); -lean_ctor_set(x_36, 2, x_35); -x_6 = x_28; -x_7 = x_36; -goto block_21; -} -} -else -{ -uint8_t x_37; -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_37 = !lean_is_exclusive(x_26); -if (x_37 == 0) -{ -return x_26; -} -else -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_38 = lean_ctor_get(x_26, 0); -x_39 = lean_ctor_get(x_26, 1); -lean_inc(x_39); -lean_inc(x_38); -lean_dec(x_26); -x_40 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_40, 0, x_38); -lean_ctor_set(x_40, 1, x_39); -return x_40; -} -} -} -else -{ -lean_object* x_41; -lean_dec(x_3); -x_41 = lean_ctor_get(x_25, 0); -lean_inc(x_41); -lean_dec(x_25); -x_6 = x_41; -x_7 = x_5; -goto block_21; -} -} -} -else -{ -lean_object* x_42; lean_object* x_43; -x_42 = lean_ctor_get(x_5, 2); -lean_inc(x_42); -x_43 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_42, x_3); -lean_dec(x_42); -if (lean_obj_tag(x_43) == 0) -{ -lean_object* x_44; -lean_inc(x_3); -lean_inc(x_1); -x_44 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___rarg(x_1, x_2, x_3, x_5); -if (lean_obj_tag(x_44) == 0) -{ -lean_object* x_45; lean_object* x_46; uint8_t x_47; -x_45 = lean_ctor_get(x_44, 1); -lean_inc(x_45); -x_46 = lean_ctor_get(x_44, 0); -lean_inc(x_46); -lean_dec(x_44); -x_47 = !lean_is_exclusive(x_45); -if (x_47 == 0) -{ -lean_object* x_48; lean_object* x_49; -x_48 = lean_ctor_get(x_45, 2); -lean_inc(x_46); -x_49 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_48, x_3, x_46); -lean_ctor_set(x_45, 2, x_49); -x_6 = x_46; -x_7 = x_45; -goto block_21; -} -else -{ -lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; -x_50 = lean_ctor_get(x_45, 0); -x_51 = lean_ctor_get(x_45, 1); -x_52 = lean_ctor_get(x_45, 2); -lean_inc(x_52); -lean_inc(x_51); -lean_inc(x_50); -lean_dec(x_45); -lean_inc(x_46); -x_53 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_52, x_3, x_46); -x_54 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_54, 0, x_50); -lean_ctor_set(x_54, 1, x_51); -lean_ctor_set(x_54, 2, x_53); -x_6 = x_46; -x_7 = x_54; -goto block_21; -} -} -else -{ -uint8_t x_55; -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_55 = !lean_is_exclusive(x_44); -if (x_55 == 0) -{ -return x_44; -} -else -{ -lean_object* x_56; lean_object* x_57; lean_object* x_58; -x_56 = lean_ctor_get(x_44, 0); -x_57 = lean_ctor_get(x_44, 1); -lean_inc(x_57); -lean_inc(x_56); -lean_dec(x_44); -x_58 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_58, 0, x_56); -lean_ctor_set(x_58, 1, x_57); -return x_58; -} -} -} -else -{ -lean_object* x_59; -lean_dec(x_3); -x_59 = lean_ctor_get(x_43, 0); -lean_inc(x_59); -lean_dec(x_43); -x_6 = x_59; -x_7 = x_5; -goto block_21; -} -} -block_21: -{ -lean_object* x_8; lean_object* x_9; -x_8 = lean_unsigned_to_nat(0u); -x_9 = l_Array_umapMAux___main___at_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___spec__4___rarg(x_1, x_2, x_8, x_4, x_7); -if (lean_obj_tag(x_9) == 0) -{ -uint8_t x_10; -x_10 = !lean_is_exclusive(x_9); -if (x_10 == 0) -{ -lean_object* x_11; lean_object* x_12; -x_11 = lean_ctor_get(x_9, 0); -x_12 = l_Lean_mkAppRev(x_6, x_11); -lean_dec(x_11); -lean_ctor_set(x_9, 0, x_12); -return x_9; -} -else -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_13 = lean_ctor_get(x_9, 0); -x_14 = lean_ctor_get(x_9, 1); -lean_inc(x_14); -lean_inc(x_13); -lean_dec(x_9); -x_15 = l_Lean_mkAppRev(x_6, x_13); -lean_dec(x_13); -x_16 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_16, 0, x_15); -lean_ctor_set(x_16, 1, x_14); -return x_16; -} -} -else -{ -uint8_t x_17; -lean_dec(x_6); -x_17 = !lean_is_exclusive(x_9); -if (x_17 == 0) -{ -return x_9; -} -else -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_18 = lean_ctor_get(x_9, 0); -x_19 = lean_ctor_get(x_9, 1); -lean_inc(x_19); -lean_inc(x_18); -lean_dec(x_9); -x_20 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_20, 0, x_18); -lean_ctor_set(x_20, 1, x_19); -return x_20; -} -} -} -} -case 1: -{ -lean_object* x_60; lean_object* x_61; uint8_t x_76; -x_76 = lean_expr_has_expr_mvar(x_3); -if (x_76 == 0) -{ -uint8_t x_77; -x_77 = lean_expr_has_level_mvar(x_3); -if (x_77 == 0) -{ -x_60 = x_3; -x_61 = x_5; -goto block_75; -} -else -{ -lean_object* x_78; lean_object* x_79; -x_78 = lean_ctor_get(x_5, 2); -lean_inc(x_78); -x_79 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_78, x_3); -lean_dec(x_78); -if (lean_obj_tag(x_79) == 0) -{ -lean_object* x_80; -lean_inc(x_3); -lean_inc(x_1); -x_80 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___rarg(x_1, x_2, x_3, x_5); -if (lean_obj_tag(x_80) == 0) -{ -lean_object* x_81; lean_object* x_82; uint8_t x_83; -x_81 = lean_ctor_get(x_80, 1); -lean_inc(x_81); -x_82 = lean_ctor_get(x_80, 0); -lean_inc(x_82); -lean_dec(x_80); -x_83 = !lean_is_exclusive(x_81); -if (x_83 == 0) -{ -lean_object* x_84; lean_object* x_85; -x_84 = lean_ctor_get(x_81, 2); -lean_inc(x_82); -x_85 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_84, x_3, x_82); -lean_ctor_set(x_81, 2, x_85); -x_60 = x_82; -x_61 = x_81; -goto block_75; -} -else -{ -lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; -x_86 = lean_ctor_get(x_81, 0); -x_87 = lean_ctor_get(x_81, 1); -x_88 = lean_ctor_get(x_81, 2); -lean_inc(x_88); -lean_inc(x_87); -lean_inc(x_86); -lean_dec(x_81); -lean_inc(x_82); -x_89 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_88, x_3, x_82); -x_90 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_90, 0, x_86); -lean_ctor_set(x_90, 1, x_87); -lean_ctor_set(x_90, 2, x_89); -x_60 = x_82; -x_61 = x_90; -goto block_75; -} -} -else -{ -uint8_t x_91; -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_91 = !lean_is_exclusive(x_80); -if (x_91 == 0) -{ -return x_80; -} -else -{ -lean_object* x_92; lean_object* x_93; lean_object* x_94; -x_92 = lean_ctor_get(x_80, 0); -x_93 = lean_ctor_get(x_80, 1); -lean_inc(x_93); -lean_inc(x_92); -lean_dec(x_80); -x_94 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_94, 0, x_92); -lean_ctor_set(x_94, 1, x_93); -return x_94; -} -} -} -else -{ -lean_object* x_95; -lean_dec(x_3); -x_95 = lean_ctor_get(x_79, 0); -lean_inc(x_95); -lean_dec(x_79); -x_60 = x_95; -x_61 = x_5; -goto block_75; -} -} -} -else -{ -lean_object* x_96; lean_object* x_97; -x_96 = lean_ctor_get(x_5, 2); -lean_inc(x_96); -x_97 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_96, x_3); -lean_dec(x_96); -if (lean_obj_tag(x_97) == 0) -{ -lean_object* x_98; -lean_inc(x_3); -lean_inc(x_1); -x_98 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___rarg(x_1, x_2, x_3, x_5); -if (lean_obj_tag(x_98) == 0) -{ -lean_object* x_99; lean_object* x_100; uint8_t x_101; -x_99 = lean_ctor_get(x_98, 1); -lean_inc(x_99); -x_100 = lean_ctor_get(x_98, 0); -lean_inc(x_100); -lean_dec(x_98); -x_101 = !lean_is_exclusive(x_99); -if (x_101 == 0) -{ -lean_object* x_102; lean_object* x_103; -x_102 = lean_ctor_get(x_99, 2); -lean_inc(x_100); -x_103 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_102, x_3, x_100); -lean_ctor_set(x_99, 2, x_103); -x_60 = x_100; -x_61 = x_99; -goto block_75; -} -else -{ -lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; -x_104 = lean_ctor_get(x_99, 0); -x_105 = lean_ctor_get(x_99, 1); -x_106 = lean_ctor_get(x_99, 2); -lean_inc(x_106); -lean_inc(x_105); -lean_inc(x_104); -lean_dec(x_99); -lean_inc(x_100); -x_107 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_106, x_3, x_100); -x_108 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_108, 0, x_104); -lean_ctor_set(x_108, 1, x_105); -lean_ctor_set(x_108, 2, x_107); -x_60 = x_100; -x_61 = x_108; -goto block_75; -} -} -else -{ -uint8_t x_109; -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_109 = !lean_is_exclusive(x_98); -if (x_109 == 0) -{ -return x_98; -} -else -{ -lean_object* x_110; lean_object* x_111; lean_object* x_112; -x_110 = lean_ctor_get(x_98, 0); -x_111 = lean_ctor_get(x_98, 1); -lean_inc(x_111); -lean_inc(x_110); -lean_dec(x_98); -x_112 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_112, 0, x_110); -lean_ctor_set(x_112, 1, x_111); -return x_112; -} -} -} -else -{ -lean_object* x_113; -lean_dec(x_3); -x_113 = lean_ctor_get(x_97, 0); -lean_inc(x_113); -lean_dec(x_97); -x_60 = x_113; -x_61 = x_5; -goto block_75; -} -} -block_75: -{ -lean_object* x_62; lean_object* x_63; -x_62 = lean_unsigned_to_nat(0u); -x_63 = l_Array_umapMAux___main___at_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___spec__4___rarg(x_1, x_2, x_62, x_4, x_61); -if (lean_obj_tag(x_63) == 0) -{ -uint8_t x_64; -x_64 = !lean_is_exclusive(x_63); -if (x_64 == 0) -{ -lean_object* x_65; lean_object* x_66; -x_65 = lean_ctor_get(x_63, 0); -x_66 = l_Lean_mkAppRev(x_60, x_65); -lean_dec(x_65); -lean_ctor_set(x_63, 0, x_66); -return x_63; -} -else -{ -lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; -x_67 = lean_ctor_get(x_63, 0); -x_68 = lean_ctor_get(x_63, 1); -lean_inc(x_68); -lean_inc(x_67); -lean_dec(x_63); -x_69 = l_Lean_mkAppRev(x_60, x_67); -lean_dec(x_67); -x_70 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_70, 0, x_69); -lean_ctor_set(x_70, 1, x_68); -return x_70; -} -} -else -{ -uint8_t x_71; -lean_dec(x_60); -x_71 = !lean_is_exclusive(x_63); -if (x_71 == 0) -{ -return x_63; -} -else -{ -lean_object* x_72; lean_object* x_73; lean_object* x_74; -x_72 = lean_ctor_get(x_63, 0); -x_73 = lean_ctor_get(x_63, 1); -lean_inc(x_73); -lean_inc(x_72); -lean_dec(x_63); -x_74 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_74, 0, x_72); -lean_ctor_set(x_74, 1, x_73); -return x_74; -} -} -} -} -case 2: -{ -lean_object* x_114; lean_object* x_115; uint8_t x_130; -x_130 = lean_expr_has_expr_mvar(x_3); -if (x_130 == 0) -{ -uint8_t x_131; -x_131 = lean_expr_has_level_mvar(x_3); -if (x_131 == 0) -{ -x_114 = x_3; -x_115 = x_5; -goto block_129; -} -else -{ -lean_object* x_132; lean_object* x_133; -x_132 = lean_ctor_get(x_5, 2); -lean_inc(x_132); -x_133 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_132, x_3); -lean_dec(x_132); -if (lean_obj_tag(x_133) == 0) -{ -lean_object* x_134; -lean_inc(x_3); -lean_inc(x_1); -x_134 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___rarg(x_1, x_2, x_3, x_5); -if (lean_obj_tag(x_134) == 0) -{ -lean_object* x_135; lean_object* x_136; uint8_t x_137; -x_135 = lean_ctor_get(x_134, 1); -lean_inc(x_135); -x_136 = lean_ctor_get(x_134, 0); -lean_inc(x_136); -lean_dec(x_134); -x_137 = !lean_is_exclusive(x_135); -if (x_137 == 0) -{ -lean_object* x_138; lean_object* x_139; -x_138 = lean_ctor_get(x_135, 2); -lean_inc(x_136); -x_139 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_138, x_3, x_136); -lean_ctor_set(x_135, 2, x_139); -x_114 = x_136; -x_115 = x_135; -goto block_129; -} -else -{ -lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; -x_140 = lean_ctor_get(x_135, 0); -x_141 = lean_ctor_get(x_135, 1); -x_142 = lean_ctor_get(x_135, 2); -lean_inc(x_142); -lean_inc(x_141); -lean_inc(x_140); -lean_dec(x_135); -lean_inc(x_136); -x_143 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_142, x_3, x_136); -x_144 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_144, 0, x_140); -lean_ctor_set(x_144, 1, x_141); -lean_ctor_set(x_144, 2, x_143); -x_114 = x_136; -x_115 = x_144; -goto block_129; -} -} -else -{ -uint8_t x_145; -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_145 = !lean_is_exclusive(x_134); -if (x_145 == 0) -{ -return x_134; -} -else -{ -lean_object* x_146; lean_object* x_147; lean_object* x_148; -x_146 = lean_ctor_get(x_134, 0); -x_147 = lean_ctor_get(x_134, 1); -lean_inc(x_147); -lean_inc(x_146); -lean_dec(x_134); -x_148 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_148, 0, x_146); -lean_ctor_set(x_148, 1, x_147); -return x_148; -} -} -} -else -{ -lean_object* x_149; -lean_dec(x_3); -x_149 = lean_ctor_get(x_133, 0); -lean_inc(x_149); -lean_dec(x_133); -x_114 = x_149; -x_115 = x_5; -goto block_129; -} -} -} -else -{ -lean_object* x_150; lean_object* x_151; -x_150 = lean_ctor_get(x_5, 2); -lean_inc(x_150); -x_151 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_150, x_3); -lean_dec(x_150); -if (lean_obj_tag(x_151) == 0) -{ -lean_object* x_152; -lean_inc(x_3); -lean_inc(x_1); -x_152 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___rarg(x_1, x_2, x_3, x_5); -if (lean_obj_tag(x_152) == 0) -{ -lean_object* x_153; lean_object* x_154; uint8_t x_155; -x_153 = lean_ctor_get(x_152, 1); -lean_inc(x_153); -x_154 = lean_ctor_get(x_152, 0); -lean_inc(x_154); -lean_dec(x_152); -x_155 = !lean_is_exclusive(x_153); -if (x_155 == 0) -{ -lean_object* x_156; lean_object* x_157; -x_156 = lean_ctor_get(x_153, 2); -lean_inc(x_154); -x_157 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_156, x_3, x_154); -lean_ctor_set(x_153, 2, x_157); -x_114 = x_154; -x_115 = x_153; -goto block_129; -} -else -{ -lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; -x_158 = lean_ctor_get(x_153, 0); -x_159 = lean_ctor_get(x_153, 1); -x_160 = lean_ctor_get(x_153, 2); -lean_inc(x_160); -lean_inc(x_159); -lean_inc(x_158); -lean_dec(x_153); -lean_inc(x_154); -x_161 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_160, x_3, x_154); -x_162 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_162, 0, x_158); -lean_ctor_set(x_162, 1, x_159); -lean_ctor_set(x_162, 2, x_161); -x_114 = x_154; -x_115 = x_162; -goto block_129; -} -} -else -{ -uint8_t x_163; -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_163 = !lean_is_exclusive(x_152); -if (x_163 == 0) -{ -return x_152; -} -else -{ -lean_object* x_164; lean_object* x_165; lean_object* x_166; -x_164 = lean_ctor_get(x_152, 0); -x_165 = lean_ctor_get(x_152, 1); -lean_inc(x_165); -lean_inc(x_164); -lean_dec(x_152); -x_166 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_166, 0, x_164); -lean_ctor_set(x_166, 1, x_165); -return x_166; -} -} -} -else -{ -lean_object* x_167; -lean_dec(x_3); -x_167 = lean_ctor_get(x_151, 0); -lean_inc(x_167); -lean_dec(x_151); -x_114 = x_167; -x_115 = x_5; -goto block_129; -} -} -block_129: -{ -lean_object* x_116; lean_object* x_117; -x_116 = lean_unsigned_to_nat(0u); -x_117 = l_Array_umapMAux___main___at_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___spec__4___rarg(x_1, x_2, x_116, x_4, x_115); -if (lean_obj_tag(x_117) == 0) -{ -uint8_t x_118; -x_118 = !lean_is_exclusive(x_117); -if (x_118 == 0) -{ -lean_object* x_119; lean_object* x_120; -x_119 = lean_ctor_get(x_117, 0); -x_120 = l_Lean_mkAppRev(x_114, x_119); -lean_dec(x_119); -lean_ctor_set(x_117, 0, x_120); -return x_117; -} -else -{ -lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; -x_121 = lean_ctor_get(x_117, 0); -x_122 = lean_ctor_get(x_117, 1); -lean_inc(x_122); -lean_inc(x_121); -lean_dec(x_117); -x_123 = l_Lean_mkAppRev(x_114, x_121); -lean_dec(x_121); -x_124 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_124, 0, x_123); -lean_ctor_set(x_124, 1, x_122); -return x_124; -} -} -else -{ -uint8_t x_125; -lean_dec(x_114); -x_125 = !lean_is_exclusive(x_117); -if (x_125 == 0) -{ -return x_117; -} -else -{ -lean_object* x_126; lean_object* x_127; lean_object* x_128; -x_126 = lean_ctor_get(x_117, 0); -x_127 = lean_ctor_get(x_117, 1); -lean_inc(x_127); -lean_inc(x_126); -lean_dec(x_117); -x_128 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_128, 0, x_126); -lean_ctor_set(x_128, 1, x_127); -return x_128; -} -} -} -} -case 3: -{ -lean_object* x_168; lean_object* x_169; uint8_t x_184; -x_184 = lean_expr_has_expr_mvar(x_3); -if (x_184 == 0) -{ -uint8_t x_185; -x_185 = lean_expr_has_level_mvar(x_3); -if (x_185 == 0) -{ -x_168 = x_3; -x_169 = x_5; -goto block_183; -} -else -{ -lean_object* x_186; lean_object* x_187; -x_186 = lean_ctor_get(x_5, 2); -lean_inc(x_186); -x_187 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_186, x_3); -lean_dec(x_186); -if (lean_obj_tag(x_187) == 0) -{ -lean_object* x_188; -lean_inc(x_3); -lean_inc(x_1); -x_188 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___rarg(x_1, x_2, x_3, x_5); -if (lean_obj_tag(x_188) == 0) -{ -lean_object* x_189; lean_object* x_190; uint8_t x_191; -x_189 = lean_ctor_get(x_188, 1); -lean_inc(x_189); -x_190 = lean_ctor_get(x_188, 0); -lean_inc(x_190); -lean_dec(x_188); -x_191 = !lean_is_exclusive(x_189); -if (x_191 == 0) -{ -lean_object* x_192; lean_object* x_193; -x_192 = lean_ctor_get(x_189, 2); -lean_inc(x_190); -x_193 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_192, x_3, x_190); -lean_ctor_set(x_189, 2, x_193); -x_168 = x_190; -x_169 = x_189; -goto block_183; -} -else -{ -lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; -x_194 = lean_ctor_get(x_189, 0); -x_195 = lean_ctor_get(x_189, 1); -x_196 = lean_ctor_get(x_189, 2); -lean_inc(x_196); -lean_inc(x_195); -lean_inc(x_194); -lean_dec(x_189); -lean_inc(x_190); -x_197 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_196, x_3, x_190); -x_198 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_198, 0, x_194); -lean_ctor_set(x_198, 1, x_195); -lean_ctor_set(x_198, 2, x_197); -x_168 = x_190; -x_169 = x_198; -goto block_183; -} -} -else -{ -uint8_t x_199; -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_199 = !lean_is_exclusive(x_188); -if (x_199 == 0) -{ -return x_188; -} -else -{ -lean_object* x_200; lean_object* x_201; lean_object* x_202; -x_200 = lean_ctor_get(x_188, 0); -x_201 = lean_ctor_get(x_188, 1); -lean_inc(x_201); -lean_inc(x_200); -lean_dec(x_188); -x_202 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_202, 0, x_200); -lean_ctor_set(x_202, 1, x_201); -return x_202; -} -} -} -else -{ -lean_object* x_203; -lean_dec(x_3); -x_203 = lean_ctor_get(x_187, 0); -lean_inc(x_203); -lean_dec(x_187); -x_168 = x_203; -x_169 = x_5; -goto block_183; -} -} -} -else -{ -lean_object* x_204; lean_object* x_205; -x_204 = lean_ctor_get(x_5, 2); -lean_inc(x_204); -x_205 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_204, x_3); -lean_dec(x_204); -if (lean_obj_tag(x_205) == 0) -{ -lean_object* x_206; -lean_inc(x_3); -lean_inc(x_1); -x_206 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___rarg(x_1, x_2, x_3, x_5); -if (lean_obj_tag(x_206) == 0) -{ -lean_object* x_207; lean_object* x_208; uint8_t x_209; -x_207 = lean_ctor_get(x_206, 1); -lean_inc(x_207); -x_208 = lean_ctor_get(x_206, 0); -lean_inc(x_208); -lean_dec(x_206); -x_209 = !lean_is_exclusive(x_207); -if (x_209 == 0) -{ -lean_object* x_210; lean_object* x_211; -x_210 = lean_ctor_get(x_207, 2); -lean_inc(x_208); -x_211 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_210, x_3, x_208); -lean_ctor_set(x_207, 2, x_211); -x_168 = x_208; -x_169 = x_207; -goto block_183; -} -else -{ -lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; -x_212 = lean_ctor_get(x_207, 0); -x_213 = lean_ctor_get(x_207, 1); -x_214 = lean_ctor_get(x_207, 2); -lean_inc(x_214); -lean_inc(x_213); -lean_inc(x_212); -lean_dec(x_207); -lean_inc(x_208); -x_215 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_214, x_3, x_208); -x_216 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_216, 0, x_212); -lean_ctor_set(x_216, 1, x_213); -lean_ctor_set(x_216, 2, x_215); -x_168 = x_208; -x_169 = x_216; -goto block_183; -} -} -else -{ -uint8_t x_217; -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_217 = !lean_is_exclusive(x_206); -if (x_217 == 0) -{ -return x_206; -} -else -{ -lean_object* x_218; lean_object* x_219; lean_object* x_220; -x_218 = lean_ctor_get(x_206, 0); -x_219 = lean_ctor_get(x_206, 1); -lean_inc(x_219); -lean_inc(x_218); -lean_dec(x_206); -x_220 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_220, 0, x_218); -lean_ctor_set(x_220, 1, x_219); -return x_220; -} -} -} -else -{ -lean_object* x_221; -lean_dec(x_3); -x_221 = lean_ctor_get(x_205, 0); -lean_inc(x_221); -lean_dec(x_205); -x_168 = x_221; -x_169 = x_5; -goto block_183; -} -} -block_183: -{ -lean_object* x_170; lean_object* x_171; -x_170 = lean_unsigned_to_nat(0u); -x_171 = l_Array_umapMAux___main___at_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___spec__4___rarg(x_1, x_2, x_170, x_4, x_169); -if (lean_obj_tag(x_171) == 0) -{ -uint8_t x_172; -x_172 = !lean_is_exclusive(x_171); -if (x_172 == 0) -{ -lean_object* x_173; lean_object* x_174; -x_173 = lean_ctor_get(x_171, 0); -x_174 = l_Lean_mkAppRev(x_168, x_173); -lean_dec(x_173); -lean_ctor_set(x_171, 0, x_174); -return x_171; -} -else -{ -lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; -x_175 = lean_ctor_get(x_171, 0); -x_176 = lean_ctor_get(x_171, 1); -lean_inc(x_176); -lean_inc(x_175); -lean_dec(x_171); -x_177 = l_Lean_mkAppRev(x_168, x_175); -lean_dec(x_175); -x_178 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_178, 0, x_177); -lean_ctor_set(x_178, 1, x_176); -return x_178; -} -} -else -{ -uint8_t x_179; -lean_dec(x_168); -x_179 = !lean_is_exclusive(x_171); -if (x_179 == 0) -{ -return x_171; -} -else -{ -lean_object* x_180; lean_object* x_181; lean_object* x_182; -x_180 = lean_ctor_get(x_171, 0); -x_181 = lean_ctor_get(x_171, 1); -lean_inc(x_181); -lean_inc(x_180); -lean_dec(x_171); -x_182 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_182, 0, x_180); -lean_ctor_set(x_182, 1, x_181); -return x_182; -} -} -} -} -case 4: -{ -lean_object* x_222; lean_object* x_223; uint8_t x_238; -x_238 = lean_expr_has_expr_mvar(x_3); -if (x_238 == 0) -{ -uint8_t x_239; -x_239 = lean_expr_has_level_mvar(x_3); -if (x_239 == 0) -{ -x_222 = x_3; -x_223 = x_5; -goto block_237; -} -else -{ -lean_object* x_240; lean_object* x_241; -x_240 = lean_ctor_get(x_5, 2); -lean_inc(x_240); -x_241 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_240, x_3); -lean_dec(x_240); -if (lean_obj_tag(x_241) == 0) -{ -lean_object* x_242; -lean_inc(x_3); -lean_inc(x_1); -x_242 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___rarg(x_1, x_2, x_3, x_5); -if (lean_obj_tag(x_242) == 0) -{ -lean_object* x_243; lean_object* x_244; uint8_t x_245; -x_243 = lean_ctor_get(x_242, 1); -lean_inc(x_243); -x_244 = lean_ctor_get(x_242, 0); -lean_inc(x_244); -lean_dec(x_242); -x_245 = !lean_is_exclusive(x_243); -if (x_245 == 0) -{ -lean_object* x_246; lean_object* x_247; -x_246 = lean_ctor_get(x_243, 2); -lean_inc(x_244); -x_247 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_246, x_3, x_244); -lean_ctor_set(x_243, 2, x_247); -x_222 = x_244; -x_223 = x_243; -goto block_237; -} -else -{ -lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; -x_248 = lean_ctor_get(x_243, 0); -x_249 = lean_ctor_get(x_243, 1); -x_250 = lean_ctor_get(x_243, 2); -lean_inc(x_250); -lean_inc(x_249); -lean_inc(x_248); -lean_dec(x_243); -lean_inc(x_244); -x_251 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_250, x_3, x_244); -x_252 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_252, 0, x_248); -lean_ctor_set(x_252, 1, x_249); -lean_ctor_set(x_252, 2, x_251); -x_222 = x_244; -x_223 = x_252; -goto block_237; -} -} -else -{ -uint8_t x_253; -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_253 = !lean_is_exclusive(x_242); -if (x_253 == 0) -{ -return x_242; -} -else -{ -lean_object* x_254; lean_object* x_255; lean_object* x_256; -x_254 = lean_ctor_get(x_242, 0); -x_255 = lean_ctor_get(x_242, 1); -lean_inc(x_255); -lean_inc(x_254); -lean_dec(x_242); -x_256 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_256, 0, x_254); -lean_ctor_set(x_256, 1, x_255); -return x_256; -} -} -} -else -{ -lean_object* x_257; -lean_dec(x_3); -x_257 = lean_ctor_get(x_241, 0); -lean_inc(x_257); -lean_dec(x_241); -x_222 = x_257; -x_223 = x_5; -goto block_237; -} -} -} -else -{ -lean_object* x_258; lean_object* x_259; -x_258 = lean_ctor_get(x_5, 2); -lean_inc(x_258); -x_259 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_258, x_3); -lean_dec(x_258); -if (lean_obj_tag(x_259) == 0) -{ -lean_object* x_260; -lean_inc(x_3); -lean_inc(x_1); -x_260 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___rarg(x_1, x_2, x_3, x_5); -if (lean_obj_tag(x_260) == 0) -{ -lean_object* x_261; lean_object* x_262; uint8_t x_263; -x_261 = lean_ctor_get(x_260, 1); -lean_inc(x_261); -x_262 = lean_ctor_get(x_260, 0); -lean_inc(x_262); -lean_dec(x_260); -x_263 = !lean_is_exclusive(x_261); -if (x_263 == 0) -{ -lean_object* x_264; lean_object* x_265; -x_264 = lean_ctor_get(x_261, 2); -lean_inc(x_262); -x_265 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_264, x_3, x_262); -lean_ctor_set(x_261, 2, x_265); -x_222 = x_262; -x_223 = x_261; -goto block_237; -} -else -{ -lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; -x_266 = lean_ctor_get(x_261, 0); -x_267 = lean_ctor_get(x_261, 1); -x_268 = lean_ctor_get(x_261, 2); -lean_inc(x_268); -lean_inc(x_267); -lean_inc(x_266); -lean_dec(x_261); -lean_inc(x_262); -x_269 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_268, x_3, x_262); -x_270 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_270, 0, x_266); -lean_ctor_set(x_270, 1, x_267); -lean_ctor_set(x_270, 2, x_269); -x_222 = x_262; -x_223 = x_270; -goto block_237; -} -} -else -{ -uint8_t x_271; -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_271 = !lean_is_exclusive(x_260); -if (x_271 == 0) -{ -return x_260; -} -else -{ -lean_object* x_272; lean_object* x_273; lean_object* x_274; -x_272 = lean_ctor_get(x_260, 0); -x_273 = lean_ctor_get(x_260, 1); -lean_inc(x_273); -lean_inc(x_272); -lean_dec(x_260); -x_274 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_274, 0, x_272); -lean_ctor_set(x_274, 1, x_273); -return x_274; -} -} -} -else -{ -lean_object* x_275; -lean_dec(x_3); -x_275 = lean_ctor_get(x_259, 0); -lean_inc(x_275); -lean_dec(x_259); -x_222 = x_275; -x_223 = x_5; -goto block_237; -} -} -block_237: -{ -lean_object* x_224; lean_object* x_225; -x_224 = lean_unsigned_to_nat(0u); -x_225 = l_Array_umapMAux___main___at_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___spec__4___rarg(x_1, x_2, x_224, x_4, x_223); -if (lean_obj_tag(x_225) == 0) -{ -uint8_t x_226; -x_226 = !lean_is_exclusive(x_225); -if (x_226 == 0) -{ -lean_object* x_227; lean_object* x_228; -x_227 = lean_ctor_get(x_225, 0); -x_228 = l_Lean_mkAppRev(x_222, x_227); -lean_dec(x_227); -lean_ctor_set(x_225, 0, x_228); -return x_225; -} -else -{ -lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; -x_229 = lean_ctor_get(x_225, 0); -x_230 = lean_ctor_get(x_225, 1); -lean_inc(x_230); -lean_inc(x_229); -lean_dec(x_225); -x_231 = l_Lean_mkAppRev(x_222, x_229); -lean_dec(x_229); -x_232 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_232, 0, x_231); -lean_ctor_set(x_232, 1, x_230); -return x_232; -} -} -else -{ -uint8_t x_233; -lean_dec(x_222); -x_233 = !lean_is_exclusive(x_225); -if (x_233 == 0) -{ -return x_225; -} -else -{ -lean_object* x_234; lean_object* x_235; lean_object* x_236; -x_234 = lean_ctor_get(x_225, 0); -x_235 = lean_ctor_get(x_225, 1); -lean_inc(x_235); -lean_inc(x_234); -lean_dec(x_225); -x_236 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_236, 0, x_234); -lean_ctor_set(x_236, 1, x_235); -return x_236; -} -} -} -} -case 5: -{ -lean_object* x_276; lean_object* x_277; lean_object* x_278; -x_276 = lean_ctor_get(x_3, 0); -lean_inc(x_276); -x_277 = lean_ctor_get(x_3, 1); -lean_inc(x_277); -lean_dec(x_3); -x_278 = lean_array_push(x_4, x_277); -x_3 = x_276; -x_4 = x_278; -goto _start; -} -case 6: -{ -lean_object* x_280; lean_object* x_281; uint8_t x_296; -x_296 = lean_expr_has_expr_mvar(x_3); -if (x_296 == 0) -{ -uint8_t x_297; -x_297 = lean_expr_has_level_mvar(x_3); -if (x_297 == 0) -{ -x_280 = x_3; -x_281 = x_5; -goto block_295; -} -else -{ -lean_object* x_298; lean_object* x_299; -x_298 = lean_ctor_get(x_5, 2); -lean_inc(x_298); -x_299 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_298, x_3); -lean_dec(x_298); -if (lean_obj_tag(x_299) == 0) -{ -lean_object* x_300; -lean_inc(x_3); -lean_inc(x_1); -x_300 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___rarg(x_1, x_2, x_3, x_5); -if (lean_obj_tag(x_300) == 0) -{ -lean_object* x_301; lean_object* x_302; uint8_t x_303; -x_301 = lean_ctor_get(x_300, 1); -lean_inc(x_301); -x_302 = lean_ctor_get(x_300, 0); -lean_inc(x_302); -lean_dec(x_300); -x_303 = !lean_is_exclusive(x_301); -if (x_303 == 0) -{ -lean_object* x_304; lean_object* x_305; -x_304 = lean_ctor_get(x_301, 2); -lean_inc(x_302); -x_305 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_304, x_3, x_302); -lean_ctor_set(x_301, 2, x_305); -x_280 = x_302; -x_281 = x_301; -goto block_295; -} -else -{ -lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; -x_306 = lean_ctor_get(x_301, 0); -x_307 = lean_ctor_get(x_301, 1); -x_308 = lean_ctor_get(x_301, 2); -lean_inc(x_308); -lean_inc(x_307); -lean_inc(x_306); -lean_dec(x_301); -lean_inc(x_302); -x_309 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_308, x_3, x_302); -x_310 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_310, 0, x_306); -lean_ctor_set(x_310, 1, x_307); -lean_ctor_set(x_310, 2, x_309); -x_280 = x_302; -x_281 = x_310; -goto block_295; -} -} -else -{ -uint8_t x_311; -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_311 = !lean_is_exclusive(x_300); -if (x_311 == 0) -{ -return x_300; -} -else -{ -lean_object* x_312; lean_object* x_313; lean_object* x_314; -x_312 = lean_ctor_get(x_300, 0); -x_313 = lean_ctor_get(x_300, 1); -lean_inc(x_313); -lean_inc(x_312); -lean_dec(x_300); -x_314 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_314, 0, x_312); -lean_ctor_set(x_314, 1, x_313); -return x_314; -} -} -} -else -{ -lean_object* x_315; -lean_dec(x_3); -x_315 = lean_ctor_get(x_299, 0); -lean_inc(x_315); -lean_dec(x_299); -x_280 = x_315; -x_281 = x_5; -goto block_295; -} -} -} -else -{ -lean_object* x_316; lean_object* x_317; -x_316 = lean_ctor_get(x_5, 2); -lean_inc(x_316); -x_317 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_316, x_3); -lean_dec(x_316); -if (lean_obj_tag(x_317) == 0) -{ -lean_object* x_318; -lean_inc(x_3); -lean_inc(x_1); -x_318 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___rarg(x_1, x_2, x_3, x_5); -if (lean_obj_tag(x_318) == 0) -{ -lean_object* x_319; lean_object* x_320; uint8_t x_321; -x_319 = lean_ctor_get(x_318, 1); -lean_inc(x_319); -x_320 = lean_ctor_get(x_318, 0); -lean_inc(x_320); -lean_dec(x_318); -x_321 = !lean_is_exclusive(x_319); -if (x_321 == 0) -{ -lean_object* x_322; lean_object* x_323; -x_322 = lean_ctor_get(x_319, 2); -lean_inc(x_320); -x_323 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_322, x_3, x_320); -lean_ctor_set(x_319, 2, x_323); -x_280 = x_320; -x_281 = x_319; -goto block_295; -} -else -{ -lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; -x_324 = lean_ctor_get(x_319, 0); -x_325 = lean_ctor_get(x_319, 1); -x_326 = lean_ctor_get(x_319, 2); -lean_inc(x_326); -lean_inc(x_325); -lean_inc(x_324); -lean_dec(x_319); -lean_inc(x_320); -x_327 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_326, x_3, x_320); -x_328 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_328, 0, x_324); -lean_ctor_set(x_328, 1, x_325); -lean_ctor_set(x_328, 2, x_327); -x_280 = x_320; -x_281 = x_328; -goto block_295; -} -} -else -{ -uint8_t x_329; -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_329 = !lean_is_exclusive(x_318); -if (x_329 == 0) -{ -return x_318; -} -else -{ -lean_object* x_330; lean_object* x_331; lean_object* x_332; -x_330 = lean_ctor_get(x_318, 0); -x_331 = lean_ctor_get(x_318, 1); -lean_inc(x_331); -lean_inc(x_330); -lean_dec(x_318); -x_332 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_332, 0, x_330); -lean_ctor_set(x_332, 1, x_331); -return x_332; -} -} -} -else -{ -lean_object* x_333; -lean_dec(x_3); -x_333 = lean_ctor_get(x_317, 0); -lean_inc(x_333); -lean_dec(x_317); -x_280 = x_333; -x_281 = x_5; -goto block_295; -} -} -block_295: -{ -lean_object* x_282; lean_object* x_283; -x_282 = lean_unsigned_to_nat(0u); -x_283 = l_Array_umapMAux___main___at_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___spec__4___rarg(x_1, x_2, x_282, x_4, x_281); -if (lean_obj_tag(x_283) == 0) -{ -uint8_t x_284; -x_284 = !lean_is_exclusive(x_283); -if (x_284 == 0) -{ -lean_object* x_285; lean_object* x_286; -x_285 = lean_ctor_get(x_283, 0); -x_286 = l_Lean_mkAppRev(x_280, x_285); -lean_dec(x_285); -lean_ctor_set(x_283, 0, x_286); -return x_283; -} -else -{ -lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; -x_287 = lean_ctor_get(x_283, 0); -x_288 = lean_ctor_get(x_283, 1); -lean_inc(x_288); -lean_inc(x_287); -lean_dec(x_283); -x_289 = l_Lean_mkAppRev(x_280, x_287); -lean_dec(x_287); -x_290 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_290, 0, x_289); -lean_ctor_set(x_290, 1, x_288); -return x_290; -} -} -else -{ -uint8_t x_291; -lean_dec(x_280); -x_291 = !lean_is_exclusive(x_283); -if (x_291 == 0) -{ -return x_283; -} -else -{ -lean_object* x_292; lean_object* x_293; lean_object* x_294; -x_292 = lean_ctor_get(x_283, 0); -x_293 = lean_ctor_get(x_283, 1); -lean_inc(x_293); -lean_inc(x_292); -lean_dec(x_283); -x_294 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_294, 0, x_292); -lean_ctor_set(x_294, 1, x_293); -return x_294; -} -} -} -} -case 7: -{ -lean_object* x_334; lean_object* x_335; uint8_t x_350; -x_350 = lean_expr_has_expr_mvar(x_3); -if (x_350 == 0) -{ -uint8_t x_351; -x_351 = lean_expr_has_level_mvar(x_3); -if (x_351 == 0) -{ -x_334 = x_3; -x_335 = x_5; -goto block_349; -} -else -{ -lean_object* x_352; lean_object* x_353; -x_352 = lean_ctor_get(x_5, 2); -lean_inc(x_352); -x_353 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_352, x_3); -lean_dec(x_352); -if (lean_obj_tag(x_353) == 0) -{ -lean_object* x_354; -lean_inc(x_3); -lean_inc(x_1); -x_354 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___rarg(x_1, x_2, x_3, x_5); -if (lean_obj_tag(x_354) == 0) -{ -lean_object* x_355; lean_object* x_356; uint8_t x_357; -x_355 = lean_ctor_get(x_354, 1); -lean_inc(x_355); -x_356 = lean_ctor_get(x_354, 0); -lean_inc(x_356); -lean_dec(x_354); -x_357 = !lean_is_exclusive(x_355); -if (x_357 == 0) -{ -lean_object* x_358; lean_object* x_359; -x_358 = lean_ctor_get(x_355, 2); -lean_inc(x_356); -x_359 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_358, x_3, x_356); -lean_ctor_set(x_355, 2, x_359); -x_334 = x_356; -x_335 = x_355; -goto block_349; -} -else -{ -lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; -x_360 = lean_ctor_get(x_355, 0); -x_361 = lean_ctor_get(x_355, 1); -x_362 = lean_ctor_get(x_355, 2); -lean_inc(x_362); -lean_inc(x_361); -lean_inc(x_360); -lean_dec(x_355); -lean_inc(x_356); -x_363 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_362, x_3, x_356); -x_364 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_364, 0, x_360); -lean_ctor_set(x_364, 1, x_361); -lean_ctor_set(x_364, 2, x_363); -x_334 = x_356; -x_335 = x_364; -goto block_349; -} -} -else -{ -uint8_t x_365; -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_365 = !lean_is_exclusive(x_354); -if (x_365 == 0) -{ -return x_354; -} -else -{ -lean_object* x_366; lean_object* x_367; lean_object* x_368; -x_366 = lean_ctor_get(x_354, 0); -x_367 = lean_ctor_get(x_354, 1); -lean_inc(x_367); -lean_inc(x_366); -lean_dec(x_354); -x_368 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_368, 0, x_366); -lean_ctor_set(x_368, 1, x_367); -return x_368; -} -} -} -else -{ -lean_object* x_369; -lean_dec(x_3); -x_369 = lean_ctor_get(x_353, 0); -lean_inc(x_369); -lean_dec(x_353); -x_334 = x_369; -x_335 = x_5; -goto block_349; -} -} -} -else -{ -lean_object* x_370; lean_object* x_371; -x_370 = lean_ctor_get(x_5, 2); -lean_inc(x_370); -x_371 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_370, x_3); -lean_dec(x_370); -if (lean_obj_tag(x_371) == 0) -{ -lean_object* x_372; -lean_inc(x_3); -lean_inc(x_1); -x_372 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___rarg(x_1, x_2, x_3, x_5); -if (lean_obj_tag(x_372) == 0) -{ -lean_object* x_373; lean_object* x_374; uint8_t x_375; -x_373 = lean_ctor_get(x_372, 1); -lean_inc(x_373); -x_374 = lean_ctor_get(x_372, 0); -lean_inc(x_374); -lean_dec(x_372); -x_375 = !lean_is_exclusive(x_373); -if (x_375 == 0) -{ -lean_object* x_376; lean_object* x_377; -x_376 = lean_ctor_get(x_373, 2); -lean_inc(x_374); -x_377 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_376, x_3, x_374); -lean_ctor_set(x_373, 2, x_377); -x_334 = x_374; -x_335 = x_373; -goto block_349; -} -else -{ -lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; -x_378 = lean_ctor_get(x_373, 0); -x_379 = lean_ctor_get(x_373, 1); -x_380 = lean_ctor_get(x_373, 2); -lean_inc(x_380); -lean_inc(x_379); -lean_inc(x_378); -lean_dec(x_373); -lean_inc(x_374); -x_381 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_380, x_3, x_374); -x_382 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_382, 0, x_378); -lean_ctor_set(x_382, 1, x_379); -lean_ctor_set(x_382, 2, x_381); -x_334 = x_374; -x_335 = x_382; -goto block_349; -} -} -else -{ -uint8_t x_383; -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_383 = !lean_is_exclusive(x_372); -if (x_383 == 0) -{ -return x_372; -} -else -{ -lean_object* x_384; lean_object* x_385; lean_object* x_386; -x_384 = lean_ctor_get(x_372, 0); -x_385 = lean_ctor_get(x_372, 1); -lean_inc(x_385); -lean_inc(x_384); -lean_dec(x_372); -x_386 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_386, 0, x_384); -lean_ctor_set(x_386, 1, x_385); -return x_386; -} -} -} -else -{ -lean_object* x_387; -lean_dec(x_3); -x_387 = lean_ctor_get(x_371, 0); -lean_inc(x_387); -lean_dec(x_371); -x_334 = x_387; -x_335 = x_5; -goto block_349; -} -} -block_349: -{ -lean_object* x_336; lean_object* x_337; -x_336 = lean_unsigned_to_nat(0u); -x_337 = l_Array_umapMAux___main___at_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___spec__4___rarg(x_1, x_2, x_336, x_4, x_335); -if (lean_obj_tag(x_337) == 0) -{ -uint8_t x_338; -x_338 = !lean_is_exclusive(x_337); -if (x_338 == 0) -{ -lean_object* x_339; lean_object* x_340; -x_339 = lean_ctor_get(x_337, 0); -x_340 = l_Lean_mkAppRev(x_334, x_339); -lean_dec(x_339); -lean_ctor_set(x_337, 0, x_340); -return x_337; -} -else -{ -lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; -x_341 = lean_ctor_get(x_337, 0); -x_342 = lean_ctor_get(x_337, 1); -lean_inc(x_342); -lean_inc(x_341); -lean_dec(x_337); -x_343 = l_Lean_mkAppRev(x_334, x_341); -lean_dec(x_341); -x_344 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_344, 0, x_343); -lean_ctor_set(x_344, 1, x_342); -return x_344; -} -} -else -{ -uint8_t x_345; -lean_dec(x_334); -x_345 = !lean_is_exclusive(x_337); -if (x_345 == 0) -{ -return x_337; -} -else -{ -lean_object* x_346; lean_object* x_347; lean_object* x_348; -x_346 = lean_ctor_get(x_337, 0); -x_347 = lean_ctor_get(x_337, 1); -lean_inc(x_347); -lean_inc(x_346); -lean_dec(x_337); -x_348 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_348, 0, x_346); -lean_ctor_set(x_348, 1, x_347); -return x_348; -} -} -} -} -case 8: -{ -lean_object* x_388; lean_object* x_389; uint8_t x_404; -x_404 = lean_expr_has_expr_mvar(x_3); -if (x_404 == 0) -{ -uint8_t x_405; -x_405 = lean_expr_has_level_mvar(x_3); -if (x_405 == 0) -{ -x_388 = x_3; -x_389 = x_5; -goto block_403; -} -else -{ -lean_object* x_406; lean_object* x_407; -x_406 = lean_ctor_get(x_5, 2); -lean_inc(x_406); -x_407 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_406, x_3); -lean_dec(x_406); -if (lean_obj_tag(x_407) == 0) -{ -lean_object* x_408; -lean_inc(x_3); -lean_inc(x_1); -x_408 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___rarg(x_1, x_2, x_3, x_5); -if (lean_obj_tag(x_408) == 0) -{ -lean_object* x_409; lean_object* x_410; uint8_t x_411; -x_409 = lean_ctor_get(x_408, 1); -lean_inc(x_409); -x_410 = lean_ctor_get(x_408, 0); -lean_inc(x_410); -lean_dec(x_408); -x_411 = !lean_is_exclusive(x_409); -if (x_411 == 0) -{ -lean_object* x_412; lean_object* x_413; -x_412 = lean_ctor_get(x_409, 2); -lean_inc(x_410); -x_413 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_412, x_3, x_410); -lean_ctor_set(x_409, 2, x_413); -x_388 = x_410; -x_389 = x_409; -goto block_403; -} -else -{ -lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; -x_414 = lean_ctor_get(x_409, 0); -x_415 = lean_ctor_get(x_409, 1); -x_416 = lean_ctor_get(x_409, 2); -lean_inc(x_416); -lean_inc(x_415); -lean_inc(x_414); -lean_dec(x_409); -lean_inc(x_410); -x_417 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_416, x_3, x_410); -x_418 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_418, 0, x_414); -lean_ctor_set(x_418, 1, x_415); -lean_ctor_set(x_418, 2, x_417); -x_388 = x_410; -x_389 = x_418; -goto block_403; -} -} -else -{ -uint8_t x_419; -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_419 = !lean_is_exclusive(x_408); -if (x_419 == 0) -{ -return x_408; -} -else -{ -lean_object* x_420; lean_object* x_421; lean_object* x_422; -x_420 = lean_ctor_get(x_408, 0); -x_421 = lean_ctor_get(x_408, 1); -lean_inc(x_421); -lean_inc(x_420); -lean_dec(x_408); -x_422 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_422, 0, x_420); -lean_ctor_set(x_422, 1, x_421); -return x_422; -} -} -} -else -{ -lean_object* x_423; -lean_dec(x_3); -x_423 = lean_ctor_get(x_407, 0); -lean_inc(x_423); -lean_dec(x_407); -x_388 = x_423; -x_389 = x_5; -goto block_403; -} -} -} -else -{ -lean_object* x_424; lean_object* x_425; -x_424 = lean_ctor_get(x_5, 2); -lean_inc(x_424); -x_425 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_424, x_3); -lean_dec(x_424); -if (lean_obj_tag(x_425) == 0) -{ -lean_object* x_426; -lean_inc(x_3); -lean_inc(x_1); -x_426 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___rarg(x_1, x_2, x_3, x_5); -if (lean_obj_tag(x_426) == 0) -{ -lean_object* x_427; lean_object* x_428; uint8_t x_429; -x_427 = lean_ctor_get(x_426, 1); -lean_inc(x_427); -x_428 = lean_ctor_get(x_426, 0); -lean_inc(x_428); -lean_dec(x_426); -x_429 = !lean_is_exclusive(x_427); -if (x_429 == 0) -{ -lean_object* x_430; lean_object* x_431; -x_430 = lean_ctor_get(x_427, 2); -lean_inc(x_428); -x_431 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_430, x_3, x_428); -lean_ctor_set(x_427, 2, x_431); -x_388 = x_428; -x_389 = x_427; -goto block_403; -} -else -{ -lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; -x_432 = lean_ctor_get(x_427, 0); -x_433 = lean_ctor_get(x_427, 1); -x_434 = lean_ctor_get(x_427, 2); -lean_inc(x_434); -lean_inc(x_433); -lean_inc(x_432); -lean_dec(x_427); -lean_inc(x_428); -x_435 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_434, x_3, x_428); -x_436 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_436, 0, x_432); -lean_ctor_set(x_436, 1, x_433); -lean_ctor_set(x_436, 2, x_435); -x_388 = x_428; -x_389 = x_436; -goto block_403; -} -} -else -{ -uint8_t x_437; -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_437 = !lean_is_exclusive(x_426); -if (x_437 == 0) -{ -return x_426; -} -else -{ -lean_object* x_438; lean_object* x_439; lean_object* x_440; -x_438 = lean_ctor_get(x_426, 0); -x_439 = lean_ctor_get(x_426, 1); -lean_inc(x_439); -lean_inc(x_438); -lean_dec(x_426); -x_440 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_440, 0, x_438); -lean_ctor_set(x_440, 1, x_439); -return x_440; -} -} -} -else -{ -lean_object* x_441; -lean_dec(x_3); -x_441 = lean_ctor_get(x_425, 0); -lean_inc(x_441); -lean_dec(x_425); -x_388 = x_441; -x_389 = x_5; -goto block_403; -} -} -block_403: -{ -lean_object* x_390; lean_object* x_391; -x_390 = lean_unsigned_to_nat(0u); -x_391 = l_Array_umapMAux___main___at_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___spec__4___rarg(x_1, x_2, x_390, x_4, x_389); -if (lean_obj_tag(x_391) == 0) -{ -uint8_t x_392; -x_392 = !lean_is_exclusive(x_391); -if (x_392 == 0) -{ -lean_object* x_393; lean_object* x_394; -x_393 = lean_ctor_get(x_391, 0); -x_394 = l_Lean_mkAppRev(x_388, x_393); -lean_dec(x_393); -lean_ctor_set(x_391, 0, x_394); -return x_391; -} -else -{ -lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; -x_395 = lean_ctor_get(x_391, 0); -x_396 = lean_ctor_get(x_391, 1); -lean_inc(x_396); -lean_inc(x_395); -lean_dec(x_391); -x_397 = l_Lean_mkAppRev(x_388, x_395); -lean_dec(x_395); -x_398 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_398, 0, x_397); -lean_ctor_set(x_398, 1, x_396); -return x_398; -} -} -else -{ -uint8_t x_399; -lean_dec(x_388); -x_399 = !lean_is_exclusive(x_391); -if (x_399 == 0) -{ -return x_391; -} -else -{ -lean_object* x_400; lean_object* x_401; lean_object* x_402; -x_400 = lean_ctor_get(x_391, 0); -x_401 = lean_ctor_get(x_391, 1); -lean_inc(x_401); -lean_inc(x_400); -lean_dec(x_391); -x_402 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_402, 0, x_400); -lean_ctor_set(x_402, 1, x_401); -return x_402; -} -} -} -} -case 9: -{ -lean_object* x_442; lean_object* x_443; uint8_t x_458; -x_458 = lean_expr_has_expr_mvar(x_3); -if (x_458 == 0) -{ -uint8_t x_459; -x_459 = lean_expr_has_level_mvar(x_3); -if (x_459 == 0) -{ -x_442 = x_3; -x_443 = x_5; -goto block_457; -} -else -{ -lean_object* x_460; lean_object* x_461; -x_460 = lean_ctor_get(x_5, 2); -lean_inc(x_460); -x_461 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_460, x_3); -lean_dec(x_460); -if (lean_obj_tag(x_461) == 0) -{ -lean_object* x_462; -lean_inc(x_3); -lean_inc(x_1); -x_462 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___rarg(x_1, x_2, x_3, x_5); -if (lean_obj_tag(x_462) == 0) -{ -lean_object* x_463; lean_object* x_464; uint8_t x_465; -x_463 = lean_ctor_get(x_462, 1); -lean_inc(x_463); -x_464 = lean_ctor_get(x_462, 0); -lean_inc(x_464); -lean_dec(x_462); -x_465 = !lean_is_exclusive(x_463); -if (x_465 == 0) -{ -lean_object* x_466; lean_object* x_467; -x_466 = lean_ctor_get(x_463, 2); -lean_inc(x_464); -x_467 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_466, x_3, x_464); -lean_ctor_set(x_463, 2, x_467); -x_442 = x_464; -x_443 = x_463; -goto block_457; -} -else -{ -lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; -x_468 = lean_ctor_get(x_463, 0); -x_469 = lean_ctor_get(x_463, 1); -x_470 = lean_ctor_get(x_463, 2); -lean_inc(x_470); -lean_inc(x_469); -lean_inc(x_468); -lean_dec(x_463); -lean_inc(x_464); -x_471 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_470, x_3, x_464); -x_472 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_472, 0, x_468); -lean_ctor_set(x_472, 1, x_469); -lean_ctor_set(x_472, 2, x_471); -x_442 = x_464; -x_443 = x_472; -goto block_457; -} -} -else -{ -uint8_t x_473; -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_473 = !lean_is_exclusive(x_462); -if (x_473 == 0) -{ -return x_462; -} -else -{ -lean_object* x_474; lean_object* x_475; lean_object* x_476; -x_474 = lean_ctor_get(x_462, 0); -x_475 = lean_ctor_get(x_462, 1); -lean_inc(x_475); -lean_inc(x_474); -lean_dec(x_462); -x_476 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_476, 0, x_474); -lean_ctor_set(x_476, 1, x_475); -return x_476; -} -} -} -else -{ -lean_object* x_477; -lean_dec(x_3); -x_477 = lean_ctor_get(x_461, 0); -lean_inc(x_477); -lean_dec(x_461); -x_442 = x_477; -x_443 = x_5; -goto block_457; -} -} -} -else -{ -lean_object* x_478; lean_object* x_479; -x_478 = lean_ctor_get(x_5, 2); -lean_inc(x_478); -x_479 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_478, x_3); -lean_dec(x_478); -if (lean_obj_tag(x_479) == 0) -{ -lean_object* x_480; -lean_inc(x_3); -lean_inc(x_1); -x_480 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___rarg(x_1, x_2, x_3, x_5); -if (lean_obj_tag(x_480) == 0) -{ -lean_object* x_481; lean_object* x_482; uint8_t x_483; -x_481 = lean_ctor_get(x_480, 1); -lean_inc(x_481); -x_482 = lean_ctor_get(x_480, 0); -lean_inc(x_482); -lean_dec(x_480); -x_483 = !lean_is_exclusive(x_481); -if (x_483 == 0) -{ -lean_object* x_484; lean_object* x_485; -x_484 = lean_ctor_get(x_481, 2); -lean_inc(x_482); -x_485 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_484, x_3, x_482); -lean_ctor_set(x_481, 2, x_485); -x_442 = x_482; -x_443 = x_481; -goto block_457; -} -else -{ -lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; -x_486 = lean_ctor_get(x_481, 0); -x_487 = lean_ctor_get(x_481, 1); -x_488 = lean_ctor_get(x_481, 2); -lean_inc(x_488); -lean_inc(x_487); -lean_inc(x_486); -lean_dec(x_481); -lean_inc(x_482); -x_489 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_488, x_3, x_482); -x_490 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_490, 0, x_486); -lean_ctor_set(x_490, 1, x_487); -lean_ctor_set(x_490, 2, x_489); -x_442 = x_482; -x_443 = x_490; -goto block_457; -} -} -else -{ -uint8_t x_491; -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_491 = !lean_is_exclusive(x_480); -if (x_491 == 0) -{ -return x_480; -} -else -{ -lean_object* x_492; lean_object* x_493; lean_object* x_494; -x_492 = lean_ctor_get(x_480, 0); -x_493 = lean_ctor_get(x_480, 1); -lean_inc(x_493); -lean_inc(x_492); -lean_dec(x_480); -x_494 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_494, 0, x_492); -lean_ctor_set(x_494, 1, x_493); -return x_494; -} -} -} -else -{ -lean_object* x_495; -lean_dec(x_3); -x_495 = lean_ctor_get(x_479, 0); -lean_inc(x_495); -lean_dec(x_479); -x_442 = x_495; -x_443 = x_5; -goto block_457; -} -} -block_457: -{ -lean_object* x_444; lean_object* x_445; -x_444 = lean_unsigned_to_nat(0u); -x_445 = l_Array_umapMAux___main___at_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___spec__4___rarg(x_1, x_2, x_444, x_4, x_443); -if (lean_obj_tag(x_445) == 0) -{ -uint8_t x_446; -x_446 = !lean_is_exclusive(x_445); -if (x_446 == 0) -{ -lean_object* x_447; lean_object* x_448; -x_447 = lean_ctor_get(x_445, 0); -x_448 = l_Lean_mkAppRev(x_442, x_447); -lean_dec(x_447); -lean_ctor_set(x_445, 0, x_448); -return x_445; -} -else -{ -lean_object* x_449; lean_object* x_450; lean_object* x_451; lean_object* x_452; -x_449 = lean_ctor_get(x_445, 0); -x_450 = lean_ctor_get(x_445, 1); -lean_inc(x_450); -lean_inc(x_449); -lean_dec(x_445); -x_451 = l_Lean_mkAppRev(x_442, x_449); -lean_dec(x_449); -x_452 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_452, 0, x_451); -lean_ctor_set(x_452, 1, x_450); -return x_452; -} -} -else -{ -uint8_t x_453; -lean_dec(x_442); -x_453 = !lean_is_exclusive(x_445); -if (x_453 == 0) -{ -return x_445; -} -else -{ -lean_object* x_454; lean_object* x_455; lean_object* x_456; -x_454 = lean_ctor_get(x_445, 0); -x_455 = lean_ctor_get(x_445, 1); -lean_inc(x_455); -lean_inc(x_454); -lean_dec(x_445); -x_456 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_456, 0, x_454); -lean_ctor_set(x_456, 1, x_455); -return x_456; -} -} -} -} -case 10: -{ -lean_object* x_496; lean_object* x_497; uint8_t x_512; -x_512 = lean_expr_has_expr_mvar(x_3); -if (x_512 == 0) -{ -uint8_t x_513; -x_513 = lean_expr_has_level_mvar(x_3); -if (x_513 == 0) -{ -x_496 = x_3; -x_497 = x_5; -goto block_511; -} -else -{ -lean_object* x_514; lean_object* x_515; -x_514 = lean_ctor_get(x_5, 2); -lean_inc(x_514); -x_515 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_514, x_3); -lean_dec(x_514); -if (lean_obj_tag(x_515) == 0) -{ -lean_object* x_516; -lean_inc(x_3); -lean_inc(x_1); -x_516 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___rarg(x_1, x_2, x_3, x_5); -if (lean_obj_tag(x_516) == 0) -{ -lean_object* x_517; lean_object* x_518; uint8_t x_519; -x_517 = lean_ctor_get(x_516, 1); -lean_inc(x_517); -x_518 = lean_ctor_get(x_516, 0); -lean_inc(x_518); -lean_dec(x_516); -x_519 = !lean_is_exclusive(x_517); -if (x_519 == 0) -{ -lean_object* x_520; lean_object* x_521; -x_520 = lean_ctor_get(x_517, 2); -lean_inc(x_518); -x_521 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_520, x_3, x_518); -lean_ctor_set(x_517, 2, x_521); -x_496 = x_518; -x_497 = x_517; -goto block_511; -} -else -{ -lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; -x_522 = lean_ctor_get(x_517, 0); -x_523 = lean_ctor_get(x_517, 1); -x_524 = lean_ctor_get(x_517, 2); -lean_inc(x_524); -lean_inc(x_523); -lean_inc(x_522); -lean_dec(x_517); -lean_inc(x_518); -x_525 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_524, x_3, x_518); -x_526 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_526, 0, x_522); -lean_ctor_set(x_526, 1, x_523); -lean_ctor_set(x_526, 2, x_525); -x_496 = x_518; -x_497 = x_526; -goto block_511; -} -} -else -{ -uint8_t x_527; -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_527 = !lean_is_exclusive(x_516); -if (x_527 == 0) -{ -return x_516; -} -else -{ -lean_object* x_528; lean_object* x_529; lean_object* x_530; -x_528 = lean_ctor_get(x_516, 0); -x_529 = lean_ctor_get(x_516, 1); -lean_inc(x_529); -lean_inc(x_528); -lean_dec(x_516); -x_530 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_530, 0, x_528); -lean_ctor_set(x_530, 1, x_529); -return x_530; -} -} -} -else -{ -lean_object* x_531; -lean_dec(x_3); -x_531 = lean_ctor_get(x_515, 0); -lean_inc(x_531); -lean_dec(x_515); -x_496 = x_531; -x_497 = x_5; -goto block_511; -} -} -} -else -{ -lean_object* x_532; lean_object* x_533; -x_532 = lean_ctor_get(x_5, 2); -lean_inc(x_532); -x_533 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_532, x_3); -lean_dec(x_532); -if (lean_obj_tag(x_533) == 0) -{ -lean_object* x_534; -lean_inc(x_3); -lean_inc(x_1); -x_534 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___rarg(x_1, x_2, x_3, x_5); -if (lean_obj_tag(x_534) == 0) -{ -lean_object* x_535; lean_object* x_536; uint8_t x_537; -x_535 = lean_ctor_get(x_534, 1); -lean_inc(x_535); -x_536 = lean_ctor_get(x_534, 0); -lean_inc(x_536); -lean_dec(x_534); -x_537 = !lean_is_exclusive(x_535); -if (x_537 == 0) -{ -lean_object* x_538; lean_object* x_539; -x_538 = lean_ctor_get(x_535, 2); -lean_inc(x_536); -x_539 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_538, x_3, x_536); -lean_ctor_set(x_535, 2, x_539); -x_496 = x_536; -x_497 = x_535; -goto block_511; -} -else -{ -lean_object* x_540; lean_object* x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; -x_540 = lean_ctor_get(x_535, 0); -x_541 = lean_ctor_get(x_535, 1); -x_542 = lean_ctor_get(x_535, 2); -lean_inc(x_542); -lean_inc(x_541); -lean_inc(x_540); -lean_dec(x_535); -lean_inc(x_536); -x_543 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_542, x_3, x_536); -x_544 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_544, 0, x_540); -lean_ctor_set(x_544, 1, x_541); -lean_ctor_set(x_544, 2, x_543); -x_496 = x_536; -x_497 = x_544; -goto block_511; -} -} -else -{ -uint8_t x_545; -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_545 = !lean_is_exclusive(x_534); -if (x_545 == 0) -{ -return x_534; -} -else -{ -lean_object* x_546; lean_object* x_547; lean_object* x_548; -x_546 = lean_ctor_get(x_534, 0); -x_547 = lean_ctor_get(x_534, 1); -lean_inc(x_547); -lean_inc(x_546); -lean_dec(x_534); -x_548 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_548, 0, x_546); -lean_ctor_set(x_548, 1, x_547); -return x_548; -} -} -} -else -{ -lean_object* x_549; -lean_dec(x_3); -x_549 = lean_ctor_get(x_533, 0); -lean_inc(x_549); -lean_dec(x_533); -x_496 = x_549; -x_497 = x_5; -goto block_511; -} -} -block_511: -{ -lean_object* x_498; lean_object* x_499; -x_498 = lean_unsigned_to_nat(0u); -x_499 = l_Array_umapMAux___main___at_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___spec__4___rarg(x_1, x_2, x_498, x_4, x_497); -if (lean_obj_tag(x_499) == 0) -{ -uint8_t x_500; -x_500 = !lean_is_exclusive(x_499); -if (x_500 == 0) -{ -lean_object* x_501; lean_object* x_502; -x_501 = lean_ctor_get(x_499, 0); -x_502 = l_Lean_mkAppRev(x_496, x_501); -lean_dec(x_501); -lean_ctor_set(x_499, 0, x_502); -return x_499; -} -else -{ -lean_object* x_503; lean_object* x_504; lean_object* x_505; lean_object* x_506; -x_503 = lean_ctor_get(x_499, 0); -x_504 = lean_ctor_get(x_499, 1); -lean_inc(x_504); -lean_inc(x_503); -lean_dec(x_499); -x_505 = l_Lean_mkAppRev(x_496, x_503); -lean_dec(x_503); -x_506 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_506, 0, x_505); -lean_ctor_set(x_506, 1, x_504); -return x_506; -} -} -else -{ -uint8_t x_507; -lean_dec(x_496); -x_507 = !lean_is_exclusive(x_499); -if (x_507 == 0) -{ -return x_499; -} -else -{ -lean_object* x_508; lean_object* x_509; lean_object* x_510; -x_508 = lean_ctor_get(x_499, 0); -x_509 = lean_ctor_get(x_499, 1); -lean_inc(x_509); -lean_inc(x_508); -lean_dec(x_499); -x_510 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_510, 0, x_508); -lean_ctor_set(x_510, 1, x_509); -return x_510; -} -} -} -} -default: -{ -lean_object* x_550; lean_object* x_551; uint8_t x_566; -x_566 = lean_expr_has_expr_mvar(x_3); -if (x_566 == 0) -{ -uint8_t x_567; -x_567 = lean_expr_has_level_mvar(x_3); -if (x_567 == 0) -{ -x_550 = x_3; -x_551 = x_5; -goto block_565; -} -else -{ -lean_object* x_568; lean_object* x_569; -x_568 = lean_ctor_get(x_5, 2); -lean_inc(x_568); -x_569 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_568, x_3); -lean_dec(x_568); -if (lean_obj_tag(x_569) == 0) -{ -lean_object* x_570; -lean_inc(x_3); -lean_inc(x_1); -x_570 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___rarg(x_1, x_2, x_3, x_5); -if (lean_obj_tag(x_570) == 0) -{ -lean_object* x_571; lean_object* x_572; uint8_t x_573; -x_571 = lean_ctor_get(x_570, 1); -lean_inc(x_571); -x_572 = lean_ctor_get(x_570, 0); -lean_inc(x_572); -lean_dec(x_570); -x_573 = !lean_is_exclusive(x_571); -if (x_573 == 0) -{ -lean_object* x_574; lean_object* x_575; -x_574 = lean_ctor_get(x_571, 2); -lean_inc(x_572); -x_575 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_574, x_3, x_572); -lean_ctor_set(x_571, 2, x_575); -x_550 = x_572; -x_551 = x_571; -goto block_565; -} -else -{ -lean_object* x_576; lean_object* x_577; lean_object* x_578; lean_object* x_579; lean_object* x_580; -x_576 = lean_ctor_get(x_571, 0); -x_577 = lean_ctor_get(x_571, 1); -x_578 = lean_ctor_get(x_571, 2); -lean_inc(x_578); -lean_inc(x_577); -lean_inc(x_576); -lean_dec(x_571); -lean_inc(x_572); -x_579 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_578, x_3, x_572); -x_580 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_580, 0, x_576); -lean_ctor_set(x_580, 1, x_577); -lean_ctor_set(x_580, 2, x_579); -x_550 = x_572; -x_551 = x_580; -goto block_565; -} -} -else -{ -uint8_t x_581; -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_581 = !lean_is_exclusive(x_570); -if (x_581 == 0) -{ -return x_570; -} -else -{ -lean_object* x_582; lean_object* x_583; lean_object* x_584; -x_582 = lean_ctor_get(x_570, 0); -x_583 = lean_ctor_get(x_570, 1); -lean_inc(x_583); -lean_inc(x_582); -lean_dec(x_570); -x_584 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_584, 0, x_582); -lean_ctor_set(x_584, 1, x_583); -return x_584; -} -} -} -else -{ -lean_object* x_585; -lean_dec(x_3); -x_585 = lean_ctor_get(x_569, 0); -lean_inc(x_585); -lean_dec(x_569); -x_550 = x_585; -x_551 = x_5; -goto block_565; -} -} -} -else -{ -lean_object* x_586; lean_object* x_587; -x_586 = lean_ctor_get(x_5, 2); -lean_inc(x_586); -x_587 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_586, x_3); -lean_dec(x_586); -if (lean_obj_tag(x_587) == 0) -{ -lean_object* x_588; -lean_inc(x_3); -lean_inc(x_1); -x_588 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___rarg(x_1, x_2, x_3, x_5); -if (lean_obj_tag(x_588) == 0) -{ -lean_object* x_589; lean_object* x_590; uint8_t x_591; -x_589 = lean_ctor_get(x_588, 1); -lean_inc(x_589); -x_590 = lean_ctor_get(x_588, 0); -lean_inc(x_590); -lean_dec(x_588); -x_591 = !lean_is_exclusive(x_589); -if (x_591 == 0) -{ -lean_object* x_592; lean_object* x_593; -x_592 = lean_ctor_get(x_589, 2); -lean_inc(x_590); -x_593 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_592, x_3, x_590); -lean_ctor_set(x_589, 2, x_593); -x_550 = x_590; -x_551 = x_589; -goto block_565; -} -else -{ -lean_object* x_594; lean_object* x_595; lean_object* x_596; lean_object* x_597; lean_object* x_598; -x_594 = lean_ctor_get(x_589, 0); -x_595 = lean_ctor_get(x_589, 1); -x_596 = lean_ctor_get(x_589, 2); -lean_inc(x_596); -lean_inc(x_595); -lean_inc(x_594); -lean_dec(x_589); -lean_inc(x_590); -x_597 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_596, x_3, x_590); -x_598 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_598, 0, x_594); -lean_ctor_set(x_598, 1, x_595); -lean_ctor_set(x_598, 2, x_597); -x_550 = x_590; -x_551 = x_598; -goto block_565; -} -} -else -{ -uint8_t x_599; -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_599 = !lean_is_exclusive(x_588); -if (x_599 == 0) -{ -return x_588; -} -else -{ -lean_object* x_600; lean_object* x_601; lean_object* x_602; -x_600 = lean_ctor_get(x_588, 0); -x_601 = lean_ctor_get(x_588, 1); -lean_inc(x_601); -lean_inc(x_600); -lean_dec(x_588); -x_602 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_602, 0, x_600); -lean_ctor_set(x_602, 1, x_601); -return x_602; -} -} -} -else -{ -lean_object* x_603; -lean_dec(x_3); -x_603 = lean_ctor_get(x_587, 0); -lean_inc(x_603); -lean_dec(x_587); -x_550 = x_603; -x_551 = x_5; -goto block_565; -} -} -block_565: -{ -lean_object* x_552; lean_object* x_553; -x_552 = lean_unsigned_to_nat(0u); -x_553 = l_Array_umapMAux___main___at_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___spec__4___rarg(x_1, x_2, x_552, x_4, x_551); -if (lean_obj_tag(x_553) == 0) -{ -uint8_t x_554; -x_554 = !lean_is_exclusive(x_553); -if (x_554 == 0) -{ -lean_object* x_555; lean_object* x_556; -x_555 = lean_ctor_get(x_553, 0); -x_556 = l_Lean_mkAppRev(x_550, x_555); -lean_dec(x_555); -lean_ctor_set(x_553, 0, x_556); -return x_553; -} -else -{ -lean_object* x_557; lean_object* x_558; lean_object* x_559; lean_object* x_560; -x_557 = lean_ctor_get(x_553, 0); -x_558 = lean_ctor_get(x_553, 1); -lean_inc(x_558); -lean_inc(x_557); -lean_dec(x_553); -x_559 = l_Lean_mkAppRev(x_550, x_557); -lean_dec(x_557); -x_560 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_560, 0, x_559); -lean_ctor_set(x_560, 1, x_558); -return x_560; -} -} -else -{ -uint8_t x_561; -lean_dec(x_550); -x_561 = !lean_is_exclusive(x_553); -if (x_561 == 0) -{ -return x_553; -} -else -{ -lean_object* x_562; lean_object* x_563; lean_object* x_564; -x_562 = lean_ctor_get(x_553, 0); -x_563 = lean_ctor_get(x_553, 1); -lean_inc(x_563); -lean_inc(x_562); -lean_dec(x_553); -x_564 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_564, 0, x_562); -lean_ctor_set(x_564, 1, x_563); -return x_564; -} -} -} -} -} -} -} -lean_object* l___private_Init_Lean_Expr_4__withAppRevAux___main___at_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___spec__5(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Init_Lean_Expr_4__withAppRevAux___main___at_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___spec__5___rarg___boxed), 5, 0); -return x_2; -} -} -lean_object* l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___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_16; lean_object* x_17; -switch (lean_obj_tag(x_3)) { -case 2: -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_27 = lean_ctor_get(x_3, 0); -lean_inc(x_27); -x_28 = lean_ctor_get(x_4, 0); -lean_inc(x_28); -x_29 = lean_ctor_get(x_1, 5); -lean_inc(x_29); -lean_inc(x_27); -lean_inc(x_28); -x_30 = lean_apply_2(x_29, x_28, x_27); -if (lean_obj_tag(x_30) == 0) -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; -x_31 = lean_ctor_get(x_1, 7); -lean_inc(x_31); -lean_inc(x_27); -lean_inc(x_28); -x_32 = lean_apply_2(x_31, x_28, x_27); -x_33 = lean_ctor_get(x_32, 1); -lean_inc(x_33); -x_34 = l_Lean_AbstractMetavarContext_MkBinding_getInScope(x_33, x_2); -x_35 = lean_array_get_size(x_34); -x_36 = lean_unsigned_to_nat(0u); -x_37 = lean_nat_dec_eq(x_35, x_36); -lean_dec(x_35); -if (x_37 == 0) -{ -lean_object* x_38; lean_object* x_39; uint8_t x_40; -x_38 = lean_ctor_get(x_1, 4); -lean_inc(x_38); -lean_inc(x_27); -lean_inc(x_28); -x_39 = lean_apply_2(x_38, x_28, x_27); -x_40 = lean_unbox(x_39); -lean_dec(x_39); -if (x_40 == 0) -{ -uint8_t x_41; -x_41 = lean_ctor_get_uint8(x_1, sizeof(void*)*12); -if (x_41 == 0) -{ -lean_object* x_42; lean_object* x_43; -lean_dec(x_34); -lean_dec(x_33); -lean_dec(x_32); -lean_dec(x_28); -lean_dec(x_27); -lean_dec(x_3); -lean_dec(x_1); -x_42 = lean_box(2); -x_43 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_43, 0, x_42); -lean_ctor_set(x_43, 1, x_4); -return x_43; -} -else -{ -lean_object* x_44; -lean_inc(x_33); -lean_inc(x_1); -x_44 = l_Lean_AbstractMetavarContext_MkBinding_collectDeps___rarg(x_1, x_28, x_33, x_34); -if (lean_obj_tag(x_44) == 0) -{ -lean_object* x_45; lean_object* x_46; -lean_dec(x_33); -lean_dec(x_32); -lean_dec(x_27); -lean_dec(x_3); -lean_dec(x_1); -x_45 = lean_ctor_get(x_44, 0); -lean_inc(x_45); -lean_dec(x_44); -x_46 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_46, 0, x_45); -lean_ctor_set(x_46, 1, x_4); -return x_46; -} -else -{ -lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; lean_object* x_51; -x_47 = lean_ctor_get(x_44, 0); -lean_inc(x_47); -lean_dec(x_44); -lean_inc(x_33); -x_48 = l_Lean_AbstractMetavarContext_MkBinding_reduceLocalContext(x_33, x_47); -x_49 = lean_ctor_get(x_32, 2); -lean_inc(x_49); -x_50 = 0; -lean_inc(x_47); -lean_inc(x_33); -lean_inc(x_1); -x_51 = l_Lean_AbstractMetavarContext_MkBinding_mkBinding___at_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___spec__1___rarg(x_1, x_50, x_33, x_47, x_49, x_4); -if (lean_obj_tag(x_51) == 0) -{ -lean_object* x_52; lean_object* x_53; uint8_t x_54; -x_52 = lean_ctor_get(x_51, 1); -lean_inc(x_52); -x_53 = lean_ctor_get(x_52, 1); -lean_inc(x_53); -x_54 = !lean_is_exclusive(x_51); -if (x_54 == 0) -{ -lean_object* x_55; lean_object* x_56; uint8_t x_57; -x_55 = lean_ctor_get(x_51, 0); -x_56 = lean_ctor_get(x_51, 1); -lean_dec(x_56); -x_57 = !lean_is_exclusive(x_52); -if (x_57 == 0) -{ -lean_object* x_58; lean_object* x_59; uint8_t x_60; -x_58 = lean_ctor_get(x_52, 0); -x_59 = lean_ctor_get(x_52, 1); -lean_dec(x_59); -x_60 = !lean_is_exclusive(x_53); -if (x_60 == 0) -{ -lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; uint8_t x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; -x_61 = lean_ctor_get(x_53, 0); -x_62 = lean_ctor_get(x_53, 1); -lean_inc(x_62); -lean_inc(x_61); -x_63 = lean_name_mk_numeral(x_61, x_62); -x_64 = lean_unsigned_to_nat(1u); -x_65 = lean_nat_add(x_62, x_64); -lean_dec(x_62); -lean_ctor_set(x_53, 1, x_65); -x_66 = lean_ctor_get(x_1, 11); -lean_inc(x_66); -x_67 = lean_ctor_get_uint8(x_32, sizeof(void*)*3); -lean_dec(x_32); -x_68 = lean_box(x_67); -lean_inc(x_63); -x_69 = lean_apply_5(x_66, x_58, x_63, x_48, x_55, x_68); -lean_inc(x_63); -x_70 = lean_expr_mk_mvar(x_63); -lean_inc(x_33); -x_71 = l_Array_iterateMAux___main___at_Lean_AbstractMetavarContext_MkBinding_mkMVarApp___spec__1(x_33, x_47, x_47, x_36, x_70); -if (x_67 == 0) -{ -lean_object* x_72; lean_object* x_73; -lean_dec(x_63); -lean_dec(x_47); -lean_dec(x_33); -lean_dec(x_3); -x_72 = lean_ctor_get(x_1, 6); -lean_inc(x_72); -lean_dec(x_1); -lean_inc(x_71); -x_73 = lean_apply_3(x_72, x_69, x_27, x_71); -lean_ctor_set(x_52, 0, x_73); -lean_ctor_set(x_51, 0, x_71); -return x_51; -} -else -{ -lean_object* x_74; lean_object* x_75; -lean_dec(x_27); -x_74 = lean_ctor_get(x_1, 8); -lean_inc(x_74); -lean_dec(x_1); -x_75 = lean_apply_5(x_74, x_69, x_63, x_33, x_47, x_3); -lean_ctor_set(x_52, 0, x_75); -lean_ctor_set(x_51, 0, x_71); -return x_51; -} -} -else -{ -lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; uint8_t x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; -x_76 = lean_ctor_get(x_53, 0); -x_77 = lean_ctor_get(x_53, 1); -lean_inc(x_77); -lean_inc(x_76); -lean_dec(x_53); -lean_inc(x_77); -lean_inc(x_76); -x_78 = lean_name_mk_numeral(x_76, x_77); -x_79 = lean_unsigned_to_nat(1u); -x_80 = lean_nat_add(x_77, x_79); -lean_dec(x_77); -x_81 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_81, 0, x_76); -lean_ctor_set(x_81, 1, x_80); -x_82 = lean_ctor_get(x_1, 11); -lean_inc(x_82); -x_83 = lean_ctor_get_uint8(x_32, sizeof(void*)*3); -lean_dec(x_32); -x_84 = lean_box(x_83); -lean_inc(x_78); -x_85 = lean_apply_5(x_82, x_58, x_78, x_48, x_55, x_84); -lean_inc(x_78); -x_86 = lean_expr_mk_mvar(x_78); -lean_inc(x_33); -x_87 = l_Array_iterateMAux___main___at_Lean_AbstractMetavarContext_MkBinding_mkMVarApp___spec__1(x_33, x_47, x_47, x_36, x_86); -if (x_83 == 0) -{ -lean_object* x_88; lean_object* x_89; -lean_dec(x_78); -lean_dec(x_47); -lean_dec(x_33); -lean_dec(x_3); -x_88 = lean_ctor_get(x_1, 6); -lean_inc(x_88); -lean_dec(x_1); -lean_inc(x_87); -x_89 = lean_apply_3(x_88, x_85, x_27, x_87); -lean_ctor_set(x_52, 1, x_81); -lean_ctor_set(x_52, 0, x_89); -lean_ctor_set(x_51, 0, x_87); -return x_51; -} -else -{ -lean_object* x_90; lean_object* x_91; -lean_dec(x_27); -x_90 = lean_ctor_get(x_1, 8); -lean_inc(x_90); -lean_dec(x_1); -x_91 = lean_apply_5(x_90, x_85, x_78, x_33, x_47, x_3); -lean_ctor_set(x_52, 1, x_81); -lean_ctor_set(x_52, 0, x_91); -lean_ctor_set(x_51, 0, x_87); -return x_51; -} -} -} -else -{ -lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; uint8_t x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; -x_92 = lean_ctor_get(x_52, 0); -x_93 = lean_ctor_get(x_52, 2); -lean_inc(x_93); -lean_inc(x_92); -lean_dec(x_52); -x_94 = lean_ctor_get(x_53, 0); -lean_inc(x_94); -x_95 = lean_ctor_get(x_53, 1); -lean_inc(x_95); -if (lean_is_exclusive(x_53)) { - lean_ctor_release(x_53, 0); - lean_ctor_release(x_53, 1); - x_96 = x_53; -} else { - lean_dec_ref(x_53); - x_96 = lean_box(0); -} -lean_inc(x_95); -lean_inc(x_94); -x_97 = lean_name_mk_numeral(x_94, x_95); -x_98 = lean_unsigned_to_nat(1u); -x_99 = lean_nat_add(x_95, x_98); -lean_dec(x_95); -if (lean_is_scalar(x_96)) { - x_100 = lean_alloc_ctor(0, 2, 0); -} else { - x_100 = x_96; -} -lean_ctor_set(x_100, 0, x_94); -lean_ctor_set(x_100, 1, x_99); -x_101 = lean_ctor_get(x_1, 11); -lean_inc(x_101); -x_102 = lean_ctor_get_uint8(x_32, sizeof(void*)*3); -lean_dec(x_32); -x_103 = lean_box(x_102); -lean_inc(x_97); -x_104 = lean_apply_5(x_101, x_92, x_97, x_48, x_55, x_103); -lean_inc(x_97); -x_105 = lean_expr_mk_mvar(x_97); -lean_inc(x_33); -x_106 = l_Array_iterateMAux___main___at_Lean_AbstractMetavarContext_MkBinding_mkMVarApp___spec__1(x_33, x_47, x_47, x_36, x_105); -if (x_102 == 0) -{ -lean_object* x_107; lean_object* x_108; lean_object* x_109; -lean_dec(x_97); -lean_dec(x_47); -lean_dec(x_33); -lean_dec(x_3); -x_107 = lean_ctor_get(x_1, 6); -lean_inc(x_107); -lean_dec(x_1); -lean_inc(x_106); -x_108 = lean_apply_3(x_107, x_104, x_27, x_106); -x_109 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_109, 0, x_108); -lean_ctor_set(x_109, 1, x_100); -lean_ctor_set(x_109, 2, x_93); -lean_ctor_set(x_51, 1, x_109); -lean_ctor_set(x_51, 0, x_106); -return x_51; -} -else -{ -lean_object* x_110; lean_object* x_111; lean_object* x_112; -lean_dec(x_27); -x_110 = lean_ctor_get(x_1, 8); -lean_inc(x_110); -lean_dec(x_1); -x_111 = lean_apply_5(x_110, x_104, x_97, x_33, x_47, x_3); -x_112 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_112, 0, x_111); -lean_ctor_set(x_112, 1, x_100); -lean_ctor_set(x_112, 2, x_93); -lean_ctor_set(x_51, 1, x_112); -lean_ctor_set(x_51, 0, x_106); -return x_51; -} -} -} -else -{ -lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; uint8_t x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; -x_113 = lean_ctor_get(x_51, 0); -lean_inc(x_113); -lean_dec(x_51); -x_114 = lean_ctor_get(x_52, 0); -lean_inc(x_114); -x_115 = lean_ctor_get(x_52, 2); -lean_inc(x_115); -if (lean_is_exclusive(x_52)) { - lean_ctor_release(x_52, 0); - lean_ctor_release(x_52, 1); - lean_ctor_release(x_52, 2); - x_116 = x_52; -} else { - lean_dec_ref(x_52); - x_116 = lean_box(0); -} -x_117 = lean_ctor_get(x_53, 0); -lean_inc(x_117); -x_118 = lean_ctor_get(x_53, 1); -lean_inc(x_118); -if (lean_is_exclusive(x_53)) { - lean_ctor_release(x_53, 0); - lean_ctor_release(x_53, 1); - x_119 = x_53; -} else { - lean_dec_ref(x_53); - x_119 = lean_box(0); -} -lean_inc(x_118); -lean_inc(x_117); -x_120 = lean_name_mk_numeral(x_117, x_118); -x_121 = lean_unsigned_to_nat(1u); -x_122 = lean_nat_add(x_118, x_121); -lean_dec(x_118); -if (lean_is_scalar(x_119)) { - x_123 = lean_alloc_ctor(0, 2, 0); -} else { - x_123 = x_119; -} -lean_ctor_set(x_123, 0, x_117); -lean_ctor_set(x_123, 1, x_122); -x_124 = lean_ctor_get(x_1, 11); -lean_inc(x_124); -x_125 = lean_ctor_get_uint8(x_32, sizeof(void*)*3); -lean_dec(x_32); -x_126 = lean_box(x_125); -lean_inc(x_120); -x_127 = lean_apply_5(x_124, x_114, x_120, x_48, x_113, x_126); -lean_inc(x_120); -x_128 = lean_expr_mk_mvar(x_120); -lean_inc(x_33); -x_129 = l_Array_iterateMAux___main___at_Lean_AbstractMetavarContext_MkBinding_mkMVarApp___spec__1(x_33, x_47, x_47, x_36, x_128); -if (x_125 == 0) -{ -lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; -lean_dec(x_120); -lean_dec(x_47); -lean_dec(x_33); -lean_dec(x_3); -x_130 = lean_ctor_get(x_1, 6); -lean_inc(x_130); -lean_dec(x_1); -lean_inc(x_129); -x_131 = lean_apply_3(x_130, x_127, x_27, x_129); -if (lean_is_scalar(x_116)) { - x_132 = lean_alloc_ctor(0, 3, 0); -} else { - x_132 = x_116; -} -lean_ctor_set(x_132, 0, x_131); -lean_ctor_set(x_132, 1, x_123); -lean_ctor_set(x_132, 2, x_115); -x_133 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_133, 0, x_129); -lean_ctor_set(x_133, 1, x_132); -return x_133; -} -else -{ -lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; -lean_dec(x_27); -x_134 = lean_ctor_get(x_1, 8); -lean_inc(x_134); -lean_dec(x_1); -x_135 = lean_apply_5(x_134, x_127, x_120, x_33, x_47, x_3); -if (lean_is_scalar(x_116)) { - x_136 = lean_alloc_ctor(0, 3, 0); -} else { - x_136 = x_116; -} -lean_ctor_set(x_136, 0, x_135); -lean_ctor_set(x_136, 1, x_123); -lean_ctor_set(x_136, 2, x_115); -x_137 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_137, 0, x_129); -lean_ctor_set(x_137, 1, x_136); -return x_137; -} -} -} -else -{ -uint8_t x_138; -lean_dec(x_48); -lean_dec(x_47); -lean_dec(x_33); -lean_dec(x_32); -lean_dec(x_27); -lean_dec(x_3); -lean_dec(x_1); -x_138 = !lean_is_exclusive(x_51); -if (x_138 == 0) -{ -return x_51; -} -else -{ -lean_object* x_139; lean_object* x_140; lean_object* x_141; -x_139 = lean_ctor_get(x_51, 0); -x_140 = lean_ctor_get(x_51, 1); -lean_inc(x_140); -lean_inc(x_139); -lean_dec(x_51); -x_141 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_141, 0, x_139); -lean_ctor_set(x_141, 1, x_140); -return x_141; -} -} -} -} -} -else -{ -lean_object* x_142; lean_object* x_143; -lean_dec(x_34); -lean_dec(x_33); -lean_dec(x_32); -lean_dec(x_28); -lean_dec(x_3); -lean_dec(x_1); -x_142 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_142, 0, x_27); -x_143 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_143, 0, x_142); -lean_ctor_set(x_143, 1, x_4); -return x_143; -} -} -else -{ -lean_object* x_144; -lean_dec(x_34); -lean_dec(x_33); -lean_dec(x_32); -lean_dec(x_28); -lean_dec(x_27); -lean_dec(x_1); -x_144 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_144, 0, x_3); -lean_ctor_set(x_144, 1, x_4); -return x_144; -} -} -else -{ -lean_object* x_145; uint8_t x_146; -lean_dec(x_28); -lean_dec(x_27); -lean_dec(x_3); -x_145 = lean_ctor_get(x_30, 0); -lean_inc(x_145); -lean_dec(x_30); -x_146 = lean_expr_has_expr_mvar(x_145); -if (x_146 == 0) -{ -uint8_t x_147; -x_147 = lean_expr_has_level_mvar(x_145); -if (x_147 == 0) -{ -lean_object* x_148; -lean_dec(x_1); -x_148 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_148, 0, x_145); -lean_ctor_set(x_148, 1, x_4); -return x_148; -} -else -{ -lean_object* x_149; lean_object* x_150; -x_149 = lean_ctor_get(x_4, 2); -lean_inc(x_149); -x_150 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_149, x_145); -lean_dec(x_149); -if (lean_obj_tag(x_150) == 0) -{ -lean_object* x_151; -lean_inc(x_145); -x_151 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___rarg(x_1, x_2, x_145, x_4); -if (lean_obj_tag(x_151) == 0) -{ -uint8_t x_152; -x_152 = !lean_is_exclusive(x_151); -if (x_152 == 0) -{ -lean_object* x_153; uint8_t x_154; -x_153 = lean_ctor_get(x_151, 1); -x_154 = !lean_is_exclusive(x_153); -if (x_154 == 0) -{ -lean_object* x_155; lean_object* x_156; lean_object* x_157; -x_155 = lean_ctor_get(x_151, 0); -x_156 = lean_ctor_get(x_153, 2); -lean_inc(x_155); -x_157 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_156, x_145, x_155); -lean_ctor_set(x_153, 2, x_157); -return x_151; -} -else -{ -lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; -x_158 = lean_ctor_get(x_151, 0); -x_159 = lean_ctor_get(x_153, 0); -x_160 = lean_ctor_get(x_153, 1); -x_161 = lean_ctor_get(x_153, 2); -lean_inc(x_161); -lean_inc(x_160); -lean_inc(x_159); -lean_dec(x_153); -lean_inc(x_158); -x_162 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_161, x_145, x_158); -x_163 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_163, 0, x_159); -lean_ctor_set(x_163, 1, x_160); -lean_ctor_set(x_163, 2, x_162); -lean_ctor_set(x_151, 1, x_163); -return x_151; -} -} -else -{ -lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; -x_164 = lean_ctor_get(x_151, 1); -x_165 = lean_ctor_get(x_151, 0); -lean_inc(x_164); -lean_inc(x_165); -lean_dec(x_151); -x_166 = lean_ctor_get(x_164, 0); -lean_inc(x_166); -x_167 = lean_ctor_get(x_164, 1); -lean_inc(x_167); -x_168 = lean_ctor_get(x_164, 2); -lean_inc(x_168); -if (lean_is_exclusive(x_164)) { - lean_ctor_release(x_164, 0); - lean_ctor_release(x_164, 1); - lean_ctor_release(x_164, 2); - x_169 = x_164; -} else { - lean_dec_ref(x_164); - x_169 = lean_box(0); -} -lean_inc(x_165); -x_170 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_168, x_145, x_165); -if (lean_is_scalar(x_169)) { - x_171 = lean_alloc_ctor(0, 3, 0); -} else { - x_171 = x_169; -} -lean_ctor_set(x_171, 0, x_166); -lean_ctor_set(x_171, 1, x_167); -lean_ctor_set(x_171, 2, x_170); -x_172 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_172, 0, x_165); -lean_ctor_set(x_172, 1, x_171); -return x_172; -} -} -else -{ -uint8_t x_173; -lean_dec(x_145); -x_173 = !lean_is_exclusive(x_151); -if (x_173 == 0) -{ -return x_151; -} -else -{ -lean_object* x_174; lean_object* x_175; lean_object* x_176; -x_174 = lean_ctor_get(x_151, 0); -x_175 = lean_ctor_get(x_151, 1); -lean_inc(x_175); -lean_inc(x_174); -lean_dec(x_151); -x_176 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_176, 0, x_174); -lean_ctor_set(x_176, 1, x_175); -return x_176; -} -} -} -else -{ -lean_object* x_177; lean_object* x_178; -lean_dec(x_145); -lean_dec(x_1); -x_177 = lean_ctor_get(x_150, 0); -lean_inc(x_177); -lean_dec(x_150); -x_178 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_178, 0, x_177); -lean_ctor_set(x_178, 1, x_4); -return x_178; -} -} -} -else -{ -lean_object* x_179; lean_object* x_180; -x_179 = lean_ctor_get(x_4, 2); -lean_inc(x_179); -x_180 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_179, x_145); -lean_dec(x_179); -if (lean_obj_tag(x_180) == 0) -{ -lean_object* x_181; -lean_inc(x_145); -x_181 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___rarg(x_1, x_2, x_145, x_4); -if (lean_obj_tag(x_181) == 0) -{ -uint8_t x_182; -x_182 = !lean_is_exclusive(x_181); -if (x_182 == 0) -{ -lean_object* x_183; uint8_t x_184; -x_183 = lean_ctor_get(x_181, 1); -x_184 = !lean_is_exclusive(x_183); -if (x_184 == 0) -{ -lean_object* x_185; lean_object* x_186; lean_object* x_187; -x_185 = lean_ctor_get(x_181, 0); -x_186 = lean_ctor_get(x_183, 2); -lean_inc(x_185); -x_187 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_186, x_145, x_185); -lean_ctor_set(x_183, 2, x_187); -return x_181; -} -else -{ -lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; -x_188 = lean_ctor_get(x_181, 0); -x_189 = lean_ctor_get(x_183, 0); -x_190 = lean_ctor_get(x_183, 1); -x_191 = lean_ctor_get(x_183, 2); -lean_inc(x_191); -lean_inc(x_190); -lean_inc(x_189); -lean_dec(x_183); -lean_inc(x_188); -x_192 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_191, x_145, x_188); -x_193 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_193, 0, x_189); -lean_ctor_set(x_193, 1, x_190); -lean_ctor_set(x_193, 2, x_192); -lean_ctor_set(x_181, 1, x_193); -return x_181; -} -} -else -{ -lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; -x_194 = lean_ctor_get(x_181, 1); -x_195 = lean_ctor_get(x_181, 0); -lean_inc(x_194); -lean_inc(x_195); -lean_dec(x_181); -x_196 = lean_ctor_get(x_194, 0); -lean_inc(x_196); -x_197 = lean_ctor_get(x_194, 1); -lean_inc(x_197); -x_198 = lean_ctor_get(x_194, 2); -lean_inc(x_198); -if (lean_is_exclusive(x_194)) { - lean_ctor_release(x_194, 0); - lean_ctor_release(x_194, 1); - lean_ctor_release(x_194, 2); - x_199 = x_194; -} else { - lean_dec_ref(x_194); - x_199 = lean_box(0); -} -lean_inc(x_195); -x_200 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_198, x_145, x_195); -if (lean_is_scalar(x_199)) { - x_201 = lean_alloc_ctor(0, 3, 0); -} else { - x_201 = x_199; -} -lean_ctor_set(x_201, 0, x_196); -lean_ctor_set(x_201, 1, x_197); -lean_ctor_set(x_201, 2, x_200); -x_202 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_202, 0, x_195); -lean_ctor_set(x_202, 1, x_201); -return x_202; -} -} -else -{ -uint8_t x_203; -lean_dec(x_145); -x_203 = !lean_is_exclusive(x_181); -if (x_203 == 0) -{ -return x_181; -} -else -{ -lean_object* x_204; lean_object* x_205; lean_object* x_206; -x_204 = lean_ctor_get(x_181, 0); -x_205 = lean_ctor_get(x_181, 1); -lean_inc(x_205); -lean_inc(x_204); -lean_dec(x_181); -x_206 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_206, 0, x_204); -lean_ctor_set(x_206, 1, x_205); -return x_206; -} -} -} -else -{ -lean_object* x_207; lean_object* x_208; -lean_dec(x_145); -lean_dec(x_1); -x_207 = lean_ctor_get(x_180, 0); -lean_inc(x_207); -lean_dec(x_180); -x_208 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_208, 0, x_207); -lean_ctor_set(x_208, 1, x_4); -return x_208; -} -} -} -} -case 5: -{ -lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; -x_209 = lean_unsigned_to_nat(0u); -x_210 = l_Lean_Expr_getAppNumArgsAux___main(x_3, x_209); -x_211 = lean_mk_empty_array_with_capacity(x_210); -lean_dec(x_210); -x_212 = l___private_Init_Lean_Expr_4__withAppRevAux___main___at_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___spec__5___rarg(x_1, x_2, x_3, x_211, x_4); -return x_212; -} -case 6: -{ -lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; uint8_t x_268; -x_213 = lean_ctor_get(x_3, 1); -lean_inc(x_213); -x_214 = lean_ctor_get(x_3, 2); -lean_inc(x_214); -x_268 = lean_expr_has_expr_mvar(x_213); -if (x_268 == 0) -{ -uint8_t x_269; -x_269 = lean_expr_has_level_mvar(x_213); -if (x_269 == 0) -{ -x_215 = x_213; -x_216 = x_4; -goto block_267; -} -else -{ -lean_object* x_270; lean_object* x_271; -x_270 = lean_ctor_get(x_4, 2); -lean_inc(x_270); -x_271 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_270, x_213); -lean_dec(x_270); -if (lean_obj_tag(x_271) == 0) -{ -lean_object* x_272; -lean_inc(x_213); -lean_inc(x_1); -x_272 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___rarg(x_1, x_2, x_213, x_4); -if (lean_obj_tag(x_272) == 0) -{ -lean_object* x_273; lean_object* x_274; uint8_t x_275; -x_273 = lean_ctor_get(x_272, 1); -lean_inc(x_273); -x_274 = lean_ctor_get(x_272, 0); -lean_inc(x_274); -lean_dec(x_272); -x_275 = !lean_is_exclusive(x_273); -if (x_275 == 0) -{ -lean_object* x_276; lean_object* x_277; -x_276 = lean_ctor_get(x_273, 2); -lean_inc(x_274); -x_277 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_276, x_213, x_274); -lean_ctor_set(x_273, 2, x_277); -x_215 = x_274; -x_216 = x_273; -goto block_267; -} -else -{ -lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; -x_278 = lean_ctor_get(x_273, 0); -x_279 = lean_ctor_get(x_273, 1); -x_280 = lean_ctor_get(x_273, 2); -lean_inc(x_280); -lean_inc(x_279); -lean_inc(x_278); -lean_dec(x_273); -lean_inc(x_274); -x_281 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_280, x_213, x_274); -x_282 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_282, 0, x_278); -lean_ctor_set(x_282, 1, x_279); -lean_ctor_set(x_282, 2, x_281); -x_215 = x_274; -x_216 = x_282; -goto block_267; -} -} -else -{ -uint8_t x_283; -lean_dec(x_214); -lean_dec(x_213); -lean_dec(x_3); -lean_dec(x_1); -x_283 = !lean_is_exclusive(x_272); -if (x_283 == 0) -{ -return x_272; -} -else -{ -lean_object* x_284; lean_object* x_285; lean_object* x_286; -x_284 = lean_ctor_get(x_272, 0); -x_285 = lean_ctor_get(x_272, 1); -lean_inc(x_285); -lean_inc(x_284); -lean_dec(x_272); -x_286 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_286, 0, x_284); -lean_ctor_set(x_286, 1, x_285); -return x_286; -} -} -} -else -{ -lean_object* x_287; -lean_dec(x_213); -x_287 = lean_ctor_get(x_271, 0); -lean_inc(x_287); -lean_dec(x_271); -x_215 = x_287; -x_216 = x_4; -goto block_267; -} -} -} -else -{ -lean_object* x_288; lean_object* x_289; -x_288 = lean_ctor_get(x_4, 2); -lean_inc(x_288); -x_289 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_288, x_213); -lean_dec(x_288); -if (lean_obj_tag(x_289) == 0) -{ -lean_object* x_290; -lean_inc(x_213); -lean_inc(x_1); -x_290 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___rarg(x_1, x_2, x_213, x_4); -if (lean_obj_tag(x_290) == 0) -{ -lean_object* x_291; lean_object* x_292; uint8_t x_293; -x_291 = lean_ctor_get(x_290, 1); -lean_inc(x_291); -x_292 = lean_ctor_get(x_290, 0); -lean_inc(x_292); -lean_dec(x_290); -x_293 = !lean_is_exclusive(x_291); -if (x_293 == 0) -{ -lean_object* x_294; lean_object* x_295; -x_294 = lean_ctor_get(x_291, 2); -lean_inc(x_292); -x_295 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_294, x_213, x_292); -lean_ctor_set(x_291, 2, x_295); -x_215 = x_292; -x_216 = x_291; -goto block_267; -} -else -{ -lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; -x_296 = lean_ctor_get(x_291, 0); -x_297 = lean_ctor_get(x_291, 1); -x_298 = lean_ctor_get(x_291, 2); -lean_inc(x_298); -lean_inc(x_297); -lean_inc(x_296); -lean_dec(x_291); -lean_inc(x_292); -x_299 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_298, x_213, x_292); -x_300 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_300, 0, x_296); -lean_ctor_set(x_300, 1, x_297); -lean_ctor_set(x_300, 2, x_299); -x_215 = x_292; -x_216 = x_300; -goto block_267; -} -} -else -{ -uint8_t x_301; -lean_dec(x_214); -lean_dec(x_213); -lean_dec(x_3); -lean_dec(x_1); -x_301 = !lean_is_exclusive(x_290); -if (x_301 == 0) -{ -return x_290; -} -else -{ -lean_object* x_302; lean_object* x_303; lean_object* x_304; -x_302 = lean_ctor_get(x_290, 0); -x_303 = lean_ctor_get(x_290, 1); -lean_inc(x_303); -lean_inc(x_302); -lean_dec(x_290); -x_304 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_304, 0, x_302); -lean_ctor_set(x_304, 1, x_303); -return x_304; -} -} -} -else -{ -lean_object* x_305; -lean_dec(x_213); -x_305 = lean_ctor_get(x_289, 0); -lean_inc(x_305); -lean_dec(x_289); -x_215 = x_305; -x_216 = x_4; -goto block_267; -} -} -block_267: -{ -lean_object* x_217; lean_object* x_218; uint8_t x_229; -x_229 = lean_expr_has_expr_mvar(x_214); -if (x_229 == 0) -{ -uint8_t x_230; -x_230 = lean_expr_has_level_mvar(x_214); -if (x_230 == 0) -{ -lean_dec(x_1); -x_217 = x_214; -x_218 = x_216; -goto block_228; -} -else -{ -lean_object* x_231; lean_object* x_232; -x_231 = lean_ctor_get(x_216, 2); -lean_inc(x_231); -x_232 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_231, x_214); -lean_dec(x_231); -if (lean_obj_tag(x_232) == 0) -{ -lean_object* x_233; -lean_inc(x_214); -x_233 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___rarg(x_1, x_2, x_214, x_216); -if (lean_obj_tag(x_233) == 0) -{ -lean_object* x_234; lean_object* x_235; uint8_t x_236; -x_234 = lean_ctor_get(x_233, 1); -lean_inc(x_234); -x_235 = lean_ctor_get(x_233, 0); -lean_inc(x_235); -lean_dec(x_233); -x_236 = !lean_is_exclusive(x_234); -if (x_236 == 0) -{ -lean_object* x_237; lean_object* x_238; -x_237 = lean_ctor_get(x_234, 2); -lean_inc(x_235); -x_238 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_237, x_214, x_235); -lean_ctor_set(x_234, 2, x_238); -x_217 = x_235; -x_218 = x_234; -goto block_228; -} -else -{ -lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; -x_239 = lean_ctor_get(x_234, 0); -x_240 = lean_ctor_get(x_234, 1); -x_241 = lean_ctor_get(x_234, 2); -lean_inc(x_241); -lean_inc(x_240); -lean_inc(x_239); -lean_dec(x_234); -lean_inc(x_235); -x_242 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_241, x_214, x_235); -x_243 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_243, 0, x_239); -lean_ctor_set(x_243, 1, x_240); -lean_ctor_set(x_243, 2, x_242); -x_217 = x_235; -x_218 = x_243; -goto block_228; -} -} -else -{ -uint8_t x_244; -lean_dec(x_215); -lean_dec(x_214); -lean_dec(x_3); -x_244 = !lean_is_exclusive(x_233); -if (x_244 == 0) -{ -return x_233; -} -else -{ -lean_object* x_245; lean_object* x_246; lean_object* x_247; -x_245 = lean_ctor_get(x_233, 0); -x_246 = lean_ctor_get(x_233, 1); -lean_inc(x_246); -lean_inc(x_245); -lean_dec(x_233); -x_247 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_247, 0, x_245); -lean_ctor_set(x_247, 1, x_246); -return x_247; -} -} -} -else -{ -lean_object* x_248; -lean_dec(x_214); -lean_dec(x_1); -x_248 = lean_ctor_get(x_232, 0); -lean_inc(x_248); -lean_dec(x_232); -x_217 = x_248; -x_218 = x_216; -goto block_228; -} -} -} -else -{ -lean_object* x_249; lean_object* x_250; -x_249 = lean_ctor_get(x_216, 2); -lean_inc(x_249); -x_250 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_249, x_214); -lean_dec(x_249); -if (lean_obj_tag(x_250) == 0) -{ -lean_object* x_251; -lean_inc(x_214); -x_251 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___rarg(x_1, x_2, x_214, x_216); -if (lean_obj_tag(x_251) == 0) -{ -lean_object* x_252; lean_object* x_253; uint8_t x_254; -x_252 = lean_ctor_get(x_251, 1); -lean_inc(x_252); -x_253 = lean_ctor_get(x_251, 0); -lean_inc(x_253); -lean_dec(x_251); -x_254 = !lean_is_exclusive(x_252); -if (x_254 == 0) -{ -lean_object* x_255; lean_object* x_256; -x_255 = lean_ctor_get(x_252, 2); -lean_inc(x_253); -x_256 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_255, x_214, x_253); -lean_ctor_set(x_252, 2, x_256); -x_217 = x_253; -x_218 = x_252; -goto block_228; -} -else -{ -lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; -x_257 = lean_ctor_get(x_252, 0); -x_258 = lean_ctor_get(x_252, 1); -x_259 = lean_ctor_get(x_252, 2); -lean_inc(x_259); -lean_inc(x_258); -lean_inc(x_257); -lean_dec(x_252); -lean_inc(x_253); -x_260 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_259, x_214, x_253); -x_261 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_261, 0, x_257); -lean_ctor_set(x_261, 1, x_258); -lean_ctor_set(x_261, 2, x_260); -x_217 = x_253; -x_218 = x_261; -goto block_228; -} -} -else -{ -uint8_t x_262; -lean_dec(x_215); -lean_dec(x_214); -lean_dec(x_3); -x_262 = !lean_is_exclusive(x_251); -if (x_262 == 0) -{ -return x_251; -} -else -{ -lean_object* x_263; lean_object* x_264; lean_object* x_265; -x_263 = lean_ctor_get(x_251, 0); -x_264 = lean_ctor_get(x_251, 1); -lean_inc(x_264); -lean_inc(x_263); -lean_dec(x_251); -x_265 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_265, 0, x_263); -lean_ctor_set(x_265, 1, x_264); -return x_265; -} -} -} -else -{ -lean_object* x_266; -lean_dec(x_214); -lean_dec(x_1); -x_266 = lean_ctor_get(x_250, 0); -lean_inc(x_266); -lean_dec(x_250); -x_217 = x_266; -x_218 = x_216; -goto block_228; -} -} -block_228: -{ -if (lean_obj_tag(x_3) == 6) -{ -uint8_t x_219; lean_object* x_220; lean_object* x_221; -x_219 = lean_ctor_get_uint8(x_3, sizeof(void*)*3); -x_220 = lean_expr_update_lambda(x_3, x_219, x_215, x_217); -x_221 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_221, 0, x_220); -lean_ctor_set(x_221, 1, x_218); -return x_221; -} -else -{ -lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; -lean_dec(x_217); -lean_dec(x_215); -lean_dec(x_3); -x_222 = l_Lean_Expr_getRevArg_x21___main___closed__1; -x_223 = lean_unsigned_to_nat(513u); -x_224 = lean_unsigned_to_nat(18u); -x_225 = l_Lean_Expr_updateLambda_x21___closed__1; -x_226 = l_panicWithPos___at_Lean_Expr_getRevArg_x21___main___spec__1(x_222, x_223, x_224, x_225); -x_227 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_227, 0, x_226); -lean_ctor_set(x_227, 1, x_218); -return x_227; -} -} -} -} -case 7: -{ -lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; uint8_t x_361; -x_306 = lean_ctor_get(x_3, 1); -lean_inc(x_306); -x_307 = lean_ctor_get(x_3, 2); -lean_inc(x_307); -x_361 = lean_expr_has_expr_mvar(x_306); -if (x_361 == 0) -{ -uint8_t x_362; -x_362 = lean_expr_has_level_mvar(x_306); -if (x_362 == 0) -{ -x_308 = x_306; -x_309 = x_4; -goto block_360; -} -else -{ -lean_object* x_363; lean_object* x_364; -x_363 = lean_ctor_get(x_4, 2); -lean_inc(x_363); -x_364 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_363, x_306); -lean_dec(x_363); -if (lean_obj_tag(x_364) == 0) -{ -lean_object* x_365; -lean_inc(x_306); -lean_inc(x_1); -x_365 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___rarg(x_1, x_2, x_306, x_4); -if (lean_obj_tag(x_365) == 0) -{ -lean_object* x_366; lean_object* x_367; uint8_t x_368; -x_366 = lean_ctor_get(x_365, 1); -lean_inc(x_366); -x_367 = lean_ctor_get(x_365, 0); -lean_inc(x_367); -lean_dec(x_365); -x_368 = !lean_is_exclusive(x_366); -if (x_368 == 0) -{ -lean_object* x_369; lean_object* x_370; -x_369 = lean_ctor_get(x_366, 2); -lean_inc(x_367); -x_370 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_369, x_306, x_367); -lean_ctor_set(x_366, 2, x_370); -x_308 = x_367; -x_309 = x_366; -goto block_360; -} -else -{ -lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; -x_371 = lean_ctor_get(x_366, 0); -x_372 = lean_ctor_get(x_366, 1); -x_373 = lean_ctor_get(x_366, 2); -lean_inc(x_373); -lean_inc(x_372); -lean_inc(x_371); -lean_dec(x_366); -lean_inc(x_367); -x_374 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_373, x_306, x_367); -x_375 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_375, 0, x_371); -lean_ctor_set(x_375, 1, x_372); -lean_ctor_set(x_375, 2, x_374); -x_308 = x_367; -x_309 = x_375; -goto block_360; -} -} -else -{ -uint8_t x_376; -lean_dec(x_307); -lean_dec(x_306); -lean_dec(x_3); -lean_dec(x_1); -x_376 = !lean_is_exclusive(x_365); -if (x_376 == 0) -{ -return x_365; -} -else -{ -lean_object* x_377; lean_object* x_378; lean_object* x_379; -x_377 = lean_ctor_get(x_365, 0); -x_378 = lean_ctor_get(x_365, 1); -lean_inc(x_378); -lean_inc(x_377); -lean_dec(x_365); -x_379 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_379, 0, x_377); -lean_ctor_set(x_379, 1, x_378); -return x_379; -} -} -} -else -{ -lean_object* x_380; -lean_dec(x_306); -x_380 = lean_ctor_get(x_364, 0); -lean_inc(x_380); -lean_dec(x_364); -x_308 = x_380; -x_309 = x_4; -goto block_360; -} -} -} -else -{ -lean_object* x_381; lean_object* x_382; -x_381 = lean_ctor_get(x_4, 2); -lean_inc(x_381); -x_382 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_381, x_306); -lean_dec(x_381); -if (lean_obj_tag(x_382) == 0) -{ -lean_object* x_383; -lean_inc(x_306); -lean_inc(x_1); -x_383 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___rarg(x_1, x_2, x_306, x_4); -if (lean_obj_tag(x_383) == 0) -{ -lean_object* x_384; lean_object* x_385; uint8_t x_386; -x_384 = lean_ctor_get(x_383, 1); -lean_inc(x_384); -x_385 = lean_ctor_get(x_383, 0); -lean_inc(x_385); -lean_dec(x_383); -x_386 = !lean_is_exclusive(x_384); -if (x_386 == 0) -{ -lean_object* x_387; lean_object* x_388; -x_387 = lean_ctor_get(x_384, 2); -lean_inc(x_385); -x_388 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_387, x_306, x_385); -lean_ctor_set(x_384, 2, x_388); -x_308 = x_385; -x_309 = x_384; -goto block_360; -} -else -{ -lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; -x_389 = lean_ctor_get(x_384, 0); -x_390 = lean_ctor_get(x_384, 1); -x_391 = lean_ctor_get(x_384, 2); -lean_inc(x_391); -lean_inc(x_390); -lean_inc(x_389); -lean_dec(x_384); -lean_inc(x_385); -x_392 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_391, x_306, x_385); -x_393 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_393, 0, x_389); -lean_ctor_set(x_393, 1, x_390); -lean_ctor_set(x_393, 2, x_392); -x_308 = x_385; -x_309 = x_393; -goto block_360; -} -} -else -{ -uint8_t x_394; -lean_dec(x_307); -lean_dec(x_306); -lean_dec(x_3); -lean_dec(x_1); -x_394 = !lean_is_exclusive(x_383); -if (x_394 == 0) -{ -return x_383; -} -else -{ -lean_object* x_395; lean_object* x_396; lean_object* x_397; -x_395 = lean_ctor_get(x_383, 0); -x_396 = lean_ctor_get(x_383, 1); -lean_inc(x_396); -lean_inc(x_395); -lean_dec(x_383); -x_397 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_397, 0, x_395); -lean_ctor_set(x_397, 1, x_396); -return x_397; -} -} -} -else -{ -lean_object* x_398; -lean_dec(x_306); -x_398 = lean_ctor_get(x_382, 0); -lean_inc(x_398); -lean_dec(x_382); -x_308 = x_398; -x_309 = x_4; -goto block_360; -} -} -block_360: -{ -lean_object* x_310; lean_object* x_311; uint8_t x_322; -x_322 = lean_expr_has_expr_mvar(x_307); -if (x_322 == 0) -{ -uint8_t x_323; -x_323 = lean_expr_has_level_mvar(x_307); -if (x_323 == 0) -{ -lean_dec(x_1); -x_310 = x_307; -x_311 = x_309; -goto block_321; -} -else -{ -lean_object* x_324; lean_object* x_325; -x_324 = lean_ctor_get(x_309, 2); -lean_inc(x_324); -x_325 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_324, x_307); -lean_dec(x_324); -if (lean_obj_tag(x_325) == 0) -{ -lean_object* x_326; -lean_inc(x_307); -x_326 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___rarg(x_1, x_2, x_307, x_309); -if (lean_obj_tag(x_326) == 0) -{ -lean_object* x_327; lean_object* x_328; uint8_t x_329; -x_327 = lean_ctor_get(x_326, 1); -lean_inc(x_327); -x_328 = lean_ctor_get(x_326, 0); -lean_inc(x_328); -lean_dec(x_326); -x_329 = !lean_is_exclusive(x_327); -if (x_329 == 0) -{ -lean_object* x_330; lean_object* x_331; -x_330 = lean_ctor_get(x_327, 2); -lean_inc(x_328); -x_331 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_330, x_307, x_328); -lean_ctor_set(x_327, 2, x_331); -x_310 = x_328; -x_311 = x_327; -goto block_321; -} -else -{ -lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; -x_332 = lean_ctor_get(x_327, 0); -x_333 = lean_ctor_get(x_327, 1); -x_334 = lean_ctor_get(x_327, 2); -lean_inc(x_334); -lean_inc(x_333); -lean_inc(x_332); -lean_dec(x_327); -lean_inc(x_328); -x_335 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_334, x_307, x_328); -x_336 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_336, 0, x_332); -lean_ctor_set(x_336, 1, x_333); -lean_ctor_set(x_336, 2, x_335); -x_310 = x_328; -x_311 = x_336; -goto block_321; -} -} -else -{ -uint8_t x_337; -lean_dec(x_308); -lean_dec(x_307); -lean_dec(x_3); -x_337 = !lean_is_exclusive(x_326); -if (x_337 == 0) -{ -return x_326; -} -else -{ -lean_object* x_338; lean_object* x_339; lean_object* x_340; -x_338 = lean_ctor_get(x_326, 0); -x_339 = lean_ctor_get(x_326, 1); -lean_inc(x_339); -lean_inc(x_338); -lean_dec(x_326); -x_340 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_340, 0, x_338); -lean_ctor_set(x_340, 1, x_339); -return x_340; -} -} -} -else -{ -lean_object* x_341; -lean_dec(x_307); -lean_dec(x_1); -x_341 = lean_ctor_get(x_325, 0); -lean_inc(x_341); -lean_dec(x_325); -x_310 = x_341; -x_311 = x_309; -goto block_321; -} -} -} -else -{ -lean_object* x_342; lean_object* x_343; -x_342 = lean_ctor_get(x_309, 2); -lean_inc(x_342); -x_343 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_342, x_307); -lean_dec(x_342); -if (lean_obj_tag(x_343) == 0) -{ -lean_object* x_344; -lean_inc(x_307); -x_344 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___rarg(x_1, x_2, x_307, x_309); -if (lean_obj_tag(x_344) == 0) -{ -lean_object* x_345; lean_object* x_346; uint8_t x_347; -x_345 = lean_ctor_get(x_344, 1); -lean_inc(x_345); -x_346 = lean_ctor_get(x_344, 0); -lean_inc(x_346); -lean_dec(x_344); -x_347 = !lean_is_exclusive(x_345); -if (x_347 == 0) -{ -lean_object* x_348; lean_object* x_349; -x_348 = lean_ctor_get(x_345, 2); -lean_inc(x_346); -x_349 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_348, x_307, x_346); -lean_ctor_set(x_345, 2, x_349); -x_310 = x_346; -x_311 = x_345; -goto block_321; -} -else -{ -lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; -x_350 = lean_ctor_get(x_345, 0); -x_351 = lean_ctor_get(x_345, 1); -x_352 = lean_ctor_get(x_345, 2); -lean_inc(x_352); -lean_inc(x_351); -lean_inc(x_350); -lean_dec(x_345); -lean_inc(x_346); -x_353 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_352, x_307, x_346); -x_354 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_354, 0, x_350); -lean_ctor_set(x_354, 1, x_351); -lean_ctor_set(x_354, 2, x_353); -x_310 = x_346; -x_311 = x_354; -goto block_321; -} -} -else -{ -uint8_t x_355; -lean_dec(x_308); -lean_dec(x_307); -lean_dec(x_3); -x_355 = !lean_is_exclusive(x_344); -if (x_355 == 0) -{ -return x_344; -} -else -{ -lean_object* x_356; lean_object* x_357; lean_object* x_358; -x_356 = lean_ctor_get(x_344, 0); -x_357 = lean_ctor_get(x_344, 1); -lean_inc(x_357); -lean_inc(x_356); -lean_dec(x_344); -x_358 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_358, 0, x_356); -lean_ctor_set(x_358, 1, x_357); -return x_358; -} -} -} -else -{ -lean_object* x_359; -lean_dec(x_307); -lean_dec(x_1); -x_359 = lean_ctor_get(x_343, 0); -lean_inc(x_359); -lean_dec(x_343); -x_310 = x_359; -x_311 = x_309; -goto block_321; -} -} -block_321: -{ -if (lean_obj_tag(x_3) == 7) -{ -uint8_t x_312; lean_object* x_313; lean_object* x_314; -x_312 = lean_ctor_get_uint8(x_3, sizeof(void*)*3); -x_313 = lean_expr_update_forall(x_3, x_312, x_308, x_310); -x_314 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_314, 0, x_313); -lean_ctor_set(x_314, 1, x_311); -return x_314; -} -else -{ -lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; -lean_dec(x_310); -lean_dec(x_308); -lean_dec(x_3); -x_315 = l_Lean_Expr_getRevArg_x21___main___closed__1; -x_316 = lean_unsigned_to_nat(499u); -x_317 = lean_unsigned_to_nat(22u); -x_318 = l_Lean_Expr_updateForall_x21___closed__1; -x_319 = l_panicWithPos___at_Lean_Expr_getRevArg_x21___main___spec__1(x_315, x_316, x_317, x_318); -x_320 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_320, 0, x_319); -lean_ctor_set(x_320, 1, x_311); -return x_320; -} -} -} -} -case 8: -{ -lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; uint8_t x_495; -x_399 = lean_ctor_get(x_3, 1); -lean_inc(x_399); -x_400 = lean_ctor_get(x_3, 2); -lean_inc(x_400); -x_401 = lean_ctor_get(x_3, 3); -lean_inc(x_401); -x_495 = lean_expr_has_expr_mvar(x_399); -if (x_495 == 0) -{ -uint8_t x_496; -x_496 = lean_expr_has_level_mvar(x_399); -if (x_496 == 0) -{ -x_402 = x_399; -x_403 = x_4; -goto block_494; -} -else -{ -lean_object* x_497; lean_object* x_498; -x_497 = lean_ctor_get(x_4, 2); -lean_inc(x_497); -x_498 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_497, x_399); -lean_dec(x_497); -if (lean_obj_tag(x_498) == 0) -{ -lean_object* x_499; -lean_inc(x_399); -lean_inc(x_1); -x_499 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___rarg(x_1, x_2, x_399, x_4); -if (lean_obj_tag(x_499) == 0) -{ -lean_object* x_500; lean_object* x_501; uint8_t x_502; -x_500 = lean_ctor_get(x_499, 1); -lean_inc(x_500); -x_501 = lean_ctor_get(x_499, 0); -lean_inc(x_501); -lean_dec(x_499); -x_502 = !lean_is_exclusive(x_500); -if (x_502 == 0) -{ -lean_object* x_503; lean_object* x_504; -x_503 = lean_ctor_get(x_500, 2); -lean_inc(x_501); -x_504 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_503, x_399, x_501); -lean_ctor_set(x_500, 2, x_504); -x_402 = x_501; -x_403 = x_500; -goto block_494; -} -else -{ -lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; lean_object* x_509; -x_505 = lean_ctor_get(x_500, 0); -x_506 = lean_ctor_get(x_500, 1); -x_507 = lean_ctor_get(x_500, 2); -lean_inc(x_507); -lean_inc(x_506); -lean_inc(x_505); -lean_dec(x_500); -lean_inc(x_501); -x_508 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_507, x_399, x_501); -x_509 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_509, 0, x_505); -lean_ctor_set(x_509, 1, x_506); -lean_ctor_set(x_509, 2, x_508); -x_402 = x_501; -x_403 = x_509; -goto block_494; -} -} -else -{ -uint8_t x_510; -lean_dec(x_401); -lean_dec(x_400); -lean_dec(x_399); -lean_dec(x_3); -lean_dec(x_1); -x_510 = !lean_is_exclusive(x_499); -if (x_510 == 0) -{ -return x_499; -} -else -{ -lean_object* x_511; lean_object* x_512; lean_object* x_513; -x_511 = lean_ctor_get(x_499, 0); -x_512 = lean_ctor_get(x_499, 1); -lean_inc(x_512); -lean_inc(x_511); -lean_dec(x_499); -x_513 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_513, 0, x_511); -lean_ctor_set(x_513, 1, x_512); -return x_513; -} -} -} -else -{ -lean_object* x_514; -lean_dec(x_399); -x_514 = lean_ctor_get(x_498, 0); -lean_inc(x_514); -lean_dec(x_498); -x_402 = x_514; -x_403 = x_4; -goto block_494; -} -} -} -else -{ -lean_object* x_515; lean_object* x_516; -x_515 = lean_ctor_get(x_4, 2); -lean_inc(x_515); -x_516 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_515, x_399); -lean_dec(x_515); -if (lean_obj_tag(x_516) == 0) -{ -lean_object* x_517; -lean_inc(x_399); -lean_inc(x_1); -x_517 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___rarg(x_1, x_2, x_399, x_4); -if (lean_obj_tag(x_517) == 0) -{ -lean_object* x_518; lean_object* x_519; uint8_t x_520; -x_518 = lean_ctor_get(x_517, 1); -lean_inc(x_518); -x_519 = lean_ctor_get(x_517, 0); -lean_inc(x_519); -lean_dec(x_517); -x_520 = !lean_is_exclusive(x_518); -if (x_520 == 0) -{ -lean_object* x_521; lean_object* x_522; -x_521 = lean_ctor_get(x_518, 2); -lean_inc(x_519); -x_522 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_521, x_399, x_519); -lean_ctor_set(x_518, 2, x_522); -x_402 = x_519; -x_403 = x_518; -goto block_494; -} -else -{ -lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; lean_object* x_527; -x_523 = lean_ctor_get(x_518, 0); -x_524 = lean_ctor_get(x_518, 1); -x_525 = lean_ctor_get(x_518, 2); -lean_inc(x_525); -lean_inc(x_524); -lean_inc(x_523); -lean_dec(x_518); -lean_inc(x_519); -x_526 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_525, x_399, x_519); -x_527 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_527, 0, x_523); -lean_ctor_set(x_527, 1, x_524); -lean_ctor_set(x_527, 2, x_526); -x_402 = x_519; -x_403 = x_527; -goto block_494; -} -} -else -{ -uint8_t x_528; -lean_dec(x_401); -lean_dec(x_400); -lean_dec(x_399); -lean_dec(x_3); -lean_dec(x_1); -x_528 = !lean_is_exclusive(x_517); -if (x_528 == 0) -{ -return x_517; -} -else -{ -lean_object* x_529; lean_object* x_530; lean_object* x_531; -x_529 = lean_ctor_get(x_517, 0); -x_530 = lean_ctor_get(x_517, 1); -lean_inc(x_530); -lean_inc(x_529); -lean_dec(x_517); -x_531 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_531, 0, x_529); -lean_ctor_set(x_531, 1, x_530); -return x_531; -} -} -} -else -{ -lean_object* x_532; -lean_dec(x_399); -x_532 = lean_ctor_get(x_516, 0); -lean_inc(x_532); -lean_dec(x_516); -x_402 = x_532; -x_403 = x_4; -goto block_494; -} -} -block_494: -{ -lean_object* x_404; lean_object* x_405; uint8_t x_456; -x_456 = lean_expr_has_expr_mvar(x_400); -if (x_456 == 0) -{ -uint8_t x_457; -x_457 = lean_expr_has_level_mvar(x_400); -if (x_457 == 0) -{ -x_404 = x_400; -x_405 = x_403; -goto block_455; -} -else -{ -lean_object* x_458; lean_object* x_459; -x_458 = lean_ctor_get(x_403, 2); -lean_inc(x_458); -x_459 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_458, x_400); -lean_dec(x_458); -if (lean_obj_tag(x_459) == 0) -{ -lean_object* x_460; -lean_inc(x_400); -lean_inc(x_1); -x_460 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___rarg(x_1, x_2, x_400, x_403); -if (lean_obj_tag(x_460) == 0) -{ -lean_object* x_461; lean_object* x_462; uint8_t x_463; -x_461 = lean_ctor_get(x_460, 1); -lean_inc(x_461); -x_462 = lean_ctor_get(x_460, 0); -lean_inc(x_462); -lean_dec(x_460); -x_463 = !lean_is_exclusive(x_461); -if (x_463 == 0) -{ -lean_object* x_464; lean_object* x_465; -x_464 = lean_ctor_get(x_461, 2); -lean_inc(x_462); -x_465 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_464, x_400, x_462); -lean_ctor_set(x_461, 2, x_465); -x_404 = x_462; -x_405 = x_461; -goto block_455; -} -else -{ -lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; -x_466 = lean_ctor_get(x_461, 0); -x_467 = lean_ctor_get(x_461, 1); -x_468 = lean_ctor_get(x_461, 2); -lean_inc(x_468); -lean_inc(x_467); -lean_inc(x_466); -lean_dec(x_461); -lean_inc(x_462); -x_469 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_468, x_400, x_462); -x_470 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_470, 0, x_466); -lean_ctor_set(x_470, 1, x_467); -lean_ctor_set(x_470, 2, x_469); -x_404 = x_462; -x_405 = x_470; -goto block_455; -} -} -else -{ -uint8_t x_471; -lean_dec(x_402); -lean_dec(x_401); -lean_dec(x_400); -lean_dec(x_3); -lean_dec(x_1); -x_471 = !lean_is_exclusive(x_460); -if (x_471 == 0) -{ -return x_460; -} -else -{ -lean_object* x_472; lean_object* x_473; lean_object* x_474; -x_472 = lean_ctor_get(x_460, 0); -x_473 = lean_ctor_get(x_460, 1); -lean_inc(x_473); -lean_inc(x_472); -lean_dec(x_460); -x_474 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_474, 0, x_472); -lean_ctor_set(x_474, 1, x_473); -return x_474; -} -} -} -else -{ -lean_object* x_475; -lean_dec(x_400); -x_475 = lean_ctor_get(x_459, 0); -lean_inc(x_475); -lean_dec(x_459); -x_404 = x_475; -x_405 = x_403; -goto block_455; -} -} -} -else -{ -lean_object* x_476; lean_object* x_477; -x_476 = lean_ctor_get(x_403, 2); -lean_inc(x_476); -x_477 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_476, x_400); -lean_dec(x_476); -if (lean_obj_tag(x_477) == 0) -{ -lean_object* x_478; -lean_inc(x_400); -lean_inc(x_1); -x_478 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___rarg(x_1, x_2, x_400, x_403); -if (lean_obj_tag(x_478) == 0) -{ -lean_object* x_479; lean_object* x_480; uint8_t x_481; -x_479 = lean_ctor_get(x_478, 1); -lean_inc(x_479); -x_480 = lean_ctor_get(x_478, 0); -lean_inc(x_480); -lean_dec(x_478); -x_481 = !lean_is_exclusive(x_479); -if (x_481 == 0) -{ -lean_object* x_482; lean_object* x_483; -x_482 = lean_ctor_get(x_479, 2); -lean_inc(x_480); -x_483 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_482, x_400, x_480); -lean_ctor_set(x_479, 2, x_483); -x_404 = x_480; -x_405 = x_479; -goto block_455; -} -else -{ -lean_object* x_484; lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; -x_484 = lean_ctor_get(x_479, 0); -x_485 = lean_ctor_get(x_479, 1); -x_486 = lean_ctor_get(x_479, 2); -lean_inc(x_486); -lean_inc(x_485); -lean_inc(x_484); -lean_dec(x_479); -lean_inc(x_480); -x_487 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_486, x_400, x_480); -x_488 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_488, 0, x_484); -lean_ctor_set(x_488, 1, x_485); -lean_ctor_set(x_488, 2, x_487); -x_404 = x_480; -x_405 = x_488; -goto block_455; -} -} -else -{ -uint8_t x_489; -lean_dec(x_402); -lean_dec(x_401); -lean_dec(x_400); -lean_dec(x_3); -lean_dec(x_1); -x_489 = !lean_is_exclusive(x_478); -if (x_489 == 0) -{ -return x_478; -} -else -{ -lean_object* x_490; lean_object* x_491; lean_object* x_492; -x_490 = lean_ctor_get(x_478, 0); -x_491 = lean_ctor_get(x_478, 1); -lean_inc(x_491); -lean_inc(x_490); -lean_dec(x_478); -x_492 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_492, 0, x_490); -lean_ctor_set(x_492, 1, x_491); -return x_492; -} -} -} -else -{ -lean_object* x_493; -lean_dec(x_400); -x_493 = lean_ctor_get(x_477, 0); -lean_inc(x_493); -lean_dec(x_477); -x_404 = x_493; -x_405 = x_403; -goto block_455; -} -} -block_455: -{ -lean_object* x_406; lean_object* x_407; uint8_t x_417; -x_417 = lean_expr_has_expr_mvar(x_401); -if (x_417 == 0) -{ -uint8_t x_418; -x_418 = lean_expr_has_level_mvar(x_401); -if (x_418 == 0) -{ -lean_dec(x_1); -x_406 = x_401; -x_407 = x_405; -goto block_416; -} -else -{ -lean_object* x_419; lean_object* x_420; -x_419 = lean_ctor_get(x_405, 2); -lean_inc(x_419); -x_420 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_419, x_401); -lean_dec(x_419); -if (lean_obj_tag(x_420) == 0) -{ -lean_object* x_421; -lean_inc(x_401); -x_421 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___rarg(x_1, x_2, x_401, x_405); -if (lean_obj_tag(x_421) == 0) -{ -lean_object* x_422; lean_object* x_423; uint8_t x_424; -x_422 = lean_ctor_get(x_421, 1); -lean_inc(x_422); -x_423 = lean_ctor_get(x_421, 0); -lean_inc(x_423); -lean_dec(x_421); -x_424 = !lean_is_exclusive(x_422); -if (x_424 == 0) -{ -lean_object* x_425; lean_object* x_426; -x_425 = lean_ctor_get(x_422, 2); -lean_inc(x_423); -x_426 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_425, x_401, x_423); -lean_ctor_set(x_422, 2, x_426); -x_406 = x_423; -x_407 = x_422; -goto block_416; -} -else -{ -lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; -x_427 = lean_ctor_get(x_422, 0); -x_428 = lean_ctor_get(x_422, 1); -x_429 = lean_ctor_get(x_422, 2); -lean_inc(x_429); -lean_inc(x_428); -lean_inc(x_427); -lean_dec(x_422); -lean_inc(x_423); -x_430 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_429, x_401, x_423); -x_431 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_431, 0, x_427); -lean_ctor_set(x_431, 1, x_428); -lean_ctor_set(x_431, 2, x_430); -x_406 = x_423; -x_407 = x_431; -goto block_416; -} -} -else -{ -uint8_t x_432; -lean_dec(x_404); -lean_dec(x_402); -lean_dec(x_401); -lean_dec(x_3); -x_432 = !lean_is_exclusive(x_421); -if (x_432 == 0) -{ -return x_421; -} -else -{ -lean_object* x_433; lean_object* x_434; lean_object* x_435; -x_433 = lean_ctor_get(x_421, 0); -x_434 = lean_ctor_get(x_421, 1); -lean_inc(x_434); -lean_inc(x_433); -lean_dec(x_421); -x_435 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_435, 0, x_433); -lean_ctor_set(x_435, 1, x_434); -return x_435; -} -} -} -else -{ -lean_object* x_436; -lean_dec(x_401); -lean_dec(x_1); -x_436 = lean_ctor_get(x_420, 0); -lean_inc(x_436); -lean_dec(x_420); -x_406 = x_436; -x_407 = x_405; -goto block_416; -} -} -} -else -{ -lean_object* x_437; lean_object* x_438; -x_437 = lean_ctor_get(x_405, 2); -lean_inc(x_437); -x_438 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_437, x_401); -lean_dec(x_437); -if (lean_obj_tag(x_438) == 0) -{ -lean_object* x_439; -lean_inc(x_401); -x_439 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___rarg(x_1, x_2, x_401, x_405); -if (lean_obj_tag(x_439) == 0) -{ -lean_object* x_440; lean_object* x_441; uint8_t x_442; -x_440 = lean_ctor_get(x_439, 1); -lean_inc(x_440); -x_441 = lean_ctor_get(x_439, 0); -lean_inc(x_441); -lean_dec(x_439); -x_442 = !lean_is_exclusive(x_440); -if (x_442 == 0) -{ -lean_object* x_443; lean_object* x_444; -x_443 = lean_ctor_get(x_440, 2); -lean_inc(x_441); -x_444 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_443, x_401, x_441); -lean_ctor_set(x_440, 2, x_444); -x_406 = x_441; -x_407 = x_440; -goto block_416; -} -else -{ -lean_object* x_445; lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; -x_445 = lean_ctor_get(x_440, 0); -x_446 = lean_ctor_get(x_440, 1); -x_447 = lean_ctor_get(x_440, 2); -lean_inc(x_447); -lean_inc(x_446); -lean_inc(x_445); -lean_dec(x_440); -lean_inc(x_441); -x_448 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_447, x_401, x_441); -x_449 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_449, 0, x_445); -lean_ctor_set(x_449, 1, x_446); -lean_ctor_set(x_449, 2, x_448); -x_406 = x_441; -x_407 = x_449; -goto block_416; -} -} -else -{ -uint8_t x_450; -lean_dec(x_404); -lean_dec(x_402); -lean_dec(x_401); -lean_dec(x_3); -x_450 = !lean_is_exclusive(x_439); -if (x_450 == 0) -{ -return x_439; -} -else -{ -lean_object* x_451; lean_object* x_452; lean_object* x_453; -x_451 = lean_ctor_get(x_439, 0); -x_452 = lean_ctor_get(x_439, 1); -lean_inc(x_452); -lean_inc(x_451); -lean_dec(x_439); -x_453 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_453, 0, x_451); -lean_ctor_set(x_453, 1, x_452); -return x_453; -} -} -} -else -{ -lean_object* x_454; -lean_dec(x_401); -lean_dec(x_1); -x_454 = lean_ctor_get(x_438, 0); -lean_inc(x_454); -lean_dec(x_438); -x_406 = x_454; -x_407 = x_405; -goto block_416; -} -} -block_416: -{ -if (lean_obj_tag(x_3) == 8) -{ -lean_object* x_408; lean_object* x_409; -x_408 = lean_expr_update_let(x_3, x_402, x_404, x_406); -x_409 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_409, 0, x_408); -lean_ctor_set(x_409, 1, x_407); -return x_409; -} -else -{ -lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; -lean_dec(x_406); -lean_dec(x_404); -lean_dec(x_402); -lean_dec(x_3); -x_410 = l_Lean_Expr_getRevArg_x21___main___closed__1; -x_411 = lean_unsigned_to_nat(522u); -x_412 = lean_unsigned_to_nat(18u); -x_413 = l_Lean_Expr_letName_x21___closed__1; -x_414 = l_panicWithPos___at_Lean_Expr_getRevArg_x21___main___spec__1(x_410, x_411, x_412, x_413); -x_415 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_415, 0, x_414); -lean_ctor_set(x_415, 1, x_407); -return x_415; -} -} -} -} -} -case 10: -{ -lean_object* x_533; uint8_t x_534; -x_533 = lean_ctor_get(x_3, 1); -lean_inc(x_533); -x_534 = lean_expr_has_expr_mvar(x_533); -if (x_534 == 0) -{ -uint8_t x_535; -x_535 = lean_expr_has_level_mvar(x_533); -if (x_535 == 0) -{ -lean_dec(x_1); -x_5 = x_533; -x_6 = x_4; -goto block_15; -} -else -{ -lean_object* x_536; lean_object* x_537; -x_536 = lean_ctor_get(x_4, 2); -lean_inc(x_536); -x_537 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_536, x_533); -lean_dec(x_536); -if (lean_obj_tag(x_537) == 0) -{ -lean_object* x_538; -lean_inc(x_533); -x_538 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___rarg(x_1, x_2, x_533, x_4); -if (lean_obj_tag(x_538) == 0) -{ -lean_object* x_539; lean_object* x_540; uint8_t x_541; -x_539 = lean_ctor_get(x_538, 1); -lean_inc(x_539); -x_540 = lean_ctor_get(x_538, 0); -lean_inc(x_540); -lean_dec(x_538); -x_541 = !lean_is_exclusive(x_539); -if (x_541 == 0) -{ -lean_object* x_542; lean_object* x_543; -x_542 = lean_ctor_get(x_539, 2); -lean_inc(x_540); -x_543 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_542, x_533, x_540); -lean_ctor_set(x_539, 2, x_543); -x_5 = x_540; -x_6 = x_539; -goto block_15; -} -else -{ -lean_object* x_544; lean_object* x_545; lean_object* x_546; lean_object* x_547; lean_object* x_548; -x_544 = lean_ctor_get(x_539, 0); -x_545 = lean_ctor_get(x_539, 1); -x_546 = lean_ctor_get(x_539, 2); -lean_inc(x_546); -lean_inc(x_545); -lean_inc(x_544); -lean_dec(x_539); -lean_inc(x_540); -x_547 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_546, x_533, x_540); -x_548 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_548, 0, x_544); -lean_ctor_set(x_548, 1, x_545); -lean_ctor_set(x_548, 2, x_547); -x_5 = x_540; -x_6 = x_548; -goto block_15; -} -} -else -{ -uint8_t x_549; -lean_dec(x_533); -lean_dec(x_3); -x_549 = !lean_is_exclusive(x_538); -if (x_549 == 0) -{ -return x_538; -} -else -{ -lean_object* x_550; lean_object* x_551; lean_object* x_552; -x_550 = lean_ctor_get(x_538, 0); -x_551 = lean_ctor_get(x_538, 1); -lean_inc(x_551); -lean_inc(x_550); -lean_dec(x_538); -x_552 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_552, 0, x_550); -lean_ctor_set(x_552, 1, x_551); -return x_552; -} -} -} -else -{ -lean_object* x_553; -lean_dec(x_533); -lean_dec(x_1); -x_553 = lean_ctor_get(x_537, 0); -lean_inc(x_553); -lean_dec(x_537); -x_5 = x_553; -x_6 = x_4; -goto block_15; -} -} -} -else -{ -lean_object* x_554; lean_object* x_555; -x_554 = lean_ctor_get(x_4, 2); -lean_inc(x_554); -x_555 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_554, x_533); -lean_dec(x_554); -if (lean_obj_tag(x_555) == 0) -{ -lean_object* x_556; -lean_inc(x_533); -x_556 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___rarg(x_1, x_2, x_533, x_4); -if (lean_obj_tag(x_556) == 0) -{ -lean_object* x_557; lean_object* x_558; uint8_t x_559; -x_557 = lean_ctor_get(x_556, 1); -lean_inc(x_557); -x_558 = lean_ctor_get(x_556, 0); -lean_inc(x_558); -lean_dec(x_556); -x_559 = !lean_is_exclusive(x_557); -if (x_559 == 0) -{ -lean_object* x_560; lean_object* x_561; -x_560 = lean_ctor_get(x_557, 2); -lean_inc(x_558); -x_561 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_560, x_533, x_558); -lean_ctor_set(x_557, 2, x_561); -x_5 = x_558; -x_6 = x_557; -goto block_15; -} -else -{ -lean_object* x_562; lean_object* x_563; lean_object* x_564; lean_object* x_565; lean_object* x_566; -x_562 = lean_ctor_get(x_557, 0); -x_563 = lean_ctor_get(x_557, 1); -x_564 = lean_ctor_get(x_557, 2); -lean_inc(x_564); -lean_inc(x_563); -lean_inc(x_562); -lean_dec(x_557); -lean_inc(x_558); -x_565 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_564, x_533, x_558); -x_566 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_566, 0, x_562); -lean_ctor_set(x_566, 1, x_563); -lean_ctor_set(x_566, 2, x_565); -x_5 = x_558; -x_6 = x_566; -goto block_15; -} -} -else -{ -uint8_t x_567; -lean_dec(x_533); -lean_dec(x_3); -x_567 = !lean_is_exclusive(x_556); -if (x_567 == 0) -{ -return x_556; -} -else -{ -lean_object* x_568; lean_object* x_569; lean_object* x_570; -x_568 = lean_ctor_get(x_556, 0); -x_569 = lean_ctor_get(x_556, 1); -lean_inc(x_569); -lean_inc(x_568); -lean_dec(x_556); -x_570 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_570, 0, x_568); -lean_ctor_set(x_570, 1, x_569); -return x_570; -} -} -} -else -{ -lean_object* x_571; -lean_dec(x_533); -lean_dec(x_1); -x_571 = lean_ctor_get(x_555, 0); -lean_inc(x_571); -lean_dec(x_555); -x_5 = x_571; -x_6 = x_4; -goto block_15; -} -} -} -case 11: -{ -lean_object* x_572; uint8_t x_573; -x_572 = lean_ctor_get(x_3, 2); -lean_inc(x_572); -x_573 = lean_expr_has_expr_mvar(x_572); -if (x_573 == 0) -{ -uint8_t x_574; -x_574 = lean_expr_has_level_mvar(x_572); -if (x_574 == 0) -{ -lean_dec(x_1); -x_16 = x_572; -x_17 = x_4; -goto block_26; -} -else -{ -lean_object* x_575; lean_object* x_576; -x_575 = lean_ctor_get(x_4, 2); -lean_inc(x_575); -x_576 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_575, x_572); -lean_dec(x_575); -if (lean_obj_tag(x_576) == 0) -{ -lean_object* x_577; -lean_inc(x_572); -x_577 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___rarg(x_1, x_2, x_572, x_4); -if (lean_obj_tag(x_577) == 0) -{ -lean_object* x_578; lean_object* x_579; uint8_t x_580; -x_578 = lean_ctor_get(x_577, 1); -lean_inc(x_578); -x_579 = lean_ctor_get(x_577, 0); -lean_inc(x_579); -lean_dec(x_577); -x_580 = !lean_is_exclusive(x_578); -if (x_580 == 0) -{ -lean_object* x_581; lean_object* x_582; -x_581 = lean_ctor_get(x_578, 2); -lean_inc(x_579); -x_582 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_581, x_572, x_579); -lean_ctor_set(x_578, 2, x_582); -x_16 = x_579; -x_17 = x_578; -goto block_26; -} -else -{ -lean_object* x_583; lean_object* x_584; lean_object* x_585; lean_object* x_586; lean_object* x_587; -x_583 = lean_ctor_get(x_578, 0); -x_584 = lean_ctor_get(x_578, 1); -x_585 = lean_ctor_get(x_578, 2); -lean_inc(x_585); -lean_inc(x_584); -lean_inc(x_583); -lean_dec(x_578); -lean_inc(x_579); -x_586 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_585, x_572, x_579); -x_587 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_587, 0, x_583); -lean_ctor_set(x_587, 1, x_584); -lean_ctor_set(x_587, 2, x_586); -x_16 = x_579; -x_17 = x_587; -goto block_26; -} -} -else -{ -uint8_t x_588; -lean_dec(x_572); -lean_dec(x_3); -x_588 = !lean_is_exclusive(x_577); -if (x_588 == 0) -{ -return x_577; -} -else -{ -lean_object* x_589; lean_object* x_590; lean_object* x_591; -x_589 = lean_ctor_get(x_577, 0); -x_590 = lean_ctor_get(x_577, 1); -lean_inc(x_590); -lean_inc(x_589); -lean_dec(x_577); -x_591 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_591, 0, x_589); -lean_ctor_set(x_591, 1, x_590); -return x_591; -} -} -} -else -{ -lean_object* x_592; -lean_dec(x_572); -lean_dec(x_1); -x_592 = lean_ctor_get(x_576, 0); -lean_inc(x_592); -lean_dec(x_576); -x_16 = x_592; -x_17 = x_4; -goto block_26; -} -} -} -else -{ -lean_object* x_593; lean_object* x_594; -x_593 = lean_ctor_get(x_4, 2); -lean_inc(x_593); -x_594 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_593, x_572); -lean_dec(x_593); -if (lean_obj_tag(x_594) == 0) -{ -lean_object* x_595; -lean_inc(x_572); -x_595 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___rarg(x_1, x_2, x_572, x_4); -if (lean_obj_tag(x_595) == 0) -{ -lean_object* x_596; lean_object* x_597; uint8_t x_598; -x_596 = lean_ctor_get(x_595, 1); -lean_inc(x_596); -x_597 = lean_ctor_get(x_595, 0); -lean_inc(x_597); -lean_dec(x_595); -x_598 = !lean_is_exclusive(x_596); -if (x_598 == 0) -{ -lean_object* x_599; lean_object* x_600; -x_599 = lean_ctor_get(x_596, 2); -lean_inc(x_597); -x_600 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_599, x_572, x_597); -lean_ctor_set(x_596, 2, x_600); -x_16 = x_597; -x_17 = x_596; -goto block_26; -} -else -{ -lean_object* x_601; lean_object* x_602; lean_object* x_603; lean_object* x_604; lean_object* x_605; -x_601 = lean_ctor_get(x_596, 0); -x_602 = lean_ctor_get(x_596, 1); -x_603 = lean_ctor_get(x_596, 2); -lean_inc(x_603); -lean_inc(x_602); -lean_inc(x_601); -lean_dec(x_596); -lean_inc(x_597); -x_604 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_603, x_572, x_597); -x_605 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_605, 0, x_601); -lean_ctor_set(x_605, 1, x_602); -lean_ctor_set(x_605, 2, x_604); -x_16 = x_597; -x_17 = x_605; -goto block_26; -} -} -else -{ -uint8_t x_606; -lean_dec(x_572); -lean_dec(x_3); -x_606 = !lean_is_exclusive(x_595); -if (x_606 == 0) -{ -return x_595; -} -else -{ -lean_object* x_607; lean_object* x_608; lean_object* x_609; -x_607 = lean_ctor_get(x_595, 0); -x_608 = lean_ctor_get(x_595, 1); -lean_inc(x_608); -lean_inc(x_607); -lean_dec(x_595); -x_609 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_609, 0, x_607); -lean_ctor_set(x_609, 1, x_608); -return x_609; -} -} -} -else -{ -lean_object* x_610; -lean_dec(x_572); -lean_dec(x_1); -x_610 = lean_ctor_get(x_594, 0); -lean_inc(x_610); -lean_dec(x_594); -x_16 = x_610; -x_17 = x_4; -goto block_26; -} -} -} -default: -{ -lean_object* x_611; -lean_dec(x_1); -x_611 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_611, 0, x_3); -lean_ctor_set(x_611, 1, x_4); -return x_611; -} -} -block_15: -{ -if (lean_obj_tag(x_3) == 10) -{ -lean_object* x_7; lean_object* x_8; -x_7 = lean_expr_update_mdata(x_3, x_5); -x_8 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_8, 0, x_7); -lean_ctor_set(x_8, 1, x_6); -return x_8; -} -else -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; -lean_dec(x_5); -lean_dec(x_3); -x_9 = l_Lean_Expr_getRevArg_x21___main___closed__1; -x_10 = lean_unsigned_to_nat(480u); -x_11 = lean_unsigned_to_nat(15u); -x_12 = l_Lean_Expr_updateMData_x21___closed__1; -x_13 = l_panicWithPos___at_Lean_Expr_getRevArg_x21___main___spec__1(x_9, x_10, x_11, x_12); -x_14 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_14, 0, x_13); -lean_ctor_set(x_14, 1, x_6); -return x_14; -} -} -block_26: -{ -if (lean_obj_tag(x_3) == 11) -{ -lean_object* x_18; lean_object* x_19; -x_18 = lean_expr_update_proj(x_3, x_16); -x_19 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_19, 0, x_18); -lean_ctor_set(x_19, 1, x_17); -return x_19; -} -else -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; -lean_dec(x_16); -lean_dec(x_3); -x_20 = l_Lean_Expr_getRevArg_x21___main___closed__1; -x_21 = lean_unsigned_to_nat(485u); -x_22 = lean_unsigned_to_nat(16u); -x_23 = l_Lean_Expr_updateProj_x21___closed__1; -x_24 = l_panicWithPos___at_Lean_Expr_getRevArg_x21___main___spec__1(x_20, x_21, x_22, x_23); -x_25 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_25, 0, x_24); -lean_ctor_set(x_25, 1, x_17); -return x_25; -} -} -} -} -lean_object* l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___rarg___boxed), 4, 0); -return x_2; -} -} -lean_object* l_panicWithPos___at_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___spec__2___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; -x_6 = l_panicWithPos___at_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___spec__2___rarg(x_1, x_2, x_3, x_4, x_5); -lean_dec(x_4); -lean_dec(x_1); -return x_6; -} -} -lean_object* l_Nat_foldRevMAux___main___at_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___spec__3___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_4); -lean_dec(x_4); -x_9 = l_Nat_foldRevMAux___main___at_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___spec__3___rarg___lambda__1(x_1, x_2, x_3, x_8, x_5, x_6, x_7); -lean_dec(x_2); -lean_dec(x_1); -return x_9; -} -} -lean_object* l_Nat_foldRevMAux___main___at_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___spec__3___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_2); -lean_dec(x_2); -x_10 = l_Nat_foldRevMAux___main___at_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___spec__3___rarg(x_1, x_9, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_6); -return x_10; -} -} -lean_object* l_Lean_AbstractMetavarContext_MkBinding_mkBinding___at_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -uint8_t x_7; lean_object* x_8; -x_7 = lean_unbox(x_2); -lean_dec(x_2); -x_8 = l_Lean_AbstractMetavarContext_MkBinding_mkBinding___at_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___spec__1___rarg(x_1, x_7, x_3, x_4, x_5, x_6); -return x_8; -} -} -lean_object* l_Array_umapMAux___main___at_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___spec__4___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; -x_6 = l_Array_umapMAux___main___at_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___spec__4___rarg(x_1, x_2, x_3, x_4, x_5); -lean_dec(x_2); -return x_6; -} -} -lean_object* l___private_Init_Lean_Expr_4__withAppRevAux___main___at_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___spec__5___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; -x_6 = l___private_Init_Lean_Expr_4__withAppRevAux___main___at_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___spec__5___rarg(x_1, x_2, x_3, x_4, x_5); -lean_dec(x_2); -return x_6; -} -} -lean_object* l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___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_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___rarg(x_1, x_2, x_3, x_4); -lean_dec(x_2); -return x_5; -} -} -lean_object* l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___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_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___rarg(x_1, x_2, x_3, x_4); -return x_5; -} -} -lean_object* l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___rarg___boxed), 4, 0); -return x_2; -} -} -lean_object* l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___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_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___rarg(x_1, x_2, x_3, x_4); -lean_dec(x_2); -return x_5; -} -} -lean_object* l_Lean_AbstractMetavarContext_MkBinding_elimMVarDeps___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -uint8_t x_5; -x_5 = lean_expr_has_expr_mvar(x_3); -if (x_5 == 0) -{ -uint8_t x_6; -x_6 = lean_expr_has_level_mvar(x_3); -if (x_6 == 0) -{ -lean_object* x_7; -lean_dec(x_1); -x_7 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_7, 0, x_3); -lean_ctor_set(x_7, 1, x_4); -return x_7; -} -else -{ -uint8_t x_8; -x_8 = !lean_is_exclusive(x_4); -if (x_8 == 0) -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; -x_9 = lean_ctor_get(x_4, 2); -x_10 = l_HashMap_Inhabited___closed__1; -lean_ctor_set(x_4, 2, x_10); -x_11 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___rarg(x_1, x_2, x_3, x_4); -if (lean_obj_tag(x_11) == 0) -{ -uint8_t x_12; -x_12 = !lean_is_exclusive(x_11); -if (x_12 == 0) -{ -lean_object* x_13; uint8_t x_14; -x_13 = lean_ctor_get(x_11, 1); -x_14 = !lean_is_exclusive(x_13); -if (x_14 == 0) -{ -lean_object* x_15; -x_15 = lean_ctor_get(x_13, 2); -lean_dec(x_15); -lean_ctor_set(x_13, 2, x_9); -return x_11; -} -else -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_16 = lean_ctor_get(x_13, 0); -x_17 = lean_ctor_get(x_13, 1); -lean_inc(x_17); -lean_inc(x_16); -lean_dec(x_13); -x_18 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_18, 0, x_16); -lean_ctor_set(x_18, 1, x_17); -lean_ctor_set(x_18, 2, x_9); -lean_ctor_set(x_11, 1, x_18); -return x_11; -} -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_19 = lean_ctor_get(x_11, 1); -x_20 = lean_ctor_get(x_11, 0); -lean_inc(x_19); -lean_inc(x_20); -lean_dec(x_11); -x_21 = lean_ctor_get(x_19, 0); -lean_inc(x_21); -x_22 = lean_ctor_get(x_19, 1); -lean_inc(x_22); -if (lean_is_exclusive(x_19)) { - lean_ctor_release(x_19, 0); - lean_ctor_release(x_19, 1); - lean_ctor_release(x_19, 2); - x_23 = x_19; -} else { - lean_dec_ref(x_19); - x_23 = lean_box(0); -} -if (lean_is_scalar(x_23)) { - x_24 = lean_alloc_ctor(0, 3, 0); -} else { - x_24 = x_23; -} -lean_ctor_set(x_24, 0, x_21); -lean_ctor_set(x_24, 1, x_22); -lean_ctor_set(x_24, 2, x_9); -x_25 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_25, 0, x_20); -lean_ctor_set(x_25, 1, x_24); -return x_25; -} -} -else -{ -uint8_t x_26; -lean_dec(x_9); -x_26 = !lean_is_exclusive(x_11); -if (x_26 == 0) -{ -return x_11; -} -else -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_27 = lean_ctor_get(x_11, 0); -x_28 = lean_ctor_get(x_11, 1); -lean_inc(x_28); -lean_inc(x_27); -lean_dec(x_11); -x_29 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_29, 0, x_27); -lean_ctor_set(x_29, 1, x_28); -return x_29; -} -} -} -else -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_30 = lean_ctor_get(x_4, 0); -x_31 = lean_ctor_get(x_4, 1); -x_32 = lean_ctor_get(x_4, 2); -lean_inc(x_32); -lean_inc(x_31); -lean_inc(x_30); -lean_dec(x_4); -x_33 = l_HashMap_Inhabited___closed__1; -x_34 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_34, 0, x_30); -lean_ctor_set(x_34, 1, x_31); -lean_ctor_set(x_34, 2, x_33); -x_35 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___rarg(x_1, x_2, x_3, x_34); -if (lean_obj_tag(x_35) == 0) -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_36 = lean_ctor_get(x_35, 1); -lean_inc(x_36); -x_37 = lean_ctor_get(x_35, 0); -lean_inc(x_37); -if (lean_is_exclusive(x_35)) { - lean_ctor_release(x_35, 0); - lean_ctor_release(x_35, 1); - x_38 = x_35; -} else { - lean_dec_ref(x_35); - x_38 = lean_box(0); -} -x_39 = lean_ctor_get(x_36, 0); -lean_inc(x_39); -x_40 = lean_ctor_get(x_36, 1); -lean_inc(x_40); -if (lean_is_exclusive(x_36)) { - lean_ctor_release(x_36, 0); - lean_ctor_release(x_36, 1); - lean_ctor_release(x_36, 2); - x_41 = x_36; -} else { - lean_dec_ref(x_36); - x_41 = lean_box(0); -} -if (lean_is_scalar(x_41)) { - x_42 = lean_alloc_ctor(0, 3, 0); -} else { - x_42 = x_41; -} -lean_ctor_set(x_42, 0, x_39); -lean_ctor_set(x_42, 1, x_40); -lean_ctor_set(x_42, 2, x_32); -if (lean_is_scalar(x_38)) { - x_43 = lean_alloc_ctor(0, 2, 0); -} else { - x_43 = x_38; -} -lean_ctor_set(x_43, 0, x_37); -lean_ctor_set(x_43, 1, x_42); -return x_43; -} -else -{ -lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; -lean_dec(x_32); -x_44 = lean_ctor_get(x_35, 0); -lean_inc(x_44); -x_45 = lean_ctor_get(x_35, 1); -lean_inc(x_45); -if (lean_is_exclusive(x_35)) { - lean_ctor_release(x_35, 0); - lean_ctor_release(x_35, 1); - x_46 = x_35; -} else { - lean_dec_ref(x_35); - x_46 = lean_box(0); -} -if (lean_is_scalar(x_46)) { - x_47 = lean_alloc_ctor(1, 2, 0); -} else { - x_47 = x_46; -} -lean_ctor_set(x_47, 0, x_44); -lean_ctor_set(x_47, 1, x_45); -return x_47; -} -} -} -} -else -{ -uint8_t x_48; -x_48 = !lean_is_exclusive(x_4); -if (x_48 == 0) -{ -lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_49 = lean_ctor_get(x_4, 2); -x_50 = l_HashMap_Inhabited___closed__1; -lean_ctor_set(x_4, 2, x_50); -x_51 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___rarg(x_1, x_2, x_3, x_4); -if (lean_obj_tag(x_51) == 0) -{ -uint8_t x_52; -x_52 = !lean_is_exclusive(x_51); -if (x_52 == 0) -{ -lean_object* x_53; uint8_t x_54; -x_53 = lean_ctor_get(x_51, 1); -x_54 = !lean_is_exclusive(x_53); -if (x_54 == 0) -{ -lean_object* x_55; -x_55 = lean_ctor_get(x_53, 2); -lean_dec(x_55); -lean_ctor_set(x_53, 2, x_49); -return x_51; -} -else -{ -lean_object* x_56; lean_object* x_57; lean_object* x_58; -x_56 = lean_ctor_get(x_53, 0); -x_57 = lean_ctor_get(x_53, 1); -lean_inc(x_57); -lean_inc(x_56); -lean_dec(x_53); -x_58 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_58, 0, x_56); -lean_ctor_set(x_58, 1, x_57); -lean_ctor_set(x_58, 2, x_49); -lean_ctor_set(x_51, 1, x_58); -return x_51; -} -} -else -{ -lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; -x_59 = lean_ctor_get(x_51, 1); -x_60 = lean_ctor_get(x_51, 0); -lean_inc(x_59); -lean_inc(x_60); -lean_dec(x_51); -x_61 = lean_ctor_get(x_59, 0); -lean_inc(x_61); -x_62 = lean_ctor_get(x_59, 1); -lean_inc(x_62); -if (lean_is_exclusive(x_59)) { - lean_ctor_release(x_59, 0); - lean_ctor_release(x_59, 1); - lean_ctor_release(x_59, 2); - x_63 = x_59; -} else { - lean_dec_ref(x_59); - x_63 = lean_box(0); -} -if (lean_is_scalar(x_63)) { - x_64 = lean_alloc_ctor(0, 3, 0); -} else { - x_64 = x_63; -} -lean_ctor_set(x_64, 0, x_61); -lean_ctor_set(x_64, 1, x_62); -lean_ctor_set(x_64, 2, x_49); -x_65 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_65, 0, x_60); -lean_ctor_set(x_65, 1, x_64); -return x_65; -} -} -else -{ -uint8_t x_66; -lean_dec(x_49); -x_66 = !lean_is_exclusive(x_51); -if (x_66 == 0) -{ -return x_51; -} -else -{ -lean_object* x_67; lean_object* x_68; lean_object* x_69; -x_67 = lean_ctor_get(x_51, 0); -x_68 = lean_ctor_get(x_51, 1); -lean_inc(x_68); -lean_inc(x_67); -lean_dec(x_51); -x_69 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_69, 0, x_67); -lean_ctor_set(x_69, 1, x_68); -return x_69; -} -} -} -else -{ -lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; -x_70 = lean_ctor_get(x_4, 0); -x_71 = lean_ctor_get(x_4, 1); -x_72 = lean_ctor_get(x_4, 2); -lean_inc(x_72); -lean_inc(x_71); -lean_inc(x_70); -lean_dec(x_4); -x_73 = l_HashMap_Inhabited___closed__1; -x_74 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_74, 0, x_70); -lean_ctor_set(x_74, 1, x_71); -lean_ctor_set(x_74, 2, x_73); -x_75 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___rarg(x_1, x_2, x_3, x_74); -if (lean_obj_tag(x_75) == 0) -{ -lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; -x_76 = lean_ctor_get(x_75, 1); -lean_inc(x_76); -x_77 = lean_ctor_get(x_75, 0); -lean_inc(x_77); -if (lean_is_exclusive(x_75)) { - lean_ctor_release(x_75, 0); - lean_ctor_release(x_75, 1); - x_78 = x_75; -} else { - lean_dec_ref(x_75); - x_78 = lean_box(0); -} -x_79 = lean_ctor_get(x_76, 0); -lean_inc(x_79); -x_80 = lean_ctor_get(x_76, 1); -lean_inc(x_80); -if (lean_is_exclusive(x_76)) { - lean_ctor_release(x_76, 0); - lean_ctor_release(x_76, 1); - lean_ctor_release(x_76, 2); - x_81 = x_76; -} else { - lean_dec_ref(x_76); - x_81 = lean_box(0); -} -if (lean_is_scalar(x_81)) { - x_82 = lean_alloc_ctor(0, 3, 0); -} else { - x_82 = x_81; -} -lean_ctor_set(x_82, 0, x_79); -lean_ctor_set(x_82, 1, x_80); -lean_ctor_set(x_82, 2, x_72); -if (lean_is_scalar(x_78)) { - x_83 = lean_alloc_ctor(0, 2, 0); -} else { - x_83 = x_78; -} -lean_ctor_set(x_83, 0, x_77); -lean_ctor_set(x_83, 1, x_82); -return x_83; -} -else -{ -lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; -lean_dec(x_72); -x_84 = lean_ctor_get(x_75, 0); -lean_inc(x_84); -x_85 = lean_ctor_get(x_75, 1); -lean_inc(x_85); -if (lean_is_exclusive(x_75)) { - lean_ctor_release(x_75, 0); - lean_ctor_release(x_75, 1); - x_86 = x_75; -} else { - lean_dec_ref(x_75); - x_86 = lean_box(0); -} -if (lean_is_scalar(x_86)) { - x_87 = lean_alloc_ctor(1, 2, 0); -} else { - x_87 = x_86; -} -lean_ctor_set(x_87, 0, x_84); -lean_ctor_set(x_87, 1, x_85); -return x_87; -} -} -} -} -} -lean_object* l_Lean_AbstractMetavarContext_MkBinding_elimMVarDeps(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_AbstractMetavarContext_MkBinding_elimMVarDeps___rarg___boxed), 4, 0); -return x_2; -} -} -lean_object* l_Lean_AbstractMetavarContext_MkBinding_elimMVarDeps___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_Lean_AbstractMetavarContext_MkBinding_elimMVarDeps___rarg(x_1, x_2, x_3, x_4); -lean_dec(x_2); -return x_5; -} -} -lean_object* l_panicWithPos___at_Lean_AbstractMetavarContext_mkBinding___spec__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_6 = l_panicWithPos___rarg___closed__1; -x_7 = lean_string_append(x_6, x_1); -x_8 = l_panicWithPos___rarg___closed__2; -x_9 = lean_string_append(x_7, x_8); -x_10 = l_Nat_repr(x_2); -x_11 = lean_string_append(x_9, x_10); -lean_dec(x_10); -x_12 = l_panicWithPos___rarg___closed__2; -x_13 = lean_string_append(x_11, x_12); -x_14 = l_Nat_repr(x_3); -x_15 = lean_string_append(x_13, x_14); -lean_dec(x_14); -x_16 = l_panicWithPos___rarg___closed__3; -x_17 = lean_string_append(x_15, x_16); -x_18 = lean_string_append(x_17, x_4); -x_19 = l_panicWithPos___at_Lean_AbstractMetavarContext_MkBinding_mkBinding___spec__1___rarg___closed__1; -x_20 = lean_panic_fn(x_18); -x_21 = lean_apply_1(x_20, x_5); -return x_21; -} -} -lean_object* l_panicWithPos___at_Lean_AbstractMetavarContext_mkBinding___spec__2(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_panicWithPos___at_Lean_AbstractMetavarContext_mkBinding___spec__2___rarg___boxed), 5, 0); -return x_2; -} -} -lean_object* l_Nat_foldRevMAux___main___at_Lean_AbstractMetavarContext_mkBinding___spec__3___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; -x_8 = l_Lean_exprIsInhabited; -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); -if (lean_obj_tag(x_10) == 0) -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; -lean_dec(x_6); -lean_dec(x_4); -x_11 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_instantiateDelayedAux___main___rarg___closed__1; -x_12 = lean_unsigned_to_nat(404u); -x_13 = lean_unsigned_to_nat(16u); -x_14 = l_Nat_foldRevAux___main___at_Lean_LocalContext_mkBinding___spec__1___closed__1; -x_15 = l_panicWithPos___at_Lean_AbstractMetavarContext_mkBinding___spec__2___rarg(x_11, x_12, x_13, x_14, x_7); -return x_15; -} -else -{ -lean_object* x_16; -x_16 = lean_ctor_get(x_10, 0); -lean_inc(x_16); -lean_dec(x_10); -if (lean_obj_tag(x_16) == 0) -{ -lean_object* x_17; lean_object* x_18; uint8_t x_19; lean_object* x_20; -x_17 = lean_ctor_get(x_16, 2); -lean_inc(x_17); -x_18 = lean_ctor_get(x_16, 3); -lean_inc(x_18); -x_19 = lean_ctor_get_uint8(x_16, sizeof(void*)*4); -lean_dec(x_16); -x_20 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDeps___rarg(x_4, x_1, x_18, x_7); -if (lean_obj_tag(x_20) == 0) -{ -uint8_t x_21; -x_21 = !lean_is_exclusive(x_20); -if (x_21 == 0) -{ -lean_object* x_22; lean_object* x_23; -x_22 = lean_ctor_get(x_20, 0); -x_23 = lean_expr_abstract_range(x_22, x_2, x_1); -lean_dec(x_22); -if (x_5 == 0) -{ -lean_object* x_24; -x_24 = lean_expr_mk_forall(x_17, x_19, x_23, x_6); -lean_ctor_set(x_20, 0, x_24); -return x_20; -} -else -{ -lean_object* x_25; -x_25 = lean_expr_mk_lambda(x_17, x_19, x_23, x_6); -lean_ctor_set(x_20, 0, x_25); -return x_20; -} -} -else -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_26 = lean_ctor_get(x_20, 0); -x_27 = lean_ctor_get(x_20, 1); -lean_inc(x_27); -lean_inc(x_26); -lean_dec(x_20); -x_28 = lean_expr_abstract_range(x_26, x_2, x_1); -lean_dec(x_26); -if (x_5 == 0) -{ -lean_object* x_29; lean_object* x_30; -x_29 = lean_expr_mk_forall(x_17, x_19, x_28, x_6); -x_30 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_30, 0, x_29); -lean_ctor_set(x_30, 1, x_27); -return x_30; -} -else -{ -lean_object* x_31; lean_object* x_32; -x_31 = lean_expr_mk_lambda(x_17, x_19, x_28, x_6); -x_32 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_32, 0, x_31); -lean_ctor_set(x_32, 1, x_27); -return x_32; -} -} -} -else -{ -uint8_t x_33; -lean_dec(x_17); -lean_dec(x_6); -x_33 = !lean_is_exclusive(x_20); -if (x_33 == 0) -{ -return x_20; -} -else -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_34 = lean_ctor_get(x_20, 0); -x_35 = lean_ctor_get(x_20, 1); -lean_inc(x_35); -lean_inc(x_34); -lean_dec(x_20); -x_36 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_36, 0, x_34); -lean_ctor_set(x_36, 1, x_35); -return x_36; -} -} -} -else -{ -lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_37 = lean_ctor_get(x_16, 2); -lean_inc(x_37); -x_38 = lean_ctor_get(x_16, 3); -lean_inc(x_38); -x_39 = lean_ctor_get(x_16, 4); -lean_inc(x_39); -lean_dec(x_16); -lean_inc(x_4); -x_40 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDeps___rarg(x_4, x_1, x_38, x_7); -if (lean_obj_tag(x_40) == 0) -{ -lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; -x_41 = lean_ctor_get(x_40, 0); -lean_inc(x_41); -x_42 = lean_ctor_get(x_40, 1); -lean_inc(x_42); -lean_dec(x_40); -x_43 = lean_expr_abstract_range(x_41, x_2, x_1); -lean_dec(x_41); -x_44 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDeps___rarg(x_4, x_1, x_39, x_42); -if (lean_obj_tag(x_44) == 0) -{ -uint8_t x_45; -x_45 = !lean_is_exclusive(x_44); -if (x_45 == 0) -{ -lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_46 = lean_ctor_get(x_44, 0); -x_47 = lean_expr_abstract_range(x_46, x_2, x_1); -lean_dec(x_46); -x_48 = lean_expr_mk_let(x_37, x_43, x_47, x_6); -lean_ctor_set(x_44, 0, x_48); -return x_44; -} -else -{ -lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; -x_49 = lean_ctor_get(x_44, 0); -x_50 = lean_ctor_get(x_44, 1); -lean_inc(x_50); -lean_inc(x_49); -lean_dec(x_44); -x_51 = lean_expr_abstract_range(x_49, x_2, x_1); -lean_dec(x_49); -x_52 = lean_expr_mk_let(x_37, x_43, x_51, x_6); -x_53 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_53, 0, x_52); -lean_ctor_set(x_53, 1, x_50); -return x_53; -} -} -else -{ -uint8_t x_54; -lean_dec(x_43); -lean_dec(x_37); -lean_dec(x_6); -x_54 = !lean_is_exclusive(x_44); -if (x_54 == 0) -{ -return x_44; -} -else -{ -lean_object* x_55; lean_object* x_56; lean_object* x_57; -x_55 = lean_ctor_get(x_44, 0); -x_56 = lean_ctor_get(x_44, 1); -lean_inc(x_56); -lean_inc(x_55); -lean_dec(x_44); -x_57 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_57, 0, x_55); -lean_ctor_set(x_57, 1, x_56); -return x_57; -} -} -} -else -{ -uint8_t x_58; -lean_dec(x_39); -lean_dec(x_37); -lean_dec(x_6); -lean_dec(x_4); -x_58 = !lean_is_exclusive(x_40); -if (x_58 == 0) -{ -return x_40; -} -else -{ -lean_object* x_59; lean_object* x_60; lean_object* x_61; -x_59 = lean_ctor_get(x_40, 0); -x_60 = lean_ctor_get(x_40, 1); -lean_inc(x_60); -lean_inc(x_59); -lean_dec(x_40); -x_61 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_61, 0, x_59); -lean_ctor_set(x_61, 1, x_60); -return x_61; -} -} -} -} -} -} -lean_object* l_Nat_foldRevMAux___main___at_Lean_AbstractMetavarContext_mkBinding___spec__3___rarg(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; uint8_t x_10; -x_9 = lean_unsigned_to_nat(0u); -x_10 = lean_nat_dec_eq(x_6, x_9); -if (x_10 == 0) -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_11 = lean_unsigned_to_nat(1u); -x_12 = lean_nat_sub(x_6, x_11); -x_13 = lean_ctor_get(x_5, 1); -lean_inc(x_13); -x_14 = lean_box(x_2); -lean_inc(x_1); -lean_inc(x_3); -lean_inc(x_12); -lean_inc(x_4); -x_15 = lean_alloc_closure((void*)(l_Nat_foldRevMAux___main___at_Lean_AbstractMetavarContext_mkBinding___spec__3___rarg___lambda__1___boxed), 7, 6); -lean_closure_set(x_15, 0, x_4); -lean_closure_set(x_15, 1, x_12); -lean_closure_set(x_15, 2, x_3); -lean_closure_set(x_15, 3, x_1); -lean_closure_set(x_15, 4, x_14); -lean_closure_set(x_15, 5, x_7); -x_16 = lean_box(x_2); -x_17 = lean_alloc_closure((void*)(l_Nat_foldRevMAux___main___at_Lean_AbstractMetavarContext_mkBinding___spec__3___rarg___boxed), 8, 6); -lean_closure_set(x_17, 0, x_1); -lean_closure_set(x_17, 1, x_16); -lean_closure_set(x_17, 2, x_3); -lean_closure_set(x_17, 3, x_4); -lean_closure_set(x_17, 4, x_5); -lean_closure_set(x_17, 5, x_12); -x_18 = lean_apply_5(x_13, lean_box(0), lean_box(0), x_15, x_17, x_8); -return x_18; -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_19 = lean_ctor_get(x_5, 0); -lean_inc(x_19); -lean_dec(x_5); -x_20 = lean_ctor_get(x_19, 1); -lean_inc(x_20); -lean_dec(x_19); -x_21 = lean_apply_3(x_20, lean_box(0), x_7, x_8); -return x_21; -} -} -} -lean_object* l_Nat_foldRevMAux___main___at_Lean_AbstractMetavarContext_mkBinding___spec__3(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Nat_foldRevMAux___main___at_Lean_AbstractMetavarContext_mkBinding___spec__3___rarg___boxed), 8, 0); -return x_2; -} -} -lean_object* l_Lean_AbstractMetavarContext_MkBinding_mkBinding___at_Lean_AbstractMetavarContext_mkBinding___spec__1___rarg(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; lean_object* x_8; -x_7 = lean_array_get_size(x_4); -lean_inc(x_1); -x_8 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDeps___rarg(x_1, x_4, x_5, x_6); -if (lean_obj_tag(x_8) == 0) -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_9 = lean_ctor_get(x_8, 0); -lean_inc(x_9); -x_10 = lean_ctor_get(x_8, 1); -lean_inc(x_10); -lean_dec(x_8); -x_11 = lean_expr_abstract_range(x_9, x_7, x_4); -lean_dec(x_9); -x_12 = l_EIO_Monad___closed__1; -x_13 = l_Nat_foldRevMAux___main___at_Lean_AbstractMetavarContext_mkBinding___spec__3___rarg(x_1, x_2, x_3, x_4, x_12, x_7, x_11, x_10); -lean_dec(x_7); -return x_13; -} -else -{ -uint8_t x_14; -lean_dec(x_7); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_14 = !lean_is_exclusive(x_8); -if (x_14 == 0) -{ -return x_8; -} -else -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_15 = lean_ctor_get(x_8, 0); -x_16 = lean_ctor_get(x_8, 1); -lean_inc(x_16); -lean_inc(x_15); -lean_dec(x_8); -x_17 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_17, 0, x_15); -lean_ctor_set(x_17, 1, x_16); -return x_17; -} -} -} -} -lean_object* l_Lean_AbstractMetavarContext_MkBinding_mkBinding___at_Lean_AbstractMetavarContext_mkBinding___spec__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_AbstractMetavarContext_MkBinding_mkBinding___at_Lean_AbstractMetavarContext_mkBinding___spec__1___rarg___boxed), 6, 0); -return x_2; -} -} -lean_object* l_Lean_AbstractMetavarContext_mkBinding___rarg(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; -x_8 = l_HashMap_Inhabited___closed__1; -x_9 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_9, 0, x_3); -lean_ctor_set(x_9, 1, x_4); -lean_ctor_set(x_9, 2, x_8); -x_10 = l_Lean_AbstractMetavarContext_MkBinding_mkBinding___at_Lean_AbstractMetavarContext_mkBinding___spec__1___rarg(x_1, x_2, x_5, x_6, x_7, x_9); -if (lean_obj_tag(x_10) == 0) -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_11 = lean_ctor_get(x_10, 1); -lean_inc(x_11); -x_12 = lean_ctor_get(x_10, 0); -lean_inc(x_12); -lean_dec(x_10); -x_13 = lean_ctor_get(x_11, 0); -lean_inc(x_13); -x_14 = lean_ctor_get(x_11, 1); -lean_inc(x_14); -lean_dec(x_11); -x_15 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_15, 0, x_14); -lean_ctor_set(x_15, 1, x_12); -x_16 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_16, 0, x_13); -lean_ctor_set(x_16, 1, x_15); -x_17 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_17, 0, x_16); -return x_17; -} -else -{ -lean_object* x_18; lean_object* x_19; -x_18 = lean_ctor_get(x_10, 0); -lean_inc(x_18); -lean_dec(x_10); -x_19 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_19, 0, x_18); -return x_19; -} -} -} -lean_object* l_Lean_AbstractMetavarContext_mkBinding(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_AbstractMetavarContext_mkBinding___rarg___boxed), 7, 0); -return x_2; -} -} -lean_object* l_panicWithPos___at_Lean_AbstractMetavarContext_mkBinding___spec__2___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; -x_6 = l_panicWithPos___at_Lean_AbstractMetavarContext_mkBinding___spec__2___rarg(x_1, x_2, x_3, x_4, x_5); -lean_dec(x_4); -lean_dec(x_1); -return x_6; -} -} -lean_object* l_Nat_foldRevMAux___main___at_Lean_AbstractMetavarContext_mkBinding___spec__3___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_5); -lean_dec(x_5); -x_9 = l_Nat_foldRevMAux___main___at_Lean_AbstractMetavarContext_mkBinding___spec__3___rarg___lambda__1(x_1, x_2, x_3, x_4, x_8, x_6, x_7); -lean_dec(x_2); -lean_dec(x_1); -return x_9; -} -} -lean_object* l_Nat_foldRevMAux___main___at_Lean_AbstractMetavarContext_mkBinding___spec__3___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_2); -lean_dec(x_2); -x_10 = l_Nat_foldRevMAux___main___at_Lean_AbstractMetavarContext_mkBinding___spec__3___rarg(x_1, x_9, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_6); -return x_10; -} -} -lean_object* l_Lean_AbstractMetavarContext_MkBinding_mkBinding___at_Lean_AbstractMetavarContext_mkBinding___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -uint8_t x_7; lean_object* x_8; -x_7 = lean_unbox(x_2); -lean_dec(x_2); -x_8 = l_Lean_AbstractMetavarContext_MkBinding_mkBinding___at_Lean_AbstractMetavarContext_mkBinding___spec__1___rarg(x_1, x_7, x_3, x_4, x_5, x_6); -return x_8; -} -} -lean_object* l_Lean_AbstractMetavarContext_mkBinding___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: -{ -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_2); -lean_dec(x_2); -x_9 = l_Lean_AbstractMetavarContext_mkBinding___rarg(x_1, x_8, x_3, x_4, x_5, x_6, x_7); -return x_9; -} -} -lean_object* l_Lean_AbstractMetavarContext_mkLambda___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: -{ -uint8_t x_7; lean_object* x_8; -x_7 = 1; -x_8 = l_Lean_AbstractMetavarContext_mkBinding___rarg(x_1, x_7, x_2, x_3, x_4, x_5, x_6); -return x_8; -} -} -lean_object* l_Lean_AbstractMetavarContext_mkLambda(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_AbstractMetavarContext_mkLambda___rarg), 6, 0); -return x_2; -} -} -lean_object* l_Lean_AbstractMetavarContext_mkForall___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: -{ -uint8_t x_7; lean_object* x_8; -x_7 = 0; -x_8 = l_Lean_AbstractMetavarContext_mkBinding___rarg(x_1, x_7, x_2, x_3, x_4, x_5, x_6); -return x_8; -} -} -lean_object* l_Lean_AbstractMetavarContext_mkForall(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_AbstractMetavarContext_mkForall___rarg), 6, 0); -return x_2; -} -} -lean_object* initialize_Init_Control_Reader(lean_object*); -lean_object* initialize_Init_Control_Conditional(lean_object*); -lean_object* initialize_Init_Data_Option_Default(lean_object*); -lean_object* initialize_Init_Data_List_Default(lean_object*); -lean_object* initialize_Init_Data_Nat_Default(lean_object*); -lean_object* initialize_Init_Lean_LocalContext(lean_object*); -lean_object* initialize_Init_Lean_MonadCache(lean_object*); -lean_object* initialize_Init_Lean_NameGenerator(lean_object*); -static bool _G_initialized = false; -lean_object* initialize_Init_Lean_AbstractMetavarContext(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_Control_Conditional(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -res = initialize_Init_Data_Option_Default(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -res = initialize_Init_Data_List_Default(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -res = initialize_Init_Data_Nat_Default(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -res = initialize_Init_Lean_LocalContext(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -res = initialize_Init_Lean_MonadCache(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); -l_Lean_MetavarDecl_Inhabited___closed__1 = _init_l_Lean_MetavarDecl_Inhabited___closed__1(); -lean_mark_persistent(l_Lean_MetavarDecl_Inhabited___closed__1); -l_Lean_MetavarDecl_Inhabited = _init_l_Lean_MetavarDecl_Inhabited(); -lean_mark_persistent(l_Lean_MetavarDecl_Inhabited); -l_panicWithPos___at_Lean_AbstractMetavarContext_InstantiateExprMVars_instantiateDelayedAux___main___spec__1___rarg___closed__1 = _init_l_panicWithPos___at_Lean_AbstractMetavarContext_InstantiateExprMVars_instantiateDelayedAux___main___spec__1___rarg___closed__1(); -lean_mark_persistent(l_panicWithPos___at_Lean_AbstractMetavarContext_InstantiateExprMVars_instantiateDelayedAux___main___spec__1___rarg___closed__1); -l_panicWithPos___at_Lean_AbstractMetavarContext_InstantiateExprMVars_instantiateDelayedAux___main___spec__1___rarg___closed__2 = _init_l_panicWithPos___at_Lean_AbstractMetavarContext_InstantiateExprMVars_instantiateDelayedAux___main___spec__1___rarg___closed__2(); -lean_mark_persistent(l_panicWithPos___at_Lean_AbstractMetavarContext_InstantiateExprMVars_instantiateDelayedAux___main___spec__1___rarg___closed__2); -l_Lean_AbstractMetavarContext_InstantiateExprMVars_instantiateDelayedAux___main___rarg___closed__1 = _init_l_Lean_AbstractMetavarContext_InstantiateExprMVars_instantiateDelayedAux___main___rarg___closed__1(); -lean_mark_persistent(l_Lean_AbstractMetavarContext_InstantiateExprMVars_instantiateDelayedAux___main___rarg___closed__1); -l_Lean_AbstractMetavarContext_instantiateMVars___rarg___closed__1 = _init_l_Lean_AbstractMetavarContext_instantiateMVars___rarg___closed__1(); -lean_mark_persistent(l_Lean_AbstractMetavarContext_instantiateMVars___rarg___closed__1); -l_Lean_AbstractMetavarContext_exprDependsOn___rarg___closed__1 = _init_l_Lean_AbstractMetavarContext_exprDependsOn___rarg___closed__1(); -lean_mark_persistent(l_Lean_AbstractMetavarContext_exprDependsOn___rarg___closed__1); -l_Lean_AbstractMetavarContext_MkBindingException_toStr___closed__1 = _init_l_Lean_AbstractMetavarContext_MkBindingException_toStr___closed__1(); -lean_mark_persistent(l_Lean_AbstractMetavarContext_MkBindingException_toStr___closed__1); -l_Lean_AbstractMetavarContext_MkBindingException_toStr___closed__2 = _init_l_Lean_AbstractMetavarContext_MkBindingException_toStr___closed__2(); -lean_mark_persistent(l_Lean_AbstractMetavarContext_MkBindingException_toStr___closed__2); -l_Lean_AbstractMetavarContext_MkBindingException_toStr___closed__3 = _init_l_Lean_AbstractMetavarContext_MkBindingException_toStr___closed__3(); -lean_mark_persistent(l_Lean_AbstractMetavarContext_MkBindingException_toStr___closed__3); -l_Lean_AbstractMetavarContext_MkBindingException_toStr___closed__4 = _init_l_Lean_AbstractMetavarContext_MkBindingException_toStr___closed__4(); -lean_mark_persistent(l_Lean_AbstractMetavarContext_MkBindingException_toStr___closed__4); -l_Lean_AbstractMetavarContext_MkBindingException_toStr___closed__5 = _init_l_Lean_AbstractMetavarContext_MkBindingException_toStr___closed__5(); -lean_mark_persistent(l_Lean_AbstractMetavarContext_MkBindingException_toStr___closed__5); -l_Lean_AbstractMetavarContext_MkBindingException_toStr___closed__6 = _init_l_Lean_AbstractMetavarContext_MkBindingException_toStr___closed__6(); -lean_mark_persistent(l_Lean_AbstractMetavarContext_MkBindingException_toStr___closed__6); -l_Lean_AbstractMetavarContext_MkBindingException_toStr___closed__7 = _init_l_Lean_AbstractMetavarContext_MkBindingException_toStr___closed__7(); -lean_mark_persistent(l_Lean_AbstractMetavarContext_MkBindingException_toStr___closed__7); -l_Lean_AbstractMetavarContext_MkBindingException_HasToString___closed__1 = _init_l_Lean_AbstractMetavarContext_MkBindingException_HasToString___closed__1(); -lean_mark_persistent(l_Lean_AbstractMetavarContext_MkBindingException_HasToString___closed__1); -l_Lean_AbstractMetavarContext_MkBindingException_HasToString = _init_l_Lean_AbstractMetavarContext_MkBindingException_HasToString(); -lean_mark_persistent(l_Lean_AbstractMetavarContext_MkBindingException_HasToString); -l_Lean_AbstractMetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___closed__1 = _init_l_Lean_AbstractMetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___closed__1(); -lean_mark_persistent(l_Lean_AbstractMetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___closed__1); -l_Lean_AbstractMetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___closed__2 = _init_l_Lean_AbstractMetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___closed__2(); -lean_mark_persistent(l_Lean_AbstractMetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___closed__2); -l_Lean_AbstractMetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___closed__3 = _init_l_Lean_AbstractMetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___closed__3(); -lean_mark_persistent(l_Lean_AbstractMetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___closed__3); -l_Lean_AbstractMetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___closed__4 = _init_l_Lean_AbstractMetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___closed__4(); -lean_mark_persistent(l_Lean_AbstractMetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___closed__4); -l_panicWithPos___at_Lean_AbstractMetavarContext_MkBinding_mkBinding___spec__1___rarg___closed__1 = _init_l_panicWithPos___at_Lean_AbstractMetavarContext_MkBinding_mkBinding___spec__1___rarg___closed__1(); -lean_mark_persistent(l_panicWithPos___at_Lean_AbstractMetavarContext_MkBinding_mkBinding___spec__1___rarg___closed__1); -return lean_mk_io_result(lean_box(0)); -} -#ifdef __cplusplus -} -#endif diff --git a/src/stage0/Init/Lean/Attributes.c b/src/stage0/Init/Lean/Attributes.c index db7a955ee8..f9592a3938 100644 --- a/src/stage0/Init/Lean/Attributes.c +++ b/src/stage0/Init/Lean/Attributes.c @@ -205,7 +205,6 @@ lean_object* l___private_Init_Data_Array_QSort_1__partitionAux___main___at_Lean_ lean_object* l_Array_anyMAux___main___at_Lean_registerTagAttribute___spec__3___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_RBNode_find___main___at_Lean_EnumAttributes_getValue___spec__1___rarg___boxed(lean_object*, lean_object*); lean_object* l_Array_qsortAux___main___at_Lean_registerParametricAttribute___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_EState_bind___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_TagAttribute_Inhabited___closed__1; lean_object* l_RBNode_fold___main___at_Lean_registerEnumAttributes___spec__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_registerEnvExtensionUnsafe___at_Lean_registerTagAttribute___spec__4___closed__1; @@ -255,6 +254,7 @@ lean_object* l_Lean_AttributeImpl_inhabited___lambda__2(lean_object*, lean_objec lean_object* l_Lean_registerTagAttribute___lambda__3___closed__3; lean_object* l_Lean_AttributeImpl_inhabited___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); lean_object* l___private_Init_Data_Array_QSort_1__partitionAux___main___at_Lean_registerEnumAttributes___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_EStateM_bind___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_RBNode_find___main___at_Lean_EnumAttributes_getValue___spec__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_registerTagAttribute___lambda__3___boxed(lean_object*); extern lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__1; @@ -2939,7 +2939,7 @@ x_11 = l_Array_empty___closed__1; lean_inc(x_10); x_12 = lean_apply_1(x_10, x_11); x_13 = l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__1; -x_14 = lean_alloc_closure((void*)(l_EState_bind___rarg), 3, 2); +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_registerTagAttribute___spec__4(x_14, x_7); @@ -3148,7 +3148,7 @@ x_64 = l_Array_empty___closed__1; lean_inc(x_63); x_65 = lean_apply_1(x_63, x_64); x_66 = l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__1; -x_67 = lean_alloc_closure((void*)(l_EState_bind___rarg), 3, 2); +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_registerTagAttribute___spec__4(x_67, x_60); @@ -4774,7 +4774,7 @@ x_11 = l_Array_empty___closed__1; lean_inc(x_10); x_12 = lean_apply_1(x_10, x_11); x_13 = l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__1; -x_14 = lean_alloc_closure((void*)(l_EState_bind___rarg), 3, 2); +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_registerParametricAttribute___spec__9___rarg(x_14, x_7); @@ -4983,7 +4983,7 @@ x_64 = l_Array_empty___closed__1; lean_inc(x_63); x_65 = lean_apply_1(x_63, x_64); x_66 = l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__1; -x_67 = lean_alloc_closure((void*)(l_EState_bind___rarg), 3, 2); +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_registerParametricAttribute___spec__9___rarg(x_67, x_60); @@ -6949,7 +6949,7 @@ x_11 = l_Array_empty___closed__1; lean_inc(x_10); x_12 = lean_apply_1(x_10, x_11); x_13 = l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__1; -x_14 = lean_alloc_closure((void*)(l_EState_bind___rarg), 3, 2); +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_registerEnumAttributes___spec__9___rarg(x_14, x_7); @@ -7158,7 +7158,7 @@ x_64 = l_Array_empty___closed__1; lean_inc(x_63); x_65 = lean_apply_1(x_63, x_64); x_66 = l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__1; -x_67 = lean_alloc_closure((void*)(l_EState_bind___rarg), 3, 2); +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_registerEnumAttributes___spec__9___rarg(x_67, x_60); diff --git a/src/stage0/Init/Lean/Class.c b/src/stage0/Init/Lean/Class.c index 194ca7c1ef..f627e08052 100644 --- a/src/stage0/Init/Lean/Class.c +++ b/src/stage0/Init/Lean/Class.c @@ -32,6 +32,7 @@ lean_object* l_AssocList_find___main___at_Lean_hasOutParams___spec__6(lean_objec extern lean_object* l_Array_empty___closed__1; lean_object* l_Lean_registerInstanceAttr___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); +lean_object* l_Lean_ConstantInfo_value_x3f(lean_object*); extern lean_object* l_Lean_registerEnvExtensionUnsafe___rarg___closed__2; lean_object* l_Lean_registerEnvExtensionUnsafe___at_Lean_mkClassExtension___spec__7___closed__2; lean_object* l_Lean_isInstance___boxed(lean_object*, lean_object*); @@ -110,7 +111,6 @@ lean_object* l_Lean_SMap_empty___at_Lean_ClassState_Inhabited___spec__1___closed lean_object* lean_io_initializing(lean_object*); lean_object* l_Lean_SMap_switch___at_Lean_ClassState_switch___spec__2(lean_object*); lean_object* l_AssocList_contains___main___at_Lean_ClassState_addEntry___spec__7___boxed(lean_object*, lean_object*); -lean_object* l_Lean_ConstantInfo_value(lean_object*); lean_object* l_Lean_classExtension___closed__3; lean_object* l_PersistentHashMap_insertAux___main___at_Lean_ClassState_addEntry___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkClassExtension___closed__5; @@ -194,7 +194,6 @@ lean_object* l_mkHashMap___at_Lean_ClassState_Inhabited___spec__2(lean_object*); lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_mkClassExtension___spec__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_mkClassExtension___lambda__1___boxed(lean_object*); lean_object* l_Lean_SMap_find___at_Lean_ClassState_addEntry___spec__12(lean_object*, lean_object*); -lean_object* l_EState_bind___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_AssocList_foldlM___main___at_Lean_ClassState_addEntry___spec__10(lean_object*, lean_object*); lean_object* l_Lean_mkClassExtension___closed__4; lean_object* l_Array_iterateMAux___main___at_Lean_ClassState_addEntry___spec__22___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -239,6 +238,7 @@ lean_object* l_Array_iterateMAux___main___at_Lean_mkClassExtension___spec__3(lea lean_object* l_HashMapImp_insert___at_Lean_ClassState_addEntry___spec__6___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_AssocList_replace___main___at_Lean_ClassState_addEntry___spec__39(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_registerClassAttr___closed__1; +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; @@ -4132,7 +4132,7 @@ x_11 = l_Array_empty___closed__1; lean_inc(x_10); x_12 = lean_apply_1(x_10, x_11); x_13 = l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__1; -x_14 = lean_alloc_closure((void*)(l_EState_bind___rarg), 3, 2); +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_mkClassExtension___spec__7(x_14, x_7); @@ -4341,7 +4341,7 @@ x_64 = l_Array_empty___closed__1; lean_inc(x_63); x_65 = lean_apply_1(x_63, x_64); x_66 = l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__1; -x_67 = lean_alloc_closure((void*)(l_EState_bind___rarg), 3, 2); +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_mkClassExtension___spec__7(x_67, x_60); @@ -5854,7 +5854,7 @@ if (x_9 == 0) { lean_object* x_10; lean_object* x_11; x_10 = lean_ctor_get(x_7, 0); -x_11 = l_Lean_ConstantInfo_value(x_10); +x_11 = l_Lean_ConstantInfo_value_x3f(x_10); lean_dec(x_10); if (lean_obj_tag(x_11) == 0) { @@ -5911,7 +5911,7 @@ lean_object* x_21; lean_object* x_22; x_21 = lean_ctor_get(x_7, 0); lean_inc(x_21); lean_dec(x_7); -x_22 = l_Lean_ConstantInfo_value(x_21); +x_22 = l_Lean_ConstantInfo_value_x3f(x_21); lean_dec(x_21); if (lean_obj_tag(x_22) == 0) { diff --git a/src/stage0/Init/Lean/Compiler/ClosedTermCache.c b/src/stage0/Init/Lean/Compiler/ClosedTermCache.c index 9b55047a6c..9a6cd68f23 100644 --- a/src/stage0/Init/Lean/Compiler/ClosedTermCache.c +++ b/src/stage0/Init/Lean/Compiler/ClosedTermCache.c @@ -102,7 +102,6 @@ lean_object* l_Lean_closedTermCacheExt___closed__3; lean_object* l_Lean_SMap_insert___at_Lean_mkClosedTermCacheExtension___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_closedTermCacheExt___closed__1; lean_object* l_AssocList_replace___main___at_Lean_mkClosedTermCacheExtension___spec__11(lean_object*, lean_object*, lean_object*); -lean_object* l_EState_bind___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_SMap_empty___at_Lean_mkClosedTermCacheExtension___spec__12___closed__1; lean_object* l_Lean_PersistentEnvExtension_addEntry___rarg(lean_object*, lean_object*, lean_object*); lean_object* lean_io_ref_get(lean_object*, lean_object*); @@ -124,6 +123,7 @@ lean_object* l_Lean_closedTermCacheExt___closed__8; lean_object* l_mkHashMapImp___rarg(lean_object*); lean_object* lean_get_closed_term_name(lean_object*, lean_object*); 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 lean_nat_dec_le(lean_object*, lean_object*); @@ -1466,7 +1466,7 @@ x_11 = l_Array_empty___closed__1; lean_inc(x_10); x_12 = lean_apply_1(x_10, x_11); x_13 = l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__1; -x_14 = lean_alloc_closure((void*)(l_EState_bind___rarg), 3, 2); +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); @@ -1675,7 +1675,7 @@ x_64 = l_Array_empty___closed__1; lean_inc(x_63); x_65 = lean_apply_1(x_63, x_64); x_66 = l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__1; -x_67 = lean_alloc_closure((void*)(l_EState_bind___rarg), 3, 2); +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); diff --git a/src/stage0/Init/Lean/Compiler/ExportAttr.c b/src/stage0/Init/Lean/Compiler/ExportAttr.c index 47e2d02820..6e6d406223 100644 --- a/src/stage0/Init/Lean/Compiler/ExportAttr.c +++ b/src/stage0/Init/Lean/Compiler/ExportAttr.c @@ -78,7 +78,6 @@ lean_object* l_Lean_mkExportAttr___lambda__2___boxed(lean_object*, lean_object*, lean_object* l_Lean_registerParametricAttribute___rarg___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Char_isDigit(uint32_t); lean_object* l_Lean_registerParametricAttribute___at_Lean_mkExportAttr___spec__1___closed__1; -lean_object* l_EState_bind___rarg(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_registerEnvExtensionUnsafe___at_Lean_registerTagAttribute___spec__4___closed__1; lean_object* lean_array_swap(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkExportAttr___lambda__1___closed__1; @@ -93,6 +92,7 @@ extern lean_object* l_Substring_drop___closed__1; lean_object* l_String_anyAux___main___at___private_Init_Lean_Compiler_ExportAttr_1__isValidCppId___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l___private_Init_Lean_Compiler_ExportAttr_2__isValidCppName___main(lean_object*); lean_object* lean_string_utf8_next(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 lean_nat_dec_le(lean_object*, lean_object*); @@ -1024,7 +1024,7 @@ x_11 = l_Array_empty___closed__1; lean_inc(x_10); x_12 = lean_apply_1(x_10, x_11); x_13 = l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__1; -x_14 = lean_alloc_closure((void*)(l_EState_bind___rarg), 3, 2); +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_mkExportAttr___spec__7(x_14, x_7); @@ -1233,7 +1233,7 @@ x_64 = l_Array_empty___closed__1; lean_inc(x_63); x_65 = lean_apply_1(x_63, x_64); x_66 = l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__1; -x_67 = lean_alloc_closure((void*)(l_EState_bind___rarg), 3, 2); +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_mkExportAttr___spec__7(x_67, x_60); diff --git a/src/stage0/Init/Lean/Compiler/ExternAttr.c b/src/stage0/Init/Lean/Compiler/ExternAttr.c index feb5ea6e59..6d7a21232c 100644 --- a/src/stage0/Init/Lean/Compiler/ExternAttr.c +++ b/src/stage0/Init/Lean/Compiler/ExternAttr.c @@ -118,7 +118,6 @@ uint8_t l_UInt32_decEq(uint32_t, uint32_t); lean_object* l___private_Init_Lean_Compiler_ExternAttr_1__syntaxToExternEntries___main___closed__6; lean_object* l_Lean_registerParametricAttribute___rarg___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Compiler_ExternAttr_2__syntaxToExternAttrData___closed__7; -lean_object* l_EState_bind___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Compiler_ExternAttr_2__syntaxToExternAttrData___closed__8; lean_object* l___private_Init_Lean_Compiler_ExternAttr_2__syntaxToExternAttrData___closed__1; extern lean_object* l_Lean_registerEnvExtensionUnsafe___at_Lean_registerTagAttribute___spec__4___closed__1; @@ -141,6 +140,7 @@ lean_object* l_Lean_getExternEntryForAux(lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); lean_object* l_Lean_getExternEntryForAux___main___boxed(lean_object*, lean_object*); lean_object* l_Lean_ParametricAttribute_getParam___at_Lean_getExternAttrData___spec__1___boxed(lean_object*, 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; uint8_t lean_nat_dec_le(lean_object*, lean_object*); lean_object* l_RBNode_find___main___at_Lean_getExternAttrData___spec__2___boxed(lean_object*, lean_object*); @@ -1314,7 +1314,7 @@ x_11 = l_Array_empty___closed__1; lean_inc(x_10); x_12 = lean_apply_1(x_10, x_11); x_13 = l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__1; -x_14 = lean_alloc_closure((void*)(l_EState_bind___rarg), 3, 2); +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_mkExternAttr___spec__7(x_14, x_7); @@ -1523,7 +1523,7 @@ x_64 = l_Array_empty___closed__1; lean_inc(x_63); x_65 = lean_apply_1(x_63, x_64); x_66 = l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__1; -x_67 = lean_alloc_closure((void*)(l_EState_bind___rarg), 3, 2); +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_mkExternAttr___spec__7(x_67, x_60); diff --git a/src/stage0/Init/Lean/Compiler/IR/CompilerM.c b/src/stage0/Init/Lean/Compiler/IR/CompilerM.c index 225ac24880..8839972cf8 100644 --- a/src/stage0/Init/Lean/Compiler/IR/CompilerM.c +++ b/src/stage0/Init/Lean/Compiler/IR/CompilerM.c @@ -148,7 +148,6 @@ lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Compiler_IR_Com 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_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_EState_bind___rarg(lean_object*, lean_object*, lean_object*); 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*); @@ -190,6 +189,7 @@ 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*); lean_object* l_Lean_IR_Log_format___boxed(lean_object*); @@ -2234,7 +2234,7 @@ x_11 = l_Array_empty___closed__1; lean_inc(x_10); x_12 = lean_apply_1(x_10, x_11); x_13 = l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__1; -x_14 = lean_alloc_closure((void*)(l_EState_bind___rarg), 3, 2); +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); @@ -2443,7 +2443,7 @@ x_64 = l_Array_empty___closed__1; lean_inc(x_63); x_65 = lean_apply_1(x_63, x_64); x_66 = l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__1; -x_67 = lean_alloc_closure((void*)(l_EState_bind___rarg), 3, 2); +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); diff --git a/src/stage0/Init/Lean/Compiler/IR/ElimDeadBranches.c b/src/stage0/Init/Lean/Compiler/IR/ElimDeadBranches.c index 98493a7983..f762471894 100644 --- a/src/stage0/Init/Lean/Compiler/IR/ElimDeadBranches.c +++ b/src/stage0/Init/Lean/Compiler/IR/ElimDeadBranches.c @@ -219,7 +219,6 @@ lean_object* l_Lean_IR_UnreachableBranches_functionSummariesExt___elambda__3(lea extern lean_object* l_Array_HasRepr___rarg___closed__1; lean_object* l_Lean_SMap_empty___at_Lean_IR_UnreachableBranches_mkFunctionSummariesExtension___spec__12___closed__2; lean_object* l_Lean_IR_UnreachableBranches_projValue___boxed(lean_object*, lean_object*); -lean_object* l_EState_bind___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_IR_UnreachableBranches_functionSummariesExt___closed__2; lean_object* l_panicWithPos___at_Lean_IR_UnreachableBranches_interpFnBody___main___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_IR_UnreachableBranches_Value_format___main(lean_object*); @@ -271,6 +270,7 @@ lean_object* l_List_foldr___main___at_Lean_IR_UnreachableBranches_Value_beq___ma 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*); lean_object* l_Nat_foldAux___main___at_Lean_IR_elimDeadBranches___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_EStateM_bind___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_IR_UnreachableBranches_Value_merge(lean_object*, lean_object*); lean_object* l_Lean_IR_UnreachableBranches_elimDeadAux___boxed(lean_object*, lean_object*); extern lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__1; @@ -3241,7 +3241,7 @@ x_11 = l_Array_empty___closed__1; lean_inc(x_10); x_12 = lean_apply_1(x_10, x_11); x_13 = l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__1; -x_14 = lean_alloc_closure((void*)(l_EState_bind___rarg), 3, 2); +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); @@ -3450,7 +3450,7 @@ x_64 = l_Array_empty___closed__1; lean_inc(x_63); x_65 = lean_apply_1(x_63, x_64); x_66 = l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__1; -x_67 = lean_alloc_closure((void*)(l_EState_bind___rarg), 3, 2); +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); diff --git a/src/stage0/Init/Lean/Compiler/ImplementedByAttr.c b/src/stage0/Init/Lean/Compiler/ImplementedByAttr.c index a6db82dd47..b77709711f 100644 --- a/src/stage0/Init/Lean/Compiler/ImplementedByAttr.c +++ b/src/stage0/Init/Lean/Compiler/ImplementedByAttr.c @@ -72,7 +72,6 @@ lean_object* l_Lean_registerParametricAttribute___at_Lean_Compiler_mkImplemented lean_object* l_Lean_Compiler_implementedByAttr; lean_object* l_Lean_Compiler_mkImplementedByAttr___lambda__2___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_registerParametricAttribute___rarg___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_EState_bind___rarg(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_registerEnvExtensionUnsafe___at_Lean_registerTagAttribute___spec__4___closed__1; lean_object* lean_array_swap(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Compiler_mkImplementedByAttr___closed__2; @@ -86,6 +85,7 @@ lean_object* l_Lean_ParametricAttribute_getParam___at_Lean_Compiler_getImplement lean_object* lean_array_get_size(lean_object*); lean_object* l_Lean_Compiler_mkImplementedByAttr___lambda__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); +lean_object* l_EStateM_bind___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Compiler_mkImplementedByAttr___lambda__1___closed__2; extern lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__1; extern lean_object* l_Lean_Name_toString___closed__1; @@ -654,7 +654,7 @@ x_11 = l_Array_empty___closed__1; lean_inc(x_10); x_12 = lean_apply_1(x_10, x_11); x_13 = l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__1; -x_14 = lean_alloc_closure((void*)(l_EState_bind___rarg), 3, 2); +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_Compiler_mkImplementedByAttr___spec__7(x_14, x_7); @@ -863,7 +863,7 @@ x_64 = l_Array_empty___closed__1; lean_inc(x_63); x_65 = lean_apply_1(x_63, x_64); x_66 = l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__1; -x_67 = lean_alloc_closure((void*)(l_EState_bind___rarg), 3, 2); +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_Compiler_mkImplementedByAttr___spec__7(x_67, x_60); diff --git a/src/stage0/Init/Lean/Compiler/InitAttr.c b/src/stage0/Init/Lean/Compiler/InitAttr.c index 1bc38b5bde..3ac339e80d 100644 --- a/src/stage0/Init/Lean/Compiler/InitAttr.c +++ b/src/stage0/Init/Lean/Compiler/InitAttr.c @@ -89,7 +89,6 @@ lean_object* l_Lean_ParametricAttribute_getParam___at_Lean_isIOUnitInitFn___spec lean_object* l_Lean_mkInitAttr___closed__5; lean_object* l_Lean_registerParametricAttribute___rarg___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_registerParametricAttribute___at_Lean_mkInitAttr___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_EState_bind___rarg(lean_object*, lean_object*, lean_object*); uint8_t l___private_Init_Lean_Compiler_InitAttr_2__isUnitType(lean_object*); extern lean_object* l_Lean_registerEnvExtensionUnsafe___at_Lean_registerTagAttribute___spec__4___closed__1; lean_object* l_Lean_mkInitAttr___lambda__1___closed__6; @@ -108,6 +107,7 @@ lean_object* l_Lean_setInitAttr(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Compiler_InitAttr_1__getIOTypeArg___closed__2; lean_object* lean_array_fget(lean_object*, lean_object*); lean_object* l___private_Init_Data_Array_QSort_1__partitionAux___main___at_Lean_mkInitAttr___spec__4___closed__1; +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; lean_object* l___private_Init_Lean_Compiler_InitAttr_2__isUnitType___closed__1; @@ -836,7 +836,7 @@ x_11 = l_Array_empty___closed__1; lean_inc(x_10); x_12 = lean_apply_1(x_10, x_11); x_13 = l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__1; -x_14 = lean_alloc_closure((void*)(l_EState_bind___rarg), 3, 2); +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_mkInitAttr___spec__7(x_14, x_7); @@ -1045,7 +1045,7 @@ x_64 = l_Array_empty___closed__1; lean_inc(x_63); x_65 = lean_apply_1(x_63, x_64); x_66 = l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__1; -x_67 = lean_alloc_closure((void*)(l_EState_bind___rarg), 3, 2); +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_mkInitAttr___spec__7(x_67, x_60); diff --git a/src/stage0/Init/Lean/Compiler/InlineAttrs.c b/src/stage0/Init/Lean/Compiler/InlineAttrs.c index 1965ccda2a..727ffe6467 100644 --- a/src/stage0/Init/Lean/Compiler/InlineAttrs.c +++ b/src/stage0/Init/Lean/Compiler/InlineAttrs.c @@ -100,7 +100,6 @@ lean_object* l_Lean_Compiler_mkInlineAttrs___closed__21; lean_object* l_Lean_Compiler_mkInlineAttrs___closed__22; lean_object* l_Lean_registerEnumAttributes___at_Lean_Compiler_mkInlineAttrs___spec__1___closed__1; lean_object* l_RBNode_find___main___at___private_Init_Lean_Compiler_InlineAttrs_1__hasInlineAttrAux___main___spec__2___boxed(lean_object*, lean_object*); -lean_object* l_EState_bind___rarg(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_registerEnvExtensionUnsafe___at_Lean_registerTagAttribute___spec__4___closed__1; lean_object* lean_array_swap(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Compiler_InlineAttrs_1__hasInlineAttrAux___boxed(lean_object*, lean_object*, lean_object*); @@ -122,6 +121,7 @@ lean_object* l_RBNode_fold___main___at_Lean_Compiler_mkInlineAttrs___spec__2___b lean_object* l_Lean_Compiler_mkInlineAttrs___lambda__1___boxed(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_registerTagAttribute___lambda__4___closed__5; lean_object* l_Lean_Compiler_mkInlineAttrs___closed__26; +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; lean_object* l_Array_qsortAux___main___at_Lean_Compiler_mkInlineAttrs___spec__3___boxed(lean_object*, lean_object*, lean_object*); @@ -809,7 +809,7 @@ x_11 = l_Array_empty___closed__1; lean_inc(x_10); x_12 = lean_apply_1(x_10, x_11); x_13 = l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__1; -x_14 = lean_alloc_closure((void*)(l_EState_bind___rarg), 3, 2); +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_Compiler_mkInlineAttrs___spec__7(x_14, x_7); @@ -1018,7 +1018,7 @@ x_64 = l_Array_empty___closed__1; lean_inc(x_63); x_65 = lean_apply_1(x_63, x_64); x_66 = l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__1; -x_67 = lean_alloc_closure((void*)(l_EState_bind___rarg), 3, 2); +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_Compiler_mkInlineAttrs___spec__7(x_67, x_60); diff --git a/src/stage0/Init/Lean/Compiler/Specialize.c b/src/stage0/Init/Lean/Compiler/Specialize.c index 53fc538671..08eb740aa5 100644 --- a/src/stage0/Init/Lean/Compiler/Specialize.c +++ b/src/stage0/Init/Lean/Compiler/Specialize.c @@ -174,7 +174,6 @@ lean_object* l_Lean_Compiler_mkSpecializeAttrs___closed__6; lean_object* l_Lean_Compiler_mkSpecializeAttrs___closed__5; lean_object* l_PersistentHashMap_findAtAux___main___at_Lean_Compiler_getCachedSpecialization___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Array_anyMAux___main___at_Lean_Compiler_mkSpecializeAttrs___spec__6(lean_object*, lean_object*, lean_object*); -lean_object* l_EState_bind___rarg(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_registerEnvExtensionUnsafe___at_Lean_registerTagAttribute___spec__4___closed__1; lean_object* lean_array_swap(lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_find___at_Lean_Compiler_getCachedSpecialization___spec__2___boxed(lean_object*, lean_object*); @@ -213,6 +212,7 @@ lean_object* l_List_map___main___at_Lean_Compiler_mkSpecializeAttrs___spec__8___ extern lean_object* l_Lean_registerTagAttribute___lambda__4___closed__5; lean_object* l_List_map___main___at_Lean_Compiler_mkSpecializeAttrs___spec__8(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_registerEnumAttributes___at_Lean_Compiler_mkSpecializeAttrs___spec__1___lambda__2___boxed(lean_object*); +lean_object* l_EStateM_bind___rarg(lean_object*, lean_object*, lean_object*); uint8_t l_Array_anyMAux___main___at_Lean_Compiler_mkSpecExtension___spec__6(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__1; extern lean_object* l_Lean_Name_toString___closed__1; @@ -885,7 +885,7 @@ x_11 = l_Array_empty___closed__1; lean_inc(x_10); x_12 = lean_apply_1(x_10, x_11); x_13 = l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__1; -x_14 = lean_alloc_closure((void*)(l_EState_bind___rarg), 3, 2); +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_Compiler_mkSpecializeAttrs___spec__7(x_14, x_7); @@ -1094,7 +1094,7 @@ x_64 = l_Array_empty___closed__1; lean_inc(x_63); x_65 = lean_apply_1(x_63, x_64); x_66 = l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__1; -x_67 = lean_alloc_closure((void*)(l_EState_bind___rarg), 3, 2); +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_Compiler_mkSpecializeAttrs___spec__7(x_67, x_60); @@ -4727,7 +4727,7 @@ x_11 = l_Array_empty___closed__1; lean_inc(x_10); x_12 = lean_apply_1(x_10, x_11); x_13 = l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__1; -x_14 = lean_alloc_closure((void*)(l_EState_bind___rarg), 3, 2); +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_Compiler_mkSpecExtension___spec__7(x_14, x_7); @@ -4936,7 +4936,7 @@ x_64 = l_Array_empty___closed__1; lean_inc(x_63); x_65 = lean_apply_1(x_63, x_64); x_66 = l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__1; -x_67 = lean_alloc_closure((void*)(l_EState_bind___rarg), 3, 2); +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_Compiler_mkSpecExtension___spec__7(x_67, x_60); diff --git a/src/stage0/Init/Lean/Declaration.c b/src/stage0/Init/Lean/Declaration.c index a14154351f..c656148bf6 100644 --- a/src/stage0/Init/Lean/Declaration.c +++ b/src/stage0/Init/Lean/Declaration.c @@ -15,12 +15,13 @@ extern "C" { #endif lean_object* l_Lean_ConstantInfo_name(lean_object*); lean_object* lean_task_get(lean_object*); +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_Lean_ConstantInfo_toConstantVal(lean_object*); -lean_object* l_Lean_ConstantInfo_value___boxed(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_ConstantInfo_value(lean_object*); lean_object* l_Lean_ConstantInfo_lparams(lean_object*); uint8_t l_Lean_ConstantInfo_hasValue(lean_object*); lean_object* l_Lean_Name_getPrefix(lean_object*); @@ -31,13 +32,17 @@ 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_RecursorVal_getMajorIdx(lean_object*); +lean_object* l_Lean_ConstantInfo_value_x3f___boxed(lean_object*); lean_object* l_Lean_ConstantInfo_hints(lean_object*); +lean_object* l_Lean_ConstantInfo_value_x21___closed__1; lean_object* l_Lean_ConstantInfo_toConstantVal___boxed(lean_object*); lean_object* lean_instantiate_type_lparams(lean_object*, lean_object*); lean_object* l_Lean_ConstantInfo_type(lean_object*); lean_object* l_Lean_ConstantInfo_type___boxed(lean_object*); 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_RecursorVal_getMajorIdx(lean_object* x_1) { _start: { @@ -161,7 +166,7 @@ lean_dec(x_1); return x_2; } } -lean_object* l_Lean_ConstantInfo_value(lean_object* x_1) { +lean_object* l_Lean_ConstantInfo_value_x3f(lean_object* x_1) { _start: { switch (lean_obj_tag(x_1)) { @@ -194,11 +199,11 @@ return x_9; } } } -lean_object* l_Lean_ConstantInfo_value___boxed(lean_object* x_1) { +lean_object* l_Lean_ConstantInfo_value_x3f___boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l_Lean_ConstantInfo_value(x_1); +x_2 = l_Lean_ConstantInfo_value_x3f(x_1); lean_dec(x_1); return x_2; } @@ -238,6 +243,64 @@ x_3 = lean_box(x_2); return x_3; } } +lean_object* _init_l_Lean_ConstantInfo_value_x21___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Init.Lean.Declaration"); +return x_1; +} +} +lean_object* _init_l_Lean_ConstantInfo_value_x21___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("declaration with value expected"); +return x_1; +} +} +lean_object* l_Lean_ConstantInfo_value_x21(lean_object* x_1) { +_start: +{ +switch (lean_obj_tag(x_1)) { +case 1: +{ +lean_object* x_2; lean_object* x_3; +x_2 = lean_ctor_get(x_1, 0); +x_3 = lean_ctor_get(x_2, 1); +lean_inc(x_3); +return x_3; +} +case 2: +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_4 = lean_ctor_get(x_1, 0); +x_5 = lean_ctor_get(x_4, 1); +x_6 = lean_task_get(x_5); +return x_6; +} +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_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); +return x_11; +} +} +} +} +lean_object* l_Lean_ConstantInfo_value_x21___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_ConstantInfo_value_x21(x_1); +lean_dec(x_1); +return x_2; +} +} lean_object* l_Lean_ConstantInfo_hints(lean_object* x_1) { _start: { @@ -291,6 +354,10 @@ _G_initialized = true; res = initialize_Init_Lean_Expr(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +l_Lean_ConstantInfo_value_x21___closed__1 = _init_l_Lean_ConstantInfo_value_x21___closed__1(); +lean_mark_persistent(l_Lean_ConstantInfo_value_x21___closed__1); +l_Lean_ConstantInfo_value_x21___closed__2 = _init_l_Lean_ConstantInfo_value_x21___closed__2(); +lean_mark_persistent(l_Lean_ConstantInfo_value_x21___closed__2); return lean_mk_io_result(lean_box(0)); } #ifdef __cplusplus diff --git a/src/stage0/Init/Lean/Elaborator/Alias.c b/src/stage0/Init/Lean/Elaborator/Alias.c index 67c576f2e0..6f83ba66b0 100644 --- a/src/stage0/Init/Lean/Elaborator/Alias.c +++ b/src/stage0/Init/Lean/Elaborator/Alias.c @@ -106,7 +106,6 @@ lean_object* l_Lean_registerEnvExtensionUnsafe___at_Lean_mkAliasExtension___spec 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*); -lean_object* l_EState_bind___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_insert___at_Lean_addAliasEntry___spec__8(lean_object*, lean_object*, lean_object*); lean_object* l_AssocList_find___main___at_Lean_addAliasEntry___spec__6___boxed(lean_object*, lean_object*); lean_object* l_Lean_PersistentEnvExtension_addEntry___rarg(lean_object*, lean_object*, lean_object*); @@ -122,6 +121,7 @@ lean_object* lean_array_get_size(lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); lean_object* l_mkHashMapImp___rarg(lean_object*); lean_object* l_Lean_aliasExtension___elambda__1___boxed(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*); extern lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__1; @@ -1851,7 +1851,7 @@ x_11 = l_Array_empty___closed__1; lean_inc(x_10); x_12 = lean_apply_1(x_10, x_11); x_13 = l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__1; -x_14 = lean_alloc_closure((void*)(l_EState_bind___rarg), 3, 2); +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); @@ -2060,7 +2060,7 @@ x_64 = l_Array_empty___closed__1; lean_inc(x_63); x_65 = lean_apply_1(x_63, x_64); x_66 = l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__1; -x_67 = lean_alloc_closure((void*)(l_EState_bind___rarg), 3, 2); +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); diff --git a/src/stage0/Init/Lean/Elaborator/Basic.c b/src/stage0/Init/Lean/Elaborator/Basic.c index 886f4e7805..a42002d138 100644 --- a/src/stage0/Init/Lean/Elaborator/Basic.c +++ b/src/stage0/Init/Lean/Elaborator/Basic.c @@ -316,7 +316,6 @@ lean_object* l_Lean_mkCommandElabAttribute(lean_object*); lean_object* l_Lean_syntaxNodeKindOfAttrParam___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_registerEnvExtensionUnsafe___at_Lean_mkTermElabAttribute___spec__4(lean_object*, lean_object*); lean_object* l_Lean_Elab_getUniverses___boxed(lean_object*); -lean_object* l_EState_bind___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_resolveNamespaceUsingOpenDecls(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_processCommandsAux___main___boxed(lean_object*); uint8_t l_HashMapImp_contains___at_Lean_addBuiltinCommandElab___spec__2(lean_object*, lean_object*); @@ -385,6 +384,7 @@ lean_object* l_HashMapImp_moveEntries___main___at_Lean_addBuiltinCommandElab___s lean_object* l_Array_iterateMAux___main___at_Lean_Elab_processHeaderAux___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_mkTermElabAttribute___spec__2(lean_object*, lean_object*); lean_object* l_Lean_builtinCommandElabTable; +lean_object* l_EStateM_bind___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_mkAnonymousInstName___boxed(lean_object*, lean_object*); extern lean_object* l___private_Init_Lean_Path_1__pathSep___closed__1; lean_object* l_Lean_Elab_getPosition(lean_object*, lean_object*, lean_object*); @@ -5059,7 +5059,7 @@ x_11 = l_Array_empty___closed__1; lean_inc(x_10); x_12 = lean_apply_1(x_10, x_11); x_13 = l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__1; -x_14 = lean_alloc_closure((void*)(l_EState_bind___rarg), 3, 2); +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_mkTermElabAttribute___spec__4(x_14, x_7); @@ -5268,7 +5268,7 @@ x_64 = l_Array_empty___closed__1; lean_inc(x_63); x_65 = lean_apply_1(x_63, x_64); x_66 = l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__1; -x_67 = lean_alloc_closure((void*)(l_EState_bind___rarg), 3, 2); +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_mkTermElabAttribute___spec__4(x_67, x_60); @@ -6002,7 +6002,7 @@ x_11 = l_Array_empty___closed__1; lean_inc(x_10); x_12 = lean_apply_1(x_10, x_11); x_13 = l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__1; -x_14 = lean_alloc_closure((void*)(l_EState_bind___rarg), 3, 2); +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_mkCommandElabAttribute___spec__4(x_14, x_7); @@ -6211,7 +6211,7 @@ x_64 = l_Array_empty___closed__1; lean_inc(x_63); x_65 = lean_apply_1(x_63, x_64); x_66 = l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__1; -x_67 = lean_alloc_closure((void*)(l_EState_bind___rarg), 3, 2); +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_mkCommandElabAttribute___spec__4(x_67, x_60); diff --git a/src/stage0/Init/Lean/Elaborator/ElabStrategyAttrs.c b/src/stage0/Init/Lean/Elaborator/ElabStrategyAttrs.c index 60c730c847..2a70d3541b 100644 --- a/src/stage0/Init/Lean/Elaborator/ElabStrategyAttrs.c +++ b/src/stage0/Init/Lean/Elaborator/ElabStrategyAttrs.c @@ -84,7 +84,6 @@ lean_object* l_RBNode_find___main___at_Lean_getElaboratorStrategy___spec__2(lean lean_object* l_Lean_registerEnumAttributes___at_Lean_mkElaboratorStrategyAttrs___spec__1___closed__2; lean_object* l_Lean_registerEnumAttributes___at_Lean_mkElaboratorStrategyAttrs___spec__1___lambda__2___boxed(lean_object*); lean_object* l_Lean_registerEnumAttributes___at_Lean_mkElaboratorStrategyAttrs___spec__1___lambda__1(lean_object*, lean_object*); -lean_object* l_EState_bind___rarg(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_registerEnvExtensionUnsafe___at_Lean_registerTagAttribute___spec__4___closed__1; lean_object* lean_array_swap(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkElaboratorStrategyAttrs___closed__5; @@ -102,6 +101,7 @@ lean_object* lean_array_fget(lean_object*, lean_object*); lean_object* l_Lean_mkElaboratorStrategyAttrs___closed__18; lean_object* l_Lean_mkElaboratorStrategyAttrs___closed__11; extern lean_object* l_Lean_registerTagAttribute___lambda__4___closed__5; +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 lean_nat_dec_le(lean_object*, lean_object*); @@ -677,7 +677,7 @@ x_11 = l_Array_empty___closed__1; lean_inc(x_10); x_12 = lean_apply_1(x_10, x_11); x_13 = l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__1; -x_14 = lean_alloc_closure((void*)(l_EState_bind___rarg), 3, 2); +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_mkElaboratorStrategyAttrs___spec__7(x_14, x_7); @@ -886,7 +886,7 @@ x_64 = l_Array_empty___closed__1; lean_inc(x_63); x_65 = lean_apply_1(x_63, x_64); x_66 = l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__1; -x_67 = lean_alloc_closure((void*)(l_EState_bind___rarg), 3, 2); +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_mkElaboratorStrategyAttrs___spec__7(x_67, x_60); diff --git a/src/stage0/Init/Lean/Environment.c b/src/stage0/Init/Lean/Environment.c index bcca8195bc..735b614623 100644 --- a/src/stage0/Init/Lean/Environment.c +++ b/src/stage0/Init/Lean/Environment.c @@ -328,7 +328,6 @@ lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Environment_10_ lean_object* l_Lean_Environment_contains___boxed(lean_object*, lean_object*); extern lean_object* l_Array_HasRepr___rarg___closed__1; lean_object* lean_read_module_data(lean_object*, lean_object*); -lean_object* l_EState_bind___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_IO_println___at_HasRepr_HasEval___spec__1(lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_Lean_importModules___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__4___boxed(lean_object*); @@ -372,7 +371,6 @@ lean_object* lean_array_get_size(lean_object*); lean_object* l___private_Init_Lean_Environment_11__finalizePersistentExtensions(lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_Lean_importModules___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_EnvExtension_Inhabited(lean_object*); -lean_object* l_EState_pure___rarg(lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Environment_10__setImportedEntries___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_SimplePersistentEnvExtension_setState___rarg___lambda__1(lean_object*, lean_object*); lean_object* l___private_Init_Lean_Environment_9__getEntriesFor___main(lean_object*, lean_object*, lean_object*); @@ -393,6 +391,7 @@ lean_object* l_Lean_SimplePersistentEnvExtension_Inhabited(lean_object*, lean_ob uint32_t lean_environment_trust_level(lean_object*); lean_object* l_Lean_modListExtension___closed__2; lean_object* l_AssocList_find___main___at_Lean_Environment_find___spec__3___boxed(lean_object*, lean_object*); +lean_object* l_EStateM_bind___rarg(lean_object*, lean_object*, lean_object*); lean_object* lean_get_extension(lean_object*, lean_object*); lean_object* l_Lean_mkEmptyEnvironment___boxed(lean_object*, lean_object*); lean_object* l_Lean_registerPersistentEnvExtension___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -414,6 +413,7 @@ uint8_t l_USize_decLe(size_t, size_t); lean_object* lean_nat_div(lean_object*, lean_object*); lean_object* l_PersistentHashMap_insertAux___main___at_Lean_Environment_addAux___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkTagDeclarationExtension___closed__2; +lean_object* l_EStateM_pure___rarg(lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_Lean_Environment_displayStats___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PersistentEnvExtension_modifyState(lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_Lean_mkModuleData___spec__4(lean_object*, lean_object*, lean_object*, lean_object*); @@ -4340,7 +4340,7 @@ x_12 = l_Array_empty___closed__1; lean_inc(x_11); x_13 = lean_apply_1(x_11, x_12); x_14 = l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__1; -x_15 = lean_alloc_closure((void*)(l_EState_bind___rarg), 3, 2); +x_15 = lean_alloc_closure((void*)(l_EStateM_bind___rarg), 3, 2); lean_closure_set(x_15, 0, x_13); lean_closure_set(x_15, 1, x_14); x_16 = l_Lean_registerEnvExtensionUnsafe___at_Lean_registerPersistentEnvExtensionUnsafe___spec__2___rarg(x_1, x_15, x_8); @@ -4550,7 +4550,7 @@ x_65 = l_Array_empty___closed__1; lean_inc(x_64); x_66 = lean_apply_1(x_64, x_65); x_67 = l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__1; -x_68 = lean_alloc_closure((void*)(l_EState_bind___rarg), 3, 2); +x_68 = lean_alloc_closure((void*)(l_EStateM_bind___rarg), 3, 2); lean_closure_set(x_68, 0, x_66); lean_closure_set(x_68, 1, x_67); x_69 = l_Lean_registerEnvExtensionUnsafe___at_Lean_registerPersistentEnvExtensionUnsafe___spec__2___rarg(x_1, x_68, x_61); @@ -5268,7 +5268,7 @@ x_12 = l_Array_empty___closed__1; lean_inc(x_11); x_13 = lean_apply_1(x_11, x_12); x_14 = l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__1; -x_15 = lean_alloc_closure((void*)(l_EState_bind___rarg), 3, 2); +x_15 = lean_alloc_closure((void*)(l_EStateM_bind___rarg), 3, 2); lean_closure_set(x_15, 0, x_13); lean_closure_set(x_15, 1, x_14); x_16 = l_Lean_registerEnvExtensionUnsafe___at_Lean_registerSimplePersistentEnvExtension___spec__3___rarg(x_1, x_15, x_8); @@ -5478,7 +5478,7 @@ x_65 = l_Array_empty___closed__1; lean_inc(x_64); x_66 = lean_apply_1(x_64, x_65); x_67 = l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__1; -x_68 = lean_alloc_closure((void*)(l_EState_bind___rarg), 3, 2); +x_68 = lean_alloc_closure((void*)(l_EStateM_bind___rarg), 3, 2); lean_closure_set(x_68, 0, x_66); lean_closure_set(x_68, 1, x_67); x_69 = l_Lean_registerEnvExtensionUnsafe___at_Lean_registerSimplePersistentEnvExtension___spec__3___rarg(x_1, x_68, x_61); @@ -6562,7 +6562,7 @@ x_11 = l_Array_empty___closed__1; lean_inc(x_10); x_12 = lean_apply_1(x_10, x_11); x_13 = l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__1; -x_14 = lean_alloc_closure((void*)(l_EState_bind___rarg), 3, 2); +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_mkTagDeclarationExtension___spec__6(x_14, x_7); @@ -6771,7 +6771,7 @@ x_64 = l_Array_empty___closed__1; lean_inc(x_63); x_65 = lean_apply_1(x_63, x_64); x_66 = l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__1; -x_67 = lean_alloc_closure((void*)(l_EState_bind___rarg), 3, 2); +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_mkTagDeclarationExtension___spec__6(x_67, x_60); @@ -7534,7 +7534,7 @@ lean_object* lean_register_extension(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = lean_alloc_closure((void*)(l_EState_pure___rarg), 2, 1); +x_2 = lean_alloc_closure((void*)(l_EStateM_pure___rarg), 2, 1); lean_closure_set(x_2, 0, x_1); x_3 = lean_box(0); x_4 = l_Lean_registerEnvExtensionUnsafe___at_Lean_registerCPPExtension___spec__1(x_2, x_3); @@ -7897,7 +7897,7 @@ _start: { lean_object* x_1; lean_object* x_2; x_1 = lean_box(0); -x_2 = lean_alloc_closure((void*)(l_EState_pure___rarg), 2, 1); +x_2 = lean_alloc_closure((void*)(l_EStateM_pure___rarg), 2, 1); lean_closure_set(x_2, 0, x_1); return x_2; } diff --git a/src/stage0/Init/Lean/Message.c b/src/stage0/Init/Lean/Message.c index 7e1f63e772..ff3eec47ed 100644 --- a/src/stage0/Init/Lean/Message.c +++ b/src/stage0/Init/Lean/Message.c @@ -16,6 +16,7 @@ extern "C" { lean_object* l_Lean_mkErrorStringWithPos(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageData_coeOfLevel(lean_object*); lean_object* l_Lean_MessageLog_empty; +extern lean_object* l_EStateM_Result_toString___rarg___closed__2; lean_object* l_Array_iterateMAux___main___at_Lean_MessageData_formatAux___main___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_Lean_MessageData_formatAux___main___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Message_toString___closed__2; @@ -26,7 +27,6 @@ lean_object* l_Lean_Message_Inhabited___closed__2; lean_object* l_Lean_fmt___at_Lean_Message_toString___spec__1(lean_object*); lean_object* l_Lean_Syntax_formatStx___main___rarg(lean_object*); lean_object* l_Lean_MessageLog_append(lean_object*, lean_object*); -extern lean_object* l_EState_Result_toString___rarg___closed__2; lean_object* l_List_reverse___rarg(lean_object*); lean_object* l_Lean_Name_toStringWithSep___main(lean_object*, lean_object*); lean_object* l_Lean_MessageLog_toList(lean_object*); @@ -469,7 +469,7 @@ lean_object* _init_l_Lean_Message_toString___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_EState_Result_toString___rarg___closed__2; +x_1 = l_EStateM_Result_toString___rarg___closed__2; x_2 = l_String_splitAux___main___closed__1; x_3 = lean_string_append(x_1, x_2); return x_3; @@ -562,7 +562,7 @@ if (x_9 == 0) lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; x_31 = l_Lean_Message_toString___closed__1; x_32 = lean_string_append(x_7, x_31); -x_33 = l_EState_Result_toString___rarg___closed__2; +x_33 = l_EStateM_Result_toString___rarg___closed__2; x_34 = lean_string_append(x_33, x_32); lean_dec(x_32); x_35 = lean_string_append(x_34, x_13); diff --git a/src/stage0/Init/Lean/MetavarContext.c b/src/stage0/Init/Lean/MetavarContext.c index af7aabc029..4867965072 100644 --- a/src/stage0/Init/Lean/MetavarContext.c +++ b/src/stage0/Init/Lean/MetavarContext.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Init.Lean.MetavarContext -// Imports: Init.Lean.AbstractMetavarContext +// Imports: Init.Control.Reader Init.Control.Conditional Init.Data.Option.Default Init.Data.List.Default Init.Data.Nat.Default Init.Lean.LocalContext Init.Lean.MonadCache Init.Lean.NameGenerator #include "runtime/lean.h" #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -13,384 +13,587 @@ #ifdef __cplusplus extern "C" { #endif -lean_object* l_Lean_AbstractMetavarContext_MkBinding_mkBinding___at_Lean_MetavarContext_mkLambda___spec__67(uint8_t, 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__9(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__33(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentArray_foldlFromM___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__58___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__19___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Array_umapMAux___main___at_Lean_MetavarContext_InstantiateExprMVars_main___main___spec__3(lean_object*, lean_object*, lean_object*); +uint8_t l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_11__dep___main___spec__1(lean_object*, lean_object*); uint8_t lean_metavar_ctx_is_level_assigned(lean_object*, lean_object*); lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_Lean_MetavarContext_assignLevel___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_Lean_MetavarContext_assignDelayed___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_umapMAux___main___at_Lean_MetavarContext_instantiateMVars___spec__7(lean_object*, lean_object*, lean_object*); +lean_object* l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__13___boxed(lean_object*, lean_object*, lean_object*); uint8_t lean_expr_has_fvar(lean_object*); -lean_object* l_Lean_MetavarContext_metavarContextIsAbstractMetavarContext___closed__6; -lean_object* l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__34___boxed(lean_object*, lean_object*, 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*); -lean_object* l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__17___boxed(lean_object*, lean_object*, lean_object*); -uint8_t l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__54(lean_object*, lean_object*, lean_object*); +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*); +lean_object* l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__48___boxed(lean_object*, lean_object*, lean_object*); size_t l_USize_mul(size_t, size_t); -lean_object* l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__31(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_betaRev(lean_object*, lean_object*); -lean_object* l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__16___boxed(lean_object*, lean_object*, lean_object*); +uint8_t l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__43(lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_findAtAux___main___at_Lean_MetavarContext_findDecl___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_expr_mk_forall(lean_object*, uint8_t, lean_object*, lean_object*); -lean_object* l_List_foldr___main___at_Lean_MetavarContext_hasAssignedMVar___spec__2___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__60___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__39___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_MetavarDecl_Inhabited___closed__1; +lean_object* l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__18___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_13__abstractRange___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_find___at_Lean_MetavarContext_findDecl___spec__1___boxed(lean_object*, lean_object*); -lean_object* l_PersistentArray_foldlFromM___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__58___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__65(lean_object*); +lean_object* l_Lean_MetavarContext_MkBindingException_toStr___closed__7; +extern lean_object* l_Lean_LocalDecl_Inhabited; +lean_object* l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__24___boxed(lean_object*, lean_object*, lean_object*); uint8_t l_PersistentHashMap_contains___at_Lean_MetavarContext_isExprAssigned___spec__1(lean_object*, lean_object*); -uint8_t l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__47(lean_object*, lean_object*, lean_object*); extern lean_object* l_Array_empty___closed__1; +lean_object* l_PersistentHashMap_findAux___main___at_Lean_MetavarContext_isLevelAssignable___spec__2(lean_object*, size_t, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); -lean_object* l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__58___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_MkBinding_mkBinding___at_Lean_MetavarContext_mkLambda___spec__62(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_PersistentArray_anyM___at_Lean_MetavarContext_mkLambda___spec__50___boxed(lean_object*, lean_object*); -uint8_t l_Lean_AbstractMetavarContext_hasAssignedLevelMVar___main___at_Lean_MetavarContext_hasAssignedLevelMVar___spec__1(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_4__visit(lean_object*, lean_object*, lean_object*); +lean_object* l_HashMapImp_expand___at___private_Init_Lean_MetavarContext_10__visit___spec__4(lean_object*, lean_object*); +uint8_t l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__31(lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentHashMap_findAux___main___at_Lean_MetavarContext_isLevelAssignable___spec__2___boxed(lean_object*, lean_object*, lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); -lean_object* l_PersistentArray_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__21___boxed(lean_object*, lean_object*); -lean_object* l_Nat_foldRevMAux___main___at_Lean_MetavarContext_mkLambda___spec__64___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_MetavarContext_metavarContextIsAbstractMetavarContext___closed__11; -uint8_t l_PersistentArray_anyM___at_Lean_MetavarContext_mkLambda___spec__8(lean_object*, lean_object*); -uint8_t l_PersistentArray_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__9(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_21__getInScope(lean_object*, lean_object*); +uint8_t l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__5(lean_object*, lean_object*); +lean_object* l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__56___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_MetavarContext_MkBinding_mkBinding___at___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__37___boxed(lean_object*, lean_object*, lean_object*); +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*); lean_object* l_PersistentHashMap_find___at_Lean_MetavarContext_getExprAssignment___spec__1___boxed(lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_MkBinding_getLocalDeclWithSmallestIdx(lean_object*, lean_object*); +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__66(lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_17__collectDeps(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Expr_4__withAppRevAux___main___at___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main___spec__4(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_MetavarContext_isLevelAssignable___boxed(lean_object*, lean_object*); lean_object* l_PersistentHashMap_findAux___main___at_Lean_MetavarContext_findDecl___spec__2___boxed(lean_object*, lean_object*, lean_object*); -uint8_t l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__23(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_MetavarContext_metavarContextIsAbstractMetavarContext___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); +lean_object* l_Array_umapMAux___main___at_Lean_MetavarContext_MkBindingException_toStr___spec__2(lean_object*, lean_object*, lean_object*); +lean_object* l_AssocList_find___main___at___private_Init_Lean_MetavarContext_4__visit___spec__2___boxed(lean_object*, lean_object*); +lean_object* l_monadInhabited___rarg(lean_object*, lean_object*); +lean_object* l_AssocList_contains___main___at___private_Init_Lean_MetavarContext_4__visit___spec__4___boxed(lean_object*, lean_object*); +lean_object* l_PersistentArray_foldlFromMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__59(lean_object*); size_t l_USize_shift__right(size_t, size_t); uint8_t lean_level_has_mvar(lean_object*); -lean_object* l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___at_Lean_MetavarContext_mkLambda___spec__3___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_containsAux___main___at_Lean_MetavarContext_isDelayedAssigned___spec__2___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_LocalContext_foldlFromM___at_Lean_MetavarContext_mkLambda___spec__61(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_Lean_MetavarContext_assignExpr___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__11___boxed(lean_object*, lean_object*); lean_object* lean_expr_mk_let(lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__49(lean_object*, lean_object*, lean_object*); +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__66___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_panicWithPos___at_Lean_MetavarContext_MkBindingException_toStr___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Expr_4__withAppRevAux___main___at_Lean_MetavarContext_InstantiateExprMVars_main___main___spec__4(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_LocalContext_foldlFromM___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__57___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_MetavarContext_hasAssignedLevelMVar(lean_object*, lean_object*); -lean_object* l_PersistentArray_anyM___at_Lean_MetavarContext_mkLambda___spec__26___boxed(lean_object*, lean_object*); +lean_object* l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__43___boxed(lean_object*, lean_object*, lean_object*); +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_PersistentArray_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__57___boxed(lean_object*, lean_object*); -lean_object* l_PersistentArray_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__51___boxed(lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__55___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__30(lean_object*, lean_object*, lean_object*); -extern lean_object* l_panicWithPos___at_Lean_AbstractMetavarContext_InstantiateExprMVars_instantiateDelayedAux___main___spec__1___rarg___closed__2; +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*); +uint8_t l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__22(lean_object*, lean_object*); +lean_object* l_Nat_foldRevMAux___main___at_Lean_MetavarContext_mkBinding___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_metavar_ctx_erase_delayed(lean_object*, lean_object*); -lean_object* l_PersistentArray_anyM___at_Lean_MetavarContext_mkLambda___spec__32___boxed(lean_object*, lean_object*); -lean_object* l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__12___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_3__instantiateLevelMVars(lean_object*, lean_object*); +lean_object* lean_expr_mk_app(lean_object*, lean_object*); +lean_object* l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__7___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_MetavarContext_DependsOn_main(lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_11__dep___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__39(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_metavar_ctx_get_delayed_assignment(lean_object*, lean_object*); -lean_object* l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__11___boxed(lean_object*, lean_object*, lean_object*); -uint8_t l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__36(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_25__mkAuxMVar(lean_object*, lean_object*, uint8_t, lean_object*); size_t l_USize_sub(size_t, size_t); -lean_object* l_PersistentArray_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__9___boxed(lean_object*, lean_object*); -lean_object* l_Lean_LocalContext_foldlFromM___at_Lean_MetavarContext_mkLambda___spec__61___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_PersistentHashMap_contains___at_Lean_MetavarContext_isDelayedAssigned___spec__1(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Expr_4__withAppRevAux___main___at_Lean_MetavarContext_mkLambda___spec__66___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_MetavarContext_instantiateLevelMVars(lean_object*, lean_object*); +lean_object* l_Lean_MetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___closed__4; +lean_object* l___private_Init_Lean_MetavarContext_22__withFreshCache___rarg(lean_object*, lean_object*); +lean_object* l_Lean_MetavarContext_MkBindingException_toStr___closed__5; +lean_object* lean_array_uget(lean_object*, size_t); +lean_object* l_Lean_Name_toStringWithSep___main(lean_object*, lean_object*); +uint8_t l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__4(lean_object*, lean_object*); +lean_object* l_PersistentArray_foldlFromM___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__58(lean_object*); +lean_object* l_Lean_MetavarContext_MkBindingException_toStr___closed__1; +lean_object* l_Lean_MetavarContext_hasAssignableLevelMVar___boxed(lean_object*, lean_object*); +lean_object* l_mkHashMap___at_Lean_MetavarContext_exprDependsOn___spec__2(lean_object*); +lean_object* l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__40___boxed(lean_object*, lean_object*); +lean_object* lean_array_uset(lean_object*, size_t, lean_object*); +uint8_t l_Lean_LocalContext_contains(lean_object*, lean_object*); +uint8_t l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__20(lean_object*, lean_object*, lean_object*); +lean_object* l_List_mapM___main___at_Lean_MetavarContext_InstantiateExprMVars_main___main___spec__2(lean_object*, lean_object*); +lean_object* l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__42___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__65___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_insertAux___main___at_Lean_MetavarContext_mkDecl___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l_PersistentArray_anyM___at_Lean_MetavarContext_mkLambda___spec__50(lean_object*, lean_object*); -lean_object* l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__30___boxed(lean_object*, lean_object*, lean_object*); +uint8_t l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__11(lean_object*, lean_object*); +lean_object* l_Lean_MetavarContext_isLevelAssignable___closed__1; +uint8_t l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__36(lean_object*, lean_object*, lean_object*); +lean_object* l_Nat_foldRevMAux___main___at___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); +uint8_t l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__53(lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_hasAssignedLevelMVar___boxed(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_7__instantiateDelayedAux___main___at_Lean_MetavarContext_InstantiateExprMVars_main___main___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_getAppNumArgsAux___main(lean_object*, lean_object*); -lean_object* l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__31___boxed(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__3(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Nat_foldRevAux___main___at_Lean_LocalContext_mkBinding___spec__1___closed__1; -lean_object* l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__55(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_1__instantiateLevelMVarsAux(lean_object*, lean_object*); +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__66___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_11__dep___main(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_metavar_ctx_get_expr_assignment(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_15__mkForall(lean_object*, lean_object*, lean_object*, 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*); lean_object* l_PersistentHashMap_find___at_Lean_MetavarContext_findDecl___spec__1(lean_object*, lean_object*); lean_object* l_PersistentHashMap_find___at_Lean_MetavarContext_getDelayedAssignment___spec__1(lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_InstantiateExprMVars_instantiateDelayedAux___main___at_Lean_MetavarContext_instantiateMVars___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_MkBinding_reduceLocalContext(lean_object*, lean_object*); lean_object* l_PersistentHashMap_getCollisionNodeSize___rarg(lean_object*); -lean_object* l_Nat_foldRevMAux___main___at_Lean_MetavarContext_mkLambda___spec__68___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l_PersistentArray_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__15(lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_MkBinding_elimMVarDeps___at_Lean_MetavarContext_mkLambda___spec__2(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_MetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter; +lean_object* l___private_Init_Lean_MetavarContext_11__dep___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__21___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__64___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_LocalContext_foldlFromM___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__57(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__36___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkAppRev(lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_MkBinding_elimMVarDeps___at_Lean_MetavarContext_mkLambda___spec__2___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_MetavarContext_MkBinding_mkBinding(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__61(lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* l_Array_iterateMAux___main___at_Lean_MetavarContext_mkDecl___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_PersistentArray_anyM___at_Lean_MetavarContext_mkLambda___spec__44___boxed(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_11__dep___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__21(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__26___boxed(lean_object*, lean_object*, lean_object*); +extern lean_object* l_Id_Monad; +lean_object* l_Nat_foldRevMAux___main___at_Lean_MetavarContext_MkBinding_mkBinding___spec__2(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_List_foldr___main___at_Lean_MetavarContext_hasAssignedMVar___main___spec__1(lean_object*, uint8_t, lean_object*); lean_object* lean_expr_update_forall(lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l_PersistentHashMap_insertAux___main___at_Lean_MetavarContext_assignDelayed___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_13__abstractRange(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Nat_foldRevMAux___main___at___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_level_update_succ(lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___at_Lean_MetavarContext_mkLambda___spec__3(lean_object*, lean_object*, lean_object*); -uint8_t l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__10(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_InstantiateExprMVars_instantiateDelayedAux___main___at_Lean_MetavarContext_instantiateMVars___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_MetavarContext_metavarContextIsAbstractMetavarContext___closed__8; -uint8_t l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__60(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_MetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___lambda__1(lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_getDecl___boxed(lean_object*, lean_object*); -uint8_t l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__17(lean_object*, lean_object*, lean_object*); +lean_object* l_Array_toList___rarg(lean_object*); +lean_object* l_Array_umapMAux___main___at___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_findAtAux___main___at_Lean_MetavarContext_getLevelAssignment___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__23___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_23__mkForallAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_MetavarContext_MkBinding_mkBinding___at_Lean_MetavarContext_mkBinding___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_panicWithPos___at_Lean_MetavarContext_MkBinding_mkBinding___spec__1___closed__1; +lean_object* l_panicWithPos___at_Lean_MetavarContext_MkBindingException_toStr___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Nat_repr(lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_24__mkMVarApp___boxed(lean_object*, lean_object*, lean_object*); +extern lean_object* l_List_repr___rarg___closed__2; lean_object* l_PersistentHashMap_mkCollisionNode___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_instantiateMVars___at_Lean_MetavarContext_instantiateMVars___spec__1(lean_object*, lean_object*); -uint8_t l_Lean_MetavarContext_metavarContextIsAbstractMetavarContext___lambda__1(lean_object*, lean_object*); +lean_object* l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__41___boxed(lean_object*, lean_object*); +lean_object* l_Lean_MetavarContext_MkBindingException_toStr___closed__2; extern lean_object* l_Lean_Expr_updateForall_x21___closed__1; uint8_t l_Lean_BinderInfo_isAuxDecl(uint8_t); -lean_object* l_Lean_MetavarContext_metavarContextIsAbstractMetavarContext___closed__10; -lean_object* l_PersistentArray_anyM___at_Lean_MetavarContext_mkLambda___spec__56___boxed(lean_object*, lean_object*); extern lean_object* l_panicWithPos___rarg___closed__3; -lean_object* l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__37___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_findAux___main___at_Lean_MetavarContext_getDelayedAssignment___spec__2___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_panicWithPos___at_Lean_MetavarContext_instantiateMVars___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l_PersistentArray_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__45(lean_object*, lean_object*); -uint8_t l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__40(lean_object*, lean_object*, lean_object*); -lean_object* l_PersistentArray_anyM___at_Lean_MetavarContext_mkLambda___spec__20___boxed(lean_object*, lean_object*); +uint8_t l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__55(lean_object*, lean_object*, lean_object*); +lean_object* l_Nat_foldRevMAux___main___at_Lean_MetavarContext_MkBinding_mkBinding___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l_PersistentHashMap_contains___at_Lean_MetavarContext_isLevelAssigned___spec__1___boxed(lean_object*, lean_object*); -lean_object* l_Lean_MetavarContext_metavarContextIsAbstractMetavarContext; lean_object* l_PersistentHashMap_findAtAux___main___at_Lean_MetavarContext_getLevelAssignment___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_name_hash_usize(lean_object*); +uint8_t l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__47(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_7__instantiateDelayedAux___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__16___boxed(lean_object*, lean_object*); +lean_object* l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__5___boxed(lean_object*, lean_object*); lean_object* l_PersistentHashMap_findAux___main___at_Lean_MetavarContext_getLevelAssignment___spec__2___boxed(lean_object*, lean_object*, lean_object*); +uint8_t lean_expr_eqv(lean_object*, lean_object*); +lean_object* l_Lean_MetavarContext_isLevelAssignable(lean_object*, lean_object*); +uint8_t l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__29(lean_object*, lean_object*); extern lean_object* l_Lean_Expr_getRevArg_x21___main___closed__1; -lean_object* l_PersistentArray_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__15___boxed(lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__19___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__8___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_LocalDecl_userName(lean_object*); +uint8_t l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__38(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Expr_updateProj_x21___closed__1; -lean_object* l_Array_umapMAux___main___at_Lean_MetavarContext_mkLambda___spec__65(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_MetavarContext_MkBinding_mkBinding___at___private_Init_Lean_MetavarContext_23__mkForallAux___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentArray_foldlFromMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__59___rarg(lean_object*, lean_object*, size_t, size_t, lean_object*); +uint8_t l_Lean_MetavarContext_isExprAssignable(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_11__dep___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__33___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_MetavarContext_MkBindingException_HasToString; +lean_object* l_Lean_MetavarContext_MkBinding_elimMVarDeps___boxed(lean_object*, lean_object*, lean_object*); +uint8_t l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__2(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_LocalContext_findFVar(lean_object*, lean_object*); -lean_object* l_Lean_MetavarContext_metavarContextIsAbstractMetavarContext___closed__7; -uint8_t l_PersistentArray_anyM___at_Lean_MetavarContext_mkLambda___spec__20(lean_object*, lean_object*); +uint8_t l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__18(lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_LocalDecl_isLet(lean_object*); +uint8_t l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__12(lean_object*, lean_object*, lean_object*); lean_object* lean_string_append(lean_object*, lean_object*); extern lean_object* l_Lean_Level_mvarId_x21___closed__1; -lean_object* l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__41___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_MetavarContext_metavarContextIsAbstractMetavarContext___closed__9; +lean_object* l_mkHashMap___at_Lean_MetavarContext_instantiateMVars___spec__1(lean_object*); +uint8_t l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__40(lean_object*, lean_object*); +uint8_t l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__17(lean_object*, lean_object*); +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__62___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_24__mkMVarApp___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_List_reprAux___main___rarg___closed__1; +lean_object* l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_11__dep___main___spec__4___boxed(lean_object*, lean_object*, lean_object*); size_t l_USize_add(size_t, size_t); -lean_object* l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__28___boxed(lean_object*, lean_object*, lean_object*); +uint8_t l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__13(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_erase___at_Lean_MetavarContext_eraseDelayed___spec__1(lean_object*, lean_object*); lean_object* l_PersistentHashMap_findAtAux___main___at_Lean_MetavarContext_findDecl___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_21__getInScope___boxed(lean_object*, lean_object*); lean_object* l_PersistentHashMap_find___at_Lean_MetavarContext_getLevelAssignment___spec__1(lean_object*, lean_object*); lean_object* l_PersistentHashMap_insertAtCollisionNodeAux___main___at_Lean_MetavarContext_assignLevel___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l_PersistentArray_anyM___at_Lean_MetavarContext_mkLambda___spec__44(lean_object*, lean_object*); -uint8_t l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__42(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__43(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_panicWithPos___at_Lean_MetavarContext_mkLambda___spec__63(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_MetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___closed__1; +uint8_t l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_11__dep___main___spec__2(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_19__visit(lean_object*, lean_object*, lean_object*); +lean_object* l_Nat_foldRevMAux___main___at___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main___spec__2(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentHashMap_find___at_Lean_MetavarContext_isLevelAssignable___spec__1(lean_object*, lean_object*); +lean_object* l_mkHashSet___at_Lean_MetavarContext_exprDependsOn___spec__1(lean_object*); +lean_object* l_AssocList_contains___main___at___private_Init_Lean_MetavarContext_10__visit___spec__2___boxed(lean_object*, lean_object*); +lean_object* l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__10___boxed(lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); lean_object* l_PersistentHashMap_find___at_Lean_MetavarContext_getExprAssignment___spec__1(lean_object*, lean_object*); lean_object* lean_expr_update_const(lean_object*, lean_object*); -lean_object* l_Nat_foldRevMAux___main___at_Lean_MetavarContext_mkLambda___spec__64___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_PersistentArray_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__27___boxed(lean_object*, lean_object*); +lean_object* l_Lean_MetavarContext_instantiateMVars___closed__1; lean_object* l_PersistentHashMap_findAtAux___main___at_Lean_MetavarContext_getExprAssignment___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_mk_metavar_ctx(lean_object*); uint8_t l_PersistentHashMap_containsAux___main___at_Lean_MetavarContext_isLevelAssigned___spec__2(lean_object*, size_t, lean_object*); -uint8_t l_PersistentArray_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__51(lean_object*, lean_object*); +lean_object* l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__38___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_panicWithPos___at___private_Init_Lean_MetavarContext_7__instantiateDelayedAux___main___spec__1___closed__2; +lean_object* l___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main___boxed(lean_object*, lean_object*, lean_object*); +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_metavarContextIsAbstractMetavarContext___closed__5; -uint8_t l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__28(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_MetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___lambda__1___boxed(lean_object*, lean_object*); +lean_object* l_PersistentHashMap_findAtAux___main___at_Lean_MetavarContext_isLevelAssignable___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__50(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_5__getMCtx(lean_object*); uint8_t l_Lean_LocalDecl_binderInfo(lean_object*); -lean_object* l_Nat_foldRevMAux___main___at_Lean_MetavarContext_mkLambda___spec__64___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); -lean_object* l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__42___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_7__instantiateDelayedAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); -lean_object* l_Array_umapMAux___main___at_Lean_MetavarContext_mkLambda___spec__65___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_panicWithPos___at_Lean_MetavarContext_isLevelAssignable___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_Lean_MetavarContext_mkDecl___spec__4(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_metavar_ctx_assign_expr(lean_object*, lean_object*, lean_object*); +uint8_t l_AssocList_contains___main___at___private_Init_Lean_MetavarContext_10__visit___spec__2(lean_object*, lean_object*); +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_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__49(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__24___boxed(lean_object*, lean_object*, lean_object*); -uint8_t l_List_foldr___main___at_Lean_MetavarContext_hasAssignedMVar___spec__2(lean_object*, uint8_t, lean_object*); -uint8_t l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__53(lean_object*, 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*); lean_object* lean_array_push(lean_object*, lean_object*); -uint8_t l_PersistentArray_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__27(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*); lean_object* l_PersistentHashMap_eraseAux___main___at_Lean_MetavarContext_eraseDelayed___spec__2___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_getDecl___closed__2; -uint8_t l_PersistentArray_anyM___at_Lean_MetavarContext_mkLambda___spec__26(lean_object*, lean_object*); -uint8_t l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__22(lean_object*, lean_object*, lean_object*); +lean_object* l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__14___boxed(lean_object*, lean_object*, lean_object*); lean_object* lean_expr_update_proj(lean_object*, lean_object*); +lean_object* l_Lean_MetavarContext_InstantiateExprMVars_main___main(lean_object*, lean_object*); extern lean_object* l_panicWithPos___rarg___closed__1; -extern lean_object* l_Lean_MetavarDecl_Inhabited; -lean_object* l_Lean_AbstractMetavarContext_MkBinding_getInScope(lean_object*, lean_object*); -uint8_t l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__5(lean_object*, lean_object*, lean_object*); +lean_object* l_Array_umapMAux___main___at___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_MetavarDecl_Inhabited; +lean_object* l_AssocList_replace___main___at___private_Init_Lean_MetavarContext_4__visit___spec__8(lean_object*, lean_object*, lean_object*); +lean_object* l_Nat_foldRevMAux___main___at_Lean_MetavarContext_MkBinding_mkBinding___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_18__reduceLocalContext(lean_object*, lean_object*); +lean_object* l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__25___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_panicWithPos___at_Lean_MetavarContext_getDecl___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__56(lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_find___at_Lean_MetavarContext_getDelayedAssignment___spec__1___boxed(lean_object*, lean_object*); -lean_object* l_PersistentArray_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__33___boxed(lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_instantiateLevelMVars___main___at_Lean_MetavarContext_instantiateLevelMVars___spec__1(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Expr_4__withAppRevAux___main___at___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_MetavarContext_exprDependsOn___closed__1; lean_object* l_PersistentHashMap_findAtAux___main___at_Lean_MetavarContext_getDelayedAssignment___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__58(lean_object*, lean_object*, lean_object*); lean_object* lean_expr_update_mdata(lean_object*, lean_object*); lean_object* l_PersistentHashMap_insertAtCollisionNodeAux___main___at_Lean_MetavarContext_mkDecl___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__8(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_11__dep___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__15___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__30___boxed(lean_object*, lean_object*, lean_object*); lean_object* lean_array_set(lean_object*, lean_object*, lean_object*); extern size_t l_PersistentHashMap_insertAux___main___rarg___closed__2; -lean_object* l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__5___boxed(lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_AbstractMetavarContext_InstantiateExprMVars_instantiateDelayedAux___main___rarg___closed__1; +lean_object* l_HashMapImp_expand___at___private_Init_Lean_MetavarContext_4__visit___spec__5(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main(lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_MetavarContext_hasAssignedLevelMVar___main(lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_instantiateMVars(lean_object*, lean_object*); -uint8_t l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__59(lean_object*, lean_object*, lean_object*); -uint8_t l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__46(lean_object*, lean_object*, lean_object*); -lean_object* l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__18___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_MetavarContext_MkBinding_elimMVarDeps(lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__4___boxed(lean_object*, lean_object*); +lean_object* l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_11__dep___main___spec__1___boxed(lean_object*, lean_object*); +lean_object* l_Nat_foldRevMAux___main___at_Lean_MetavarContext_MkBinding_mkBinding___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_List_foldr___main___at_Lean_MetavarContext_hasAssignedMVar___main___spec__1___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_MetavarContext_hasAssignableLevelMVar___main___boxed(lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_getDecl___closed__1; +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__63___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_getDecl(lean_object*, lean_object*); -lean_object* l_PersistentArray_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__39___boxed(lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__13(lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__16(lean_object*, lean_object*, lean_object*); +lean_object* l_AssocList_foldlM___main___at___private_Init_Lean_MetavarContext_4__visit___spec__7(lean_object*, lean_object*); +lean_object* l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__6___boxed(lean_object*, lean_object*, lean_object*); +extern lean_object* l_PersistentArray_getAux___main___rarg___closed__1; lean_object* l_PersistentHashMap_find___at_Lean_MetavarContext_getLevelAssignment___spec__1___boxed(lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_MkBinding_mkBinding___at_Lean_MetavarContext_mkLambda___spec__62___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__37(lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l_PersistentArray_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__39(lean_object*, lean_object*); -lean_object* l_List_mapM___main___at_Lean_MetavarContext_instantiateMVars___spec__6(lean_object*, lean_object*); +uint8_t l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__26(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_MetavarContext_hasAssignableLevelMVar(lean_object*, lean_object*); lean_object* l_Lean_Expr_fvarId_x21(lean_object*); -lean_object* l_Lean_AbstractMetavarContext_MkBinding_mkBinding___at_Lean_MetavarContext_mkLambda___spec__67___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_16__getLocalDeclWithSmallestIdx___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +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*); -lean_object* l_PersistentArray_anyM___at_Lean_MetavarContext_mkLambda___spec__8___boxed(lean_object*, lean_object*); +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*); +lean_object* l_panicWithPos___at_Lean_MetavarContext_MkBinding_mkBinding___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_PersistentHashMap_containsAux___main___at_Lean_MetavarContext_isDelayedAssigned___spec__2(lean_object*, size_t, lean_object*); -lean_object* l_panicWithPos___at_Lean_MetavarContext_instantiateMVars___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_expr_mk_mvar(lean_object*); -lean_object* l___private_Init_Lean_Expr_4__withAppRevAux___main___at_Lean_MetavarContext_mkLambda___spec__66(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_22__withFreshCache(lean_object*); uint8_t l_Lean_Expr_isMVar(lean_object*); lean_object* l_PersistentHashMap_containsAux___main___at_Lean_MetavarContext_isExprAssigned___spec__2___boxed(lean_object*, lean_object*, lean_object*); lean_object* lean_metavar_ctx_get_level_assignment(lean_object*, lean_object*); lean_object* lean_expr_update_lambda(lean_object*, uint8_t, lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___at_Lean_MetavarContext_instantiateMVars___spec__2(lean_object*, lean_object*); +lean_object* l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__22___boxed(lean_object*, lean_object*); +lean_object* l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(lean_object*, lean_object*); uint8_t lean_metavar_ctx_is_delayed_assigned(lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_mkLambda(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__34(lean_object*, lean_object*, lean_object*); -uint8_t l_Lean_AbstractMetavarContext_hasAssignedMVar___main___at_Lean_MetavarContext_hasAssignedMVar___spec__1(lean_object*, lean_object*); -lean_object* l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__54___boxed(lean_object*, lean_object*, lean_object*); -uint8_t l_PersistentArray_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__57(lean_object*, lean_object*); -uint8_t l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__41(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Expr_4__withAppRevAux___main___at_Lean_MetavarContext_instantiateMVars___spec__8(lean_object*, lean_object*, lean_object*); +lean_object* l_AssocList_find___main___at___private_Init_Lean_MetavarContext_4__visit___spec__2(lean_object*, lean_object*); +lean_object* l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__29___boxed(lean_object*, lean_object*); +extern lean_object* l_Array_HasRepr___rarg___closed__1; +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_21__getInScope___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_16__getLocalDeclWithSmallestIdx___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentArray_foldlFromMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__59___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_24__mkMVarApp___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1___boxed(lean_object*, lean_object*); +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__61___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Nat_foldRevMAux___main___at___private_Init_Lean_MetavarContext_23__mkForallAux___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_insertAux___main___at_Lean_MetavarContext_assignDelayed___spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*); -uint8_t l_PersistentArray_anyM___at_Lean_MetavarContext_mkLambda___spec__38(lean_object*, lean_object*); +lean_object* l_PersistentHashMap_find___at_Lean_MetavarContext_isLevelAssignable___spec__1___boxed(lean_object*, lean_object*); +lean_object* l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__54___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_HashMapImp_moveEntries___main___at___private_Init_Lean_MetavarContext_4__visit___spec__6(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Expr_letName_x21___closed__1; -lean_object* l_Lean_AbstractMetavarContext_hasAssignedMVar___main___at_Lean_MetavarContext_hasAssignedMVar___spec__1___boxed(lean_object*, lean_object*); +uint8_t l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__16(lean_object*, lean_object*); lean_object* l_PersistentHashMap_insert___at_Lean_MetavarContext_mkDecl___spec__1(lean_object*, lean_object*, lean_object*); lean_object* lean_expr_abstract_range(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_InstantiateExprMVars_instantiateLevelMVars___at_Lean_MetavarContext_instantiateMVars___spec__5(lean_object*, lean_object*); +lean_object* l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__50___boxed(lean_object*, lean_object*, lean_object*); +extern lean_object* l_System_FilePath_dirName___closed__1; lean_object* l_panic(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_11__dep___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__45(lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_MetavarContext_hasAssignedMVar___main(lean_object*, lean_object*); +uint8_t l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__1(lean_object*, lean_object*, lean_object*); +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__64(lean_object*); extern lean_object* l_Lean_Level_updateIMax_x21___closed__1; -lean_object* l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__10___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__25(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__53___boxed(lean_object*, lean_object*); +lean_object* l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__46___boxed(lean_object*, lean_object*); extern lean_object* l_Lean_Expr_updateLambda_x21___closed__1; +lean_object* l___private_Init_Lean_MetavarContext_8__instantiateDelayed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__34___boxed(lean_object*, lean_object*); +uint8_t l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__24(lean_object*, lean_object*, lean_object*); +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__62___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__48(lean_object*, lean_object*, lean_object*); +uint8_t l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__10(lean_object*, lean_object*); +lean_object* l_Lean_MetavarContext_MkBindingException_toStr___closed__4; +size_t lean_usize_modn(size_t, lean_object*); lean_object* l_Lean_MetavarContext_Inhabited; +lean_object* l_Lean_MetavarContext_mkBinding(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentArray_foldlMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__60___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(lean_object*, lean_object*, lean_object*); +lean_object* l_List_toString___at_Lean_MetavarContext_MkBindingException_toStr___spec__3(lean_object*); lean_object* lean_name_mk_numeral(lean_object*, lean_object*); -uint8_t l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__11(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_MetavarContext_metavarContextIsAbstractMetavarContext___closed__1; -lean_object* l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__19(lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l_PersistentArray_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__21(lean_object*, lean_object*); +lean_object* l_panicWithPos___at_Lean_MetavarContext_isLevelAssignable___spec__4(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__63(lean_object*); +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__63___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_EStateM_MonadState___closed__2; +uint8_t l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__35(lean_object*, lean_object*); +lean_object* l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_11__dep___main___spec__3___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_List_toStringAux___main___at_Lean_MetavarContext_MkBindingException_toStr___spec__4(uint8_t, lean_object*); lean_object* l_PersistentHashMap_findAux___main___at_Lean_MetavarContext_findDecl___spec__2(lean_object*, size_t, lean_object*); +uint8_t l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__14(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_11__dep___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_HashMap_Inhabited___closed__1; -lean_object* l_PersistentArray_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__45___boxed(lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_isDelayedAssigned___boxed(lean_object*, lean_object*); uint8_t l_Lean_Expr_isApp(lean_object*); +extern lean_object* l_Option_get_x21___rarg___closed__2; +lean_object* l_List_toStringAux___main___at_Lean_MetavarContext_MkBindingException_toStr___spec__4___boxed(lean_object*, lean_object*); +lean_object* l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__31___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_insertAtCollisionNodeAux___main___at_Lean_MetavarContext_assignExpr___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_isLevelAssigned___boxed(lean_object*, lean_object*); extern lean_object* l_PersistentHashMap_insertAux___main___rarg___closed__3; lean_object* lean_array_get_size(lean_object*); -lean_object* l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__52___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Array_eraseIdx_x27___rarg(lean_object*, lean_object*); lean_object* l_PersistentHashMap_insertAtCollisionNodeAux___main___at_Lean_MetavarContext_assignDelayed___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentArray_foldlMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__60(lean_object*); lean_object* l_PersistentHashMap_findAtAux___main___at_Lean_MetavarContext_getExprAssignment___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Nat_foldRevMAux___main___at_Lean_MetavarContext_mkLambda___spec__68___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); +lean_object* l_Nat_foldRevMAux___main___at___private_Init_Lean_MetavarContext_23__mkForallAux___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_MetavarContext_isExprAssignable___boxed(lean_object*, lean_object*); lean_object* l_PersistentHashMap_isUnaryNode___rarg(lean_object*); extern lean_object* l_EIO_Monad___closed__1; -lean_object* l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__29___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_mkBinding___at_Lean_MetavarContext_mkLambda___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__47___boxed(lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_mkForall(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_Lean_MetavarContext_assignLevel___spec__4(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_25__mkAuxMVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_metavar_ctx_is_expr_assigned(lean_object*, lean_object*); +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__65___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); +uint8_t l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__44(lean_object*, lean_object*, lean_object*); lean_object* l_Array_indexOfAux___main___at_Lean_LocalContext_erase___spec__3(lean_object*, lean_object*, lean_object*); -uint8_t l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__24(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_MetavarContext_metavarContextIsAbstractMetavarContext___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__29(lean_object*, lean_object*, lean_object*); -lean_object* l_Array_iterateMAux___main___at_Lean_AbstractMetavarContext_MkBinding_mkMVarApp___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_mkHashMapImp___rarg(lean_object*); lean_object* l_Array_iterateMAux___main___at_Lean_MetavarContext_assignExpr___spec__4(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_metavar_ctx_mk_decl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); -uint8_t l_PersistentArray_anyM___at_Lean_MetavarContext_mkLambda___spec__14(lean_object*, lean_object*); +lean_object* l___private_Init_Data_Array_Basic_3__iterateRevMAux___main___at___private_Init_Lean_MetavarContext_18__reduceLocalContext___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_insertAux___main___at_Lean_MetavarContext_assignExpr___spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__49___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__41(lean_object*, lean_object*); lean_object* lean_metavar_ctx_find_decl(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_11__dep___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__15(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_insertAux___main___at_Lean_MetavarContext_assignLevel___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__52(lean_object*, lean_object*); +uint8_t l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__6(lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_insert___at_Lean_MetavarContext_assignLevel___spec__1(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_MetavarContext_metavarContextIsAbstractMetavarContext___lambda__1___boxed(lean_object*, lean_object*); -lean_object* l_Nat_foldRevMAux___main___at_Lean_MetavarContext_mkLambda___spec__68___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__12___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_MetavarContext_MkBindingException_toStr___closed__3; +lean_object* lean_local_ctx_erase(lean_object*, lean_object*); +lean_object* l_Lean_MetavarContext_localDeclDependsOn(lean_object*, lean_object*, lean_object*); +lean_object* l_HashMapImp_moveEntries___main___at___private_Init_Lean_MetavarContext_10__visit___spec__5(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_10__visit(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_isExprAssigned___boxed(lean_object*, lean_object*); uint8_t l_Lean_MetavarContext_hasAssignedMVar(lean_object*, lean_object*); -lean_object* l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__6___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_EStateM_bind___rarg(lean_object*, lean_object*, lean_object*); +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*); +lean_object* l___private_Init_Lean_MetavarContext_7__instantiateDelayedAux___main___at_Lean_MetavarContext_InstantiateExprMVars_main___main___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Nat_foldRevMAux___main___at___private_Init_Lean_MetavarContext_23__mkForallAux___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_Inhabited___closed__1; lean_object* lean_metavar_ctx_assign_delayed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t lean_nat_dec_le(lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_mkDecl___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_16__getLocalDeclWithSmallestIdx(lean_object*, lean_object*); lean_object* l_PersistentHashMap_insertAux___main___at_Lean_MetavarContext_mkDecl___spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*); -uint8_t l_PersistentArray_anyM___at_Lean_MetavarContext_mkLambda___spec__56(lean_object*, lean_object*); -lean_object* l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__35___boxed(lean_object*, lean_object*, lean_object*); +uint8_t l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_11__dep___main___spec__4(lean_object*, lean_object*, lean_object*); +size_t lean_usize_of_nat(lean_object*); +lean_object* l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_11__dep___main___spec__5___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_panicWithPos___at___private_Init_Lean_MetavarContext_7__instantiateDelayedAux___main___spec__1(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_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__35(lean_object*, lean_object*, lean_object*); +lean_object* l_Nat_foldRevMAux___main___at___private_Init_Lean_MetavarContext_23__mkForallAux___spec__2(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_11__dep___main___spec__3(lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_insert___at_Lean_MetavarContext_assignDelayed___spec__1(lean_object*, lean_object*, lean_object*); +lean_object* l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__32___boxed(lean_object*, lean_object*, lean_object*); +uint8_t l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__30(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_LocalDecl_index(lean_object*); -lean_object* l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__22___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(lean_object*, lean_object*); +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_16__getLocalDeclWithSmallestIdx___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_erase___at_Lean_MetavarContext_eraseDelayed___spec__1___boxed(lean_object*, lean_object*); +lean_object* l_Lean_MetavarContext_MkBinding_mkBinding___at___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main___spec__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__64___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_MetavarContext_hasAssignedMVar___main___boxed(lean_object*, lean_object*); lean_object* l_PersistentHashMap_contains___at_Lean_MetavarContext_isDelayedAssigned___spec__1___boxed(lean_object*, lean_object*); uint8_t l_USize_decLe(size_t, size_t); -uint8_t l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__12(lean_object*, lean_object*, lean_object*); -lean_object* l_PersistentArray_anyM___at_Lean_MetavarContext_mkLambda___spec__38___boxed(lean_object*, lean_object*); +uint8_t l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_11__dep___main___spec__5(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_MetavarContext_hasAssignableLevelMVar___main(lean_object*, lean_object*); +lean_object* l_Nat_foldRevMAux___main___at_Lean_MetavarContext_mkBinding___spec__2(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_MetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___closed__3; +uint8_t l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__46(lean_object*, lean_object*); extern lean_object* l_panicWithPos___rarg___closed__2; lean_object* l_PersistentHashMap_findAux___main___at_Lean_MetavarContext_getExprAssignment___spec__2___boxed(lean_object*, lean_object*, lean_object*); -uint8_t l_PersistentArray_anyM___at_Lean_MetavarContext_mkLambda___spec__32(lean_object*, lean_object*); -lean_object* l_Lean_MetavarContext_metavarContextIsAbstractMetavarContext___closed__2; -uint8_t l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(lean_object*, lean_object*); -lean_object* l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__47___boxed(lean_object*, lean_object*, lean_object*); +size_t l_USize_shift__left(size_t, size_t); +extern uint8_t l_Bool_Inhabited; lean_object* lean_level_update_max(lean_object*, lean_object*, lean_object*); uint8_t l_PersistentHashMap_containsAux___main___at_Lean_MetavarContext_isExprAssigned___spec__2(lean_object*, size_t, lean_object*); uint8_t lean_expr_has_expr_mvar(lean_object*); +uint8_t l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__32(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___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_findAux___main___at_Lean_MetavarContext_getExprAssignment___spec__2(lean_object*, size_t, lean_object*); extern lean_object* l_Lean_Expr_updateMData_x21___closed__1; -uint8_t l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__48(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_mkBinding___at_Lean_MetavarContext_mkLambda___spec__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_MetavarContext_metavarContextIsAbstractMetavarContext___closed__4; -lean_object* l_Nat_foldRevMAux___main___at_Lean_MetavarContext_mkLambda___spec__64(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__62(lean_object*); +lean_object* l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1___boxed(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_26__elimMVarDepsAux(lean_object*, lean_object*, lean_object*); +extern lean_object* l_Option_get_x21___rarg___closed__1; +lean_object* l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__44___boxed(lean_object*, lean_object*, lean_object*); +uint8_t l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__42(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_11__dep___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__51___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_expr_abstract(lean_object*, lean_object*); -lean_object* l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__46___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_MetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___lambda__2(lean_object*, lean_object*); +uint8_t l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__23(lean_object*, lean_object*); +lean_object* l_panicWithPos___at_Lean_MetavarContext_MkBinding_mkBinding___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__54(lean_object*, lean_object*, lean_object*); +lean_object* l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__2___boxed(lean_object*, lean_object*, lean_object*); lean_object* lean_expr_update_sort(lean_object*, lean_object*); size_t l_USize_land(size_t, size_t); -lean_object* l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__43___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Nat_foldRevMAux___main___at_Lean_MetavarContext_mkLambda___spec__68(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__48___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_21__getInScope___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_MetavarContext_exprDependsOn(lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_11__dep___main___spec__2___boxed(lean_object*, lean_object*); +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_16__getLocalDeclWithSmallestIdx___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_hasAssignedMVar___boxed(lean_object*, lean_object*); -lean_object* l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__53___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__28___boxed(lean_object*, lean_object*); lean_object* lean_usize_to_nat(size_t); -uint8_t l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__18(lean_object*, lean_object*, lean_object*); -uint8_t l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__52(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_MetavarContext_MkBindingException_toStr(lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_16__getLocalDeclWithSmallestIdx___boxed(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_7__instantiateDelayedAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_metavar_ctx_assign_level(lean_object*, lean_object*, lean_object*); -lean_object* l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__36___boxed(lean_object*, lean_object*, lean_object*); -uint8_t l_PersistentArray_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__33(lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__7(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_MkBinding_collectDeps___at_Lean_MetavarContext_mkLambda___spec__4(lean_object*, lean_object*, lean_object*); +lean_object* l_AssocList_foldlM___main___at___private_Init_Lean_MetavarContext_10__visit___spec__6(lean_object*, lean_object*); +lean_object* lean_nat_mul(lean_object*, lean_object*); +lean_object* l_Nat_foldRevMAux___main___at_Lean_MetavarContext_mkBinding___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); +lean_object* l_PersistentArray_foldlMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__60___rarg___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__20___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__51(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_PersistentHashMap_containsAtAux___main___at_Lean_LocalContext_contains___spec__3(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_LocalContext_foldlFromM___at_Lean_MetavarContext_mkLambda___spec__61___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(lean_object*, lean_object*, lean_object*); +lean_object* l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__1___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Data_Array_Basic_3__iterateRevMAux___main___at___private_Init_Lean_MetavarContext_18__reduceLocalContext___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_panicWithPos___at_Lean_MetavarContext_getDecl___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_panicWithPos___at_Lean_MetavarContext_mkLambda___spec__63___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_findAux___main___at_Lean_MetavarContext_getDelayedAssignment___spec__2(lean_object*, size_t, lean_object*); +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*); -lean_object* l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__25___boxed(lean_object*, lean_object*, lean_object*, 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*); -lean_object* l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__59___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__40___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_PersistentArray_anyM___at_Lean_MetavarContext_mkLambda___spec__14___boxed(lean_object*, lean_object*); -extern lean_object* l_panicWithPos___at_Lean_AbstractMetavarContext_MkBinding_mkBinding___spec__1___rarg___closed__1; +lean_object* l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__52___boxed(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_11__dep(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_6__modifyCtx(lean_object*, lean_object*); +lean_object* l_Lean_MetavarContext_InstantiateExprMVars_main(lean_object*, lean_object*); +lean_object* l_Lean_MetavarContext_MkBinding_mkBinding___at_Lean_MetavarContext_mkBinding___spec__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__49___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_panicWithPos___at___private_Init_Lean_MetavarContext_7__instantiateDelayedAux___main___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__37(lean_object*, lean_object*, lean_object*); lean_object* lean_expr_update_let(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_MetavarContext_metavarContextIsAbstractMetavarContext___closed__3; +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__61___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_expr_has_level_mvar(lean_object*); -uint8_t l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__6(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isLambda(lean_object*); +extern lean_object* l_String_splitAux___main___closed__1; lean_object* l_PersistentHashMap_insertAux___main___at_Lean_MetavarContext_assignLevel___spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*); lean_object* l_Lean_LocalDecl_name(lean_object*); +lean_object* l_Lean_MetavarContext_hasAssignedLevelMVar___main___boxed(lean_object*, lean_object*); lean_object* l_PersistentHashMap_contains___at_Lean_MetavarContext_isExprAssigned___spec__1___boxed(lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_hasAssignedLevelMVar___main___at_Lean_MetavarContext_hasAssignedLevelMVar___spec__1___boxed(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_1__instantiateLevelMVarsAux___main(lean_object*, lean_object*); +lean_object* l_Lean_MetavarContext_MkBinding_mkBinding___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_MetavarContext_mkBinding___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_panicWithPos___at_Lean_Expr_getRevArg_x21___main___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* _init_l_Lean_MetavarDecl_Inhabited___closed__1() { +_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_4 = lean_unsigned_to_nat(0u); +x_5 = 0; +x_6 = lean_alloc_ctor(0, 4, 1); +lean_ctor_set(x_6, 0, x_1); +lean_ctor_set(x_6, 1, x_2); +lean_ctor_set(x_6, 2, x_3); +lean_ctor_set(x_6, 3, x_4); +lean_ctor_set_uint8(x_6, sizeof(void*)*4, x_5); +return x_6; +} +} +lean_object* _init_l_Lean_MetavarDecl_Inhabited() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_MetavarDecl_Inhabited___closed__1; +return x_1; +} +} lean_object* _init_l_Lean_MetavarContext_Inhabited___closed__1() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_PersistentHashMap_empty___closed__3; -x_2 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_2, 0, x_1); -lean_ctor_set(x_2, 1, x_1); -lean_ctor_set(x_2, 2, x_1); -lean_ctor_set(x_2, 3, x_1); -return x_2; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(0u); +x_2 = l_PersistentHashMap_empty___closed__3; +x_3 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +lean_ctor_set(x_3, 2, x_2); +lean_ctor_set(x_3, 3, x_2); +lean_ctor_set(x_3, 4, x_2); +lean_ctor_set(x_3, 5, x_2); +return x_3; } } lean_object* _init_l_Lean_MetavarContext_Inhabited() { @@ -896,41 +1099,52 @@ uint8_t x_7; x_7 = !lean_is_exclusive(x_1); if (x_7 == 0) { -lean_object* x_8; lean_object* x_9; lean_object* x_10; +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; x_8 = lean_ctor_get(x_1, 0); -x_9 = lean_alloc_ctor(0, 3, 1); -lean_ctor_set(x_9, 0, x_3); -lean_ctor_set(x_9, 1, x_4); -lean_ctor_set(x_9, 2, x_5); -lean_ctor_set_uint8(x_9, sizeof(void*)*3, x_6); -x_10 = l_PersistentHashMap_insert___at_Lean_MetavarContext_mkDecl___spec__1(x_8, x_2, x_9); -lean_ctor_set(x_1, 0, x_10); +x_9 = lean_ctor_get(x_1, 2); +lean_inc(x_8); +x_10 = lean_alloc_ctor(0, 4, 1); +lean_ctor_set(x_10, 0, x_3); +lean_ctor_set(x_10, 1, x_4); +lean_ctor_set(x_10, 2, x_5); +lean_ctor_set(x_10, 3, x_8); +lean_ctor_set_uint8(x_10, sizeof(void*)*4, x_6); +x_11 = l_PersistentHashMap_insert___at_Lean_MetavarContext_mkDecl___spec__1(x_9, x_2, x_10); +lean_ctor_set(x_1, 2, x_11); return x_1; } else { -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_11 = lean_ctor_get(x_1, 0); -x_12 = lean_ctor_get(x_1, 1); -x_13 = lean_ctor_get(x_1, 2); -x_14 = lean_ctor_get(x_1, 3); +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_12 = lean_ctor_get(x_1, 0); +x_13 = lean_ctor_get(x_1, 1); +x_14 = lean_ctor_get(x_1, 2); +x_15 = lean_ctor_get(x_1, 3); +x_16 = lean_ctor_get(x_1, 4); +x_17 = lean_ctor_get(x_1, 5); +lean_inc(x_17); +lean_inc(x_16); +lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); -lean_inc(x_11); lean_dec(x_1); -x_15 = lean_alloc_ctor(0, 3, 1); -lean_ctor_set(x_15, 0, x_3); -lean_ctor_set(x_15, 1, x_4); -lean_ctor_set(x_15, 2, x_5); -lean_ctor_set_uint8(x_15, sizeof(void*)*3, x_6); -x_16 = l_PersistentHashMap_insert___at_Lean_MetavarContext_mkDecl___spec__1(x_11, x_2, x_15); -x_17 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_12); -lean_ctor_set(x_17, 2, x_13); -lean_ctor_set(x_17, 3, x_14); -return x_17; +lean_inc(x_12); +x_18 = lean_alloc_ctor(0, 4, 1); +lean_ctor_set(x_18, 0, x_3); +lean_ctor_set(x_18, 1, x_4); +lean_ctor_set(x_18, 2, x_5); +lean_ctor_set(x_18, 3, x_12); +lean_ctor_set_uint8(x_18, sizeof(void*)*4, x_6); +x_19 = l_PersistentHashMap_insert___at_Lean_MetavarContext_mkDecl___spec__1(x_14, x_2, x_18); +x_20 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_20, 0, x_12); +lean_ctor_set(x_20, 1, x_13); +lean_ctor_set(x_20, 2, x_19); +lean_ctor_set(x_20, 3, x_15); +lean_ctor_set(x_20, 4, x_16); +lean_ctor_set(x_20, 5, x_17); +return x_20; } } } @@ -1095,7 +1309,7 @@ lean_object* lean_metavar_ctx_find_decl(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; -x_3 = lean_ctor_get(x_1, 0); +x_3 = lean_ctor_get(x_1, 2); lean_inc(x_3); lean_dec(x_1); x_4 = l_PersistentHashMap_find___at_Lean_MetavarContext_findDecl___spec__1(x_3, x_2); @@ -1181,13 +1395,13 @@ lean_object* l_Lean_MetavarContext_getDecl(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; -x_3 = lean_ctor_get(x_1, 0); +x_3 = lean_ctor_get(x_1, 2); x_4 = l_PersistentHashMap_find___at_Lean_MetavarContext_findDecl___spec__1(x_3, x_2); if (lean_obj_tag(x_4) == 0) { lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; x_5 = l_Lean_MetavarContext_getDecl___closed__1; -x_6 = lean_unsigned_to_nat(39u); +x_6 = lean_unsigned_to_nat(70u); x_7 = lean_unsigned_to_nat(15u); x_8 = l_Lean_MetavarContext_getDecl___closed__2; x_9 = l_panicWithPos___at_Lean_MetavarContext_getDecl___spec__1(x_5, x_6, x_7, x_8); @@ -1710,30 +1924,36 @@ x_4 = !lean_is_exclusive(x_1); if (x_4 == 0) { lean_object* x_5; lean_object* x_6; -x_5 = lean_ctor_get(x_1, 1); +x_5 = lean_ctor_get(x_1, 3); x_6 = l_PersistentHashMap_insert___at_Lean_MetavarContext_assignLevel___spec__1(x_5, x_2, x_3); -lean_ctor_set(x_1, 1, x_6); +lean_ctor_set(x_1, 3, x_6); return x_1; } else { -lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; x_7 = lean_ctor_get(x_1, 0); x_8 = lean_ctor_get(x_1, 1); x_9 = lean_ctor_get(x_1, 2); x_10 = lean_ctor_get(x_1, 3); +x_11 = lean_ctor_get(x_1, 4); +x_12 = lean_ctor_get(x_1, 5); +lean_inc(x_12); +lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_dec(x_1); -x_11 = l_PersistentHashMap_insert___at_Lean_MetavarContext_assignLevel___spec__1(x_8, x_2, x_3); -x_12 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_12, 0, x_7); -lean_ctor_set(x_12, 1, x_11); -lean_ctor_set(x_12, 2, x_9); -lean_ctor_set(x_12, 3, x_10); -return x_12; +x_13 = l_PersistentHashMap_insert___at_Lean_MetavarContext_assignLevel___spec__1(x_10, x_2, x_3); +x_14 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_14, 0, x_7); +lean_ctor_set(x_14, 1, x_8); +lean_ctor_set(x_14, 2, x_9); +lean_ctor_set(x_14, 3, x_13); +lean_ctor_set(x_14, 4, x_11); +lean_ctor_set(x_14, 5, x_12); +return x_14; } } } @@ -2249,30 +2469,36 @@ x_4 = !lean_is_exclusive(x_1); if (x_4 == 0) { lean_object* x_5; lean_object* x_6; -x_5 = lean_ctor_get(x_1, 2); +x_5 = lean_ctor_get(x_1, 4); x_6 = l_PersistentHashMap_insert___at_Lean_MetavarContext_assignExpr___spec__1(x_5, x_2, x_3); -lean_ctor_set(x_1, 2, x_6); +lean_ctor_set(x_1, 4, x_6); return x_1; } else { -lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; x_7 = lean_ctor_get(x_1, 0); x_8 = lean_ctor_get(x_1, 1); x_9 = lean_ctor_get(x_1, 2); x_10 = lean_ctor_get(x_1, 3); +x_11 = lean_ctor_get(x_1, 4); +x_12 = lean_ctor_get(x_1, 5); +lean_inc(x_12); +lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_dec(x_1); -x_11 = l_PersistentHashMap_insert___at_Lean_MetavarContext_assignExpr___spec__1(x_9, x_2, x_3); -x_12 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_12, 0, x_7); -lean_ctor_set(x_12, 1, x_8); -lean_ctor_set(x_12, 2, x_11); -lean_ctor_set(x_12, 3, x_10); -return x_12; +x_13 = l_PersistentHashMap_insert___at_Lean_MetavarContext_assignExpr___spec__1(x_11, x_2, x_3); +x_14 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_14, 0, x_7); +lean_ctor_set(x_14, 1, x_8); +lean_ctor_set(x_14, 2, x_9); +lean_ctor_set(x_14, 3, x_10); +lean_ctor_set(x_14, 4, x_13); +lean_ctor_set(x_14, 5, x_12); +return x_14; } } } @@ -2788,38 +3014,44 @@ x_6 = !lean_is_exclusive(x_1); if (x_6 == 0) { lean_object* x_7; lean_object* x_8; lean_object* x_9; -x_7 = lean_ctor_get(x_1, 3); +x_7 = lean_ctor_get(x_1, 5); x_8 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_8, 0, x_3); lean_ctor_set(x_8, 1, x_4); lean_ctor_set(x_8, 2, x_5); x_9 = l_PersistentHashMap_insert___at_Lean_MetavarContext_assignDelayed___spec__1(x_7, x_2, x_8); -lean_ctor_set(x_1, 3, x_9); +lean_ctor_set(x_1, 5, x_9); return x_1; } else { -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; x_10 = lean_ctor_get(x_1, 0); x_11 = lean_ctor_get(x_1, 1); x_12 = lean_ctor_get(x_1, 2); x_13 = lean_ctor_get(x_1, 3); +x_14 = lean_ctor_get(x_1, 4); +x_15 = lean_ctor_get(x_1, 5); +lean_inc(x_15); +lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_dec(x_1); -x_14 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_14, 0, x_3); -lean_ctor_set(x_14, 1, x_4); -lean_ctor_set(x_14, 2, x_5); -x_15 = l_PersistentHashMap_insert___at_Lean_MetavarContext_assignDelayed___spec__1(x_13, x_2, x_14); -x_16 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_16, 0, x_10); -lean_ctor_set(x_16, 1, x_11); -lean_ctor_set(x_16, 2, x_12); -lean_ctor_set(x_16, 3, x_15); -return x_16; +x_16 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_16, 0, x_3); +lean_ctor_set(x_16, 1, x_4); +lean_ctor_set(x_16, 2, x_5); +x_17 = l_PersistentHashMap_insert___at_Lean_MetavarContext_assignDelayed___spec__1(x_15, x_2, x_16); +x_18 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_18, 0, x_10); +lean_ctor_set(x_18, 1, x_11); +lean_ctor_set(x_18, 2, x_12); +lean_ctor_set(x_18, 3, x_13); +lean_ctor_set(x_18, 4, x_14); +lean_ctor_set(x_18, 5, x_17); +return x_18; } } } @@ -2974,7 +3206,7 @@ lean_object* lean_metavar_ctx_get_level_assignment(lean_object* x_1, lean_object _start: { lean_object* x_3; lean_object* x_4; -x_3 = lean_ctor_get(x_1, 1); +x_3 = lean_ctor_get(x_1, 3); lean_inc(x_3); lean_dec(x_1); x_4 = l_PersistentHashMap_find___at_Lean_MetavarContext_getLevelAssignment___spec__1(x_3, x_2); @@ -3142,7 +3374,7 @@ lean_object* lean_metavar_ctx_get_expr_assignment(lean_object* x_1, lean_object* _start: { lean_object* x_3; lean_object* x_4; -x_3 = lean_ctor_get(x_1, 2); +x_3 = lean_ctor_get(x_1, 4); lean_inc(x_3); lean_dec(x_1); x_4 = l_PersistentHashMap_find___at_Lean_MetavarContext_getExprAssignment___spec__1(x_3, x_2); @@ -3310,7 +3542,7 @@ lean_object* lean_metavar_ctx_get_delayed_assignment(lean_object* x_1, lean_obje _start: { lean_object* x_3; lean_object* x_4; -x_3 = lean_ctor_get(x_1, 3); +x_3 = lean_ctor_get(x_1, 5); lean_inc(x_3); lean_dec(x_1); x_4 = l_PersistentHashMap_find___at_Lean_MetavarContext_getDelayedAssignment___spec__1(x_3, x_2); @@ -3420,7 +3652,7 @@ uint8_t lean_metavar_ctx_is_level_assigned(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; uint8_t x_4; -x_3 = lean_ctor_get(x_1, 1); +x_3 = lean_ctor_get(x_1, 3); lean_inc(x_3); lean_dec(x_1); x_4 = l_PersistentHashMap_contains___at_Lean_MetavarContext_isLevelAssigned___spec__1(x_3, x_2); @@ -3530,7 +3762,7 @@ uint8_t lean_metavar_ctx_is_expr_assigned(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; uint8_t x_4; -x_3 = lean_ctor_get(x_1, 2); +x_3 = lean_ctor_get(x_1, 4); lean_inc(x_3); lean_dec(x_1); x_4 = l_PersistentHashMap_contains___at_Lean_MetavarContext_isExprAssigned___spec__1(x_3, x_2); @@ -3640,7 +3872,7 @@ uint8_t lean_metavar_ctx_is_delayed_assigned(lean_object* x_1, lean_object* x_2) _start: { lean_object* x_3; uint8_t x_4; -x_3 = lean_ctor_get(x_1, 3); +x_3 = lean_ctor_get(x_1, 5); lean_inc(x_3); lean_dec(x_1); x_4 = l_PersistentHashMap_contains___at_Lean_MetavarContext_isDelayedAssigned___spec__1(x_3, x_2); @@ -4317,32 +4549,38 @@ x_3 = !lean_is_exclusive(x_1); if (x_3 == 0) { lean_object* x_4; lean_object* x_5; -x_4 = lean_ctor_get(x_1, 3); +x_4 = lean_ctor_get(x_1, 5); x_5 = l_PersistentHashMap_erase___at_Lean_MetavarContext_eraseDelayed___spec__1(x_4, x_2); lean_dec(x_2); -lean_ctor_set(x_1, 3, x_5); +lean_ctor_set(x_1, 5, x_5); return x_1; } else { -lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; x_6 = lean_ctor_get(x_1, 0); x_7 = lean_ctor_get(x_1, 1); x_8 = lean_ctor_get(x_1, 2); x_9 = lean_ctor_get(x_1, 3); +x_10 = lean_ctor_get(x_1, 4); +x_11 = lean_ctor_get(x_1, 5); +lean_inc(x_11); +lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_dec(x_1); -x_10 = l_PersistentHashMap_erase___at_Lean_MetavarContext_eraseDelayed___spec__1(x_9, x_2); +x_12 = l_PersistentHashMap_erase___at_Lean_MetavarContext_eraseDelayed___spec__1(x_11, x_2); lean_dec(x_2); -x_11 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_11, 0, x_6); -lean_ctor_set(x_11, 1, x_7); -lean_ctor_set(x_11, 2, x_8); -lean_ctor_set(x_11, 3, x_10); -return x_11; +x_13 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_13, 0, x_6); +lean_ctor_set(x_13, 1, x_7); +lean_ctor_set(x_13, 2, x_8); +lean_ctor_set(x_13, 3, x_9); +lean_ctor_set(x_13, 4, x_10); +lean_ctor_set(x_13, 5, x_12); +return x_13; } } } @@ -4366,166 +4604,270 @@ lean_dec(x_2); return x_3; } } -uint8_t l_Lean_MetavarContext_metavarContextIsAbstractMetavarContext___lambda__1(lean_object* x_1, lean_object* x_2) { +lean_object* l_PersistentHashMap_findAtAux___main___at_Lean_MetavarContext_isLevelAssignable___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { -uint8_t x_3; -x_3 = 0; -return x_3; +lean_object* x_6; uint8_t x_7; +x_6 = lean_array_get_size(x_1); +x_7 = lean_nat_dec_lt(x_4, x_6); +lean_dec(x_6); +if (x_7 == 0) +{ +lean_object* x_8; +lean_dec(x_4); +x_8 = lean_box(0); +return x_8; +} +else +{ +lean_object* x_9; uint8_t x_10; +x_9 = lean_array_fget(x_1, x_4); +x_10 = lean_name_dec_eq(x_5, x_9); +lean_dec(x_9); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_unsigned_to_nat(1u); +x_12 = lean_nat_add(x_4, x_11); +lean_dec(x_4); +x_3 = lean_box(0); +x_4 = x_12; +goto _start; +} +else +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_array_fget(x_2, x_4); +lean_dec(x_4); +x_15 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_15, 0, x_14); +return x_15; } } -lean_object* l_Lean_MetavarContext_metavarContextIsAbstractMetavarContext___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5) { +} +} +lean_object* l_PersistentHashMap_findAux___main___at_Lean_MetavarContext_isLevelAssignable___spec__2(lean_object* x_1, size_t x_2, lean_object* x_3) { _start: { -lean_object* x_6; lean_object* x_7; -x_6 = lean_box(0); -x_7 = lean_metavar_ctx_mk_decl(x_1, x_2, x_6, x_3, x_4, x_5); -return x_7; +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; size_t x_5; size_t x_6; size_t x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_4 = lean_ctor_get(x_1, 0); +x_5 = 5; +x_6 = l_PersistentHashMap_insertAux___main___rarg___closed__2; +x_7 = x_2 & x_6; +x_8 = lean_usize_to_nat(x_7); +x_9 = lean_box(2); +x_10 = lean_array_get(x_9, x_4, x_8); +lean_dec(x_8); +switch (lean_obj_tag(x_10)) { +case 0: +{ +lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_10, 1); +lean_inc(x_12); +lean_dec(x_10); +x_13 = lean_name_dec_eq(x_3, x_11); +lean_dec(x_11); +if (x_13 == 0) +{ +lean_object* x_14; +lean_dec(x_12); +x_14 = lean_box(0); +return x_14; +} +else +{ +lean_object* x_15; +x_15 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_15, 0, x_12); +return x_15; } } -lean_object* _init_l_Lean_MetavarContext_metavarContextIsAbstractMetavarContext___closed__1() { +case 1: +{ +lean_object* x_16; size_t x_17; lean_object* x_18; +x_16 = lean_ctor_get(x_10, 0); +lean_inc(x_16); +lean_dec(x_10); +x_17 = x_2 >> x_5; +x_18 = l_PersistentHashMap_findAux___main___at_Lean_MetavarContext_isLevelAssignable___spec__2(x_16, x_17, x_3); +lean_dec(x_16); +return x_18; +} +default: +{ +lean_object* x_19; +x_19 = lean_box(0); +return x_19; +} +} +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_20 = lean_ctor_get(x_1, 0); +x_21 = lean_ctor_get(x_1, 1); +x_22 = lean_unsigned_to_nat(0u); +x_23 = l_PersistentHashMap_findAtAux___main___at_Lean_MetavarContext_isLevelAssignable___spec__3(x_20, x_21, lean_box(0), x_22, x_3); +return x_23; +} +} +} +lean_object* l_PersistentHashMap_find___at_Lean_MetavarContext_isLevelAssignable___spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; size_t x_4; lean_object* x_5; +x_3 = lean_ctor_get(x_1, 0); +x_4 = lean_name_hash_usize(x_2); +x_5 = l_PersistentHashMap_findAux___main___at_Lean_MetavarContext_isLevelAssignable___spec__2(x_3, x_4, x_2); +return x_5; +} +} +lean_object* l_panicWithPos___at_Lean_MetavarContext_isLevelAssignable___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; lean_object* x_19; lean_object* x_20; +x_5 = l_panicWithPos___rarg___closed__1; +x_6 = lean_string_append(x_5, x_1); +x_7 = l_panicWithPos___rarg___closed__2; +x_8 = lean_string_append(x_6, x_7); +x_9 = l_Nat_repr(x_2); +x_10 = lean_string_append(x_8, x_9); +lean_dec(x_9); +x_11 = l_panicWithPos___rarg___closed__2; +x_12 = lean_string_append(x_10, x_11); +x_13 = l_Nat_repr(x_3); +x_14 = lean_string_append(x_12, x_13); +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_Bool_Inhabited; +x_19 = lean_box(x_18); +x_20 = lean_panic_fn(x_17); +return x_20; +} +} +lean_object* _init_l_Lean_MetavarContext_isLevelAssignable___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_MetavarContext_metavarContextIsAbstractMetavarContext___lambda__1___boxed), 2, 0); +x_1 = lean_mk_string("unknown universe metavariable"); return x_1; } } -lean_object* _init_l_Lean_MetavarContext_metavarContextIsAbstractMetavarContext___closed__2() { +lean_object* l_Lean_MetavarContext_isLevelAssignable(lean_object* x_1, lean_object* x_2) { _start: { -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(lean_metavar_ctx_get_level_assignment), 2, 0); -return x_1; -} -} -lean_object* _init_l_Lean_MetavarContext_metavarContextIsAbstractMetavarContext___closed__3() { -_start: +lean_object* x_3; lean_object* x_4; +x_3 = lean_ctor_get(x_1, 1); +x_4 = l_PersistentHashMap_find___at_Lean_MetavarContext_isLevelAssignable___spec__1(x_3, x_2); +if (lean_obj_tag(x_4) == 0) { -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(lean_metavar_ctx_assign_level), 3, 0); -return x_1; +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_5 = l_Lean_MetavarContext_getDecl___closed__1; +x_6 = lean_unsigned_to_nat(115u); +x_7 = lean_unsigned_to_nat(12u); +x_8 = l_Lean_MetavarContext_isLevelAssignable___closed__1; +x_9 = l_panicWithPos___at_Lean_MetavarContext_isLevelAssignable___spec__4(x_5, x_6, x_7, x_8); +return x_9; } -} -lean_object* _init_l_Lean_MetavarContext_metavarContextIsAbstractMetavarContext___closed__4() { -_start: +else { -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(lean_metavar_ctx_get_expr_assignment), 2, 0); -return x_1; -} -} -lean_object* _init_l_Lean_MetavarContext_metavarContextIsAbstractMetavarContext___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(lean_metavar_ctx_assign_expr), 3, 0); -return x_1; -} -} -lean_object* _init_l_Lean_MetavarContext_metavarContextIsAbstractMetavarContext___closed__6() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_MetavarContext_getDecl___boxed), 2, 0); -return x_1; -} -} -lean_object* _init_l_Lean_MetavarContext_metavarContextIsAbstractMetavarContext___closed__7() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(lean_metavar_ctx_assign_delayed), 5, 0); -return x_1; -} -} -lean_object* _init_l_Lean_MetavarContext_metavarContextIsAbstractMetavarContext___closed__8() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(lean_metavar_ctx_get_delayed_assignment), 2, 0); -return x_1; -} -} -lean_object* _init_l_Lean_MetavarContext_metavarContextIsAbstractMetavarContext___closed__9() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(lean_metavar_ctx_erase_delayed), 2, 0); -return x_1; -} -} -lean_object* _init_l_Lean_MetavarContext_metavarContextIsAbstractMetavarContext___closed__10() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_MetavarContext_metavarContextIsAbstractMetavarContext___lambda__2___boxed), 5, 0); -return x_1; -} -} -lean_object* _init_l_Lean_MetavarContext_metavarContextIsAbstractMetavarContext___closed__11() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; lean_object* x_12; lean_object* x_13; -x_1 = l_Lean_MetavarContext_Inhabited___closed__1; -x_2 = l_Lean_MetavarContext_metavarContextIsAbstractMetavarContext___closed__1; -x_3 = l_Lean_MetavarContext_metavarContextIsAbstractMetavarContext___closed__2; -x_4 = l_Lean_MetavarContext_metavarContextIsAbstractMetavarContext___closed__3; -x_5 = l_Lean_MetavarContext_metavarContextIsAbstractMetavarContext___closed__4; -x_6 = l_Lean_MetavarContext_metavarContextIsAbstractMetavarContext___closed__5; -x_7 = l_Lean_MetavarContext_metavarContextIsAbstractMetavarContext___closed__6; -x_8 = l_Lean_MetavarContext_metavarContextIsAbstractMetavarContext___closed__7; -x_9 = l_Lean_MetavarContext_metavarContextIsAbstractMetavarContext___closed__8; -x_10 = l_Lean_MetavarContext_metavarContextIsAbstractMetavarContext___closed__9; -x_11 = 1; -x_12 = l_Lean_MetavarContext_metavarContextIsAbstractMetavarContext___closed__10; -x_13 = lean_alloc_ctor(0, 12, 1); -lean_ctor_set(x_13, 0, x_1); -lean_ctor_set(x_13, 1, x_2); -lean_ctor_set(x_13, 2, x_3); -lean_ctor_set(x_13, 3, x_4); -lean_ctor_set(x_13, 4, x_2); -lean_ctor_set(x_13, 5, x_5); -lean_ctor_set(x_13, 6, x_6); -lean_ctor_set(x_13, 7, x_7); -lean_ctor_set(x_13, 8, x_8); -lean_ctor_set(x_13, 9, x_9); -lean_ctor_set(x_13, 10, x_10); -lean_ctor_set(x_13, 11, x_12); -lean_ctor_set_uint8(x_13, sizeof(void*)*12, x_11); +lean_object* x_10; lean_object* x_11; uint8_t x_12; lean_object* x_13; +x_10 = lean_ctor_get(x_4, 0); +lean_inc(x_10); +lean_dec(x_4); +x_11 = lean_ctor_get(x_1, 0); +x_12 = lean_nat_dec_eq(x_10, x_11); +lean_dec(x_10); +x_13 = lean_box(x_12); return x_13; } } -lean_object* _init_l_Lean_MetavarContext_metavarContextIsAbstractMetavarContext() { +} +lean_object* l_PersistentHashMap_findAtAux___main___at_Lean_MetavarContext_isLevelAssignable___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { -lean_object* x_1; -x_1 = l_Lean_MetavarContext_metavarContextIsAbstractMetavarContext___closed__11; -return x_1; +lean_object* x_6; +x_6 = l_PersistentHashMap_findAtAux___main___at_Lean_MetavarContext_isLevelAssignable___spec__3(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +return x_6; } } -lean_object* l_Lean_MetavarContext_metavarContextIsAbstractMetavarContext___lambda__1___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l_PersistentHashMap_findAux___main___at_Lean_MetavarContext_isLevelAssignable___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +size_t x_4; lean_object* x_5; +x_4 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_5 = l_PersistentHashMap_findAux___main___at_Lean_MetavarContext_isLevelAssignable___spec__2(x_1, x_4, x_3); +lean_dec(x_3); +lean_dec(x_1); +return x_5; +} +} +lean_object* l_PersistentHashMap_find___at_Lean_MetavarContext_isLevelAssignable___spec__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_PersistentHashMap_find___at_Lean_MetavarContext_isLevelAssignable___spec__1(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +lean_object* l_panicWithPos___at_Lean_MetavarContext_isLevelAssignable___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_panicWithPos___at_Lean_MetavarContext_isLevelAssignable___spec__4(x_1, x_2, x_3, x_4); +lean_dec(x_4); +lean_dec(x_1); +return x_5; +} +} +lean_object* l_Lean_MetavarContext_isLevelAssignable___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_MetavarContext_isLevelAssignable(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +uint8_t l_Lean_MetavarContext_isExprAssignable(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; +x_3 = l_Lean_MetavarContext_getDecl(x_1, x_2); +x_4 = lean_ctor_get(x_3, 3); +lean_inc(x_4); +lean_dec(x_3); +x_5 = lean_ctor_get(x_1, 0); +x_6 = lean_nat_dec_eq(x_4, x_5); +lean_dec(x_4); +return x_6; +} +} +lean_object* l_Lean_MetavarContext_isExprAssignable___boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; -x_3 = l_Lean_MetavarContext_metavarContextIsAbstractMetavarContext___lambda__1(x_1, x_2); +x_3 = l_Lean_MetavarContext_isExprAssignable(x_1, x_2); lean_dec(x_2); lean_dec(x_1); x_4 = lean_box(x_3); return x_4; } } -lean_object* l_Lean_MetavarContext_metavarContextIsAbstractMetavarContext___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -uint8_t x_6; lean_object* x_7; -x_6 = lean_unbox(x_5); -lean_dec(x_5); -x_7 = l_Lean_MetavarContext_metavarContextIsAbstractMetavarContext___lambda__2(x_1, x_2, x_3, x_4, x_6); -return x_7; -} -} -uint8_t l_Lean_AbstractMetavarContext_hasAssignedLevelMVar___main___at_Lean_MetavarContext_hasAssignedLevelMVar___spec__1(lean_object* x_1, lean_object* x_2) { +uint8_t l_Lean_MetavarContext_hasAssignedLevelMVar___main(lean_object* x_1, lean_object* x_2) { _start: { switch (lean_obj_tag(x_2)) { @@ -4585,7 +4927,7 @@ else { uint8_t x_13; lean_inc(x_1); -x_13 = l_Lean_AbstractMetavarContext_hasAssignedLevelMVar___main___at_Lean_MetavarContext_hasAssignedLevelMVar___spec__1(x_1, x_7); +x_13 = l_Lean_MetavarContext_hasAssignedLevelMVar___main(x_1, x_7); if (x_13 == 0) { uint8_t x_14; @@ -4647,7 +4989,7 @@ else { uint8_t x_23; lean_inc(x_1); -x_23 = l_Lean_AbstractMetavarContext_hasAssignedLevelMVar___main___at_Lean_MetavarContext_hasAssignedLevelMVar___spec__1(x_1, x_17); +x_23 = l_Lean_MetavarContext_hasAssignedLevelMVar___main(x_1, x_17); if (x_23 == 0) { uint8_t x_24; @@ -4677,53 +5019,41 @@ return x_26; } case 5: { -lean_object* x_27; lean_object* x_28; +lean_object* x_27; uint8_t x_28; x_27 = lean_ctor_get(x_2, 0); lean_inc(x_27); lean_dec(x_2); -x_28 = lean_metavar_ctx_get_level_assignment(x_1, x_27); -if (lean_obj_tag(x_28) == 0) -{ -uint8_t x_29; -x_29 = 0; -return x_29; -} -else -{ -uint8_t x_30; -lean_dec(x_28); -x_30 = 1; -return x_30; -} +x_28 = lean_metavar_ctx_is_level_assigned(x_1, x_27); +return x_28; } default: { -uint8_t x_31; +uint8_t x_29; lean_dec(x_2); lean_dec(x_1); -x_31 = 0; -return x_31; +x_29 = 0; +return x_29; } } } } +lean_object* l_Lean_MetavarContext_hasAssignedLevelMVar___main___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l_Lean_MetavarContext_hasAssignedLevelMVar___main(x_1, x_2); +x_4 = lean_box(x_3); +return x_4; +} +} uint8_t l_Lean_MetavarContext_hasAssignedLevelMVar(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; -x_3 = l_Lean_AbstractMetavarContext_hasAssignedLevelMVar___main___at_Lean_MetavarContext_hasAssignedLevelMVar___spec__1(x_1, x_2); +x_3 = l_Lean_MetavarContext_hasAssignedLevelMVar___main(x_1, x_2); return x_3; } } -lean_object* l_Lean_AbstractMetavarContext_hasAssignedLevelMVar___main___at_Lean_MetavarContext_hasAssignedLevelMVar___spec__1___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; lean_object* x_4; -x_3 = l_Lean_AbstractMetavarContext_hasAssignedLevelMVar___main___at_Lean_MetavarContext_hasAssignedLevelMVar___spec__1(x_1, x_2); -x_4 = lean_box(x_3); -return x_4; -} -} lean_object* l_Lean_MetavarContext_hasAssignedLevelMVar___boxed(lean_object* x_1, lean_object* x_2) { _start: { @@ -4733,7 +5063,7 @@ x_4 = lean_box(x_3); return x_4; } } -uint8_t l_List_foldr___main___at_Lean_MetavarContext_hasAssignedMVar___spec__2(lean_object* x_1, uint8_t x_2, lean_object* x_3) { +uint8_t l_List_foldr___main___at_Lean_MetavarContext_hasAssignedMVar___main___spec__1(lean_object* x_1, uint8_t x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_3) == 0) @@ -4750,8 +5080,8 @@ x_5 = lean_ctor_get(x_3, 1); lean_inc(x_5); lean_dec(x_3); lean_inc(x_1); -x_6 = l_List_foldr___main___at_Lean_MetavarContext_hasAssignedMVar___spec__2(x_1, x_2, x_5); -x_7 = l_Lean_AbstractMetavarContext_hasAssignedLevelMVar___main___at_Lean_MetavarContext_hasAssignedLevelMVar___spec__1(x_1, x_4); +x_6 = l_List_foldr___main___at_Lean_MetavarContext_hasAssignedMVar___main___spec__1(x_1, x_2, x_5); +x_7 = l_Lean_MetavarContext_hasAssignedLevelMVar___main(x_1, x_4); if (x_7 == 0) { return x_6; @@ -4765,716 +5095,704 @@ return x_8; } } } -uint8_t l_Lean_AbstractMetavarContext_hasAssignedMVar___main___at_Lean_MetavarContext_hasAssignedMVar___spec__1(lean_object* x_1, lean_object* x_2) { +uint8_t l_Lean_MetavarContext_hasAssignedMVar___main(lean_object* x_1, lean_object* x_2) { _start: { switch (lean_obj_tag(x_2)) { case 2: { -lean_object* x_3; lean_object* x_4; +lean_object* x_3; uint8_t x_4; x_3 = lean_ctor_get(x_2, 0); lean_inc(x_3); lean_dec(x_2); -x_4 = lean_metavar_ctx_get_expr_assignment(x_1, x_3); -if (lean_obj_tag(x_4) == 0) -{ -uint8_t x_5; -x_5 = 0; -return x_5; -} -else -{ -uint8_t x_6; -lean_dec(x_4); -x_6 = 1; -return x_6; -} +x_4 = lean_metavar_ctx_is_expr_assigned(x_1, x_3); +return x_4; } case 3: { -lean_object* x_7; uint8_t x_8; -x_7 = lean_ctor_get(x_2, 0); -lean_inc(x_7); +lean_object* x_5; uint8_t x_6; +x_5 = lean_ctor_get(x_2, 0); +lean_inc(x_5); lean_dec(x_2); -x_8 = l_Lean_AbstractMetavarContext_hasAssignedLevelMVar___main___at_Lean_MetavarContext_hasAssignedLevelMVar___spec__1(x_1, x_7); -return x_8; +x_6 = l_Lean_MetavarContext_hasAssignedLevelMVar___main(x_1, x_5); +return x_6; } case 4: { -lean_object* x_9; uint8_t x_10; uint8_t x_11; -x_9 = lean_ctor_get(x_2, 1); -lean_inc(x_9); +lean_object* x_7; uint8_t x_8; uint8_t x_9; +x_7 = lean_ctor_get(x_2, 1); +lean_inc(x_7); lean_dec(x_2); -x_10 = 0; -x_11 = l_List_foldr___main___at_Lean_MetavarContext_hasAssignedMVar___spec__2(x_1, x_10, x_9); -return x_11; +x_8 = 0; +x_9 = l_List_foldr___main___at_Lean_MetavarContext_hasAssignedMVar___main___spec__1(x_1, x_8, x_7); +return x_9; } case 5: { -lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_12 = lean_ctor_get(x_2, 0); -lean_inc(x_12); -x_13 = lean_ctor_get(x_2, 1); -lean_inc(x_13); +lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_10 = lean_ctor_get(x_2, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_2, 1); +lean_inc(x_11); lean_dec(x_2); -x_14 = lean_expr_has_expr_mvar(x_12); +x_12 = lean_expr_has_expr_mvar(x_10); +if (x_12 == 0) +{ +uint8_t x_13; +x_13 = lean_expr_has_level_mvar(x_10); +if (x_13 == 0) +{ +uint8_t x_14; +lean_dec(x_10); +x_14 = lean_expr_has_expr_mvar(x_11); if (x_14 == 0) { uint8_t x_15; -x_15 = lean_expr_has_level_mvar(x_12); +x_15 = lean_expr_has_level_mvar(x_11); if (x_15 == 0) { uint8_t x_16; -lean_dec(x_12); -x_16 = lean_expr_has_expr_mvar(x_13); -if (x_16 == 0) -{ -uint8_t x_17; -x_17 = lean_expr_has_level_mvar(x_13); -if (x_17 == 0) -{ -uint8_t x_18; -lean_dec(x_13); +lean_dec(x_11); lean_dec(x_1); -x_18 = 0; -return x_18; +x_16 = 0; +return x_16; } else { -x_2 = x_13; +x_2 = x_11; goto _start; } } else { -x_2 = x_13; +x_2 = x_11; goto _start; } } else { +uint8_t x_19; +lean_inc(x_1); +x_19 = l_Lean_MetavarContext_hasAssignedMVar___main(x_1, x_10); +if (x_19 == 0) +{ +uint8_t x_20; +x_20 = lean_expr_has_expr_mvar(x_11); +if (x_20 == 0) +{ uint8_t x_21; -lean_inc(x_1); -x_21 = l_Lean_AbstractMetavarContext_hasAssignedMVar___main___at_Lean_MetavarContext_hasAssignedMVar___spec__1(x_1, x_12); +x_21 = lean_expr_has_level_mvar(x_11); if (x_21 == 0) { -uint8_t x_22; -x_22 = lean_expr_has_expr_mvar(x_13); -if (x_22 == 0) -{ -uint8_t x_23; -x_23 = lean_expr_has_level_mvar(x_13); -if (x_23 == 0) -{ -lean_dec(x_13); +lean_dec(x_11); lean_dec(x_1); -return x_21; +return x_19; } else { -x_2 = x_13; +x_2 = x_11; goto _start; } } else { -x_2 = x_13; +x_2 = x_11; goto _start; } } else { +uint8_t x_24; +lean_dec(x_11); +lean_dec(x_1); +x_24 = 1; +return x_24; +} +} +} +else +{ +uint8_t x_25; +lean_inc(x_1); +x_25 = l_Lean_MetavarContext_hasAssignedMVar___main(x_1, x_10); +if (x_25 == 0) +{ uint8_t x_26; -lean_dec(x_13); -lean_dec(x_1); -x_26 = 1; -return x_26; -} -} -} -else +x_26 = lean_expr_has_expr_mvar(x_11); +if (x_26 == 0) { uint8_t x_27; -lean_inc(x_1); -x_27 = l_Lean_AbstractMetavarContext_hasAssignedMVar___main___at_Lean_MetavarContext_hasAssignedMVar___spec__1(x_1, x_12); +x_27 = lean_expr_has_level_mvar(x_11); if (x_27 == 0) { -uint8_t x_28; -x_28 = lean_expr_has_expr_mvar(x_13); -if (x_28 == 0) -{ -uint8_t x_29; -x_29 = lean_expr_has_level_mvar(x_13); -if (x_29 == 0) -{ -lean_dec(x_13); +lean_dec(x_11); lean_dec(x_1); -return x_27; +return x_25; } else { -x_2 = x_13; +x_2 = x_11; goto _start; } } else { -x_2 = x_13; +x_2 = x_11; goto _start; } } else { -uint8_t x_32; -lean_dec(x_13); +uint8_t x_30; +lean_dec(x_11); lean_dec(x_1); -x_32 = 1; -return x_32; +x_30 = 1; +return x_30; } } } case 6: { -lean_object* x_33; lean_object* x_34; uint8_t x_35; -x_33 = lean_ctor_get(x_2, 1); -lean_inc(x_33); -x_34 = lean_ctor_get(x_2, 2); -lean_inc(x_34); +lean_object* x_31; lean_object* x_32; uint8_t x_33; +x_31 = lean_ctor_get(x_2, 1); +lean_inc(x_31); +x_32 = lean_ctor_get(x_2, 2); +lean_inc(x_32); lean_dec(x_2); -x_35 = lean_expr_has_expr_mvar(x_33); +x_33 = lean_expr_has_expr_mvar(x_31); +if (x_33 == 0) +{ +uint8_t x_34; +x_34 = lean_expr_has_level_mvar(x_31); +if (x_34 == 0) +{ +uint8_t x_35; +lean_dec(x_31); +x_35 = lean_expr_has_expr_mvar(x_32); if (x_35 == 0) { uint8_t x_36; -x_36 = lean_expr_has_level_mvar(x_33); +x_36 = lean_expr_has_level_mvar(x_32); if (x_36 == 0) { uint8_t x_37; -lean_dec(x_33); -x_37 = lean_expr_has_expr_mvar(x_34); -if (x_37 == 0) -{ -uint8_t x_38; -x_38 = lean_expr_has_level_mvar(x_34); -if (x_38 == 0) -{ -uint8_t x_39; -lean_dec(x_34); +lean_dec(x_32); lean_dec(x_1); -x_39 = 0; -return x_39; +x_37 = 0; +return x_37; } else { -x_2 = x_34; +x_2 = x_32; goto _start; } } else { -x_2 = x_34; +x_2 = x_32; goto _start; } } else { +uint8_t x_40; +lean_inc(x_1); +x_40 = l_Lean_MetavarContext_hasAssignedMVar___main(x_1, x_31); +if (x_40 == 0) +{ +uint8_t x_41; +x_41 = lean_expr_has_expr_mvar(x_32); +if (x_41 == 0) +{ uint8_t x_42; -lean_inc(x_1); -x_42 = l_Lean_AbstractMetavarContext_hasAssignedMVar___main___at_Lean_MetavarContext_hasAssignedMVar___spec__1(x_1, x_33); +x_42 = lean_expr_has_level_mvar(x_32); if (x_42 == 0) { -uint8_t x_43; -x_43 = lean_expr_has_expr_mvar(x_34); -if (x_43 == 0) -{ -uint8_t x_44; -x_44 = lean_expr_has_level_mvar(x_34); -if (x_44 == 0) -{ -lean_dec(x_34); +lean_dec(x_32); lean_dec(x_1); -return x_42; +return x_40; } else { -x_2 = x_34; +x_2 = x_32; goto _start; } } else { -x_2 = x_34; +x_2 = x_32; goto _start; } } else { +uint8_t x_45; +lean_dec(x_32); +lean_dec(x_1); +x_45 = 1; +return x_45; +} +} +} +else +{ +uint8_t x_46; +lean_inc(x_1); +x_46 = l_Lean_MetavarContext_hasAssignedMVar___main(x_1, x_31); +if (x_46 == 0) +{ uint8_t x_47; -lean_dec(x_34); -lean_dec(x_1); -x_47 = 1; -return x_47; -} -} -} -else +x_47 = lean_expr_has_expr_mvar(x_32); +if (x_47 == 0) { uint8_t x_48; -lean_inc(x_1); -x_48 = l_Lean_AbstractMetavarContext_hasAssignedMVar___main___at_Lean_MetavarContext_hasAssignedMVar___spec__1(x_1, x_33); +x_48 = lean_expr_has_level_mvar(x_32); if (x_48 == 0) { -uint8_t x_49; -x_49 = lean_expr_has_expr_mvar(x_34); -if (x_49 == 0) -{ -uint8_t x_50; -x_50 = lean_expr_has_level_mvar(x_34); -if (x_50 == 0) -{ -lean_dec(x_34); +lean_dec(x_32); lean_dec(x_1); -return x_48; +return x_46; } else { -x_2 = x_34; +x_2 = x_32; goto _start; } } else { -x_2 = x_34; +x_2 = x_32; goto _start; } } else { -uint8_t x_53; -lean_dec(x_34); +uint8_t x_51; +lean_dec(x_32); lean_dec(x_1); -x_53 = 1; -return x_53; +x_51 = 1; +return x_51; } } } case 7: { -lean_object* x_54; lean_object* x_55; uint8_t x_56; -x_54 = lean_ctor_get(x_2, 1); -lean_inc(x_54); -x_55 = lean_ctor_get(x_2, 2); -lean_inc(x_55); +lean_object* x_52; lean_object* x_53; uint8_t x_54; +x_52 = lean_ctor_get(x_2, 1); +lean_inc(x_52); +x_53 = lean_ctor_get(x_2, 2); +lean_inc(x_53); lean_dec(x_2); -x_56 = lean_expr_has_expr_mvar(x_54); +x_54 = lean_expr_has_expr_mvar(x_52); +if (x_54 == 0) +{ +uint8_t x_55; +x_55 = lean_expr_has_level_mvar(x_52); +if (x_55 == 0) +{ +uint8_t x_56; +lean_dec(x_52); +x_56 = lean_expr_has_expr_mvar(x_53); if (x_56 == 0) { uint8_t x_57; -x_57 = lean_expr_has_level_mvar(x_54); +x_57 = lean_expr_has_level_mvar(x_53); if (x_57 == 0) { uint8_t x_58; -lean_dec(x_54); -x_58 = lean_expr_has_expr_mvar(x_55); -if (x_58 == 0) -{ -uint8_t x_59; -x_59 = lean_expr_has_level_mvar(x_55); -if (x_59 == 0) -{ -uint8_t x_60; -lean_dec(x_55); +lean_dec(x_53); lean_dec(x_1); -x_60 = 0; -return x_60; +x_58 = 0; +return x_58; } else { -x_2 = x_55; +x_2 = x_53; goto _start; } } else { -x_2 = x_55; +x_2 = x_53; goto _start; } } else { +uint8_t x_61; +lean_inc(x_1); +x_61 = l_Lean_MetavarContext_hasAssignedMVar___main(x_1, x_52); +if (x_61 == 0) +{ +uint8_t x_62; +x_62 = lean_expr_has_expr_mvar(x_53); +if (x_62 == 0) +{ uint8_t x_63; -lean_inc(x_1); -x_63 = l_Lean_AbstractMetavarContext_hasAssignedMVar___main___at_Lean_MetavarContext_hasAssignedMVar___spec__1(x_1, x_54); +x_63 = lean_expr_has_level_mvar(x_53); if (x_63 == 0) { -uint8_t x_64; -x_64 = lean_expr_has_expr_mvar(x_55); -if (x_64 == 0) -{ -uint8_t x_65; -x_65 = lean_expr_has_level_mvar(x_55); -if (x_65 == 0) -{ -lean_dec(x_55); +lean_dec(x_53); lean_dec(x_1); -return x_63; +return x_61; } else { -x_2 = x_55; +x_2 = x_53; goto _start; } } else { -x_2 = x_55; +x_2 = x_53; goto _start; } } else { +uint8_t x_66; +lean_dec(x_53); +lean_dec(x_1); +x_66 = 1; +return x_66; +} +} +} +else +{ +uint8_t x_67; +lean_inc(x_1); +x_67 = l_Lean_MetavarContext_hasAssignedMVar___main(x_1, x_52); +if (x_67 == 0) +{ uint8_t x_68; -lean_dec(x_55); -lean_dec(x_1); -x_68 = 1; -return x_68; -} -} -} -else +x_68 = lean_expr_has_expr_mvar(x_53); +if (x_68 == 0) { uint8_t x_69; -lean_inc(x_1); -x_69 = l_Lean_AbstractMetavarContext_hasAssignedMVar___main___at_Lean_MetavarContext_hasAssignedMVar___spec__1(x_1, x_54); +x_69 = lean_expr_has_level_mvar(x_53); if (x_69 == 0) { -uint8_t x_70; -x_70 = lean_expr_has_expr_mvar(x_55); -if (x_70 == 0) -{ -uint8_t x_71; -x_71 = lean_expr_has_level_mvar(x_55); -if (x_71 == 0) -{ -lean_dec(x_55); +lean_dec(x_53); lean_dec(x_1); -return x_69; +return x_67; } else { -x_2 = x_55; +x_2 = x_53; goto _start; } } else { -x_2 = x_55; +x_2 = x_53; goto _start; } } else { -uint8_t x_74; -lean_dec(x_55); +uint8_t x_72; +lean_dec(x_53); lean_dec(x_1); -x_74 = 1; -return x_74; +x_72 = 1; +return x_72; } } } case 8: { -lean_object* x_75; lean_object* x_76; lean_object* x_77; uint8_t x_78; uint8_t x_99; -x_75 = lean_ctor_get(x_2, 1); +lean_object* x_73; lean_object* x_74; lean_object* x_75; uint8_t x_76; uint8_t x_97; +x_73 = lean_ctor_get(x_2, 1); +lean_inc(x_73); +x_74 = lean_ctor_get(x_2, 2); +lean_inc(x_74); +x_75 = lean_ctor_get(x_2, 3); lean_inc(x_75); -x_76 = lean_ctor_get(x_2, 2); -lean_inc(x_76); -x_77 = lean_ctor_get(x_2, 3); -lean_inc(x_77); lean_dec(x_2); -x_99 = lean_expr_has_expr_mvar(x_75); -if (x_99 == 0) +x_97 = lean_expr_has_expr_mvar(x_73); +if (x_97 == 0) +{ +uint8_t x_98; +x_98 = lean_expr_has_level_mvar(x_73); +if (x_98 == 0) +{ +uint8_t x_99; +lean_dec(x_73); +x_99 = 0; +x_76 = x_99; +goto block_96; +} +else { uint8_t x_100; -x_100 = lean_expr_has_level_mvar(x_75); +lean_inc(x_1); +x_100 = l_Lean_MetavarContext_hasAssignedMVar___main(x_1, x_73); if (x_100 == 0) { +x_76 = x_100; +goto block_96; +} +else +{ uint8_t x_101; lean_dec(x_75); -x_101 = 0; -x_78 = x_101; -goto block_98; +lean_dec(x_74); +lean_dec(x_1); +x_101 = 1; +return x_101; +} +} } else { uint8_t x_102; lean_inc(x_1); -x_102 = l_Lean_AbstractMetavarContext_hasAssignedMVar___main___at_Lean_MetavarContext_hasAssignedMVar___spec__1(x_1, x_75); +x_102 = l_Lean_MetavarContext_hasAssignedMVar___main(x_1, x_73); if (x_102 == 0) { -x_78 = x_102; -goto block_98; +x_76 = x_102; +goto block_96; } else { uint8_t x_103; -lean_dec(x_77); -lean_dec(x_76); +lean_dec(x_75); +lean_dec(x_74); lean_dec(x_1); x_103 = 1; return x_103; } } -} -else +block_96: { -uint8_t x_104; -lean_inc(x_1); -x_104 = l_Lean_AbstractMetavarContext_hasAssignedMVar___main___at_Lean_MetavarContext_hasAssignedMVar___spec__1(x_1, x_75); -if (x_104 == 0) +uint8_t x_77; +x_77 = lean_expr_has_expr_mvar(x_74); +if (x_77 == 0) { -x_78 = x_104; -goto block_98; -} -else +uint8_t x_78; +x_78 = lean_expr_has_level_mvar(x_74); +if (x_78 == 0) { -uint8_t x_105; -lean_dec(x_77); -lean_dec(x_76); -lean_dec(x_1); -x_105 = 1; -return x_105; -} -} -block_98: +lean_dec(x_74); +if (x_76 == 0) { uint8_t x_79; -x_79 = lean_expr_has_expr_mvar(x_76); +x_79 = lean_expr_has_expr_mvar(x_75); if (x_79 == 0) { uint8_t x_80; -x_80 = lean_expr_has_level_mvar(x_76); +x_80 = lean_expr_has_level_mvar(x_75); if (x_80 == 0) { -lean_dec(x_76); -if (x_78 == 0) -{ -uint8_t x_81; -x_81 = lean_expr_has_expr_mvar(x_77); -if (x_81 == 0) -{ -uint8_t x_82; -x_82 = lean_expr_has_level_mvar(x_77); -if (x_82 == 0) -{ -lean_dec(x_77); +lean_dec(x_75); lean_dec(x_1); -return x_78; +return x_76; } else { -x_2 = x_77; +x_2 = x_75; goto _start; } } else { -x_2 = x_77; +x_2 = x_75; goto _start; } } else { +uint8_t x_83; +lean_dec(x_75); +lean_dec(x_1); +x_83 = 1; +return x_83; +} +} +else +{ +uint8_t x_84; +lean_inc(x_1); +x_84 = l_Lean_MetavarContext_hasAssignedMVar___main(x_1, x_74); +if (x_84 == 0) +{ uint8_t x_85; -lean_dec(x_77); -lean_dec(x_1); -x_85 = 1; -return x_85; -} -} -else +x_85 = lean_expr_has_expr_mvar(x_75); +if (x_85 == 0) { uint8_t x_86; -lean_inc(x_1); -x_86 = l_Lean_AbstractMetavarContext_hasAssignedMVar___main___at_Lean_MetavarContext_hasAssignedMVar___spec__1(x_1, x_76); +x_86 = lean_expr_has_level_mvar(x_75); if (x_86 == 0) { -uint8_t x_87; -x_87 = lean_expr_has_expr_mvar(x_77); -if (x_87 == 0) -{ -uint8_t x_88; -x_88 = lean_expr_has_level_mvar(x_77); -if (x_88 == 0) -{ -lean_dec(x_77); +lean_dec(x_75); lean_dec(x_1); -return x_86; +return x_84; } else { -x_2 = x_77; +x_2 = x_75; goto _start; } } else { -x_2 = x_77; +x_2 = x_75; goto _start; } } else { +uint8_t x_89; +lean_dec(x_75); +lean_dec(x_1); +x_89 = 1; +return x_89; +} +} +} +else +{ +uint8_t x_90; +lean_inc(x_1); +x_90 = l_Lean_MetavarContext_hasAssignedMVar___main(x_1, x_74); +if (x_90 == 0) +{ uint8_t x_91; -lean_dec(x_77); -lean_dec(x_1); -x_91 = 1; -return x_91; -} -} -} -else +x_91 = lean_expr_has_expr_mvar(x_75); +if (x_91 == 0) { uint8_t x_92; -lean_inc(x_1); -x_92 = l_Lean_AbstractMetavarContext_hasAssignedMVar___main___at_Lean_MetavarContext_hasAssignedMVar___spec__1(x_1, x_76); +x_92 = lean_expr_has_level_mvar(x_75); if (x_92 == 0) { -uint8_t x_93; -x_93 = lean_expr_has_expr_mvar(x_77); -if (x_93 == 0) -{ -uint8_t x_94; -x_94 = lean_expr_has_level_mvar(x_77); -if (x_94 == 0) -{ -lean_dec(x_77); +lean_dec(x_75); lean_dec(x_1); -return x_92; +return x_90; } else { -x_2 = x_77; +x_2 = x_75; goto _start; } } else { -x_2 = x_77; +x_2 = x_75; goto _start; } } else { -uint8_t x_97; -lean_dec(x_77); +uint8_t x_95; +lean_dec(x_75); lean_dec(x_1); -x_97 = 1; -return x_97; +x_95 = 1; +return x_95; } } } } case 10: { -lean_object* x_106; uint8_t x_107; -x_106 = lean_ctor_get(x_2, 1); -lean_inc(x_106); +lean_object* x_104; uint8_t x_105; +x_104 = lean_ctor_get(x_2, 1); +lean_inc(x_104); lean_dec(x_2); -x_107 = lean_expr_has_expr_mvar(x_106); -if (x_107 == 0) +x_105 = lean_expr_has_expr_mvar(x_104); +if (x_105 == 0) { -uint8_t x_108; -x_108 = lean_expr_has_level_mvar(x_106); -if (x_108 == 0) +uint8_t x_106; +x_106 = lean_expr_has_level_mvar(x_104); +if (x_106 == 0) { -uint8_t x_109; -lean_dec(x_106); +uint8_t x_107; +lean_dec(x_104); lean_dec(x_1); -x_109 = 0; -return x_109; +x_107 = 0; +return x_107; } else { -x_2 = x_106; +x_2 = x_104; goto _start; } } else { -x_2 = x_106; +x_2 = x_104; goto _start; } } case 11: { -lean_object* x_112; uint8_t x_113; -x_112 = lean_ctor_get(x_2, 2); -lean_inc(x_112); +lean_object* x_110; uint8_t x_111; +x_110 = lean_ctor_get(x_2, 2); +lean_inc(x_110); lean_dec(x_2); -x_113 = lean_expr_has_expr_mvar(x_112); -if (x_113 == 0) +x_111 = lean_expr_has_expr_mvar(x_110); +if (x_111 == 0) { -uint8_t x_114; -x_114 = lean_expr_has_level_mvar(x_112); -if (x_114 == 0) +uint8_t x_112; +x_112 = lean_expr_has_level_mvar(x_110); +if (x_112 == 0) { -uint8_t x_115; -lean_dec(x_112); +uint8_t x_113; +lean_dec(x_110); lean_dec(x_1); -x_115 = 0; -return x_115; +x_113 = 0; +return x_113; } else { -x_2 = x_112; +x_2 = x_110; goto _start; } } else { -x_2 = x_112; +x_2 = x_110; goto _start; } } default: { -uint8_t x_118; +uint8_t x_116; lean_dec(x_2); lean_dec(x_1); -x_118 = 0; -return x_118; +x_116 = 0; +return x_116; } } } } +lean_object* l_List_foldr___main___at_Lean_MetavarContext_hasAssignedMVar___main___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; uint8_t x_5; lean_object* x_6; +x_4 = lean_unbox(x_2); +lean_dec(x_2); +x_5 = l_List_foldr___main___at_Lean_MetavarContext_hasAssignedMVar___main___spec__1(x_1, x_4, x_3); +x_6 = lean_box(x_5); +return x_6; +} +} +lean_object* l_Lean_MetavarContext_hasAssignedMVar___main___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l_Lean_MetavarContext_hasAssignedMVar___main(x_1, x_2); +x_4 = lean_box(x_3); +return x_4; +} +} uint8_t l_Lean_MetavarContext_hasAssignedMVar(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; -x_3 = l_Lean_AbstractMetavarContext_hasAssignedMVar___main___at_Lean_MetavarContext_hasAssignedMVar___spec__1(x_1, x_2); +x_3 = l_Lean_MetavarContext_hasAssignedMVar___main(x_1, x_2); return x_3; } } -lean_object* l_List_foldr___main___at_Lean_MetavarContext_hasAssignedMVar___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -uint8_t x_4; uint8_t x_5; lean_object* x_6; -x_4 = lean_unbox(x_2); -lean_dec(x_2); -x_5 = l_List_foldr___main___at_Lean_MetavarContext_hasAssignedMVar___spec__2(x_1, x_4, x_3); -x_6 = lean_box(x_5); -return x_6; -} -} -lean_object* l_Lean_AbstractMetavarContext_hasAssignedMVar___main___at_Lean_MetavarContext_hasAssignedMVar___spec__1___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; lean_object* x_4; -x_3 = l_Lean_AbstractMetavarContext_hasAssignedMVar___main___at_Lean_MetavarContext_hasAssignedMVar___spec__1(x_1, x_2); -x_4 = lean_box(x_3); -return x_4; -} -} lean_object* l_Lean_MetavarContext_hasAssignedMVar___boxed(lean_object* x_1, lean_object* x_2) { _start: { @@ -5484,7 +5802,208 @@ x_4 = lean_box(x_3); return x_4; } } -lean_object* l_Lean_AbstractMetavarContext_instantiateLevelMVars___main___at_Lean_MetavarContext_instantiateLevelMVars___spec__1(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_MetavarContext_hasAssignableLevelMVar___main(lean_object* x_1, lean_object* x_2) { +_start: +{ +switch (lean_obj_tag(x_2)) { +case 1: +{ +lean_object* x_3; uint8_t x_4; +x_3 = lean_ctor_get(x_2, 0); +lean_inc(x_3); +lean_dec(x_2); +lean_inc(x_3); +x_4 = lean_level_has_mvar(x_3); +if (x_4 == 0) +{ +uint8_t x_5; lean_object* x_6; +lean_dec(x_3); +x_5 = 0; +x_6 = lean_box(x_5); +return x_6; +} +else +{ +x_2 = x_3; +goto _start; +} +} +case 2: +{ +lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_8 = lean_ctor_get(x_2, 0); +lean_inc(x_8); +x_9 = lean_ctor_get(x_2, 1); +lean_inc(x_9); +lean_dec(x_2); +lean_inc(x_8); +x_10 = lean_level_has_mvar(x_8); +if (x_10 == 0) +{ +uint8_t x_11; +lean_dec(x_8); +lean_inc(x_9); +x_11 = lean_level_has_mvar(x_9); +if (x_11 == 0) +{ +uint8_t x_12; lean_object* x_13; +lean_dec(x_9); +x_12 = 0; +x_13 = lean_box(x_12); +return x_13; +} +else +{ +x_2 = x_9; +goto _start; +} +} +else +{ +lean_object* x_15; uint8_t x_16; +x_15 = l_Lean_MetavarContext_hasAssignableLevelMVar___main(x_1, x_8); +x_16 = lean_unbox(x_15); +lean_dec(x_15); +if (x_16 == 0) +{ +uint8_t x_17; +lean_inc(x_9); +x_17 = lean_level_has_mvar(x_9); +if (x_17 == 0) +{ +lean_object* x_18; +lean_dec(x_9); +x_18 = lean_box(x_16); +return x_18; +} +else +{ +x_2 = x_9; +goto _start; +} +} +else +{ +uint8_t x_20; lean_object* x_21; +lean_dec(x_9); +x_20 = 1; +x_21 = lean_box(x_20); +return x_21; +} +} +} +case 3: +{ +lean_object* x_22; lean_object* x_23; uint8_t x_24; +x_22 = lean_ctor_get(x_2, 0); +lean_inc(x_22); +x_23 = lean_ctor_get(x_2, 1); +lean_inc(x_23); +lean_dec(x_2); +lean_inc(x_22); +x_24 = lean_level_has_mvar(x_22); +if (x_24 == 0) +{ +uint8_t x_25; +lean_dec(x_22); +lean_inc(x_23); +x_25 = lean_level_has_mvar(x_23); +if (x_25 == 0) +{ +uint8_t x_26; lean_object* x_27; +lean_dec(x_23); +x_26 = 0; +x_27 = lean_box(x_26); +return x_27; +} +else +{ +x_2 = x_23; +goto _start; +} +} +else +{ +lean_object* x_29; uint8_t x_30; +x_29 = l_Lean_MetavarContext_hasAssignableLevelMVar___main(x_1, x_22); +x_30 = lean_unbox(x_29); +lean_dec(x_29); +if (x_30 == 0) +{ +uint8_t x_31; +lean_inc(x_23); +x_31 = lean_level_has_mvar(x_23); +if (x_31 == 0) +{ +lean_object* x_32; +lean_dec(x_23); +x_32 = lean_box(x_30); +return x_32; +} +else +{ +x_2 = x_23; +goto _start; +} +} +else +{ +uint8_t x_34; lean_object* x_35; +lean_dec(x_23); +x_34 = 1; +x_35 = lean_box(x_34); +return x_35; +} +} +} +case 5: +{ +lean_object* x_36; lean_object* x_37; +x_36 = lean_ctor_get(x_2, 0); +lean_inc(x_36); +lean_dec(x_2); +x_37 = l_Lean_MetavarContext_isLevelAssignable(x_1, x_36); +lean_dec(x_36); +return x_37; +} +default: +{ +uint8_t x_38; lean_object* x_39; +lean_dec(x_2); +x_38 = 0; +x_39 = lean_box(x_38); +return x_39; +} +} +} +} +lean_object* l_Lean_MetavarContext_hasAssignableLevelMVar___main___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_MetavarContext_hasAssignableLevelMVar___main(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} +lean_object* l_Lean_MetavarContext_hasAssignableLevelMVar(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_MetavarContext_hasAssignableLevelMVar___main(x_1, x_2); +return x_3; +} +} +lean_object* l_Lean_MetavarContext_hasAssignableLevelMVar___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_MetavarContext_hasAssignableLevelMVar(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} +lean_object* l___private_Init_Lean_MetavarContext_1__instantiateLevelMVarsAux___main(lean_object* x_1, lean_object* x_2) { _start: { switch (lean_obj_tag(x_1)) { @@ -5493,7 +6012,7 @@ case 1: lean_object* x_3; lean_object* x_4; uint8_t x_5; x_3 = lean_ctor_get(x_1, 0); lean_inc(x_3); -x_4 = l_Lean_AbstractMetavarContext_instantiateLevelMVars___main___at_Lean_MetavarContext_instantiateLevelMVars___spec__1(x_3, x_2); +x_4 = l___private_Init_Lean_MetavarContext_1__instantiateLevelMVarsAux___main(x_3, x_2); x_5 = !lean_is_exclusive(x_4); if (x_5 == 0) { @@ -5525,13 +6044,13 @@ x_12 = lean_ctor_get(x_1, 0); lean_inc(x_12); x_13 = lean_ctor_get(x_1, 1); lean_inc(x_13); -x_14 = l_Lean_AbstractMetavarContext_instantiateLevelMVars___main___at_Lean_MetavarContext_instantiateLevelMVars___spec__1(x_12, x_2); +x_14 = l___private_Init_Lean_MetavarContext_1__instantiateLevelMVarsAux___main(x_12, x_2); x_15 = lean_ctor_get(x_14, 0); lean_inc(x_15); x_16 = lean_ctor_get(x_14, 1); lean_inc(x_16); lean_dec(x_14); -x_17 = l_Lean_AbstractMetavarContext_instantiateLevelMVars___main___at_Lean_MetavarContext_instantiateLevelMVars___spec__1(x_13, x_16); +x_17 = l___private_Init_Lean_MetavarContext_1__instantiateLevelMVarsAux___main(x_13, x_16); x_18 = !lean_is_exclusive(x_17); if (x_18 == 0) { @@ -5564,11 +6083,11 @@ lean_inc(x_25); x_26 = lean_ctor_get(x_1, 1); lean_inc(x_26); lean_dec(x_1); -x_27 = l_Lean_AbstractMetavarContext_instantiateLevelMVars___main___at_Lean_MetavarContext_instantiateLevelMVars___spec__1(x_25, x_2); +x_27 = l___private_Init_Lean_MetavarContext_1__instantiateLevelMVarsAux___main(x_25, x_2); x_28 = lean_ctor_get(x_27, 1); lean_inc(x_28); lean_dec(x_27); -x_29 = l_Lean_AbstractMetavarContext_instantiateLevelMVars___main___at_Lean_MetavarContext_instantiateLevelMVars___spec__1(x_26, x_28); +x_29 = l___private_Init_Lean_MetavarContext_1__instantiateLevelMVarsAux___main(x_26, x_28); x_30 = !lean_is_exclusive(x_29); if (x_30 == 0) { @@ -5638,7 +6157,7 @@ return x_49; else { lean_object* x_50; uint8_t x_51; -x_50 = l_Lean_AbstractMetavarContext_instantiateLevelMVars___main___at_Lean_MetavarContext_instantiateLevelMVars___spec__1(x_47, x_2); +x_50 = l___private_Init_Lean_MetavarContext_1__instantiateLevelMVarsAux___main(x_47, x_2); x_51 = !lean_is_exclusive(x_50); if (x_51 == 0) { @@ -5679,15 +6198,751 @@ return x_59; } } } -lean_object* l_Lean_MetavarContext_instantiateLevelMVars(lean_object* x_1, lean_object* x_2) { +lean_object* l___private_Init_Lean_MetavarContext_1__instantiateLevelMVarsAux(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Lean_AbstractMetavarContext_instantiateLevelMVars___main___at_Lean_MetavarContext_instantiateLevelMVars___spec__1(x_2, x_1); +x_3 = l___private_Init_Lean_MetavarContext_1__instantiateLevelMVarsAux___main(x_1, x_2); return x_3; } } -lean_object* l_panicWithPos___at_Lean_MetavarContext_instantiateMVars___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l___private_Init_Lean_MetavarContext_3__instantiateLevelMVars(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; +x_3 = !lean_is_exclusive(x_2); +if (x_3 == 0) +{ +lean_object* x_4; lean_object* x_5; uint8_t x_6; +x_4 = lean_ctor_get(x_2, 0); +x_5 = l___private_Init_Lean_MetavarContext_1__instantiateLevelMVarsAux___main(x_1, x_4); +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) +{ +lean_object* x_7; +x_7 = lean_ctor_get(x_5, 1); +lean_ctor_set(x_2, 0, x_7); +lean_ctor_set(x_5, 1, x_2); +return x_5; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_8 = lean_ctor_get(x_5, 0); +x_9 = lean_ctor_get(x_5, 1); +lean_inc(x_9); +lean_inc(x_8); +lean_dec(x_5); +lean_ctor_set(x_2, 0, x_9); +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_8); +lean_ctor_set(x_10, 1, x_2); +return x_10; +} +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_11 = lean_ctor_get(x_2, 0); +x_12 = lean_ctor_get(x_2, 1); +lean_inc(x_12); +lean_inc(x_11); +lean_dec(x_2); +x_13 = l___private_Init_Lean_MetavarContext_1__instantiateLevelMVarsAux___main(x_1, x_11); +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_13, 1); +lean_inc(x_15); +if (lean_is_exclusive(x_13)) { + lean_ctor_release(x_13, 0); + lean_ctor_release(x_13, 1); + x_16 = x_13; +} else { + lean_dec_ref(x_13); + x_16 = lean_box(0); +} +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_15); +lean_ctor_set(x_17, 1, x_12); +if (lean_is_scalar(x_16)) { + x_18 = lean_alloc_ctor(0, 2, 0); +} else { + x_18 = x_16; +} +lean_ctor_set(x_18, 0, x_14); +lean_ctor_set(x_18, 1, x_17); +return x_18; +} +} +} +lean_object* l_AssocList_find___main___at___private_Init_Lean_MetavarContext_4__visit___spec__2(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; +x_3 = lean_box(0); +return x_3; +} +else +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; +x_4 = lean_ctor_get(x_2, 0); +x_5 = lean_ctor_get(x_2, 1); +x_6 = lean_ctor_get(x_2, 2); +x_7 = lean_expr_eqv(x_4, x_1); +if (x_7 == 0) +{ +x_2 = x_6; +goto _start; +} +else +{ +lean_object* x_9; +lean_inc(x_5); +x_9 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_9, 0, x_5); +return x_9; +} +} +} +} +lean_object* l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; size_t x_5; size_t x_6; lean_object* x_7; lean_object* x_8; +x_3 = lean_ctor_get(x_1, 1); +x_4 = lean_array_get_size(x_3); +x_5 = lean_expr_hash(x_2); +x_6 = lean_usize_modn(x_5, x_4); +lean_dec(x_4); +x_7 = lean_array_uget(x_3, x_6); +x_8 = l_AssocList_find___main___at___private_Init_Lean_MetavarContext_4__visit___spec__2(x_2, x_7); +lean_dec(x_7); +return x_8; +} +} +uint8_t l_AssocList_contains___main___at___private_Init_Lean_MetavarContext_4__visit___spec__4(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +uint8_t x_3; +x_3 = 0; +return x_3; +} +else +{ +lean_object* x_4; lean_object* x_5; uint8_t x_6; +x_4 = lean_ctor_get(x_2, 0); +x_5 = lean_ctor_get(x_2, 2); +x_6 = lean_expr_eqv(x_4, x_1); +if (x_6 == 0) +{ +x_2 = x_5; +goto _start; +} +else +{ +uint8_t x_8; +x_8 = 1; +return x_8; +} +} +} +} +lean_object* l_AssocList_foldlM___main___at___private_Init_Lean_MetavarContext_4__visit___spec__7(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +return x_1; +} +else +{ +uint8_t x_3; +x_3 = !lean_is_exclusive(x_2); +if (x_3 == 0) +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; size_t x_7; size_t x_8; lean_object* x_9; lean_object* x_10; +x_4 = lean_ctor_get(x_2, 0); +x_5 = lean_ctor_get(x_2, 2); +x_6 = lean_array_get_size(x_1); +x_7 = lean_expr_hash(x_4); +x_8 = lean_usize_modn(x_7, x_6); +lean_dec(x_6); +x_9 = lean_array_uget(x_1, x_8); +lean_ctor_set(x_2, 2, x_9); +x_10 = lean_array_uset(x_1, x_8, x_2); +x_1 = x_10; +x_2 = x_5; +goto _start; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; size_t x_16; size_t x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_12 = lean_ctor_get(x_2, 0); +x_13 = lean_ctor_get(x_2, 1); +x_14 = lean_ctor_get(x_2, 2); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_dec(x_2); +x_15 = lean_array_get_size(x_1); +x_16 = lean_expr_hash(x_12); +x_17 = lean_usize_modn(x_16, x_15); +lean_dec(x_15); +x_18 = lean_array_uget(x_1, x_17); +x_19 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_19, 0, x_12); +lean_ctor_set(x_19, 1, x_13); +lean_ctor_set(x_19, 2, x_18); +x_20 = lean_array_uset(x_1, x_17, x_19); +x_1 = x_20; +x_2 = x_14; +goto _start; +} +} +} +} +lean_object* l_HashMapImp_moveEntries___main___at___private_Init_Lean_MetavarContext_4__visit___spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = lean_array_get_size(x_2); +x_5 = lean_nat_dec_lt(x_1, x_4); +lean_dec(x_4); +if (x_5 == 0) +{ +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +else +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_6 = lean_array_fget(x_2, x_1); +x_7 = lean_box(0); +x_8 = lean_array_fset(x_2, x_1, x_7); +x_9 = l_AssocList_foldlM___main___at___private_Init_Lean_MetavarContext_4__visit___spec__7(x_3, x_6); +x_10 = lean_unsigned_to_nat(1u); +x_11 = lean_nat_add(x_1, x_10); +lean_dec(x_1); +x_1 = x_11; +x_2 = x_8; +x_3 = x_9; +goto _start; +} +} +} +lean_object* l_HashMapImp_expand___at___private_Init_Lean_MetavarContext_4__visit___spec__5(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_3 = lean_array_get_size(x_2); +x_4 = lean_unsigned_to_nat(2u); +x_5 = lean_nat_mul(x_3, x_4); +lean_dec(x_3); +x_6 = lean_box(0); +x_7 = lean_mk_array(x_5, x_6); +x_8 = lean_unsigned_to_nat(0u); +x_9 = l_HashMapImp_moveEntries___main___at___private_Init_Lean_MetavarContext_4__visit___spec__6(x_8, x_2, x_7); +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_1); +lean_ctor_set(x_10, 1, x_9); +return x_10; +} +} +lean_object* l_AssocList_replace___main___at___private_Init_Lean_MetavarContext_4__visit___spec__8(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_3) == 0) +{ +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +else +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_3); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; +x_5 = lean_ctor_get(x_3, 0); +x_6 = lean_ctor_get(x_3, 1); +x_7 = lean_ctor_get(x_3, 2); +x_8 = lean_expr_eqv(x_5, x_1); +if (x_8 == 0) +{ +lean_object* x_9; +x_9 = l_AssocList_replace___main___at___private_Init_Lean_MetavarContext_4__visit___spec__8(x_1, x_2, x_7); +lean_ctor_set(x_3, 2, x_9); +return x_3; +} +else +{ +lean_dec(x_6); +lean_dec(x_5); +lean_ctor_set(x_3, 1, x_2); +lean_ctor_set(x_3, 0, x_1); +return x_3; +} +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_10 = lean_ctor_get(x_3, 0); +x_11 = lean_ctor_get(x_3, 1); +x_12 = lean_ctor_get(x_3, 2); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_dec(x_3); +x_13 = lean_expr_eqv(x_10, x_1); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; +x_14 = l_AssocList_replace___main___at___private_Init_Lean_MetavarContext_4__visit___spec__8(x_1, x_2, x_12); +x_15 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_15, 0, x_10); +lean_ctor_set(x_15, 1, x_11); +lean_ctor_set(x_15, 2, x_14); +return x_15; +} +else +{ +lean_object* x_16; +lean_dec(x_11); +lean_dec(x_10); +x_16 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_16, 0, x_1); +lean_ctor_set(x_16, 1, x_2); +lean_ctor_set(x_16, 2, x_12); +return x_16; +} +} +} +} +} +lean_object* l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_1); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; size_t x_8; size_t x_9; lean_object* x_10; uint8_t x_11; +x_5 = lean_ctor_get(x_1, 0); +x_6 = lean_ctor_get(x_1, 1); +x_7 = lean_array_get_size(x_6); +x_8 = lean_expr_hash(x_2); +x_9 = lean_usize_modn(x_8, x_7); +x_10 = lean_array_uget(x_6, x_9); +x_11 = l_AssocList_contains___main___at___private_Init_Lean_MetavarContext_4__visit___spec__4(x_2, x_10); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_12 = lean_unsigned_to_nat(1u); +x_13 = lean_nat_add(x_5, x_12); +lean_dec(x_5); +x_14 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_14, 0, x_2); +lean_ctor_set(x_14, 1, x_3); +lean_ctor_set(x_14, 2, x_10); +x_15 = lean_array_uset(x_6, x_9, x_14); +x_16 = lean_nat_dec_le(x_13, x_7); +lean_dec(x_7); +if (x_16 == 0) +{ +lean_object* x_17; +lean_free_object(x_1); +x_17 = l_HashMapImp_expand___at___private_Init_Lean_MetavarContext_4__visit___spec__5(x_13, x_15); +return x_17; +} +else +{ +lean_ctor_set(x_1, 1, x_15); +lean_ctor_set(x_1, 0, x_13); +return x_1; +} +} +else +{ +lean_object* x_18; lean_object* x_19; +lean_dec(x_7); +x_18 = l_AssocList_replace___main___at___private_Init_Lean_MetavarContext_4__visit___spec__8(x_2, x_3, x_10); +x_19 = lean_array_uset(x_6, x_9, x_18); +lean_ctor_set(x_1, 1, x_19); +return x_1; +} +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; size_t x_23; size_t x_24; lean_object* x_25; uint8_t x_26; +x_20 = lean_ctor_get(x_1, 0); +x_21 = lean_ctor_get(x_1, 1); +lean_inc(x_21); +lean_inc(x_20); +lean_dec(x_1); +x_22 = lean_array_get_size(x_21); +x_23 = lean_expr_hash(x_2); +x_24 = lean_usize_modn(x_23, x_22); +x_25 = lean_array_uget(x_21, x_24); +x_26 = l_AssocList_contains___main___at___private_Init_Lean_MetavarContext_4__visit___spec__4(x_2, x_25); +if (x_26 == 0) +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; +x_27 = lean_unsigned_to_nat(1u); +x_28 = lean_nat_add(x_20, x_27); +lean_dec(x_20); +x_29 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_29, 0, x_2); +lean_ctor_set(x_29, 1, x_3); +lean_ctor_set(x_29, 2, x_25); +x_30 = lean_array_uset(x_21, x_24, x_29); +x_31 = lean_nat_dec_le(x_28, x_22); +lean_dec(x_22); +if (x_31 == 0) +{ +lean_object* x_32; +x_32 = l_HashMapImp_expand___at___private_Init_Lean_MetavarContext_4__visit___spec__5(x_28, x_30); +return x_32; +} +else +{ +lean_object* x_33; +x_33 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_33, 0, x_28); +lean_ctor_set(x_33, 1, x_30); +return x_33; +} +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; +lean_dec(x_22); +x_34 = l_AssocList_replace___main___at___private_Init_Lean_MetavarContext_4__visit___spec__8(x_2, x_3, x_25); +x_35 = lean_array_uset(x_21, x_24, x_34); +x_36 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_36, 0, x_20); +lean_ctor_set(x_36, 1, x_35); +return x_36; +} +} +} +} +lean_object* l___private_Init_Lean_MetavarContext_4__visit(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = lean_expr_has_expr_mvar(x_2); +if (x_4 == 0) +{ +uint8_t x_5; +x_5 = lean_expr_has_level_mvar(x_2); +if (x_5 == 0) +{ +lean_object* x_6; +lean_dec(x_1); +x_6 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_6, 0, x_2); +lean_ctor_set(x_6, 1, x_3); +return x_6; +} +else +{ +lean_object* x_7; lean_object* x_8; +x_7 = lean_ctor_get(x_3, 1); +lean_inc(x_7); +x_8 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_7, x_2); +lean_dec(x_7); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; uint8_t x_10; +lean_inc(x_2); +x_9 = lean_apply_2(x_1, x_2, x_3); +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) +{ +lean_object* x_11; uint8_t x_12; +x_11 = lean_ctor_get(x_9, 1); +x_12 = !lean_is_exclusive(x_11); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = lean_ctor_get(x_9, 0); +x_14 = lean_ctor_get(x_11, 1); +lean_inc(x_13); +x_15 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_14, x_2, x_13); +lean_ctor_set(x_11, 1, x_15); +return x_9; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_16 = lean_ctor_get(x_9, 0); +x_17 = lean_ctor_get(x_11, 0); +x_18 = lean_ctor_get(x_11, 1); +lean_inc(x_18); +lean_inc(x_17); +lean_dec(x_11); +lean_inc(x_16); +x_19 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_18, x_2, x_16); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_17); +lean_ctor_set(x_20, 1, x_19); +lean_ctor_set(x_9, 1, x_20); +return x_9; +} +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_21 = lean_ctor_get(x_9, 1); +x_22 = lean_ctor_get(x_9, 0); +lean_inc(x_21); +lean_inc(x_22); +lean_dec(x_9); +x_23 = lean_ctor_get(x_21, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_21, 1); +lean_inc(x_24); +if (lean_is_exclusive(x_21)) { + lean_ctor_release(x_21, 0); + lean_ctor_release(x_21, 1); + x_25 = x_21; +} else { + lean_dec_ref(x_21); + x_25 = lean_box(0); +} +lean_inc(x_22); +x_26 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_24, x_2, x_22); +if (lean_is_scalar(x_25)) { + x_27 = lean_alloc_ctor(0, 2, 0); +} else { + x_27 = x_25; +} +lean_ctor_set(x_27, 0, x_23); +lean_ctor_set(x_27, 1, x_26); +x_28 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_28, 0, x_22); +lean_ctor_set(x_28, 1, x_27); +return x_28; +} +} +else +{ +lean_object* x_29; lean_object* x_30; +lean_dec(x_2); +lean_dec(x_1); +x_29 = lean_ctor_get(x_8, 0); +lean_inc(x_29); +lean_dec(x_8); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_3); +return x_30; +} +} +} +else +{ +lean_object* x_31; lean_object* x_32; +x_31 = lean_ctor_get(x_3, 1); +lean_inc(x_31); +x_32 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_31, x_2); +lean_dec(x_31); +if (lean_obj_tag(x_32) == 0) +{ +lean_object* x_33; uint8_t x_34; +lean_inc(x_2); +x_33 = lean_apply_2(x_1, x_2, x_3); +x_34 = !lean_is_exclusive(x_33); +if (x_34 == 0) +{ +lean_object* x_35; uint8_t x_36; +x_35 = lean_ctor_get(x_33, 1); +x_36 = !lean_is_exclusive(x_35); +if (x_36 == 0) +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_33, 0); +x_38 = lean_ctor_get(x_35, 1); +lean_inc(x_37); +x_39 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_38, x_2, x_37); +lean_ctor_set(x_35, 1, x_39); +return x_33; +} +else +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_40 = lean_ctor_get(x_33, 0); +x_41 = lean_ctor_get(x_35, 0); +x_42 = lean_ctor_get(x_35, 1); +lean_inc(x_42); +lean_inc(x_41); +lean_dec(x_35); +lean_inc(x_40); +x_43 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_42, x_2, x_40); +x_44 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_44, 0, x_41); +lean_ctor_set(x_44, 1, x_43); +lean_ctor_set(x_33, 1, x_44); +return x_33; +} +} +else +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_45 = lean_ctor_get(x_33, 1); +x_46 = lean_ctor_get(x_33, 0); +lean_inc(x_45); +lean_inc(x_46); +lean_dec(x_33); +x_47 = lean_ctor_get(x_45, 0); +lean_inc(x_47); +x_48 = lean_ctor_get(x_45, 1); +lean_inc(x_48); +if (lean_is_exclusive(x_45)) { + lean_ctor_release(x_45, 0); + lean_ctor_release(x_45, 1); + x_49 = x_45; +} else { + lean_dec_ref(x_45); + x_49 = lean_box(0); +} +lean_inc(x_46); +x_50 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_48, x_2, x_46); +if (lean_is_scalar(x_49)) { + x_51 = lean_alloc_ctor(0, 2, 0); +} else { + x_51 = x_49; +} +lean_ctor_set(x_51, 0, x_47); +lean_ctor_set(x_51, 1, x_50); +x_52 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_52, 0, x_46); +lean_ctor_set(x_52, 1, x_51); +return x_52; +} +} +else +{ +lean_object* x_53; lean_object* x_54; +lean_dec(x_2); +lean_dec(x_1); +x_53 = lean_ctor_get(x_32, 0); +lean_inc(x_53); +lean_dec(x_32); +x_54 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_54, 0, x_53); +lean_ctor_set(x_54, 1, x_3); +return x_54; +} +} +} +} +lean_object* l_AssocList_find___main___at___private_Init_Lean_MetavarContext_4__visit___spec__2___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_AssocList_find___main___at___private_Init_Lean_MetavarContext_4__visit___spec__2(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +lean_object* l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +lean_object* l_AssocList_contains___main___at___private_Init_Lean_MetavarContext_4__visit___spec__4___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l_AssocList_contains___main___at___private_Init_Lean_MetavarContext_4__visit___spec__4(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +x_4 = lean_box(x_3); +return x_4; +} +} +lean_object* l___private_Init_Lean_MetavarContext_5__getMCtx(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +lean_object* l___private_Init_Lean_MetavarContext_6__modifyCtx(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; +x_3 = !lean_is_exclusive(x_2); +if (x_3 == 0) +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_4 = lean_ctor_get(x_2, 0); +x_5 = lean_apply_1(x_1, x_4); +lean_ctor_set(x_2, 0, x_5); +x_6 = lean_box(0); +x_7 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_2); +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_2, 0); +x_9 = lean_ctor_get(x_2, 1); +lean_inc(x_9); +lean_inc(x_8); +lean_dec(x_2); +x_10 = lean_apply_1(x_1, x_8); +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_11, 1, x_9); +x_12 = lean_box(0); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_11); +return x_13; +} +} +} +lean_object* _init_l_panicWithPos___at___private_Init_Lean_MetavarContext_7__instantiateDelayedAux___main___spec__1___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Id_Monad; +x_2 = l_StateT_Monad___rarg(x_1); +return x_2; +} +} +lean_object* _init_l_panicWithPos___at___private_Init_Lean_MetavarContext_7__instantiateDelayedAux___main___spec__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_panicWithPos___at___private_Init_Lean_MetavarContext_7__instantiateDelayedAux___main___spec__1___closed__1; +x_3 = l_monadInhabited___rarg(x_2, x_1); +return x_3; +} +} +lean_object* l_panicWithPos___at___private_Init_Lean_MetavarContext_7__instantiateDelayedAux___main___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; @@ -5706,13 +6961,1061 @@ lean_dec(x_14); x_16 = l_panicWithPos___rarg___closed__3; x_17 = lean_string_append(x_15, x_16); x_18 = lean_string_append(x_17, x_4); -x_19 = l_panicWithPos___at_Lean_AbstractMetavarContext_InstantiateExprMVars_instantiateDelayedAux___main___spec__1___rarg___closed__2; +x_19 = l_panicWithPos___at___private_Init_Lean_MetavarContext_7__instantiateDelayedAux___main___spec__1___closed__2; x_20 = lean_panic_fn(x_18); x_21 = lean_apply_1(x_20, x_5); return x_21; } } -lean_object* l_Lean_AbstractMetavarContext_InstantiateExprMVars_instantiateDelayedAux___main___at_Lean_MetavarContext_instantiateMVars___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l___private_Init_Lean_MetavarContext_7__instantiateDelayedAux___main(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; uint8_t x_8; +x_7 = lean_unsigned_to_nat(0u); +x_8 = lean_nat_dec_eq(x_4, x_7); +if (x_8 == 0) +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +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_12 = lean_array_get(x_11, x_3, x_10); +lean_inc(x_2); +x_13 = l_Lean_LocalContext_findFVar(x_2, x_12); +lean_dec(x_12); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +lean_dec(x_10); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_14 = l_Lean_MetavarContext_getDecl___closed__1; +x_15 = lean_unsigned_to_nat(196u); +x_16 = lean_unsigned_to_nat(12u); +x_17 = l_Nat_foldRevAux___main___at_Lean_LocalContext_mkBinding___spec__1___closed__1; +x_18 = l_panicWithPos___at___private_Init_Lean_MetavarContext_7__instantiateDelayedAux___main___spec__1(x_14, x_15, x_16, x_17, x_6); +return x_18; +} +else +{ +lean_object* x_19; +x_19 = lean_ctor_get(x_13, 0); +lean_inc(x_19); +lean_dec(x_13); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; lean_object* x_21; uint8_t x_22; lean_object* x_23; lean_object* x_24; uint8_t x_35; +x_20 = lean_ctor_get(x_19, 2); +lean_inc(x_20); +x_21 = lean_ctor_get(x_19, 3); +lean_inc(x_21); +x_22 = lean_ctor_get_uint8(x_19, sizeof(void*)*4); +lean_dec(x_19); +x_35 = lean_expr_has_expr_mvar(x_21); +if (x_35 == 0) +{ +uint8_t x_36; +x_36 = lean_expr_has_level_mvar(x_21); +if (x_36 == 0) +{ +x_23 = x_21; +x_24 = x_6; +goto block_34; +} +else +{ +lean_object* x_37; lean_object* x_38; +x_37 = lean_ctor_get(x_6, 1); +lean_inc(x_37); +x_38 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_37, x_21); +lean_dec(x_37); +if (lean_obj_tag(x_38) == 0) +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; uint8_t x_42; +lean_inc(x_1); +lean_inc(x_21); +x_39 = lean_apply_2(x_1, x_21, x_6); +x_40 = lean_ctor_get(x_39, 1); +lean_inc(x_40); +x_41 = lean_ctor_get(x_39, 0); +lean_inc(x_41); +lean_dec(x_39); +x_42 = !lean_is_exclusive(x_40); +if (x_42 == 0) +{ +lean_object* x_43; lean_object* x_44; +x_43 = lean_ctor_get(x_40, 1); +lean_inc(x_41); +x_44 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_43, x_21, x_41); +lean_ctor_set(x_40, 1, x_44); +x_23 = x_41; +x_24 = x_40; +goto block_34; +} +else +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_45 = lean_ctor_get(x_40, 0); +x_46 = lean_ctor_get(x_40, 1); +lean_inc(x_46); +lean_inc(x_45); +lean_dec(x_40); +lean_inc(x_41); +x_47 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_46, x_21, x_41); +x_48 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_48, 0, x_45); +lean_ctor_set(x_48, 1, x_47); +x_23 = x_41; +x_24 = x_48; +goto block_34; +} +} +else +{ +lean_object* x_49; +lean_dec(x_21); +x_49 = lean_ctor_get(x_38, 0); +lean_inc(x_49); +lean_dec(x_38); +x_23 = x_49; +x_24 = x_6; +goto block_34; +} +} +} +else +{ +lean_object* x_50; lean_object* x_51; +x_50 = lean_ctor_get(x_6, 1); +lean_inc(x_50); +x_51 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_50, x_21); +lean_dec(x_50); +if (lean_obj_tag(x_51) == 0) +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; uint8_t x_55; +lean_inc(x_1); +lean_inc(x_21); +x_52 = lean_apply_2(x_1, x_21, x_6); +x_53 = lean_ctor_get(x_52, 1); +lean_inc(x_53); +x_54 = lean_ctor_get(x_52, 0); +lean_inc(x_54); +lean_dec(x_52); +x_55 = !lean_is_exclusive(x_53); +if (x_55 == 0) +{ +lean_object* x_56; lean_object* x_57; +x_56 = lean_ctor_get(x_53, 1); +lean_inc(x_54); +x_57 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_56, x_21, x_54); +lean_ctor_set(x_53, 1, x_57); +x_23 = x_54; +x_24 = x_53; +goto block_34; +} +else +{ +lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_58 = lean_ctor_get(x_53, 0); +x_59 = lean_ctor_get(x_53, 1); +lean_inc(x_59); +lean_inc(x_58); +lean_dec(x_53); +lean_inc(x_54); +x_60 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_59, x_21, x_54); +x_61 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_61, 0, x_58); +lean_ctor_set(x_61, 1, x_60); +x_23 = x_54; +x_24 = x_61; +goto block_34; +} +} +else +{ +lean_object* x_62; +lean_dec(x_21); +x_62 = lean_ctor_get(x_51, 0); +lean_inc(x_62); +lean_dec(x_51); +x_23 = x_62; +x_24 = x_6; +goto block_34; +} +} +block_34: +{ +uint8_t x_25; +x_25 = lean_expr_has_expr_mvar(x_23); +if (x_25 == 0) +{ +uint8_t x_26; +x_26 = lean_expr_has_level_mvar(x_23); +if (x_26 == 0) +{ +lean_object* x_27; lean_object* x_28; +x_27 = lean_expr_abstract_range(x_23, x_10, x_3); +lean_dec(x_23); +x_28 = lean_expr_mk_lambda(x_20, x_22, x_27, x_5); +x_4 = x_10; +x_5 = x_28; +x_6 = x_24; +goto _start; +} +else +{ +lean_object* x_30; lean_object* x_31; +lean_dec(x_23); +lean_dec(x_20); +lean_dec(x_10); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_30 = lean_box(0); +x_31 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_31, 0, x_30); +lean_ctor_set(x_31, 1, x_24); +return x_31; +} +} +else +{ +lean_object* x_32; lean_object* x_33; +lean_dec(x_23); +lean_dec(x_20); +lean_dec(x_10); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_32 = lean_box(0); +x_33 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_24); +return x_33; +} +} +} +else +{ +lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; uint8_t x_116; +x_63 = lean_ctor_get(x_19, 2); +lean_inc(x_63); +x_64 = lean_ctor_get(x_19, 3); +lean_inc(x_64); +x_65 = lean_ctor_get(x_19, 4); +lean_inc(x_65); +lean_dec(x_19); +x_116 = lean_expr_has_expr_mvar(x_64); +if (x_116 == 0) +{ +uint8_t x_117; +x_117 = lean_expr_has_level_mvar(x_64); +if (x_117 == 0) +{ +x_66 = x_64; +x_67 = x_6; +goto block_115; +} +else +{ +lean_object* x_118; lean_object* x_119; +x_118 = lean_ctor_get(x_6, 1); +lean_inc(x_118); +x_119 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_118, x_64); +lean_dec(x_118); +if (lean_obj_tag(x_119) == 0) +{ +lean_object* x_120; lean_object* x_121; lean_object* x_122; uint8_t x_123; +lean_inc(x_1); +lean_inc(x_64); +x_120 = lean_apply_2(x_1, x_64, x_6); +x_121 = lean_ctor_get(x_120, 1); +lean_inc(x_121); +x_122 = lean_ctor_get(x_120, 0); +lean_inc(x_122); +lean_dec(x_120); +x_123 = !lean_is_exclusive(x_121); +if (x_123 == 0) +{ +lean_object* x_124; lean_object* x_125; +x_124 = lean_ctor_get(x_121, 1); +lean_inc(x_122); +x_125 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_124, x_64, x_122); +lean_ctor_set(x_121, 1, x_125); +x_66 = x_122; +x_67 = x_121; +goto block_115; +} +else +{ +lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; +x_126 = lean_ctor_get(x_121, 0); +x_127 = lean_ctor_get(x_121, 1); +lean_inc(x_127); +lean_inc(x_126); +lean_dec(x_121); +lean_inc(x_122); +x_128 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_127, x_64, x_122); +x_129 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_129, 0, x_126); +lean_ctor_set(x_129, 1, x_128); +x_66 = x_122; +x_67 = x_129; +goto block_115; +} +} +else +{ +lean_object* x_130; +lean_dec(x_64); +x_130 = lean_ctor_get(x_119, 0); +lean_inc(x_130); +lean_dec(x_119); +x_66 = x_130; +x_67 = x_6; +goto block_115; +} +} +} +else +{ +lean_object* x_131; lean_object* x_132; +x_131 = lean_ctor_get(x_6, 1); +lean_inc(x_131); +x_132 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_131, x_64); +lean_dec(x_131); +if (lean_obj_tag(x_132) == 0) +{ +lean_object* x_133; lean_object* x_134; lean_object* x_135; uint8_t x_136; +lean_inc(x_1); +lean_inc(x_64); +x_133 = lean_apply_2(x_1, x_64, x_6); +x_134 = lean_ctor_get(x_133, 1); +lean_inc(x_134); +x_135 = lean_ctor_get(x_133, 0); +lean_inc(x_135); +lean_dec(x_133); +x_136 = !lean_is_exclusive(x_134); +if (x_136 == 0) +{ +lean_object* x_137; lean_object* x_138; +x_137 = lean_ctor_get(x_134, 1); +lean_inc(x_135); +x_138 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_137, x_64, x_135); +lean_ctor_set(x_134, 1, x_138); +x_66 = x_135; +x_67 = x_134; +goto block_115; +} +else +{ +lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; +x_139 = lean_ctor_get(x_134, 0); +x_140 = lean_ctor_get(x_134, 1); +lean_inc(x_140); +lean_inc(x_139); +lean_dec(x_134); +lean_inc(x_135); +x_141 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_140, x_64, x_135); +x_142 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_142, 0, x_139); +lean_ctor_set(x_142, 1, x_141); +x_66 = x_135; +x_67 = x_142; +goto block_115; +} +} +else +{ +lean_object* x_143; +lean_dec(x_64); +x_143 = lean_ctor_get(x_132, 0); +lean_inc(x_143); +lean_dec(x_132); +x_66 = x_143; +x_67 = x_6; +goto block_115; +} +} +block_115: +{ +lean_object* x_68; lean_object* x_69; uint8_t x_81; +x_81 = lean_expr_has_expr_mvar(x_66); +if (x_81 == 0) +{ +uint8_t x_82; +x_82 = lean_expr_has_level_mvar(x_66); +if (x_82 == 0) +{ +uint8_t x_83; +x_83 = lean_expr_has_expr_mvar(x_65); +if (x_83 == 0) +{ +uint8_t x_84; +x_84 = lean_expr_has_level_mvar(x_65); +if (x_84 == 0) +{ +x_68 = x_65; +x_69 = x_67; +goto block_80; +} +else +{ +lean_object* x_85; lean_object* x_86; +x_85 = lean_ctor_get(x_67, 1); +lean_inc(x_85); +x_86 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_85, x_65); +lean_dec(x_85); +if (lean_obj_tag(x_86) == 0) +{ +lean_object* x_87; lean_object* x_88; lean_object* x_89; uint8_t x_90; +lean_inc(x_1); +lean_inc(x_65); +x_87 = lean_apply_2(x_1, x_65, x_67); +x_88 = lean_ctor_get(x_87, 1); +lean_inc(x_88); +x_89 = lean_ctor_get(x_87, 0); +lean_inc(x_89); +lean_dec(x_87); +x_90 = !lean_is_exclusive(x_88); +if (x_90 == 0) +{ +lean_object* x_91; lean_object* x_92; +x_91 = lean_ctor_get(x_88, 1); +lean_inc(x_89); +x_92 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_91, x_65, x_89); +lean_ctor_set(x_88, 1, x_92); +x_68 = x_89; +x_69 = x_88; +goto block_80; +} +else +{ +lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; +x_93 = lean_ctor_get(x_88, 0); +x_94 = lean_ctor_get(x_88, 1); +lean_inc(x_94); +lean_inc(x_93); +lean_dec(x_88); +lean_inc(x_89); +x_95 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_94, x_65, x_89); +x_96 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_96, 0, x_93); +lean_ctor_set(x_96, 1, x_95); +x_68 = x_89; +x_69 = x_96; +goto block_80; +} +} +else +{ +lean_object* x_97; +lean_dec(x_65); +x_97 = lean_ctor_get(x_86, 0); +lean_inc(x_97); +lean_dec(x_86); +x_68 = x_97; +x_69 = x_67; +goto block_80; +} +} +} +else +{ +lean_object* x_98; lean_object* x_99; +x_98 = lean_ctor_get(x_67, 1); +lean_inc(x_98); +x_99 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_98, x_65); +lean_dec(x_98); +if (lean_obj_tag(x_99) == 0) +{ +lean_object* x_100; lean_object* x_101; lean_object* x_102; uint8_t x_103; +lean_inc(x_1); +lean_inc(x_65); +x_100 = lean_apply_2(x_1, x_65, x_67); +x_101 = lean_ctor_get(x_100, 1); +lean_inc(x_101); +x_102 = lean_ctor_get(x_100, 0); +lean_inc(x_102); +lean_dec(x_100); +x_103 = !lean_is_exclusive(x_101); +if (x_103 == 0) +{ +lean_object* x_104; lean_object* x_105; +x_104 = lean_ctor_get(x_101, 1); +lean_inc(x_102); +x_105 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_104, x_65, x_102); +lean_ctor_set(x_101, 1, x_105); +x_68 = x_102; +x_69 = x_101; +goto block_80; +} +else +{ +lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; +x_106 = lean_ctor_get(x_101, 0); +x_107 = lean_ctor_get(x_101, 1); +lean_inc(x_107); +lean_inc(x_106); +lean_dec(x_101); +lean_inc(x_102); +x_108 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_107, x_65, x_102); +x_109 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_109, 0, x_106); +lean_ctor_set(x_109, 1, x_108); +x_68 = x_102; +x_69 = x_109; +goto block_80; +} +} +else +{ +lean_object* x_110; +lean_dec(x_65); +x_110 = lean_ctor_get(x_99, 0); +lean_inc(x_110); +lean_dec(x_99); +x_68 = x_110; +x_69 = x_67; +goto block_80; +} +} +} +else +{ +lean_object* x_111; lean_object* x_112; +lean_dec(x_66); +lean_dec(x_65); +lean_dec(x_63); +lean_dec(x_10); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_111 = lean_box(0); +x_112 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_112, 0, x_111); +lean_ctor_set(x_112, 1, x_67); +return x_112; +} +} +else +{ +lean_object* x_113; lean_object* x_114; +lean_dec(x_66); +lean_dec(x_65); +lean_dec(x_63); +lean_dec(x_10); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_113 = lean_box(0); +x_114 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_114, 0, x_113); +lean_ctor_set(x_114, 1, x_67); +return x_114; +} +block_80: +{ +uint8_t x_70; +x_70 = lean_expr_has_expr_mvar(x_68); +if (x_70 == 0) +{ +uint8_t x_71; +x_71 = lean_expr_has_level_mvar(x_68); +if (x_71 == 0) +{ +lean_object* x_72; lean_object* x_73; lean_object* x_74; +x_72 = lean_expr_abstract_range(x_66, x_10, x_3); +lean_dec(x_66); +x_73 = lean_expr_abstract_range(x_68, x_10, x_3); +lean_dec(x_68); +x_74 = lean_expr_mk_let(x_63, x_72, x_73, x_5); +x_4 = x_10; +x_5 = x_74; +x_6 = x_69; +goto _start; +} +else +{ +lean_object* x_76; lean_object* x_77; +lean_dec(x_68); +lean_dec(x_66); +lean_dec(x_63); +lean_dec(x_10); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_76 = lean_box(0); +x_77 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_77, 0, x_76); +lean_ctor_set(x_77, 1, x_69); +return x_77; +} +} +else +{ +lean_object* x_78; lean_object* x_79; +lean_dec(x_68); +lean_dec(x_66); +lean_dec(x_63); +lean_dec(x_10); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_78 = lean_box(0); +x_79 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_79, 0, x_78); +lean_ctor_set(x_79, 1, x_69); +return x_79; +} +} +} +} +} +} +else +{ +lean_object* x_144; lean_object* x_145; +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_144 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_144, 0, x_5); +x_145 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_145, 0, x_144); +lean_ctor_set(x_145, 1, x_6); +return x_145; +} +} +} +lean_object* l_panicWithPos___at___private_Init_Lean_MetavarContext_7__instantiateDelayedAux___main___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_panicWithPos___at___private_Init_Lean_MetavarContext_7__instantiateDelayedAux___main___spec__1(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_1); +return x_6; +} +} +lean_object* l___private_Init_Lean_MetavarContext_7__instantiateDelayedAux___main___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = l___private_Init_Lean_MetavarContext_7__instantiateDelayedAux___main(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_3); +return x_7; +} +} +lean_object* l___private_Init_Lean_MetavarContext_7__instantiateDelayedAux(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = l___private_Init_Lean_MetavarContext_7__instantiateDelayedAux___main(x_1, x_2, x_3, x_4, x_5, x_6); +return x_7; +} +} +lean_object* l___private_Init_Lean_MetavarContext_7__instantiateDelayedAux___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = l___private_Init_Lean_MetavarContext_7__instantiateDelayedAux(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_3); +return x_7; +} +} +lean_object* l___private_Init_Lean_MetavarContext_8__instantiateDelayed(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_81; +x_5 = lean_ctor_get(x_3, 0); +lean_inc(x_5); +x_6 = lean_ctor_get(x_3, 1); +lean_inc(x_6); +x_7 = lean_ctor_get(x_3, 2); +lean_inc(x_7); +lean_dec(x_3); +x_81 = lean_expr_has_expr_mvar(x_7); +if (x_81 == 0) +{ +uint8_t x_82; +x_82 = lean_expr_has_level_mvar(x_7); +if (x_82 == 0) +{ +x_8 = x_7; +x_9 = x_4; +goto block_80; +} +else +{ +lean_object* x_83; lean_object* x_84; +x_83 = lean_ctor_get(x_4, 1); +lean_inc(x_83); +x_84 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_83, x_7); +lean_dec(x_83); +if (lean_obj_tag(x_84) == 0) +{ +lean_object* x_85; lean_object* x_86; lean_object* x_87; uint8_t x_88; +lean_inc(x_1); +lean_inc(x_7); +x_85 = lean_apply_2(x_1, x_7, x_4); +x_86 = lean_ctor_get(x_85, 1); +lean_inc(x_86); +x_87 = lean_ctor_get(x_85, 0); +lean_inc(x_87); +lean_dec(x_85); +x_88 = !lean_is_exclusive(x_86); +if (x_88 == 0) +{ +lean_object* x_89; lean_object* x_90; +x_89 = lean_ctor_get(x_86, 1); +lean_inc(x_87); +x_90 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_89, x_7, x_87); +lean_ctor_set(x_86, 1, x_90); +x_8 = x_87; +x_9 = x_86; +goto block_80; +} +else +{ +lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; +x_91 = lean_ctor_get(x_86, 0); +x_92 = lean_ctor_get(x_86, 1); +lean_inc(x_92); +lean_inc(x_91); +lean_dec(x_86); +lean_inc(x_87); +x_93 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_92, x_7, x_87); +x_94 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_94, 0, x_91); +lean_ctor_set(x_94, 1, x_93); +x_8 = x_87; +x_9 = x_94; +goto block_80; +} +} +else +{ +lean_object* x_95; +lean_dec(x_7); +x_95 = lean_ctor_get(x_84, 0); +lean_inc(x_95); +lean_dec(x_84); +x_8 = x_95; +x_9 = x_4; +goto block_80; +} +} +} +else +{ +lean_object* x_96; lean_object* x_97; +x_96 = lean_ctor_get(x_4, 1); +lean_inc(x_96); +x_97 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_96, x_7); +lean_dec(x_96); +if (lean_obj_tag(x_97) == 0) +{ +lean_object* x_98; lean_object* x_99; lean_object* x_100; uint8_t x_101; +lean_inc(x_1); +lean_inc(x_7); +x_98 = lean_apply_2(x_1, x_7, x_4); +x_99 = lean_ctor_get(x_98, 1); +lean_inc(x_99); +x_100 = lean_ctor_get(x_98, 0); +lean_inc(x_100); +lean_dec(x_98); +x_101 = !lean_is_exclusive(x_99); +if (x_101 == 0) +{ +lean_object* x_102; lean_object* x_103; +x_102 = lean_ctor_get(x_99, 1); +lean_inc(x_100); +x_103 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_102, x_7, x_100); +lean_ctor_set(x_99, 1, x_103); +x_8 = x_100; +x_9 = x_99; +goto block_80; +} +else +{ +lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; +x_104 = lean_ctor_get(x_99, 0); +x_105 = lean_ctor_get(x_99, 1); +lean_inc(x_105); +lean_inc(x_104); +lean_dec(x_99); +lean_inc(x_100); +x_106 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_105, x_7, x_100); +x_107 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_107, 0, x_104); +lean_ctor_set(x_107, 1, x_106); +x_8 = x_100; +x_9 = x_107; +goto block_80; +} +} +else +{ +lean_object* x_108; +lean_dec(x_7); +x_108 = lean_ctor_get(x_97, 0); +lean_inc(x_108); +lean_dec(x_97); +x_8 = x_108; +x_9 = x_4; +goto block_80; +} +} +block_80: +{ +uint8_t x_10; +x_10 = lean_expr_has_expr_mvar(x_8); +if (x_10 == 0) +{ +uint8_t x_11; +x_11 = lean_expr_has_level_mvar(x_8); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_12 = lean_array_get_size(x_6); +x_13 = lean_expr_abstract(x_8, x_6); +lean_inc(x_5); +x_14 = l___private_Init_Lean_MetavarContext_7__instantiateDelayedAux___main(x_1, x_5, x_6, x_12, x_13, x_9); +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +if (lean_obj_tag(x_15) == 0) +{ +uint8_t x_16; +x_16 = !lean_is_exclusive(x_14); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; uint8_t x_19; +x_17 = lean_ctor_get(x_14, 1); +x_18 = lean_ctor_get(x_14, 0); +lean_dec(x_18); +x_19 = !lean_is_exclusive(x_17); +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_17, 0); +x_21 = lean_metavar_ctx_assign_delayed(x_20, x_2, x_5, x_6, x_8); +lean_ctor_set(x_17, 0, x_21); +x_22 = lean_box(0); +lean_ctor_set(x_14, 0, x_22); +return x_14; +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_23 = lean_ctor_get(x_17, 0); +x_24 = lean_ctor_get(x_17, 1); +lean_inc(x_24); +lean_inc(x_23); +lean_dec(x_17); +x_25 = lean_metavar_ctx_assign_delayed(x_23, x_2, x_5, x_6, x_8); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_24); +x_27 = lean_box(0); +lean_ctor_set(x_14, 1, x_26); +lean_ctor_set(x_14, 0, x_27); +return x_14; +} +} +else +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_28 = lean_ctor_get(x_14, 1); +lean_inc(x_28); +lean_dec(x_14); +x_29 = lean_ctor_get(x_28, 0); +lean_inc(x_29); +x_30 = lean_ctor_get(x_28, 1); +lean_inc(x_30); +if (lean_is_exclusive(x_28)) { + lean_ctor_release(x_28, 0); + lean_ctor_release(x_28, 1); + x_31 = x_28; +} else { + lean_dec_ref(x_28); + x_31 = lean_box(0); +} +x_32 = lean_metavar_ctx_assign_delayed(x_29, x_2, x_5, x_6, x_8); +if (lean_is_scalar(x_31)) { + x_33 = lean_alloc_ctor(0, 2, 0); +} else { + x_33 = x_31; +} +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_30); +x_34 = lean_box(0); +x_35 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_33); +return x_35; +} +} +else +{ +uint8_t x_36; +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +x_36 = !lean_is_exclusive(x_14); +if (x_36 == 0) +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; +x_37 = lean_ctor_get(x_14, 1); +x_38 = lean_ctor_get(x_14, 0); +lean_dec(x_38); +x_39 = lean_ctor_get(x_15, 0); +lean_inc(x_39); +x_40 = !lean_is_exclusive(x_37); +if (x_40 == 0) +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_37, 0); +lean_inc(x_2); +x_42 = lean_metavar_ctx_erase_delayed(x_41, x_2); +x_43 = lean_metavar_ctx_assign_expr(x_42, x_2, x_39); +lean_ctor_set(x_37, 0, x_43); +return x_14; +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_44 = lean_ctor_get(x_37, 0); +x_45 = lean_ctor_get(x_37, 1); +lean_inc(x_45); +lean_inc(x_44); +lean_dec(x_37); +lean_inc(x_2); +x_46 = lean_metavar_ctx_erase_delayed(x_44, x_2); +x_47 = lean_metavar_ctx_assign_expr(x_46, x_2, x_39); +x_48 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_45); +lean_ctor_set(x_14, 1, x_48); +return x_14; +} +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_49 = lean_ctor_get(x_14, 1); +lean_inc(x_49); +lean_dec(x_14); +x_50 = lean_ctor_get(x_15, 0); +lean_inc(x_50); +x_51 = lean_ctor_get(x_49, 0); +lean_inc(x_51); +x_52 = lean_ctor_get(x_49, 1); +lean_inc(x_52); +if (lean_is_exclusive(x_49)) { + lean_ctor_release(x_49, 0); + lean_ctor_release(x_49, 1); + x_53 = x_49; +} else { + lean_dec_ref(x_49); + x_53 = lean_box(0); +} +lean_inc(x_2); +x_54 = lean_metavar_ctx_erase_delayed(x_51, x_2); +x_55 = lean_metavar_ctx_assign_expr(x_54, x_2, x_50); +if (lean_is_scalar(x_53)) { + x_56 = lean_alloc_ctor(0, 2, 0); +} else { + x_56 = x_53; +} +lean_ctor_set(x_56, 0, x_55); +lean_ctor_set(x_56, 1, x_52); +x_57 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_57, 0, x_15); +lean_ctor_set(x_57, 1, x_56); +return x_57; +} +} +} +else +{ +uint8_t x_58; +lean_dec(x_1); +x_58 = !lean_is_exclusive(x_9); +if (x_58 == 0) +{ +lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_59 = lean_ctor_get(x_9, 0); +x_60 = lean_metavar_ctx_assign_delayed(x_59, x_2, x_5, x_6, x_8); +lean_ctor_set(x_9, 0, x_60); +x_61 = lean_box(0); +x_62 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_62, 0, x_61); +lean_ctor_set(x_62, 1, x_9); +return x_62; +} +else +{ +lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; +x_63 = lean_ctor_get(x_9, 0); +x_64 = lean_ctor_get(x_9, 1); +lean_inc(x_64); +lean_inc(x_63); +lean_dec(x_9); +x_65 = lean_metavar_ctx_assign_delayed(x_63, x_2, x_5, x_6, x_8); +x_66 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_66, 0, x_65); +lean_ctor_set(x_66, 1, x_64); +x_67 = lean_box(0); +x_68 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_68, 0, x_67); +lean_ctor_set(x_68, 1, x_66); +return x_68; +} +} +} +else +{ +uint8_t x_69; +lean_dec(x_1); +x_69 = !lean_is_exclusive(x_9); +if (x_69 == 0) +{ +lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; +x_70 = lean_ctor_get(x_9, 0); +x_71 = lean_metavar_ctx_assign_delayed(x_70, x_2, x_5, x_6, x_8); +lean_ctor_set(x_9, 0, x_71); +x_72 = lean_box(0); +x_73 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_73, 0, x_72); +lean_ctor_set(x_73, 1, x_9); +return x_73; +} +else +{ +lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; +x_74 = lean_ctor_get(x_9, 0); +x_75 = lean_ctor_get(x_9, 1); +lean_inc(x_75); +lean_inc(x_74); +lean_dec(x_9); +x_76 = lean_metavar_ctx_assign_delayed(x_74, x_2, x_5, x_6, x_8); +x_77 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_77, 0, x_76); +lean_ctor_set(x_77, 1, x_75); +x_78 = lean_box(0); +x_79 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_79, 0, x_78); +lean_ctor_set(x_79, 1, x_77); +return x_79; +} +} +} +} +} +lean_object* l___private_Init_Lean_MetavarContext_7__instantiateDelayedAux___main___at_Lean_MetavarContext_InstantiateExprMVars_main___main___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; uint8_t x_7; @@ -5735,11 +8038,11 @@ lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean 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(209u); +x_13 = l_Lean_MetavarContext_getDecl___closed__1; +x_14 = lean_unsigned_to_nat(196u); x_15 = lean_unsigned_to_nat(12u); 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); +x_17 = l_panicWithPos___at___private_Init_Lean_MetavarContext_7__instantiateDelayedAux___main___spec__1(x_13, x_14, x_15, x_16, x_5); return x_17; } else @@ -5773,13 +8076,13 @@ else lean_object* x_36; lean_object* x_37; x_36 = lean_ctor_get(x_5, 1); lean_inc(x_36); -x_37 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_36, x_20); +x_37 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_36, x_20); lean_dec(x_36); if (lean_obj_tag(x_37) == 0) { lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; lean_inc(x_20); -x_38 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___at_Lean_MetavarContext_instantiateMVars___spec__2(x_20, x_5); +x_38 = l_Lean_MetavarContext_InstantiateExprMVars_main___main(x_20, x_5); x_39 = lean_ctor_get(x_38, 1); lean_inc(x_39); x_40 = lean_ctor_get(x_38, 0); @@ -5791,7 +8094,7 @@ if (x_41 == 0) lean_object* x_42; lean_object* x_43; x_42 = lean_ctor_get(x_39, 1); lean_inc(x_40); -x_43 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_42, x_20, x_40); +x_43 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_42, x_20, x_40); lean_ctor_set(x_39, 1, x_43); x_22 = x_40; x_23 = x_39; @@ -5806,7 +8109,7 @@ lean_inc(x_45); lean_inc(x_44); lean_dec(x_39); lean_inc(x_40); -x_46 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_45, x_20, x_40); +x_46 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_45, x_20, x_40); x_47 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_47, 0, x_44); lean_ctor_set(x_47, 1, x_46); @@ -5833,13 +8136,13 @@ else lean_object* x_49; lean_object* x_50; x_49 = lean_ctor_get(x_5, 1); lean_inc(x_49); -x_50 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_49, x_20); +x_50 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_49, x_20); lean_dec(x_49); if (lean_obj_tag(x_50) == 0) { lean_object* x_51; lean_object* x_52; lean_object* x_53; uint8_t x_54; lean_inc(x_20); -x_51 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___at_Lean_MetavarContext_instantiateMVars___spec__2(x_20, x_5); +x_51 = l_Lean_MetavarContext_InstantiateExprMVars_main___main(x_20, x_5); x_52 = lean_ctor_get(x_51, 1); lean_inc(x_52); x_53 = lean_ctor_get(x_51, 0); @@ -5851,7 +8154,7 @@ if (x_54 == 0) lean_object* x_55; lean_object* x_56; x_55 = lean_ctor_get(x_52, 1); lean_inc(x_53); -x_56 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_55, x_20, x_53); +x_56 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_55, x_20, x_53); lean_ctor_set(x_52, 1, x_56); x_22 = x_53; x_23 = x_52; @@ -5866,7 +8169,7 @@ lean_inc(x_58); lean_inc(x_57); lean_dec(x_52); lean_inc(x_53); -x_59 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_58, x_20, x_53); +x_59 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_58, x_20, x_53); x_60 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_60, 0, x_57); lean_ctor_set(x_60, 1, x_59); @@ -5963,13 +8266,13 @@ else lean_object* x_117; lean_object* x_118; x_117 = lean_ctor_get(x_5, 1); lean_inc(x_117); -x_118 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_117, x_63); +x_118 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_117, x_63); lean_dec(x_117); if (lean_obj_tag(x_118) == 0) { lean_object* x_119; lean_object* x_120; lean_object* x_121; uint8_t x_122; lean_inc(x_63); -x_119 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___at_Lean_MetavarContext_instantiateMVars___spec__2(x_63, x_5); +x_119 = l_Lean_MetavarContext_InstantiateExprMVars_main___main(x_63, x_5); x_120 = lean_ctor_get(x_119, 1); lean_inc(x_120); x_121 = lean_ctor_get(x_119, 0); @@ -5981,7 +8284,7 @@ if (x_122 == 0) lean_object* x_123; lean_object* x_124; x_123 = lean_ctor_get(x_120, 1); lean_inc(x_121); -x_124 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_123, x_63, x_121); +x_124 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_123, x_63, x_121); lean_ctor_set(x_120, 1, x_124); x_65 = x_121; x_66 = x_120; @@ -5996,7 +8299,7 @@ lean_inc(x_126); lean_inc(x_125); lean_dec(x_120); lean_inc(x_121); -x_127 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_126, x_63, x_121); +x_127 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_126, x_63, x_121); x_128 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_128, 0, x_125); lean_ctor_set(x_128, 1, x_127); @@ -6023,13 +8326,13 @@ else lean_object* x_130; lean_object* x_131; x_130 = lean_ctor_get(x_5, 1); lean_inc(x_130); -x_131 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_130, x_63); +x_131 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_130, x_63); lean_dec(x_130); if (lean_obj_tag(x_131) == 0) { lean_object* x_132; lean_object* x_133; lean_object* x_134; uint8_t x_135; lean_inc(x_63); -x_132 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___at_Lean_MetavarContext_instantiateMVars___spec__2(x_63, x_5); +x_132 = l_Lean_MetavarContext_InstantiateExprMVars_main___main(x_63, x_5); x_133 = lean_ctor_get(x_132, 1); lean_inc(x_133); x_134 = lean_ctor_get(x_132, 0); @@ -6041,7 +8344,7 @@ if (x_135 == 0) lean_object* x_136; lean_object* x_137; x_136 = lean_ctor_get(x_133, 1); lean_inc(x_134); -x_137 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_136, x_63, x_134); +x_137 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_136, x_63, x_134); lean_ctor_set(x_133, 1, x_137); x_65 = x_134; x_66 = x_133; @@ -6056,7 +8359,7 @@ lean_inc(x_139); lean_inc(x_138); lean_dec(x_133); lean_inc(x_134); -x_140 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_139, x_63, x_134); +x_140 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_139, x_63, x_134); x_141 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_141, 0, x_138); lean_ctor_set(x_141, 1, x_140); @@ -6104,13 +8407,13 @@ else lean_object* x_84; lean_object* x_85; x_84 = lean_ctor_get(x_66, 1); lean_inc(x_84); -x_85 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_84, x_64); +x_85 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_84, x_64); lean_dec(x_84); if (lean_obj_tag(x_85) == 0) { lean_object* x_86; lean_object* x_87; lean_object* x_88; uint8_t x_89; lean_inc(x_64); -x_86 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___at_Lean_MetavarContext_instantiateMVars___spec__2(x_64, x_66); +x_86 = l_Lean_MetavarContext_InstantiateExprMVars_main___main(x_64, x_66); x_87 = lean_ctor_get(x_86, 1); lean_inc(x_87); x_88 = lean_ctor_get(x_86, 0); @@ -6122,7 +8425,7 @@ if (x_89 == 0) lean_object* x_90; lean_object* x_91; x_90 = lean_ctor_get(x_87, 1); lean_inc(x_88); -x_91 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_90, x_64, x_88); +x_91 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_90, x_64, x_88); lean_ctor_set(x_87, 1, x_91); x_67 = x_88; x_68 = x_87; @@ -6137,7 +8440,7 @@ lean_inc(x_93); lean_inc(x_92); lean_dec(x_87); lean_inc(x_88); -x_94 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_93, x_64, x_88); +x_94 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_93, x_64, x_88); x_95 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_95, 0, x_92); lean_ctor_set(x_95, 1, x_94); @@ -6164,13 +8467,13 @@ else lean_object* x_97; lean_object* x_98; x_97 = lean_ctor_get(x_66, 1); lean_inc(x_97); -x_98 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_97, x_64); +x_98 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_97, x_64); lean_dec(x_97); if (lean_obj_tag(x_98) == 0) { lean_object* x_99; lean_object* x_100; lean_object* x_101; uint8_t x_102; lean_inc(x_64); -x_99 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___at_Lean_MetavarContext_instantiateMVars___spec__2(x_64, x_66); +x_99 = l_Lean_MetavarContext_InstantiateExprMVars_main___main(x_64, x_66); x_100 = lean_ctor_get(x_99, 1); lean_inc(x_100); x_101 = lean_ctor_get(x_99, 0); @@ -6182,7 +8485,7 @@ if (x_102 == 0) lean_object* x_103; lean_object* x_104; x_103 = lean_ctor_get(x_100, 1); lean_inc(x_101); -x_104 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_103, x_64, x_101); +x_104 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_103, x_64, x_101); lean_ctor_set(x_100, 1, x_104); x_67 = x_101; x_68 = x_100; @@ -6197,7 +8500,7 @@ lean_inc(x_106); lean_inc(x_105); lean_dec(x_100); lean_inc(x_101); -x_107 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_106, x_64, x_101); +x_107 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_106, x_64, x_101); x_108 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_108, 0, x_105); lean_ctor_set(x_108, 1, x_107); @@ -6321,76 +8624,7 @@ return x_144; } } } -lean_object* l_Lean_AbstractMetavarContext_InstantiateExprMVars_instantiateLevelMVars___at_Lean_MetavarContext_instantiateMVars___spec__5(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; -x_3 = !lean_is_exclusive(x_2); -if (x_3 == 0) -{ -lean_object* x_4; lean_object* x_5; uint8_t x_6; -x_4 = lean_ctor_get(x_2, 0); -x_5 = l_Lean_AbstractMetavarContext_instantiateLevelMVars___main___at_Lean_MetavarContext_instantiateLevelMVars___spec__1(x_1, x_4); -x_6 = !lean_is_exclusive(x_5); -if (x_6 == 0) -{ -lean_object* x_7; -x_7 = lean_ctor_get(x_5, 1); -lean_ctor_set(x_2, 0, x_7); -lean_ctor_set(x_5, 1, x_2); -return x_5; -} -else -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; -x_8 = lean_ctor_get(x_5, 0); -x_9 = lean_ctor_get(x_5, 1); -lean_inc(x_9); -lean_inc(x_8); -lean_dec(x_5); -lean_ctor_set(x_2, 0, x_9); -x_10 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_10, 0, x_8); -lean_ctor_set(x_10, 1, x_2); -return x_10; -} -} -else -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_11 = lean_ctor_get(x_2, 0); -x_12 = lean_ctor_get(x_2, 1); -lean_inc(x_12); -lean_inc(x_11); -lean_dec(x_2); -x_13 = l_Lean_AbstractMetavarContext_instantiateLevelMVars___main___at_Lean_MetavarContext_instantiateLevelMVars___spec__1(x_1, x_11); -x_14 = lean_ctor_get(x_13, 0); -lean_inc(x_14); -x_15 = lean_ctor_get(x_13, 1); -lean_inc(x_15); -if (lean_is_exclusive(x_13)) { - lean_ctor_release(x_13, 0); - lean_ctor_release(x_13, 1); - x_16 = x_13; -} else { - lean_dec_ref(x_13); - x_16 = lean_box(0); -} -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_15); -lean_ctor_set(x_17, 1, x_12); -if (lean_is_scalar(x_16)) { - x_18 = lean_alloc_ctor(0, 2, 0); -} else { - x_18 = x_16; -} -lean_ctor_set(x_18, 0, x_14); -lean_ctor_set(x_18, 1, x_17); -return x_18; -} -} -} -lean_object* l_List_mapM___main___at_Lean_MetavarContext_instantiateMVars___spec__6(lean_object* x_1, lean_object* x_2) { +lean_object* l_List_mapM___main___at_Lean_MetavarContext_InstantiateExprMVars_main___main___spec__2(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_1) == 0) @@ -6408,85 +8642,154 @@ uint8_t x_5; x_5 = !lean_is_exclusive(x_1); if (x_5 == 0) { -lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; -x_6 = lean_ctor_get(x_1, 0); -x_7 = lean_ctor_get(x_1, 1); -x_8 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_instantiateLevelMVars___at_Lean_MetavarContext_instantiateMVars___spec__5(x_6, x_2); -x_9 = lean_ctor_get(x_8, 0); -lean_inc(x_9); -x_10 = lean_ctor_get(x_8, 1); -lean_inc(x_10); -lean_dec(x_8); -x_11 = l_List_mapM___main___at_Lean_MetavarContext_instantiateMVars___spec__6(x_7, x_10); -x_12 = !lean_is_exclusive(x_11); -if (x_12 == 0) +uint8_t x_6; +x_6 = !lean_is_exclusive(x_2); +if (x_6 == 0) { -lean_object* x_13; -x_13 = lean_ctor_get(x_11, 0); -lean_ctor_set(x_1, 1, x_13); -lean_ctor_set(x_1, 0, x_9); -lean_ctor_set(x_11, 0, x_1); -return x_11; +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_7 = lean_ctor_get(x_1, 0); +x_8 = lean_ctor_get(x_1, 1); +x_9 = lean_ctor_get(x_2, 0); +x_10 = l___private_Init_Lean_MetavarContext_1__instantiateLevelMVarsAux___main(x_7, x_9); +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_10, 1); +lean_inc(x_12); +lean_dec(x_10); +lean_ctor_set(x_2, 0, x_12); +x_13 = l_List_mapM___main___at_Lean_MetavarContext_InstantiateExprMVars_main___main___spec__2(x_8, x_2); +x_14 = !lean_is_exclusive(x_13); +if (x_14 == 0) +{ +lean_object* x_15; +x_15 = lean_ctor_get(x_13, 0); +lean_ctor_set(x_1, 1, x_15); +lean_ctor_set(x_1, 0, x_11); +lean_ctor_set(x_13, 0, x_1); +return x_13; } else { -lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_14 = lean_ctor_get(x_11, 0); -x_15 = lean_ctor_get(x_11, 1); -lean_inc(x_15); -lean_inc(x_14); -lean_dec(x_11); -lean_ctor_set(x_1, 1, x_14); -lean_ctor_set(x_1, 0, x_9); -x_16 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_16, 0, x_1); -lean_ctor_set(x_16, 1, x_15); -return x_16; -} -} -else -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_17 = lean_ctor_get(x_1, 0); -x_18 = lean_ctor_get(x_1, 1); -lean_inc(x_18); +lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_16 = lean_ctor_get(x_13, 0); +x_17 = lean_ctor_get(x_13, 1); lean_inc(x_17); -lean_dec(x_1); -x_19 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_instantiateLevelMVars___at_Lean_MetavarContext_instantiateMVars___spec__5(x_17, x_2); -x_20 = lean_ctor_get(x_19, 0); -lean_inc(x_20); -x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_16); +lean_dec(x_13); +lean_ctor_set(x_1, 1, x_16); +lean_ctor_set(x_1, 0, x_11); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_1); +lean_ctor_set(x_18, 1, x_17); +return x_18; +} +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_19 = lean_ctor_get(x_1, 0); +x_20 = lean_ctor_get(x_1, 1); +x_21 = lean_ctor_get(x_2, 0); +x_22 = lean_ctor_get(x_2, 1); +lean_inc(x_22); lean_inc(x_21); -lean_dec(x_19); -x_22 = l_List_mapM___main___at_Lean_MetavarContext_instantiateMVars___spec__6(x_18, x_21); -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -x_24 = lean_ctor_get(x_22, 1); +lean_dec(x_2); +x_23 = l___private_Init_Lean_MetavarContext_1__instantiateLevelMVarsAux___main(x_19, x_21); +x_24 = lean_ctor_get(x_23, 0); lean_inc(x_24); -if (lean_is_exclusive(x_22)) { - lean_ctor_release(x_22, 0); - lean_ctor_release(x_22, 1); - x_25 = x_22; +x_25 = lean_ctor_get(x_23, 1); +lean_inc(x_25); +lean_dec(x_23); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_22); +x_27 = l_List_mapM___main___at_Lean_MetavarContext_InstantiateExprMVars_main___main___spec__2(x_20, x_26); +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); +if (lean_is_exclusive(x_27)) { + lean_ctor_release(x_27, 0); + lean_ctor_release(x_27, 1); + x_30 = x_27; } else { - lean_dec_ref(x_22); - x_25 = lean_box(0); + lean_dec_ref(x_27); + x_30 = lean_box(0); } -x_26 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_26, 0, x_20); -lean_ctor_set(x_26, 1, x_23); -if (lean_is_scalar(x_25)) { - x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1, 1, x_28); +lean_ctor_set(x_1, 0, x_24); +if (lean_is_scalar(x_30)) { + x_31 = lean_alloc_ctor(0, 2, 0); } else { - x_27 = x_25; + x_31 = x_30; } -lean_ctor_set(x_27, 0, x_26); -lean_ctor_set(x_27, 1, x_24); -return x_27; +lean_ctor_set(x_31, 0, x_1); +lean_ctor_set(x_31, 1, x_29); +return x_31; +} +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_32 = lean_ctor_get(x_1, 0); +x_33 = lean_ctor_get(x_1, 1); +lean_inc(x_33); +lean_inc(x_32); +lean_dec(x_1); +x_34 = lean_ctor_get(x_2, 0); +lean_inc(x_34); +x_35 = lean_ctor_get(x_2, 1); +lean_inc(x_35); +if (lean_is_exclusive(x_2)) { + lean_ctor_release(x_2, 0); + lean_ctor_release(x_2, 1); + x_36 = x_2; +} else { + lean_dec_ref(x_2); + x_36 = lean_box(0); +} +x_37 = l___private_Init_Lean_MetavarContext_1__instantiateLevelMVarsAux___main(x_32, x_34); +x_38 = lean_ctor_get(x_37, 0); +lean_inc(x_38); +x_39 = lean_ctor_get(x_37, 1); +lean_inc(x_39); +lean_dec(x_37); +if (lean_is_scalar(x_36)) { + x_40 = lean_alloc_ctor(0, 2, 0); +} else { + x_40 = x_36; +} +lean_ctor_set(x_40, 0, x_39); +lean_ctor_set(x_40, 1, x_35); +x_41 = l_List_mapM___main___at_Lean_MetavarContext_InstantiateExprMVars_main___main___spec__2(x_33, x_40); +x_42 = lean_ctor_get(x_41, 0); +lean_inc(x_42); +x_43 = lean_ctor_get(x_41, 1); +lean_inc(x_43); +if (lean_is_exclusive(x_41)) { + lean_ctor_release(x_41, 0); + lean_ctor_release(x_41, 1); + x_44 = x_41; +} else { + lean_dec_ref(x_41); + x_44 = lean_box(0); +} +x_45 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_45, 0, x_38); +lean_ctor_set(x_45, 1, x_42); +if (lean_is_scalar(x_44)) { + x_46 = lean_alloc_ctor(0, 2, 0); +} else { + x_46 = x_44; +} +lean_ctor_set(x_46, 0, x_45); +lean_ctor_set(x_46, 1, x_43); +return x_46; } } } } -lean_object* l_Array_umapMAux___main___at_Lean_MetavarContext_instantiateMVars___spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Array_umapMAux___main___at_Lean_MetavarContext_InstantiateExprMVars_main___main___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -6535,13 +8838,13 @@ else lean_object* x_20; lean_object* x_21; x_20 = lean_ctor_get(x_3, 1); lean_inc(x_20); -x_21 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_20, x_9); +x_21 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_20, x_9); lean_dec(x_20); if (lean_obj_tag(x_21) == 0) { lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; lean_inc(x_9); -x_22 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___at_Lean_MetavarContext_instantiateMVars___spec__2(x_9, x_3); +x_22 = l_Lean_MetavarContext_InstantiateExprMVars_main___main(x_9, x_3); x_23 = lean_ctor_get(x_22, 1); lean_inc(x_23); x_24 = lean_ctor_get(x_22, 0); @@ -6554,7 +8857,7 @@ lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean x_26 = lean_ctor_get(x_23, 1); lean_inc(x_24); lean_inc(x_9); -x_27 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_26, x_9, x_24); +x_27 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_26, x_9, x_24); lean_ctor_set(x_23, 1, x_27); x_28 = lean_unsigned_to_nat(1u); x_29 = lean_nat_add(x_1, x_28); @@ -6576,7 +8879,7 @@ lean_inc(x_33); lean_dec(x_23); lean_inc(x_24); lean_inc(x_9); -x_35 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_34, x_9, x_24); +x_35 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_34, x_9, x_24); x_36 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_36, 0, x_33); lean_ctor_set(x_36, 1, x_35); @@ -6613,13 +8916,13 @@ else lean_object* x_48; lean_object* x_49; x_48 = lean_ctor_get(x_3, 1); lean_inc(x_48); -x_49 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_48, x_9); +x_49 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_48, x_9); lean_dec(x_48); if (lean_obj_tag(x_49) == 0) { lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53; lean_inc(x_9); -x_50 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___at_Lean_MetavarContext_instantiateMVars___spec__2(x_9, x_3); +x_50 = l_Lean_MetavarContext_InstantiateExprMVars_main___main(x_9, x_3); x_51 = lean_ctor_get(x_50, 1); lean_inc(x_51); x_52 = lean_ctor_get(x_50, 0); @@ -6632,7 +8935,7 @@ lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean x_54 = lean_ctor_get(x_51, 1); lean_inc(x_52); lean_inc(x_9); -x_55 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_54, x_9, x_52); +x_55 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_54, x_9, x_52); lean_ctor_set(x_51, 1, x_55); x_56 = lean_unsigned_to_nat(1u); x_57 = lean_nat_add(x_1, x_56); @@ -6654,7 +8957,7 @@ lean_inc(x_61); lean_dec(x_51); lean_inc(x_52); lean_inc(x_9); -x_63 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_62, x_9, x_52); +x_63 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_62, x_9, x_52); x_64 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_64, 0, x_61); lean_ctor_set(x_64, 1, x_63); @@ -6688,7 +8991,7 @@ goto _start; } } } -lean_object* l___private_Init_Lean_Expr_4__withAppRevAux___main___at_Lean_MetavarContext_instantiateMVars___spec__8(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l___private_Init_Lean_Expr_4__withAppRevAux___main___at_Lean_MetavarContext_InstantiateExprMVars_main___main___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { switch (lean_obj_tag(x_1)) { @@ -6712,13 +9015,13 @@ else lean_object* x_76; lean_object* x_77; x_76 = lean_ctor_get(x_3, 1); lean_inc(x_76); -x_77 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_76, x_1); +x_77 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_76, x_1); lean_dec(x_76); if (lean_obj_tag(x_77) == 0) { lean_object* x_78; lean_object* x_79; lean_object* x_80; uint8_t x_81; lean_inc(x_1); -x_78 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___at_Lean_MetavarContext_instantiateMVars___spec__2(x_1, x_3); +x_78 = l_Lean_MetavarContext_InstantiateExprMVars_main___main(x_1, x_3); x_79 = lean_ctor_get(x_78, 1); lean_inc(x_79); x_80 = lean_ctor_get(x_78, 0); @@ -6730,7 +9033,7 @@ if (x_81 == 0) lean_object* x_82; lean_object* x_83; x_82 = lean_ctor_get(x_79, 1); lean_inc(x_80); -x_83 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_82, x_1, x_80); +x_83 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_82, x_1, x_80); lean_ctor_set(x_79, 1, x_83); x_5 = x_80; x_6 = x_79; @@ -6745,7 +9048,7 @@ lean_inc(x_85); lean_inc(x_84); lean_dec(x_79); lean_inc(x_80); -x_86 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_85, x_1, x_80); +x_86 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_85, x_1, x_80); x_87 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_87, 0, x_84); lean_ctor_set(x_87, 1, x_86); @@ -6772,13 +9075,13 @@ else lean_object* x_89; lean_object* x_90; x_89 = lean_ctor_get(x_3, 1); lean_inc(x_89); -x_90 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_89, x_1); +x_90 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_89, x_1); lean_dec(x_89); if (lean_obj_tag(x_90) == 0) { lean_object* x_91; lean_object* x_92; lean_object* x_93; uint8_t x_94; lean_inc(x_1); -x_91 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___at_Lean_MetavarContext_instantiateMVars___spec__2(x_1, x_3); +x_91 = l_Lean_MetavarContext_InstantiateExprMVars_main___main(x_1, x_3); x_92 = lean_ctor_get(x_91, 1); lean_inc(x_92); x_93 = lean_ctor_get(x_91, 0); @@ -6790,7 +9093,7 @@ if (x_94 == 0) lean_object* x_95; lean_object* x_96; x_95 = lean_ctor_get(x_92, 1); lean_inc(x_93); -x_96 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_95, x_1, x_93); +x_96 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_95, x_1, x_93); lean_ctor_set(x_92, 1, x_96); x_5 = x_93; x_6 = x_92; @@ -6805,7 +9108,7 @@ lean_inc(x_98); lean_inc(x_97); lean_dec(x_92); lean_inc(x_93); -x_99 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_98, x_1, x_93); +x_99 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_98, x_1, x_93); x_100 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_100, 0, x_97); lean_ctor_set(x_100, 1, x_99); @@ -6870,13 +9173,13 @@ else lean_object* x_25; lean_object* x_26; x_25 = lean_ctor_get(x_6, 1); lean_inc(x_25); -x_26 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_25, x_21); +x_26 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_25, x_21); lean_dec(x_25); if (lean_obj_tag(x_26) == 0) { lean_object* x_27; uint8_t x_28; lean_inc(x_21); -x_27 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___at_Lean_MetavarContext_instantiateMVars___spec__2(x_21, x_6); +x_27 = l_Lean_MetavarContext_InstantiateExprMVars_main___main(x_21, x_6); x_28 = !lean_is_exclusive(x_27); if (x_28 == 0) { @@ -6889,7 +9192,7 @@ lean_object* x_31; lean_object* x_32; lean_object* x_33; x_31 = lean_ctor_get(x_27, 0); x_32 = lean_ctor_get(x_29, 1); lean_inc(x_31); -x_33 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_32, x_21, x_31); +x_33 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_32, x_21, x_31); lean_ctor_set(x_29, 1, x_33); return x_27; } @@ -6903,7 +9206,7 @@ lean_inc(x_36); lean_inc(x_35); lean_dec(x_29); lean_inc(x_34); -x_37 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_36, x_21, x_34); +x_37 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_36, x_21, x_34); x_38 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_38, 0, x_35); lean_ctor_set(x_38, 1, x_37); @@ -6932,7 +9235,7 @@ if (lean_is_exclusive(x_39)) { x_43 = lean_box(0); } lean_inc(x_40); -x_44 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_42, x_21, x_40); +x_44 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_42, x_21, x_40); if (lean_is_scalar(x_43)) { x_45 = lean_alloc_ctor(0, 2, 0); } else { @@ -6965,13 +9268,13 @@ else lean_object* x_49; lean_object* x_50; x_49 = lean_ctor_get(x_6, 1); lean_inc(x_49); -x_50 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_49, x_21); +x_50 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_49, x_21); lean_dec(x_49); if (lean_obj_tag(x_50) == 0) { lean_object* x_51; uint8_t x_52; lean_inc(x_21); -x_51 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___at_Lean_MetavarContext_instantiateMVars___spec__2(x_21, x_6); +x_51 = l_Lean_MetavarContext_InstantiateExprMVars_main___main(x_21, x_6); x_52 = !lean_is_exclusive(x_51); if (x_52 == 0) { @@ -6984,7 +9287,7 @@ lean_object* x_55; lean_object* x_56; lean_object* x_57; x_55 = lean_ctor_get(x_51, 0); x_56 = lean_ctor_get(x_53, 1); lean_inc(x_55); -x_57 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_56, x_21, x_55); +x_57 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_56, x_21, x_55); lean_ctor_set(x_53, 1, x_57); return x_51; } @@ -6998,7 +9301,7 @@ lean_inc(x_60); lean_inc(x_59); lean_dec(x_53); lean_inc(x_58); -x_61 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_60, x_21, x_58); +x_61 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_60, x_21, x_58); x_62 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_62, 0, x_59); lean_ctor_set(x_62, 1, x_61); @@ -7027,7 +9330,7 @@ if (lean_is_exclusive(x_63)) { x_67 = lean_box(0); } lean_inc(x_64); -x_68 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_66, x_21, x_64); +x_68 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_66, x_21, x_64); if (lean_is_scalar(x_67)) { x_69 = lean_alloc_ctor(0, 2, 0); } else { @@ -7061,7 +9364,7 @@ block_17: lean_object* x_8; lean_object* x_9; uint8_t x_10; lean_dec(x_7); x_8 = lean_unsigned_to_nat(0u); -x_9 = l_Array_umapMAux___main___at_Lean_MetavarContext_instantiateMVars___spec__7(x_8, x_2, x_6); +x_9 = l_Array_umapMAux___main___at_Lean_MetavarContext_InstantiateExprMVars_main___main___spec__3(x_8, x_2, x_6); x_10 = !lean_is_exclusive(x_9); if (x_10 == 0) { @@ -7110,13 +9413,13 @@ else lean_object* x_174; lean_object* x_175; x_174 = lean_ctor_get(x_3, 1); lean_inc(x_174); -x_175 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_174, x_1); +x_175 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_174, x_1); lean_dec(x_174); if (lean_obj_tag(x_175) == 0) { lean_object* x_176; lean_object* x_177; lean_object* x_178; uint8_t x_179; lean_inc(x_1); -x_176 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___at_Lean_MetavarContext_instantiateMVars___spec__2(x_1, x_3); +x_176 = l_Lean_MetavarContext_InstantiateExprMVars_main___main(x_1, x_3); x_177 = lean_ctor_get(x_176, 1); lean_inc(x_177); x_178 = lean_ctor_get(x_176, 0); @@ -7128,7 +9431,7 @@ if (x_179 == 0) lean_object* x_180; lean_object* x_181; x_180 = lean_ctor_get(x_177, 1); lean_inc(x_178); -x_181 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_180, x_1, x_178); +x_181 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_180, x_1, x_178); lean_ctor_set(x_177, 1, x_181); x_103 = x_178; x_104 = x_177; @@ -7143,7 +9446,7 @@ lean_inc(x_183); lean_inc(x_182); lean_dec(x_177); lean_inc(x_178); -x_184 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_183, x_1, x_178); +x_184 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_183, x_1, x_178); x_185 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_185, 0, x_182); lean_ctor_set(x_185, 1, x_184); @@ -7170,13 +9473,13 @@ else lean_object* x_187; lean_object* x_188; x_187 = lean_ctor_get(x_3, 1); lean_inc(x_187); -x_188 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_187, x_1); +x_188 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_187, x_1); lean_dec(x_187); if (lean_obj_tag(x_188) == 0) { lean_object* x_189; lean_object* x_190; lean_object* x_191; uint8_t x_192; lean_inc(x_1); -x_189 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___at_Lean_MetavarContext_instantiateMVars___spec__2(x_1, x_3); +x_189 = l_Lean_MetavarContext_InstantiateExprMVars_main___main(x_1, x_3); x_190 = lean_ctor_get(x_189, 1); lean_inc(x_190); x_191 = lean_ctor_get(x_189, 0); @@ -7188,7 +9491,7 @@ if (x_192 == 0) lean_object* x_193; lean_object* x_194; x_193 = lean_ctor_get(x_190, 1); lean_inc(x_191); -x_194 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_193, x_1, x_191); +x_194 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_193, x_1, x_191); lean_ctor_set(x_190, 1, x_194); x_103 = x_191; x_104 = x_190; @@ -7203,7 +9506,7 @@ lean_inc(x_196); lean_inc(x_195); lean_dec(x_190); lean_inc(x_191); -x_197 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_196, x_1, x_191); +x_197 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_196, x_1, x_191); x_198 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_198, 0, x_195); lean_ctor_set(x_198, 1, x_197); @@ -7268,13 +9571,13 @@ else lean_object* x_123; lean_object* x_124; x_123 = lean_ctor_get(x_104, 1); lean_inc(x_123); -x_124 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_123, x_119); +x_124 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_123, x_119); lean_dec(x_123); if (lean_obj_tag(x_124) == 0) { lean_object* x_125; uint8_t x_126; lean_inc(x_119); -x_125 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___at_Lean_MetavarContext_instantiateMVars___spec__2(x_119, x_104); +x_125 = l_Lean_MetavarContext_InstantiateExprMVars_main___main(x_119, x_104); x_126 = !lean_is_exclusive(x_125); if (x_126 == 0) { @@ -7287,7 +9590,7 @@ lean_object* x_129; lean_object* x_130; lean_object* x_131; x_129 = lean_ctor_get(x_125, 0); x_130 = lean_ctor_get(x_127, 1); lean_inc(x_129); -x_131 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_130, x_119, x_129); +x_131 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_130, x_119, x_129); lean_ctor_set(x_127, 1, x_131); return x_125; } @@ -7301,7 +9604,7 @@ lean_inc(x_134); lean_inc(x_133); lean_dec(x_127); lean_inc(x_132); -x_135 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_134, x_119, x_132); +x_135 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_134, x_119, x_132); x_136 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_136, 0, x_133); lean_ctor_set(x_136, 1, x_135); @@ -7330,7 +9633,7 @@ if (lean_is_exclusive(x_137)) { x_141 = lean_box(0); } lean_inc(x_138); -x_142 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_140, x_119, x_138); +x_142 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_140, x_119, x_138); if (lean_is_scalar(x_141)) { x_143 = lean_alloc_ctor(0, 2, 0); } else { @@ -7363,13 +9666,13 @@ else lean_object* x_147; lean_object* x_148; x_147 = lean_ctor_get(x_104, 1); lean_inc(x_147); -x_148 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_147, x_119); +x_148 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_147, x_119); lean_dec(x_147); if (lean_obj_tag(x_148) == 0) { lean_object* x_149; uint8_t x_150; lean_inc(x_119); -x_149 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___at_Lean_MetavarContext_instantiateMVars___spec__2(x_119, x_104); +x_149 = l_Lean_MetavarContext_InstantiateExprMVars_main___main(x_119, x_104); x_150 = !lean_is_exclusive(x_149); if (x_150 == 0) { @@ -7382,7 +9685,7 @@ lean_object* x_153; lean_object* x_154; lean_object* x_155; x_153 = lean_ctor_get(x_149, 0); x_154 = lean_ctor_get(x_151, 1); lean_inc(x_153); -x_155 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_154, x_119, x_153); +x_155 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_154, x_119, x_153); lean_ctor_set(x_151, 1, x_155); return x_149; } @@ -7396,7 +9699,7 @@ lean_inc(x_158); lean_inc(x_157); lean_dec(x_151); lean_inc(x_156); -x_159 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_158, x_119, x_156); +x_159 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_158, x_119, x_156); x_160 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_160, 0, x_157); lean_ctor_set(x_160, 1, x_159); @@ -7425,7 +9728,7 @@ if (lean_is_exclusive(x_161)) { x_165 = lean_box(0); } lean_inc(x_162); -x_166 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_164, x_119, x_162); +x_166 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_164, x_119, x_162); if (lean_is_scalar(x_165)) { x_167 = lean_alloc_ctor(0, 2, 0); } else { @@ -7459,7 +9762,7 @@ block_115: lean_object* x_106; lean_object* x_107; uint8_t x_108; lean_dec(x_105); x_106 = lean_unsigned_to_nat(0u); -x_107 = l_Array_umapMAux___main___at_Lean_MetavarContext_instantiateMVars___spec__7(x_106, x_2, x_104); +x_107 = l_Array_umapMAux___main___at_Lean_MetavarContext_InstantiateExprMVars_main___main___spec__3(x_106, x_2, x_104); x_108 = !lean_is_exclusive(x_107); if (x_108 == 0) { @@ -7508,13 +9811,13 @@ else lean_object* x_272; lean_object* x_273; x_272 = lean_ctor_get(x_3, 1); lean_inc(x_272); -x_273 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_272, x_1); +x_273 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_272, x_1); lean_dec(x_272); if (lean_obj_tag(x_273) == 0) { lean_object* x_274; lean_object* x_275; lean_object* x_276; uint8_t x_277; lean_inc(x_1); -x_274 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___at_Lean_MetavarContext_instantiateMVars___spec__2(x_1, x_3); +x_274 = l_Lean_MetavarContext_InstantiateExprMVars_main___main(x_1, x_3); x_275 = lean_ctor_get(x_274, 1); lean_inc(x_275); x_276 = lean_ctor_get(x_274, 0); @@ -7526,7 +9829,7 @@ if (x_277 == 0) lean_object* x_278; lean_object* x_279; x_278 = lean_ctor_get(x_275, 1); lean_inc(x_276); -x_279 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_278, x_1, x_276); +x_279 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_278, x_1, x_276); lean_ctor_set(x_275, 1, x_279); x_201 = x_276; x_202 = x_275; @@ -7541,7 +9844,7 @@ lean_inc(x_281); lean_inc(x_280); lean_dec(x_275); lean_inc(x_276); -x_282 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_281, x_1, x_276); +x_282 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_281, x_1, x_276); x_283 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_283, 0, x_280); lean_ctor_set(x_283, 1, x_282); @@ -7568,13 +9871,13 @@ else lean_object* x_285; lean_object* x_286; x_285 = lean_ctor_get(x_3, 1); lean_inc(x_285); -x_286 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_285, x_1); +x_286 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_285, x_1); lean_dec(x_285); if (lean_obj_tag(x_286) == 0) { lean_object* x_287; lean_object* x_288; lean_object* x_289; uint8_t x_290; lean_inc(x_1); -x_287 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___at_Lean_MetavarContext_instantiateMVars___spec__2(x_1, x_3); +x_287 = l_Lean_MetavarContext_InstantiateExprMVars_main___main(x_1, x_3); x_288 = lean_ctor_get(x_287, 1); lean_inc(x_288); x_289 = lean_ctor_get(x_287, 0); @@ -7586,7 +9889,7 @@ if (x_290 == 0) lean_object* x_291; lean_object* x_292; x_291 = lean_ctor_get(x_288, 1); lean_inc(x_289); -x_292 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_291, x_1, x_289); +x_292 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_291, x_1, x_289); lean_ctor_set(x_288, 1, x_292); x_201 = x_289; x_202 = x_288; @@ -7601,7 +9904,7 @@ lean_inc(x_294); lean_inc(x_293); lean_dec(x_288); lean_inc(x_289); -x_295 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_294, x_1, x_289); +x_295 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_294, x_1, x_289); x_296 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_296, 0, x_293); lean_ctor_set(x_296, 1, x_295); @@ -7666,13 +9969,13 @@ else lean_object* x_221; lean_object* x_222; x_221 = lean_ctor_get(x_202, 1); lean_inc(x_221); -x_222 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_221, x_217); +x_222 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_221, x_217); lean_dec(x_221); if (lean_obj_tag(x_222) == 0) { lean_object* x_223; uint8_t x_224; lean_inc(x_217); -x_223 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___at_Lean_MetavarContext_instantiateMVars___spec__2(x_217, x_202); +x_223 = l_Lean_MetavarContext_InstantiateExprMVars_main___main(x_217, x_202); x_224 = !lean_is_exclusive(x_223); if (x_224 == 0) { @@ -7685,7 +9988,7 @@ lean_object* x_227; lean_object* x_228; lean_object* x_229; x_227 = lean_ctor_get(x_223, 0); x_228 = lean_ctor_get(x_225, 1); lean_inc(x_227); -x_229 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_228, x_217, x_227); +x_229 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_228, x_217, x_227); lean_ctor_set(x_225, 1, x_229); return x_223; } @@ -7699,7 +10002,7 @@ lean_inc(x_232); lean_inc(x_231); lean_dec(x_225); lean_inc(x_230); -x_233 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_232, x_217, x_230); +x_233 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_232, x_217, x_230); x_234 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_234, 0, x_231); lean_ctor_set(x_234, 1, x_233); @@ -7728,7 +10031,7 @@ if (lean_is_exclusive(x_235)) { x_239 = lean_box(0); } lean_inc(x_236); -x_240 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_238, x_217, x_236); +x_240 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_238, x_217, x_236); if (lean_is_scalar(x_239)) { x_241 = lean_alloc_ctor(0, 2, 0); } else { @@ -7761,13 +10064,13 @@ else lean_object* x_245; lean_object* x_246; x_245 = lean_ctor_get(x_202, 1); lean_inc(x_245); -x_246 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_245, x_217); +x_246 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_245, x_217); lean_dec(x_245); if (lean_obj_tag(x_246) == 0) { lean_object* x_247; uint8_t x_248; lean_inc(x_217); -x_247 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___at_Lean_MetavarContext_instantiateMVars___spec__2(x_217, x_202); +x_247 = l_Lean_MetavarContext_InstantiateExprMVars_main___main(x_217, x_202); x_248 = !lean_is_exclusive(x_247); if (x_248 == 0) { @@ -7780,7 +10083,7 @@ lean_object* x_251; lean_object* x_252; lean_object* x_253; x_251 = lean_ctor_get(x_247, 0); x_252 = lean_ctor_get(x_249, 1); lean_inc(x_251); -x_253 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_252, x_217, x_251); +x_253 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_252, x_217, x_251); lean_ctor_set(x_249, 1, x_253); return x_247; } @@ -7794,7 +10097,7 @@ lean_inc(x_256); lean_inc(x_255); lean_dec(x_249); lean_inc(x_254); -x_257 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_256, x_217, x_254); +x_257 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_256, x_217, x_254); x_258 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_258, 0, x_255); lean_ctor_set(x_258, 1, x_257); @@ -7823,7 +10126,7 @@ if (lean_is_exclusive(x_259)) { x_263 = lean_box(0); } lean_inc(x_260); -x_264 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_262, x_217, x_260); +x_264 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_262, x_217, x_260); if (lean_is_scalar(x_263)) { x_265 = lean_alloc_ctor(0, 2, 0); } else { @@ -7857,7 +10160,7 @@ block_213: lean_object* x_204; lean_object* x_205; uint8_t x_206; lean_dec(x_203); x_204 = lean_unsigned_to_nat(0u); -x_205 = l_Array_umapMAux___main___at_Lean_MetavarContext_instantiateMVars___spec__7(x_204, x_2, x_202); +x_205 = l_Array_umapMAux___main___at_Lean_MetavarContext_InstantiateExprMVars_main___main___spec__3(x_204, x_2, x_202); x_206 = !lean_is_exclusive(x_205); if (x_206 == 0) { @@ -7906,13 +10209,13 @@ else lean_object* x_370; lean_object* x_371; x_370 = lean_ctor_get(x_3, 1); lean_inc(x_370); -x_371 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_370, x_1); +x_371 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_370, x_1); lean_dec(x_370); if (lean_obj_tag(x_371) == 0) { lean_object* x_372; lean_object* x_373; lean_object* x_374; uint8_t x_375; lean_inc(x_1); -x_372 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___at_Lean_MetavarContext_instantiateMVars___spec__2(x_1, x_3); +x_372 = l_Lean_MetavarContext_InstantiateExprMVars_main___main(x_1, x_3); x_373 = lean_ctor_get(x_372, 1); lean_inc(x_373); x_374 = lean_ctor_get(x_372, 0); @@ -7924,7 +10227,7 @@ if (x_375 == 0) lean_object* x_376; lean_object* x_377; x_376 = lean_ctor_get(x_373, 1); lean_inc(x_374); -x_377 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_376, x_1, x_374); +x_377 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_376, x_1, x_374); lean_ctor_set(x_373, 1, x_377); x_299 = x_374; x_300 = x_373; @@ -7939,7 +10242,7 @@ lean_inc(x_379); lean_inc(x_378); lean_dec(x_373); lean_inc(x_374); -x_380 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_379, x_1, x_374); +x_380 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_379, x_1, x_374); x_381 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_381, 0, x_378); lean_ctor_set(x_381, 1, x_380); @@ -7966,13 +10269,13 @@ else lean_object* x_383; lean_object* x_384; x_383 = lean_ctor_get(x_3, 1); lean_inc(x_383); -x_384 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_383, x_1); +x_384 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_383, x_1); lean_dec(x_383); if (lean_obj_tag(x_384) == 0) { lean_object* x_385; lean_object* x_386; lean_object* x_387; uint8_t x_388; lean_inc(x_1); -x_385 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___at_Lean_MetavarContext_instantiateMVars___spec__2(x_1, x_3); +x_385 = l_Lean_MetavarContext_InstantiateExprMVars_main___main(x_1, x_3); x_386 = lean_ctor_get(x_385, 1); lean_inc(x_386); x_387 = lean_ctor_get(x_385, 0); @@ -7984,7 +10287,7 @@ if (x_388 == 0) lean_object* x_389; lean_object* x_390; x_389 = lean_ctor_get(x_386, 1); lean_inc(x_387); -x_390 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_389, x_1, x_387); +x_390 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_389, x_1, x_387); lean_ctor_set(x_386, 1, x_390); x_299 = x_387; x_300 = x_386; @@ -7999,7 +10302,7 @@ lean_inc(x_392); lean_inc(x_391); lean_dec(x_386); lean_inc(x_387); -x_393 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_392, x_1, x_387); +x_393 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_392, x_1, x_387); x_394 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_394, 0, x_391); lean_ctor_set(x_394, 1, x_393); @@ -8064,13 +10367,13 @@ else lean_object* x_319; lean_object* x_320; x_319 = lean_ctor_get(x_300, 1); lean_inc(x_319); -x_320 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_319, x_315); +x_320 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_319, x_315); lean_dec(x_319); if (lean_obj_tag(x_320) == 0) { lean_object* x_321; uint8_t x_322; lean_inc(x_315); -x_321 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___at_Lean_MetavarContext_instantiateMVars___spec__2(x_315, x_300); +x_321 = l_Lean_MetavarContext_InstantiateExprMVars_main___main(x_315, x_300); x_322 = !lean_is_exclusive(x_321); if (x_322 == 0) { @@ -8083,7 +10386,7 @@ lean_object* x_325; lean_object* x_326; lean_object* x_327; x_325 = lean_ctor_get(x_321, 0); x_326 = lean_ctor_get(x_323, 1); lean_inc(x_325); -x_327 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_326, x_315, x_325); +x_327 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_326, x_315, x_325); lean_ctor_set(x_323, 1, x_327); return x_321; } @@ -8097,7 +10400,7 @@ lean_inc(x_330); lean_inc(x_329); lean_dec(x_323); lean_inc(x_328); -x_331 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_330, x_315, x_328); +x_331 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_330, x_315, x_328); x_332 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_332, 0, x_329); lean_ctor_set(x_332, 1, x_331); @@ -8126,7 +10429,7 @@ if (lean_is_exclusive(x_333)) { x_337 = lean_box(0); } lean_inc(x_334); -x_338 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_336, x_315, x_334); +x_338 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_336, x_315, x_334); if (lean_is_scalar(x_337)) { x_339 = lean_alloc_ctor(0, 2, 0); } else { @@ -8159,13 +10462,13 @@ else lean_object* x_343; lean_object* x_344; x_343 = lean_ctor_get(x_300, 1); lean_inc(x_343); -x_344 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_343, x_315); +x_344 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_343, x_315); lean_dec(x_343); if (lean_obj_tag(x_344) == 0) { lean_object* x_345; uint8_t x_346; lean_inc(x_315); -x_345 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___at_Lean_MetavarContext_instantiateMVars___spec__2(x_315, x_300); +x_345 = l_Lean_MetavarContext_InstantiateExprMVars_main___main(x_315, x_300); x_346 = !lean_is_exclusive(x_345); if (x_346 == 0) { @@ -8178,7 +10481,7 @@ lean_object* x_349; lean_object* x_350; lean_object* x_351; x_349 = lean_ctor_get(x_345, 0); x_350 = lean_ctor_get(x_347, 1); lean_inc(x_349); -x_351 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_350, x_315, x_349); +x_351 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_350, x_315, x_349); lean_ctor_set(x_347, 1, x_351); return x_345; } @@ -8192,7 +10495,7 @@ lean_inc(x_354); lean_inc(x_353); lean_dec(x_347); lean_inc(x_352); -x_355 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_354, x_315, x_352); +x_355 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_354, x_315, x_352); x_356 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_356, 0, x_353); lean_ctor_set(x_356, 1, x_355); @@ -8221,7 +10524,7 @@ if (lean_is_exclusive(x_357)) { x_361 = lean_box(0); } lean_inc(x_358); -x_362 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_360, x_315, x_358); +x_362 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_360, x_315, x_358); if (lean_is_scalar(x_361)) { x_363 = lean_alloc_ctor(0, 2, 0); } else { @@ -8255,7 +10558,7 @@ block_311: lean_object* x_302; lean_object* x_303; uint8_t x_304; lean_dec(x_301); x_302 = lean_unsigned_to_nat(0u); -x_303 = l_Array_umapMAux___main___at_Lean_MetavarContext_instantiateMVars___spec__7(x_302, x_2, x_300); +x_303 = l_Array_umapMAux___main___at_Lean_MetavarContext_InstantiateExprMVars_main___main___spec__3(x_302, x_2, x_300); x_304 = !lean_is_exclusive(x_303); if (x_304 == 0) { @@ -8304,13 +10607,13 @@ else lean_object* x_468; lean_object* x_469; x_468 = lean_ctor_get(x_3, 1); lean_inc(x_468); -x_469 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_468, x_1); +x_469 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_468, x_1); lean_dec(x_468); if (lean_obj_tag(x_469) == 0) { lean_object* x_470; lean_object* x_471; lean_object* x_472; uint8_t x_473; lean_inc(x_1); -x_470 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___at_Lean_MetavarContext_instantiateMVars___spec__2(x_1, x_3); +x_470 = l_Lean_MetavarContext_InstantiateExprMVars_main___main(x_1, x_3); x_471 = lean_ctor_get(x_470, 1); lean_inc(x_471); x_472 = lean_ctor_get(x_470, 0); @@ -8322,7 +10625,7 @@ if (x_473 == 0) lean_object* x_474; lean_object* x_475; x_474 = lean_ctor_get(x_471, 1); lean_inc(x_472); -x_475 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_474, x_1, x_472); +x_475 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_474, x_1, x_472); lean_ctor_set(x_471, 1, x_475); x_397 = x_472; x_398 = x_471; @@ -8337,7 +10640,7 @@ lean_inc(x_477); lean_inc(x_476); lean_dec(x_471); lean_inc(x_472); -x_478 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_477, x_1, x_472); +x_478 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_477, x_1, x_472); x_479 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_479, 0, x_476); lean_ctor_set(x_479, 1, x_478); @@ -8364,13 +10667,13 @@ else lean_object* x_481; lean_object* x_482; x_481 = lean_ctor_get(x_3, 1); lean_inc(x_481); -x_482 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_481, x_1); +x_482 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_481, x_1); lean_dec(x_481); if (lean_obj_tag(x_482) == 0) { lean_object* x_483; lean_object* x_484; lean_object* x_485; uint8_t x_486; lean_inc(x_1); -x_483 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___at_Lean_MetavarContext_instantiateMVars___spec__2(x_1, x_3); +x_483 = l_Lean_MetavarContext_InstantiateExprMVars_main___main(x_1, x_3); x_484 = lean_ctor_get(x_483, 1); lean_inc(x_484); x_485 = lean_ctor_get(x_483, 0); @@ -8382,7 +10685,7 @@ if (x_486 == 0) lean_object* x_487; lean_object* x_488; x_487 = lean_ctor_get(x_484, 1); lean_inc(x_485); -x_488 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_487, x_1, x_485); +x_488 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_487, x_1, x_485); lean_ctor_set(x_484, 1, x_488); x_397 = x_485; x_398 = x_484; @@ -8397,7 +10700,7 @@ lean_inc(x_490); lean_inc(x_489); lean_dec(x_484); lean_inc(x_485); -x_491 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_490, x_1, x_485); +x_491 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_490, x_1, x_485); x_492 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_492, 0, x_489); lean_ctor_set(x_492, 1, x_491); @@ -8462,13 +10765,13 @@ else lean_object* x_417; lean_object* x_418; x_417 = lean_ctor_get(x_398, 1); lean_inc(x_417); -x_418 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_417, x_413); +x_418 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_417, x_413); lean_dec(x_417); if (lean_obj_tag(x_418) == 0) { lean_object* x_419; uint8_t x_420; lean_inc(x_413); -x_419 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___at_Lean_MetavarContext_instantiateMVars___spec__2(x_413, x_398); +x_419 = l_Lean_MetavarContext_InstantiateExprMVars_main___main(x_413, x_398); x_420 = !lean_is_exclusive(x_419); if (x_420 == 0) { @@ -8481,7 +10784,7 @@ lean_object* x_423; lean_object* x_424; lean_object* x_425; x_423 = lean_ctor_get(x_419, 0); x_424 = lean_ctor_get(x_421, 1); lean_inc(x_423); -x_425 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_424, x_413, x_423); +x_425 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_424, x_413, x_423); lean_ctor_set(x_421, 1, x_425); return x_419; } @@ -8495,7 +10798,7 @@ lean_inc(x_428); lean_inc(x_427); lean_dec(x_421); lean_inc(x_426); -x_429 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_428, x_413, x_426); +x_429 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_428, x_413, x_426); x_430 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_430, 0, x_427); lean_ctor_set(x_430, 1, x_429); @@ -8524,7 +10827,7 @@ if (lean_is_exclusive(x_431)) { x_435 = lean_box(0); } lean_inc(x_432); -x_436 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_434, x_413, x_432); +x_436 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_434, x_413, x_432); if (lean_is_scalar(x_435)) { x_437 = lean_alloc_ctor(0, 2, 0); } else { @@ -8557,13 +10860,13 @@ else lean_object* x_441; lean_object* x_442; x_441 = lean_ctor_get(x_398, 1); lean_inc(x_441); -x_442 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_441, x_413); +x_442 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_441, x_413); lean_dec(x_441); if (lean_obj_tag(x_442) == 0) { lean_object* x_443; uint8_t x_444; lean_inc(x_413); -x_443 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___at_Lean_MetavarContext_instantiateMVars___spec__2(x_413, x_398); +x_443 = l_Lean_MetavarContext_InstantiateExprMVars_main___main(x_413, x_398); x_444 = !lean_is_exclusive(x_443); if (x_444 == 0) { @@ -8576,7 +10879,7 @@ lean_object* x_447; lean_object* x_448; lean_object* x_449; x_447 = lean_ctor_get(x_443, 0); x_448 = lean_ctor_get(x_445, 1); lean_inc(x_447); -x_449 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_448, x_413, x_447); +x_449 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_448, x_413, x_447); lean_ctor_set(x_445, 1, x_449); return x_443; } @@ -8590,7 +10893,7 @@ lean_inc(x_452); lean_inc(x_451); lean_dec(x_445); lean_inc(x_450); -x_453 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_452, x_413, x_450); +x_453 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_452, x_413, x_450); x_454 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_454, 0, x_451); lean_ctor_set(x_454, 1, x_453); @@ -8619,7 +10922,7 @@ if (lean_is_exclusive(x_455)) { x_459 = lean_box(0); } lean_inc(x_456); -x_460 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_458, x_413, x_456); +x_460 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_458, x_413, x_456); if (lean_is_scalar(x_459)) { x_461 = lean_alloc_ctor(0, 2, 0); } else { @@ -8653,7 +10956,7 @@ block_409: lean_object* x_400; lean_object* x_401; uint8_t x_402; lean_dec(x_399); x_400 = lean_unsigned_to_nat(0u); -x_401 = l_Array_umapMAux___main___at_Lean_MetavarContext_instantiateMVars___spec__7(x_400, x_2, x_398); +x_401 = l_Array_umapMAux___main___at_Lean_MetavarContext_InstantiateExprMVars_main___main___spec__3(x_400, x_2, x_398); x_402 = !lean_is_exclusive(x_401); if (x_402 == 0) { @@ -8715,13 +11018,13 @@ else lean_object* x_570; lean_object* x_571; x_570 = lean_ctor_get(x_3, 1); lean_inc(x_570); -x_571 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_570, x_1); +x_571 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_570, x_1); lean_dec(x_570); if (lean_obj_tag(x_571) == 0) { lean_object* x_572; lean_object* x_573; lean_object* x_574; uint8_t x_575; lean_inc(x_1); -x_572 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___at_Lean_MetavarContext_instantiateMVars___spec__2(x_1, x_3); +x_572 = l_Lean_MetavarContext_InstantiateExprMVars_main___main(x_1, x_3); x_573 = lean_ctor_get(x_572, 1); lean_inc(x_573); x_574 = lean_ctor_get(x_572, 0); @@ -8733,7 +11036,7 @@ if (x_575 == 0) lean_object* x_576; lean_object* x_577; x_576 = lean_ctor_get(x_573, 1); lean_inc(x_574); -x_577 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_576, x_1, x_574); +x_577 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_576, x_1, x_574); lean_ctor_set(x_573, 1, x_577); x_499 = x_574; x_500 = x_573; @@ -8748,7 +11051,7 @@ lean_inc(x_579); lean_inc(x_578); lean_dec(x_573); lean_inc(x_574); -x_580 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_579, x_1, x_574); +x_580 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_579, x_1, x_574); x_581 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_581, 0, x_578); lean_ctor_set(x_581, 1, x_580); @@ -8775,13 +11078,13 @@ else lean_object* x_583; lean_object* x_584; x_583 = lean_ctor_get(x_3, 1); lean_inc(x_583); -x_584 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_583, x_1); +x_584 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_583, x_1); lean_dec(x_583); if (lean_obj_tag(x_584) == 0) { lean_object* x_585; lean_object* x_586; lean_object* x_587; uint8_t x_588; lean_inc(x_1); -x_585 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___at_Lean_MetavarContext_instantiateMVars___spec__2(x_1, x_3); +x_585 = l_Lean_MetavarContext_InstantiateExprMVars_main___main(x_1, x_3); x_586 = lean_ctor_get(x_585, 1); lean_inc(x_586); x_587 = lean_ctor_get(x_585, 0); @@ -8793,7 +11096,7 @@ if (x_588 == 0) lean_object* x_589; lean_object* x_590; x_589 = lean_ctor_get(x_586, 1); lean_inc(x_587); -x_590 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_589, x_1, x_587); +x_590 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_589, x_1, x_587); lean_ctor_set(x_586, 1, x_590); x_499 = x_587; x_500 = x_586; @@ -8808,7 +11111,7 @@ lean_inc(x_592); lean_inc(x_591); lean_dec(x_586); lean_inc(x_587); -x_593 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_592, x_1, x_587); +x_593 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_592, x_1, x_587); x_594 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_594, 0, x_591); lean_ctor_set(x_594, 1, x_593); @@ -8873,13 +11176,13 @@ else lean_object* x_519; lean_object* x_520; x_519 = lean_ctor_get(x_500, 1); lean_inc(x_519); -x_520 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_519, x_515); +x_520 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_519, x_515); lean_dec(x_519); if (lean_obj_tag(x_520) == 0) { lean_object* x_521; uint8_t x_522; lean_inc(x_515); -x_521 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___at_Lean_MetavarContext_instantiateMVars___spec__2(x_515, x_500); +x_521 = l_Lean_MetavarContext_InstantiateExprMVars_main___main(x_515, x_500); x_522 = !lean_is_exclusive(x_521); if (x_522 == 0) { @@ -8892,7 +11195,7 @@ lean_object* x_525; lean_object* x_526; lean_object* x_527; x_525 = lean_ctor_get(x_521, 0); x_526 = lean_ctor_get(x_523, 1); lean_inc(x_525); -x_527 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_526, x_515, x_525); +x_527 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_526, x_515, x_525); lean_ctor_set(x_523, 1, x_527); return x_521; } @@ -8906,7 +11209,7 @@ lean_inc(x_530); lean_inc(x_529); lean_dec(x_523); lean_inc(x_528); -x_531 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_530, x_515, x_528); +x_531 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_530, x_515, x_528); x_532 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_532, 0, x_529); lean_ctor_set(x_532, 1, x_531); @@ -8935,7 +11238,7 @@ if (lean_is_exclusive(x_533)) { x_537 = lean_box(0); } lean_inc(x_534); -x_538 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_536, x_515, x_534); +x_538 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_536, x_515, x_534); if (lean_is_scalar(x_537)) { x_539 = lean_alloc_ctor(0, 2, 0); } else { @@ -8968,13 +11271,13 @@ else lean_object* x_543; lean_object* x_544; x_543 = lean_ctor_get(x_500, 1); lean_inc(x_543); -x_544 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_543, x_515); +x_544 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_543, x_515); lean_dec(x_543); if (lean_obj_tag(x_544) == 0) { lean_object* x_545; uint8_t x_546; lean_inc(x_515); -x_545 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___at_Lean_MetavarContext_instantiateMVars___spec__2(x_515, x_500); +x_545 = l_Lean_MetavarContext_InstantiateExprMVars_main___main(x_515, x_500); x_546 = !lean_is_exclusive(x_545); if (x_546 == 0) { @@ -8987,7 +11290,7 @@ lean_object* x_549; lean_object* x_550; lean_object* x_551; x_549 = lean_ctor_get(x_545, 0); x_550 = lean_ctor_get(x_547, 1); lean_inc(x_549); -x_551 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_550, x_515, x_549); +x_551 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_550, x_515, x_549); lean_ctor_set(x_547, 1, x_551); return x_545; } @@ -9001,7 +11304,7 @@ lean_inc(x_554); lean_inc(x_553); lean_dec(x_547); lean_inc(x_552); -x_555 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_554, x_515, x_552); +x_555 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_554, x_515, x_552); x_556 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_556, 0, x_553); lean_ctor_set(x_556, 1, x_555); @@ -9030,7 +11333,7 @@ if (lean_is_exclusive(x_557)) { x_561 = lean_box(0); } lean_inc(x_558); -x_562 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_560, x_515, x_558); +x_562 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_560, x_515, x_558); if (lean_is_scalar(x_561)) { x_563 = lean_alloc_ctor(0, 2, 0); } else { @@ -9064,7 +11367,7 @@ block_511: lean_object* x_502; lean_object* x_503; uint8_t x_504; lean_dec(x_501); x_502 = lean_unsigned_to_nat(0u); -x_503 = l_Array_umapMAux___main___at_Lean_MetavarContext_instantiateMVars___spec__7(x_502, x_2, x_500); +x_503 = l_Array_umapMAux___main___at_Lean_MetavarContext_InstantiateExprMVars_main___main___spec__3(x_502, x_2, x_500); x_504 = !lean_is_exclusive(x_503); if (x_504 == 0) { @@ -9113,13 +11416,13 @@ else lean_object* x_668; lean_object* x_669; x_668 = lean_ctor_get(x_3, 1); lean_inc(x_668); -x_669 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_668, x_1); +x_669 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_668, x_1); lean_dec(x_668); if (lean_obj_tag(x_669) == 0) { lean_object* x_670; lean_object* x_671; lean_object* x_672; uint8_t x_673; lean_inc(x_1); -x_670 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___at_Lean_MetavarContext_instantiateMVars___spec__2(x_1, x_3); +x_670 = l_Lean_MetavarContext_InstantiateExprMVars_main___main(x_1, x_3); x_671 = lean_ctor_get(x_670, 1); lean_inc(x_671); x_672 = lean_ctor_get(x_670, 0); @@ -9131,7 +11434,7 @@ if (x_673 == 0) lean_object* x_674; lean_object* x_675; x_674 = lean_ctor_get(x_671, 1); lean_inc(x_672); -x_675 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_674, x_1, x_672); +x_675 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_674, x_1, x_672); lean_ctor_set(x_671, 1, x_675); x_597 = x_672; x_598 = x_671; @@ -9146,7 +11449,7 @@ lean_inc(x_677); lean_inc(x_676); lean_dec(x_671); lean_inc(x_672); -x_678 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_677, x_1, x_672); +x_678 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_677, x_1, x_672); x_679 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_679, 0, x_676); lean_ctor_set(x_679, 1, x_678); @@ -9173,13 +11476,13 @@ else lean_object* x_681; lean_object* x_682; x_681 = lean_ctor_get(x_3, 1); lean_inc(x_681); -x_682 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_681, x_1); +x_682 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_681, x_1); lean_dec(x_681); if (lean_obj_tag(x_682) == 0) { lean_object* x_683; lean_object* x_684; lean_object* x_685; uint8_t x_686; lean_inc(x_1); -x_683 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___at_Lean_MetavarContext_instantiateMVars___spec__2(x_1, x_3); +x_683 = l_Lean_MetavarContext_InstantiateExprMVars_main___main(x_1, x_3); x_684 = lean_ctor_get(x_683, 1); lean_inc(x_684); x_685 = lean_ctor_get(x_683, 0); @@ -9191,7 +11494,7 @@ if (x_686 == 0) lean_object* x_687; lean_object* x_688; x_687 = lean_ctor_get(x_684, 1); lean_inc(x_685); -x_688 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_687, x_1, x_685); +x_688 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_687, x_1, x_685); lean_ctor_set(x_684, 1, x_688); x_597 = x_685; x_598 = x_684; @@ -9206,7 +11509,7 @@ lean_inc(x_690); lean_inc(x_689); lean_dec(x_684); lean_inc(x_685); -x_691 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_690, x_1, x_685); +x_691 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_690, x_1, x_685); x_692 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_692, 0, x_689); lean_ctor_set(x_692, 1, x_691); @@ -9271,13 +11574,13 @@ else lean_object* x_617; lean_object* x_618; x_617 = lean_ctor_get(x_598, 1); lean_inc(x_617); -x_618 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_617, x_613); +x_618 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_617, x_613); lean_dec(x_617); if (lean_obj_tag(x_618) == 0) { lean_object* x_619; uint8_t x_620; lean_inc(x_613); -x_619 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___at_Lean_MetavarContext_instantiateMVars___spec__2(x_613, x_598); +x_619 = l_Lean_MetavarContext_InstantiateExprMVars_main___main(x_613, x_598); x_620 = !lean_is_exclusive(x_619); if (x_620 == 0) { @@ -9290,7 +11593,7 @@ lean_object* x_623; lean_object* x_624; lean_object* x_625; x_623 = lean_ctor_get(x_619, 0); x_624 = lean_ctor_get(x_621, 1); lean_inc(x_623); -x_625 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_624, x_613, x_623); +x_625 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_624, x_613, x_623); lean_ctor_set(x_621, 1, x_625); return x_619; } @@ -9304,7 +11607,7 @@ lean_inc(x_628); lean_inc(x_627); lean_dec(x_621); lean_inc(x_626); -x_629 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_628, x_613, x_626); +x_629 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_628, x_613, x_626); x_630 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_630, 0, x_627); lean_ctor_set(x_630, 1, x_629); @@ -9333,7 +11636,7 @@ if (lean_is_exclusive(x_631)) { x_635 = lean_box(0); } lean_inc(x_632); -x_636 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_634, x_613, x_632); +x_636 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_634, x_613, x_632); if (lean_is_scalar(x_635)) { x_637 = lean_alloc_ctor(0, 2, 0); } else { @@ -9366,13 +11669,13 @@ else lean_object* x_641; lean_object* x_642; x_641 = lean_ctor_get(x_598, 1); lean_inc(x_641); -x_642 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_641, x_613); +x_642 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_641, x_613); lean_dec(x_641); if (lean_obj_tag(x_642) == 0) { lean_object* x_643; uint8_t x_644; lean_inc(x_613); -x_643 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___at_Lean_MetavarContext_instantiateMVars___spec__2(x_613, x_598); +x_643 = l_Lean_MetavarContext_InstantiateExprMVars_main___main(x_613, x_598); x_644 = !lean_is_exclusive(x_643); if (x_644 == 0) { @@ -9385,7 +11688,7 @@ lean_object* x_647; lean_object* x_648; lean_object* x_649; x_647 = lean_ctor_get(x_643, 0); x_648 = lean_ctor_get(x_645, 1); lean_inc(x_647); -x_649 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_648, x_613, x_647); +x_649 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_648, x_613, x_647); lean_ctor_set(x_645, 1, x_649); return x_643; } @@ -9399,7 +11702,7 @@ lean_inc(x_652); lean_inc(x_651); lean_dec(x_645); lean_inc(x_650); -x_653 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_652, x_613, x_650); +x_653 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_652, x_613, x_650); x_654 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_654, 0, x_651); lean_ctor_set(x_654, 1, x_653); @@ -9428,7 +11731,7 @@ if (lean_is_exclusive(x_655)) { x_659 = lean_box(0); } lean_inc(x_656); -x_660 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_658, x_613, x_656); +x_660 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_658, x_613, x_656); if (lean_is_scalar(x_659)) { x_661 = lean_alloc_ctor(0, 2, 0); } else { @@ -9462,7 +11765,7 @@ block_609: lean_object* x_600; lean_object* x_601; uint8_t x_602; lean_dec(x_599); x_600 = lean_unsigned_to_nat(0u); -x_601 = l_Array_umapMAux___main___at_Lean_MetavarContext_instantiateMVars___spec__7(x_600, x_2, x_598); +x_601 = l_Array_umapMAux___main___at_Lean_MetavarContext_InstantiateExprMVars_main___main___spec__3(x_600, x_2, x_598); x_602 = !lean_is_exclusive(x_601); if (x_602 == 0) { @@ -9511,13 +11814,13 @@ else lean_object* x_766; lean_object* x_767; x_766 = lean_ctor_get(x_3, 1); lean_inc(x_766); -x_767 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_766, x_1); +x_767 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_766, x_1); lean_dec(x_766); if (lean_obj_tag(x_767) == 0) { lean_object* x_768; lean_object* x_769; lean_object* x_770; uint8_t x_771; lean_inc(x_1); -x_768 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___at_Lean_MetavarContext_instantiateMVars___spec__2(x_1, x_3); +x_768 = l_Lean_MetavarContext_InstantiateExprMVars_main___main(x_1, x_3); x_769 = lean_ctor_get(x_768, 1); lean_inc(x_769); x_770 = lean_ctor_get(x_768, 0); @@ -9529,7 +11832,7 @@ if (x_771 == 0) lean_object* x_772; lean_object* x_773; x_772 = lean_ctor_get(x_769, 1); lean_inc(x_770); -x_773 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_772, x_1, x_770); +x_773 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_772, x_1, x_770); lean_ctor_set(x_769, 1, x_773); x_695 = x_770; x_696 = x_769; @@ -9544,7 +11847,7 @@ lean_inc(x_775); lean_inc(x_774); lean_dec(x_769); lean_inc(x_770); -x_776 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_775, x_1, x_770); +x_776 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_775, x_1, x_770); x_777 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_777, 0, x_774); lean_ctor_set(x_777, 1, x_776); @@ -9571,13 +11874,13 @@ else lean_object* x_779; lean_object* x_780; x_779 = lean_ctor_get(x_3, 1); lean_inc(x_779); -x_780 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_779, x_1); +x_780 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_779, x_1); lean_dec(x_779); if (lean_obj_tag(x_780) == 0) { lean_object* x_781; lean_object* x_782; lean_object* x_783; uint8_t x_784; lean_inc(x_1); -x_781 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___at_Lean_MetavarContext_instantiateMVars___spec__2(x_1, x_3); +x_781 = l_Lean_MetavarContext_InstantiateExprMVars_main___main(x_1, x_3); x_782 = lean_ctor_get(x_781, 1); lean_inc(x_782); x_783 = lean_ctor_get(x_781, 0); @@ -9589,7 +11892,7 @@ if (x_784 == 0) lean_object* x_785; lean_object* x_786; x_785 = lean_ctor_get(x_782, 1); lean_inc(x_783); -x_786 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_785, x_1, x_783); +x_786 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_785, x_1, x_783); lean_ctor_set(x_782, 1, x_786); x_695 = x_783; x_696 = x_782; @@ -9604,7 +11907,7 @@ lean_inc(x_788); lean_inc(x_787); lean_dec(x_782); lean_inc(x_783); -x_789 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_788, x_1, x_783); +x_789 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_788, x_1, x_783); x_790 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_790, 0, x_787); lean_ctor_set(x_790, 1, x_789); @@ -9669,13 +11972,13 @@ else lean_object* x_715; lean_object* x_716; x_715 = lean_ctor_get(x_696, 1); lean_inc(x_715); -x_716 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_715, x_711); +x_716 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_715, x_711); lean_dec(x_715); if (lean_obj_tag(x_716) == 0) { lean_object* x_717; uint8_t x_718; lean_inc(x_711); -x_717 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___at_Lean_MetavarContext_instantiateMVars___spec__2(x_711, x_696); +x_717 = l_Lean_MetavarContext_InstantiateExprMVars_main___main(x_711, x_696); x_718 = !lean_is_exclusive(x_717); if (x_718 == 0) { @@ -9688,7 +11991,7 @@ lean_object* x_721; lean_object* x_722; lean_object* x_723; x_721 = lean_ctor_get(x_717, 0); x_722 = lean_ctor_get(x_719, 1); lean_inc(x_721); -x_723 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_722, x_711, x_721); +x_723 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_722, x_711, x_721); lean_ctor_set(x_719, 1, x_723); return x_717; } @@ -9702,7 +12005,7 @@ lean_inc(x_726); lean_inc(x_725); lean_dec(x_719); lean_inc(x_724); -x_727 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_726, x_711, x_724); +x_727 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_726, x_711, x_724); x_728 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_728, 0, x_725); lean_ctor_set(x_728, 1, x_727); @@ -9731,7 +12034,7 @@ if (lean_is_exclusive(x_729)) { x_733 = lean_box(0); } lean_inc(x_730); -x_734 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_732, x_711, x_730); +x_734 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_732, x_711, x_730); if (lean_is_scalar(x_733)) { x_735 = lean_alloc_ctor(0, 2, 0); } else { @@ -9764,13 +12067,13 @@ else lean_object* x_739; lean_object* x_740; x_739 = lean_ctor_get(x_696, 1); lean_inc(x_739); -x_740 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_739, x_711); +x_740 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_739, x_711); lean_dec(x_739); if (lean_obj_tag(x_740) == 0) { lean_object* x_741; uint8_t x_742; lean_inc(x_711); -x_741 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___at_Lean_MetavarContext_instantiateMVars___spec__2(x_711, x_696); +x_741 = l_Lean_MetavarContext_InstantiateExprMVars_main___main(x_711, x_696); x_742 = !lean_is_exclusive(x_741); if (x_742 == 0) { @@ -9783,7 +12086,7 @@ lean_object* x_745; lean_object* x_746; lean_object* x_747; x_745 = lean_ctor_get(x_741, 0); x_746 = lean_ctor_get(x_743, 1); lean_inc(x_745); -x_747 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_746, x_711, x_745); +x_747 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_746, x_711, x_745); lean_ctor_set(x_743, 1, x_747); return x_741; } @@ -9797,7 +12100,7 @@ lean_inc(x_750); lean_inc(x_749); lean_dec(x_743); lean_inc(x_748); -x_751 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_750, x_711, x_748); +x_751 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_750, x_711, x_748); x_752 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_752, 0, x_749); lean_ctor_set(x_752, 1, x_751); @@ -9826,7 +12129,7 @@ if (lean_is_exclusive(x_753)) { x_757 = lean_box(0); } lean_inc(x_754); -x_758 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_756, x_711, x_754); +x_758 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_756, x_711, x_754); if (lean_is_scalar(x_757)) { x_759 = lean_alloc_ctor(0, 2, 0); } else { @@ -9860,7 +12163,7 @@ block_707: lean_object* x_698; lean_object* x_699; uint8_t x_700; lean_dec(x_697); x_698 = lean_unsigned_to_nat(0u); -x_699 = l_Array_umapMAux___main___at_Lean_MetavarContext_instantiateMVars___spec__7(x_698, x_2, x_696); +x_699 = l_Array_umapMAux___main___at_Lean_MetavarContext_InstantiateExprMVars_main___main___spec__3(x_698, x_2, x_696); x_700 = !lean_is_exclusive(x_699); if (x_700 == 0) { @@ -9909,13 +12212,13 @@ else lean_object* x_864; lean_object* x_865; x_864 = lean_ctor_get(x_3, 1); lean_inc(x_864); -x_865 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_864, x_1); +x_865 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_864, x_1); lean_dec(x_864); if (lean_obj_tag(x_865) == 0) { lean_object* x_866; lean_object* x_867; lean_object* x_868; uint8_t x_869; lean_inc(x_1); -x_866 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___at_Lean_MetavarContext_instantiateMVars___spec__2(x_1, x_3); +x_866 = l_Lean_MetavarContext_InstantiateExprMVars_main___main(x_1, x_3); x_867 = lean_ctor_get(x_866, 1); lean_inc(x_867); x_868 = lean_ctor_get(x_866, 0); @@ -9927,7 +12230,7 @@ if (x_869 == 0) lean_object* x_870; lean_object* x_871; x_870 = lean_ctor_get(x_867, 1); lean_inc(x_868); -x_871 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_870, x_1, x_868); +x_871 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_870, x_1, x_868); lean_ctor_set(x_867, 1, x_871); x_793 = x_868; x_794 = x_867; @@ -9942,7 +12245,7 @@ lean_inc(x_873); lean_inc(x_872); lean_dec(x_867); lean_inc(x_868); -x_874 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_873, x_1, x_868); +x_874 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_873, x_1, x_868); x_875 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_875, 0, x_872); lean_ctor_set(x_875, 1, x_874); @@ -9969,13 +12272,13 @@ else lean_object* x_877; lean_object* x_878; x_877 = lean_ctor_get(x_3, 1); lean_inc(x_877); -x_878 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_877, x_1); +x_878 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_877, x_1); lean_dec(x_877); if (lean_obj_tag(x_878) == 0) { lean_object* x_879; lean_object* x_880; lean_object* x_881; uint8_t x_882; lean_inc(x_1); -x_879 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___at_Lean_MetavarContext_instantiateMVars___spec__2(x_1, x_3); +x_879 = l_Lean_MetavarContext_InstantiateExprMVars_main___main(x_1, x_3); x_880 = lean_ctor_get(x_879, 1); lean_inc(x_880); x_881 = lean_ctor_get(x_879, 0); @@ -9987,7 +12290,7 @@ if (x_882 == 0) lean_object* x_883; lean_object* x_884; x_883 = lean_ctor_get(x_880, 1); lean_inc(x_881); -x_884 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_883, x_1, x_881); +x_884 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_883, x_1, x_881); lean_ctor_set(x_880, 1, x_884); x_793 = x_881; x_794 = x_880; @@ -10002,7 +12305,7 @@ lean_inc(x_886); lean_inc(x_885); lean_dec(x_880); lean_inc(x_881); -x_887 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_886, x_1, x_881); +x_887 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_886, x_1, x_881); x_888 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_888, 0, x_885); lean_ctor_set(x_888, 1, x_887); @@ -10067,13 +12370,13 @@ else lean_object* x_813; lean_object* x_814; x_813 = lean_ctor_get(x_794, 1); lean_inc(x_813); -x_814 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_813, x_809); +x_814 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_813, x_809); lean_dec(x_813); if (lean_obj_tag(x_814) == 0) { lean_object* x_815; uint8_t x_816; lean_inc(x_809); -x_815 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___at_Lean_MetavarContext_instantiateMVars___spec__2(x_809, x_794); +x_815 = l_Lean_MetavarContext_InstantiateExprMVars_main___main(x_809, x_794); x_816 = !lean_is_exclusive(x_815); if (x_816 == 0) { @@ -10086,7 +12389,7 @@ lean_object* x_819; lean_object* x_820; lean_object* x_821; x_819 = lean_ctor_get(x_815, 0); x_820 = lean_ctor_get(x_817, 1); lean_inc(x_819); -x_821 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_820, x_809, x_819); +x_821 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_820, x_809, x_819); lean_ctor_set(x_817, 1, x_821); return x_815; } @@ -10100,7 +12403,7 @@ lean_inc(x_824); lean_inc(x_823); lean_dec(x_817); lean_inc(x_822); -x_825 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_824, x_809, x_822); +x_825 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_824, x_809, x_822); x_826 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_826, 0, x_823); lean_ctor_set(x_826, 1, x_825); @@ -10129,7 +12432,7 @@ if (lean_is_exclusive(x_827)) { x_831 = lean_box(0); } lean_inc(x_828); -x_832 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_830, x_809, x_828); +x_832 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_830, x_809, x_828); if (lean_is_scalar(x_831)) { x_833 = lean_alloc_ctor(0, 2, 0); } else { @@ -10162,13 +12465,13 @@ else lean_object* x_837; lean_object* x_838; x_837 = lean_ctor_get(x_794, 1); lean_inc(x_837); -x_838 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_837, x_809); +x_838 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_837, x_809); lean_dec(x_837); if (lean_obj_tag(x_838) == 0) { lean_object* x_839; uint8_t x_840; lean_inc(x_809); -x_839 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___at_Lean_MetavarContext_instantiateMVars___spec__2(x_809, x_794); +x_839 = l_Lean_MetavarContext_InstantiateExprMVars_main___main(x_809, x_794); x_840 = !lean_is_exclusive(x_839); if (x_840 == 0) { @@ -10181,7 +12484,7 @@ lean_object* x_843; lean_object* x_844; lean_object* x_845; x_843 = lean_ctor_get(x_839, 0); x_844 = lean_ctor_get(x_841, 1); lean_inc(x_843); -x_845 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_844, x_809, x_843); +x_845 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_844, x_809, x_843); lean_ctor_set(x_841, 1, x_845); return x_839; } @@ -10195,7 +12498,7 @@ lean_inc(x_848); lean_inc(x_847); lean_dec(x_841); lean_inc(x_846); -x_849 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_848, x_809, x_846); +x_849 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_848, x_809, x_846); x_850 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_850, 0, x_847); lean_ctor_set(x_850, 1, x_849); @@ -10224,7 +12527,7 @@ if (lean_is_exclusive(x_851)) { x_855 = lean_box(0); } lean_inc(x_852); -x_856 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_854, x_809, x_852); +x_856 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_854, x_809, x_852); if (lean_is_scalar(x_855)) { x_857 = lean_alloc_ctor(0, 2, 0); } else { @@ -10258,7 +12561,7 @@ block_805: lean_object* x_796; lean_object* x_797; uint8_t x_798; lean_dec(x_795); x_796 = lean_unsigned_to_nat(0u); -x_797 = l_Array_umapMAux___main___at_Lean_MetavarContext_instantiateMVars___spec__7(x_796, x_2, x_794); +x_797 = l_Array_umapMAux___main___at_Lean_MetavarContext_InstantiateExprMVars_main___main___spec__3(x_796, x_2, x_794); x_798 = !lean_is_exclusive(x_797); if (x_798 == 0) { @@ -10307,13 +12610,13 @@ else lean_object* x_962; lean_object* x_963; x_962 = lean_ctor_get(x_3, 1); lean_inc(x_962); -x_963 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_962, x_1); +x_963 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_962, x_1); lean_dec(x_962); if (lean_obj_tag(x_963) == 0) { lean_object* x_964; lean_object* x_965; lean_object* x_966; uint8_t x_967; lean_inc(x_1); -x_964 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___at_Lean_MetavarContext_instantiateMVars___spec__2(x_1, x_3); +x_964 = l_Lean_MetavarContext_InstantiateExprMVars_main___main(x_1, x_3); x_965 = lean_ctor_get(x_964, 1); lean_inc(x_965); x_966 = lean_ctor_get(x_964, 0); @@ -10325,7 +12628,7 @@ if (x_967 == 0) lean_object* x_968; lean_object* x_969; x_968 = lean_ctor_get(x_965, 1); lean_inc(x_966); -x_969 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_968, x_1, x_966); +x_969 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_968, x_1, x_966); lean_ctor_set(x_965, 1, x_969); x_891 = x_966; x_892 = x_965; @@ -10340,7 +12643,7 @@ lean_inc(x_971); lean_inc(x_970); lean_dec(x_965); lean_inc(x_966); -x_972 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_971, x_1, x_966); +x_972 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_971, x_1, x_966); x_973 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_973, 0, x_970); lean_ctor_set(x_973, 1, x_972); @@ -10367,13 +12670,13 @@ else lean_object* x_975; lean_object* x_976; x_975 = lean_ctor_get(x_3, 1); lean_inc(x_975); -x_976 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_975, x_1); +x_976 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_975, x_1); lean_dec(x_975); if (lean_obj_tag(x_976) == 0) { lean_object* x_977; lean_object* x_978; lean_object* x_979; uint8_t x_980; lean_inc(x_1); -x_977 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___at_Lean_MetavarContext_instantiateMVars___spec__2(x_1, x_3); +x_977 = l_Lean_MetavarContext_InstantiateExprMVars_main___main(x_1, x_3); x_978 = lean_ctor_get(x_977, 1); lean_inc(x_978); x_979 = lean_ctor_get(x_977, 0); @@ -10385,7 +12688,7 @@ if (x_980 == 0) lean_object* x_981; lean_object* x_982; x_981 = lean_ctor_get(x_978, 1); lean_inc(x_979); -x_982 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_981, x_1, x_979); +x_982 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_981, x_1, x_979); lean_ctor_set(x_978, 1, x_982); x_891 = x_979; x_892 = x_978; @@ -10400,7 +12703,7 @@ lean_inc(x_984); lean_inc(x_983); lean_dec(x_978); lean_inc(x_979); -x_985 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_984, x_1, x_979); +x_985 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_984, x_1, x_979); x_986 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_986, 0, x_983); lean_ctor_set(x_986, 1, x_985); @@ -10465,13 +12768,13 @@ else lean_object* x_911; lean_object* x_912; x_911 = lean_ctor_get(x_892, 1); lean_inc(x_911); -x_912 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_911, x_907); +x_912 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_911, x_907); lean_dec(x_911); if (lean_obj_tag(x_912) == 0) { lean_object* x_913; uint8_t x_914; lean_inc(x_907); -x_913 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___at_Lean_MetavarContext_instantiateMVars___spec__2(x_907, x_892); +x_913 = l_Lean_MetavarContext_InstantiateExprMVars_main___main(x_907, x_892); x_914 = !lean_is_exclusive(x_913); if (x_914 == 0) { @@ -10484,7 +12787,7 @@ lean_object* x_917; lean_object* x_918; lean_object* x_919; x_917 = lean_ctor_get(x_913, 0); x_918 = lean_ctor_get(x_915, 1); lean_inc(x_917); -x_919 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_918, x_907, x_917); +x_919 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_918, x_907, x_917); lean_ctor_set(x_915, 1, x_919); return x_913; } @@ -10498,7 +12801,7 @@ lean_inc(x_922); lean_inc(x_921); lean_dec(x_915); lean_inc(x_920); -x_923 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_922, x_907, x_920); +x_923 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_922, x_907, x_920); x_924 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_924, 0, x_921); lean_ctor_set(x_924, 1, x_923); @@ -10527,7 +12830,7 @@ if (lean_is_exclusive(x_925)) { x_929 = lean_box(0); } lean_inc(x_926); -x_930 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_928, x_907, x_926); +x_930 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_928, x_907, x_926); if (lean_is_scalar(x_929)) { x_931 = lean_alloc_ctor(0, 2, 0); } else { @@ -10560,13 +12863,13 @@ else lean_object* x_935; lean_object* x_936; x_935 = lean_ctor_get(x_892, 1); lean_inc(x_935); -x_936 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_935, x_907); +x_936 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_935, x_907); lean_dec(x_935); if (lean_obj_tag(x_936) == 0) { lean_object* x_937; uint8_t x_938; lean_inc(x_907); -x_937 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___at_Lean_MetavarContext_instantiateMVars___spec__2(x_907, x_892); +x_937 = l_Lean_MetavarContext_InstantiateExprMVars_main___main(x_907, x_892); x_938 = !lean_is_exclusive(x_937); if (x_938 == 0) { @@ -10579,7 +12882,7 @@ lean_object* x_941; lean_object* x_942; lean_object* x_943; x_941 = lean_ctor_get(x_937, 0); x_942 = lean_ctor_get(x_939, 1); lean_inc(x_941); -x_943 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_942, x_907, x_941); +x_943 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_942, x_907, x_941); lean_ctor_set(x_939, 1, x_943); return x_937; } @@ -10593,7 +12896,7 @@ lean_inc(x_946); lean_inc(x_945); lean_dec(x_939); lean_inc(x_944); -x_947 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_946, x_907, x_944); +x_947 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_946, x_907, x_944); x_948 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_948, 0, x_945); lean_ctor_set(x_948, 1, x_947); @@ -10622,7 +12925,7 @@ if (lean_is_exclusive(x_949)) { x_953 = lean_box(0); } lean_inc(x_950); -x_954 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_952, x_907, x_950); +x_954 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_952, x_907, x_950); if (lean_is_scalar(x_953)) { x_955 = lean_alloc_ctor(0, 2, 0); } else { @@ -10656,7 +12959,7 @@ block_903: lean_object* x_894; lean_object* x_895; uint8_t x_896; lean_dec(x_893); x_894 = lean_unsigned_to_nat(0u); -x_895 = l_Array_umapMAux___main___at_Lean_MetavarContext_instantiateMVars___spec__7(x_894, x_2, x_892); +x_895 = l_Array_umapMAux___main___at_Lean_MetavarContext_InstantiateExprMVars_main___main___spec__3(x_894, x_2, x_892); x_896 = !lean_is_exclusive(x_895); if (x_896 == 0) { @@ -10705,13 +13008,13 @@ else lean_object* x_1060; lean_object* x_1061; x_1060 = lean_ctor_get(x_3, 1); lean_inc(x_1060); -x_1061 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_1060, x_1); +x_1061 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_1060, x_1); lean_dec(x_1060); if (lean_obj_tag(x_1061) == 0) { lean_object* x_1062; lean_object* x_1063; lean_object* x_1064; uint8_t x_1065; lean_inc(x_1); -x_1062 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___at_Lean_MetavarContext_instantiateMVars___spec__2(x_1, x_3); +x_1062 = l_Lean_MetavarContext_InstantiateExprMVars_main___main(x_1, x_3); x_1063 = lean_ctor_get(x_1062, 1); lean_inc(x_1063); x_1064 = lean_ctor_get(x_1062, 0); @@ -10723,7 +13026,7 @@ if (x_1065 == 0) lean_object* x_1066; lean_object* x_1067; x_1066 = lean_ctor_get(x_1063, 1); lean_inc(x_1064); -x_1067 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_1066, x_1, x_1064); +x_1067 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_1066, x_1, x_1064); lean_ctor_set(x_1063, 1, x_1067); x_989 = x_1064; x_990 = x_1063; @@ -10738,7 +13041,7 @@ lean_inc(x_1069); lean_inc(x_1068); lean_dec(x_1063); lean_inc(x_1064); -x_1070 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_1069, x_1, x_1064); +x_1070 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_1069, x_1, x_1064); x_1071 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_1071, 0, x_1068); lean_ctor_set(x_1071, 1, x_1070); @@ -10765,13 +13068,13 @@ else lean_object* x_1073; lean_object* x_1074; x_1073 = lean_ctor_get(x_3, 1); lean_inc(x_1073); -x_1074 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_1073, x_1); +x_1074 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_1073, x_1); lean_dec(x_1073); if (lean_obj_tag(x_1074) == 0) { lean_object* x_1075; lean_object* x_1076; lean_object* x_1077; uint8_t x_1078; lean_inc(x_1); -x_1075 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___at_Lean_MetavarContext_instantiateMVars___spec__2(x_1, x_3); +x_1075 = l_Lean_MetavarContext_InstantiateExprMVars_main___main(x_1, x_3); x_1076 = lean_ctor_get(x_1075, 1); lean_inc(x_1076); x_1077 = lean_ctor_get(x_1075, 0); @@ -10783,7 +13086,7 @@ if (x_1078 == 0) lean_object* x_1079; lean_object* x_1080; x_1079 = lean_ctor_get(x_1076, 1); lean_inc(x_1077); -x_1080 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_1079, x_1, x_1077); +x_1080 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_1079, x_1, x_1077); lean_ctor_set(x_1076, 1, x_1080); x_989 = x_1077; x_990 = x_1076; @@ -10798,7 +13101,7 @@ lean_inc(x_1082); lean_inc(x_1081); lean_dec(x_1076); lean_inc(x_1077); -x_1083 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_1082, x_1, x_1077); +x_1083 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_1082, x_1, x_1077); x_1084 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_1084, 0, x_1081); lean_ctor_set(x_1084, 1, x_1083); @@ -10863,13 +13166,13 @@ else lean_object* x_1009; lean_object* x_1010; x_1009 = lean_ctor_get(x_990, 1); lean_inc(x_1009); -x_1010 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_1009, x_1005); +x_1010 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_1009, x_1005); lean_dec(x_1009); if (lean_obj_tag(x_1010) == 0) { lean_object* x_1011; uint8_t x_1012; lean_inc(x_1005); -x_1011 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___at_Lean_MetavarContext_instantiateMVars___spec__2(x_1005, x_990); +x_1011 = l_Lean_MetavarContext_InstantiateExprMVars_main___main(x_1005, x_990); x_1012 = !lean_is_exclusive(x_1011); if (x_1012 == 0) { @@ -10882,7 +13185,7 @@ lean_object* x_1015; lean_object* x_1016; lean_object* x_1017; x_1015 = lean_ctor_get(x_1011, 0); x_1016 = lean_ctor_get(x_1013, 1); lean_inc(x_1015); -x_1017 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_1016, x_1005, x_1015); +x_1017 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_1016, x_1005, x_1015); lean_ctor_set(x_1013, 1, x_1017); return x_1011; } @@ -10896,7 +13199,7 @@ lean_inc(x_1020); lean_inc(x_1019); lean_dec(x_1013); lean_inc(x_1018); -x_1021 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_1020, x_1005, x_1018); +x_1021 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_1020, x_1005, x_1018); x_1022 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_1022, 0, x_1019); lean_ctor_set(x_1022, 1, x_1021); @@ -10925,7 +13228,7 @@ if (lean_is_exclusive(x_1023)) { x_1027 = lean_box(0); } lean_inc(x_1024); -x_1028 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_1026, x_1005, x_1024); +x_1028 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_1026, x_1005, x_1024); if (lean_is_scalar(x_1027)) { x_1029 = lean_alloc_ctor(0, 2, 0); } else { @@ -10958,13 +13261,13 @@ else lean_object* x_1033; lean_object* x_1034; x_1033 = lean_ctor_get(x_990, 1); lean_inc(x_1033); -x_1034 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_1033, x_1005); +x_1034 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_1033, x_1005); lean_dec(x_1033); if (lean_obj_tag(x_1034) == 0) { lean_object* x_1035; uint8_t x_1036; lean_inc(x_1005); -x_1035 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___at_Lean_MetavarContext_instantiateMVars___spec__2(x_1005, x_990); +x_1035 = l_Lean_MetavarContext_InstantiateExprMVars_main___main(x_1005, x_990); x_1036 = !lean_is_exclusive(x_1035); if (x_1036 == 0) { @@ -10977,7 +13280,7 @@ lean_object* x_1039; lean_object* x_1040; lean_object* x_1041; x_1039 = lean_ctor_get(x_1035, 0); x_1040 = lean_ctor_get(x_1037, 1); lean_inc(x_1039); -x_1041 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_1040, x_1005, x_1039); +x_1041 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_1040, x_1005, x_1039); lean_ctor_set(x_1037, 1, x_1041); return x_1035; } @@ -10991,7 +13294,7 @@ lean_inc(x_1044); lean_inc(x_1043); lean_dec(x_1037); lean_inc(x_1042); -x_1045 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_1044, x_1005, x_1042); +x_1045 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_1044, x_1005, x_1042); x_1046 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_1046, 0, x_1043); lean_ctor_set(x_1046, 1, x_1045); @@ -11020,7 +13323,7 @@ if (lean_is_exclusive(x_1047)) { x_1051 = lean_box(0); } lean_inc(x_1048); -x_1052 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_1050, x_1005, x_1048); +x_1052 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_1050, x_1005, x_1048); if (lean_is_scalar(x_1051)) { x_1053 = lean_alloc_ctor(0, 2, 0); } else { @@ -11054,7 +13357,7 @@ block_1001: lean_object* x_992; lean_object* x_993; uint8_t x_994; lean_dec(x_991); x_992 = lean_unsigned_to_nat(0u); -x_993 = l_Array_umapMAux___main___at_Lean_MetavarContext_instantiateMVars___spec__7(x_992, x_2, x_990); +x_993 = l_Array_umapMAux___main___at_Lean_MetavarContext_InstantiateExprMVars_main___main___spec__3(x_992, x_2, x_990); x_994 = !lean_is_exclusive(x_993); if (x_994 == 0) { @@ -11086,35 +13389,35 @@ return x_1000; } } } -lean_object* l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___at_Lean_MetavarContext_instantiateMVars___spec__2(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_MetavarContext_InstantiateExprMVars_main___main(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; lean_object* x_15; lean_object* x_16; lean_object* x_26; lean_object* x_27; switch (lean_obj_tag(x_1)) { case 2: { -lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_48; lean_object* x_49; +lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; x_37 = lean_ctor_get(x_1, 0); lean_inc(x_37); -x_48 = lean_ctor_get(x_2, 1); -lean_inc(x_48); -x_49 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_48, x_1); -if (lean_obj_tag(x_49) == 0) +x_38 = lean_ctor_get(x_2, 0); +lean_inc(x_38); +x_39 = lean_ctor_get(x_2, 1); +lean_inc(x_39); +x_40 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_39, x_1); +if (lean_obj_tag(x_40) == 0) { -lean_object* x_50; lean_object* x_51; -x_50 = lean_ctor_get(x_2, 0); -lean_inc(x_50); +lean_object* x_41; lean_inc(x_37); -lean_inc(x_50); -x_51 = lean_metavar_ctx_get_expr_assignment(x_50, x_37); -if (lean_obj_tag(x_51) == 0) +lean_inc(x_38); +x_41 = lean_metavar_ctx_get_expr_assignment(x_38, x_37); +if (lean_obj_tag(x_41) == 0) { -lean_object* x_52; +lean_object* x_42; lean_inc(x_37); -x_52 = lean_metavar_ctx_get_delayed_assignment(x_50, x_37); -if (lean_obj_tag(x_52) == 0) +x_42 = lean_metavar_ctx_get_delayed_assignment(x_38, x_37); +if (lean_obj_tag(x_42) == 0) { -lean_dec(x_48); +lean_dec(x_39); lean_dec(x_37); lean_inc(x_1); x_3 = x_1; @@ -11123,1646 +13426,1736 @@ goto block_14; } else { -lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; uint8_t x_99; -x_53 = lean_ctor_get(x_52, 0); -lean_inc(x_53); -lean_dec(x_52); +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_89; +x_43 = lean_ctor_get(x_42, 0); +lean_inc(x_43); +lean_dec(x_42); +x_44 = lean_ctor_get(x_43, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_43, 1); +lean_inc(x_45); +x_46 = lean_ctor_get(x_43, 2); +lean_inc(x_46); +lean_dec(x_43); +x_89 = lean_expr_has_expr_mvar(x_46); +if (x_89 == 0) +{ +uint8_t x_90; +x_90 = lean_expr_has_level_mvar(x_46); +if (x_90 == 0) +{ +lean_dec(x_39); +x_47 = x_46; +x_48 = x_2; +goto block_88; +} +else +{ +lean_object* x_91; +x_91 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_39, x_46); +lean_dec(x_39); +if (lean_obj_tag(x_91) == 0) +{ +lean_object* x_92; lean_object* x_93; lean_object* x_94; uint8_t x_95; +lean_inc(x_46); +x_92 = l_Lean_MetavarContext_InstantiateExprMVars_main___main(x_46, x_2); +x_93 = lean_ctor_get(x_92, 1); +lean_inc(x_93); +x_94 = lean_ctor_get(x_92, 0); +lean_inc(x_94); +lean_dec(x_92); +x_95 = !lean_is_exclusive(x_93); +if (x_95 == 0) +{ +lean_object* x_96; lean_object* x_97; +x_96 = lean_ctor_get(x_93, 1); +lean_inc(x_94); +x_97 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_96, x_46, x_94); +lean_ctor_set(x_93, 1, x_97); +x_47 = x_94; +x_48 = x_93; +goto block_88; +} +else +{ +lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; +x_98 = lean_ctor_get(x_93, 0); +x_99 = lean_ctor_get(x_93, 1); +lean_inc(x_99); +lean_inc(x_98); +lean_dec(x_93); +lean_inc(x_94); +x_100 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_99, x_46, x_94); +x_101 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_101, 0, x_98); +lean_ctor_set(x_101, 1, x_100); +x_47 = x_94; +x_48 = x_101; +goto block_88; +} +} +else +{ +lean_object* x_102; +lean_dec(x_46); +x_102 = lean_ctor_get(x_91, 0); +lean_inc(x_102); +lean_dec(x_91); +x_47 = x_102; +x_48 = x_2; +goto block_88; +} +} +} +else +{ +lean_object* x_103; +x_103 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_39, x_46); +lean_dec(x_39); +if (lean_obj_tag(x_103) == 0) +{ +lean_object* x_104; lean_object* x_105; lean_object* x_106; uint8_t x_107; +lean_inc(x_46); +x_104 = l_Lean_MetavarContext_InstantiateExprMVars_main___main(x_46, x_2); +x_105 = lean_ctor_get(x_104, 1); +lean_inc(x_105); +x_106 = lean_ctor_get(x_104, 0); +lean_inc(x_106); +lean_dec(x_104); +x_107 = !lean_is_exclusive(x_105); +if (x_107 == 0) +{ +lean_object* x_108; lean_object* x_109; +x_108 = lean_ctor_get(x_105, 1); +lean_inc(x_106); +x_109 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_108, x_46, x_106); +lean_ctor_set(x_105, 1, x_109); +x_47 = x_106; +x_48 = x_105; +goto block_88; +} +else +{ +lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; +x_110 = lean_ctor_get(x_105, 0); +x_111 = lean_ctor_get(x_105, 1); +lean_inc(x_111); +lean_inc(x_110); +lean_dec(x_105); +lean_inc(x_106); +x_112 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_111, x_46, x_106); +x_113 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_113, 0, x_110); +lean_ctor_set(x_113, 1, x_112); +x_47 = x_106; +x_48 = x_113; +goto block_88; +} +} +else +{ +lean_object* x_114; +lean_dec(x_46); +x_114 = lean_ctor_get(x_103, 0); +lean_inc(x_114); +lean_dec(x_103); +x_47 = x_114; +x_48 = x_2; +goto block_88; +} +} +block_88: +{ +uint8_t x_49; +x_49 = lean_expr_has_expr_mvar(x_47); +if (x_49 == 0) +{ +uint8_t x_50; +x_50 = lean_expr_has_level_mvar(x_47); +if (x_50 == 0) +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; +x_51 = lean_array_get_size(x_45); +x_52 = lean_expr_abstract(x_47, x_45); +lean_inc(x_44); +x_53 = l___private_Init_Lean_MetavarContext_7__instantiateDelayedAux___main___at_Lean_MetavarContext_InstantiateExprMVars_main___main___spec__1(x_44, x_45, x_51, x_52, x_48); x_54 = lean_ctor_get(x_53, 0); lean_inc(x_54); +if (lean_obj_tag(x_54) == 0) +{ +lean_object* x_55; uint8_t x_56; x_55 = lean_ctor_get(x_53, 1); lean_inc(x_55); -x_56 = lean_ctor_get(x_53, 2); -lean_inc(x_56); lean_dec(x_53); -x_99 = lean_expr_has_expr_mvar(x_56); -if (x_99 == 0) +x_56 = !lean_is_exclusive(x_55); +if (x_56 == 0) { -uint8_t x_100; -x_100 = lean_expr_has_level_mvar(x_56); -if (x_100 == 0) +lean_object* x_57; lean_object* x_58; +x_57 = lean_ctor_get(x_55, 0); +x_58 = lean_metavar_ctx_assign_delayed(x_57, x_37, x_44, x_45, x_47); +lean_ctor_set(x_55, 0, x_58); +lean_inc(x_1); +x_3 = x_1; +x_4 = x_55; +goto block_14; +} +else { +lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_59 = lean_ctor_get(x_55, 0); +x_60 = lean_ctor_get(x_55, 1); +lean_inc(x_60); +lean_inc(x_59); +lean_dec(x_55); +x_61 = lean_metavar_ctx_assign_delayed(x_59, x_37, x_44, x_45, x_47); +x_62 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_62, 0, x_61); +lean_ctor_set(x_62, 1, x_60); +lean_inc(x_1); +x_3 = x_1; +x_4 = x_62; +goto block_14; +} +} +else +{ +lean_object* x_63; lean_object* x_64; uint8_t x_65; +lean_dec(x_47); +lean_dec(x_45); +lean_dec(x_44); +x_63 = lean_ctor_get(x_53, 1); +lean_inc(x_63); +lean_dec(x_53); +x_64 = lean_ctor_get(x_54, 0); +lean_inc(x_64); +lean_dec(x_54); +x_65 = !lean_is_exclusive(x_63); +if (x_65 == 0) +{ +lean_object* x_66; lean_object* x_67; lean_object* x_68; +x_66 = lean_ctor_get(x_63, 0); +lean_inc(x_37); +x_67 = lean_metavar_ctx_erase_delayed(x_66, x_37); +lean_inc(x_64); +x_68 = lean_metavar_ctx_assign_expr(x_67, x_37, x_64); +lean_ctor_set(x_63, 0, x_68); +x_3 = x_64; +x_4 = x_63; +goto block_14; +} +else +{ +lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; +x_69 = lean_ctor_get(x_63, 0); +x_70 = lean_ctor_get(x_63, 1); +lean_inc(x_70); +lean_inc(x_69); +lean_dec(x_63); +lean_inc(x_37); +x_71 = lean_metavar_ctx_erase_delayed(x_69, x_37); +lean_inc(x_64); +x_72 = lean_metavar_ctx_assign_expr(x_71, x_37, x_64); +x_73 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_73, 0, x_72); +lean_ctor_set(x_73, 1, x_70); +x_3 = x_64; +x_4 = x_73; +goto block_14; +} +} +} +else +{ +uint8_t x_74; +x_74 = !lean_is_exclusive(x_48); +if (x_74 == 0) +{ +lean_object* x_75; lean_object* x_76; +x_75 = lean_ctor_get(x_48, 0); +x_76 = lean_metavar_ctx_assign_delayed(x_75, x_37, x_44, x_45, x_47); +lean_ctor_set(x_48, 0, x_76); +lean_inc(x_1); +x_3 = x_1; +x_4 = x_48; +goto block_14; +} +else +{ +lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; +x_77 = lean_ctor_get(x_48, 0); +x_78 = lean_ctor_get(x_48, 1); +lean_inc(x_78); +lean_inc(x_77); lean_dec(x_48); -x_57 = x_56; -x_58 = x_2; -goto block_98; +x_79 = lean_metavar_ctx_assign_delayed(x_77, x_37, x_44, x_45, x_47); +x_80 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_80, 0, x_79); +lean_ctor_set(x_80, 1, x_78); +lean_inc(x_1); +x_3 = x_1; +x_4 = x_80; +goto block_14; +} +} } else { -lean_object* x_101; -x_101 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_48, x_56); +uint8_t x_81; +x_81 = !lean_is_exclusive(x_48); +if (x_81 == 0) +{ +lean_object* x_82; lean_object* x_83; +x_82 = lean_ctor_get(x_48, 0); +x_83 = lean_metavar_ctx_assign_delayed(x_82, x_37, x_44, x_45, x_47); +lean_ctor_set(x_48, 0, x_83); +lean_inc(x_1); +x_3 = x_1; +x_4 = x_48; +goto block_14; +} +else +{ +lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; +x_84 = lean_ctor_get(x_48, 0); +x_85 = lean_ctor_get(x_48, 1); +lean_inc(x_85); +lean_inc(x_84); lean_dec(x_48); -if (lean_obj_tag(x_101) == 0) -{ -lean_object* x_102; lean_object* x_103; lean_object* x_104; uint8_t x_105; -lean_inc(x_56); -x_102 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___at_Lean_MetavarContext_instantiateMVars___spec__2(x_56, x_2); -x_103 = lean_ctor_get(x_102, 1); -lean_inc(x_103); -x_104 = lean_ctor_get(x_102, 0); -lean_inc(x_104); -lean_dec(x_102); -x_105 = !lean_is_exclusive(x_103); -if (x_105 == 0) -{ -lean_object* x_106; lean_object* x_107; -x_106 = lean_ctor_get(x_103, 1); -lean_inc(x_104); -x_107 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_106, x_56, x_104); -lean_ctor_set(x_103, 1, x_107); -x_57 = x_104; -x_58 = x_103; -goto block_98; +x_86 = lean_metavar_ctx_assign_delayed(x_84, x_37, x_44, x_45, x_47); +x_87 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_87, 0, x_86); +lean_ctor_set(x_87, 1, x_85); +lean_inc(x_1); +x_3 = x_1; +x_4 = x_87; +goto block_14; +} +} } -else -{ -lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; -x_108 = lean_ctor_get(x_103, 0); -x_109 = lean_ctor_get(x_103, 1); -lean_inc(x_109); -lean_inc(x_108); -lean_dec(x_103); -lean_inc(x_104); -x_110 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_109, x_56, x_104); -x_111 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_111, 0, x_108); -lean_ctor_set(x_111, 1, x_110); -x_57 = x_104; -x_58 = x_111; -goto block_98; } } else { -lean_object* x_112; -lean_dec(x_56); -x_112 = lean_ctor_get(x_101, 0); -lean_inc(x_112); -lean_dec(x_101); -x_57 = x_112; -x_58 = x_2; -goto block_98; -} -} -} -else -{ -lean_object* x_113; -x_113 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_48, x_56); -lean_dec(x_48); -if (lean_obj_tag(x_113) == 0) -{ -lean_object* x_114; lean_object* x_115; lean_object* x_116; uint8_t x_117; -lean_inc(x_56); -x_114 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___at_Lean_MetavarContext_instantiateMVars___spec__2(x_56, x_2); -x_115 = lean_ctor_get(x_114, 1); +lean_object* x_115; uint8_t x_116; +x_115 = lean_ctor_get(x_41, 0); lean_inc(x_115); -x_116 = lean_ctor_get(x_114, 0); -lean_inc(x_116); -lean_dec(x_114); -x_117 = !lean_is_exclusive(x_115); +lean_dec(x_41); +x_116 = lean_expr_has_expr_mvar(x_115); +if (x_116 == 0) +{ +uint8_t x_117; +x_117 = lean_expr_has_level_mvar(x_115); if (x_117 == 0) { -lean_object* x_118; lean_object* x_119; -x_118 = lean_ctor_get(x_115, 1); -lean_inc(x_116); -x_119 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_118, x_56, x_116); -lean_ctor_set(x_115, 1, x_119); -x_57 = x_116; -x_58 = x_115; -goto block_98; +uint8_t x_118; +x_118 = !lean_is_exclusive(x_2); +if (x_118 == 0) +{ +lean_object* x_119; lean_object* x_120; lean_object* x_121; +x_119 = lean_ctor_get(x_2, 1); +lean_dec(x_119); +x_120 = lean_ctor_get(x_2, 0); +lean_dec(x_120); +lean_inc(x_115); +x_121 = lean_metavar_ctx_assign_expr(x_38, x_37, x_115); +lean_ctor_set(x_2, 0, x_121); +x_3 = x_115; +x_4 = x_2; +goto block_14; } else { -lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; -x_120 = lean_ctor_get(x_115, 0); -x_121 = lean_ctor_get(x_115, 1); -lean_inc(x_121); -lean_inc(x_120); -lean_dec(x_115); -lean_inc(x_116); -x_122 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_121, x_56, x_116); +lean_object* x_122; lean_object* x_123; +lean_dec(x_2); +lean_inc(x_115); +x_122 = lean_metavar_ctx_assign_expr(x_38, x_37, x_115); x_123 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_123, 0, x_120); -lean_ctor_set(x_123, 1, x_122); -x_57 = x_116; -x_58 = x_123; -goto block_98; +lean_ctor_set(x_123, 0, x_122); +lean_ctor_set(x_123, 1, x_39); +x_3 = x_115; +x_4 = x_123; +goto block_14; } } else { lean_object* x_124; -lean_dec(x_56); -x_124 = lean_ctor_get(x_113, 0); -lean_inc(x_124); -lean_dec(x_113); -x_57 = x_124; -x_58 = x_2; -goto block_98; -} -} -block_98: -{ -uint8_t x_59; -x_59 = lean_expr_has_expr_mvar(x_57); -if (x_59 == 0) -{ -uint8_t x_60; -x_60 = lean_expr_has_level_mvar(x_57); -if (x_60 == 0) -{ -lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; -x_61 = lean_array_get_size(x_55); -x_62 = lean_expr_abstract(x_57, x_55); -lean_inc(x_54); -x_63 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_instantiateDelayedAux___main___at_Lean_MetavarContext_instantiateMVars___spec__3(x_54, x_55, x_61, x_62, x_58); -x_64 = lean_ctor_get(x_63, 0); -lean_inc(x_64); -if (lean_obj_tag(x_64) == 0) -{ -lean_object* x_65; uint8_t x_66; -x_65 = lean_ctor_get(x_63, 1); -lean_inc(x_65); -lean_dec(x_63); -x_66 = !lean_is_exclusive(x_65); -if (x_66 == 0) -{ -lean_object* x_67; lean_object* x_68; -x_67 = lean_ctor_get(x_65, 0); -x_68 = lean_metavar_ctx_assign_delayed(x_67, x_37, x_54, x_55, x_57); -lean_ctor_set(x_65, 0, x_68); -lean_inc(x_1); -x_3 = x_1; -x_4 = x_65; -goto block_14; -} -else -{ -lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; -x_69 = lean_ctor_get(x_65, 0); -x_70 = lean_ctor_get(x_65, 1); -lean_inc(x_70); -lean_inc(x_69); -lean_dec(x_65); -x_71 = lean_metavar_ctx_assign_delayed(x_69, x_37, x_54, x_55, x_57); -x_72 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_72, 0, x_71); -lean_ctor_set(x_72, 1, x_70); -lean_inc(x_1); -x_3 = x_1; -x_4 = x_72; -goto block_14; -} -} -else -{ -lean_object* x_73; lean_object* x_74; uint8_t x_75; -lean_dec(x_57); -lean_dec(x_55); -lean_dec(x_54); -x_73 = lean_ctor_get(x_63, 1); -lean_inc(x_73); -lean_dec(x_63); -x_74 = lean_ctor_get(x_64, 0); -lean_inc(x_74); -lean_dec(x_64); -x_75 = !lean_is_exclusive(x_73); -if (x_75 == 0) -{ -lean_object* x_76; lean_object* x_77; lean_object* x_78; -x_76 = lean_ctor_get(x_73, 0); -lean_inc(x_37); -x_77 = lean_metavar_ctx_erase_delayed(x_76, x_37); -lean_inc(x_74); -x_78 = lean_metavar_ctx_assign_expr(x_77, x_37, x_74); -lean_ctor_set(x_73, 0, x_78); -x_3 = x_74; -x_4 = x_73; -goto block_14; -} -else -{ -lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; -x_79 = lean_ctor_get(x_73, 0); -x_80 = lean_ctor_get(x_73, 1); -lean_inc(x_80); -lean_inc(x_79); -lean_dec(x_73); -lean_inc(x_37); -x_81 = lean_metavar_ctx_erase_delayed(x_79, x_37); -lean_inc(x_74); -x_82 = lean_metavar_ctx_assign_expr(x_81, x_37, x_74); -x_83 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_83, 0, x_82); -lean_ctor_set(x_83, 1, x_80); -x_3 = x_74; -x_4 = x_83; -goto block_14; -} -} -} -else -{ -uint8_t x_84; -x_84 = !lean_is_exclusive(x_58); -if (x_84 == 0) -{ -lean_object* x_85; lean_object* x_86; -x_85 = lean_ctor_get(x_58, 0); -x_86 = lean_metavar_ctx_assign_delayed(x_85, x_37, x_54, x_55, x_57); -lean_ctor_set(x_58, 0, x_86); -lean_inc(x_1); -x_3 = x_1; -x_4 = x_58; -goto block_14; -} -else -{ -lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; -x_87 = lean_ctor_get(x_58, 0); -x_88 = lean_ctor_get(x_58, 1); -lean_inc(x_88); -lean_inc(x_87); -lean_dec(x_58); -x_89 = lean_metavar_ctx_assign_delayed(x_87, x_37, x_54, x_55, x_57); -x_90 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_90, 0, x_89); -lean_ctor_set(x_90, 1, x_88); -lean_inc(x_1); -x_3 = x_1; -x_4 = x_90; -goto block_14; -} -} -} -else -{ -uint8_t x_91; -x_91 = !lean_is_exclusive(x_58); -if (x_91 == 0) -{ -lean_object* x_92; lean_object* x_93; -x_92 = lean_ctor_get(x_58, 0); -x_93 = lean_metavar_ctx_assign_delayed(x_92, x_37, x_54, x_55, x_57); -lean_ctor_set(x_58, 0, x_93); -lean_inc(x_1); -x_3 = x_1; -x_4 = x_58; -goto block_14; -} -else -{ -lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; -x_94 = lean_ctor_get(x_58, 0); -x_95 = lean_ctor_get(x_58, 1); -lean_inc(x_95); -lean_inc(x_94); -lean_dec(x_58); -x_96 = lean_metavar_ctx_assign_delayed(x_94, x_37, x_54, x_55, x_57); -x_97 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_97, 0, x_96); -lean_ctor_set(x_97, 1, x_95); -lean_inc(x_1); -x_3 = x_1; -x_4 = x_97; -goto block_14; -} -} -} -} -} -else +x_124 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_39, x_115); +if (lean_obj_tag(x_124) == 0) { lean_object* x_125; uint8_t x_126; -lean_dec(x_50); -x_125 = lean_ctor_get(x_51, 0); -lean_inc(x_125); -lean_dec(x_51); -x_126 = lean_expr_has_expr_mvar(x_125); +lean_dec(x_39); +lean_dec(x_38); +lean_inc(x_2); +lean_inc(x_115); +x_125 = l_Lean_MetavarContext_InstantiateExprMVars_main___main(x_115, x_2); +x_126 = !lean_is_exclusive(x_2); if (x_126 == 0) { -uint8_t x_127; -x_127 = lean_expr_has_level_mvar(x_125); -if (x_127 == 0) -{ -lean_dec(x_48); -x_38 = x_125; -x_39 = x_2; -goto block_47; -} -else -{ -lean_object* x_128; -x_128 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_48, x_125); -lean_dec(x_48); -if (lean_obj_tag(x_128) == 0) -{ -lean_object* x_129; lean_object* x_130; lean_object* x_131; uint8_t x_132; -lean_inc(x_125); -x_129 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___at_Lean_MetavarContext_instantiateMVars___spec__2(x_125, x_2); -x_130 = lean_ctor_get(x_129, 1); -lean_inc(x_130); -x_131 = lean_ctor_get(x_129, 0); -lean_inc(x_131); -lean_dec(x_129); -x_132 = !lean_is_exclusive(x_130); -if (x_132 == 0) -{ -lean_object* x_133; lean_object* x_134; -x_133 = lean_ctor_get(x_130, 1); -lean_inc(x_131); -x_134 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_133, x_125, x_131); -lean_ctor_set(x_130, 1, x_134); -x_38 = x_131; -x_39 = x_130; -goto block_47; -} -else -{ -lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; -x_135 = lean_ctor_get(x_130, 0); -x_136 = lean_ctor_get(x_130, 1); -lean_inc(x_136); -lean_inc(x_135); -lean_dec(x_130); -lean_inc(x_131); -x_137 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_136, x_125, x_131); -x_138 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_138, 0, x_135); -lean_ctor_set(x_138, 1, x_137); -x_38 = x_131; -x_39 = x_138; -goto block_47; -} -} -else -{ -lean_object* x_139; -lean_dec(x_125); -x_139 = lean_ctor_get(x_128, 0); -lean_inc(x_139); +lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; +x_127 = lean_ctor_get(x_2, 1); +lean_dec(x_127); +x_128 = lean_ctor_get(x_2, 0); lean_dec(x_128); -x_38 = x_139; -x_39 = x_2; -goto block_47; -} -} -} -else -{ -lean_object* x_140; -x_140 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_48, x_125); -lean_dec(x_48); -if (lean_obj_tag(x_140) == 0) -{ -lean_object* x_141; lean_object* x_142; lean_object* x_143; uint8_t x_144; -lean_inc(x_125); -x_141 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___at_Lean_MetavarContext_instantiateMVars___spec__2(x_125, x_2); -x_142 = lean_ctor_get(x_141, 1); -lean_inc(x_142); -x_143 = lean_ctor_get(x_141, 0); -lean_inc(x_143); -lean_dec(x_141); -x_144 = !lean_is_exclusive(x_142); -if (x_144 == 0) -{ -lean_object* x_145; lean_object* x_146; -x_145 = lean_ctor_get(x_142, 1); -lean_inc(x_143); -x_146 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_145, x_125, x_143); -lean_ctor_set(x_142, 1, x_146); -x_38 = x_143; -x_39 = x_142; -goto block_47; -} -else -{ -lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; -x_147 = lean_ctor_get(x_142, 0); -x_148 = lean_ctor_get(x_142, 1); -lean_inc(x_148); -lean_inc(x_147); -lean_dec(x_142); -lean_inc(x_143); -x_149 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_148, x_125, x_143); -x_150 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_150, 0, x_147); -lean_ctor_set(x_150, 1, x_149); -x_38 = x_143; -x_39 = x_150; -goto block_47; -} -} -else -{ -lean_object* x_151; +x_129 = lean_ctor_get(x_125, 0); +lean_inc(x_129); +x_130 = lean_ctor_get(x_125, 1); +lean_inc(x_130); lean_dec(x_125); -x_151 = lean_ctor_get(x_140, 0); -lean_inc(x_151); -lean_dec(x_140); -x_38 = x_151; -x_39 = x_2; -goto block_47; +x_131 = lean_ctor_get(x_130, 0); +lean_inc(x_131); +x_132 = lean_ctor_get(x_130, 1); +lean_inc(x_132); +lean_dec(x_130); +lean_inc(x_129); +x_133 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_132, x_115, x_129); +lean_inc(x_129); +x_134 = lean_metavar_ctx_assign_expr(x_131, x_37, x_129); +lean_ctor_set(x_2, 1, x_133); +lean_ctor_set(x_2, 0, x_134); +x_3 = x_129; +x_4 = x_2; +goto block_14; +} +else +{ +lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; +lean_dec(x_2); +x_135 = lean_ctor_get(x_125, 0); +lean_inc(x_135); +x_136 = lean_ctor_get(x_125, 1); +lean_inc(x_136); +lean_dec(x_125); +x_137 = lean_ctor_get(x_136, 0); +lean_inc(x_137); +x_138 = lean_ctor_get(x_136, 1); +lean_inc(x_138); +lean_dec(x_136); +lean_inc(x_135); +x_139 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_138, x_115, x_135); +lean_inc(x_135); +x_140 = lean_metavar_ctx_assign_expr(x_137, x_37, x_135); +x_141 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_141, 0, x_140); +lean_ctor_set(x_141, 1, x_139); +x_3 = x_135; +x_4 = x_141; +goto block_14; +} +} +else +{ +uint8_t x_142; +lean_dec(x_115); +x_142 = !lean_is_exclusive(x_2); +if (x_142 == 0) +{ +lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; +x_143 = lean_ctor_get(x_2, 1); +lean_dec(x_143); +x_144 = lean_ctor_get(x_2, 0); +lean_dec(x_144); +x_145 = lean_ctor_get(x_124, 0); +lean_inc(x_145); +lean_dec(x_124); +lean_inc(x_145); +x_146 = lean_metavar_ctx_assign_expr(x_38, x_37, x_145); +lean_ctor_set(x_2, 0, x_146); +x_3 = x_145; +x_4 = x_2; +goto block_14; +} +else +{ +lean_object* x_147; lean_object* x_148; lean_object* x_149; +lean_dec(x_2); +x_147 = lean_ctor_get(x_124, 0); +lean_inc(x_147); +lean_dec(x_124); +lean_inc(x_147); +x_148 = lean_metavar_ctx_assign_expr(x_38, x_37, x_147); +x_149 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_149, 0, x_148); +lean_ctor_set(x_149, 1, x_39); +x_3 = x_147; +x_4 = x_149; +goto block_14; } } } } else { -lean_object* x_152; lean_object* x_153; -lean_dec(x_48); +lean_object* x_150; +x_150 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_39, x_115); +if (lean_obj_tag(x_150) == 0) +{ +lean_object* x_151; uint8_t x_152; +lean_dec(x_39); +lean_dec(x_38); +lean_inc(x_2); +lean_inc(x_115); +x_151 = l_Lean_MetavarContext_InstantiateExprMVars_main___main(x_115, x_2); +x_152 = !lean_is_exclusive(x_2); +if (x_152 == 0) +{ +lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; +x_153 = lean_ctor_get(x_2, 1); +lean_dec(x_153); +x_154 = lean_ctor_get(x_2, 0); +lean_dec(x_154); +x_155 = lean_ctor_get(x_151, 0); +lean_inc(x_155); +x_156 = lean_ctor_get(x_151, 1); +lean_inc(x_156); +lean_dec(x_151); +x_157 = lean_ctor_get(x_156, 0); +lean_inc(x_157); +x_158 = lean_ctor_get(x_156, 1); +lean_inc(x_158); +lean_dec(x_156); +lean_inc(x_155); +x_159 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_158, x_115, x_155); +lean_inc(x_155); +x_160 = lean_metavar_ctx_assign_expr(x_157, x_37, x_155); +lean_ctor_set(x_2, 1, x_159); +lean_ctor_set(x_2, 0, x_160); +x_3 = x_155; +x_4 = x_2; +goto block_14; +} +else +{ +lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; +lean_dec(x_2); +x_161 = lean_ctor_get(x_151, 0); +lean_inc(x_161); +x_162 = lean_ctor_get(x_151, 1); +lean_inc(x_162); +lean_dec(x_151); +x_163 = lean_ctor_get(x_162, 0); +lean_inc(x_163); +x_164 = lean_ctor_get(x_162, 1); +lean_inc(x_164); +lean_dec(x_162); +lean_inc(x_161); +x_165 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_164, x_115, x_161); +lean_inc(x_161); +x_166 = lean_metavar_ctx_assign_expr(x_163, x_37, x_161); +x_167 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_167, 0, x_166); +lean_ctor_set(x_167, 1, x_165); +x_3 = x_161; +x_4 = x_167; +goto block_14; +} +} +else +{ +uint8_t x_168; +lean_dec(x_115); +x_168 = !lean_is_exclusive(x_2); +if (x_168 == 0) +{ +lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; +x_169 = lean_ctor_get(x_2, 1); +lean_dec(x_169); +x_170 = lean_ctor_get(x_2, 0); +lean_dec(x_170); +x_171 = lean_ctor_get(x_150, 0); +lean_inc(x_171); +lean_dec(x_150); +lean_inc(x_171); +x_172 = lean_metavar_ctx_assign_expr(x_38, x_37, x_171); +lean_ctor_set(x_2, 0, x_172); +x_3 = x_171; +x_4 = x_2; +goto block_14; +} +else +{ +lean_object* x_173; lean_object* x_174; lean_object* x_175; +lean_dec(x_2); +x_173 = lean_ctor_get(x_150, 0); +lean_inc(x_173); +lean_dec(x_150); +lean_inc(x_173); +x_174 = lean_metavar_ctx_assign_expr(x_38, x_37, x_173); +x_175 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_175, 0, x_174); +lean_ctor_set(x_175, 1, x_39); +x_3 = x_173; +x_4 = x_175; +goto block_14; +} +} +} +} +} +else +{ +lean_object* x_176; lean_object* x_177; +lean_dec(x_39); +lean_dec(x_38); lean_dec(x_37); lean_dec(x_1); -x_152 = lean_ctor_get(x_49, 0); -lean_inc(x_152); -lean_dec(x_49); -x_153 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_153, 0, x_152); -lean_ctor_set(x_153, 1, x_2); -return x_153; -} -block_47: -{ -uint8_t x_40; -x_40 = !lean_is_exclusive(x_39); -if (x_40 == 0) -{ -lean_object* x_41; lean_object* x_42; -x_41 = lean_ctor_get(x_39, 0); -lean_inc(x_38); -x_42 = lean_metavar_ctx_assign_expr(x_41, x_37, x_38); -lean_ctor_set(x_39, 0, x_42); -x_3 = x_38; -x_4 = x_39; -goto block_14; -} -else -{ -lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_43 = lean_ctor_get(x_39, 0); -x_44 = lean_ctor_get(x_39, 1); -lean_inc(x_44); -lean_inc(x_43); -lean_dec(x_39); -lean_inc(x_38); -x_45 = lean_metavar_ctx_assign_expr(x_43, x_37, x_38); -x_46 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_46, 0, x_45); -lean_ctor_set(x_46, 1, x_44); -x_3 = x_38; -x_4 = x_46; -goto block_14; -} +x_176 = lean_ctor_get(x_40, 0); +lean_inc(x_176); +lean_dec(x_40); +x_177 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_177, 0, x_176); +lean_ctor_set(x_177, 1, x_2); +return x_177; } } case 3: { -lean_object* x_154; uint8_t x_155; -x_154 = lean_ctor_get(x_1, 0); -lean_inc(x_154); -x_155 = !lean_is_exclusive(x_2); -if (x_155 == 0) +lean_object* x_178; uint8_t x_179; +x_178 = lean_ctor_get(x_1, 0); +lean_inc(x_178); +x_179 = !lean_is_exclusive(x_2); +if (x_179 == 0) { -lean_object* x_156; lean_object* x_157; uint8_t x_158; -x_156 = lean_ctor_get(x_2, 0); -x_157 = l_Lean_AbstractMetavarContext_instantiateLevelMVars___main___at_Lean_MetavarContext_instantiateLevelMVars___spec__1(x_154, x_156); -x_158 = !lean_is_exclusive(x_157); -if (x_158 == 0) +lean_object* x_180; lean_object* x_181; uint8_t x_182; +x_180 = lean_ctor_get(x_2, 0); +x_181 = l___private_Init_Lean_MetavarContext_1__instantiateLevelMVarsAux___main(x_178, x_180); +x_182 = !lean_is_exclusive(x_181); +if (x_182 == 0) { -lean_object* x_159; lean_object* x_160; lean_object* x_161; -x_159 = lean_ctor_get(x_157, 0); -x_160 = lean_ctor_get(x_157, 1); -lean_ctor_set(x_2, 0, x_160); -x_161 = lean_expr_update_sort(x_1, x_159); -lean_ctor_set(x_157, 1, x_2); -lean_ctor_set(x_157, 0, x_161); -return x_157; +lean_object* x_183; lean_object* x_184; lean_object* x_185; +x_183 = lean_ctor_get(x_181, 0); +x_184 = lean_ctor_get(x_181, 1); +lean_ctor_set(x_2, 0, x_184); +x_185 = lean_expr_update_sort(x_1, x_183); +lean_ctor_set(x_181, 1, x_2); +lean_ctor_set(x_181, 0, x_185); +return x_181; } else { -lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; -x_162 = lean_ctor_get(x_157, 0); -x_163 = lean_ctor_get(x_157, 1); -lean_inc(x_163); -lean_inc(x_162); -lean_dec(x_157); -lean_ctor_set(x_2, 0, x_163); -x_164 = lean_expr_update_sort(x_1, x_162); -x_165 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_165, 0, x_164); -lean_ctor_set(x_165, 1, x_2); -return x_165; +lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; +x_186 = lean_ctor_get(x_181, 0); +x_187 = lean_ctor_get(x_181, 1); +lean_inc(x_187); +lean_inc(x_186); +lean_dec(x_181); +lean_ctor_set(x_2, 0, x_187); +x_188 = lean_expr_update_sort(x_1, x_186); +x_189 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_189, 0, x_188); +lean_ctor_set(x_189, 1, x_2); +return x_189; } } else { -lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; -x_166 = lean_ctor_get(x_2, 0); -x_167 = lean_ctor_get(x_2, 1); -lean_inc(x_167); -lean_inc(x_166); +lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; +x_190 = lean_ctor_get(x_2, 0); +x_191 = lean_ctor_get(x_2, 1); +lean_inc(x_191); +lean_inc(x_190); lean_dec(x_2); -x_168 = l_Lean_AbstractMetavarContext_instantiateLevelMVars___main___at_Lean_MetavarContext_instantiateLevelMVars___spec__1(x_154, x_166); -x_169 = lean_ctor_get(x_168, 0); -lean_inc(x_169); -x_170 = lean_ctor_get(x_168, 1); -lean_inc(x_170); -if (lean_is_exclusive(x_168)) { - lean_ctor_release(x_168, 0); - lean_ctor_release(x_168, 1); - x_171 = x_168; +x_192 = l___private_Init_Lean_MetavarContext_1__instantiateLevelMVarsAux___main(x_178, x_190); +x_193 = lean_ctor_get(x_192, 0); +lean_inc(x_193); +x_194 = lean_ctor_get(x_192, 1); +lean_inc(x_194); +if (lean_is_exclusive(x_192)) { + lean_ctor_release(x_192, 0); + lean_ctor_release(x_192, 1); + x_195 = x_192; } else { - lean_dec_ref(x_168); - x_171 = lean_box(0); + lean_dec_ref(x_192); + x_195 = lean_box(0); } -x_172 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_172, 0, x_170); -lean_ctor_set(x_172, 1, x_167); -x_173 = lean_expr_update_sort(x_1, x_169); -if (lean_is_scalar(x_171)) { - x_174 = lean_alloc_ctor(0, 2, 0); +x_196 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_196, 0, x_194); +lean_ctor_set(x_196, 1, x_191); +x_197 = lean_expr_update_sort(x_1, x_193); +if (lean_is_scalar(x_195)) { + x_198 = lean_alloc_ctor(0, 2, 0); } else { - x_174 = x_171; + x_198 = x_195; } -lean_ctor_set(x_174, 0, x_173); -lean_ctor_set(x_174, 1, x_172); -return x_174; +lean_ctor_set(x_198, 0, x_197); +lean_ctor_set(x_198, 1, x_196); +return x_198; } } case 4: { -lean_object* x_175; lean_object* x_176; uint8_t x_177; -x_175 = lean_ctor_get(x_1, 1); -lean_inc(x_175); -x_176 = l_List_mapM___main___at_Lean_MetavarContext_instantiateMVars___spec__6(x_175, x_2); -x_177 = !lean_is_exclusive(x_176); -if (x_177 == 0) +lean_object* x_199; lean_object* x_200; uint8_t x_201; +x_199 = lean_ctor_get(x_1, 1); +lean_inc(x_199); +x_200 = l_List_mapM___main___at_Lean_MetavarContext_InstantiateExprMVars_main___main___spec__2(x_199, x_2); +x_201 = !lean_is_exclusive(x_200); +if (x_201 == 0) { -lean_object* x_178; lean_object* x_179; -x_178 = lean_ctor_get(x_176, 0); -x_179 = lean_expr_update_const(x_1, x_178); -lean_ctor_set(x_176, 0, x_179); -return x_176; +lean_object* x_202; lean_object* x_203; +x_202 = lean_ctor_get(x_200, 0); +x_203 = lean_expr_update_const(x_1, x_202); +lean_ctor_set(x_200, 0, x_203); +return x_200; } else { -lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; -x_180 = lean_ctor_get(x_176, 0); -x_181 = lean_ctor_get(x_176, 1); -lean_inc(x_181); -lean_inc(x_180); -lean_dec(x_176); -x_182 = lean_expr_update_const(x_1, x_180); -x_183 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_183, 0, x_182); -lean_ctor_set(x_183, 1, x_181); -return x_183; +lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; +x_204 = lean_ctor_get(x_200, 0); +x_205 = lean_ctor_get(x_200, 1); +lean_inc(x_205); +lean_inc(x_204); +lean_dec(x_200); +x_206 = lean_expr_update_const(x_1, x_204); +x_207 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_207, 0, x_206); +lean_ctor_set(x_207, 1, x_205); +return x_207; } } case 5: { -lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; -x_184 = lean_unsigned_to_nat(0u); -x_185 = l_Lean_Expr_getAppNumArgsAux___main(x_1, x_184); -x_186 = lean_mk_empty_array_with_capacity(x_185); -lean_dec(x_185); -x_187 = l___private_Init_Lean_Expr_4__withAppRevAux___main___at_Lean_MetavarContext_instantiateMVars___spec__8(x_1, x_186, x_2); -return x_187; +lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; +x_208 = lean_unsigned_to_nat(0u); +x_209 = l_Lean_Expr_getAppNumArgsAux___main(x_1, x_208); +x_210 = lean_mk_empty_array_with_capacity(x_209); +lean_dec(x_209); +x_211 = l___private_Init_Lean_Expr_4__withAppRevAux___main___at_Lean_MetavarContext_InstantiateExprMVars_main___main___spec__4(x_1, x_210, x_2); +return x_211; } case 6: { -lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; uint8_t x_233; -x_188 = lean_ctor_get(x_1, 1); -lean_inc(x_188); -x_189 = lean_ctor_get(x_1, 2); -lean_inc(x_189); -x_233 = lean_expr_has_expr_mvar(x_188); -if (x_233 == 0) +lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; uint8_t x_257; +x_212 = lean_ctor_get(x_1, 1); +lean_inc(x_212); +x_213 = lean_ctor_get(x_1, 2); +lean_inc(x_213); +x_257 = lean_expr_has_expr_mvar(x_212); +if (x_257 == 0) { -uint8_t x_234; -x_234 = lean_expr_has_level_mvar(x_188); -if (x_234 == 0) +uint8_t x_258; +x_258 = lean_expr_has_level_mvar(x_212); +if (x_258 == 0) { -x_190 = x_188; -x_191 = x_2; -goto block_232; +x_214 = x_212; +x_215 = x_2; +goto block_256; } else { -lean_object* x_235; lean_object* x_236; -x_235 = lean_ctor_get(x_2, 1); -lean_inc(x_235); -x_236 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_235, x_188); -lean_dec(x_235); -if (lean_obj_tag(x_236) == 0) +lean_object* x_259; lean_object* x_260; +x_259 = lean_ctor_get(x_2, 1); +lean_inc(x_259); +x_260 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_259, x_212); +lean_dec(x_259); +if (lean_obj_tag(x_260) == 0) { -lean_object* x_237; lean_object* x_238; lean_object* x_239; uint8_t x_240; -lean_inc(x_188); -x_237 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___at_Lean_MetavarContext_instantiateMVars___spec__2(x_188, x_2); -x_238 = lean_ctor_get(x_237, 1); +lean_object* x_261; lean_object* x_262; lean_object* x_263; uint8_t x_264; +lean_inc(x_212); +x_261 = l_Lean_MetavarContext_InstantiateExprMVars_main___main(x_212, x_2); +x_262 = lean_ctor_get(x_261, 1); +lean_inc(x_262); +x_263 = lean_ctor_get(x_261, 0); +lean_inc(x_263); +lean_dec(x_261); +x_264 = !lean_is_exclusive(x_262); +if (x_264 == 0) +{ +lean_object* x_265; lean_object* x_266; +x_265 = lean_ctor_get(x_262, 1); +lean_inc(x_263); +x_266 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_265, x_212, x_263); +lean_ctor_set(x_262, 1, x_266); +x_214 = x_263; +x_215 = x_262; +goto block_256; +} +else +{ +lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; +x_267 = lean_ctor_get(x_262, 0); +x_268 = lean_ctor_get(x_262, 1); +lean_inc(x_268); +lean_inc(x_267); +lean_dec(x_262); +lean_inc(x_263); +x_269 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_268, x_212, x_263); +x_270 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_270, 0, x_267); +lean_ctor_set(x_270, 1, x_269); +x_214 = x_263; +x_215 = x_270; +goto block_256; +} +} +else +{ +lean_object* x_271; +lean_dec(x_212); +x_271 = lean_ctor_get(x_260, 0); +lean_inc(x_271); +lean_dec(x_260); +x_214 = x_271; +x_215 = x_2; +goto block_256; +} +} +} +else +{ +lean_object* x_272; lean_object* x_273; +x_272 = lean_ctor_get(x_2, 1); +lean_inc(x_272); +x_273 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_272, x_212); +lean_dec(x_272); +if (lean_obj_tag(x_273) == 0) +{ +lean_object* x_274; lean_object* x_275; lean_object* x_276; uint8_t x_277; +lean_inc(x_212); +x_274 = l_Lean_MetavarContext_InstantiateExprMVars_main___main(x_212, x_2); +x_275 = lean_ctor_get(x_274, 1); +lean_inc(x_275); +x_276 = lean_ctor_get(x_274, 0); +lean_inc(x_276); +lean_dec(x_274); +x_277 = !lean_is_exclusive(x_275); +if (x_277 == 0) +{ +lean_object* x_278; lean_object* x_279; +x_278 = lean_ctor_get(x_275, 1); +lean_inc(x_276); +x_279 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_278, x_212, x_276); +lean_ctor_set(x_275, 1, x_279); +x_214 = x_276; +x_215 = x_275; +goto block_256; +} +else +{ +lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; +x_280 = lean_ctor_get(x_275, 0); +x_281 = lean_ctor_get(x_275, 1); +lean_inc(x_281); +lean_inc(x_280); +lean_dec(x_275); +lean_inc(x_276); +x_282 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_281, x_212, x_276); +x_283 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_283, 0, x_280); +lean_ctor_set(x_283, 1, x_282); +x_214 = x_276; +x_215 = x_283; +goto block_256; +} +} +else +{ +lean_object* x_284; +lean_dec(x_212); +x_284 = lean_ctor_get(x_273, 0); +lean_inc(x_284); +lean_dec(x_273); +x_214 = x_284; +x_215 = x_2; +goto block_256; +} +} +block_256: +{ +lean_object* x_216; lean_object* x_217; uint8_t x_228; +x_228 = lean_expr_has_expr_mvar(x_213); +if (x_228 == 0) +{ +uint8_t x_229; +x_229 = lean_expr_has_level_mvar(x_213); +if (x_229 == 0) +{ +x_216 = x_213; +x_217 = x_215; +goto block_227; +} +else +{ +lean_object* x_230; lean_object* x_231; +x_230 = lean_ctor_get(x_215, 1); +lean_inc(x_230); +x_231 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_230, x_213); +lean_dec(x_230); +if (lean_obj_tag(x_231) == 0) +{ +lean_object* x_232; lean_object* x_233; lean_object* x_234; uint8_t x_235; +lean_inc(x_213); +x_232 = l_Lean_MetavarContext_InstantiateExprMVars_main___main(x_213, x_215); +x_233 = lean_ctor_get(x_232, 1); +lean_inc(x_233); +x_234 = lean_ctor_get(x_232, 0); +lean_inc(x_234); +lean_dec(x_232); +x_235 = !lean_is_exclusive(x_233); +if (x_235 == 0) +{ +lean_object* x_236; lean_object* x_237; +x_236 = lean_ctor_get(x_233, 1); +lean_inc(x_234); +x_237 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_236, x_213, x_234); +lean_ctor_set(x_233, 1, x_237); +x_216 = x_234; +x_217 = x_233; +goto block_227; +} +else +{ +lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; +x_238 = lean_ctor_get(x_233, 0); +x_239 = lean_ctor_get(x_233, 1); +lean_inc(x_239); lean_inc(x_238); -x_239 = lean_ctor_get(x_237, 0); -lean_inc(x_239); -lean_dec(x_237); -x_240 = !lean_is_exclusive(x_238); -if (x_240 == 0) -{ -lean_object* x_241; lean_object* x_242; -x_241 = lean_ctor_get(x_238, 1); -lean_inc(x_239); -x_242 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_241, x_188, x_239); -lean_ctor_set(x_238, 1, x_242); -x_190 = x_239; -x_191 = x_238; -goto block_232; +lean_dec(x_233); +lean_inc(x_234); +x_240 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_239, x_213, x_234); +x_241 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_241, 0, x_238); +lean_ctor_set(x_241, 1, x_240); +x_216 = x_234; +x_217 = x_241; +goto block_227; +} } else { -lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; -x_243 = lean_ctor_get(x_238, 0); -x_244 = lean_ctor_get(x_238, 1); -lean_inc(x_244); +lean_object* x_242; +lean_dec(x_213); +x_242 = lean_ctor_get(x_231, 0); +lean_inc(x_242); +lean_dec(x_231); +x_216 = x_242; +x_217 = x_215; +goto block_227; +} +} +} +else +{ +lean_object* x_243; lean_object* x_244; +x_243 = lean_ctor_get(x_215, 1); lean_inc(x_243); -lean_dec(x_238); -lean_inc(x_239); -x_245 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_244, x_188, x_239); -x_246 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_246, 0, x_243); -lean_ctor_set(x_246, 1, x_245); -x_190 = x_239; -x_191 = x_246; -goto block_232; -} -} -else +x_244 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_243, x_213); +lean_dec(x_243); +if (lean_obj_tag(x_244) == 0) { -lean_object* x_247; -lean_dec(x_188); -x_247 = lean_ctor_get(x_236, 0); +lean_object* x_245; lean_object* x_246; lean_object* x_247; uint8_t x_248; +lean_inc(x_213); +x_245 = l_Lean_MetavarContext_InstantiateExprMVars_main___main(x_213, x_215); +x_246 = lean_ctor_get(x_245, 1); +lean_inc(x_246); +x_247 = lean_ctor_get(x_245, 0); lean_inc(x_247); -lean_dec(x_236); -x_190 = x_247; -x_191 = x_2; -goto block_232; -} -} +lean_dec(x_245); +x_248 = !lean_is_exclusive(x_246); +if (x_248 == 0) +{ +lean_object* x_249; lean_object* x_250; +x_249 = lean_ctor_get(x_246, 1); +lean_inc(x_247); +x_250 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_249, x_213, x_247); +lean_ctor_set(x_246, 1, x_250); +x_216 = x_247; +x_217 = x_246; +goto block_227; } else { -lean_object* x_248; lean_object* x_249; -x_248 = lean_ctor_get(x_2, 1); -lean_inc(x_248); -x_249 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_248, x_188); -lean_dec(x_248); -if (lean_obj_tag(x_249) == 0) -{ -lean_object* x_250; lean_object* x_251; lean_object* x_252; uint8_t x_253; -lean_inc(x_188); -x_250 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___at_Lean_MetavarContext_instantiateMVars___spec__2(x_188, x_2); -x_251 = lean_ctor_get(x_250, 1); +lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; +x_251 = lean_ctor_get(x_246, 0); +x_252 = lean_ctor_get(x_246, 1); +lean_inc(x_252); lean_inc(x_251); -x_252 = lean_ctor_get(x_250, 0); -lean_inc(x_252); -lean_dec(x_250); -x_253 = !lean_is_exclusive(x_251); -if (x_253 == 0) -{ -lean_object* x_254; lean_object* x_255; -x_254 = lean_ctor_get(x_251, 1); -lean_inc(x_252); -x_255 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_254, x_188, x_252); -lean_ctor_set(x_251, 1, x_255); -x_190 = x_252; -x_191 = x_251; -goto block_232; -} -else -{ -lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; -x_256 = lean_ctor_get(x_251, 0); -x_257 = lean_ctor_get(x_251, 1); -lean_inc(x_257); -lean_inc(x_256); -lean_dec(x_251); -lean_inc(x_252); -x_258 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_257, x_188, x_252); -x_259 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_259, 0, x_256); -lean_ctor_set(x_259, 1, x_258); -x_190 = x_252; -x_191 = x_259; -goto block_232; +lean_dec(x_246); +lean_inc(x_247); +x_253 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_252, x_213, x_247); +x_254 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_254, 0, x_251); +lean_ctor_set(x_254, 1, x_253); +x_216 = x_247; +x_217 = x_254; +goto block_227; } } else { -lean_object* x_260; -lean_dec(x_188); -x_260 = lean_ctor_get(x_249, 0); -lean_inc(x_260); -lean_dec(x_249); -x_190 = x_260; -x_191 = x_2; -goto block_232; +lean_object* x_255; +lean_dec(x_213); +x_255 = lean_ctor_get(x_244, 0); +lean_inc(x_255); +lean_dec(x_244); +x_216 = x_255; +x_217 = x_215; +goto block_227; } } -block_232: -{ -lean_object* x_192; lean_object* x_193; uint8_t x_204; -x_204 = lean_expr_has_expr_mvar(x_189); -if (x_204 == 0) -{ -uint8_t x_205; -x_205 = lean_expr_has_level_mvar(x_189); -if (x_205 == 0) -{ -x_192 = x_189; -x_193 = x_191; -goto block_203; -} -else -{ -lean_object* x_206; lean_object* x_207; -x_206 = lean_ctor_get(x_191, 1); -lean_inc(x_206); -x_207 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_206, x_189); -lean_dec(x_206); -if (lean_obj_tag(x_207) == 0) -{ -lean_object* x_208; lean_object* x_209; lean_object* x_210; uint8_t x_211; -lean_inc(x_189); -x_208 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___at_Lean_MetavarContext_instantiateMVars___spec__2(x_189, x_191); -x_209 = lean_ctor_get(x_208, 1); -lean_inc(x_209); -x_210 = lean_ctor_get(x_208, 0); -lean_inc(x_210); -lean_dec(x_208); -x_211 = !lean_is_exclusive(x_209); -if (x_211 == 0) -{ -lean_object* x_212; lean_object* x_213; -x_212 = lean_ctor_get(x_209, 1); -lean_inc(x_210); -x_213 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_212, x_189, x_210); -lean_ctor_set(x_209, 1, x_213); -x_192 = x_210; -x_193 = x_209; -goto block_203; -} -else -{ -lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; -x_214 = lean_ctor_get(x_209, 0); -x_215 = lean_ctor_get(x_209, 1); -lean_inc(x_215); -lean_inc(x_214); -lean_dec(x_209); -lean_inc(x_210); -x_216 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_215, x_189, x_210); -x_217 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_217, 0, x_214); -lean_ctor_set(x_217, 1, x_216); -x_192 = x_210; -x_193 = x_217; -goto block_203; -} -} -else -{ -lean_object* x_218; -lean_dec(x_189); -x_218 = lean_ctor_get(x_207, 0); -lean_inc(x_218); -lean_dec(x_207); -x_192 = x_218; -x_193 = x_191; -goto block_203; -} -} -} -else -{ -lean_object* x_219; lean_object* x_220; -x_219 = lean_ctor_get(x_191, 1); -lean_inc(x_219); -x_220 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_219, x_189); -lean_dec(x_219); -if (lean_obj_tag(x_220) == 0) -{ -lean_object* x_221; lean_object* x_222; lean_object* x_223; uint8_t x_224; -lean_inc(x_189); -x_221 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___at_Lean_MetavarContext_instantiateMVars___spec__2(x_189, x_191); -x_222 = lean_ctor_get(x_221, 1); -lean_inc(x_222); -x_223 = lean_ctor_get(x_221, 0); -lean_inc(x_223); -lean_dec(x_221); -x_224 = !lean_is_exclusive(x_222); -if (x_224 == 0) -{ -lean_object* x_225; lean_object* x_226; -x_225 = lean_ctor_get(x_222, 1); -lean_inc(x_223); -x_226 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_225, x_189, x_223); -lean_ctor_set(x_222, 1, x_226); -x_192 = x_223; -x_193 = x_222; -goto block_203; -} -else -{ -lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; -x_227 = lean_ctor_get(x_222, 0); -x_228 = lean_ctor_get(x_222, 1); -lean_inc(x_228); -lean_inc(x_227); -lean_dec(x_222); -lean_inc(x_223); -x_229 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_228, x_189, x_223); -x_230 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_230, 0, x_227); -lean_ctor_set(x_230, 1, x_229); -x_192 = x_223; -x_193 = x_230; -goto block_203; -} -} -else -{ -lean_object* x_231; -lean_dec(x_189); -x_231 = lean_ctor_get(x_220, 0); -lean_inc(x_231); -lean_dec(x_220); -x_192 = x_231; -x_193 = x_191; -goto block_203; -} -} -block_203: +block_227: { if (lean_obj_tag(x_1) == 6) { -uint8_t x_194; lean_object* x_195; lean_object* x_196; -x_194 = lean_ctor_get_uint8(x_1, sizeof(void*)*3); -x_195 = lean_expr_update_lambda(x_1, x_194, x_190, x_192); -x_196 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_196, 0, x_195); -lean_ctor_set(x_196, 1, x_193); -return x_196; +uint8_t x_218; lean_object* x_219; lean_object* x_220; +x_218 = lean_ctor_get_uint8(x_1, sizeof(void*)*3); +x_219 = lean_expr_update_lambda(x_1, x_218, x_214, x_216); +x_220 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_220, 0, x_219); +lean_ctor_set(x_220, 1, x_217); +return x_220; } else { -lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; -lean_dec(x_192); -lean_dec(x_190); +lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; +lean_dec(x_216); +lean_dec(x_214); lean_dec(x_1); -x_197 = l_Lean_Expr_getRevArg_x21___main___closed__1; -x_198 = lean_unsigned_to_nat(513u); -x_199 = lean_unsigned_to_nat(18u); -x_200 = l_Lean_Expr_updateLambda_x21___closed__1; -x_201 = l_panicWithPos___at_Lean_Expr_getRevArg_x21___main___spec__1(x_197, x_198, x_199, x_200); -x_202 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_202, 0, x_201); -lean_ctor_set(x_202, 1, x_193); -return x_202; +x_221 = l_Lean_Expr_getRevArg_x21___main___closed__1; +x_222 = lean_unsigned_to_nat(513u); +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); +x_226 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_226, 0, x_225); +lean_ctor_set(x_226, 1, x_217); +return x_226; } } } } case 7: { -lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; uint8_t x_306; -x_261 = lean_ctor_get(x_1, 1); -lean_inc(x_261); -x_262 = lean_ctor_get(x_1, 2); -lean_inc(x_262); -x_306 = lean_expr_has_expr_mvar(x_261); -if (x_306 == 0) +lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; uint8_t x_330; +x_285 = lean_ctor_get(x_1, 1); +lean_inc(x_285); +x_286 = lean_ctor_get(x_1, 2); +lean_inc(x_286); +x_330 = lean_expr_has_expr_mvar(x_285); +if (x_330 == 0) { -uint8_t x_307; -x_307 = lean_expr_has_level_mvar(x_261); -if (x_307 == 0) +uint8_t x_331; +x_331 = lean_expr_has_level_mvar(x_285); +if (x_331 == 0) { -x_263 = x_261; -x_264 = x_2; -goto block_305; +x_287 = x_285; +x_288 = x_2; +goto block_329; } else { -lean_object* x_308; lean_object* x_309; -x_308 = lean_ctor_get(x_2, 1); -lean_inc(x_308); -x_309 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_308, x_261); -lean_dec(x_308); -if (lean_obj_tag(x_309) == 0) +lean_object* x_332; lean_object* x_333; +x_332 = lean_ctor_get(x_2, 1); +lean_inc(x_332); +x_333 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_332, x_285); +lean_dec(x_332); +if (lean_obj_tag(x_333) == 0) { -lean_object* x_310; lean_object* x_311; lean_object* x_312; uint8_t x_313; -lean_inc(x_261); -x_310 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___at_Lean_MetavarContext_instantiateMVars___spec__2(x_261, x_2); -x_311 = lean_ctor_get(x_310, 1); +lean_object* x_334; lean_object* x_335; lean_object* x_336; uint8_t x_337; +lean_inc(x_285); +x_334 = l_Lean_MetavarContext_InstantiateExprMVars_main___main(x_285, x_2); +x_335 = lean_ctor_get(x_334, 1); +lean_inc(x_335); +x_336 = lean_ctor_get(x_334, 0); +lean_inc(x_336); +lean_dec(x_334); +x_337 = !lean_is_exclusive(x_335); +if (x_337 == 0) +{ +lean_object* x_338; lean_object* x_339; +x_338 = lean_ctor_get(x_335, 1); +lean_inc(x_336); +x_339 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_338, x_285, x_336); +lean_ctor_set(x_335, 1, x_339); +x_287 = x_336; +x_288 = x_335; +goto block_329; +} +else +{ +lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; +x_340 = lean_ctor_get(x_335, 0); +x_341 = lean_ctor_get(x_335, 1); +lean_inc(x_341); +lean_inc(x_340); +lean_dec(x_335); +lean_inc(x_336); +x_342 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_341, x_285, x_336); +x_343 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_343, 0, x_340); +lean_ctor_set(x_343, 1, x_342); +x_287 = x_336; +x_288 = x_343; +goto block_329; +} +} +else +{ +lean_object* x_344; +lean_dec(x_285); +x_344 = lean_ctor_get(x_333, 0); +lean_inc(x_344); +lean_dec(x_333); +x_287 = x_344; +x_288 = x_2; +goto block_329; +} +} +} +else +{ +lean_object* x_345; lean_object* x_346; +x_345 = lean_ctor_get(x_2, 1); +lean_inc(x_345); +x_346 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_345, x_285); +lean_dec(x_345); +if (lean_obj_tag(x_346) == 0) +{ +lean_object* x_347; lean_object* x_348; lean_object* x_349; uint8_t x_350; +lean_inc(x_285); +x_347 = l_Lean_MetavarContext_InstantiateExprMVars_main___main(x_285, x_2); +x_348 = lean_ctor_get(x_347, 1); +lean_inc(x_348); +x_349 = lean_ctor_get(x_347, 0); +lean_inc(x_349); +lean_dec(x_347); +x_350 = !lean_is_exclusive(x_348); +if (x_350 == 0) +{ +lean_object* x_351; lean_object* x_352; +x_351 = lean_ctor_get(x_348, 1); +lean_inc(x_349); +x_352 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_351, x_285, x_349); +lean_ctor_set(x_348, 1, x_352); +x_287 = x_349; +x_288 = x_348; +goto block_329; +} +else +{ +lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; +x_353 = lean_ctor_get(x_348, 0); +x_354 = lean_ctor_get(x_348, 1); +lean_inc(x_354); +lean_inc(x_353); +lean_dec(x_348); +lean_inc(x_349); +x_355 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_354, x_285, x_349); +x_356 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_356, 0, x_353); +lean_ctor_set(x_356, 1, x_355); +x_287 = x_349; +x_288 = x_356; +goto block_329; +} +} +else +{ +lean_object* x_357; +lean_dec(x_285); +x_357 = lean_ctor_get(x_346, 0); +lean_inc(x_357); +lean_dec(x_346); +x_287 = x_357; +x_288 = x_2; +goto block_329; +} +} +block_329: +{ +lean_object* x_289; lean_object* x_290; uint8_t x_301; +x_301 = lean_expr_has_expr_mvar(x_286); +if (x_301 == 0) +{ +uint8_t x_302; +x_302 = lean_expr_has_level_mvar(x_286); +if (x_302 == 0) +{ +x_289 = x_286; +x_290 = x_288; +goto block_300; +} +else +{ +lean_object* x_303; lean_object* x_304; +x_303 = lean_ctor_get(x_288, 1); +lean_inc(x_303); +x_304 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_303, x_286); +lean_dec(x_303); +if (lean_obj_tag(x_304) == 0) +{ +lean_object* x_305; lean_object* x_306; lean_object* x_307; uint8_t x_308; +lean_inc(x_286); +x_305 = l_Lean_MetavarContext_InstantiateExprMVars_main___main(x_286, x_288); +x_306 = lean_ctor_get(x_305, 1); +lean_inc(x_306); +x_307 = lean_ctor_get(x_305, 0); +lean_inc(x_307); +lean_dec(x_305); +x_308 = !lean_is_exclusive(x_306); +if (x_308 == 0) +{ +lean_object* x_309; lean_object* x_310; +x_309 = lean_ctor_get(x_306, 1); +lean_inc(x_307); +x_310 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_309, x_286, x_307); +lean_ctor_set(x_306, 1, x_310); +x_289 = x_307; +x_290 = x_306; +goto block_300; +} +else +{ +lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; +x_311 = lean_ctor_get(x_306, 0); +x_312 = lean_ctor_get(x_306, 1); +lean_inc(x_312); lean_inc(x_311); -x_312 = lean_ctor_get(x_310, 0); -lean_inc(x_312); -lean_dec(x_310); -x_313 = !lean_is_exclusive(x_311); -if (x_313 == 0) -{ -lean_object* x_314; lean_object* x_315; -x_314 = lean_ctor_get(x_311, 1); -lean_inc(x_312); -x_315 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_314, x_261, x_312); -lean_ctor_set(x_311, 1, x_315); -x_263 = x_312; -x_264 = x_311; -goto block_305; +lean_dec(x_306); +lean_inc(x_307); +x_313 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_312, x_286, x_307); +x_314 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_314, 0, x_311); +lean_ctor_set(x_314, 1, x_313); +x_289 = x_307; +x_290 = x_314; +goto block_300; +} } else { -lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; -x_316 = lean_ctor_get(x_311, 0); -x_317 = lean_ctor_get(x_311, 1); -lean_inc(x_317); +lean_object* x_315; +lean_dec(x_286); +x_315 = lean_ctor_get(x_304, 0); +lean_inc(x_315); +lean_dec(x_304); +x_289 = x_315; +x_290 = x_288; +goto block_300; +} +} +} +else +{ +lean_object* x_316; lean_object* x_317; +x_316 = lean_ctor_get(x_288, 1); lean_inc(x_316); -lean_dec(x_311); -lean_inc(x_312); -x_318 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_317, x_261, x_312); -x_319 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_319, 0, x_316); -lean_ctor_set(x_319, 1, x_318); -x_263 = x_312; -x_264 = x_319; -goto block_305; -} -} -else +x_317 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_316, x_286); +lean_dec(x_316); +if (lean_obj_tag(x_317) == 0) { -lean_object* x_320; -lean_dec(x_261); -x_320 = lean_ctor_get(x_309, 0); +lean_object* x_318; lean_object* x_319; lean_object* x_320; uint8_t x_321; +lean_inc(x_286); +x_318 = l_Lean_MetavarContext_InstantiateExprMVars_main___main(x_286, x_288); +x_319 = lean_ctor_get(x_318, 1); +lean_inc(x_319); +x_320 = lean_ctor_get(x_318, 0); lean_inc(x_320); -lean_dec(x_309); -x_263 = x_320; -x_264 = x_2; -goto block_305; -} -} +lean_dec(x_318); +x_321 = !lean_is_exclusive(x_319); +if (x_321 == 0) +{ +lean_object* x_322; lean_object* x_323; +x_322 = lean_ctor_get(x_319, 1); +lean_inc(x_320); +x_323 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_322, x_286, x_320); +lean_ctor_set(x_319, 1, x_323); +x_289 = x_320; +x_290 = x_319; +goto block_300; } else { -lean_object* x_321; lean_object* x_322; -x_321 = lean_ctor_get(x_2, 1); -lean_inc(x_321); -x_322 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_321, x_261); -lean_dec(x_321); -if (lean_obj_tag(x_322) == 0) -{ -lean_object* x_323; lean_object* x_324; lean_object* x_325; uint8_t x_326; -lean_inc(x_261); -x_323 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___at_Lean_MetavarContext_instantiateMVars___spec__2(x_261, x_2); -x_324 = lean_ctor_get(x_323, 1); +lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; +x_324 = lean_ctor_get(x_319, 0); +x_325 = lean_ctor_get(x_319, 1); +lean_inc(x_325); lean_inc(x_324); -x_325 = lean_ctor_get(x_323, 0); -lean_inc(x_325); -lean_dec(x_323); -x_326 = !lean_is_exclusive(x_324); -if (x_326 == 0) -{ -lean_object* x_327; lean_object* x_328; -x_327 = lean_ctor_get(x_324, 1); -lean_inc(x_325); -x_328 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_327, x_261, x_325); -lean_ctor_set(x_324, 1, x_328); -x_263 = x_325; -x_264 = x_324; -goto block_305; -} -else -{ -lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; -x_329 = lean_ctor_get(x_324, 0); -x_330 = lean_ctor_get(x_324, 1); -lean_inc(x_330); -lean_inc(x_329); -lean_dec(x_324); -lean_inc(x_325); -x_331 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_330, x_261, x_325); -x_332 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_332, 0, x_329); -lean_ctor_set(x_332, 1, x_331); -x_263 = x_325; -x_264 = x_332; -goto block_305; +lean_dec(x_319); +lean_inc(x_320); +x_326 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_325, x_286, x_320); +x_327 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_327, 0, x_324); +lean_ctor_set(x_327, 1, x_326); +x_289 = x_320; +x_290 = x_327; +goto block_300; } } else { -lean_object* x_333; -lean_dec(x_261); -x_333 = lean_ctor_get(x_322, 0); -lean_inc(x_333); -lean_dec(x_322); -x_263 = x_333; -x_264 = x_2; -goto block_305; +lean_object* x_328; +lean_dec(x_286); +x_328 = lean_ctor_get(x_317, 0); +lean_inc(x_328); +lean_dec(x_317); +x_289 = x_328; +x_290 = x_288; +goto block_300; } } -block_305: -{ -lean_object* x_265; lean_object* x_266; uint8_t x_277; -x_277 = lean_expr_has_expr_mvar(x_262); -if (x_277 == 0) -{ -uint8_t x_278; -x_278 = lean_expr_has_level_mvar(x_262); -if (x_278 == 0) -{ -x_265 = x_262; -x_266 = x_264; -goto block_276; -} -else -{ -lean_object* x_279; lean_object* x_280; -x_279 = lean_ctor_get(x_264, 1); -lean_inc(x_279); -x_280 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_279, x_262); -lean_dec(x_279); -if (lean_obj_tag(x_280) == 0) -{ -lean_object* x_281; lean_object* x_282; lean_object* x_283; uint8_t x_284; -lean_inc(x_262); -x_281 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___at_Lean_MetavarContext_instantiateMVars___spec__2(x_262, x_264); -x_282 = lean_ctor_get(x_281, 1); -lean_inc(x_282); -x_283 = lean_ctor_get(x_281, 0); -lean_inc(x_283); -lean_dec(x_281); -x_284 = !lean_is_exclusive(x_282); -if (x_284 == 0) -{ -lean_object* x_285; lean_object* x_286; -x_285 = lean_ctor_get(x_282, 1); -lean_inc(x_283); -x_286 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_285, x_262, x_283); -lean_ctor_set(x_282, 1, x_286); -x_265 = x_283; -x_266 = x_282; -goto block_276; -} -else -{ -lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; -x_287 = lean_ctor_get(x_282, 0); -x_288 = lean_ctor_get(x_282, 1); -lean_inc(x_288); -lean_inc(x_287); -lean_dec(x_282); -lean_inc(x_283); -x_289 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_288, x_262, x_283); -x_290 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_290, 0, x_287); -lean_ctor_set(x_290, 1, x_289); -x_265 = x_283; -x_266 = x_290; -goto block_276; -} -} -else -{ -lean_object* x_291; -lean_dec(x_262); -x_291 = lean_ctor_get(x_280, 0); -lean_inc(x_291); -lean_dec(x_280); -x_265 = x_291; -x_266 = x_264; -goto block_276; -} -} -} -else -{ -lean_object* x_292; lean_object* x_293; -x_292 = lean_ctor_get(x_264, 1); -lean_inc(x_292); -x_293 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_292, x_262); -lean_dec(x_292); -if (lean_obj_tag(x_293) == 0) -{ -lean_object* x_294; lean_object* x_295; lean_object* x_296; uint8_t x_297; -lean_inc(x_262); -x_294 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___at_Lean_MetavarContext_instantiateMVars___spec__2(x_262, x_264); -x_295 = lean_ctor_get(x_294, 1); -lean_inc(x_295); -x_296 = lean_ctor_get(x_294, 0); -lean_inc(x_296); -lean_dec(x_294); -x_297 = !lean_is_exclusive(x_295); -if (x_297 == 0) -{ -lean_object* x_298; lean_object* x_299; -x_298 = lean_ctor_get(x_295, 1); -lean_inc(x_296); -x_299 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_298, x_262, x_296); -lean_ctor_set(x_295, 1, x_299); -x_265 = x_296; -x_266 = x_295; -goto block_276; -} -else -{ -lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; -x_300 = lean_ctor_get(x_295, 0); -x_301 = lean_ctor_get(x_295, 1); -lean_inc(x_301); -lean_inc(x_300); -lean_dec(x_295); -lean_inc(x_296); -x_302 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_301, x_262, x_296); -x_303 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_303, 0, x_300); -lean_ctor_set(x_303, 1, x_302); -x_265 = x_296; -x_266 = x_303; -goto block_276; -} -} -else -{ -lean_object* x_304; -lean_dec(x_262); -x_304 = lean_ctor_get(x_293, 0); -lean_inc(x_304); -lean_dec(x_293); -x_265 = x_304; -x_266 = x_264; -goto block_276; -} -} -block_276: +block_300: { if (lean_obj_tag(x_1) == 7) { -uint8_t x_267; lean_object* x_268; lean_object* x_269; -x_267 = lean_ctor_get_uint8(x_1, sizeof(void*)*3); -x_268 = lean_expr_update_forall(x_1, x_267, x_263, x_265); -x_269 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_269, 0, x_268); -lean_ctor_set(x_269, 1, x_266); -return x_269; +uint8_t x_291; lean_object* x_292; lean_object* x_293; +x_291 = lean_ctor_get_uint8(x_1, sizeof(void*)*3); +x_292 = lean_expr_update_forall(x_1, x_291, x_287, x_289); +x_293 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_293, 0, x_292); +lean_ctor_set(x_293, 1, x_290); +return x_293; } else { -lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; -lean_dec(x_265); -lean_dec(x_263); +lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; +lean_dec(x_289); +lean_dec(x_287); lean_dec(x_1); -x_270 = l_Lean_Expr_getRevArg_x21___main___closed__1; -x_271 = lean_unsigned_to_nat(499u); -x_272 = lean_unsigned_to_nat(22u); -x_273 = l_Lean_Expr_updateForall_x21___closed__1; -x_274 = l_panicWithPos___at_Lean_Expr_getRevArg_x21___main___spec__1(x_270, x_271, x_272, x_273); -x_275 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_275, 0, x_274); -lean_ctor_set(x_275, 1, x_266); -return x_275; +x_294 = l_Lean_Expr_getRevArg_x21___main___closed__1; +x_295 = lean_unsigned_to_nat(499u); +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); +x_299 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_299, 0, x_298); +lean_ctor_set(x_299, 1, x_290); +return x_299; } } } } case 8: { -lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; uint8_t x_410; -x_334 = lean_ctor_get(x_1, 1); -lean_inc(x_334); -x_335 = lean_ctor_get(x_1, 2); -lean_inc(x_335); -x_336 = lean_ctor_get(x_1, 3); -lean_inc(x_336); -x_410 = lean_expr_has_expr_mvar(x_334); -if (x_410 == 0) +lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; uint8_t x_434; +x_358 = lean_ctor_get(x_1, 1); +lean_inc(x_358); +x_359 = lean_ctor_get(x_1, 2); +lean_inc(x_359); +x_360 = lean_ctor_get(x_1, 3); +lean_inc(x_360); +x_434 = lean_expr_has_expr_mvar(x_358); +if (x_434 == 0) { -uint8_t x_411; -x_411 = lean_expr_has_level_mvar(x_334); -if (x_411 == 0) +uint8_t x_435; +x_435 = lean_expr_has_level_mvar(x_358); +if (x_435 == 0) { -x_337 = x_334; -x_338 = x_2; -goto block_409; +x_361 = x_358; +x_362 = x_2; +goto block_433; } else { -lean_object* x_412; lean_object* x_413; -x_412 = lean_ctor_get(x_2, 1); -lean_inc(x_412); -x_413 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_412, x_334); -lean_dec(x_412); -if (lean_obj_tag(x_413) == 0) +lean_object* x_436; lean_object* x_437; +x_436 = lean_ctor_get(x_2, 1); +lean_inc(x_436); +x_437 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_436, x_358); +lean_dec(x_436); +if (lean_obj_tag(x_437) == 0) { -lean_object* x_414; lean_object* x_415; lean_object* x_416; uint8_t x_417; -lean_inc(x_334); -x_414 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___at_Lean_MetavarContext_instantiateMVars___spec__2(x_334, x_2); -x_415 = lean_ctor_get(x_414, 1); +lean_object* x_438; lean_object* x_439; lean_object* x_440; uint8_t x_441; +lean_inc(x_358); +x_438 = l_Lean_MetavarContext_InstantiateExprMVars_main___main(x_358, x_2); +x_439 = lean_ctor_get(x_438, 1); +lean_inc(x_439); +x_440 = lean_ctor_get(x_438, 0); +lean_inc(x_440); +lean_dec(x_438); +x_441 = !lean_is_exclusive(x_439); +if (x_441 == 0) +{ +lean_object* x_442; lean_object* x_443; +x_442 = lean_ctor_get(x_439, 1); +lean_inc(x_440); +x_443 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_442, x_358, x_440); +lean_ctor_set(x_439, 1, x_443); +x_361 = x_440; +x_362 = x_439; +goto block_433; +} +else +{ +lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; +x_444 = lean_ctor_get(x_439, 0); +x_445 = lean_ctor_get(x_439, 1); +lean_inc(x_445); +lean_inc(x_444); +lean_dec(x_439); +lean_inc(x_440); +x_446 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_445, x_358, x_440); +x_447 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_447, 0, x_444); +lean_ctor_set(x_447, 1, x_446); +x_361 = x_440; +x_362 = x_447; +goto block_433; +} +} +else +{ +lean_object* x_448; +lean_dec(x_358); +x_448 = lean_ctor_get(x_437, 0); +lean_inc(x_448); +lean_dec(x_437); +x_361 = x_448; +x_362 = x_2; +goto block_433; +} +} +} +else +{ +lean_object* x_449; lean_object* x_450; +x_449 = lean_ctor_get(x_2, 1); +lean_inc(x_449); +x_450 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_449, x_358); +lean_dec(x_449); +if (lean_obj_tag(x_450) == 0) +{ +lean_object* x_451; lean_object* x_452; lean_object* x_453; uint8_t x_454; +lean_inc(x_358); +x_451 = l_Lean_MetavarContext_InstantiateExprMVars_main___main(x_358, x_2); +x_452 = lean_ctor_get(x_451, 1); +lean_inc(x_452); +x_453 = lean_ctor_get(x_451, 0); +lean_inc(x_453); +lean_dec(x_451); +x_454 = !lean_is_exclusive(x_452); +if (x_454 == 0) +{ +lean_object* x_455; lean_object* x_456; +x_455 = lean_ctor_get(x_452, 1); +lean_inc(x_453); +x_456 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_455, x_358, x_453); +lean_ctor_set(x_452, 1, x_456); +x_361 = x_453; +x_362 = x_452; +goto block_433; +} +else +{ +lean_object* x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; +x_457 = lean_ctor_get(x_452, 0); +x_458 = lean_ctor_get(x_452, 1); +lean_inc(x_458); +lean_inc(x_457); +lean_dec(x_452); +lean_inc(x_453); +x_459 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_458, x_358, x_453); +x_460 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_460, 0, x_457); +lean_ctor_set(x_460, 1, x_459); +x_361 = x_453; +x_362 = x_460; +goto block_433; +} +} +else +{ +lean_object* x_461; +lean_dec(x_358); +x_461 = lean_ctor_get(x_450, 0); +lean_inc(x_461); +lean_dec(x_450); +x_361 = x_461; +x_362 = x_2; +goto block_433; +} +} +block_433: +{ +lean_object* x_363; lean_object* x_364; uint8_t x_405; +x_405 = lean_expr_has_expr_mvar(x_359); +if (x_405 == 0) +{ +uint8_t x_406; +x_406 = lean_expr_has_level_mvar(x_359); +if (x_406 == 0) +{ +x_363 = x_359; +x_364 = x_362; +goto block_404; +} +else +{ +lean_object* x_407; lean_object* x_408; +x_407 = lean_ctor_get(x_362, 1); +lean_inc(x_407); +x_408 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_407, x_359); +lean_dec(x_407); +if (lean_obj_tag(x_408) == 0) +{ +lean_object* x_409; lean_object* x_410; lean_object* x_411; uint8_t x_412; +lean_inc(x_359); +x_409 = l_Lean_MetavarContext_InstantiateExprMVars_main___main(x_359, x_362); +x_410 = lean_ctor_get(x_409, 1); +lean_inc(x_410); +x_411 = lean_ctor_get(x_409, 0); +lean_inc(x_411); +lean_dec(x_409); +x_412 = !lean_is_exclusive(x_410); +if (x_412 == 0) +{ +lean_object* x_413; lean_object* x_414; +x_413 = lean_ctor_get(x_410, 1); +lean_inc(x_411); +x_414 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_413, x_359, x_411); +lean_ctor_set(x_410, 1, x_414); +x_363 = x_411; +x_364 = x_410; +goto block_404; +} +else +{ +lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; +x_415 = lean_ctor_get(x_410, 0); +x_416 = lean_ctor_get(x_410, 1); +lean_inc(x_416); lean_inc(x_415); -x_416 = lean_ctor_get(x_414, 0); -lean_inc(x_416); -lean_dec(x_414); -x_417 = !lean_is_exclusive(x_415); -if (x_417 == 0) -{ -lean_object* x_418; lean_object* x_419; -x_418 = lean_ctor_get(x_415, 1); -lean_inc(x_416); -x_419 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_418, x_334, x_416); -lean_ctor_set(x_415, 1, x_419); -x_337 = x_416; -x_338 = x_415; -goto block_409; +lean_dec(x_410); +lean_inc(x_411); +x_417 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_416, x_359, x_411); +x_418 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_418, 0, x_415); +lean_ctor_set(x_418, 1, x_417); +x_363 = x_411; +x_364 = x_418; +goto block_404; +} } else { -lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; -x_420 = lean_ctor_get(x_415, 0); -x_421 = lean_ctor_get(x_415, 1); -lean_inc(x_421); +lean_object* x_419; +lean_dec(x_359); +x_419 = lean_ctor_get(x_408, 0); +lean_inc(x_419); +lean_dec(x_408); +x_363 = x_419; +x_364 = x_362; +goto block_404; +} +} +} +else +{ +lean_object* x_420; lean_object* x_421; +x_420 = lean_ctor_get(x_362, 1); lean_inc(x_420); -lean_dec(x_415); -lean_inc(x_416); -x_422 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_421, x_334, x_416); -x_423 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_423, 0, x_420); -lean_ctor_set(x_423, 1, x_422); -x_337 = x_416; -x_338 = x_423; -goto block_409; -} -} -else +x_421 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_420, x_359); +lean_dec(x_420); +if (lean_obj_tag(x_421) == 0) { -lean_object* x_424; -lean_dec(x_334); -x_424 = lean_ctor_get(x_413, 0); +lean_object* x_422; lean_object* x_423; lean_object* x_424; uint8_t x_425; +lean_inc(x_359); +x_422 = l_Lean_MetavarContext_InstantiateExprMVars_main___main(x_359, x_362); +x_423 = lean_ctor_get(x_422, 1); +lean_inc(x_423); +x_424 = lean_ctor_get(x_422, 0); lean_inc(x_424); -lean_dec(x_413); -x_337 = x_424; -x_338 = x_2; -goto block_409; -} -} +lean_dec(x_422); +x_425 = !lean_is_exclusive(x_423); +if (x_425 == 0) +{ +lean_object* x_426; lean_object* x_427; +x_426 = lean_ctor_get(x_423, 1); +lean_inc(x_424); +x_427 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_426, x_359, x_424); +lean_ctor_set(x_423, 1, x_427); +x_363 = x_424; +x_364 = x_423; +goto block_404; } else { -lean_object* x_425; lean_object* x_426; -x_425 = lean_ctor_get(x_2, 1); -lean_inc(x_425); -x_426 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_425, x_334); -lean_dec(x_425); -if (lean_obj_tag(x_426) == 0) -{ -lean_object* x_427; lean_object* x_428; lean_object* x_429; uint8_t x_430; -lean_inc(x_334); -x_427 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___at_Lean_MetavarContext_instantiateMVars___spec__2(x_334, x_2); -x_428 = lean_ctor_get(x_427, 1); +lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; +x_428 = lean_ctor_get(x_423, 0); +x_429 = lean_ctor_get(x_423, 1); +lean_inc(x_429); lean_inc(x_428); -x_429 = lean_ctor_get(x_427, 0); -lean_inc(x_429); -lean_dec(x_427); -x_430 = !lean_is_exclusive(x_428); -if (x_430 == 0) -{ -lean_object* x_431; lean_object* x_432; -x_431 = lean_ctor_get(x_428, 1); -lean_inc(x_429); -x_432 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_431, x_334, x_429); -lean_ctor_set(x_428, 1, x_432); -x_337 = x_429; -x_338 = x_428; -goto block_409; -} -else -{ -lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; -x_433 = lean_ctor_get(x_428, 0); -x_434 = lean_ctor_get(x_428, 1); -lean_inc(x_434); -lean_inc(x_433); -lean_dec(x_428); -lean_inc(x_429); -x_435 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_434, x_334, x_429); -x_436 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_436, 0, x_433); -lean_ctor_set(x_436, 1, x_435); -x_337 = x_429; -x_338 = x_436; -goto block_409; +lean_dec(x_423); +lean_inc(x_424); +x_430 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_429, x_359, x_424); +x_431 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_431, 0, x_428); +lean_ctor_set(x_431, 1, x_430); +x_363 = x_424; +x_364 = x_431; +goto block_404; } } else { -lean_object* x_437; -lean_dec(x_334); -x_437 = lean_ctor_get(x_426, 0); -lean_inc(x_437); -lean_dec(x_426); -x_337 = x_437; -x_338 = x_2; -goto block_409; +lean_object* x_432; +lean_dec(x_359); +x_432 = lean_ctor_get(x_421, 0); +lean_inc(x_432); +lean_dec(x_421); +x_363 = x_432; +x_364 = x_362; +goto block_404; } } -block_409: +block_404: { -lean_object* x_339; lean_object* x_340; uint8_t x_381; -x_381 = lean_expr_has_expr_mvar(x_335); -if (x_381 == 0) +lean_object* x_365; lean_object* x_366; uint8_t x_376; +x_376 = lean_expr_has_expr_mvar(x_360); +if (x_376 == 0) { -uint8_t x_382; -x_382 = lean_expr_has_level_mvar(x_335); -if (x_382 == 0) +uint8_t x_377; +x_377 = lean_expr_has_level_mvar(x_360); +if (x_377 == 0) { -x_339 = x_335; -x_340 = x_338; -goto block_380; +x_365 = x_360; +x_366 = x_364; +goto block_375; } else { -lean_object* x_383; lean_object* x_384; -x_383 = lean_ctor_get(x_338, 1); -lean_inc(x_383); -x_384 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_383, x_335); -lean_dec(x_383); -if (lean_obj_tag(x_384) == 0) +lean_object* x_378; lean_object* x_379; +x_378 = lean_ctor_get(x_364, 1); +lean_inc(x_378); +x_379 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_378, x_360); +lean_dec(x_378); +if (lean_obj_tag(x_379) == 0) { -lean_object* x_385; lean_object* x_386; lean_object* x_387; uint8_t x_388; -lean_inc(x_335); -x_385 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___at_Lean_MetavarContext_instantiateMVars___spec__2(x_335, x_338); -x_386 = lean_ctor_get(x_385, 1); +lean_object* x_380; lean_object* x_381; lean_object* x_382; uint8_t x_383; +lean_inc(x_360); +x_380 = l_Lean_MetavarContext_InstantiateExprMVars_main___main(x_360, x_364); +x_381 = lean_ctor_get(x_380, 1); +lean_inc(x_381); +x_382 = lean_ctor_get(x_380, 0); +lean_inc(x_382); +lean_dec(x_380); +x_383 = !lean_is_exclusive(x_381); +if (x_383 == 0) +{ +lean_object* x_384; lean_object* x_385; +x_384 = lean_ctor_get(x_381, 1); +lean_inc(x_382); +x_385 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_384, x_360, x_382); +lean_ctor_set(x_381, 1, x_385); +x_365 = x_382; +x_366 = x_381; +goto block_375; +} +else +{ +lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; +x_386 = lean_ctor_get(x_381, 0); +x_387 = lean_ctor_get(x_381, 1); +lean_inc(x_387); lean_inc(x_386); -x_387 = lean_ctor_get(x_385, 0); -lean_inc(x_387); -lean_dec(x_385); -x_388 = !lean_is_exclusive(x_386); -if (x_388 == 0) -{ -lean_object* x_389; lean_object* x_390; -x_389 = lean_ctor_get(x_386, 1); -lean_inc(x_387); -x_390 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_389, x_335, x_387); -lean_ctor_set(x_386, 1, x_390); -x_339 = x_387; -x_340 = x_386; -goto block_380; +lean_dec(x_381); +lean_inc(x_382); +x_388 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_387, x_360, x_382); +x_389 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_389, 0, x_386); +lean_ctor_set(x_389, 1, x_388); +x_365 = x_382; +x_366 = x_389; +goto block_375; +} } else { -lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; -x_391 = lean_ctor_get(x_386, 0); -x_392 = lean_ctor_get(x_386, 1); -lean_inc(x_392); +lean_object* x_390; +lean_dec(x_360); +x_390 = lean_ctor_get(x_379, 0); +lean_inc(x_390); +lean_dec(x_379); +x_365 = x_390; +x_366 = x_364; +goto block_375; +} +} +} +else +{ +lean_object* x_391; lean_object* x_392; +x_391 = lean_ctor_get(x_364, 1); lean_inc(x_391); -lean_dec(x_386); -lean_inc(x_387); -x_393 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_392, x_335, x_387); -x_394 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_394, 0, x_391); -lean_ctor_set(x_394, 1, x_393); -x_339 = x_387; -x_340 = x_394; -goto block_380; -} -} -else +x_392 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_391, x_360); +lean_dec(x_391); +if (lean_obj_tag(x_392) == 0) { -lean_object* x_395; -lean_dec(x_335); -x_395 = lean_ctor_get(x_384, 0); +lean_object* x_393; lean_object* x_394; lean_object* x_395; uint8_t x_396; +lean_inc(x_360); +x_393 = l_Lean_MetavarContext_InstantiateExprMVars_main___main(x_360, x_364); +x_394 = lean_ctor_get(x_393, 1); +lean_inc(x_394); +x_395 = lean_ctor_get(x_393, 0); lean_inc(x_395); -lean_dec(x_384); -x_339 = x_395; -x_340 = x_338; -goto block_380; -} -} +lean_dec(x_393); +x_396 = !lean_is_exclusive(x_394); +if (x_396 == 0) +{ +lean_object* x_397; lean_object* x_398; +x_397 = lean_ctor_get(x_394, 1); +lean_inc(x_395); +x_398 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_397, x_360, x_395); +lean_ctor_set(x_394, 1, x_398); +x_365 = x_395; +x_366 = x_394; +goto block_375; } else { -lean_object* x_396; lean_object* x_397; -x_396 = lean_ctor_get(x_338, 1); -lean_inc(x_396); -x_397 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_396, x_335); -lean_dec(x_396); -if (lean_obj_tag(x_397) == 0) -{ -lean_object* x_398; lean_object* x_399; lean_object* x_400; uint8_t x_401; -lean_inc(x_335); -x_398 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___at_Lean_MetavarContext_instantiateMVars___spec__2(x_335, x_338); -x_399 = lean_ctor_get(x_398, 1); +lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; +x_399 = lean_ctor_get(x_394, 0); +x_400 = lean_ctor_get(x_394, 1); +lean_inc(x_400); lean_inc(x_399); -x_400 = lean_ctor_get(x_398, 0); -lean_inc(x_400); -lean_dec(x_398); -x_401 = !lean_is_exclusive(x_399); -if (x_401 == 0) -{ -lean_object* x_402; lean_object* x_403; -x_402 = lean_ctor_get(x_399, 1); -lean_inc(x_400); -x_403 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_402, x_335, x_400); -lean_ctor_set(x_399, 1, x_403); -x_339 = x_400; -x_340 = x_399; -goto block_380; -} -else -{ -lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; -x_404 = lean_ctor_get(x_399, 0); -x_405 = lean_ctor_get(x_399, 1); -lean_inc(x_405); -lean_inc(x_404); -lean_dec(x_399); -lean_inc(x_400); -x_406 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_405, x_335, x_400); -x_407 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_407, 0, x_404); -lean_ctor_set(x_407, 1, x_406); -x_339 = x_400; -x_340 = x_407; -goto block_380; +lean_dec(x_394); +lean_inc(x_395); +x_401 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_400, x_360, x_395); +x_402 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_402, 0, x_399); +lean_ctor_set(x_402, 1, x_401); +x_365 = x_395; +x_366 = x_402; +goto block_375; } } else { -lean_object* x_408; -lean_dec(x_335); -x_408 = lean_ctor_get(x_397, 0); -lean_inc(x_408); -lean_dec(x_397); -x_339 = x_408; -x_340 = x_338; -goto block_380; +lean_object* x_403; +lean_dec(x_360); +x_403 = lean_ctor_get(x_392, 0); +lean_inc(x_403); +lean_dec(x_392); +x_365 = x_403; +x_366 = x_364; +goto block_375; } } -block_380: -{ -lean_object* x_341; lean_object* x_342; uint8_t x_352; -x_352 = lean_expr_has_expr_mvar(x_336); -if (x_352 == 0) -{ -uint8_t x_353; -x_353 = lean_expr_has_level_mvar(x_336); -if (x_353 == 0) -{ -x_341 = x_336; -x_342 = x_340; -goto block_351; -} -else -{ -lean_object* x_354; lean_object* x_355; -x_354 = lean_ctor_get(x_340, 1); -lean_inc(x_354); -x_355 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_354, x_336); -lean_dec(x_354); -if (lean_obj_tag(x_355) == 0) -{ -lean_object* x_356; lean_object* x_357; lean_object* x_358; uint8_t x_359; -lean_inc(x_336); -x_356 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___at_Lean_MetavarContext_instantiateMVars___spec__2(x_336, x_340); -x_357 = lean_ctor_get(x_356, 1); -lean_inc(x_357); -x_358 = lean_ctor_get(x_356, 0); -lean_inc(x_358); -lean_dec(x_356); -x_359 = !lean_is_exclusive(x_357); -if (x_359 == 0) -{ -lean_object* x_360; lean_object* x_361; -x_360 = lean_ctor_get(x_357, 1); -lean_inc(x_358); -x_361 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_360, x_336, x_358); -lean_ctor_set(x_357, 1, x_361); -x_341 = x_358; -x_342 = x_357; -goto block_351; -} -else -{ -lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; -x_362 = lean_ctor_get(x_357, 0); -x_363 = lean_ctor_get(x_357, 1); -lean_inc(x_363); -lean_inc(x_362); -lean_dec(x_357); -lean_inc(x_358); -x_364 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_363, x_336, x_358); -x_365 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_365, 0, x_362); -lean_ctor_set(x_365, 1, x_364); -x_341 = x_358; -x_342 = x_365; -goto block_351; -} -} -else -{ -lean_object* x_366; -lean_dec(x_336); -x_366 = lean_ctor_get(x_355, 0); -lean_inc(x_366); -lean_dec(x_355); -x_341 = x_366; -x_342 = x_340; -goto block_351; -} -} -} -else -{ -lean_object* x_367; lean_object* x_368; -x_367 = lean_ctor_get(x_340, 1); -lean_inc(x_367); -x_368 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_367, x_336); -lean_dec(x_367); -if (lean_obj_tag(x_368) == 0) -{ -lean_object* x_369; lean_object* x_370; lean_object* x_371; uint8_t x_372; -lean_inc(x_336); -x_369 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___at_Lean_MetavarContext_instantiateMVars___spec__2(x_336, x_340); -x_370 = lean_ctor_get(x_369, 1); -lean_inc(x_370); -x_371 = lean_ctor_get(x_369, 0); -lean_inc(x_371); -lean_dec(x_369); -x_372 = !lean_is_exclusive(x_370); -if (x_372 == 0) -{ -lean_object* x_373; lean_object* x_374; -x_373 = lean_ctor_get(x_370, 1); -lean_inc(x_371); -x_374 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_373, x_336, x_371); -lean_ctor_set(x_370, 1, x_374); -x_341 = x_371; -x_342 = x_370; -goto block_351; -} -else -{ -lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; -x_375 = lean_ctor_get(x_370, 0); -x_376 = lean_ctor_get(x_370, 1); -lean_inc(x_376); -lean_inc(x_375); -lean_dec(x_370); -lean_inc(x_371); -x_377 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_376, x_336, x_371); -x_378 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_378, 0, x_375); -lean_ctor_set(x_378, 1, x_377); -x_341 = x_371; -x_342 = x_378; -goto block_351; -} -} -else -{ -lean_object* x_379; -lean_dec(x_336); -x_379 = lean_ctor_get(x_368, 0); -lean_inc(x_379); -lean_dec(x_368); -x_341 = x_379; -x_342 = x_340; -goto block_351; -} -} -block_351: +block_375: { if (lean_obj_tag(x_1) == 8) { -lean_object* x_343; lean_object* x_344; -x_343 = lean_expr_update_let(x_1, x_337, x_339, x_341); -x_344 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_344, 0, x_343); -lean_ctor_set(x_344, 1, x_342); -return x_344; +lean_object* x_367; lean_object* x_368; +x_367 = lean_expr_update_let(x_1, x_361, x_363, x_365); +x_368 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_368, 0, x_367); +lean_ctor_set(x_368, 1, x_366); +return x_368; } else { -lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; -lean_dec(x_341); -lean_dec(x_339); -lean_dec(x_337); +lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; +lean_dec(x_365); +lean_dec(x_363); +lean_dec(x_361); lean_dec(x_1); -x_345 = l_Lean_Expr_getRevArg_x21___main___closed__1; -x_346 = lean_unsigned_to_nat(522u); -x_347 = lean_unsigned_to_nat(18u); -x_348 = l_Lean_Expr_letName_x21___closed__1; -x_349 = l_panicWithPos___at_Lean_Expr_getRevArg_x21___main___spec__1(x_345, x_346, x_347, x_348); -x_350 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_350, 0, x_349); -lean_ctor_set(x_350, 1, x_342); -return x_350; +x_369 = l_Lean_Expr_getRevArg_x21___main___closed__1; +x_370 = lean_unsigned_to_nat(522u); +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); +x_374 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_374, 0, x_373); +lean_ctor_set(x_374, 1, x_366); +return x_374; } } } @@ -12770,135 +15163,135 @@ return x_350; } case 10: { -lean_object* x_438; uint8_t x_439; -x_438 = lean_ctor_get(x_1, 1); -lean_inc(x_438); -x_439 = lean_expr_has_expr_mvar(x_438); -if (x_439 == 0) -{ -uint8_t x_440; -x_440 = lean_expr_has_level_mvar(x_438); -if (x_440 == 0) -{ -x_15 = x_438; -x_16 = x_2; -goto block_25; -} -else -{ -lean_object* x_441; lean_object* x_442; -x_441 = lean_ctor_get(x_2, 1); -lean_inc(x_441); -x_442 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_441, x_438); -lean_dec(x_441); -if (lean_obj_tag(x_442) == 0) -{ -lean_object* x_443; lean_object* x_444; lean_object* x_445; uint8_t x_446; -lean_inc(x_438); -x_443 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___at_Lean_MetavarContext_instantiateMVars___spec__2(x_438, x_2); -x_444 = lean_ctor_get(x_443, 1); -lean_inc(x_444); -x_445 = lean_ctor_get(x_443, 0); -lean_inc(x_445); -lean_dec(x_443); -x_446 = !lean_is_exclusive(x_444); -if (x_446 == 0) -{ -lean_object* x_447; lean_object* x_448; -x_447 = lean_ctor_get(x_444, 1); -lean_inc(x_445); -x_448 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_447, x_438, x_445); -lean_ctor_set(x_444, 1, x_448); -x_15 = x_445; -x_16 = x_444; -goto block_25; -} -else -{ -lean_object* x_449; lean_object* x_450; lean_object* x_451; lean_object* x_452; -x_449 = lean_ctor_get(x_444, 0); -x_450 = lean_ctor_get(x_444, 1); -lean_inc(x_450); -lean_inc(x_449); -lean_dec(x_444); -lean_inc(x_445); -x_451 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_450, x_438, x_445); -x_452 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_452, 0, x_449); -lean_ctor_set(x_452, 1, x_451); -x_15 = x_445; -x_16 = x_452; -goto block_25; -} -} -else -{ -lean_object* x_453; -lean_dec(x_438); -x_453 = lean_ctor_get(x_442, 0); -lean_inc(x_453); -lean_dec(x_442); -x_15 = x_453; -x_16 = x_2; -goto block_25; -} -} -} -else -{ -lean_object* x_454; lean_object* x_455; -x_454 = lean_ctor_get(x_2, 1); -lean_inc(x_454); -x_455 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_454, x_438); -lean_dec(x_454); -if (lean_obj_tag(x_455) == 0) -{ -lean_object* x_456; lean_object* x_457; lean_object* x_458; uint8_t x_459; -lean_inc(x_438); -x_456 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___at_Lean_MetavarContext_instantiateMVars___spec__2(x_438, x_2); -x_457 = lean_ctor_get(x_456, 1); -lean_inc(x_457); -x_458 = lean_ctor_get(x_456, 0); -lean_inc(x_458); -lean_dec(x_456); -x_459 = !lean_is_exclusive(x_457); -if (x_459 == 0) -{ -lean_object* x_460; lean_object* x_461; -x_460 = lean_ctor_get(x_457, 1); -lean_inc(x_458); -x_461 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_460, x_438, x_458); -lean_ctor_set(x_457, 1, x_461); -x_15 = x_458; -x_16 = x_457; -goto block_25; -} -else -{ -lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; -x_462 = lean_ctor_get(x_457, 0); -x_463 = lean_ctor_get(x_457, 1); -lean_inc(x_463); +lean_object* x_462; uint8_t x_463; +x_462 = lean_ctor_get(x_1, 1); lean_inc(x_462); -lean_dec(x_457); -lean_inc(x_458); -x_464 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_463, x_438, x_458); -x_465 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_465, 0, x_462); -lean_ctor_set(x_465, 1, x_464); -x_15 = x_458; -x_16 = x_465; +x_463 = lean_expr_has_expr_mvar(x_462); +if (x_463 == 0) +{ +uint8_t x_464; +x_464 = lean_expr_has_level_mvar(x_462); +if (x_464 == 0) +{ +x_15 = x_462; +x_16 = x_2; +goto block_25; +} +else +{ +lean_object* x_465; lean_object* x_466; +x_465 = lean_ctor_get(x_2, 1); +lean_inc(x_465); +x_466 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_465, x_462); +lean_dec(x_465); +if (lean_obj_tag(x_466) == 0) +{ +lean_object* x_467; lean_object* x_468; lean_object* x_469; uint8_t x_470; +lean_inc(x_462); +x_467 = l_Lean_MetavarContext_InstantiateExprMVars_main___main(x_462, x_2); +x_468 = lean_ctor_get(x_467, 1); +lean_inc(x_468); +x_469 = lean_ctor_get(x_467, 0); +lean_inc(x_469); +lean_dec(x_467); +x_470 = !lean_is_exclusive(x_468); +if (x_470 == 0) +{ +lean_object* x_471; lean_object* x_472; +x_471 = lean_ctor_get(x_468, 1); +lean_inc(x_469); +x_472 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_471, x_462, x_469); +lean_ctor_set(x_468, 1, x_472); +x_15 = x_469; +x_16 = x_468; +goto block_25; +} +else +{ +lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; +x_473 = lean_ctor_get(x_468, 0); +x_474 = lean_ctor_get(x_468, 1); +lean_inc(x_474); +lean_inc(x_473); +lean_dec(x_468); +lean_inc(x_469); +x_475 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_474, x_462, x_469); +x_476 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_476, 0, x_473); +lean_ctor_set(x_476, 1, x_475); +x_15 = x_469; +x_16 = x_476; goto block_25; } } else { -lean_object* x_466; -lean_dec(x_438); -x_466 = lean_ctor_get(x_455, 0); -lean_inc(x_466); -lean_dec(x_455); -x_15 = x_466; +lean_object* x_477; +lean_dec(x_462); +x_477 = lean_ctor_get(x_466, 0); +lean_inc(x_477); +lean_dec(x_466); +x_15 = x_477; +x_16 = x_2; +goto block_25; +} +} +} +else +{ +lean_object* x_478; lean_object* x_479; +x_478 = lean_ctor_get(x_2, 1); +lean_inc(x_478); +x_479 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_478, x_462); +lean_dec(x_478); +if (lean_obj_tag(x_479) == 0) +{ +lean_object* x_480; lean_object* x_481; lean_object* x_482; uint8_t x_483; +lean_inc(x_462); +x_480 = l_Lean_MetavarContext_InstantiateExprMVars_main___main(x_462, x_2); +x_481 = lean_ctor_get(x_480, 1); +lean_inc(x_481); +x_482 = lean_ctor_get(x_480, 0); +lean_inc(x_482); +lean_dec(x_480); +x_483 = !lean_is_exclusive(x_481); +if (x_483 == 0) +{ +lean_object* x_484; lean_object* x_485; +x_484 = lean_ctor_get(x_481, 1); +lean_inc(x_482); +x_485 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_484, x_462, x_482); +lean_ctor_set(x_481, 1, x_485); +x_15 = x_482; +x_16 = x_481; +goto block_25; +} +else +{ +lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; +x_486 = lean_ctor_get(x_481, 0); +x_487 = lean_ctor_get(x_481, 1); +lean_inc(x_487); +lean_inc(x_486); +lean_dec(x_481); +lean_inc(x_482); +x_488 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_487, x_462, x_482); +x_489 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_489, 0, x_486); +lean_ctor_set(x_489, 1, x_488); +x_15 = x_482; +x_16 = x_489; +goto block_25; +} +} +else +{ +lean_object* x_490; +lean_dec(x_462); +x_490 = lean_ctor_get(x_479, 0); +lean_inc(x_490); +lean_dec(x_479); +x_15 = x_490; x_16 = x_2; goto block_25; } @@ -12906,135 +15299,135 @@ goto block_25; } case 11: { -lean_object* x_467; uint8_t x_468; -x_467 = lean_ctor_get(x_1, 2); -lean_inc(x_467); -x_468 = lean_expr_has_expr_mvar(x_467); -if (x_468 == 0) -{ -uint8_t x_469; -x_469 = lean_expr_has_level_mvar(x_467); -if (x_469 == 0) -{ -x_26 = x_467; -x_27 = x_2; -goto block_36; -} -else -{ -lean_object* x_470; lean_object* x_471; -x_470 = lean_ctor_get(x_2, 1); -lean_inc(x_470); -x_471 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_470, x_467); -lean_dec(x_470); -if (lean_obj_tag(x_471) == 0) -{ -lean_object* x_472; lean_object* x_473; lean_object* x_474; uint8_t x_475; -lean_inc(x_467); -x_472 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___at_Lean_MetavarContext_instantiateMVars___spec__2(x_467, x_2); -x_473 = lean_ctor_get(x_472, 1); -lean_inc(x_473); -x_474 = lean_ctor_get(x_472, 0); -lean_inc(x_474); -lean_dec(x_472); -x_475 = !lean_is_exclusive(x_473); -if (x_475 == 0) -{ -lean_object* x_476; lean_object* x_477; -x_476 = lean_ctor_get(x_473, 1); -lean_inc(x_474); -x_477 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_476, x_467, x_474); -lean_ctor_set(x_473, 1, x_477); -x_26 = x_474; -x_27 = x_473; -goto block_36; -} -else -{ -lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; -x_478 = lean_ctor_get(x_473, 0); -x_479 = lean_ctor_get(x_473, 1); -lean_inc(x_479); -lean_inc(x_478); -lean_dec(x_473); -lean_inc(x_474); -x_480 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_479, x_467, x_474); -x_481 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_481, 0, x_478); -lean_ctor_set(x_481, 1, x_480); -x_26 = x_474; -x_27 = x_481; -goto block_36; -} -} -else -{ -lean_object* x_482; -lean_dec(x_467); -x_482 = lean_ctor_get(x_471, 0); -lean_inc(x_482); -lean_dec(x_471); -x_26 = x_482; -x_27 = x_2; -goto block_36; -} -} -} -else -{ -lean_object* x_483; lean_object* x_484; -x_483 = lean_ctor_get(x_2, 1); -lean_inc(x_483); -x_484 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_483, x_467); -lean_dec(x_483); -if (lean_obj_tag(x_484) == 0) -{ -lean_object* x_485; lean_object* x_486; lean_object* x_487; uint8_t x_488; -lean_inc(x_467); -x_485 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___at_Lean_MetavarContext_instantiateMVars___spec__2(x_467, x_2); -x_486 = lean_ctor_get(x_485, 1); -lean_inc(x_486); -x_487 = lean_ctor_get(x_485, 0); -lean_inc(x_487); -lean_dec(x_485); -x_488 = !lean_is_exclusive(x_486); -if (x_488 == 0) -{ -lean_object* x_489; lean_object* x_490; -x_489 = lean_ctor_get(x_486, 1); -lean_inc(x_487); -x_490 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_489, x_467, x_487); -lean_ctor_set(x_486, 1, x_490); -x_26 = x_487; -x_27 = x_486; -goto block_36; -} -else -{ -lean_object* x_491; lean_object* x_492; lean_object* x_493; lean_object* x_494; -x_491 = lean_ctor_get(x_486, 0); -x_492 = lean_ctor_get(x_486, 1); -lean_inc(x_492); +lean_object* x_491; uint8_t x_492; +x_491 = lean_ctor_get(x_1, 2); lean_inc(x_491); -lean_dec(x_486); -lean_inc(x_487); -x_493 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_492, x_467, x_487); -x_494 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_494, 0, x_491); -lean_ctor_set(x_494, 1, x_493); -x_26 = x_487; -x_27 = x_494; +x_492 = lean_expr_has_expr_mvar(x_491); +if (x_492 == 0) +{ +uint8_t x_493; +x_493 = lean_expr_has_level_mvar(x_491); +if (x_493 == 0) +{ +x_26 = x_491; +x_27 = x_2; +goto block_36; +} +else +{ +lean_object* x_494; lean_object* x_495; +x_494 = lean_ctor_get(x_2, 1); +lean_inc(x_494); +x_495 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_494, x_491); +lean_dec(x_494); +if (lean_obj_tag(x_495) == 0) +{ +lean_object* x_496; lean_object* x_497; lean_object* x_498; uint8_t x_499; +lean_inc(x_491); +x_496 = l_Lean_MetavarContext_InstantiateExprMVars_main___main(x_491, x_2); +x_497 = lean_ctor_get(x_496, 1); +lean_inc(x_497); +x_498 = lean_ctor_get(x_496, 0); +lean_inc(x_498); +lean_dec(x_496); +x_499 = !lean_is_exclusive(x_497); +if (x_499 == 0) +{ +lean_object* x_500; lean_object* x_501; +x_500 = lean_ctor_get(x_497, 1); +lean_inc(x_498); +x_501 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_500, x_491, x_498); +lean_ctor_set(x_497, 1, x_501); +x_26 = x_498; +x_27 = x_497; +goto block_36; +} +else +{ +lean_object* x_502; lean_object* x_503; lean_object* x_504; lean_object* x_505; +x_502 = lean_ctor_get(x_497, 0); +x_503 = lean_ctor_get(x_497, 1); +lean_inc(x_503); +lean_inc(x_502); +lean_dec(x_497); +lean_inc(x_498); +x_504 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_503, x_491, x_498); +x_505 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_505, 0, x_502); +lean_ctor_set(x_505, 1, x_504); +x_26 = x_498; +x_27 = x_505; goto block_36; } } else { -lean_object* x_495; -lean_dec(x_467); -x_495 = lean_ctor_get(x_484, 0); -lean_inc(x_495); -lean_dec(x_484); -x_26 = x_495; +lean_object* x_506; +lean_dec(x_491); +x_506 = lean_ctor_get(x_495, 0); +lean_inc(x_506); +lean_dec(x_495); +x_26 = x_506; +x_27 = x_2; +goto block_36; +} +} +} +else +{ +lean_object* x_507; lean_object* x_508; +x_507 = lean_ctor_get(x_2, 1); +lean_inc(x_507); +x_508 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_507, x_491); +lean_dec(x_507); +if (lean_obj_tag(x_508) == 0) +{ +lean_object* x_509; lean_object* x_510; lean_object* x_511; uint8_t x_512; +lean_inc(x_491); +x_509 = l_Lean_MetavarContext_InstantiateExprMVars_main___main(x_491, x_2); +x_510 = lean_ctor_get(x_509, 1); +lean_inc(x_510); +x_511 = lean_ctor_get(x_509, 0); +lean_inc(x_511); +lean_dec(x_509); +x_512 = !lean_is_exclusive(x_510); +if (x_512 == 0) +{ +lean_object* x_513; lean_object* x_514; +x_513 = lean_ctor_get(x_510, 1); +lean_inc(x_511); +x_514 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_513, x_491, x_511); +lean_ctor_set(x_510, 1, x_514); +x_26 = x_511; +x_27 = x_510; +goto block_36; +} +else +{ +lean_object* x_515; lean_object* x_516; lean_object* x_517; lean_object* x_518; +x_515 = lean_ctor_get(x_510, 0); +x_516 = lean_ctor_get(x_510, 1); +lean_inc(x_516); +lean_inc(x_515); +lean_dec(x_510); +lean_inc(x_511); +x_517 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_516, x_491, x_511); +x_518 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_518, 0, x_515); +lean_ctor_set(x_518, 1, x_517); +x_26 = x_511; +x_27 = x_518; +goto block_36; +} +} +else +{ +lean_object* x_519; +lean_dec(x_491); +x_519 = lean_ctor_get(x_508, 0); +lean_inc(x_519); +lean_dec(x_508); +x_26 = x_519; x_27 = x_2; goto block_36; } @@ -13042,11 +15435,11 @@ goto block_36; } default: { -lean_object* x_496; -x_496 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_496, 0, x_1); -lean_ctor_set(x_496, 1, x_2); -return x_496; +lean_object* x_520; +x_520 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_520, 0, x_1); +lean_ctor_set(x_520, 1, x_2); +return x_520; } } block_14: @@ -13058,7 +15451,7 @@ if (x_5 == 0) lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = lean_ctor_get(x_4, 1); lean_inc(x_3); -x_7 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_6, x_1, x_3); +x_7 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_6, x_1, x_3); lean_ctor_set(x_4, 1, x_7); x_8 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_8, 0, x_3); @@ -13074,7 +15467,7 @@ lean_inc(x_10); lean_inc(x_9); lean_dec(x_4); lean_inc(x_3); -x_11 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_10, x_1, x_3); +x_11 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_10, x_1, x_3); x_12 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_12, 0, x_9); lean_ctor_set(x_12, 1, x_11); @@ -13140,31 +15533,65 @@ return x_35; } } } -lean_object* l_Lean_AbstractMetavarContext_instantiateMVars___at_Lean_MetavarContext_instantiateMVars___spec__1(lean_object* x_1, lean_object* x_2) { +lean_object* l___private_Init_Lean_MetavarContext_7__instantiateDelayedAux___main___at_Lean_MetavarContext_InstantiateExprMVars_main___main___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___private_Init_Lean_MetavarContext_7__instantiateDelayedAux___main___at_Lean_MetavarContext_InstantiateExprMVars_main___main___spec__1(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_2); +return x_6; +} +} +lean_object* l_Lean_MetavarContext_InstantiateExprMVars_main(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_MetavarContext_InstantiateExprMVars_main___main(x_1, x_2); +return x_3; +} +} +lean_object* l_mkHashMap___at_Lean_MetavarContext_instantiateMVars___spec__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_mkHashMapImp___rarg(x_1); +return x_2; +} +} +lean_object* _init_l_Lean_MetavarContext_instantiateMVars___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* l_Lean_MetavarContext_instantiateMVars(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; -x_3 = lean_expr_has_expr_mvar(x_1); +x_3 = lean_expr_has_expr_mvar(x_2); if (x_3 == 0) { uint8_t x_4; -x_4 = lean_expr_has_level_mvar(x_1); +x_4 = lean_expr_has_level_mvar(x_2); if (x_4 == 0) { lean_object* x_5; x_5 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_5, 0, x_1); -lean_ctor_set(x_5, 1, x_2); +lean_ctor_set(x_5, 0, x_2); +lean_ctor_set(x_5, 1, x_1); return x_5; } else { lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; -x_6 = l_HashMap_Inhabited___closed__1; +x_6 = l_Lean_MetavarContext_instantiateMVars___closed__1; x_7 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_7, 0, x_2); +lean_ctor_set(x_7, 0, x_1); lean_ctor_set(x_7, 1, x_6); -x_8 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___at_Lean_MetavarContext_instantiateMVars___spec__2(x_1, x_7); +x_8 = l_Lean_MetavarContext_InstantiateExprMVars_main___main(x_2, x_7); x_9 = !lean_is_exclusive(x_8); if (x_9 == 0) { @@ -13197,11 +15624,11 @@ return x_15; else { lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; -x_16 = l_HashMap_Inhabited___closed__1; +x_16 = l_Lean_MetavarContext_instantiateMVars___closed__1; x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_2); +lean_ctor_set(x_17, 0, x_1); lean_ctor_set(x_17, 1, x_16); -x_18 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_main___main___at_Lean_MetavarContext_instantiateMVars___spec__2(x_1, x_17); +x_18 = l_Lean_MetavarContext_InstantiateExprMVars_main___main(x_2, x_17); x_19 = !lean_is_exclusive(x_18); if (x_19 == 0) { @@ -13232,34 +15659,3324 @@ return x_25; } } } -lean_object* l_Lean_MetavarContext_instantiateMVars(lean_object* x_1, lean_object* x_2) { +uint8_t l_AssocList_contains___main___at___private_Init_Lean_MetavarContext_10__visit___spec__2(lean_object* x_1, lean_object* x_2) { _start: { -lean_object* x_3; -x_3 = l_Lean_AbstractMetavarContext_instantiateMVars___at_Lean_MetavarContext_instantiateMVars___spec__1(x_2, x_1); +if (lean_obj_tag(x_2) == 0) +{ +uint8_t x_3; +x_3 = 0; +return x_3; +} +else +{ +lean_object* x_4; lean_object* x_5; uint8_t x_6; +x_4 = lean_ctor_get(x_2, 0); +x_5 = lean_ctor_get(x_2, 2); +x_6 = lean_expr_eqv(x_4, x_1); +if (x_6 == 0) +{ +x_2 = x_5; +goto _start; +} +else +{ +uint8_t x_8; +x_8 = 1; +return x_8; +} +} +} +} +uint8_t l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; size_t x_5; size_t x_6; lean_object* x_7; uint8_t x_8; +x_3 = lean_ctor_get(x_1, 1); +x_4 = lean_array_get_size(x_3); +x_5 = lean_expr_hash(x_2); +x_6 = lean_usize_modn(x_5, x_4); +lean_dec(x_4); +x_7 = lean_array_uget(x_3, x_6); +x_8 = l_AssocList_contains___main___at___private_Init_Lean_MetavarContext_10__visit___spec__2(x_2, x_7); +lean_dec(x_7); +return x_8; +} +} +lean_object* l_AssocList_foldlM___main___at___private_Init_Lean_MetavarContext_10__visit___spec__6(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +return x_1; +} +else +{ +uint8_t x_3; +x_3 = !lean_is_exclusive(x_2); +if (x_3 == 0) +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; size_t x_7; size_t x_8; lean_object* x_9; lean_object* x_10; +x_4 = lean_ctor_get(x_2, 0); +x_5 = lean_ctor_get(x_2, 2); +x_6 = lean_array_get_size(x_1); +x_7 = lean_expr_hash(x_4); +x_8 = lean_usize_modn(x_7, x_6); +lean_dec(x_6); +x_9 = lean_array_uget(x_1, x_8); +lean_ctor_set(x_2, 2, x_9); +x_10 = lean_array_uset(x_1, x_8, x_2); +x_1 = x_10; +x_2 = x_5; +goto _start; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; size_t x_16; size_t x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_12 = lean_ctor_get(x_2, 0); +x_13 = lean_ctor_get(x_2, 1); +x_14 = lean_ctor_get(x_2, 2); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_dec(x_2); +x_15 = lean_array_get_size(x_1); +x_16 = lean_expr_hash(x_12); +x_17 = lean_usize_modn(x_16, x_15); +lean_dec(x_15); +x_18 = lean_array_uget(x_1, x_17); +x_19 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_19, 0, x_12); +lean_ctor_set(x_19, 1, x_13); +lean_ctor_set(x_19, 2, x_18); +x_20 = lean_array_uset(x_1, x_17, x_19); +x_1 = x_20; +x_2 = x_14; +goto _start; +} +} +} +} +lean_object* l_HashMapImp_moveEntries___main___at___private_Init_Lean_MetavarContext_10__visit___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = lean_array_get_size(x_2); +x_5 = lean_nat_dec_lt(x_1, x_4); +lean_dec(x_4); +if (x_5 == 0) +{ +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +else +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_6 = lean_array_fget(x_2, x_1); +x_7 = lean_box(0); +x_8 = lean_array_fset(x_2, x_1, x_7); +x_9 = l_AssocList_foldlM___main___at___private_Init_Lean_MetavarContext_10__visit___spec__6(x_3, x_6); +x_10 = lean_unsigned_to_nat(1u); +x_11 = lean_nat_add(x_1, x_10); +lean_dec(x_1); +x_1 = x_11; +x_2 = x_8; +x_3 = x_9; +goto _start; +} +} +} +lean_object* l_HashMapImp_expand___at___private_Init_Lean_MetavarContext_10__visit___spec__4(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_3 = lean_array_get_size(x_2); +x_4 = lean_unsigned_to_nat(2u); +x_5 = lean_nat_mul(x_3, x_4); +lean_dec(x_3); +x_6 = lean_box(0); +x_7 = lean_mk_array(x_5, x_6); +x_8 = lean_unsigned_to_nat(0u); +x_9 = l_HashMapImp_moveEntries___main___at___private_Init_Lean_MetavarContext_10__visit___spec__5(x_8, x_2, x_7); +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_1); +lean_ctor_set(x_10, 1, x_9); +return x_10; +} +} +lean_object* l_AssocList_replace___main___at___private_Init_Lean_MetavarContext_10__visit___spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_3) == 0) +{ +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +else +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_3); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; +x_5 = lean_ctor_get(x_3, 0); +x_6 = lean_ctor_get(x_3, 1); +x_7 = lean_ctor_get(x_3, 2); +x_8 = lean_expr_eqv(x_5, x_1); +if (x_8 == 0) +{ +lean_object* x_9; +x_9 = l_AssocList_replace___main___at___private_Init_Lean_MetavarContext_10__visit___spec__7(x_1, x_2, x_7); +lean_ctor_set(x_3, 2, x_9); +return x_3; +} +else +{ +lean_dec(x_6); +lean_dec(x_5); +lean_ctor_set(x_3, 1, x_2); +lean_ctor_set(x_3, 0, x_1); return x_3; } } -lean_object* l_panicWithPos___at_Lean_MetavarContext_instantiateMVars___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_10 = lean_ctor_get(x_3, 0); +x_11 = lean_ctor_get(x_3, 1); +x_12 = lean_ctor_get(x_3, 2); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_dec(x_3); +x_13 = lean_expr_eqv(x_10, x_1); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; +x_14 = l_AssocList_replace___main___at___private_Init_Lean_MetavarContext_10__visit___spec__7(x_1, x_2, x_12); +x_15 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_15, 0, x_10); +lean_ctor_set(x_15, 1, x_11); +lean_ctor_set(x_15, 2, x_14); +return x_15; +} +else +{ +lean_object* x_16; +lean_dec(x_11); +lean_dec(x_10); +x_16 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_16, 0, x_1); +lean_ctor_set(x_16, 1, x_2); +lean_ctor_set(x_16, 2, x_12); +return x_16; +} +} +} +} +} +lean_object* l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_1); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; size_t x_8; size_t x_9; lean_object* x_10; uint8_t x_11; +x_5 = lean_ctor_get(x_1, 0); +x_6 = lean_ctor_get(x_1, 1); +x_7 = lean_array_get_size(x_6); +x_8 = lean_expr_hash(x_2); +x_9 = lean_usize_modn(x_8, x_7); +x_10 = lean_array_uget(x_6, x_9); +x_11 = l_AssocList_contains___main___at___private_Init_Lean_MetavarContext_10__visit___spec__2(x_2, x_10); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_12 = lean_unsigned_to_nat(1u); +x_13 = lean_nat_add(x_5, x_12); +lean_dec(x_5); +x_14 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_14, 0, x_2); +lean_ctor_set(x_14, 1, x_3); +lean_ctor_set(x_14, 2, x_10); +x_15 = lean_array_uset(x_6, x_9, x_14); +x_16 = lean_nat_dec_le(x_13, x_7); +lean_dec(x_7); +if (x_16 == 0) +{ +lean_object* x_17; +lean_free_object(x_1); +x_17 = l_HashMapImp_expand___at___private_Init_Lean_MetavarContext_10__visit___spec__4(x_13, x_15); +return x_17; +} +else +{ +lean_ctor_set(x_1, 1, x_15); +lean_ctor_set(x_1, 0, x_13); +return x_1; +} +} +else +{ +lean_object* x_18; lean_object* x_19; +lean_dec(x_7); +x_18 = l_AssocList_replace___main___at___private_Init_Lean_MetavarContext_10__visit___spec__7(x_2, x_3, x_10); +x_19 = lean_array_uset(x_6, x_9, x_18); +lean_ctor_set(x_1, 1, x_19); +return x_1; +} +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; size_t x_23; size_t x_24; lean_object* x_25; uint8_t x_26; +x_20 = lean_ctor_get(x_1, 0); +x_21 = lean_ctor_get(x_1, 1); +lean_inc(x_21); +lean_inc(x_20); +lean_dec(x_1); +x_22 = lean_array_get_size(x_21); +x_23 = lean_expr_hash(x_2); +x_24 = lean_usize_modn(x_23, x_22); +x_25 = lean_array_uget(x_21, x_24); +x_26 = l_AssocList_contains___main___at___private_Init_Lean_MetavarContext_10__visit___spec__2(x_2, x_25); +if (x_26 == 0) +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; +x_27 = lean_unsigned_to_nat(1u); +x_28 = lean_nat_add(x_20, x_27); +lean_dec(x_20); +x_29 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_29, 0, x_2); +lean_ctor_set(x_29, 1, x_3); +lean_ctor_set(x_29, 2, x_25); +x_30 = lean_array_uset(x_21, x_24, x_29); +x_31 = lean_nat_dec_le(x_28, x_22); +lean_dec(x_22); +if (x_31 == 0) +{ +lean_object* x_32; +x_32 = l_HashMapImp_expand___at___private_Init_Lean_MetavarContext_10__visit___spec__4(x_28, x_30); +return x_32; +} +else +{ +lean_object* x_33; +x_33 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_33, 0, x_28); +lean_ctor_set(x_33, 1, x_30); +return x_33; +} +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; +lean_dec(x_22); +x_34 = l_AssocList_replace___main___at___private_Init_Lean_MetavarContext_10__visit___spec__7(x_2, x_3, x_25); +x_35 = lean_array_uset(x_21, x_24, x_34); +x_36 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_36, 0, x_20); +lean_ctor_set(x_36, 1, x_35); +return x_36; +} +} +} +} +lean_object* l___private_Init_Lean_MetavarContext_10__visit(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_13; +x_13 = lean_expr_has_expr_mvar(x_2); +if (x_13 == 0) +{ +uint8_t x_14; +x_14 = lean_expr_has_level_mvar(x_2); +if (x_14 == 0) +{ +uint8_t x_15; +x_15 = lean_expr_has_fvar(x_2); +if (x_15 == 0) +{ +uint8_t x_16; lean_object* x_17; lean_object* x_18; +lean_dec(x_2); +lean_dec(x_1); +x_16 = 0; +x_17 = lean_box(x_16); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_3); +return x_18; +} +else +{ +lean_object* x_19; +x_19 = lean_box(0); +x_4 = x_19; +goto block_12; +} +} +else +{ +lean_object* x_20; +x_20 = lean_box(0); +x_4 = x_20; +goto block_12; +} +} +else +{ +lean_object* x_21; +x_21 = lean_box(0); +x_4 = x_21; +goto block_12; +} +block_12: +{ +uint8_t x_5; +lean_dec(x_4); +x_5 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_3, x_2); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_6 = lean_box(0); +lean_inc(x_2); +x_7 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_3, x_2, x_6); +x_8 = lean_apply_2(x_1, x_2, x_7); +return x_8; +} +else +{ +uint8_t x_9; lean_object* x_10; lean_object* x_11; +lean_dec(x_2); +lean_dec(x_1); +x_9 = 0; +x_10 = lean_box(x_9); +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_11, 1, x_3); +return x_11; +} +} +} +} +lean_object* l_AssocList_contains___main___at___private_Init_Lean_MetavarContext_10__visit___spec__2___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l_AssocList_contains___main___at___private_Init_Lean_MetavarContext_10__visit___spec__2(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +x_4 = lean_box(x_3); +return x_4; +} +} +lean_object* l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +x_4 = lean_box(x_3); +return x_4; +} +} +uint8_t l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_11__dep___main___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = lean_array_get_size(x_2); +x_5 = lean_nat_dec_lt(x_3, x_4); +lean_dec(x_4); +if (x_5 == 0) +{ +uint8_t x_6; +lean_dec(x_3); +lean_dec(x_1); +x_6 = 0; +return x_6; +} +else +{ +lean_object* x_7; uint8_t x_8; +x_7 = lean_array_fget(x_2, x_3); +lean_inc(x_1); +x_8 = l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_11__dep___main___spec__2(x_1, x_7); +lean_dec(x_7); +if (x_8 == 0) +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_unsigned_to_nat(1u); +x_10 = lean_nat_add(x_3, x_9); +lean_dec(x_3); +x_3 = x_10; +goto _start; +} +else +{ +lean_dec(x_3); +lean_dec(x_1); +return x_8; +} +} +} +} +uint8_t l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_11__dep___main___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = lean_array_get_size(x_2); +x_5 = lean_nat_dec_lt(x_3, x_4); +lean_dec(x_4); +if (x_5 == 0) +{ +uint8_t x_6; +lean_dec(x_3); +lean_dec(x_1); +x_6 = 0; +return x_6; +} +else +{ +lean_object* x_7; +x_7 = lean_array_fget(x_2, x_3); +if (lean_obj_tag(x_7) == 0) +{ +lean_object* x_8; lean_object* x_9; +x_8 = lean_unsigned_to_nat(1u); +x_9 = lean_nat_add(x_3, x_8); +lean_dec(x_3); +x_3 = x_9; +goto _start; +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_11 = lean_ctor_get(x_7, 0); +lean_inc(x_11); +lean_dec(x_7); +x_12 = l_Lean_LocalDecl_name(x_11); +lean_dec(x_11); +lean_inc(x_1); +x_13 = lean_apply_1(x_1, x_12); +x_14 = lean_unbox(x_13); +lean_dec(x_13); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; +x_15 = lean_unsigned_to_nat(1u); +x_16 = lean_nat_add(x_3, x_15); +lean_dec(x_3); +x_3 = x_16; +goto _start; +} +else +{ +lean_dec(x_3); +lean_dec(x_1); +return x_14; +} +} +} +} +} +uint8_t l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_11__dep___main___spec__2(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; lean_object* x_4; uint8_t x_5; +x_3 = lean_ctor_get(x_2, 0); +x_4 = lean_unsigned_to_nat(0u); +x_5 = l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_11__dep___main___spec__3(x_1, x_3, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; uint8_t x_8; +x_6 = lean_ctor_get(x_2, 0); +x_7 = lean_unsigned_to_nat(0u); +x_8 = l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_11__dep___main___spec__4(x_1, x_6, x_7); +return x_8; +} +} +} +uint8_t l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_11__dep___main___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = lean_array_get_size(x_2); +x_5 = lean_nat_dec_lt(x_3, x_4); +lean_dec(x_4); +if (x_5 == 0) +{ +uint8_t x_6; +lean_dec(x_3); +lean_dec(x_1); +x_6 = 0; +return x_6; +} +else +{ +lean_object* x_7; +x_7 = lean_array_fget(x_2, x_3); +if (lean_obj_tag(x_7) == 0) +{ +lean_object* x_8; lean_object* x_9; +x_8 = lean_unsigned_to_nat(1u); +x_9 = lean_nat_add(x_3, x_8); +lean_dec(x_3); +x_3 = x_9; +goto _start; +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_11 = lean_ctor_get(x_7, 0); +lean_inc(x_11); +lean_dec(x_7); +x_12 = l_Lean_LocalDecl_name(x_11); +lean_dec(x_11); +lean_inc(x_1); +x_13 = lean_apply_1(x_1, x_12); +x_14 = lean_unbox(x_13); +lean_dec(x_13); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; +x_15 = lean_unsigned_to_nat(1u); +x_16 = lean_nat_add(x_3, x_15); +lean_dec(x_3); +x_3 = x_16; +goto _start; +} +else +{ +lean_dec(x_3); +lean_dec(x_1); +return x_14; +} +} +} +} +} +uint8_t l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_11__dep___main___spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; uint8_t x_4; +x_3 = lean_ctor_get(x_2, 0); +lean_inc(x_1); +x_4 = l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_11__dep___main___spec__2(x_1, x_3); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; uint8_t x_7; +x_5 = lean_ctor_get(x_2, 1); +x_6 = lean_unsigned_to_nat(0u); +x_7 = l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_11__dep___main___spec__5(x_1, x_5, x_6); +return x_7; +} +else +{ +lean_dec(x_1); +return x_4; +} +} +} +lean_object* l___private_Init_Lean_MetavarContext_11__dep___main(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +switch (lean_obj_tag(x_3)) { +case 1: +{ +lean_object* x_5; lean_object* x_6; uint8_t x_7; lean_object* x_8; lean_object* x_9; +lean_dec(x_1); +x_5 = lean_ctor_get(x_3, 0); +lean_inc(x_5); +lean_dec(x_3); +x_6 = lean_apply_1(x_2, x_5); +x_7 = lean_unbox(x_6); +lean_dec(x_6); +x_8 = lean_box(x_7); +x_9 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_9, 0, x_8); +lean_ctor_set(x_9, 1, x_4); +return x_9; +} +case 2: +{ +lean_object* x_10; lean_object* x_11; +x_10 = lean_ctor_get(x_3, 0); +lean_inc(x_10); +lean_dec(x_3); +lean_inc(x_10); +lean_inc(x_1); +x_11 = lean_metavar_ctx_get_expr_assignment(x_1, x_10); +if (lean_obj_tag(x_11) == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16; lean_object* x_17; +x_12 = l_Lean_MetavarContext_getDecl(x_1, x_10); +lean_dec(x_10); +lean_dec(x_1); +x_13 = lean_ctor_get(x_12, 1); +lean_inc(x_13); +lean_dec(x_12); +x_14 = lean_ctor_get(x_13, 1); +lean_inc(x_14); +lean_dec(x_13); +x_15 = l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_11__dep___main___spec__1(x_2, x_14); +lean_dec(x_14); +x_16 = lean_box(x_15); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_4); +return x_17; +} +else +{ +lean_object* x_18; lean_object* x_19; uint8_t x_28; +lean_dec(x_10); +x_18 = lean_ctor_get(x_11, 0); +lean_inc(x_18); +lean_dec(x_11); +x_28 = lean_expr_has_expr_mvar(x_18); +if (x_28 == 0) +{ +uint8_t x_29; +x_29 = lean_expr_has_level_mvar(x_18); +if (x_29 == 0) +{ +uint8_t x_30; +x_30 = lean_expr_has_fvar(x_18); +if (x_30 == 0) +{ +uint8_t x_31; lean_object* x_32; lean_object* x_33; +lean_dec(x_18); +lean_dec(x_2); +lean_dec(x_1); +x_31 = 0; +x_32 = lean_box(x_31); +x_33 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_4); +return x_33; +} +else +{ +lean_object* x_34; +x_34 = lean_box(0); +x_19 = x_34; +goto block_27; +} +} +else +{ +lean_object* x_35; +x_35 = lean_box(0); +x_19 = x_35; +goto block_27; +} +} +else +{ +lean_object* x_36; +x_36 = lean_box(0); +x_19 = x_36; +goto block_27; +} +block_27: +{ +uint8_t x_20; +lean_dec(x_19); +x_20 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_4, x_18); +if (x_20 == 0) +{ +lean_object* x_21; lean_object* x_22; +x_21 = lean_box(0); +lean_inc(x_18); +x_22 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_4, x_18, x_21); +x_3 = x_18; +x_4 = x_22; +goto _start; +} +else +{ +uint8_t x_24; lean_object* x_25; lean_object* x_26; +lean_dec(x_18); +lean_dec(x_2); +lean_dec(x_1); +x_24 = 0; +x_25 = lean_box(x_24); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_4); +return x_26; +} +} +} +} +case 5: +{ +lean_object* x_37; lean_object* x_38; uint8_t x_39; lean_object* x_40; lean_object* x_64; uint8_t x_74; +x_37 = lean_ctor_get(x_3, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_3, 1); +lean_inc(x_38); +lean_dec(x_3); +x_74 = lean_expr_has_expr_mvar(x_38); +if (x_74 == 0) +{ +uint8_t x_75; +x_75 = lean_expr_has_level_mvar(x_38); +if (x_75 == 0) +{ +uint8_t x_76; +x_76 = lean_expr_has_fvar(x_38); +if (x_76 == 0) +{ +uint8_t x_77; +lean_dec(x_38); +x_77 = 0; +x_39 = x_77; +x_40 = x_4; +goto block_63; +} +else +{ +lean_object* x_78; +x_78 = lean_box(0); +x_64 = x_78; +goto block_73; +} +} +else +{ +lean_object* x_79; +x_79 = lean_box(0); +x_64 = x_79; +goto block_73; +} +} +else +{ +lean_object* x_80; +x_80 = lean_box(0); +x_64 = x_80; +goto block_73; +} +block_63: +{ +if (x_39 == 0) +{ +uint8_t x_41; +x_41 = l_Lean_Expr_isApp(x_37); +if (x_41 == 0) +{ +lean_object* x_42; uint8_t x_51; +x_51 = lean_expr_has_expr_mvar(x_37); +if (x_51 == 0) +{ +uint8_t x_52; +x_52 = lean_expr_has_level_mvar(x_37); +if (x_52 == 0) +{ +uint8_t x_53; +x_53 = lean_expr_has_fvar(x_37); +if (x_53 == 0) +{ +uint8_t x_54; lean_object* x_55; lean_object* x_56; +lean_dec(x_37); +lean_dec(x_2); +lean_dec(x_1); +x_54 = 0; +x_55 = lean_box(x_54); +x_56 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_56, 0, x_55); +lean_ctor_set(x_56, 1, x_40); +return x_56; +} +else +{ +lean_object* x_57; +x_57 = lean_box(0); +x_42 = x_57; +goto block_50; +} +} +else +{ +lean_object* x_58; +x_58 = lean_box(0); +x_42 = x_58; +goto block_50; +} +} +else +{ +lean_object* x_59; +x_59 = lean_box(0); +x_42 = x_59; +goto block_50; +} +block_50: +{ +uint8_t x_43; +lean_dec(x_42); +x_43 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_40, x_37); +if (x_43 == 0) +{ +lean_object* x_44; lean_object* x_45; +x_44 = lean_box(0); +lean_inc(x_37); +x_45 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_40, x_37, x_44); +x_3 = x_37; +x_4 = x_45; +goto _start; +} +else +{ +uint8_t x_47; lean_object* x_48; lean_object* x_49; +lean_dec(x_37); +lean_dec(x_2); +lean_dec(x_1); +x_47 = 0; +x_48 = lean_box(x_47); +x_49 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_49, 0, x_48); +lean_ctor_set(x_49, 1, x_40); +return x_49; +} +} +} +else +{ +x_3 = x_37; +x_4 = x_40; +goto _start; +} +} +else +{ +lean_object* x_61; lean_object* x_62; +lean_dec(x_37); +lean_dec(x_2); +lean_dec(x_1); +x_61 = lean_box(x_39); +x_62 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_62, 0, x_61); +lean_ctor_set(x_62, 1, x_40); +return x_62; +} +} +block_73: +{ +uint8_t x_65; +lean_dec(x_64); +x_65 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_4, x_38); +if (x_65 == 0) +{ +lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; uint8_t x_71; +x_66 = lean_box(0); +lean_inc(x_38); +x_67 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_4, x_38, x_66); +lean_inc(x_2); +lean_inc(x_1); +x_68 = l___private_Init_Lean_MetavarContext_11__dep___main(x_1, x_2, x_38, x_67); +x_69 = lean_ctor_get(x_68, 0); +lean_inc(x_69); +x_70 = lean_ctor_get(x_68, 1); +lean_inc(x_70); +lean_dec(x_68); +x_71 = lean_unbox(x_69); +lean_dec(x_69); +x_39 = x_71; +x_40 = x_70; +goto block_63; +} +else +{ +uint8_t x_72; +lean_dec(x_38); +x_72 = 0; +x_39 = x_72; +x_40 = x_4; +goto block_63; +} +} +} +case 6: +{ +lean_object* x_81; lean_object* x_82; uint8_t x_83; lean_object* x_84; lean_object* x_106; uint8_t x_116; +x_81 = lean_ctor_get(x_3, 1); +lean_inc(x_81); +x_82 = lean_ctor_get(x_3, 2); +lean_inc(x_82); +lean_dec(x_3); +x_116 = lean_expr_has_expr_mvar(x_81); +if (x_116 == 0) +{ +uint8_t x_117; +x_117 = lean_expr_has_level_mvar(x_81); +if (x_117 == 0) +{ +uint8_t x_118; +x_118 = lean_expr_has_fvar(x_81); +if (x_118 == 0) +{ +uint8_t x_119; +lean_dec(x_81); +x_119 = 0; +x_83 = x_119; +x_84 = x_4; +goto block_105; +} +else +{ +lean_object* x_120; +x_120 = lean_box(0); +x_106 = x_120; +goto block_115; +} +} +else +{ +lean_object* x_121; +x_121 = lean_box(0); +x_106 = x_121; +goto block_115; +} +} +else +{ +lean_object* x_122; +x_122 = lean_box(0); +x_106 = x_122; +goto block_115; +} +block_105: +{ +if (x_83 == 0) +{ +lean_object* x_85; uint8_t x_94; +x_94 = lean_expr_has_expr_mvar(x_82); +if (x_94 == 0) +{ +uint8_t x_95; +x_95 = lean_expr_has_level_mvar(x_82); +if (x_95 == 0) +{ +uint8_t x_96; +x_96 = lean_expr_has_fvar(x_82); +if (x_96 == 0) +{ +uint8_t x_97; lean_object* x_98; lean_object* x_99; +lean_dec(x_82); +lean_dec(x_2); +lean_dec(x_1); +x_97 = 0; +x_98 = lean_box(x_97); +x_99 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_99, 0, x_98); +lean_ctor_set(x_99, 1, x_84); +return x_99; +} +else +{ +lean_object* x_100; +x_100 = lean_box(0); +x_85 = x_100; +goto block_93; +} +} +else +{ +lean_object* x_101; +x_101 = lean_box(0); +x_85 = x_101; +goto block_93; +} +} +else +{ +lean_object* x_102; +x_102 = lean_box(0); +x_85 = x_102; +goto block_93; +} +block_93: +{ +uint8_t x_86; +lean_dec(x_85); +x_86 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_84, x_82); +if (x_86 == 0) +{ +lean_object* x_87; lean_object* x_88; +x_87 = lean_box(0); +lean_inc(x_82); +x_88 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_84, x_82, x_87); +x_3 = x_82; +x_4 = x_88; +goto _start; +} +else +{ +uint8_t x_90; lean_object* x_91; lean_object* x_92; +lean_dec(x_82); +lean_dec(x_2); +lean_dec(x_1); +x_90 = 0; +x_91 = lean_box(x_90); +x_92 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_92, 0, x_91); +lean_ctor_set(x_92, 1, x_84); +return x_92; +} +} +} +else +{ +lean_object* x_103; lean_object* x_104; +lean_dec(x_82); +lean_dec(x_2); +lean_dec(x_1); +x_103 = lean_box(x_83); +x_104 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_104, 0, x_103); +lean_ctor_set(x_104, 1, x_84); +return x_104; +} +} +block_115: +{ +uint8_t x_107; +lean_dec(x_106); +x_107 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_4, x_81); +if (x_107 == 0) +{ +lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; uint8_t x_113; +x_108 = lean_box(0); +lean_inc(x_81); +x_109 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_4, x_81, x_108); +lean_inc(x_2); +lean_inc(x_1); +x_110 = l___private_Init_Lean_MetavarContext_11__dep___main(x_1, x_2, x_81, x_109); +x_111 = lean_ctor_get(x_110, 0); +lean_inc(x_111); +x_112 = lean_ctor_get(x_110, 1); +lean_inc(x_112); +lean_dec(x_110); +x_113 = lean_unbox(x_111); +lean_dec(x_111); +x_83 = x_113; +x_84 = x_112; +goto block_105; +} +else +{ +uint8_t x_114; +lean_dec(x_81); +x_114 = 0; +x_83 = x_114; +x_84 = x_4; +goto block_105; +} +} +} +case 7: +{ +lean_object* x_123; lean_object* x_124; uint8_t x_125; lean_object* x_126; lean_object* x_148; uint8_t x_158; +x_123 = lean_ctor_get(x_3, 1); +lean_inc(x_123); +x_124 = lean_ctor_get(x_3, 2); +lean_inc(x_124); +lean_dec(x_3); +x_158 = lean_expr_has_expr_mvar(x_123); +if (x_158 == 0) +{ +uint8_t x_159; +x_159 = lean_expr_has_level_mvar(x_123); +if (x_159 == 0) +{ +uint8_t x_160; +x_160 = lean_expr_has_fvar(x_123); +if (x_160 == 0) +{ +uint8_t x_161; +lean_dec(x_123); +x_161 = 0; +x_125 = x_161; +x_126 = x_4; +goto block_147; +} +else +{ +lean_object* x_162; +x_162 = lean_box(0); +x_148 = x_162; +goto block_157; +} +} +else +{ +lean_object* x_163; +x_163 = lean_box(0); +x_148 = x_163; +goto block_157; +} +} +else +{ +lean_object* x_164; +x_164 = lean_box(0); +x_148 = x_164; +goto block_157; +} +block_147: +{ +if (x_125 == 0) +{ +lean_object* x_127; uint8_t x_136; +x_136 = lean_expr_has_expr_mvar(x_124); +if (x_136 == 0) +{ +uint8_t x_137; +x_137 = lean_expr_has_level_mvar(x_124); +if (x_137 == 0) +{ +uint8_t x_138; +x_138 = lean_expr_has_fvar(x_124); +if (x_138 == 0) +{ +uint8_t x_139; lean_object* x_140; lean_object* x_141; +lean_dec(x_124); +lean_dec(x_2); +lean_dec(x_1); +x_139 = 0; +x_140 = lean_box(x_139); +x_141 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_141, 0, x_140); +lean_ctor_set(x_141, 1, x_126); +return x_141; +} +else +{ +lean_object* x_142; +x_142 = lean_box(0); +x_127 = x_142; +goto block_135; +} +} +else +{ +lean_object* x_143; +x_143 = lean_box(0); +x_127 = x_143; +goto block_135; +} +} +else +{ +lean_object* x_144; +x_144 = lean_box(0); +x_127 = x_144; +goto block_135; +} +block_135: +{ +uint8_t x_128; +lean_dec(x_127); +x_128 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_126, x_124); +if (x_128 == 0) +{ +lean_object* x_129; lean_object* x_130; +x_129 = lean_box(0); +lean_inc(x_124); +x_130 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_126, x_124, x_129); +x_3 = x_124; +x_4 = x_130; +goto _start; +} +else +{ +uint8_t x_132; lean_object* x_133; lean_object* x_134; +lean_dec(x_124); +lean_dec(x_2); +lean_dec(x_1); +x_132 = 0; +x_133 = lean_box(x_132); +x_134 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_134, 0, x_133); +lean_ctor_set(x_134, 1, x_126); +return x_134; +} +} +} +else +{ +lean_object* x_145; lean_object* x_146; +lean_dec(x_124); +lean_dec(x_2); +lean_dec(x_1); +x_145 = lean_box(x_125); +x_146 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_146, 0, x_145); +lean_ctor_set(x_146, 1, x_126); +return x_146; +} +} +block_157: +{ +uint8_t x_149; +lean_dec(x_148); +x_149 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_4, x_123); +if (x_149 == 0) +{ +lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; uint8_t x_155; +x_150 = lean_box(0); +lean_inc(x_123); +x_151 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_4, x_123, x_150); +lean_inc(x_2); +lean_inc(x_1); +x_152 = l___private_Init_Lean_MetavarContext_11__dep___main(x_1, x_2, x_123, x_151); +x_153 = lean_ctor_get(x_152, 0); +lean_inc(x_153); +x_154 = lean_ctor_get(x_152, 1); +lean_inc(x_154); +lean_dec(x_152); +x_155 = lean_unbox(x_153); +lean_dec(x_153); +x_125 = x_155; +x_126 = x_154; +goto block_147; +} +else +{ +uint8_t x_156; +lean_dec(x_123); +x_156 = 0; +x_125 = x_156; +x_126 = x_4; +goto block_147; +} +} +} +case 8: +{ +lean_object* x_165; lean_object* x_166; lean_object* x_167; uint8_t x_168; lean_object* x_169; uint8_t x_191; lean_object* x_192; lean_object* x_211; uint8_t x_221; +x_165 = lean_ctor_get(x_3, 1); +lean_inc(x_165); +x_166 = lean_ctor_get(x_3, 2); +lean_inc(x_166); +x_167 = lean_ctor_get(x_3, 3); +lean_inc(x_167); +lean_dec(x_3); +x_221 = lean_expr_has_expr_mvar(x_165); +if (x_221 == 0) +{ +uint8_t x_222; +x_222 = lean_expr_has_level_mvar(x_165); +if (x_222 == 0) +{ +uint8_t x_223; +x_223 = lean_expr_has_fvar(x_165); +if (x_223 == 0) +{ +uint8_t x_224; +lean_dec(x_165); +x_224 = 0; +x_191 = x_224; +x_192 = x_4; +goto block_210; +} +else +{ +lean_object* x_225; +x_225 = lean_box(0); +x_211 = x_225; +goto block_220; +} +} +else +{ +lean_object* x_226; +x_226 = lean_box(0); +x_211 = x_226; +goto block_220; +} +} +else +{ +lean_object* x_227; +x_227 = lean_box(0); +x_211 = x_227; +goto block_220; +} +block_190: +{ +if (x_168 == 0) +{ +lean_object* x_170; uint8_t x_179; +x_179 = lean_expr_has_expr_mvar(x_167); +if (x_179 == 0) +{ +uint8_t x_180; +x_180 = lean_expr_has_level_mvar(x_167); +if (x_180 == 0) +{ +uint8_t x_181; +x_181 = lean_expr_has_fvar(x_167); +if (x_181 == 0) +{ +uint8_t x_182; lean_object* x_183; lean_object* x_184; +lean_dec(x_167); +lean_dec(x_2); +lean_dec(x_1); +x_182 = 0; +x_183 = lean_box(x_182); +x_184 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_184, 0, x_183); +lean_ctor_set(x_184, 1, x_169); +return x_184; +} +else +{ +lean_object* x_185; +x_185 = lean_box(0); +x_170 = x_185; +goto block_178; +} +} +else +{ +lean_object* x_186; +x_186 = lean_box(0); +x_170 = x_186; +goto block_178; +} +} +else +{ +lean_object* x_187; +x_187 = lean_box(0); +x_170 = x_187; +goto block_178; +} +block_178: +{ +uint8_t x_171; +lean_dec(x_170); +x_171 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_169, x_167); +if (x_171 == 0) +{ +lean_object* x_172; lean_object* x_173; +x_172 = lean_box(0); +lean_inc(x_167); +x_173 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_169, x_167, x_172); +x_3 = x_167; +x_4 = x_173; +goto _start; +} +else +{ +uint8_t x_175; lean_object* x_176; lean_object* x_177; +lean_dec(x_167); +lean_dec(x_2); +lean_dec(x_1); +x_175 = 0; +x_176 = lean_box(x_175); +x_177 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_177, 0, x_176); +lean_ctor_set(x_177, 1, x_169); +return x_177; +} +} +} +else +{ +lean_object* x_188; lean_object* x_189; +lean_dec(x_167); +lean_dec(x_2); +lean_dec(x_1); +x_188 = lean_box(x_168); +x_189 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_189, 0, x_188); +lean_ctor_set(x_189, 1, x_169); +return x_189; +} +} +block_210: +{ +lean_object* x_193; +if (x_191 == 0) +{ +uint8_t x_203; +x_203 = lean_expr_has_expr_mvar(x_166); +if (x_203 == 0) +{ +uint8_t x_204; +x_204 = lean_expr_has_level_mvar(x_166); +if (x_204 == 0) +{ +uint8_t x_205; +x_205 = lean_expr_has_fvar(x_166); +if (x_205 == 0) +{ +uint8_t x_206; +lean_dec(x_166); +x_206 = 0; +x_168 = x_206; +x_169 = x_192; +goto block_190; +} +else +{ +lean_object* x_207; +x_207 = lean_box(0); +x_193 = x_207; +goto block_202; +} +} +else +{ +lean_object* x_208; +x_208 = lean_box(0); +x_193 = x_208; +goto block_202; +} +} +else +{ +lean_object* x_209; +x_209 = lean_box(0); +x_193 = x_209; +goto block_202; +} +} +else +{ +lean_dec(x_166); +x_168 = x_191; +x_169 = x_192; +goto block_190; +} +block_202: +{ +uint8_t x_194; +lean_dec(x_193); +x_194 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_192, x_166); +if (x_194 == 0) +{ +lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; uint8_t x_200; +x_195 = lean_box(0); +lean_inc(x_166); +x_196 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_192, x_166, x_195); +lean_inc(x_2); +lean_inc(x_1); +x_197 = l___private_Init_Lean_MetavarContext_11__dep___main(x_1, x_2, x_166, x_196); +x_198 = lean_ctor_get(x_197, 0); +lean_inc(x_198); +x_199 = lean_ctor_get(x_197, 1); +lean_inc(x_199); +lean_dec(x_197); +x_200 = lean_unbox(x_198); +lean_dec(x_198); +x_168 = x_200; +x_169 = x_199; +goto block_190; +} +else +{ +uint8_t x_201; +lean_dec(x_166); +x_201 = 0; +x_168 = x_201; +x_169 = x_192; +goto block_190; +} +} +} +block_220: +{ +uint8_t x_212; +lean_dec(x_211); +x_212 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_4, x_165); +if (x_212 == 0) +{ +lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; uint8_t x_218; +x_213 = lean_box(0); +lean_inc(x_165); +x_214 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_4, x_165, x_213); +lean_inc(x_2); +lean_inc(x_1); +x_215 = l___private_Init_Lean_MetavarContext_11__dep___main(x_1, x_2, x_165, x_214); +x_216 = lean_ctor_get(x_215, 0); +lean_inc(x_216); +x_217 = lean_ctor_get(x_215, 1); +lean_inc(x_217); +lean_dec(x_215); +x_218 = lean_unbox(x_216); +lean_dec(x_216); +x_191 = x_218; +x_192 = x_217; +goto block_210; +} +else +{ +uint8_t x_219; +lean_dec(x_165); +x_219 = 0; +x_191 = x_219; +x_192 = x_4; +goto block_210; +} +} +} +case 10: +{ +lean_object* x_228; lean_object* x_229; uint8_t x_238; +x_228 = lean_ctor_get(x_3, 1); +lean_inc(x_228); +lean_dec(x_3); +x_238 = lean_expr_has_expr_mvar(x_228); +if (x_238 == 0) +{ +uint8_t x_239; +x_239 = lean_expr_has_level_mvar(x_228); +if (x_239 == 0) +{ +uint8_t x_240; +x_240 = lean_expr_has_fvar(x_228); +if (x_240 == 0) +{ +uint8_t x_241; lean_object* x_242; lean_object* x_243; +lean_dec(x_228); +lean_dec(x_2); +lean_dec(x_1); +x_241 = 0; +x_242 = lean_box(x_241); +x_243 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_243, 0, x_242); +lean_ctor_set(x_243, 1, x_4); +return x_243; +} +else +{ +lean_object* x_244; +x_244 = lean_box(0); +x_229 = x_244; +goto block_237; +} +} +else +{ +lean_object* x_245; +x_245 = lean_box(0); +x_229 = x_245; +goto block_237; +} +} +else +{ +lean_object* x_246; +x_246 = lean_box(0); +x_229 = x_246; +goto block_237; +} +block_237: +{ +uint8_t x_230; +lean_dec(x_229); +x_230 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_4, x_228); +if (x_230 == 0) +{ +lean_object* x_231; lean_object* x_232; +x_231 = lean_box(0); +lean_inc(x_228); +x_232 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_4, x_228, x_231); +x_3 = x_228; +x_4 = x_232; +goto _start; +} +else +{ +uint8_t x_234; lean_object* x_235; lean_object* x_236; +lean_dec(x_228); +lean_dec(x_2); +lean_dec(x_1); +x_234 = 0; +x_235 = lean_box(x_234); +x_236 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_236, 0, x_235); +lean_ctor_set(x_236, 1, x_4); +return x_236; +} +} +} +case 11: +{ +lean_object* x_247; lean_object* x_248; uint8_t x_257; +x_247 = lean_ctor_get(x_3, 2); +lean_inc(x_247); +lean_dec(x_3); +x_257 = lean_expr_has_expr_mvar(x_247); +if (x_257 == 0) +{ +uint8_t x_258; +x_258 = lean_expr_has_level_mvar(x_247); +if (x_258 == 0) +{ +uint8_t x_259; +x_259 = lean_expr_has_fvar(x_247); +if (x_259 == 0) +{ +uint8_t x_260; lean_object* x_261; lean_object* x_262; +lean_dec(x_247); +lean_dec(x_2); +lean_dec(x_1); +x_260 = 0; +x_261 = lean_box(x_260); +x_262 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_262, 0, x_261); +lean_ctor_set(x_262, 1, x_4); +return x_262; +} +else +{ +lean_object* x_263; +x_263 = lean_box(0); +x_248 = x_263; +goto block_256; +} +} +else +{ +lean_object* x_264; +x_264 = lean_box(0); +x_248 = x_264; +goto block_256; +} +} +else +{ +lean_object* x_265; +x_265 = lean_box(0); +x_248 = x_265; +goto block_256; +} +block_256: +{ +uint8_t x_249; +lean_dec(x_248); +x_249 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_4, x_247); +if (x_249 == 0) +{ +lean_object* x_250; lean_object* x_251; +x_250 = lean_box(0); +lean_inc(x_247); +x_251 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_4, x_247, x_250); +x_3 = x_247; +x_4 = x_251; +goto _start; +} +else +{ +uint8_t x_253; lean_object* x_254; lean_object* x_255; +lean_dec(x_247); +lean_dec(x_2); +lean_dec(x_1); +x_253 = 0; +x_254 = lean_box(x_253); +x_255 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_255, 0, x_254); +lean_ctor_set(x_255, 1, x_4); +return x_255; +} +} +} +default: +{ +uint8_t x_266; lean_object* x_267; lean_object* x_268; +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_266 = 0; +x_267 = lean_box(x_266); +x_268 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_268, 0, x_267); +lean_ctor_set(x_268, 1, x_4); +return x_268; +} +} +} +} +lean_object* l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_11__dep___main___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; lean_object* x_5; +x_4 = l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_11__dep___main___spec__3(x_1, x_2, x_3); +lean_dec(x_2); +x_5 = lean_box(x_4); +return x_5; +} +} +lean_object* l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_11__dep___main___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; lean_object* x_5; +x_4 = l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_11__dep___main___spec__4(x_1, x_2, x_3); +lean_dec(x_2); +x_5 = lean_box(x_4); +return x_5; +} +} +lean_object* l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_11__dep___main___spec__2___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_11__dep___main___spec__2(x_1, x_2); +lean_dec(x_2); +x_4 = lean_box(x_3); +return x_4; +} +} +lean_object* l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_11__dep___main___spec__5___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___private_Init_Lean_MetavarContext_11__dep___main___spec__5(x_1, x_2, x_3); +lean_dec(x_2); +x_5 = lean_box(x_4); +return x_5; +} +} +lean_object* l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_11__dep___main___spec__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_11__dep___main___spec__1(x_1, x_2); +lean_dec(x_2); +x_4 = lean_box(x_3); +return x_4; +} +} +lean_object* l___private_Init_Lean_MetavarContext_11__dep(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l___private_Init_Lean_MetavarContext_11__dep___main(x_1, x_2, x_3, x_4); +return x_5; +} +} +lean_object* l_Lean_MetavarContext_DependsOn_main(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; +x_5 = lean_expr_has_fvar(x_3); +if (x_5 == 0) +{ +uint8_t x_6; +x_6 = lean_expr_has_expr_mvar(x_3); +if (x_6 == 0) +{ +uint8_t x_7; +x_7 = lean_expr_has_level_mvar(x_3); +if (x_7 == 0) +{ +uint8_t x_8; lean_object* x_9; lean_object* x_10; +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_8 = 0; +x_9 = lean_box(x_8); +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_9); +lean_ctor_set(x_10, 1, x_4); +return x_10; +} +else +{ +lean_object* x_11; +x_11 = l___private_Init_Lean_MetavarContext_11__dep___main(x_1, x_2, x_3, x_4); +return x_11; +} +} +else +{ +lean_object* x_12; +x_12 = l___private_Init_Lean_MetavarContext_11__dep___main(x_1, x_2, x_3, x_4); +return x_12; +} +} +else +{ +lean_object* x_13; +x_13 = l___private_Init_Lean_MetavarContext_11__dep___main(x_1, x_2, x_3, x_4); +return x_13; +} +} +} +lean_object* l_mkHashMap___at_Lean_MetavarContext_exprDependsOn___spec__2(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_mkHashMapImp___rarg(x_1); +return x_2; +} +} +lean_object* l_mkHashSet___at_Lean_MetavarContext_exprDependsOn___spec__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_mkHashMapImp___rarg(x_1); +return x_2; +} +} +lean_object* _init_l_Lean_MetavarContext_exprDependsOn___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* l_Lean_MetavarContext_exprDependsOn(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = lean_expr_has_fvar(x_3); +if (x_4 == 0) +{ +uint8_t x_5; +x_5 = lean_expr_has_expr_mvar(x_3); +if (x_5 == 0) +{ +uint8_t x_6; +x_6 = lean_expr_has_level_mvar(x_3); +if (x_6 == 0) +{ +uint8_t x_7; lean_object* x_8; +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_7 = 0; +x_8 = lean_box(x_7); +return x_8; +} +else +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_9 = l_Lean_MetavarContext_exprDependsOn___closed__1; +x_10 = l___private_Init_Lean_MetavarContext_11__dep___main(x_1, x_2, x_3, x_9); +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +lean_dec(x_10); +return x_11; +} +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = l_Lean_MetavarContext_exprDependsOn___closed__1; +x_13 = l___private_Init_Lean_MetavarContext_11__dep___main(x_1, x_2, x_3, x_12); +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +lean_dec(x_13); +return x_14; +} +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = l_Lean_MetavarContext_exprDependsOn___closed__1; +x_16 = l___private_Init_Lean_MetavarContext_11__dep___main(x_1, x_2, x_3, x_15); +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +lean_dec(x_16); +return x_17; +} +} +} +lean_object* l_Lean_MetavarContext_localDeclDependsOn(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_4; uint8_t x_5; +x_4 = lean_ctor_get(x_3, 3); +lean_inc(x_4); +lean_dec(x_3); +x_5 = lean_expr_has_fvar(x_4); +if (x_5 == 0) +{ +uint8_t x_6; +x_6 = lean_expr_has_expr_mvar(x_4); +if (x_6 == 0) +{ +uint8_t x_7; +x_7 = lean_expr_has_level_mvar(x_4); +if (x_7 == 0) +{ +uint8_t x_8; lean_object* x_9; +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_8 = 0; +x_9 = lean_box(x_8); +return x_9; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_10 = l_HashMap_Inhabited___closed__1; +x_11 = l___private_Init_Lean_MetavarContext_11__dep___main(x_1, x_2, x_4, x_10); +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +lean_dec(x_11); +return x_12; +} +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = l_HashMap_Inhabited___closed__1; +x_14 = l___private_Init_Lean_MetavarContext_11__dep___main(x_1, x_2, x_4, x_13); +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +lean_dec(x_14); +return x_15; +} +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_16 = l_HashMap_Inhabited___closed__1; +x_17 = l___private_Init_Lean_MetavarContext_11__dep___main(x_1, x_2, x_4, x_16); +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +lean_dec(x_17); +return x_18; +} +} +else +{ +lean_object* x_19; lean_object* x_20; uint8_t x_21; lean_object* x_22; uint8_t x_36; +x_19 = lean_ctor_get(x_3, 3); +lean_inc(x_19); +x_20 = lean_ctor_get(x_3, 4); +lean_inc(x_20); +lean_dec(x_3); +x_36 = lean_expr_has_fvar(x_19); +if (x_36 == 0) +{ +uint8_t x_37; +x_37 = lean_expr_has_expr_mvar(x_19); +if (x_37 == 0) +{ +uint8_t x_38; +x_38 = lean_expr_has_level_mvar(x_19); +if (x_38 == 0) +{ +uint8_t x_39; lean_object* x_40; +lean_dec(x_19); +x_39 = 0; +x_40 = l_HashMap_Inhabited___closed__1; +x_21 = x_39; +x_22 = x_40; +goto block_35; +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_45; +x_41 = l_HashMap_Inhabited___closed__1; +lean_inc(x_2); +lean_inc(x_1); +x_42 = l___private_Init_Lean_MetavarContext_11__dep___main(x_1, x_2, x_19, x_41); +x_43 = lean_ctor_get(x_42, 0); +lean_inc(x_43); +x_44 = lean_ctor_get(x_42, 1); +lean_inc(x_44); +lean_dec(x_42); +x_45 = lean_unbox(x_43); +lean_dec(x_43); +x_21 = x_45; +x_22 = x_44; +goto block_35; +} +} +else +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; +x_46 = l_HashMap_Inhabited___closed__1; +lean_inc(x_2); +lean_inc(x_1); +x_47 = l___private_Init_Lean_MetavarContext_11__dep___main(x_1, x_2, x_19, x_46); +x_48 = lean_ctor_get(x_47, 0); +lean_inc(x_48); +x_49 = lean_ctor_get(x_47, 1); +lean_inc(x_49); +lean_dec(x_47); +x_50 = lean_unbox(x_48); +lean_dec(x_48); +x_21 = x_50; +x_22 = x_49; +goto block_35; +} +} +else +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; uint8_t x_55; +x_51 = l_HashMap_Inhabited___closed__1; +lean_inc(x_2); +lean_inc(x_1); +x_52 = l___private_Init_Lean_MetavarContext_11__dep___main(x_1, x_2, x_19, x_51); +x_53 = lean_ctor_get(x_52, 0); +lean_inc(x_53); +x_54 = lean_ctor_get(x_52, 1); +lean_inc(x_54); +lean_dec(x_52); +x_55 = lean_unbox(x_53); +lean_dec(x_53); +x_21 = x_55; +x_22 = x_54; +goto block_35; +} +block_35: +{ +if (x_21 == 0) +{ +uint8_t x_23; +x_23 = lean_expr_has_fvar(x_20); +if (x_23 == 0) +{ +uint8_t x_24; +x_24 = lean_expr_has_expr_mvar(x_20); +if (x_24 == 0) +{ +uint8_t x_25; +x_25 = lean_expr_has_level_mvar(x_20); +if (x_25 == 0) +{ +uint8_t x_26; lean_object* x_27; +lean_dec(x_22); +lean_dec(x_20); +lean_dec(x_2); +lean_dec(x_1); +x_26 = 0; +x_27 = lean_box(x_26); +return x_27; +} +else +{ +lean_object* x_28; lean_object* x_29; +x_28 = l___private_Init_Lean_MetavarContext_11__dep___main(x_1, x_2, x_20, x_22); +x_29 = lean_ctor_get(x_28, 0); +lean_inc(x_29); +lean_dec(x_28); +return x_29; +} +} +else +{ +lean_object* x_30; lean_object* x_31; +x_30 = l___private_Init_Lean_MetavarContext_11__dep___main(x_1, x_2, x_20, x_22); +x_31 = lean_ctor_get(x_30, 0); +lean_inc(x_31); +lean_dec(x_30); +return x_31; +} +} +else +{ +lean_object* x_32; lean_object* x_33; +x_32 = l___private_Init_Lean_MetavarContext_11__dep___main(x_1, x_2, x_20, x_22); +x_33 = lean_ctor_get(x_32, 0); +lean_inc(x_33); +lean_dec(x_32); +return x_33; +} +} +else +{ +lean_object* x_34; +lean_dec(x_22); +lean_dec(x_20); +lean_dec(x_2); +lean_dec(x_1); +x_34 = lean_box(x_21); +return x_34; +} +} +} +} +} +lean_object* l_panicWithPos___at_Lean_MetavarContext_MkBindingException_toStr___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_5 = l_panicWithPos___rarg___closed__1; +x_6 = lean_string_append(x_5, x_1); +x_7 = l_panicWithPos___rarg___closed__2; +x_8 = lean_string_append(x_6, x_7); +x_9 = l_Nat_repr(x_2); +x_10 = lean_string_append(x_8, x_9); +lean_dec(x_9); +x_11 = l_panicWithPos___rarg___closed__2; +x_12 = lean_string_append(x_10, x_11); +x_13 = l_Nat_repr(x_3); +x_14 = lean_string_append(x_12, x_13); +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_LocalDecl_Inhabited; +x_19 = lean_panic_fn(x_17); +return x_19; +} +} +lean_object* l_Array_umapMAux___main___at_Lean_MetavarContext_MkBindingException_toStr___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = lean_array_get_size(x_3); +x_5 = lean_nat_dec_lt(x_2, x_4); +lean_dec(x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_2); +lean_dec(x_1); +x_6 = l_Array_empty___closed__1; +x_7 = 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; lean_object* x_14; +x_8 = lean_array_fget(x_3, x_2); +x_9 = lean_box(0); +lean_inc(x_8); +x_10 = x_9; +x_11 = lean_array_fset(x_3, x_2, x_10); +lean_inc(x_1); +x_12 = l_Lean_LocalContext_findFVar(x_1, x_8); +x_13 = lean_unsigned_to_nat(1u); +x_14 = lean_nat_add(x_2, x_13); +if (lean_obj_tag(x_12) == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_15 = l_Option_get_x21___rarg___closed__1; +x_16 = lean_unsigned_to_nat(16u); +x_17 = lean_unsigned_to_nat(12u); +x_18 = l_Option_get_x21___rarg___closed__2; +x_19 = l_panicWithPos___at_Lean_MetavarContext_MkBindingException_toStr___spec__1(x_15, x_16, x_17, x_18); +x_20 = l_Lean_LocalDecl_userName(x_19); +lean_dec(x_19); +x_21 = l_System_FilePath_dirName___closed__1; +x_22 = l_Lean_Name_toStringWithSep___main(x_21, x_20); +x_23 = l_Char_HasRepr___closed__1; +x_24 = lean_string_append(x_23, x_22); +lean_dec(x_22); +x_25 = lean_string_append(x_24, x_23); +x_26 = x_25; +x_27 = lean_array_fset(x_11, x_2, x_26); +lean_dec(x_2); +x_2 = x_14; +x_3 = x_27; +goto _start; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_29 = lean_ctor_get(x_12, 0); +lean_inc(x_29); +lean_dec(x_12); +x_30 = l_Lean_LocalDecl_userName(x_29); +lean_dec(x_29); +x_31 = l_System_FilePath_dirName___closed__1; +x_32 = l_Lean_Name_toStringWithSep___main(x_31, x_30); +x_33 = l_Char_HasRepr___closed__1; +x_34 = lean_string_append(x_33, x_32); +lean_dec(x_32); +x_35 = lean_string_append(x_34, x_33); +x_36 = x_35; +x_37 = lean_array_fset(x_11, x_2, x_36); +lean_dec(x_2); +x_2 = x_14; +x_3 = x_37; +goto _start; +} +} +} +} +lean_object* l_List_toStringAux___main___at_Lean_MetavarContext_MkBindingException_toStr___spec__4(uint8_t x_1, lean_object* x_2) { +_start: +{ +if (x_1 == 0) +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; +x_3 = l_String_splitAux___main___closed__1; +return x_3; +} +else +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_4 = lean_ctor_get(x_2, 0); +lean_inc(x_4); +x_5 = lean_ctor_get(x_2, 1); +lean_inc(x_5); +lean_dec(x_2); +x_6 = l_List_reprAux___main___rarg___closed__1; +x_7 = lean_string_append(x_6, x_4); +lean_dec(x_4); +x_8 = l_List_toStringAux___main___at_Lean_MetavarContext_MkBindingException_toStr___spec__4(x_1, x_5); +x_9 = lean_string_append(x_7, x_8); +lean_dec(x_8); +return x_9; +} +} +else +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_10; +x_10 = l_String_splitAux___main___closed__1; +return x_10; +} +else +{ +lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; lean_object* x_15; +x_11 = lean_ctor_get(x_2, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_2, 1); +lean_inc(x_12); +lean_dec(x_2); +x_13 = 0; +x_14 = l_List_toStringAux___main___at_Lean_MetavarContext_MkBindingException_toStr___spec__4(x_13, x_12); +x_15 = lean_string_append(x_11, x_14); +lean_dec(x_14); +return x_15; +} +} +} +} +lean_object* l_List_toString___at_Lean_MetavarContext_MkBindingException_toStr___spec__3(lean_object* x_1) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_2; +x_2 = l_List_repr___rarg___closed__1; +return x_2; +} +else +{ +uint8_t x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_3 = 1; +x_4 = l_List_toStringAux___main___at_Lean_MetavarContext_MkBindingException_toStr___spec__4(x_3, x_1); +x_5 = l_List_repr___rarg___closed__2; +x_6 = lean_string_append(x_5, x_4); +lean_dec(x_4); +x_7 = l_List_repr___rarg___closed__3; +x_8 = lean_string_append(x_6, x_7); +return x_8; +} +} +} +lean_object* _init_l_Lean_MetavarContext_MkBindingException_toStr___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("failed to revert "); +return x_1; +} +} +lean_object* _init_l_Lean_MetavarContext_MkBindingException_toStr___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(", '"); +return x_1; +} +} +lean_object* _init_l_Lean_MetavarContext_MkBindingException_toStr___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("' depends on them, and it is an auxiliary declaration created by the elaborator"); +return x_1; +} +} +lean_object* _init_l_Lean_MetavarContext_MkBindingException_toStr___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(" (possible solution: use tactic 'clear' to remove '"); +return x_1; +} +} +lean_object* _init_l_Lean_MetavarContext_MkBindingException_toStr___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("' from local context)"); +return x_1; +} +} +lean_object* _init_l_Lean_MetavarContext_MkBindingException_toStr___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("failed to create binding due to read only metavariable "); +return x_1; +} +} +lean_object* _init_l_Lean_MetavarContext_MkBindingException_toStr___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("auxiliary metavariables are not supported"); +return x_1; +} +} +lean_object* l_Lean_MetavarContext_MkBindingException_toStr(lean_object* x_1) { +_start: +{ +switch (lean_obj_tag(x_1)) { +case 0: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = lean_ctor_get(x_1, 1); +lean_inc(x_3); +x_4 = lean_ctor_get(x_1, 2); +lean_inc(x_4); +lean_dec(x_1); +x_5 = lean_unsigned_to_nat(0u); +x_6 = l_Array_umapMAux___main___at_Lean_MetavarContext_MkBindingException_toStr___spec__2(x_2, x_5, x_3); +x_7 = l_Array_toList___rarg(x_6); +lean_dec(x_6); +x_8 = l_List_toString___at_Lean_MetavarContext_MkBindingException_toStr___spec__3(x_7); +x_9 = l_Array_HasRepr___rarg___closed__1; +x_10 = lean_string_append(x_9, x_8); +lean_dec(x_8); +x_11 = l_Lean_MetavarContext_MkBindingException_toStr___closed__1; +x_12 = lean_string_append(x_11, x_10); +lean_dec(x_10); +x_13 = l_Lean_MetavarContext_MkBindingException_toStr___closed__2; +x_14 = lean_string_append(x_12, x_13); +x_15 = l_Lean_LocalDecl_userName(x_4); +lean_dec(x_4); +x_16 = l_System_FilePath_dirName___closed__1; +x_17 = l_Lean_Name_toStringWithSep___main(x_16, x_15); +x_18 = lean_string_append(x_14, x_17); +x_19 = l_Lean_MetavarContext_MkBindingException_toStr___closed__3; +x_20 = lean_string_append(x_18, x_19); +x_21 = l_Lean_MetavarContext_MkBindingException_toStr___closed__4; +x_22 = lean_string_append(x_20, x_21); +x_23 = lean_string_append(x_22, x_17); +lean_dec(x_17); +x_24 = l_Lean_MetavarContext_MkBindingException_toStr___closed__5; +x_25 = lean_string_append(x_23, x_24); +return x_25; +} +case 1: +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_26 = lean_ctor_get(x_1, 0); +lean_inc(x_26); +lean_dec(x_1); +x_27 = l_System_FilePath_dirName___closed__1; +x_28 = l_Lean_Name_toStringWithSep___main(x_27, x_26); +x_29 = l_Lean_MetavarContext_MkBindingException_toStr___closed__6; +x_30 = lean_string_append(x_29, x_28); +lean_dec(x_28); +return x_30; +} +default: +{ +lean_object* x_31; +x_31 = l_Lean_MetavarContext_MkBindingException_toStr___closed__7; +return x_31; +} +} +} +} +lean_object* l_panicWithPos___at_Lean_MetavarContext_MkBindingException_toStr___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_panicWithPos___at_Lean_MetavarContext_MkBindingException_toStr___spec__1(x_1, x_2, x_3, x_4); +lean_dec(x_4); +lean_dec(x_1); +return x_5; +} +} +lean_object* l_List_toStringAux___main___at_Lean_MetavarContext_MkBindingException_toStr___spec__4___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = lean_unbox(x_1); +lean_dec(x_1); +x_4 = l_List_toStringAux___main___at_Lean_MetavarContext_MkBindingException_toStr___spec__4(x_3, x_2); +return x_4; +} +} +lean_object* _init_l_Lean_MetavarContext_MkBindingException_HasToString___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_MetavarContext_MkBindingException_toStr), 1, 0); +return x_1; +} +} +lean_object* _init_l_Lean_MetavarContext_MkBindingException_HasToString() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_MetavarContext_MkBindingException_HasToString___closed__1; +return x_1; +} +} +lean_object* l_Lean_MetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___lambda__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; +x_3 = lean_ctor_get(x_1, 2); +lean_inc(x_3); +x_4 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_4, 0, x_3); +lean_ctor_set(x_4, 1, x_2); +return x_4; +} +} +lean_object* l_Lean_MetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___lambda__2(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; +x_3 = !lean_is_exclusive(x_2); +if (x_3 == 0) +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_4 = lean_ctor_get(x_2, 2); +x_5 = lean_apply_1(x_1, x_4); +lean_ctor_set(x_2, 2, x_5); +x_6 = lean_box(0); +x_7 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_2); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_8 = lean_ctor_get(x_2, 0); +x_9 = lean_ctor_get(x_2, 1); +x_10 = lean_ctor_get(x_2, 2); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_dec(x_2); +x_11 = lean_apply_1(x_1, x_10); +x_12 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_12, 0, x_8); +lean_ctor_set(x_12, 1, x_9); +lean_ctor_set(x_12, 2, x_11); +x_13 = lean_box(0); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_12); +return x_14; +} +} +} +lean_object* _init_l_Lean_MetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_MetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___lambda__1___boxed), 2, 0); +return x_1; +} +} +lean_object* _init_l_Lean_MetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_EStateM_MonadState___closed__2; +x_2 = l_Lean_MetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___closed__1; +x_3 = lean_alloc_closure((void*)(l_EStateM_bind___rarg), 3, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_MetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_MetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___lambda__2), 2, 0); +return x_1; +} +} +lean_object* _init_l_Lean_MetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_MetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___closed__2; +x_2 = l_Lean_MetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___closed__3; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_MetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_MetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___closed__4; +return x_1; +} +} +lean_object* l_Lean_MetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___lambda__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_MetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___lambda__1(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} +lean_object* l___private_Init_Lean_MetavarContext_13__abstractRange(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +lean_inc(x_3); +x_7 = lean_apply_3(x_1, x_3, x_5, x_6); +if (lean_obj_tag(x_7) == 0) +{ +uint8_t x_8; +x_8 = !lean_is_exclusive(x_7); +if (x_8 == 0) +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_ctor_get(x_7, 0); +x_10 = lean_expr_abstract_range(x_9, x_4, x_3); +lean_dec(x_3); +lean_dec(x_9); +lean_ctor_set(x_7, 0, x_10); +return x_7; +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_11 = lean_ctor_get(x_7, 0); +x_12 = lean_ctor_get(x_7, 1); +lean_inc(x_12); +lean_inc(x_11); +lean_dec(x_7); +x_13 = lean_expr_abstract_range(x_11, x_4, x_3); +lean_dec(x_3); +lean_dec(x_11); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_12); +return x_14; +} +} +else +{ +uint8_t x_15; +lean_dec(x_3); +x_15 = !lean_is_exclusive(x_7); +if (x_15 == 0) +{ +return x_7; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_16 = lean_ctor_get(x_7, 0); +x_17 = lean_ctor_get(x_7, 1); +lean_inc(x_17); +lean_inc(x_16); +lean_dec(x_7); +x_18 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_18, 0, x_16); +lean_ctor_set(x_18, 1, x_17); +return x_18; +} +} +} +} +lean_object* l___private_Init_Lean_MetavarContext_13__abstractRange___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = l___private_Init_Lean_MetavarContext_13__abstractRange(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_4); +lean_dec(x_2); +return x_7; +} +} +lean_object* _init_l_panicWithPos___at_Lean_MetavarContext_MkBinding_mkBinding___spec__1___closed__1() { +_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_3 = l_monadInhabited___rarg(x_1, x_2); +return x_3; +} +} +lean_object* l_panicWithPos___at_Lean_MetavarContext_MkBinding_mkBinding___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_6 = l_panicWithPos___rarg___closed__1; +x_7 = lean_string_append(x_6, x_1); +x_8 = l_panicWithPos___rarg___closed__2; +x_9 = lean_string_append(x_7, x_8); +x_10 = l_Nat_repr(x_2); +x_11 = lean_string_append(x_9, x_10); +lean_dec(x_10); +x_12 = l_panicWithPos___rarg___closed__2; +x_13 = lean_string_append(x_11, x_12); +x_14 = l_Nat_repr(x_3); +x_15 = lean_string_append(x_13, x_14); +lean_dec(x_14); +x_16 = l_panicWithPos___rarg___closed__3; +x_17 = lean_string_append(x_15, x_16); +x_18 = lean_string_append(x_17, x_4); +x_19 = l_panicWithPos___at_Lean_MetavarContext_MkBinding_mkBinding___spec__1___closed__1; +x_20 = lean_panic_fn(x_18); +x_21 = lean_apply_1(x_20, x_5); +return x_21; +} +} +lean_object* l_Nat_foldRevMAux___main___at_Lean_MetavarContext_MkBinding_mkBinding___spec__2___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_8 = l_Lean_exprIsInhabited; +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); +if (lean_obj_tag(x_10) == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_1); +x_11 = l_Lean_MetavarContext_getDecl___closed__1; +x_12 = lean_unsigned_to_nat(391u); +x_13 = lean_unsigned_to_nat(16u); +x_14 = l_Nat_foldRevAux___main___at_Lean_LocalContext_mkBinding___spec__1___closed__1; +x_15 = l_panicWithPos___at_Lean_MetavarContext_MkBinding_mkBinding___spec__1(x_11, x_12, x_13, x_14, x_7); +return x_15; +} +else +{ +lean_object* x_16; +x_16 = lean_ctor_get(x_10, 0); +lean_inc(x_16); +lean_dec(x_10); +if (lean_obj_tag(x_16) == 0) +{ +lean_object* x_17; lean_object* x_18; uint8_t x_19; lean_object* x_20; +x_17 = lean_ctor_get(x_16, 2); +lean_inc(x_17); +x_18 = lean_ctor_get(x_16, 3); +lean_inc(x_18); +x_19 = lean_ctor_get_uint8(x_16, sizeof(void*)*4); +lean_dec(x_16); +lean_inc(x_1); +x_20 = lean_apply_3(x_4, x_1, x_18, x_7); +if (lean_obj_tag(x_20) == 0) +{ +uint8_t x_21; +x_21 = !lean_is_exclusive(x_20); +if (x_21 == 0) +{ +lean_object* x_22; lean_object* x_23; +x_22 = lean_ctor_get(x_20, 0); +x_23 = lean_expr_abstract_range(x_22, x_2, x_1); +lean_dec(x_1); +lean_dec(x_22); +if (x_5 == 0) +{ +lean_object* x_24; +x_24 = lean_expr_mk_forall(x_17, x_19, x_23, x_6); +lean_ctor_set(x_20, 0, x_24); +return x_20; +} +else +{ +lean_object* x_25; +x_25 = lean_expr_mk_lambda(x_17, x_19, x_23, x_6); +lean_ctor_set(x_20, 0, x_25); +return x_20; +} +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_20, 0); +x_27 = lean_ctor_get(x_20, 1); +lean_inc(x_27); +lean_inc(x_26); +lean_dec(x_20); +x_28 = lean_expr_abstract_range(x_26, x_2, x_1); +lean_dec(x_1); +lean_dec(x_26); +if (x_5 == 0) +{ +lean_object* x_29; lean_object* x_30; +x_29 = lean_expr_mk_forall(x_17, x_19, x_28, x_6); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_27); +return x_30; +} +else +{ +lean_object* x_31; lean_object* x_32; +x_31 = lean_expr_mk_lambda(x_17, x_19, x_28, x_6); +x_32 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_32, 0, x_31); +lean_ctor_set(x_32, 1, x_27); +return x_32; +} +} +} +else +{ +uint8_t x_33; +lean_dec(x_17); +lean_dec(x_6); +lean_dec(x_1); +x_33 = !lean_is_exclusive(x_20); +if (x_33 == 0) +{ +return x_20; +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_34 = lean_ctor_get(x_20, 0); +x_35 = lean_ctor_get(x_20, 1); +lean_inc(x_35); +lean_inc(x_34); +lean_dec(x_20); +x_36 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_36, 0, x_34); +lean_ctor_set(x_36, 1, x_35); +return x_36; +} +} +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_37 = lean_ctor_get(x_16, 2); +lean_inc(x_37); +x_38 = lean_ctor_get(x_16, 3); +lean_inc(x_38); +x_39 = lean_ctor_get(x_16, 4); +lean_inc(x_39); +lean_dec(x_16); +lean_inc(x_4); +lean_inc(x_1); +x_40 = lean_apply_3(x_4, x_1, x_38, x_7); +if (lean_obj_tag(x_40) == 0) +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_41 = lean_ctor_get(x_40, 0); +lean_inc(x_41); +x_42 = lean_ctor_get(x_40, 1); +lean_inc(x_42); +lean_dec(x_40); +x_43 = lean_expr_abstract_range(x_41, x_2, x_1); +lean_dec(x_41); +lean_inc(x_1); +x_44 = lean_apply_3(x_4, x_1, x_39, x_42); +if (lean_obj_tag(x_44) == 0) +{ +uint8_t x_45; +x_45 = !lean_is_exclusive(x_44); +if (x_45 == 0) +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_46 = lean_ctor_get(x_44, 0); +x_47 = lean_expr_abstract_range(x_46, x_2, x_1); +lean_dec(x_1); +lean_dec(x_46); +x_48 = lean_expr_mk_let(x_37, x_43, x_47, x_6); +lean_ctor_set(x_44, 0, x_48); +return x_44; +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_49 = lean_ctor_get(x_44, 0); +x_50 = lean_ctor_get(x_44, 1); +lean_inc(x_50); +lean_inc(x_49); +lean_dec(x_44); +x_51 = lean_expr_abstract_range(x_49, x_2, x_1); +lean_dec(x_1); +lean_dec(x_49); +x_52 = lean_expr_mk_let(x_37, x_43, x_51, x_6); +x_53 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_53, 0, x_52); +lean_ctor_set(x_53, 1, x_50); +return x_53; +} +} +else +{ +uint8_t x_54; +lean_dec(x_43); +lean_dec(x_37); +lean_dec(x_6); +lean_dec(x_1); +x_54 = !lean_is_exclusive(x_44); +if (x_54 == 0) +{ +return x_44; +} +else +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_55 = lean_ctor_get(x_44, 0); +x_56 = lean_ctor_get(x_44, 1); +lean_inc(x_56); +lean_inc(x_55); +lean_dec(x_44); +x_57 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_57, 0, x_55); +lean_ctor_set(x_57, 1, x_56); +return x_57; +} +} +} +else +{ +uint8_t x_58; +lean_dec(x_39); +lean_dec(x_37); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_1); +x_58 = !lean_is_exclusive(x_40); +if (x_58 == 0) +{ +return x_40; +} +else +{ +lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_59 = lean_ctor_get(x_40, 0); +x_60 = lean_ctor_get(x_40, 1); +lean_inc(x_60); +lean_inc(x_59); +lean_dec(x_40); +x_61 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_61, 0, x_59); +lean_ctor_set(x_61, 1, x_60); +return x_61; +} +} +} +} +} +} +lean_object* l_Nat_foldRevMAux___main___at_Lean_MetavarContext_MkBinding_mkBinding___spec__2(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; uint8_t x_10; +x_9 = lean_unsigned_to_nat(0u); +x_10 = lean_nat_dec_eq(x_6, x_9); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_11 = lean_unsigned_to_nat(1u); +x_12 = lean_nat_sub(x_6, x_11); +x_13 = lean_ctor_get(x_5, 1); +lean_inc(x_13); +x_14 = lean_box(x_1); +lean_inc(x_2); +lean_inc(x_3); +lean_inc(x_12); +lean_inc(x_4); +x_15 = lean_alloc_closure((void*)(l_Nat_foldRevMAux___main___at_Lean_MetavarContext_MkBinding_mkBinding___spec__2___lambda__1___boxed), 7, 6); +lean_closure_set(x_15, 0, x_4); +lean_closure_set(x_15, 1, x_12); +lean_closure_set(x_15, 2, x_3); +lean_closure_set(x_15, 3, x_2); +lean_closure_set(x_15, 4, x_14); +lean_closure_set(x_15, 5, x_7); +x_16 = lean_box(x_1); +x_17 = lean_alloc_closure((void*)(l_Nat_foldRevMAux___main___at_Lean_MetavarContext_MkBinding_mkBinding___spec__2___boxed), 8, 6); +lean_closure_set(x_17, 0, x_16); +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_5); +lean_closure_set(x_17, 5, x_12); +x_18 = lean_apply_5(x_13, lean_box(0), lean_box(0), x_15, x_17, x_8); +return x_18; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_19 = lean_ctor_get(x_5, 0); +lean_inc(x_19); +lean_dec(x_5); +x_20 = lean_ctor_get(x_19, 1); +lean_inc(x_20); +lean_dec(x_19); +x_21 = lean_apply_3(x_20, lean_box(0), x_7, x_8); +return x_21; +} +} +} +lean_object* l_Lean_MetavarContext_MkBinding_mkBinding(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; +x_7 = lean_array_get_size(x_4); +lean_inc(x_2); +lean_inc(x_4); +x_8 = lean_apply_3(x_2, x_4, x_5, x_6); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_9 = lean_ctor_get(x_8, 0); +lean_inc(x_9); +x_10 = lean_ctor_get(x_8, 1); +lean_inc(x_10); +lean_dec(x_8); +x_11 = lean_expr_abstract_range(x_9, x_7, x_4); +lean_dec(x_9); +x_12 = l_EIO_Monad___closed__1; +x_13 = l_Nat_foldRevMAux___main___at_Lean_MetavarContext_MkBinding_mkBinding___spec__2(x_1, x_2, x_3, x_4, x_12, x_7, x_11, x_10); +lean_dec(x_7); +return x_13; +} +else +{ +uint8_t x_14; +lean_dec(x_7); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_14 = !lean_is_exclusive(x_8); +if (x_14 == 0) +{ +return x_8; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_8, 0); +x_16 = lean_ctor_get(x_8, 1); +lean_inc(x_16); +lean_inc(x_15); +lean_dec(x_8); +x_17 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_17, 0, x_15); +lean_ctor_set(x_17, 1, x_16); +return x_17; +} +} +} +} +lean_object* l_panicWithPos___at_Lean_MetavarContext_MkBinding_mkBinding___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_panicWithPos___at_Lean_MetavarContext_instantiateMVars___spec__4(x_1, x_2, x_3, x_4, x_5); +x_6 = l_panicWithPos___at_Lean_MetavarContext_MkBinding_mkBinding___spec__1(x_1, x_2, x_3, x_4, x_5); lean_dec(x_4); lean_dec(x_1); return x_6; } } -lean_object* l_Lean_AbstractMetavarContext_InstantiateExprMVars_instantiateDelayedAux___main___at_Lean_MetavarContext_instantiateMVars___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_Nat_foldRevMAux___main___at_Lean_MetavarContext_MkBinding_mkBinding___spec__2___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +uint8_t x_8; lean_object* x_9; +x_8 = lean_unbox(x_5); +lean_dec(x_5); +x_9 = l_Nat_foldRevMAux___main___at_Lean_MetavarContext_MkBinding_mkBinding___spec__2___lambda__1(x_1, x_2, x_3, x_4, x_8, x_6, x_7); +lean_dec(x_2); +return x_9; +} +} +lean_object* l_Nat_foldRevMAux___main___at_Lean_MetavarContext_MkBinding_mkBinding___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +uint8_t x_9; lean_object* x_10; +x_9 = lean_unbox(x_1); +lean_dec(x_1); +x_10 = l_Nat_foldRevMAux___main___at_Lean_MetavarContext_MkBinding_mkBinding___spec__2(x_9, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_6); +return x_10; +} +} +lean_object* l_Lean_MetavarContext_MkBinding_mkBinding___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +uint8_t x_7; lean_object* x_8; +x_7 = lean_unbox(x_1); +lean_dec(x_1); +x_8 = l_Lean_MetavarContext_MkBinding_mkBinding(x_7, x_2, x_3, x_4, x_5, x_6); +return x_8; +} +} +lean_object* l___private_Init_Lean_MetavarContext_14__mkLambda(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +uint8_t x_6; lean_object* x_7; +x_6 = 1; +x_7 = l_Lean_MetavarContext_MkBinding_mkBinding(x_6, x_1, x_2, x_3, x_4, x_5); +return x_7; +} +} +lean_object* l___private_Init_Lean_MetavarContext_15__mkForall(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +uint8_t x_6; lean_object* x_7; +x_6 = 0; +x_7 = l_Lean_MetavarContext_MkBinding_mkBinding(x_6, x_1, x_2, x_3, x_4, x_5); +return x_7; +} +} +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_16__getLocalDeclWithSmallestIdx___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; 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; lean_object* x_12; +x_8 = lean_array_fget(x_3, x_4); +lean_inc(x_1); +x_9 = l_Lean_LocalContext_findFVar(x_1, x_8); +lean_dec(x_8); +x_10 = l_Lean_LocalDecl_index(x_5); +x_11 = lean_unsigned_to_nat(1u); +x_12 = lean_nat_add(x_4, x_11); +lean_dec(x_4); +if (lean_obj_tag(x_9) == 0) +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; +x_13 = l_Option_get_x21___rarg___closed__1; +x_14 = lean_unsigned_to_nat(16u); +x_15 = lean_unsigned_to_nat(12u); +x_16 = l_Option_get_x21___rarg___closed__2; +x_17 = l_panicWithPos___at_Lean_MetavarContext_MkBindingException_toStr___spec__1(x_13, x_14, x_15, x_16); +x_18 = l_Lean_LocalDecl_index(x_17); +x_19 = lean_nat_dec_lt(x_18, x_10); +lean_dec(x_10); +lean_dec(x_18); +if (x_19 == 0) +{ +lean_dec(x_17); +x_4 = x_12; +goto _start; +} +else +{ +lean_dec(x_5); +x_4 = x_12; +x_5 = x_17; +goto _start; +} +} +else +{ +lean_object* x_22; lean_object* x_23; uint8_t x_24; +x_22 = lean_ctor_get(x_9, 0); +lean_inc(x_22); +lean_dec(x_9); +x_23 = l_Lean_LocalDecl_index(x_22); +x_24 = lean_nat_dec_lt(x_23, x_10); +lean_dec(x_10); +lean_dec(x_23); +if (x_24 == 0) +{ +lean_dec(x_22); +x_4 = x_12; +goto _start; +} +else +{ +lean_dec(x_5); +x_4 = x_12; +x_5 = x_22; +goto _start; +} +} +} +} +} +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_16__getLocalDeclWithSmallestIdx___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; uint8_t x_7; +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; lean_object* x_12; +x_8 = lean_array_fget(x_3, x_4); +lean_inc(x_1); +x_9 = l_Lean_LocalContext_findFVar(x_1, x_8); +lean_dec(x_8); +x_10 = l_Lean_LocalDecl_index(x_5); +x_11 = lean_unsigned_to_nat(1u); +x_12 = lean_nat_add(x_4, x_11); +lean_dec(x_4); +if (lean_obj_tag(x_9) == 0) +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; +x_13 = l_Option_get_x21___rarg___closed__1; +x_14 = lean_unsigned_to_nat(16u); +x_15 = lean_unsigned_to_nat(12u); +x_16 = l_Option_get_x21___rarg___closed__2; +x_17 = l_panicWithPos___at_Lean_MetavarContext_MkBindingException_toStr___spec__1(x_13, x_14, x_15, x_16); +x_18 = l_Lean_LocalDecl_index(x_17); +x_19 = lean_nat_dec_lt(x_18, x_10); +lean_dec(x_10); +lean_dec(x_18); +if (x_19 == 0) +{ +lean_dec(x_17); +x_4 = x_12; +goto _start; +} +else +{ +lean_dec(x_5); +x_4 = x_12; +x_5 = x_17; +goto _start; +} +} +else +{ +lean_object* x_22; lean_object* x_23; uint8_t x_24; +x_22 = lean_ctor_get(x_9, 0); +lean_inc(x_22); +lean_dec(x_9); +x_23 = l_Lean_LocalDecl_index(x_22); +x_24 = lean_nat_dec_lt(x_23, x_10); +lean_dec(x_10); +lean_dec(x_23); +if (x_24 == 0) +{ +lean_dec(x_22); +x_4 = x_12; +goto _start; +} +else +{ +lean_dec(x_5); +x_4 = x_12; +x_5 = x_22; +goto _start; +} +} +} +} +} +lean_object* l___private_Init_Lean_MetavarContext_16__getLocalDeclWithSmallestIdx(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_3 = l_Lean_exprIsInhabited; +x_4 = lean_unsigned_to_nat(0u); +x_5 = lean_array_get(x_3, x_2, x_4); +lean_inc(x_1); +x_6 = l_Lean_LocalContext_findFVar(x_1, x_5); +lean_dec(x_5); +if (lean_obj_tag(x_6) == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_7 = l_Option_get_x21___rarg___closed__1; +x_8 = lean_unsigned_to_nat(16u); +x_9 = lean_unsigned_to_nat(12u); +x_10 = l_Option_get_x21___rarg___closed__2; +x_11 = l_panicWithPos___at_Lean_MetavarContext_MkBindingException_toStr___spec__1(x_7, x_8, x_9, x_10); +x_12 = lean_unsigned_to_nat(1u); +x_13 = l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_16__getLocalDeclWithSmallestIdx___spec__1(x_1, x_2, x_2, x_12, x_11); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_ctor_get(x_6, 0); +lean_inc(x_14); +lean_dec(x_6); +x_15 = lean_unsigned_to_nat(1u); +x_16 = l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_16__getLocalDeclWithSmallestIdx___spec__2(x_1, x_2, x_2, x_15, x_14); +return x_16; +} +} +} +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_16__getLocalDeclWithSmallestIdx___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_AbstractMetavarContext_InstantiateExprMVars_instantiateDelayedAux___main___at_Lean_MetavarContext_instantiateMVars___spec__3(x_1, x_2, x_3, x_4, x_5); +x_6 = l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_16__getLocalDeclWithSmallestIdx___spec__1(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_3); lean_dec(x_2); return x_6; } } -uint8_t l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_16__getLocalDeclWithSmallestIdx___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_16__getLocalDeclWithSmallestIdx___spec__2(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_3); +lean_dec(x_2); +return x_6; +} +} +lean_object* l___private_Init_Lean_MetavarContext_16__getLocalDeclWithSmallestIdx___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l___private_Init_Lean_MetavarContext_16__getLocalDeclWithSmallestIdx(x_1, x_2); +lean_dec(x_2); +return x_3; +} +} +uint8_t l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -13300,7 +19017,7 @@ return x_10; } } } -uint8_t l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +uint8_t l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -13339,7 +19056,7 @@ return x_9; } } } -uint8_t l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__10(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +uint8_t l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -13357,7 +19074,7 @@ else { lean_object* x_7; uint8_t x_8; x_7 = lean_array_fget(x_2, x_3); -x_8 = l_PersistentArray_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__9(x_1, x_7); +x_8 = l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__5(x_1, x_7); lean_dec(x_7); if (x_8 == 0) { @@ -13376,7 +19093,7 @@ return x_8; } } } -uint8_t l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__11(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +uint8_t l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -13412,7 +19129,7 @@ lean_dec(x_7); x_12 = l_Lean_LocalDecl_name(x_11); lean_dec(x_11); x_13 = lean_unsigned_to_nat(0u); -x_14 = l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__6(x_12, x_1, x_13); +x_14 = l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__2(x_12, x_1, x_13); lean_dec(x_12); if (x_14 == 0) { @@ -13432,7 +19149,7 @@ return x_14; } } } -uint8_t l_PersistentArray_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__9(lean_object* x_1, lean_object* x_2) { +uint8_t l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__5(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_2) == 0) @@ -13440,7 +19157,7 @@ if (lean_obj_tag(x_2) == 0) lean_object* x_3; lean_object* x_4; uint8_t x_5; x_3 = lean_ctor_get(x_2, 0); x_4 = lean_unsigned_to_nat(0u); -x_5 = l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__10(x_1, x_3, x_4); +x_5 = l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__6(x_1, x_3, x_4); return x_5; } else @@ -13448,12 +19165,12 @@ else lean_object* x_6; lean_object* x_7; uint8_t x_8; x_6 = lean_ctor_get(x_2, 0); x_7 = lean_unsigned_to_nat(0u); -x_8 = l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__11(x_1, x_6, x_7); +x_8 = l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__7(x_1, x_6, x_7); return x_8; } } } -uint8_t l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__12(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +uint8_t l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__8(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -13489,7 +19206,7 @@ lean_dec(x_7); x_12 = l_Lean_LocalDecl_name(x_11); lean_dec(x_11); x_13 = lean_unsigned_to_nat(0u); -x_14 = l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__6(x_12, x_1, x_13); +x_14 = l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__2(x_12, x_1, x_13); lean_dec(x_12); if (x_14 == 0) { @@ -13509,18 +19226,18 @@ return x_14; } } } -uint8_t l_PersistentArray_anyM___at_Lean_MetavarContext_mkLambda___spec__8(lean_object* x_1, lean_object* x_2) { +uint8_t l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__4(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; uint8_t x_4; x_3 = lean_ctor_get(x_2, 0); -x_4 = l_PersistentArray_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__9(x_1, x_3); +x_4 = l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__5(x_1, x_3); if (x_4 == 0) { lean_object* x_5; lean_object* x_6; uint8_t x_7; x_5 = lean_ctor_get(x_2, 1); x_6 = lean_unsigned_to_nat(0u); -x_7 = l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__12(x_1, x_5, x_6); +x_7 = l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__8(x_1, x_5, x_6); return x_7; } else @@ -13529,7 +19246,7 @@ return x_4; } } } -lean_object* l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Init_Lean_MetavarContext_11__dep___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { switch (lean_obj_tag(x_3)) { @@ -13541,7 +19258,7 @@ x_5 = lean_ctor_get(x_3, 0); lean_inc(x_5); lean_dec(x_3); x_6 = lean_unsigned_to_nat(0u); -x_7 = l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__6(x_5, x_1, x_6); +x_7 = l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__2(x_5, x_1, x_6); lean_dec(x_5); x_8 = lean_box(x_7); x_9 = lean_alloc_ctor(0, 2, 0); @@ -13570,7 +19287,7 @@ lean_dec(x_12); x_14 = lean_ctor_get(x_13, 1); lean_inc(x_14); lean_dec(x_13); -x_15 = l_PersistentArray_anyM___at_Lean_MetavarContext_mkLambda___spec__8(x_1, x_14); +x_15 = l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__4(x_1, x_14); lean_dec(x_14); x_16 = lean_box(x_15); x_17 = lean_alloc_ctor(0, 2, 0); @@ -13633,13 +19350,13 @@ block_27: { uint8_t x_20; lean_dec(x_19); -x_20 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_4, x_18); +x_20 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_4, x_18); if (x_20 == 0) { lean_object* x_21; lean_object* x_22; x_21 = lean_box(0); lean_inc(x_18); -x_22 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_4, x_18, x_21); +x_22 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_4, x_18, x_21); x_3 = x_18; x_4 = x_22; goto _start; @@ -13765,13 +19482,13 @@ block_50: { uint8_t x_43; lean_dec(x_42); -x_43 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_40, x_37); +x_43 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_40, x_37); if (x_43 == 0) { lean_object* x_44; lean_object* x_45; x_44 = lean_box(0); lean_inc(x_37); -x_45 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_40, x_37, x_44); +x_45 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_40, x_37, x_44); x_3 = x_37; x_4 = x_45; goto _start; @@ -13813,15 +19530,15 @@ block_73: { uint8_t x_65; lean_dec(x_64); -x_65 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_4, x_38); +x_65 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_4, x_38); if (x_65 == 0) { lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; uint8_t x_71; x_66 = lean_box(0); lean_inc(x_38); -x_67 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_4, x_38, x_66); +x_67 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_4, x_38, x_66); lean_inc(x_2); -x_68 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__7(x_1, x_2, x_38, x_67); +x_68 = l___private_Init_Lean_MetavarContext_11__dep___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__3(x_1, x_2, x_38, x_67); x_69 = lean_ctor_get(x_68, 0); lean_inc(x_69); x_70 = lean_ctor_get(x_68, 1); @@ -13946,13 +19663,13 @@ block_93: { uint8_t x_86; lean_dec(x_85); -x_86 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_84, x_82); +x_86 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_84, x_82); if (x_86 == 0) { lean_object* x_87; lean_object* x_88; x_87 = lean_box(0); lean_inc(x_82); -x_88 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_84, x_82, x_87); +x_88 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_84, x_82, x_87); x_3 = x_82; x_4 = x_88; goto _start; @@ -13987,15 +19704,15 @@ block_115: { uint8_t x_107; lean_dec(x_106); -x_107 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_4, x_81); +x_107 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_4, x_81); if (x_107 == 0) { lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; uint8_t x_113; x_108 = lean_box(0); lean_inc(x_81); -x_109 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_4, x_81, x_108); +x_109 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_4, x_81, x_108); lean_inc(x_2); -x_110 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__7(x_1, x_2, x_81, x_109); +x_110 = l___private_Init_Lean_MetavarContext_11__dep___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__3(x_1, x_2, x_81, x_109); x_111 = lean_ctor_get(x_110, 0); lean_inc(x_111); x_112 = lean_ctor_get(x_110, 1); @@ -14120,13 +19837,13 @@ block_135: { uint8_t x_128; lean_dec(x_127); -x_128 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_126, x_124); +x_128 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_126, x_124); if (x_128 == 0) { lean_object* x_129; lean_object* x_130; x_129 = lean_box(0); lean_inc(x_124); -x_130 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_126, x_124, x_129); +x_130 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_126, x_124, x_129); x_3 = x_124; x_4 = x_130; goto _start; @@ -14161,15 +19878,15 @@ block_157: { uint8_t x_149; lean_dec(x_148); -x_149 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_4, x_123); +x_149 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_4, x_123); if (x_149 == 0) { lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; uint8_t x_155; x_150 = lean_box(0); lean_inc(x_123); -x_151 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_4, x_123, x_150); +x_151 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_4, x_123, x_150); lean_inc(x_2); -x_152 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__7(x_1, x_2, x_123, x_151); +x_152 = l___private_Init_Lean_MetavarContext_11__dep___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__3(x_1, x_2, x_123, x_151); x_153 = lean_ctor_get(x_152, 0); lean_inc(x_153); x_154 = lean_ctor_get(x_152, 1); @@ -14296,13 +20013,13 @@ block_178: { uint8_t x_171; lean_dec(x_170); -x_171 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_169, x_167); +x_171 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_169, x_167); if (x_171 == 0) { lean_object* x_172; lean_object* x_173; x_172 = lean_box(0); lean_inc(x_167); -x_173 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_169, x_167, x_172); +x_173 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_169, x_167, x_172); x_3 = x_167; x_4 = x_173; goto _start; @@ -14392,15 +20109,15 @@ block_202: { uint8_t x_194; lean_dec(x_193); -x_194 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_192, x_166); +x_194 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_192, x_166); if (x_194 == 0) { lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; uint8_t x_200; x_195 = lean_box(0); lean_inc(x_166); -x_196 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_192, x_166, x_195); +x_196 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_192, x_166, x_195); lean_inc(x_2); -x_197 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__7(x_1, x_2, x_166, x_196); +x_197 = l___private_Init_Lean_MetavarContext_11__dep___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__3(x_1, x_2, x_166, x_196); x_198 = lean_ctor_get(x_197, 0); lean_inc(x_198); x_199 = lean_ctor_get(x_197, 1); @@ -14427,15 +20144,15 @@ block_220: { uint8_t x_212; lean_dec(x_211); -x_212 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_4, x_165); +x_212 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_4, x_165); if (x_212 == 0) { lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; uint8_t x_218; x_213 = lean_box(0); lean_inc(x_165); -x_214 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_4, x_165, x_213); +x_214 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_4, x_165, x_213); lean_inc(x_2); -x_215 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__7(x_1, x_2, x_165, x_214); +x_215 = l___private_Init_Lean_MetavarContext_11__dep___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__3(x_1, x_2, x_165, x_214); x_216 = lean_ctor_get(x_215, 0); lean_inc(x_216); x_217 = lean_ctor_get(x_215, 1); @@ -14512,13 +20229,13 @@ block_237: { uint8_t x_230; lean_dec(x_229); -x_230 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_4, x_228); +x_230 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_4, x_228); if (x_230 == 0) { lean_object* x_231; lean_object* x_232; x_231 = lean_box(0); lean_inc(x_228); -x_232 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_4, x_228, x_231); +x_232 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_4, x_228, x_231); x_3 = x_228; x_4 = x_232; goto _start; @@ -14591,13 +20308,13 @@ block_256: { uint8_t x_249; lean_dec(x_248); -x_249 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_4, x_247); +x_249 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_4, x_247); if (x_249 == 0) { lean_object* x_250; lean_object* x_251; x_250 = lean_box(0); lean_inc(x_247); -x_251 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_4, x_247, x_250); +x_251 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_4, x_247, x_250); x_3 = x_247; x_4 = x_251; goto _start; @@ -14631,7 +20348,7 @@ return x_268; } } } -uint8_t l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__16(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +uint8_t l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__12(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -14649,7 +20366,7 @@ else { lean_object* x_7; uint8_t x_8; x_7 = lean_array_fget(x_2, x_3); -x_8 = l_PersistentArray_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__15(x_1, x_7); +x_8 = l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__11(x_1, x_7); lean_dec(x_7); if (x_8 == 0) { @@ -14668,7 +20385,7 @@ return x_8; } } } -uint8_t l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__17(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +uint8_t l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__13(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -14704,7 +20421,7 @@ lean_dec(x_7); x_12 = l_Lean_LocalDecl_name(x_11); lean_dec(x_11); x_13 = lean_unsigned_to_nat(0u); -x_14 = l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__6(x_12, x_1, x_13); +x_14 = l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__2(x_12, x_1, x_13); lean_dec(x_12); if (x_14 == 0) { @@ -14724,7 +20441,7 @@ return x_14; } } } -uint8_t l_PersistentArray_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__15(lean_object* x_1, lean_object* x_2) { +uint8_t l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__11(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_2) == 0) @@ -14732,7 +20449,7 @@ if (lean_obj_tag(x_2) == 0) lean_object* x_3; lean_object* x_4; uint8_t x_5; x_3 = lean_ctor_get(x_2, 0); x_4 = lean_unsigned_to_nat(0u); -x_5 = l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__16(x_1, x_3, x_4); +x_5 = l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__12(x_1, x_3, x_4); return x_5; } else @@ -14740,12 +20457,12 @@ else lean_object* x_6; lean_object* x_7; uint8_t x_8; x_6 = lean_ctor_get(x_2, 0); x_7 = lean_unsigned_to_nat(0u); -x_8 = l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__17(x_1, x_6, x_7); +x_8 = l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__13(x_1, x_6, x_7); return x_8; } } } -uint8_t l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__18(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +uint8_t l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__14(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -14781,7 +20498,7 @@ lean_dec(x_7); x_12 = l_Lean_LocalDecl_name(x_11); lean_dec(x_11); x_13 = lean_unsigned_to_nat(0u); -x_14 = l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__6(x_12, x_1, x_13); +x_14 = l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__2(x_12, x_1, x_13); lean_dec(x_12); if (x_14 == 0) { @@ -14801,18 +20518,18 @@ return x_14; } } } -uint8_t l_PersistentArray_anyM___at_Lean_MetavarContext_mkLambda___spec__14(lean_object* x_1, lean_object* x_2) { +uint8_t l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__10(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; uint8_t x_4; x_3 = lean_ctor_get(x_2, 0); -x_4 = l_PersistentArray_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__15(x_1, x_3); +x_4 = l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__11(x_1, x_3); if (x_4 == 0) { lean_object* x_5; lean_object* x_6; uint8_t x_7; x_5 = lean_ctor_get(x_2, 1); x_6 = lean_unsigned_to_nat(0u); -x_7 = l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__18(x_1, x_5, x_6); +x_7 = l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__14(x_1, x_5, x_6); return x_7; } else @@ -14821,7 +20538,7 @@ return x_4; } } } -lean_object* l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__13(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Init_Lean_MetavarContext_11__dep___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__9(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { switch (lean_obj_tag(x_3)) { @@ -14833,7 +20550,7 @@ x_5 = lean_ctor_get(x_3, 0); lean_inc(x_5); lean_dec(x_3); x_6 = lean_unsigned_to_nat(0u); -x_7 = l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__6(x_5, x_1, x_6); +x_7 = l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__2(x_5, x_1, x_6); lean_dec(x_5); x_8 = lean_box(x_7); x_9 = lean_alloc_ctor(0, 2, 0); @@ -14862,7 +20579,7 @@ lean_dec(x_12); x_14 = lean_ctor_get(x_13, 1); lean_inc(x_14); lean_dec(x_13); -x_15 = l_PersistentArray_anyM___at_Lean_MetavarContext_mkLambda___spec__14(x_1, x_14); +x_15 = l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__10(x_1, x_14); lean_dec(x_14); x_16 = lean_box(x_15); x_17 = lean_alloc_ctor(0, 2, 0); @@ -14925,13 +20642,13 @@ block_27: { uint8_t x_20; lean_dec(x_19); -x_20 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_4, x_18); +x_20 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_4, x_18); if (x_20 == 0) { lean_object* x_21; lean_object* x_22; x_21 = lean_box(0); lean_inc(x_18); -x_22 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_4, x_18, x_21); +x_22 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_4, x_18, x_21); x_3 = x_18; x_4 = x_22; goto _start; @@ -15057,13 +20774,13 @@ block_50: { uint8_t x_43; lean_dec(x_42); -x_43 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_40, x_37); +x_43 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_40, x_37); if (x_43 == 0) { lean_object* x_44; lean_object* x_45; x_44 = lean_box(0); lean_inc(x_37); -x_45 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_40, x_37, x_44); +x_45 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_40, x_37, x_44); x_3 = x_37; x_4 = x_45; goto _start; @@ -15105,15 +20822,15 @@ block_73: { uint8_t x_65; lean_dec(x_64); -x_65 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_4, x_38); +x_65 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_4, x_38); if (x_65 == 0) { lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; uint8_t x_71; x_66 = lean_box(0); lean_inc(x_38); -x_67 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_4, x_38, x_66); +x_67 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_4, x_38, x_66); lean_inc(x_2); -x_68 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__13(x_1, x_2, x_38, x_67); +x_68 = l___private_Init_Lean_MetavarContext_11__dep___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__9(x_1, x_2, x_38, x_67); x_69 = lean_ctor_get(x_68, 0); lean_inc(x_69); x_70 = lean_ctor_get(x_68, 1); @@ -15238,13 +20955,13 @@ block_93: { uint8_t x_86; lean_dec(x_85); -x_86 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_84, x_82); +x_86 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_84, x_82); if (x_86 == 0) { lean_object* x_87; lean_object* x_88; x_87 = lean_box(0); lean_inc(x_82); -x_88 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_84, x_82, x_87); +x_88 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_84, x_82, x_87); x_3 = x_82; x_4 = x_88; goto _start; @@ -15279,15 +20996,15 @@ block_115: { uint8_t x_107; lean_dec(x_106); -x_107 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_4, x_81); +x_107 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_4, x_81); if (x_107 == 0) { lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; uint8_t x_113; x_108 = lean_box(0); lean_inc(x_81); -x_109 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_4, x_81, x_108); +x_109 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_4, x_81, x_108); lean_inc(x_2); -x_110 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__13(x_1, x_2, x_81, x_109); +x_110 = l___private_Init_Lean_MetavarContext_11__dep___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__9(x_1, x_2, x_81, x_109); x_111 = lean_ctor_get(x_110, 0); lean_inc(x_111); x_112 = lean_ctor_get(x_110, 1); @@ -15412,13 +21129,13 @@ block_135: { uint8_t x_128; lean_dec(x_127); -x_128 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_126, x_124); +x_128 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_126, x_124); if (x_128 == 0) { lean_object* x_129; lean_object* x_130; x_129 = lean_box(0); lean_inc(x_124); -x_130 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_126, x_124, x_129); +x_130 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_126, x_124, x_129); x_3 = x_124; x_4 = x_130; goto _start; @@ -15453,15 +21170,15 @@ block_157: { uint8_t x_149; lean_dec(x_148); -x_149 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_4, x_123); +x_149 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_4, x_123); if (x_149 == 0) { lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; uint8_t x_155; x_150 = lean_box(0); lean_inc(x_123); -x_151 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_4, x_123, x_150); +x_151 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_4, x_123, x_150); lean_inc(x_2); -x_152 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__13(x_1, x_2, x_123, x_151); +x_152 = l___private_Init_Lean_MetavarContext_11__dep___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__9(x_1, x_2, x_123, x_151); x_153 = lean_ctor_get(x_152, 0); lean_inc(x_153); x_154 = lean_ctor_get(x_152, 1); @@ -15588,13 +21305,13 @@ block_178: { uint8_t x_171; lean_dec(x_170); -x_171 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_169, x_167); +x_171 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_169, x_167); if (x_171 == 0) { lean_object* x_172; lean_object* x_173; x_172 = lean_box(0); lean_inc(x_167); -x_173 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_169, x_167, x_172); +x_173 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_169, x_167, x_172); x_3 = x_167; x_4 = x_173; goto _start; @@ -15684,15 +21401,15 @@ block_202: { uint8_t x_194; lean_dec(x_193); -x_194 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_192, x_166); +x_194 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_192, x_166); if (x_194 == 0) { lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; uint8_t x_200; x_195 = lean_box(0); lean_inc(x_166); -x_196 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_192, x_166, x_195); +x_196 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_192, x_166, x_195); lean_inc(x_2); -x_197 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__13(x_1, x_2, x_166, x_196); +x_197 = l___private_Init_Lean_MetavarContext_11__dep___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__9(x_1, x_2, x_166, x_196); x_198 = lean_ctor_get(x_197, 0); lean_inc(x_198); x_199 = lean_ctor_get(x_197, 1); @@ -15719,15 +21436,15 @@ block_220: { uint8_t x_212; lean_dec(x_211); -x_212 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_4, x_165); +x_212 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_4, x_165); if (x_212 == 0) { lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; uint8_t x_218; x_213 = lean_box(0); lean_inc(x_165); -x_214 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_4, x_165, x_213); +x_214 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_4, x_165, x_213); lean_inc(x_2); -x_215 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__13(x_1, x_2, x_165, x_214); +x_215 = l___private_Init_Lean_MetavarContext_11__dep___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__9(x_1, x_2, x_165, x_214); x_216 = lean_ctor_get(x_215, 0); lean_inc(x_216); x_217 = lean_ctor_get(x_215, 1); @@ -15804,13 +21521,13 @@ block_237: { uint8_t x_230; lean_dec(x_229); -x_230 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_4, x_228); +x_230 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_4, x_228); if (x_230 == 0) { lean_object* x_231; lean_object* x_232; x_231 = lean_box(0); lean_inc(x_228); -x_232 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_4, x_228, x_231); +x_232 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_4, x_228, x_231); x_3 = x_228; x_4 = x_232; goto _start; @@ -15883,13 +21600,13 @@ block_256: { uint8_t x_249; lean_dec(x_248); -x_249 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_4, x_247); +x_249 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_4, x_247); if (x_249 == 0) { lean_object* x_250; lean_object* x_251; x_250 = lean_box(0); lean_inc(x_247); -x_251 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_4, x_247, x_250); +x_251 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_4, x_247, x_250); x_3 = x_247; x_4 = x_251; goto _start; @@ -15923,7 +21640,7 @@ return x_268; } } } -uint8_t l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__22(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +uint8_t l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__18(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -15941,7 +21658,7 @@ else { lean_object* x_7; uint8_t x_8; x_7 = lean_array_fget(x_2, x_3); -x_8 = l_PersistentArray_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__21(x_1, x_7); +x_8 = l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__17(x_1, x_7); lean_dec(x_7); if (x_8 == 0) { @@ -15960,7 +21677,7 @@ return x_8; } } } -uint8_t l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__23(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +uint8_t l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__19(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -15996,7 +21713,7 @@ lean_dec(x_7); x_12 = l_Lean_LocalDecl_name(x_11); lean_dec(x_11); x_13 = lean_unsigned_to_nat(0u); -x_14 = l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__6(x_12, x_1, x_13); +x_14 = l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__2(x_12, x_1, x_13); lean_dec(x_12); if (x_14 == 0) { @@ -16016,7 +21733,7 @@ return x_14; } } } -uint8_t l_PersistentArray_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__21(lean_object* x_1, lean_object* x_2) { +uint8_t l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__17(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_2) == 0) @@ -16024,7 +21741,7 @@ if (lean_obj_tag(x_2) == 0) lean_object* x_3; lean_object* x_4; uint8_t x_5; x_3 = lean_ctor_get(x_2, 0); x_4 = lean_unsigned_to_nat(0u); -x_5 = l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__22(x_1, x_3, x_4); +x_5 = l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__18(x_1, x_3, x_4); return x_5; } else @@ -16032,12 +21749,12 @@ else lean_object* x_6; lean_object* x_7; uint8_t x_8; x_6 = lean_ctor_get(x_2, 0); x_7 = lean_unsigned_to_nat(0u); -x_8 = l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__23(x_1, x_6, x_7); +x_8 = l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__19(x_1, x_6, x_7); return x_8; } } } -uint8_t l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__24(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +uint8_t l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__20(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -16073,7 +21790,7 @@ lean_dec(x_7); x_12 = l_Lean_LocalDecl_name(x_11); lean_dec(x_11); x_13 = lean_unsigned_to_nat(0u); -x_14 = l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__6(x_12, x_1, x_13); +x_14 = l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__2(x_12, x_1, x_13); lean_dec(x_12); if (x_14 == 0) { @@ -16093,18 +21810,18 @@ return x_14; } } } -uint8_t l_PersistentArray_anyM___at_Lean_MetavarContext_mkLambda___spec__20(lean_object* x_1, lean_object* x_2) { +uint8_t l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__16(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; uint8_t x_4; x_3 = lean_ctor_get(x_2, 0); -x_4 = l_PersistentArray_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__21(x_1, x_3); +x_4 = l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__17(x_1, x_3); if (x_4 == 0) { lean_object* x_5; lean_object* x_6; uint8_t x_7; x_5 = lean_ctor_get(x_2, 1); x_6 = lean_unsigned_to_nat(0u); -x_7 = l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__24(x_1, x_5, x_6); +x_7 = l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__20(x_1, x_5, x_6); return x_7; } else @@ -16113,7 +21830,7 @@ return x_4; } } } -lean_object* l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__19(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Init_Lean_MetavarContext_11__dep___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__15(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { switch (lean_obj_tag(x_3)) { @@ -16125,7 +21842,7 @@ x_5 = lean_ctor_get(x_3, 0); lean_inc(x_5); lean_dec(x_3); x_6 = lean_unsigned_to_nat(0u); -x_7 = l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__6(x_5, x_1, x_6); +x_7 = l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__2(x_5, x_1, x_6); lean_dec(x_5); x_8 = lean_box(x_7); x_9 = lean_alloc_ctor(0, 2, 0); @@ -16154,7 +21871,7 @@ lean_dec(x_12); x_14 = lean_ctor_get(x_13, 1); lean_inc(x_14); lean_dec(x_13); -x_15 = l_PersistentArray_anyM___at_Lean_MetavarContext_mkLambda___spec__20(x_1, x_14); +x_15 = l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__16(x_1, x_14); lean_dec(x_14); x_16 = lean_box(x_15); x_17 = lean_alloc_ctor(0, 2, 0); @@ -16217,13 +21934,13 @@ block_27: { uint8_t x_20; lean_dec(x_19); -x_20 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_4, x_18); +x_20 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_4, x_18); if (x_20 == 0) { lean_object* x_21; lean_object* x_22; x_21 = lean_box(0); lean_inc(x_18); -x_22 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_4, x_18, x_21); +x_22 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_4, x_18, x_21); x_3 = x_18; x_4 = x_22; goto _start; @@ -16349,13 +22066,13 @@ block_50: { uint8_t x_43; lean_dec(x_42); -x_43 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_40, x_37); +x_43 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_40, x_37); if (x_43 == 0) { lean_object* x_44; lean_object* x_45; x_44 = lean_box(0); lean_inc(x_37); -x_45 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_40, x_37, x_44); +x_45 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_40, x_37, x_44); x_3 = x_37; x_4 = x_45; goto _start; @@ -16397,15 +22114,15 @@ block_73: { uint8_t x_65; lean_dec(x_64); -x_65 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_4, x_38); +x_65 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_4, x_38); if (x_65 == 0) { lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; uint8_t x_71; x_66 = lean_box(0); lean_inc(x_38); -x_67 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_4, x_38, x_66); +x_67 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_4, x_38, x_66); lean_inc(x_2); -x_68 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__19(x_1, x_2, x_38, x_67); +x_68 = l___private_Init_Lean_MetavarContext_11__dep___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__15(x_1, x_2, x_38, x_67); x_69 = lean_ctor_get(x_68, 0); lean_inc(x_69); x_70 = lean_ctor_get(x_68, 1); @@ -16530,13 +22247,13 @@ block_93: { uint8_t x_86; lean_dec(x_85); -x_86 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_84, x_82); +x_86 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_84, x_82); if (x_86 == 0) { lean_object* x_87; lean_object* x_88; x_87 = lean_box(0); lean_inc(x_82); -x_88 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_84, x_82, x_87); +x_88 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_84, x_82, x_87); x_3 = x_82; x_4 = x_88; goto _start; @@ -16571,15 +22288,15 @@ block_115: { uint8_t x_107; lean_dec(x_106); -x_107 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_4, x_81); +x_107 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_4, x_81); if (x_107 == 0) { lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; uint8_t x_113; x_108 = lean_box(0); lean_inc(x_81); -x_109 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_4, x_81, x_108); +x_109 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_4, x_81, x_108); lean_inc(x_2); -x_110 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__19(x_1, x_2, x_81, x_109); +x_110 = l___private_Init_Lean_MetavarContext_11__dep___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__15(x_1, x_2, x_81, x_109); x_111 = lean_ctor_get(x_110, 0); lean_inc(x_111); x_112 = lean_ctor_get(x_110, 1); @@ -16704,13 +22421,13 @@ block_135: { uint8_t x_128; lean_dec(x_127); -x_128 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_126, x_124); +x_128 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_126, x_124); if (x_128 == 0) { lean_object* x_129; lean_object* x_130; x_129 = lean_box(0); lean_inc(x_124); -x_130 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_126, x_124, x_129); +x_130 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_126, x_124, x_129); x_3 = x_124; x_4 = x_130; goto _start; @@ -16745,15 +22462,15 @@ block_157: { uint8_t x_149; lean_dec(x_148); -x_149 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_4, x_123); +x_149 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_4, x_123); if (x_149 == 0) { lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; uint8_t x_155; x_150 = lean_box(0); lean_inc(x_123); -x_151 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_4, x_123, x_150); +x_151 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_4, x_123, x_150); lean_inc(x_2); -x_152 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__19(x_1, x_2, x_123, x_151); +x_152 = l___private_Init_Lean_MetavarContext_11__dep___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__15(x_1, x_2, x_123, x_151); x_153 = lean_ctor_get(x_152, 0); lean_inc(x_153); x_154 = lean_ctor_get(x_152, 1); @@ -16880,13 +22597,13 @@ block_178: { uint8_t x_171; lean_dec(x_170); -x_171 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_169, x_167); +x_171 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_169, x_167); if (x_171 == 0) { lean_object* x_172; lean_object* x_173; x_172 = lean_box(0); lean_inc(x_167); -x_173 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_169, x_167, x_172); +x_173 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_169, x_167, x_172); x_3 = x_167; x_4 = x_173; goto _start; @@ -16976,15 +22693,15 @@ block_202: { uint8_t x_194; lean_dec(x_193); -x_194 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_192, x_166); +x_194 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_192, x_166); if (x_194 == 0) { lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; uint8_t x_200; x_195 = lean_box(0); lean_inc(x_166); -x_196 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_192, x_166, x_195); +x_196 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_192, x_166, x_195); lean_inc(x_2); -x_197 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__19(x_1, x_2, x_166, x_196); +x_197 = l___private_Init_Lean_MetavarContext_11__dep___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__15(x_1, x_2, x_166, x_196); x_198 = lean_ctor_get(x_197, 0); lean_inc(x_198); x_199 = lean_ctor_get(x_197, 1); @@ -17011,15 +22728,15 @@ block_220: { uint8_t x_212; lean_dec(x_211); -x_212 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_4, x_165); +x_212 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_4, x_165); if (x_212 == 0) { lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; uint8_t x_218; x_213 = lean_box(0); lean_inc(x_165); -x_214 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_4, x_165, x_213); +x_214 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_4, x_165, x_213); lean_inc(x_2); -x_215 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__19(x_1, x_2, x_165, x_214); +x_215 = l___private_Init_Lean_MetavarContext_11__dep___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__15(x_1, x_2, x_165, x_214); x_216 = lean_ctor_get(x_215, 0); lean_inc(x_216); x_217 = lean_ctor_get(x_215, 1); @@ -17096,13 +22813,13 @@ block_237: { uint8_t x_230; lean_dec(x_229); -x_230 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_4, x_228); +x_230 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_4, x_228); if (x_230 == 0) { lean_object* x_231; lean_object* x_232; x_231 = lean_box(0); lean_inc(x_228); -x_232 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_4, x_228, x_231); +x_232 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_4, x_228, x_231); x_3 = x_228; x_4 = x_232; goto _start; @@ -17175,13 +22892,13 @@ block_256: { uint8_t x_249; lean_dec(x_248); -x_249 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_4, x_247); +x_249 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_4, x_247); if (x_249 == 0) { lean_object* x_250; lean_object* x_251; x_250 = lean_box(0); lean_inc(x_247); -x_251 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_4, x_247, x_250); +x_251 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_4, x_247, x_250); x_3 = x_247; x_4 = x_251; goto _start; @@ -17215,7 +22932,7 @@ return x_268; } } } -uint8_t l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__28(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +uint8_t l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__24(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -17233,7 +22950,7 @@ else { lean_object* x_7; uint8_t x_8; x_7 = lean_array_fget(x_2, x_3); -x_8 = l_PersistentArray_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__27(x_1, x_7); +x_8 = l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__23(x_1, x_7); lean_dec(x_7); if (x_8 == 0) { @@ -17252,7 +22969,7 @@ return x_8; } } } -uint8_t l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__29(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +uint8_t l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__25(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -17288,7 +23005,7 @@ lean_dec(x_7); x_12 = l_Lean_LocalDecl_name(x_11); lean_dec(x_11); x_13 = lean_unsigned_to_nat(0u); -x_14 = l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__6(x_12, x_1, x_13); +x_14 = l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__2(x_12, x_1, x_13); lean_dec(x_12); if (x_14 == 0) { @@ -17308,7 +23025,7 @@ return x_14; } } } -uint8_t l_PersistentArray_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__27(lean_object* x_1, lean_object* x_2) { +uint8_t l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__23(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_2) == 0) @@ -17316,7 +23033,7 @@ if (lean_obj_tag(x_2) == 0) lean_object* x_3; lean_object* x_4; uint8_t x_5; x_3 = lean_ctor_get(x_2, 0); x_4 = lean_unsigned_to_nat(0u); -x_5 = l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__28(x_1, x_3, x_4); +x_5 = l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__24(x_1, x_3, x_4); return x_5; } else @@ -17324,12 +23041,12 @@ else lean_object* x_6; lean_object* x_7; uint8_t x_8; x_6 = lean_ctor_get(x_2, 0); x_7 = lean_unsigned_to_nat(0u); -x_8 = l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__29(x_1, x_6, x_7); +x_8 = l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__25(x_1, x_6, x_7); return x_8; } } } -uint8_t l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__30(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +uint8_t l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__26(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -17365,7 +23082,7 @@ lean_dec(x_7); x_12 = l_Lean_LocalDecl_name(x_11); lean_dec(x_11); x_13 = lean_unsigned_to_nat(0u); -x_14 = l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__6(x_12, x_1, x_13); +x_14 = l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__2(x_12, x_1, x_13); lean_dec(x_12); if (x_14 == 0) { @@ -17385,18 +23102,18 @@ return x_14; } } } -uint8_t l_PersistentArray_anyM___at_Lean_MetavarContext_mkLambda___spec__26(lean_object* x_1, lean_object* x_2) { +uint8_t l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__22(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; uint8_t x_4; x_3 = lean_ctor_get(x_2, 0); -x_4 = l_PersistentArray_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__27(x_1, x_3); +x_4 = l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__23(x_1, x_3); if (x_4 == 0) { lean_object* x_5; lean_object* x_6; uint8_t x_7; x_5 = lean_ctor_get(x_2, 1); x_6 = lean_unsigned_to_nat(0u); -x_7 = l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__30(x_1, x_5, x_6); +x_7 = l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__26(x_1, x_5, x_6); return x_7; } else @@ -17405,7 +23122,7 @@ return x_4; } } } -lean_object* l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__25(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Init_Lean_MetavarContext_11__dep___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__21(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { switch (lean_obj_tag(x_3)) { @@ -17417,7 +23134,7 @@ x_5 = lean_ctor_get(x_3, 0); lean_inc(x_5); lean_dec(x_3); x_6 = lean_unsigned_to_nat(0u); -x_7 = l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__6(x_5, x_1, x_6); +x_7 = l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__2(x_5, x_1, x_6); lean_dec(x_5); x_8 = lean_box(x_7); x_9 = lean_alloc_ctor(0, 2, 0); @@ -17446,7 +23163,7 @@ lean_dec(x_12); x_14 = lean_ctor_get(x_13, 1); lean_inc(x_14); lean_dec(x_13); -x_15 = l_PersistentArray_anyM___at_Lean_MetavarContext_mkLambda___spec__26(x_1, x_14); +x_15 = l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__22(x_1, x_14); lean_dec(x_14); x_16 = lean_box(x_15); x_17 = lean_alloc_ctor(0, 2, 0); @@ -17509,13 +23226,13 @@ block_27: { uint8_t x_20; lean_dec(x_19); -x_20 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_4, x_18); +x_20 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_4, x_18); if (x_20 == 0) { lean_object* x_21; lean_object* x_22; x_21 = lean_box(0); lean_inc(x_18); -x_22 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_4, x_18, x_21); +x_22 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_4, x_18, x_21); x_3 = x_18; x_4 = x_22; goto _start; @@ -17641,13 +23358,13 @@ block_50: { uint8_t x_43; lean_dec(x_42); -x_43 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_40, x_37); +x_43 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_40, x_37); if (x_43 == 0) { lean_object* x_44; lean_object* x_45; x_44 = lean_box(0); lean_inc(x_37); -x_45 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_40, x_37, x_44); +x_45 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_40, x_37, x_44); x_3 = x_37; x_4 = x_45; goto _start; @@ -17689,15 +23406,15 @@ block_73: { uint8_t x_65; lean_dec(x_64); -x_65 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_4, x_38); +x_65 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_4, x_38); if (x_65 == 0) { lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; uint8_t x_71; x_66 = lean_box(0); lean_inc(x_38); -x_67 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_4, x_38, x_66); +x_67 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_4, x_38, x_66); lean_inc(x_2); -x_68 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__25(x_1, x_2, x_38, x_67); +x_68 = l___private_Init_Lean_MetavarContext_11__dep___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__21(x_1, x_2, x_38, x_67); x_69 = lean_ctor_get(x_68, 0); lean_inc(x_69); x_70 = lean_ctor_get(x_68, 1); @@ -17822,13 +23539,13 @@ block_93: { uint8_t x_86; lean_dec(x_85); -x_86 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_84, x_82); +x_86 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_84, x_82); if (x_86 == 0) { lean_object* x_87; lean_object* x_88; x_87 = lean_box(0); lean_inc(x_82); -x_88 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_84, x_82, x_87); +x_88 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_84, x_82, x_87); x_3 = x_82; x_4 = x_88; goto _start; @@ -17863,15 +23580,15 @@ block_115: { uint8_t x_107; lean_dec(x_106); -x_107 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_4, x_81); +x_107 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_4, x_81); if (x_107 == 0) { lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; uint8_t x_113; x_108 = lean_box(0); lean_inc(x_81); -x_109 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_4, x_81, x_108); +x_109 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_4, x_81, x_108); lean_inc(x_2); -x_110 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__25(x_1, x_2, x_81, x_109); +x_110 = l___private_Init_Lean_MetavarContext_11__dep___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__21(x_1, x_2, x_81, x_109); x_111 = lean_ctor_get(x_110, 0); lean_inc(x_111); x_112 = lean_ctor_get(x_110, 1); @@ -17996,13 +23713,13 @@ block_135: { uint8_t x_128; lean_dec(x_127); -x_128 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_126, x_124); +x_128 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_126, x_124); if (x_128 == 0) { lean_object* x_129; lean_object* x_130; x_129 = lean_box(0); lean_inc(x_124); -x_130 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_126, x_124, x_129); +x_130 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_126, x_124, x_129); x_3 = x_124; x_4 = x_130; goto _start; @@ -18037,15 +23754,15 @@ block_157: { uint8_t x_149; lean_dec(x_148); -x_149 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_4, x_123); +x_149 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_4, x_123); if (x_149 == 0) { lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; uint8_t x_155; x_150 = lean_box(0); lean_inc(x_123); -x_151 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_4, x_123, x_150); +x_151 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_4, x_123, x_150); lean_inc(x_2); -x_152 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__25(x_1, x_2, x_123, x_151); +x_152 = l___private_Init_Lean_MetavarContext_11__dep___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__21(x_1, x_2, x_123, x_151); x_153 = lean_ctor_get(x_152, 0); lean_inc(x_153); x_154 = lean_ctor_get(x_152, 1); @@ -18172,13 +23889,13 @@ block_178: { uint8_t x_171; lean_dec(x_170); -x_171 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_169, x_167); +x_171 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_169, x_167); if (x_171 == 0) { lean_object* x_172; lean_object* x_173; x_172 = lean_box(0); lean_inc(x_167); -x_173 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_169, x_167, x_172); +x_173 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_169, x_167, x_172); x_3 = x_167; x_4 = x_173; goto _start; @@ -18268,15 +23985,15 @@ block_202: { uint8_t x_194; lean_dec(x_193); -x_194 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_192, x_166); +x_194 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_192, x_166); if (x_194 == 0) { lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; uint8_t x_200; x_195 = lean_box(0); lean_inc(x_166); -x_196 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_192, x_166, x_195); +x_196 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_192, x_166, x_195); lean_inc(x_2); -x_197 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__25(x_1, x_2, x_166, x_196); +x_197 = l___private_Init_Lean_MetavarContext_11__dep___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__21(x_1, x_2, x_166, x_196); x_198 = lean_ctor_get(x_197, 0); lean_inc(x_198); x_199 = lean_ctor_get(x_197, 1); @@ -18303,15 +24020,15 @@ block_220: { uint8_t x_212; lean_dec(x_211); -x_212 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_4, x_165); +x_212 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_4, x_165); if (x_212 == 0) { lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; uint8_t x_218; x_213 = lean_box(0); lean_inc(x_165); -x_214 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_4, x_165, x_213); +x_214 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_4, x_165, x_213); lean_inc(x_2); -x_215 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__25(x_1, x_2, x_165, x_214); +x_215 = l___private_Init_Lean_MetavarContext_11__dep___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__21(x_1, x_2, x_165, x_214); x_216 = lean_ctor_get(x_215, 0); lean_inc(x_216); x_217 = lean_ctor_get(x_215, 1); @@ -18388,13 +24105,13 @@ block_237: { uint8_t x_230; lean_dec(x_229); -x_230 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_4, x_228); +x_230 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_4, x_228); if (x_230 == 0) { lean_object* x_231; lean_object* x_232; x_231 = lean_box(0); lean_inc(x_228); -x_232 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_4, x_228, x_231); +x_232 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_4, x_228, x_231); x_3 = x_228; x_4 = x_232; goto _start; @@ -18467,13 +24184,13 @@ block_256: { uint8_t x_249; lean_dec(x_248); -x_249 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_4, x_247); +x_249 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_4, x_247); if (x_249 == 0) { lean_object* x_250; lean_object* x_251; x_250 = lean_box(0); lean_inc(x_247); -x_251 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_4, x_247, x_250); +x_251 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_4, x_247, x_250); x_3 = x_247; x_4 = x_251; goto _start; @@ -18507,7 +24224,7 @@ return x_268; } } } -uint8_t l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__34(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +uint8_t l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__30(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -18525,7 +24242,7 @@ else { lean_object* x_7; uint8_t x_8; x_7 = lean_array_fget(x_2, x_3); -x_8 = l_PersistentArray_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__33(x_1, x_7); +x_8 = l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__29(x_1, x_7); lean_dec(x_7); if (x_8 == 0) { @@ -18544,7 +24261,7 @@ return x_8; } } } -uint8_t l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__35(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +uint8_t l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__31(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -18580,7 +24297,7 @@ lean_dec(x_7); x_12 = l_Lean_LocalDecl_name(x_11); lean_dec(x_11); x_13 = lean_unsigned_to_nat(0u); -x_14 = l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__6(x_12, x_1, x_13); +x_14 = l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__2(x_12, x_1, x_13); lean_dec(x_12); if (x_14 == 0) { @@ -18600,7 +24317,7 @@ return x_14; } } } -uint8_t l_PersistentArray_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__33(lean_object* x_1, lean_object* x_2) { +uint8_t l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__29(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_2) == 0) @@ -18608,7 +24325,7 @@ if (lean_obj_tag(x_2) == 0) lean_object* x_3; lean_object* x_4; uint8_t x_5; x_3 = lean_ctor_get(x_2, 0); x_4 = lean_unsigned_to_nat(0u); -x_5 = l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__34(x_1, x_3, x_4); +x_5 = l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__30(x_1, x_3, x_4); return x_5; } else @@ -18616,12 +24333,12 @@ else lean_object* x_6; lean_object* x_7; uint8_t x_8; x_6 = lean_ctor_get(x_2, 0); x_7 = lean_unsigned_to_nat(0u); -x_8 = l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__35(x_1, x_6, x_7); +x_8 = l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__31(x_1, x_6, x_7); return x_8; } } } -uint8_t l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__36(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +uint8_t l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__32(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -18657,7 +24374,7 @@ lean_dec(x_7); x_12 = l_Lean_LocalDecl_name(x_11); lean_dec(x_11); x_13 = lean_unsigned_to_nat(0u); -x_14 = l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__6(x_12, x_1, x_13); +x_14 = l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__2(x_12, x_1, x_13); lean_dec(x_12); if (x_14 == 0) { @@ -18677,18 +24394,18 @@ return x_14; } } } -uint8_t l_PersistentArray_anyM___at_Lean_MetavarContext_mkLambda___spec__32(lean_object* x_1, lean_object* x_2) { +uint8_t l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__28(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; uint8_t x_4; x_3 = lean_ctor_get(x_2, 0); -x_4 = l_PersistentArray_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__33(x_1, x_3); +x_4 = l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__29(x_1, x_3); if (x_4 == 0) { lean_object* x_5; lean_object* x_6; uint8_t x_7; x_5 = lean_ctor_get(x_2, 1); x_6 = lean_unsigned_to_nat(0u); -x_7 = l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__36(x_1, x_5, x_6); +x_7 = l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__32(x_1, x_5, x_6); return x_7; } else @@ -18697,7 +24414,7 @@ return x_4; } } } -lean_object* l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__31(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Init_Lean_MetavarContext_11__dep___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__27(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { switch (lean_obj_tag(x_3)) { @@ -18709,7 +24426,7 @@ x_5 = lean_ctor_get(x_3, 0); lean_inc(x_5); lean_dec(x_3); x_6 = lean_unsigned_to_nat(0u); -x_7 = l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__6(x_5, x_1, x_6); +x_7 = l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__2(x_5, x_1, x_6); lean_dec(x_5); x_8 = lean_box(x_7); x_9 = lean_alloc_ctor(0, 2, 0); @@ -18738,7 +24455,7 @@ lean_dec(x_12); x_14 = lean_ctor_get(x_13, 1); lean_inc(x_14); lean_dec(x_13); -x_15 = l_PersistentArray_anyM___at_Lean_MetavarContext_mkLambda___spec__32(x_1, x_14); +x_15 = l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__28(x_1, x_14); lean_dec(x_14); x_16 = lean_box(x_15); x_17 = lean_alloc_ctor(0, 2, 0); @@ -18801,13 +24518,13 @@ block_27: { uint8_t x_20; lean_dec(x_19); -x_20 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_4, x_18); +x_20 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_4, x_18); if (x_20 == 0) { lean_object* x_21; lean_object* x_22; x_21 = lean_box(0); lean_inc(x_18); -x_22 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_4, x_18, x_21); +x_22 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_4, x_18, x_21); x_3 = x_18; x_4 = x_22; goto _start; @@ -18933,13 +24650,13 @@ block_50: { uint8_t x_43; lean_dec(x_42); -x_43 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_40, x_37); +x_43 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_40, x_37); if (x_43 == 0) { lean_object* x_44; lean_object* x_45; x_44 = lean_box(0); lean_inc(x_37); -x_45 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_40, x_37, x_44); +x_45 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_40, x_37, x_44); x_3 = x_37; x_4 = x_45; goto _start; @@ -18981,15 +24698,15 @@ block_73: { uint8_t x_65; lean_dec(x_64); -x_65 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_4, x_38); +x_65 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_4, x_38); if (x_65 == 0) { lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; uint8_t x_71; x_66 = lean_box(0); lean_inc(x_38); -x_67 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_4, x_38, x_66); +x_67 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_4, x_38, x_66); lean_inc(x_2); -x_68 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__31(x_1, x_2, x_38, x_67); +x_68 = l___private_Init_Lean_MetavarContext_11__dep___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__27(x_1, x_2, x_38, x_67); x_69 = lean_ctor_get(x_68, 0); lean_inc(x_69); x_70 = lean_ctor_get(x_68, 1); @@ -19114,13 +24831,13 @@ block_93: { uint8_t x_86; lean_dec(x_85); -x_86 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_84, x_82); +x_86 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_84, x_82); if (x_86 == 0) { lean_object* x_87; lean_object* x_88; x_87 = lean_box(0); lean_inc(x_82); -x_88 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_84, x_82, x_87); +x_88 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_84, x_82, x_87); x_3 = x_82; x_4 = x_88; goto _start; @@ -19155,15 +24872,15 @@ block_115: { uint8_t x_107; lean_dec(x_106); -x_107 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_4, x_81); +x_107 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_4, x_81); if (x_107 == 0) { lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; uint8_t x_113; x_108 = lean_box(0); lean_inc(x_81); -x_109 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_4, x_81, x_108); +x_109 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_4, x_81, x_108); lean_inc(x_2); -x_110 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__31(x_1, x_2, x_81, x_109); +x_110 = l___private_Init_Lean_MetavarContext_11__dep___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__27(x_1, x_2, x_81, x_109); x_111 = lean_ctor_get(x_110, 0); lean_inc(x_111); x_112 = lean_ctor_get(x_110, 1); @@ -19288,13 +25005,13 @@ block_135: { uint8_t x_128; lean_dec(x_127); -x_128 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_126, x_124); +x_128 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_126, x_124); if (x_128 == 0) { lean_object* x_129; lean_object* x_130; x_129 = lean_box(0); lean_inc(x_124); -x_130 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_126, x_124, x_129); +x_130 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_126, x_124, x_129); x_3 = x_124; x_4 = x_130; goto _start; @@ -19329,15 +25046,15 @@ block_157: { uint8_t x_149; lean_dec(x_148); -x_149 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_4, x_123); +x_149 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_4, x_123); if (x_149 == 0) { lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; uint8_t x_155; x_150 = lean_box(0); lean_inc(x_123); -x_151 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_4, x_123, x_150); +x_151 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_4, x_123, x_150); lean_inc(x_2); -x_152 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__31(x_1, x_2, x_123, x_151); +x_152 = l___private_Init_Lean_MetavarContext_11__dep___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__27(x_1, x_2, x_123, x_151); x_153 = lean_ctor_get(x_152, 0); lean_inc(x_153); x_154 = lean_ctor_get(x_152, 1); @@ -19464,13 +25181,13 @@ block_178: { uint8_t x_171; lean_dec(x_170); -x_171 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_169, x_167); +x_171 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_169, x_167); if (x_171 == 0) { lean_object* x_172; lean_object* x_173; x_172 = lean_box(0); lean_inc(x_167); -x_173 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_169, x_167, x_172); +x_173 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_169, x_167, x_172); x_3 = x_167; x_4 = x_173; goto _start; @@ -19560,15 +25277,15 @@ block_202: { uint8_t x_194; lean_dec(x_193); -x_194 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_192, x_166); +x_194 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_192, x_166); if (x_194 == 0) { lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; uint8_t x_200; x_195 = lean_box(0); lean_inc(x_166); -x_196 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_192, x_166, x_195); +x_196 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_192, x_166, x_195); lean_inc(x_2); -x_197 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__31(x_1, x_2, x_166, x_196); +x_197 = l___private_Init_Lean_MetavarContext_11__dep___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__27(x_1, x_2, x_166, x_196); x_198 = lean_ctor_get(x_197, 0); lean_inc(x_198); x_199 = lean_ctor_get(x_197, 1); @@ -19595,15 +25312,15 @@ block_220: { uint8_t x_212; lean_dec(x_211); -x_212 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_4, x_165); +x_212 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_4, x_165); if (x_212 == 0) { lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; uint8_t x_218; x_213 = lean_box(0); lean_inc(x_165); -x_214 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_4, x_165, x_213); +x_214 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_4, x_165, x_213); lean_inc(x_2); -x_215 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__31(x_1, x_2, x_165, x_214); +x_215 = l___private_Init_Lean_MetavarContext_11__dep___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__27(x_1, x_2, x_165, x_214); x_216 = lean_ctor_get(x_215, 0); lean_inc(x_216); x_217 = lean_ctor_get(x_215, 1); @@ -19680,13 +25397,13 @@ block_237: { uint8_t x_230; lean_dec(x_229); -x_230 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_4, x_228); +x_230 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_4, x_228); if (x_230 == 0) { lean_object* x_231; lean_object* x_232; x_231 = lean_box(0); lean_inc(x_228); -x_232 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_4, x_228, x_231); +x_232 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_4, x_228, x_231); x_3 = x_228; x_4 = x_232; goto _start; @@ -19759,13 +25476,13 @@ block_256: { uint8_t x_249; lean_dec(x_248); -x_249 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_4, x_247); +x_249 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_4, x_247); if (x_249 == 0) { lean_object* x_250; lean_object* x_251; x_250 = lean_box(0); lean_inc(x_247); -x_251 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_4, x_247, x_250); +x_251 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_4, x_247, x_250); x_3 = x_247; x_4 = x_251; goto _start; @@ -19799,7 +25516,7 @@ return x_268; } } } -uint8_t l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__40(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +uint8_t l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__36(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -19817,7 +25534,7 @@ else { lean_object* x_7; uint8_t x_8; x_7 = lean_array_fget(x_2, x_3); -x_8 = l_PersistentArray_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__39(x_1, x_7); +x_8 = l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__35(x_1, x_7); lean_dec(x_7); if (x_8 == 0) { @@ -19836,7 +25553,7 @@ return x_8; } } } -uint8_t l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__41(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +uint8_t l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__37(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -19872,7 +25589,7 @@ lean_dec(x_7); x_12 = l_Lean_LocalDecl_name(x_11); lean_dec(x_11); x_13 = lean_unsigned_to_nat(0u); -x_14 = l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__6(x_12, x_1, x_13); +x_14 = l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__2(x_12, x_1, x_13); lean_dec(x_12); if (x_14 == 0) { @@ -19892,7 +25609,7 @@ return x_14; } } } -uint8_t l_PersistentArray_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__39(lean_object* x_1, lean_object* x_2) { +uint8_t l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__35(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_2) == 0) @@ -19900,7 +25617,7 @@ if (lean_obj_tag(x_2) == 0) lean_object* x_3; lean_object* x_4; uint8_t x_5; x_3 = lean_ctor_get(x_2, 0); x_4 = lean_unsigned_to_nat(0u); -x_5 = l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__40(x_1, x_3, x_4); +x_5 = l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__36(x_1, x_3, x_4); return x_5; } else @@ -19908,12 +25625,12 @@ else lean_object* x_6; lean_object* x_7; uint8_t x_8; x_6 = lean_ctor_get(x_2, 0); x_7 = lean_unsigned_to_nat(0u); -x_8 = l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__41(x_1, x_6, x_7); +x_8 = l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__37(x_1, x_6, x_7); return x_8; } } } -uint8_t l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__42(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +uint8_t l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__38(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -19949,7 +25666,7 @@ lean_dec(x_7); x_12 = l_Lean_LocalDecl_name(x_11); lean_dec(x_11); x_13 = lean_unsigned_to_nat(0u); -x_14 = l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__6(x_12, x_1, x_13); +x_14 = l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__2(x_12, x_1, x_13); lean_dec(x_12); if (x_14 == 0) { @@ -19969,18 +25686,18 @@ return x_14; } } } -uint8_t l_PersistentArray_anyM___at_Lean_MetavarContext_mkLambda___spec__38(lean_object* x_1, lean_object* x_2) { +uint8_t l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__34(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; uint8_t x_4; x_3 = lean_ctor_get(x_2, 0); -x_4 = l_PersistentArray_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__39(x_1, x_3); +x_4 = l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__35(x_1, x_3); if (x_4 == 0) { lean_object* x_5; lean_object* x_6; uint8_t x_7; x_5 = lean_ctor_get(x_2, 1); x_6 = lean_unsigned_to_nat(0u); -x_7 = l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__42(x_1, x_5, x_6); +x_7 = l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__38(x_1, x_5, x_6); return x_7; } else @@ -19989,7 +25706,7 @@ return x_4; } } } -lean_object* l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__37(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Init_Lean_MetavarContext_11__dep___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__33(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { switch (lean_obj_tag(x_3)) { @@ -20001,7 +25718,7 @@ x_5 = lean_ctor_get(x_3, 0); lean_inc(x_5); lean_dec(x_3); x_6 = lean_unsigned_to_nat(0u); -x_7 = l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__6(x_5, x_1, x_6); +x_7 = l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__2(x_5, x_1, x_6); lean_dec(x_5); x_8 = lean_box(x_7); x_9 = lean_alloc_ctor(0, 2, 0); @@ -20030,7 +25747,7 @@ lean_dec(x_12); x_14 = lean_ctor_get(x_13, 1); lean_inc(x_14); lean_dec(x_13); -x_15 = l_PersistentArray_anyM___at_Lean_MetavarContext_mkLambda___spec__38(x_1, x_14); +x_15 = l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__34(x_1, x_14); lean_dec(x_14); x_16 = lean_box(x_15); x_17 = lean_alloc_ctor(0, 2, 0); @@ -20093,13 +25810,13 @@ block_27: { uint8_t x_20; lean_dec(x_19); -x_20 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_4, x_18); +x_20 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_4, x_18); if (x_20 == 0) { lean_object* x_21; lean_object* x_22; x_21 = lean_box(0); lean_inc(x_18); -x_22 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_4, x_18, x_21); +x_22 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_4, x_18, x_21); x_3 = x_18; x_4 = x_22; goto _start; @@ -20225,13 +25942,13 @@ block_50: { uint8_t x_43; lean_dec(x_42); -x_43 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_40, x_37); +x_43 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_40, x_37); if (x_43 == 0) { lean_object* x_44; lean_object* x_45; x_44 = lean_box(0); lean_inc(x_37); -x_45 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_40, x_37, x_44); +x_45 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_40, x_37, x_44); x_3 = x_37; x_4 = x_45; goto _start; @@ -20273,15 +25990,15 @@ block_73: { uint8_t x_65; lean_dec(x_64); -x_65 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_4, x_38); +x_65 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_4, x_38); if (x_65 == 0) { lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; uint8_t x_71; x_66 = lean_box(0); lean_inc(x_38); -x_67 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_4, x_38, x_66); +x_67 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_4, x_38, x_66); lean_inc(x_2); -x_68 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__37(x_1, x_2, x_38, x_67); +x_68 = l___private_Init_Lean_MetavarContext_11__dep___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__33(x_1, x_2, x_38, x_67); x_69 = lean_ctor_get(x_68, 0); lean_inc(x_69); x_70 = lean_ctor_get(x_68, 1); @@ -20406,13 +26123,13 @@ block_93: { uint8_t x_86; lean_dec(x_85); -x_86 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_84, x_82); +x_86 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_84, x_82); if (x_86 == 0) { lean_object* x_87; lean_object* x_88; x_87 = lean_box(0); lean_inc(x_82); -x_88 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_84, x_82, x_87); +x_88 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_84, x_82, x_87); x_3 = x_82; x_4 = x_88; goto _start; @@ -20447,15 +26164,15 @@ block_115: { uint8_t x_107; lean_dec(x_106); -x_107 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_4, x_81); +x_107 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_4, x_81); if (x_107 == 0) { lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; uint8_t x_113; x_108 = lean_box(0); lean_inc(x_81); -x_109 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_4, x_81, x_108); +x_109 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_4, x_81, x_108); lean_inc(x_2); -x_110 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__37(x_1, x_2, x_81, x_109); +x_110 = l___private_Init_Lean_MetavarContext_11__dep___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__33(x_1, x_2, x_81, x_109); x_111 = lean_ctor_get(x_110, 0); lean_inc(x_111); x_112 = lean_ctor_get(x_110, 1); @@ -20580,13 +26297,13 @@ block_135: { uint8_t x_128; lean_dec(x_127); -x_128 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_126, x_124); +x_128 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_126, x_124); if (x_128 == 0) { lean_object* x_129; lean_object* x_130; x_129 = lean_box(0); lean_inc(x_124); -x_130 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_126, x_124, x_129); +x_130 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_126, x_124, x_129); x_3 = x_124; x_4 = x_130; goto _start; @@ -20621,15 +26338,15 @@ block_157: { uint8_t x_149; lean_dec(x_148); -x_149 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_4, x_123); +x_149 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_4, x_123); if (x_149 == 0) { lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; uint8_t x_155; x_150 = lean_box(0); lean_inc(x_123); -x_151 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_4, x_123, x_150); +x_151 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_4, x_123, x_150); lean_inc(x_2); -x_152 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__37(x_1, x_2, x_123, x_151); +x_152 = l___private_Init_Lean_MetavarContext_11__dep___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__33(x_1, x_2, x_123, x_151); x_153 = lean_ctor_get(x_152, 0); lean_inc(x_153); x_154 = lean_ctor_get(x_152, 1); @@ -20756,13 +26473,13 @@ block_178: { uint8_t x_171; lean_dec(x_170); -x_171 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_169, x_167); +x_171 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_169, x_167); if (x_171 == 0) { lean_object* x_172; lean_object* x_173; x_172 = lean_box(0); lean_inc(x_167); -x_173 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_169, x_167, x_172); +x_173 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_169, x_167, x_172); x_3 = x_167; x_4 = x_173; goto _start; @@ -20852,15 +26569,15 @@ block_202: { uint8_t x_194; lean_dec(x_193); -x_194 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_192, x_166); +x_194 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_192, x_166); if (x_194 == 0) { lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; uint8_t x_200; x_195 = lean_box(0); lean_inc(x_166); -x_196 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_192, x_166, x_195); +x_196 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_192, x_166, x_195); lean_inc(x_2); -x_197 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__37(x_1, x_2, x_166, x_196); +x_197 = l___private_Init_Lean_MetavarContext_11__dep___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__33(x_1, x_2, x_166, x_196); x_198 = lean_ctor_get(x_197, 0); lean_inc(x_198); x_199 = lean_ctor_get(x_197, 1); @@ -20887,15 +26604,15 @@ block_220: { uint8_t x_212; lean_dec(x_211); -x_212 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_4, x_165); +x_212 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_4, x_165); if (x_212 == 0) { lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; uint8_t x_218; x_213 = lean_box(0); lean_inc(x_165); -x_214 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_4, x_165, x_213); +x_214 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_4, x_165, x_213); lean_inc(x_2); -x_215 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__37(x_1, x_2, x_165, x_214); +x_215 = l___private_Init_Lean_MetavarContext_11__dep___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__33(x_1, x_2, x_165, x_214); x_216 = lean_ctor_get(x_215, 0); lean_inc(x_216); x_217 = lean_ctor_get(x_215, 1); @@ -20972,13 +26689,13 @@ block_237: { uint8_t x_230; lean_dec(x_229); -x_230 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_4, x_228); +x_230 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_4, x_228); if (x_230 == 0) { lean_object* x_231; lean_object* x_232; x_231 = lean_box(0); lean_inc(x_228); -x_232 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_4, x_228, x_231); +x_232 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_4, x_228, x_231); x_3 = x_228; x_4 = x_232; goto _start; @@ -21051,13 +26768,13 @@ block_256: { uint8_t x_249; lean_dec(x_248); -x_249 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_4, x_247); +x_249 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_4, x_247); if (x_249 == 0) { lean_object* x_250; lean_object* x_251; x_250 = lean_box(0); lean_inc(x_247); -x_251 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_4, x_247, x_250); +x_251 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_4, x_247, x_250); x_3 = x_247; x_4 = x_251; goto _start; @@ -21091,7 +26808,7 @@ return x_268; } } } -uint8_t l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__46(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +uint8_t l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__42(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -21109,7 +26826,7 @@ else { lean_object* x_7; uint8_t x_8; x_7 = lean_array_fget(x_2, x_3); -x_8 = l_PersistentArray_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__45(x_1, x_7); +x_8 = l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__41(x_1, x_7); lean_dec(x_7); if (x_8 == 0) { @@ -21128,7 +26845,7 @@ return x_8; } } } -uint8_t l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__47(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +uint8_t l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__43(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -21164,7 +26881,7 @@ lean_dec(x_7); x_12 = l_Lean_LocalDecl_name(x_11); lean_dec(x_11); x_13 = lean_unsigned_to_nat(0u); -x_14 = l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__6(x_12, x_1, x_13); +x_14 = l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__2(x_12, x_1, x_13); lean_dec(x_12); if (x_14 == 0) { @@ -21184,7 +26901,7 @@ return x_14; } } } -uint8_t l_PersistentArray_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__45(lean_object* x_1, lean_object* x_2) { +uint8_t l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__41(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_2) == 0) @@ -21192,7 +26909,7 @@ if (lean_obj_tag(x_2) == 0) lean_object* x_3; lean_object* x_4; uint8_t x_5; x_3 = lean_ctor_get(x_2, 0); x_4 = lean_unsigned_to_nat(0u); -x_5 = l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__46(x_1, x_3, x_4); +x_5 = l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__42(x_1, x_3, x_4); return x_5; } else @@ -21200,12 +26917,12 @@ else lean_object* x_6; lean_object* x_7; uint8_t x_8; x_6 = lean_ctor_get(x_2, 0); x_7 = lean_unsigned_to_nat(0u); -x_8 = l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__47(x_1, x_6, x_7); +x_8 = l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__43(x_1, x_6, x_7); return x_8; } } } -uint8_t l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__48(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +uint8_t l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__44(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -21241,7 +26958,7 @@ lean_dec(x_7); x_12 = l_Lean_LocalDecl_name(x_11); lean_dec(x_11); x_13 = lean_unsigned_to_nat(0u); -x_14 = l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__6(x_12, x_1, x_13); +x_14 = l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__2(x_12, x_1, x_13); lean_dec(x_12); if (x_14 == 0) { @@ -21261,18 +26978,18 @@ return x_14; } } } -uint8_t l_PersistentArray_anyM___at_Lean_MetavarContext_mkLambda___spec__44(lean_object* x_1, lean_object* x_2) { +uint8_t l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__40(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; uint8_t x_4; x_3 = lean_ctor_get(x_2, 0); -x_4 = l_PersistentArray_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__45(x_1, x_3); +x_4 = l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__41(x_1, x_3); if (x_4 == 0) { lean_object* x_5; lean_object* x_6; uint8_t x_7; x_5 = lean_ctor_get(x_2, 1); x_6 = lean_unsigned_to_nat(0u); -x_7 = l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__48(x_1, x_5, x_6); +x_7 = l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__44(x_1, x_5, x_6); return x_7; } else @@ -21281,7 +26998,7 @@ return x_4; } } } -lean_object* l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__43(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Init_Lean_MetavarContext_11__dep___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__39(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { switch (lean_obj_tag(x_3)) { @@ -21293,7 +27010,7 @@ x_5 = lean_ctor_get(x_3, 0); lean_inc(x_5); lean_dec(x_3); x_6 = lean_unsigned_to_nat(0u); -x_7 = l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__6(x_5, x_1, x_6); +x_7 = l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__2(x_5, x_1, x_6); lean_dec(x_5); x_8 = lean_box(x_7); x_9 = lean_alloc_ctor(0, 2, 0); @@ -21322,7 +27039,7 @@ lean_dec(x_12); x_14 = lean_ctor_get(x_13, 1); lean_inc(x_14); lean_dec(x_13); -x_15 = l_PersistentArray_anyM___at_Lean_MetavarContext_mkLambda___spec__44(x_1, x_14); +x_15 = l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__40(x_1, x_14); lean_dec(x_14); x_16 = lean_box(x_15); x_17 = lean_alloc_ctor(0, 2, 0); @@ -21385,13 +27102,13 @@ block_27: { uint8_t x_20; lean_dec(x_19); -x_20 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_4, x_18); +x_20 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_4, x_18); if (x_20 == 0) { lean_object* x_21; lean_object* x_22; x_21 = lean_box(0); lean_inc(x_18); -x_22 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_4, x_18, x_21); +x_22 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_4, x_18, x_21); x_3 = x_18; x_4 = x_22; goto _start; @@ -21517,13 +27234,13 @@ block_50: { uint8_t x_43; lean_dec(x_42); -x_43 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_40, x_37); +x_43 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_40, x_37); if (x_43 == 0) { lean_object* x_44; lean_object* x_45; x_44 = lean_box(0); lean_inc(x_37); -x_45 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_40, x_37, x_44); +x_45 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_40, x_37, x_44); x_3 = x_37; x_4 = x_45; goto _start; @@ -21565,15 +27282,15 @@ block_73: { uint8_t x_65; lean_dec(x_64); -x_65 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_4, x_38); +x_65 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_4, x_38); if (x_65 == 0) { lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; uint8_t x_71; x_66 = lean_box(0); lean_inc(x_38); -x_67 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_4, x_38, x_66); +x_67 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_4, x_38, x_66); lean_inc(x_2); -x_68 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__43(x_1, x_2, x_38, x_67); +x_68 = l___private_Init_Lean_MetavarContext_11__dep___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__39(x_1, x_2, x_38, x_67); x_69 = lean_ctor_get(x_68, 0); lean_inc(x_69); x_70 = lean_ctor_get(x_68, 1); @@ -21698,13 +27415,13 @@ block_93: { uint8_t x_86; lean_dec(x_85); -x_86 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_84, x_82); +x_86 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_84, x_82); if (x_86 == 0) { lean_object* x_87; lean_object* x_88; x_87 = lean_box(0); lean_inc(x_82); -x_88 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_84, x_82, x_87); +x_88 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_84, x_82, x_87); x_3 = x_82; x_4 = x_88; goto _start; @@ -21739,15 +27456,15 @@ block_115: { uint8_t x_107; lean_dec(x_106); -x_107 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_4, x_81); +x_107 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_4, x_81); if (x_107 == 0) { lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; uint8_t x_113; x_108 = lean_box(0); lean_inc(x_81); -x_109 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_4, x_81, x_108); +x_109 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_4, x_81, x_108); lean_inc(x_2); -x_110 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__43(x_1, x_2, x_81, x_109); +x_110 = l___private_Init_Lean_MetavarContext_11__dep___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__39(x_1, x_2, x_81, x_109); x_111 = lean_ctor_get(x_110, 0); lean_inc(x_111); x_112 = lean_ctor_get(x_110, 1); @@ -21872,13 +27589,13 @@ block_135: { uint8_t x_128; lean_dec(x_127); -x_128 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_126, x_124); +x_128 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_126, x_124); if (x_128 == 0) { lean_object* x_129; lean_object* x_130; x_129 = lean_box(0); lean_inc(x_124); -x_130 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_126, x_124, x_129); +x_130 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_126, x_124, x_129); x_3 = x_124; x_4 = x_130; goto _start; @@ -21913,15 +27630,15 @@ block_157: { uint8_t x_149; lean_dec(x_148); -x_149 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_4, x_123); +x_149 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_4, x_123); if (x_149 == 0) { lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; uint8_t x_155; x_150 = lean_box(0); lean_inc(x_123); -x_151 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_4, x_123, x_150); +x_151 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_4, x_123, x_150); lean_inc(x_2); -x_152 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__43(x_1, x_2, x_123, x_151); +x_152 = l___private_Init_Lean_MetavarContext_11__dep___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__39(x_1, x_2, x_123, x_151); x_153 = lean_ctor_get(x_152, 0); lean_inc(x_153); x_154 = lean_ctor_get(x_152, 1); @@ -22048,13 +27765,13 @@ block_178: { uint8_t x_171; lean_dec(x_170); -x_171 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_169, x_167); +x_171 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_169, x_167); if (x_171 == 0) { lean_object* x_172; lean_object* x_173; x_172 = lean_box(0); lean_inc(x_167); -x_173 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_169, x_167, x_172); +x_173 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_169, x_167, x_172); x_3 = x_167; x_4 = x_173; goto _start; @@ -22144,15 +27861,15 @@ block_202: { uint8_t x_194; lean_dec(x_193); -x_194 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_192, x_166); +x_194 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_192, x_166); if (x_194 == 0) { lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; uint8_t x_200; x_195 = lean_box(0); lean_inc(x_166); -x_196 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_192, x_166, x_195); +x_196 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_192, x_166, x_195); lean_inc(x_2); -x_197 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__43(x_1, x_2, x_166, x_196); +x_197 = l___private_Init_Lean_MetavarContext_11__dep___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__39(x_1, x_2, x_166, x_196); x_198 = lean_ctor_get(x_197, 0); lean_inc(x_198); x_199 = lean_ctor_get(x_197, 1); @@ -22179,15 +27896,15 @@ block_220: { uint8_t x_212; lean_dec(x_211); -x_212 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_4, x_165); +x_212 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_4, x_165); if (x_212 == 0) { lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; uint8_t x_218; x_213 = lean_box(0); lean_inc(x_165); -x_214 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_4, x_165, x_213); +x_214 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_4, x_165, x_213); lean_inc(x_2); -x_215 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__43(x_1, x_2, x_165, x_214); +x_215 = l___private_Init_Lean_MetavarContext_11__dep___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__39(x_1, x_2, x_165, x_214); x_216 = lean_ctor_get(x_215, 0); lean_inc(x_216); x_217 = lean_ctor_get(x_215, 1); @@ -22264,13 +27981,13 @@ block_237: { uint8_t x_230; lean_dec(x_229); -x_230 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_4, x_228); +x_230 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_4, x_228); if (x_230 == 0) { lean_object* x_231; lean_object* x_232; x_231 = lean_box(0); lean_inc(x_228); -x_232 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_4, x_228, x_231); +x_232 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_4, x_228, x_231); x_3 = x_228; x_4 = x_232; goto _start; @@ -22343,13 +28060,13 @@ block_256: { uint8_t x_249; lean_dec(x_248); -x_249 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_4, x_247); +x_249 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_4, x_247); if (x_249 == 0) { lean_object* x_250; lean_object* x_251; x_250 = lean_box(0); lean_inc(x_247); -x_251 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_4, x_247, x_250); +x_251 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_4, x_247, x_250); x_3 = x_247; x_4 = x_251; goto _start; @@ -22383,7 +28100,7 @@ return x_268; } } } -uint8_t l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__52(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +uint8_t l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__48(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -22401,7 +28118,7 @@ else { lean_object* x_7; uint8_t x_8; x_7 = lean_array_fget(x_2, x_3); -x_8 = l_PersistentArray_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__51(x_1, x_7); +x_8 = l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__47(x_1, x_7); lean_dec(x_7); if (x_8 == 0) { @@ -22420,7 +28137,7 @@ return x_8; } } } -uint8_t l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__53(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +uint8_t l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__49(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -22456,7 +28173,7 @@ lean_dec(x_7); x_12 = l_Lean_LocalDecl_name(x_11); lean_dec(x_11); x_13 = lean_unsigned_to_nat(0u); -x_14 = l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__6(x_12, x_1, x_13); +x_14 = l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__2(x_12, x_1, x_13); lean_dec(x_12); if (x_14 == 0) { @@ -22476,7 +28193,7 @@ return x_14; } } } -uint8_t l_PersistentArray_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__51(lean_object* x_1, lean_object* x_2) { +uint8_t l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__47(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_2) == 0) @@ -22484,7 +28201,7 @@ if (lean_obj_tag(x_2) == 0) lean_object* x_3; lean_object* x_4; uint8_t x_5; x_3 = lean_ctor_get(x_2, 0); x_4 = lean_unsigned_to_nat(0u); -x_5 = l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__52(x_1, x_3, x_4); +x_5 = l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__48(x_1, x_3, x_4); return x_5; } else @@ -22492,12 +28209,12 @@ else lean_object* x_6; lean_object* x_7; uint8_t x_8; x_6 = lean_ctor_get(x_2, 0); x_7 = lean_unsigned_to_nat(0u); -x_8 = l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__53(x_1, x_6, x_7); +x_8 = l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__49(x_1, x_6, x_7); return x_8; } } } -uint8_t l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__54(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +uint8_t l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__50(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -22533,7 +28250,7 @@ lean_dec(x_7); x_12 = l_Lean_LocalDecl_name(x_11); lean_dec(x_11); x_13 = lean_unsigned_to_nat(0u); -x_14 = l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__6(x_12, x_1, x_13); +x_14 = l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__2(x_12, x_1, x_13); lean_dec(x_12); if (x_14 == 0) { @@ -22553,18 +28270,18 @@ return x_14; } } } -uint8_t l_PersistentArray_anyM___at_Lean_MetavarContext_mkLambda___spec__50(lean_object* x_1, lean_object* x_2) { +uint8_t l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__46(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; uint8_t x_4; x_3 = lean_ctor_get(x_2, 0); -x_4 = l_PersistentArray_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__51(x_1, x_3); +x_4 = l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__47(x_1, x_3); if (x_4 == 0) { lean_object* x_5; lean_object* x_6; uint8_t x_7; x_5 = lean_ctor_get(x_2, 1); x_6 = lean_unsigned_to_nat(0u); -x_7 = l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__54(x_1, x_5, x_6); +x_7 = l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__50(x_1, x_5, x_6); return x_7; } else @@ -22573,7 +28290,7 @@ return x_4; } } } -lean_object* l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__49(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Init_Lean_MetavarContext_11__dep___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__45(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { switch (lean_obj_tag(x_3)) { @@ -22585,7 +28302,7 @@ x_5 = lean_ctor_get(x_3, 0); lean_inc(x_5); lean_dec(x_3); x_6 = lean_unsigned_to_nat(0u); -x_7 = l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__6(x_5, x_1, x_6); +x_7 = l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__2(x_5, x_1, x_6); lean_dec(x_5); x_8 = lean_box(x_7); x_9 = lean_alloc_ctor(0, 2, 0); @@ -22614,7 +28331,7 @@ lean_dec(x_12); x_14 = lean_ctor_get(x_13, 1); lean_inc(x_14); lean_dec(x_13); -x_15 = l_PersistentArray_anyM___at_Lean_MetavarContext_mkLambda___spec__50(x_1, x_14); +x_15 = l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__46(x_1, x_14); lean_dec(x_14); x_16 = lean_box(x_15); x_17 = lean_alloc_ctor(0, 2, 0); @@ -22677,13 +28394,13 @@ block_27: { uint8_t x_20; lean_dec(x_19); -x_20 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_4, x_18); +x_20 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_4, x_18); if (x_20 == 0) { lean_object* x_21; lean_object* x_22; x_21 = lean_box(0); lean_inc(x_18); -x_22 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_4, x_18, x_21); +x_22 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_4, x_18, x_21); x_3 = x_18; x_4 = x_22; goto _start; @@ -22809,13 +28526,13 @@ block_50: { uint8_t x_43; lean_dec(x_42); -x_43 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_40, x_37); +x_43 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_40, x_37); if (x_43 == 0) { lean_object* x_44; lean_object* x_45; x_44 = lean_box(0); lean_inc(x_37); -x_45 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_40, x_37, x_44); +x_45 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_40, x_37, x_44); x_3 = x_37; x_4 = x_45; goto _start; @@ -22857,15 +28574,15 @@ block_73: { uint8_t x_65; lean_dec(x_64); -x_65 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_4, x_38); +x_65 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_4, x_38); if (x_65 == 0) { lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; uint8_t x_71; x_66 = lean_box(0); lean_inc(x_38); -x_67 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_4, x_38, x_66); +x_67 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_4, x_38, x_66); lean_inc(x_2); -x_68 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__49(x_1, x_2, x_38, x_67); +x_68 = l___private_Init_Lean_MetavarContext_11__dep___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__45(x_1, x_2, x_38, x_67); x_69 = lean_ctor_get(x_68, 0); lean_inc(x_69); x_70 = lean_ctor_get(x_68, 1); @@ -22990,13 +28707,13 @@ block_93: { uint8_t x_86; lean_dec(x_85); -x_86 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_84, x_82); +x_86 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_84, x_82); if (x_86 == 0) { lean_object* x_87; lean_object* x_88; x_87 = lean_box(0); lean_inc(x_82); -x_88 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_84, x_82, x_87); +x_88 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_84, x_82, x_87); x_3 = x_82; x_4 = x_88; goto _start; @@ -23031,15 +28748,15 @@ block_115: { uint8_t x_107; lean_dec(x_106); -x_107 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_4, x_81); +x_107 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_4, x_81); if (x_107 == 0) { lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; uint8_t x_113; x_108 = lean_box(0); lean_inc(x_81); -x_109 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_4, x_81, x_108); +x_109 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_4, x_81, x_108); lean_inc(x_2); -x_110 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__49(x_1, x_2, x_81, x_109); +x_110 = l___private_Init_Lean_MetavarContext_11__dep___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__45(x_1, x_2, x_81, x_109); x_111 = lean_ctor_get(x_110, 0); lean_inc(x_111); x_112 = lean_ctor_get(x_110, 1); @@ -23164,13 +28881,13 @@ block_135: { uint8_t x_128; lean_dec(x_127); -x_128 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_126, x_124); +x_128 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_126, x_124); if (x_128 == 0) { lean_object* x_129; lean_object* x_130; x_129 = lean_box(0); lean_inc(x_124); -x_130 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_126, x_124, x_129); +x_130 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_126, x_124, x_129); x_3 = x_124; x_4 = x_130; goto _start; @@ -23205,15 +28922,15 @@ block_157: { uint8_t x_149; lean_dec(x_148); -x_149 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_4, x_123); +x_149 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_4, x_123); if (x_149 == 0) { lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; uint8_t x_155; x_150 = lean_box(0); lean_inc(x_123); -x_151 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_4, x_123, x_150); +x_151 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_4, x_123, x_150); lean_inc(x_2); -x_152 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__49(x_1, x_2, x_123, x_151); +x_152 = l___private_Init_Lean_MetavarContext_11__dep___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__45(x_1, x_2, x_123, x_151); x_153 = lean_ctor_get(x_152, 0); lean_inc(x_153); x_154 = lean_ctor_get(x_152, 1); @@ -23340,13 +29057,13 @@ block_178: { uint8_t x_171; lean_dec(x_170); -x_171 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_169, x_167); +x_171 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_169, x_167); if (x_171 == 0) { lean_object* x_172; lean_object* x_173; x_172 = lean_box(0); lean_inc(x_167); -x_173 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_169, x_167, x_172); +x_173 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_169, x_167, x_172); x_3 = x_167; x_4 = x_173; goto _start; @@ -23436,15 +29153,15 @@ block_202: { uint8_t x_194; lean_dec(x_193); -x_194 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_192, x_166); +x_194 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_192, x_166); if (x_194 == 0) { lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; uint8_t x_200; x_195 = lean_box(0); lean_inc(x_166); -x_196 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_192, x_166, x_195); +x_196 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_192, x_166, x_195); lean_inc(x_2); -x_197 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__49(x_1, x_2, x_166, x_196); +x_197 = l___private_Init_Lean_MetavarContext_11__dep___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__45(x_1, x_2, x_166, x_196); x_198 = lean_ctor_get(x_197, 0); lean_inc(x_198); x_199 = lean_ctor_get(x_197, 1); @@ -23471,15 +29188,15 @@ block_220: { uint8_t x_212; lean_dec(x_211); -x_212 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_4, x_165); +x_212 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_4, x_165); if (x_212 == 0) { lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; uint8_t x_218; x_213 = lean_box(0); lean_inc(x_165); -x_214 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_4, x_165, x_213); +x_214 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_4, x_165, x_213); lean_inc(x_2); -x_215 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__49(x_1, x_2, x_165, x_214); +x_215 = l___private_Init_Lean_MetavarContext_11__dep___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__45(x_1, x_2, x_165, x_214); x_216 = lean_ctor_get(x_215, 0); lean_inc(x_216); x_217 = lean_ctor_get(x_215, 1); @@ -23556,13 +29273,13 @@ block_237: { uint8_t x_230; lean_dec(x_229); -x_230 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_4, x_228); +x_230 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_4, x_228); if (x_230 == 0) { lean_object* x_231; lean_object* x_232; x_231 = lean_box(0); lean_inc(x_228); -x_232 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_4, x_228, x_231); +x_232 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_4, x_228, x_231); x_3 = x_228; x_4 = x_232; goto _start; @@ -23635,13 +29352,13 @@ block_256: { uint8_t x_249; lean_dec(x_248); -x_249 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_4, x_247); +x_249 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_4, x_247); if (x_249 == 0) { lean_object* x_250; lean_object* x_251; x_250 = lean_box(0); lean_inc(x_247); -x_251 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_4, x_247, x_250); +x_251 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_4, x_247, x_250); x_3 = x_247; x_4 = x_251; goto _start; @@ -23675,7 +29392,7 @@ return x_268; } } } -uint8_t l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__58(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +uint8_t l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__54(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -23693,7 +29410,7 @@ else { lean_object* x_7; uint8_t x_8; x_7 = lean_array_fget(x_2, x_3); -x_8 = l_PersistentArray_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__57(x_1, x_7); +x_8 = l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__53(x_1, x_7); lean_dec(x_7); if (x_8 == 0) { @@ -23712,7 +29429,7 @@ return x_8; } } } -uint8_t l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__59(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +uint8_t l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__55(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -23748,7 +29465,7 @@ lean_dec(x_7); x_12 = l_Lean_LocalDecl_name(x_11); lean_dec(x_11); x_13 = lean_unsigned_to_nat(0u); -x_14 = l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__6(x_12, x_1, x_13); +x_14 = l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__2(x_12, x_1, x_13); lean_dec(x_12); if (x_14 == 0) { @@ -23768,7 +29485,7 @@ return x_14; } } } -uint8_t l_PersistentArray_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__57(lean_object* x_1, lean_object* x_2) { +uint8_t l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__53(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_2) == 0) @@ -23776,7 +29493,7 @@ if (lean_obj_tag(x_2) == 0) lean_object* x_3; lean_object* x_4; uint8_t x_5; x_3 = lean_ctor_get(x_2, 0); x_4 = lean_unsigned_to_nat(0u); -x_5 = l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__58(x_1, x_3, x_4); +x_5 = l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__54(x_1, x_3, x_4); return x_5; } else @@ -23784,12 +29501,12 @@ else lean_object* x_6; lean_object* x_7; uint8_t x_8; x_6 = lean_ctor_get(x_2, 0); x_7 = lean_unsigned_to_nat(0u); -x_8 = l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__59(x_1, x_6, x_7); +x_8 = l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__55(x_1, x_6, x_7); return x_8; } } } -uint8_t l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__60(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +uint8_t l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__56(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -23825,7 +29542,7 @@ lean_dec(x_7); x_12 = l_Lean_LocalDecl_name(x_11); lean_dec(x_11); x_13 = lean_unsigned_to_nat(0u); -x_14 = l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__6(x_12, x_1, x_13); +x_14 = l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__2(x_12, x_1, x_13); lean_dec(x_12); if (x_14 == 0) { @@ -23845,18 +29562,18 @@ return x_14; } } } -uint8_t l_PersistentArray_anyM___at_Lean_MetavarContext_mkLambda___spec__56(lean_object* x_1, lean_object* x_2) { +uint8_t l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__52(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; uint8_t x_4; x_3 = lean_ctor_get(x_2, 0); -x_4 = l_PersistentArray_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__57(x_1, x_3); +x_4 = l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__53(x_1, x_3); if (x_4 == 0) { lean_object* x_5; lean_object* x_6; uint8_t x_7; x_5 = lean_ctor_get(x_2, 1); x_6 = lean_unsigned_to_nat(0u); -x_7 = l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__60(x_1, x_5, x_6); +x_7 = l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__56(x_1, x_5, x_6); return x_7; } else @@ -23865,7 +29582,7 @@ return x_4; } } } -lean_object* l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__55(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Init_Lean_MetavarContext_11__dep___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__51(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { switch (lean_obj_tag(x_3)) { @@ -23877,7 +29594,7 @@ x_5 = lean_ctor_get(x_3, 0); lean_inc(x_5); lean_dec(x_3); x_6 = lean_unsigned_to_nat(0u); -x_7 = l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__6(x_5, x_1, x_6); +x_7 = l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__2(x_5, x_1, x_6); lean_dec(x_5); x_8 = lean_box(x_7); x_9 = lean_alloc_ctor(0, 2, 0); @@ -23906,7 +29623,7 @@ lean_dec(x_12); x_14 = lean_ctor_get(x_13, 1); lean_inc(x_14); lean_dec(x_13); -x_15 = l_PersistentArray_anyM___at_Lean_MetavarContext_mkLambda___spec__56(x_1, x_14); +x_15 = l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__52(x_1, x_14); lean_dec(x_14); x_16 = lean_box(x_15); x_17 = lean_alloc_ctor(0, 2, 0); @@ -23969,13 +29686,13 @@ block_27: { uint8_t x_20; lean_dec(x_19); -x_20 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_4, x_18); +x_20 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_4, x_18); if (x_20 == 0) { lean_object* x_21; lean_object* x_22; x_21 = lean_box(0); lean_inc(x_18); -x_22 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_4, x_18, x_21); +x_22 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_4, x_18, x_21); x_3 = x_18; x_4 = x_22; goto _start; @@ -24101,13 +29818,13 @@ block_50: { uint8_t x_43; lean_dec(x_42); -x_43 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_40, x_37); +x_43 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_40, x_37); if (x_43 == 0) { lean_object* x_44; lean_object* x_45; x_44 = lean_box(0); lean_inc(x_37); -x_45 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_40, x_37, x_44); +x_45 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_40, x_37, x_44); x_3 = x_37; x_4 = x_45; goto _start; @@ -24149,15 +29866,15 @@ block_73: { uint8_t x_65; lean_dec(x_64); -x_65 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_4, x_38); +x_65 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_4, x_38); if (x_65 == 0) { lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; uint8_t x_71; x_66 = lean_box(0); lean_inc(x_38); -x_67 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_4, x_38, x_66); +x_67 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_4, x_38, x_66); lean_inc(x_2); -x_68 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__55(x_1, x_2, x_38, x_67); +x_68 = l___private_Init_Lean_MetavarContext_11__dep___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__51(x_1, x_2, x_38, x_67); x_69 = lean_ctor_get(x_68, 0); lean_inc(x_69); x_70 = lean_ctor_get(x_68, 1); @@ -24282,13 +29999,13 @@ block_93: { uint8_t x_86; lean_dec(x_85); -x_86 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_84, x_82); +x_86 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_84, x_82); if (x_86 == 0) { lean_object* x_87; lean_object* x_88; x_87 = lean_box(0); lean_inc(x_82); -x_88 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_84, x_82, x_87); +x_88 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_84, x_82, x_87); x_3 = x_82; x_4 = x_88; goto _start; @@ -24323,15 +30040,15 @@ block_115: { uint8_t x_107; lean_dec(x_106); -x_107 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_4, x_81); +x_107 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_4, x_81); if (x_107 == 0) { lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; uint8_t x_113; x_108 = lean_box(0); lean_inc(x_81); -x_109 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_4, x_81, x_108); +x_109 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_4, x_81, x_108); lean_inc(x_2); -x_110 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__55(x_1, x_2, x_81, x_109); +x_110 = l___private_Init_Lean_MetavarContext_11__dep___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__51(x_1, x_2, x_81, x_109); x_111 = lean_ctor_get(x_110, 0); lean_inc(x_111); x_112 = lean_ctor_get(x_110, 1); @@ -24456,13 +30173,13 @@ block_135: { uint8_t x_128; lean_dec(x_127); -x_128 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_126, x_124); +x_128 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_126, x_124); if (x_128 == 0) { lean_object* x_129; lean_object* x_130; x_129 = lean_box(0); lean_inc(x_124); -x_130 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_126, x_124, x_129); +x_130 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_126, x_124, x_129); x_3 = x_124; x_4 = x_130; goto _start; @@ -24497,15 +30214,15 @@ block_157: { uint8_t x_149; lean_dec(x_148); -x_149 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_4, x_123); +x_149 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_4, x_123); if (x_149 == 0) { lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; uint8_t x_155; x_150 = lean_box(0); lean_inc(x_123); -x_151 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_4, x_123, x_150); +x_151 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_4, x_123, x_150); lean_inc(x_2); -x_152 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__55(x_1, x_2, x_123, x_151); +x_152 = l___private_Init_Lean_MetavarContext_11__dep___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__51(x_1, x_2, x_123, x_151); x_153 = lean_ctor_get(x_152, 0); lean_inc(x_153); x_154 = lean_ctor_get(x_152, 1); @@ -24632,13 +30349,13 @@ block_178: { uint8_t x_171; lean_dec(x_170); -x_171 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_169, x_167); +x_171 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_169, x_167); if (x_171 == 0) { lean_object* x_172; lean_object* x_173; x_172 = lean_box(0); lean_inc(x_167); -x_173 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_169, x_167, x_172); +x_173 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_169, x_167, x_172); x_3 = x_167; x_4 = x_173; goto _start; @@ -24728,15 +30445,15 @@ block_202: { uint8_t x_194; lean_dec(x_193); -x_194 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_192, x_166); +x_194 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_192, x_166); if (x_194 == 0) { lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; uint8_t x_200; x_195 = lean_box(0); lean_inc(x_166); -x_196 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_192, x_166, x_195); +x_196 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_192, x_166, x_195); lean_inc(x_2); -x_197 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__55(x_1, x_2, x_166, x_196); +x_197 = l___private_Init_Lean_MetavarContext_11__dep___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__51(x_1, x_2, x_166, x_196); x_198 = lean_ctor_get(x_197, 0); lean_inc(x_198); x_199 = lean_ctor_get(x_197, 1); @@ -24763,15 +30480,15 @@ block_220: { uint8_t x_212; lean_dec(x_211); -x_212 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_4, x_165); +x_212 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_4, x_165); if (x_212 == 0) { lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; uint8_t x_218; x_213 = lean_box(0); lean_inc(x_165); -x_214 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_4, x_165, x_213); +x_214 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_4, x_165, x_213); lean_inc(x_2); -x_215 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__55(x_1, x_2, x_165, x_214); +x_215 = l___private_Init_Lean_MetavarContext_11__dep___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__51(x_1, x_2, x_165, x_214); x_216 = lean_ctor_get(x_215, 0); lean_inc(x_216); x_217 = lean_ctor_get(x_215, 1); @@ -24848,13 +30565,13 @@ block_237: { uint8_t x_230; lean_dec(x_229); -x_230 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_4, x_228); +x_230 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_4, x_228); if (x_230 == 0) { lean_object* x_231; lean_object* x_232; x_231 = lean_box(0); lean_inc(x_228); -x_232 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_4, x_228, x_231); +x_232 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_4, x_228, x_231); x_3 = x_228; x_4 = x_232; goto _start; @@ -24927,13 +30644,13 @@ block_256: { uint8_t x_249; lean_dec(x_248); -x_249 = l_HashMapImp_contains___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__1(x_4, x_247); +x_249 = l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_10__visit___spec__1(x_4, x_247); if (x_249 == 0) { lean_object* x_250; lean_object* x_251; x_250 = lean_box(0); lean_inc(x_247); -x_251 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_DependsOn_visit___spec__3(x_4, x_247, x_250); +x_251 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_10__visit___spec__3(x_4, x_247, x_250); x_3 = x_247; x_4 = x_251; goto _start; @@ -24967,7 +30684,576 @@ return x_268; } } } -lean_object* l_Lean_LocalContext_foldlFromM___at_Lean_MetavarContext_mkLambda___spec__61___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__61___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_object* x_8; +lean_dec(x_4); +lean_dec(x_1); +x_8 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_8, 0, x_5); +return x_8; +} +else +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_array_fget(x_3, x_4); +lean_inc(x_1); +x_10 = l_PersistentArray_foldlMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__60___rarg(x_1, x_9, x_5); +lean_dec(x_9); +if (lean_obj_tag(x_10) == 0) +{ +uint8_t x_11; +lean_dec(x_4); +lean_dec(x_1); +x_11 = !lean_is_exclusive(x_10); +if (x_11 == 0) +{ +return x_10; +} +else +{ +lean_object* x_12; lean_object* x_13; +x_12 = lean_ctor_get(x_10, 0); +lean_inc(x_12); +lean_dec(x_10); +x_13 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_13, 0, x_12); +return x_13; +} +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_ctor_get(x_10, 0); +lean_inc(x_14); +lean_dec(x_10); +x_15 = lean_unsigned_to_nat(1u); +x_16 = lean_nat_add(x_4, x_15); +lean_dec(x_4); +x_4 = x_16; +x_5 = x_14; +goto _start; +} +} +} +} +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__61(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__61___rarg___boxed), 5, 0); +return x_2; +} +} +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__62___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_object* x_8; +lean_dec(x_4); +lean_dec(x_1); +x_8 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_8, 0, x_5); +return x_8; +} +else +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_array_fget(x_3, x_4); +lean_inc(x_1); +x_10 = lean_apply_2(x_1, x_5, x_9); +if (lean_obj_tag(x_10) == 0) +{ +uint8_t x_11; +lean_dec(x_4); +lean_dec(x_1); +x_11 = !lean_is_exclusive(x_10); +if (x_11 == 0) +{ +return x_10; +} +else +{ +lean_object* x_12; lean_object* x_13; +x_12 = lean_ctor_get(x_10, 0); +lean_inc(x_12); +lean_dec(x_10); +x_13 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_13, 0, x_12); +return x_13; +} +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_ctor_get(x_10, 0); +lean_inc(x_14); +lean_dec(x_10); +x_15 = lean_unsigned_to_nat(1u); +x_16 = lean_nat_add(x_4, x_15); +lean_dec(x_4); +x_4 = x_16; +x_5 = x_14; +goto _start; +} +} +} +} +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__62(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__62___rarg___boxed), 5, 0); +return x_2; +} +} +lean_object* l_PersistentArray_foldlMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__60___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_iterateMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__61___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_iterateMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__62___rarg(x_1, x_7, x_7, x_8, x_3); +return x_9; +} +} +} +lean_object* l_PersistentArray_foldlMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__60(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_PersistentArray_foldlMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__60___rarg___boxed), 3, 0); +return x_2; +} +} +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__63___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_object* x_8; +lean_dec(x_4); +lean_dec(x_1); +x_8 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_8, 0, x_5); +return x_8; +} +else +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_array_fget(x_3, x_4); +lean_inc(x_1); +x_10 = l_PersistentArray_foldlMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__60___rarg(x_1, x_9, x_5); +lean_dec(x_9); +if (lean_obj_tag(x_10) == 0) +{ +uint8_t x_11; +lean_dec(x_4); +lean_dec(x_1); +x_11 = !lean_is_exclusive(x_10); +if (x_11 == 0) +{ +return x_10; +} +else +{ +lean_object* x_12; lean_object* x_13; +x_12 = lean_ctor_get(x_10, 0); +lean_inc(x_12); +lean_dec(x_10); +x_13 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_13, 0, x_12); +return x_13; +} +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_ctor_get(x_10, 0); +lean_inc(x_14); +lean_dec(x_10); +x_15 = lean_unsigned_to_nat(1u); +x_16 = lean_nat_add(x_4, x_15); +lean_dec(x_4); +x_4 = x_16; +x_5 = x_14; +goto _start; +} +} +} +} +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__63(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__63___rarg___boxed), 5, 0); +return x_2; +} +} +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__64___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_object* x_8; +lean_dec(x_4); +lean_dec(x_1); +x_8 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_8, 0, x_5); +return x_8; +} +else +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_array_fget(x_3, x_4); +lean_inc(x_1); +x_10 = lean_apply_2(x_1, x_5, x_9); +if (lean_obj_tag(x_10) == 0) +{ +uint8_t x_11; +lean_dec(x_4); +lean_dec(x_1); +x_11 = !lean_is_exclusive(x_10); +if (x_11 == 0) +{ +return x_10; +} +else +{ +lean_object* x_12; lean_object* x_13; +x_12 = lean_ctor_get(x_10, 0); +lean_inc(x_12); +lean_dec(x_10); +x_13 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_13, 0, x_12); +return x_13; +} +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_ctor_get(x_10, 0); +lean_inc(x_14); +lean_dec(x_10); +x_15 = lean_unsigned_to_nat(1u); +x_16 = lean_nat_add(x_4, x_15); +lean_dec(x_4); +x_4 = x_16; +x_5 = x_14; +goto _start; +} +} +} +} +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__64(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__64___rarg___boxed), 5, 0); +return x_2; +} +} +lean_object* l_PersistentArray_foldlFromMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__59___rarg(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_6; size_t x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; size_t x_11; size_t x_12; size_t x_13; size_t x_14; size_t x_15; size_t x_16; lean_object* x_17; +x_6 = lean_ctor_get(x_2, 0); +x_7 = x_3 >> x_4; +x_8 = lean_usize_to_nat(x_7); +x_9 = l_PersistentArray_getAux___main___rarg___closed__1; +x_10 = lean_array_get(x_9, x_6, x_8); +x_11 = 1; +x_12 = x_11 << x_4; +x_13 = x_12 - x_11; +x_14 = x_3 & x_13; +x_15 = 5; +x_16 = x_4 - x_15; +lean_inc(x_1); +x_17 = l_PersistentArray_foldlFromMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__59___rarg(x_1, x_10, x_14, x_16, x_5); +lean_dec(x_10); +if (lean_obj_tag(x_17) == 0) +{ +uint8_t x_18; +lean_dec(x_8); +lean_dec(x_1); +x_18 = !lean_is_exclusive(x_17); +if (x_18 == 0) +{ +return x_17; +} +else +{ +lean_object* x_19; lean_object* x_20; +x_19 = lean_ctor_get(x_17, 0); +lean_inc(x_19); +lean_dec(x_17); +x_20 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_20, 0, x_19); +return x_20; +} +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_21 = lean_ctor_get(x_17, 0); +lean_inc(x_21); +lean_dec(x_17); +x_22 = lean_unsigned_to_nat(1u); +x_23 = lean_nat_add(x_8, x_22); +lean_dec(x_8); +x_24 = l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__63___rarg(x_1, x_6, x_6, x_23, x_21); +return x_24; +} +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_2, 0); +x_26 = lean_usize_to_nat(x_3); +x_27 = l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__64___rarg(x_1, x_25, x_25, x_26, x_5); +return x_27; +} +} +} +lean_object* l_PersistentArray_foldlFromMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__59(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_PersistentArray_foldlFromMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__59___rarg___boxed), 5, 0); +return x_2; +} +} +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__65___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_object* x_8; +lean_dec(x_4); +lean_dec(x_2); +x_8 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_8, 0, x_5); +return x_8; +} +else +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_array_fget(x_3, x_4); +lean_inc(x_2); +x_10 = lean_apply_2(x_2, x_5, x_9); +if (lean_obj_tag(x_10) == 0) +{ +uint8_t x_11; +lean_dec(x_4); +lean_dec(x_2); +x_11 = !lean_is_exclusive(x_10); +if (x_11 == 0) +{ +return x_10; +} +else +{ +lean_object* x_12; lean_object* x_13; +x_12 = lean_ctor_get(x_10, 0); +lean_inc(x_12); +lean_dec(x_10); +x_13 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_13, 0, x_12); +return x_13; +} +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_ctor_get(x_10, 0); +lean_inc(x_14); +lean_dec(x_10); +x_15 = lean_unsigned_to_nat(1u); +x_16 = lean_nat_add(x_4, x_15); +lean_dec(x_4); +x_4 = x_16; +x_5 = x_14; +goto _start; +} +} +} +} +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__65(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__65___rarg___boxed), 5, 0); +return x_2; +} +} +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__66___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_object* x_8; +lean_dec(x_4); +lean_dec(x_2); +x_8 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_8, 0, x_5); +return x_8; +} +else +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_array_fget(x_3, x_4); +lean_inc(x_2); +x_10 = lean_apply_2(x_2, x_5, x_9); +if (lean_obj_tag(x_10) == 0) +{ +uint8_t x_11; +lean_dec(x_4); +lean_dec(x_2); +x_11 = !lean_is_exclusive(x_10); +if (x_11 == 0) +{ +return x_10; +} +else +{ +lean_object* x_12; lean_object* x_13; +x_12 = lean_ctor_get(x_10, 0); +lean_inc(x_12); +lean_dec(x_10); +x_13 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_13, 0, x_12); +return x_13; +} +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_ctor_get(x_10, 0); +lean_inc(x_14); +lean_dec(x_10); +x_15 = lean_unsigned_to_nat(1u); +x_16 = lean_nat_add(x_4, x_15); +lean_dec(x_4); +x_4 = x_16; +x_5 = x_14; +goto _start; +} +} +} +} +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__66(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__66___rarg___boxed), 5, 0); +return x_2; +} +} +lean_object* l_PersistentArray_foldlFromM___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__58___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; uint8_t x_6; +x_5 = lean_ctor_get(x_1, 3); +x_6 = lean_nat_dec_le(x_5, x_4); +if (x_6 == 0) +{ +lean_object* x_7; size_t x_8; size_t x_9; lean_object* x_10; +x_7 = lean_ctor_get(x_1, 0); +x_8 = lean_usize_of_nat(x_4); +x_9 = lean_ctor_get_usize(x_1, 4); +lean_inc(x_2); +x_10 = l_PersistentArray_foldlFromMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__59___rarg(x_2, x_7, x_8, x_9, x_3); +if (lean_obj_tag(x_10) == 0) +{ +uint8_t x_11; +lean_dec(x_2); +x_11 = !lean_is_exclusive(x_10); +if (x_11 == 0) +{ +return x_10; +} +else +{ +lean_object* x_12; lean_object* x_13; +x_12 = lean_ctor_get(x_10, 0); +lean_inc(x_12); +lean_dec(x_10); +x_13 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_13, 0, x_12); +return x_13; +} +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_14 = lean_ctor_get(x_10, 0); +lean_inc(x_14); +lean_dec(x_10); +x_15 = lean_ctor_get(x_1, 1); +x_16 = lean_unsigned_to_nat(0u); +x_17 = l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__65___rarg(x_1, x_2, x_15, x_16, x_14); +return x_17; +} +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_1, 1); +x_19 = lean_nat_sub(x_4, x_5); +x_20 = l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__66___rarg(x_1, x_2, x_18, x_19, x_3); +return x_20; +} +} +} +lean_object* l_PersistentArray_foldlFromM___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__58(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_PersistentArray_foldlFromM___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__58___rarg___boxed), 4, 0); +return x_2; +} +} +lean_object* l_Lean_LocalContext_foldlFromM___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__57___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { if (lean_obj_tag(x_5) == 0) @@ -24987,7 +31273,7 @@ x_7 = lean_ctor_get(x_5, 0); lean_inc(x_7); lean_dec(x_5); x_18 = lean_unsigned_to_nat(0u); -x_19 = l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__5(x_7, x_2, x_18); +x_19 = l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__1(x_7, x_2, x_18); if (x_19 == 0) { if (lean_obj_tag(x_7) == 0) @@ -25017,7 +31303,7 @@ else { lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; x_25 = l_HashMap_Inhabited___closed__1; -x_26 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__7(x_4, x_3, x_20, x_25); +x_26 = l___private_Init_Lean_MetavarContext_11__dep___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__3(x_4, x_3, x_20, x_25); x_27 = lean_ctor_get(x_26, 0); lean_inc(x_27); lean_dec(x_26); @@ -25031,7 +31317,7 @@ else { lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; x_29 = l_HashMap_Inhabited___closed__1; -x_30 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__13(x_4, x_3, x_20, x_29); +x_30 = l___private_Init_Lean_MetavarContext_11__dep___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__9(x_4, x_3, x_20, x_29); x_31 = lean_ctor_get(x_30, 0); lean_inc(x_31); lean_dec(x_30); @@ -25045,7 +31331,7 @@ else { lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; x_33 = l_HashMap_Inhabited___closed__1; -x_34 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__19(x_4, x_3, x_20, x_33); +x_34 = l___private_Init_Lean_MetavarContext_11__dep___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__15(x_4, x_3, x_20, x_33); x_35 = lean_ctor_get(x_34, 0); lean_inc(x_35); lean_dec(x_34); @@ -25086,7 +31372,7 @@ else lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; uint8_t x_64; x_60 = l_HashMap_Inhabited___closed__1; lean_inc(x_3); -x_61 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__43(x_4, x_3, x_37, x_60); +x_61 = l___private_Init_Lean_MetavarContext_11__dep___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__39(x_4, x_3, x_37, x_60); x_62 = lean_ctor_get(x_61, 0); lean_inc(x_62); x_63 = lean_ctor_get(x_61, 1); @@ -25104,7 +31390,7 @@ else lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; uint8_t x_69; x_65 = l_HashMap_Inhabited___closed__1; lean_inc(x_3); -x_66 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__49(x_4, x_3, x_37, x_65); +x_66 = l___private_Init_Lean_MetavarContext_11__dep___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__45(x_4, x_3, x_37, x_65); x_67 = lean_ctor_get(x_66, 0); lean_inc(x_67); x_68 = lean_ctor_get(x_66, 1); @@ -25122,7 +31408,7 @@ else lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; uint8_t x_74; x_70 = l_HashMap_Inhabited___closed__1; lean_inc(x_3); -x_71 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__55(x_4, x_3, x_37, x_70); +x_71 = l___private_Init_Lean_MetavarContext_11__dep___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__51(x_4, x_3, x_37, x_70); x_72 = lean_ctor_get(x_71, 0); lean_inc(x_72); x_73 = lean_ctor_get(x_71, 1); @@ -25161,7 +31447,7 @@ goto block_17; else { lean_object* x_45; lean_object* x_46; uint8_t x_47; -x_45 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__25(x_4, x_3, x_38, x_40); +x_45 = l___private_Init_Lean_MetavarContext_11__dep___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__21(x_4, x_3, x_38, x_40); x_46 = lean_ctor_get(x_45, 0); lean_inc(x_46); lean_dec(x_45); @@ -25174,7 +31460,7 @@ goto block_17; else { lean_object* x_48; lean_object* x_49; uint8_t x_50; -x_48 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__31(x_4, x_3, x_38, x_40); +x_48 = l___private_Init_Lean_MetavarContext_11__dep___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__27(x_4, x_3, x_38, x_40); x_49 = lean_ctor_get(x_48, 0); lean_inc(x_49); lean_dec(x_48); @@ -25187,7 +31473,7 @@ goto block_17; else { lean_object* x_51; lean_object* x_52; uint8_t x_53; -x_51 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__37(x_4, x_3, x_38, x_40); +x_51 = l___private_Init_Lean_MetavarContext_11__dep___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__33(x_4, x_3, x_38, x_40); x_52 = lean_ctor_get(x_51, 0); lean_inc(x_52); lean_dec(x_51); @@ -25267,22 +31553,22 @@ return x_16; } } } -lean_object* l_Lean_LocalContext_foldlFromM___at_Lean_MetavarContext_mkLambda___spec__61(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_Lean_LocalContext_foldlFromM___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__57(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; x_7 = lean_ctor_get(x_4, 1); -x_8 = lean_alloc_closure((void*)(l_Lean_LocalContext_foldlFromM___at_Lean_MetavarContext_mkLambda___spec__61___lambda__1), 5, 3); +x_8 = lean_alloc_closure((void*)(l_Lean_LocalContext_foldlFromM___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__57___lambda__1), 5, 3); lean_closure_set(x_8, 0, x_2); lean_closure_set(x_8, 1, x_3); lean_closure_set(x_8, 2, x_1); x_9 = l_Lean_LocalDecl_index(x_6); -x_10 = l_PersistentArray_foldlFromM___at_Lean_AbstractMetavarContext_MkBinding_collectDeps___spec__58___rarg(x_7, x_8, x_5, x_9); +x_10 = l_PersistentArray_foldlFromM___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__58___rarg(x_7, x_8, x_5, x_9); lean_dec(x_9); return x_10; } } -lean_object* l_Lean_AbstractMetavarContext_MkBinding_collectDeps___at_Lean_MetavarContext_mkLambda___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l___private_Init_Lean_MetavarContext_17__collectDeps(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; lean_object* x_5; uint8_t x_6; @@ -25293,11 +31579,11 @@ if (x_6 == 0) { lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_inc(x_2); -x_7 = l_Lean_AbstractMetavarContext_MkBinding_getLocalDeclWithSmallestIdx(x_2, x_3); +x_7 = l___private_Init_Lean_MetavarContext_16__getLocalDeclWithSmallestIdx(x_2, x_3); x_8 = lean_mk_empty_array_with_capacity(x_4); lean_dec(x_4); lean_inc(x_2); -x_9 = l_Lean_LocalContext_foldlFromM___at_Lean_MetavarContext_mkLambda___spec__61(x_1, x_2, x_3, x_2, x_8, x_7); +x_9 = l_Lean_LocalContext_foldlFromM___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__57(x_1, x_2, x_3, x_2, x_8, x_7); lean_dec(x_7); lean_dec(x_2); return x_9; @@ -25314,32 +31600,3199 @@ return x_10; } } } -lean_object* l_panicWithPos___at_Lean_MetavarContext_mkLambda___spec__63(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_6 = l_panicWithPos___rarg___closed__1; -x_7 = lean_string_append(x_6, x_1); -x_8 = l_panicWithPos___rarg___closed__2; -x_9 = lean_string_append(x_7, x_8); -x_10 = l_Nat_repr(x_2); -x_11 = lean_string_append(x_9, x_10); +uint8_t x_4; lean_object* x_5; +x_4 = l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__1(x_1, x_2, x_3); +lean_dec(x_2); +lean_dec(x_1); +x_5 = lean_box(x_4); +return x_5; +} +} +lean_object* l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; lean_object* x_5; +x_4 = l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__2(x_1, x_2, x_3); +lean_dec(x_2); +lean_dec(x_1); +x_5 = lean_box(x_4); +return x_5; +} +} +lean_object* l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__6___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___private_Init_Lean_MetavarContext_17__collectDeps___spec__6(x_1, x_2, x_3); +lean_dec(x_2); +lean_dec(x_1); +x_5 = lean_box(x_4); +return x_5; +} +} +lean_object* l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__7___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___private_Init_Lean_MetavarContext_17__collectDeps___spec__7(x_1, x_2, x_3); +lean_dec(x_2); +lean_dec(x_1); +x_5 = lean_box(x_4); +return x_5; +} +} +lean_object* l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__5___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__5(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +x_4 = lean_box(x_3); +return x_4; +} +} +lean_object* l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; lean_object* x_5; +x_4 = l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__8(x_1, x_2, x_3); +lean_dec(x_2); +lean_dec(x_1); +x_5 = lean_box(x_4); +return x_5; +} +} +lean_object* l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__4___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__4(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +x_4 = lean_box(x_3); +return x_4; +} +} +lean_object* l___private_Init_Lean_MetavarContext_11__dep___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l___private_Init_Lean_MetavarContext_11__dep___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__3(x_1, x_2, x_3, x_4); +lean_dec(x_1); +return x_5; +} +} +lean_object* l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__12___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___private_Init_Lean_MetavarContext_17__collectDeps___spec__12(x_1, x_2, x_3); +lean_dec(x_2); +lean_dec(x_1); +x_5 = lean_box(x_4); +return x_5; +} +} +lean_object* l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__13___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___private_Init_Lean_MetavarContext_17__collectDeps___spec__13(x_1, x_2, x_3); +lean_dec(x_2); +lean_dec(x_1); +x_5 = lean_box(x_4); +return x_5; +} +} +lean_object* l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__11___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__11(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +x_4 = lean_box(x_3); +return x_4; +} +} +lean_object* l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___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___private_Init_Lean_MetavarContext_17__collectDeps___spec__14(x_1, x_2, x_3); +lean_dec(x_2); +lean_dec(x_1); +x_5 = lean_box(x_4); +return x_5; +} +} +lean_object* l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__10___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__10(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +x_4 = lean_box(x_3); +return x_4; +} +} +lean_object* l___private_Init_Lean_MetavarContext_11__dep___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l___private_Init_Lean_MetavarContext_11__dep___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__9(x_1, x_2, x_3, x_4); +lean_dec(x_1); +return x_5; +} +} +lean_object* l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__18___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___private_Init_Lean_MetavarContext_17__collectDeps___spec__18(x_1, x_2, x_3); +lean_dec(x_2); +lean_dec(x_1); +x_5 = lean_box(x_4); +return x_5; +} +} +lean_object* l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__19___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___private_Init_Lean_MetavarContext_17__collectDeps___spec__19(x_1, x_2, x_3); +lean_dec(x_2); +lean_dec(x_1); +x_5 = lean_box(x_4); +return x_5; +} +} +lean_object* l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__17___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__17(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +x_4 = lean_box(x_3); +return x_4; +} +} +lean_object* l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__20___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___private_Init_Lean_MetavarContext_17__collectDeps___spec__20(x_1, x_2, x_3); +lean_dec(x_2); +lean_dec(x_1); +x_5 = lean_box(x_4); +return x_5; +} +} +lean_object* l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__16___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__16(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +x_4 = lean_box(x_3); +return x_4; +} +} +lean_object* l___private_Init_Lean_MetavarContext_11__dep___main___at___private_Init_Lean_MetavarContext_17__collectDeps___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___private_Init_Lean_MetavarContext_11__dep___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__15(x_1, x_2, x_3, x_4); +lean_dec(x_1); +return x_5; +} +} +lean_object* l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__24___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___private_Init_Lean_MetavarContext_17__collectDeps___spec__24(x_1, x_2, x_3); +lean_dec(x_2); +lean_dec(x_1); +x_5 = lean_box(x_4); +return x_5; +} +} +lean_object* l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__25___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___private_Init_Lean_MetavarContext_17__collectDeps___spec__25(x_1, x_2, x_3); +lean_dec(x_2); +lean_dec(x_1); +x_5 = lean_box(x_4); +return x_5; +} +} +lean_object* l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__23___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__23(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +x_4 = lean_box(x_3); +return x_4; +} +} +lean_object* l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__26___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___private_Init_Lean_MetavarContext_17__collectDeps___spec__26(x_1, x_2, x_3); +lean_dec(x_2); +lean_dec(x_1); +x_5 = lean_box(x_4); +return x_5; +} +} +lean_object* l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__22___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__22(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +x_4 = lean_box(x_3); +return x_4; +} +} +lean_object* l___private_Init_Lean_MetavarContext_11__dep___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__21___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l___private_Init_Lean_MetavarContext_11__dep___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__21(x_1, x_2, x_3, x_4); +lean_dec(x_1); +return x_5; +} +} +lean_object* l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__30___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___private_Init_Lean_MetavarContext_17__collectDeps___spec__30(x_1, x_2, x_3); +lean_dec(x_2); +lean_dec(x_1); +x_5 = lean_box(x_4); +return x_5; +} +} +lean_object* l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__31___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___private_Init_Lean_MetavarContext_17__collectDeps___spec__31(x_1, x_2, x_3); +lean_dec(x_2); +lean_dec(x_1); +x_5 = lean_box(x_4); +return x_5; +} +} +lean_object* l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__29___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__29(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +x_4 = lean_box(x_3); +return x_4; +} +} +lean_object* l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__32___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___private_Init_Lean_MetavarContext_17__collectDeps___spec__32(x_1, x_2, x_3); +lean_dec(x_2); +lean_dec(x_1); +x_5 = lean_box(x_4); +return x_5; +} +} +lean_object* l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__28___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__28(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +x_4 = lean_box(x_3); +return x_4; +} +} +lean_object* l___private_Init_Lean_MetavarContext_11__dep___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__27___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l___private_Init_Lean_MetavarContext_11__dep___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__27(x_1, x_2, x_3, x_4); +lean_dec(x_1); +return x_5; +} +} +lean_object* l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__36___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___private_Init_Lean_MetavarContext_17__collectDeps___spec__36(x_1, x_2, x_3); +lean_dec(x_2); +lean_dec(x_1); +x_5 = lean_box(x_4); +return x_5; +} +} +lean_object* l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__37___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___private_Init_Lean_MetavarContext_17__collectDeps___spec__37(x_1, x_2, x_3); +lean_dec(x_2); +lean_dec(x_1); +x_5 = lean_box(x_4); +return x_5; +} +} +lean_object* l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__35___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__35(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +x_4 = lean_box(x_3); +return x_4; +} +} +lean_object* l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__38___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___private_Init_Lean_MetavarContext_17__collectDeps___spec__38(x_1, x_2, x_3); +lean_dec(x_2); +lean_dec(x_1); +x_5 = lean_box(x_4); +return x_5; +} +} +lean_object* l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__34___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__34(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +x_4 = lean_box(x_3); +return x_4; +} +} +lean_object* l___private_Init_Lean_MetavarContext_11__dep___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__33___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l___private_Init_Lean_MetavarContext_11__dep___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__33(x_1, x_2, x_3, x_4); +lean_dec(x_1); +return x_5; +} +} +lean_object* l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__42___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___private_Init_Lean_MetavarContext_17__collectDeps___spec__42(x_1, x_2, x_3); +lean_dec(x_2); +lean_dec(x_1); +x_5 = lean_box(x_4); +return x_5; +} +} +lean_object* l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__43___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___private_Init_Lean_MetavarContext_17__collectDeps___spec__43(x_1, x_2, x_3); +lean_dec(x_2); +lean_dec(x_1); +x_5 = lean_box(x_4); +return x_5; +} +} +lean_object* l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__41___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__41(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +x_4 = lean_box(x_3); +return x_4; +} +} +lean_object* l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__44___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___private_Init_Lean_MetavarContext_17__collectDeps___spec__44(x_1, x_2, x_3); +lean_dec(x_2); +lean_dec(x_1); +x_5 = lean_box(x_4); +return x_5; +} +} +lean_object* l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__40___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__40(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +x_4 = lean_box(x_3); +return x_4; +} +} +lean_object* l___private_Init_Lean_MetavarContext_11__dep___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__39___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l___private_Init_Lean_MetavarContext_11__dep___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__39(x_1, x_2, x_3, x_4); +lean_dec(x_1); +return x_5; +} +} +lean_object* l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__48___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___private_Init_Lean_MetavarContext_17__collectDeps___spec__48(x_1, x_2, x_3); +lean_dec(x_2); +lean_dec(x_1); +x_5 = lean_box(x_4); +return x_5; +} +} +lean_object* l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__49___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___private_Init_Lean_MetavarContext_17__collectDeps___spec__49(x_1, x_2, x_3); +lean_dec(x_2); +lean_dec(x_1); +x_5 = lean_box(x_4); +return x_5; +} +} +lean_object* l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__47___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__47(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +x_4 = lean_box(x_3); +return x_4; +} +} +lean_object* l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__50___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___private_Init_Lean_MetavarContext_17__collectDeps___spec__50(x_1, x_2, x_3); +lean_dec(x_2); +lean_dec(x_1); +x_5 = lean_box(x_4); +return x_5; +} +} +lean_object* l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__46___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__46(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +x_4 = lean_box(x_3); +return x_4; +} +} +lean_object* l___private_Init_Lean_MetavarContext_11__dep___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__45___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l___private_Init_Lean_MetavarContext_11__dep___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__45(x_1, x_2, x_3, x_4); +lean_dec(x_1); +return x_5; +} +} +lean_object* l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__54___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___private_Init_Lean_MetavarContext_17__collectDeps___spec__54(x_1, x_2, x_3); +lean_dec(x_2); +lean_dec(x_1); +x_5 = lean_box(x_4); +return x_5; +} +} +lean_object* l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__55___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___private_Init_Lean_MetavarContext_17__collectDeps___spec__55(x_1, x_2, x_3); +lean_dec(x_2); +lean_dec(x_1); +x_5 = lean_box(x_4); +return x_5; +} +} +lean_object* l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__53___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__53(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +x_4 = lean_box(x_3); +return x_4; +} +} +lean_object* l_Array_anyMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__56___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___private_Init_Lean_MetavarContext_17__collectDeps___spec__56(x_1, x_2, x_3); +lean_dec(x_2); +lean_dec(x_1); +x_5 = lean_box(x_4); +return x_5; +} +} +lean_object* l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__52___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__52(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +x_4 = lean_box(x_3); +return x_4; +} +} +lean_object* l___private_Init_Lean_MetavarContext_11__dep___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__51___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l___private_Init_Lean_MetavarContext_11__dep___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__51(x_1, x_2, x_3, x_4); +lean_dec(x_1); +return x_5; +} +} +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__61___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_iterateMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__61___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_iterateMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__62___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_iterateMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__62___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_PersistentArray_foldlMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__60___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_PersistentArray_foldlMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__60___rarg(x_1, x_2, x_3); +lean_dec(x_2); +return x_4; +} +} +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__63___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_iterateMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__63___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_iterateMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__64___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_iterateMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__64___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_PersistentArray_foldlFromMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__59___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +size_t x_6; size_t x_7; lean_object* x_8; +x_6 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_7 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_8 = l_PersistentArray_foldlFromMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__59___rarg(x_1, x_2, x_6, x_7, x_5); +lean_dec(x_2); +return x_8; +} +} +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__65___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_iterateMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__65___rarg(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_3); +lean_dec(x_1); +return x_6; +} +} +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__66___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_iterateMAux___main___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__66___rarg(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_3); +lean_dec(x_1); +return x_6; +} +} +lean_object* l_PersistentArray_foldlFromM___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__58___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_PersistentArray_foldlFromM___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__58___rarg(x_1, x_2, x_3, x_4); +lean_dec(x_4); +lean_dec(x_1); +return x_5; +} +} +lean_object* l_Lean_LocalContext_foldlFromM___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__57___boxed(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_LocalContext_foldlFromM___at___private_Init_Lean_MetavarContext_17__collectDeps___spec__57(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_6); +lean_dec(x_4); +return x_7; +} +} +lean_object* l___private_Init_Data_Array_Basic_3__iterateRevMAux___main___at___private_Init_Lean_MetavarContext_18__reduceLocalContext___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; uint8_t x_7; +x_6 = lean_unsigned_to_nat(0u); +x_7 = lean_nat_dec_eq(x_3, x_6); +if (x_7 == 0) +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_8 = lean_unsigned_to_nat(1u); +x_9 = lean_nat_sub(x_3, x_8); +lean_dec(x_3); +x_10 = lean_array_fget(x_2, x_9); +x_11 = l_Lean_Expr_fvarId_x21(x_10); lean_dec(x_10); -x_12 = l_panicWithPos___rarg___closed__2; -x_13 = lean_string_append(x_11, x_12); -x_14 = l_Nat_repr(x_3); -x_15 = lean_string_append(x_13, x_14); -lean_dec(x_14); -x_16 = l_panicWithPos___rarg___closed__3; -x_17 = lean_string_append(x_15, x_16); -x_18 = lean_string_append(x_17, x_4); -x_19 = l_panicWithPos___at_Lean_AbstractMetavarContext_MkBinding_mkBinding___spec__1___rarg___closed__1; -x_20 = lean_panic_fn(x_18); -x_21 = lean_apply_1(x_20, x_5); +x_12 = lean_local_ctx_erase(x_5, x_11); +x_3 = x_9; +x_4 = lean_box(0); +x_5 = x_12; +goto _start; +} +else +{ +lean_dec(x_3); +return x_5; +} +} +} +lean_object* l___private_Init_Lean_MetavarContext_18__reduceLocalContext(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; +x_3 = lean_array_get_size(x_2); +x_4 = l___private_Init_Data_Array_Basic_3__iterateRevMAux___main___at___private_Init_Lean_MetavarContext_18__reduceLocalContext___spec__1(x_2, x_2, x_3, lean_box(0), x_1); +return x_4; +} +} +lean_object* l___private_Init_Data_Array_Basic_3__iterateRevMAux___main___at___private_Init_Lean_MetavarContext_18__reduceLocalContext___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___private_Init_Data_Array_Basic_3__iterateRevMAux___main___at___private_Init_Lean_MetavarContext_18__reduceLocalContext___spec__1(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_2); +lean_dec(x_1); +return x_6; +} +} +lean_object* l___private_Init_Lean_MetavarContext_18__reduceLocalContext___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l___private_Init_Lean_MetavarContext_18__reduceLocalContext(x_1, x_2); +lean_dec(x_2); +return x_3; +} +} +lean_object* l___private_Init_Lean_MetavarContext_19__visit(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = lean_expr_has_expr_mvar(x_2); +if (x_4 == 0) +{ +uint8_t x_5; +x_5 = lean_expr_has_level_mvar(x_2); +if (x_5 == 0) +{ +lean_object* x_6; +lean_dec(x_1); +x_6 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_6, 0, x_2); +lean_ctor_set(x_6, 1, x_3); +return x_6; +} +else +{ +lean_object* x_7; lean_object* x_8; +x_7 = lean_ctor_get(x_3, 2); +lean_inc(x_7); +x_8 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_7, x_2); +lean_dec(x_7); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; +lean_inc(x_2); +x_9 = lean_apply_2(x_1, x_2, x_3); +if (lean_obj_tag(x_9) == 0) +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) +{ +lean_object* x_11; uint8_t x_12; +x_11 = lean_ctor_get(x_9, 1); +x_12 = !lean_is_exclusive(x_11); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = lean_ctor_get(x_9, 0); +x_14 = lean_ctor_get(x_11, 2); +lean_inc(x_13); +x_15 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_14, x_2, x_13); +lean_ctor_set(x_11, 2, x_15); +return x_9; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_16 = lean_ctor_get(x_9, 0); +x_17 = lean_ctor_get(x_11, 0); +x_18 = lean_ctor_get(x_11, 1); +x_19 = lean_ctor_get(x_11, 2); +lean_inc(x_19); +lean_inc(x_18); +lean_inc(x_17); +lean_dec(x_11); +lean_inc(x_16); +x_20 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_19, x_2, x_16); +x_21 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_21, 0, x_17); +lean_ctor_set(x_21, 1, x_18); +lean_ctor_set(x_21, 2, x_20); +lean_ctor_set(x_9, 1, x_21); +return x_9; +} +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_22 = lean_ctor_get(x_9, 1); +x_23 = lean_ctor_get(x_9, 0); +lean_inc(x_22); +lean_inc(x_23); +lean_dec(x_9); +x_24 = lean_ctor_get(x_22, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_22, 1); +lean_inc(x_25); +x_26 = lean_ctor_get(x_22, 2); +lean_inc(x_26); +if (lean_is_exclusive(x_22)) { + lean_ctor_release(x_22, 0); + lean_ctor_release(x_22, 1); + lean_ctor_release(x_22, 2); + x_27 = x_22; +} else { + lean_dec_ref(x_22); + x_27 = lean_box(0); +} +lean_inc(x_23); +x_28 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_26, x_2, x_23); +if (lean_is_scalar(x_27)) { + x_29 = lean_alloc_ctor(0, 3, 0); +} else { + x_29 = x_27; +} +lean_ctor_set(x_29, 0, x_24); +lean_ctor_set(x_29, 1, x_25); +lean_ctor_set(x_29, 2, x_28); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_23); +lean_ctor_set(x_30, 1, x_29); +return x_30; +} +} +else +{ +uint8_t x_31; +lean_dec(x_2); +x_31 = !lean_is_exclusive(x_9); +if (x_31 == 0) +{ +return x_9; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_9, 0); +x_33 = lean_ctor_get(x_9, 1); +lean_inc(x_33); +lean_inc(x_32); +lean_dec(x_9); +x_34 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_34, 0, x_32); +lean_ctor_set(x_34, 1, x_33); +return x_34; +} +} +} +else +{ +lean_object* x_35; lean_object* x_36; +lean_dec(x_2); +lean_dec(x_1); +x_35 = lean_ctor_get(x_8, 0); +lean_inc(x_35); +lean_dec(x_8); +x_36 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_36, 0, x_35); +lean_ctor_set(x_36, 1, x_3); +return x_36; +} +} +} +else +{ +lean_object* x_37; lean_object* x_38; +x_37 = lean_ctor_get(x_3, 2); +lean_inc(x_37); +x_38 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_37, x_2); +lean_dec(x_37); +if (lean_obj_tag(x_38) == 0) +{ +lean_object* x_39; +lean_inc(x_2); +x_39 = lean_apply_2(x_1, x_2, x_3); +if (lean_obj_tag(x_39) == 0) +{ +uint8_t x_40; +x_40 = !lean_is_exclusive(x_39); +if (x_40 == 0) +{ +lean_object* x_41; uint8_t x_42; +x_41 = lean_ctor_get(x_39, 1); +x_42 = !lean_is_exclusive(x_41); +if (x_42 == 0) +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_43 = lean_ctor_get(x_39, 0); +x_44 = lean_ctor_get(x_41, 2); +lean_inc(x_43); +x_45 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_44, x_2, x_43); +lean_ctor_set(x_41, 2, x_45); +return x_39; +} +else +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_46 = lean_ctor_get(x_39, 0); +x_47 = lean_ctor_get(x_41, 0); +x_48 = lean_ctor_get(x_41, 1); +x_49 = lean_ctor_get(x_41, 2); +lean_inc(x_49); +lean_inc(x_48); +lean_inc(x_47); +lean_dec(x_41); +lean_inc(x_46); +x_50 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_49, x_2, x_46); +x_51 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_51, 0, x_47); +lean_ctor_set(x_51, 1, x_48); +lean_ctor_set(x_51, 2, x_50); +lean_ctor_set(x_39, 1, x_51); +return x_39; +} +} +else +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; +x_52 = lean_ctor_get(x_39, 1); +x_53 = lean_ctor_get(x_39, 0); +lean_inc(x_52); +lean_inc(x_53); +lean_dec(x_39); +x_54 = lean_ctor_get(x_52, 0); +lean_inc(x_54); +x_55 = lean_ctor_get(x_52, 1); +lean_inc(x_55); +x_56 = lean_ctor_get(x_52, 2); +lean_inc(x_56); +if (lean_is_exclusive(x_52)) { + lean_ctor_release(x_52, 0); + lean_ctor_release(x_52, 1); + lean_ctor_release(x_52, 2); + x_57 = x_52; +} else { + lean_dec_ref(x_52); + x_57 = lean_box(0); +} +lean_inc(x_53); +x_58 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_56, x_2, x_53); +if (lean_is_scalar(x_57)) { + x_59 = lean_alloc_ctor(0, 3, 0); +} else { + x_59 = x_57; +} +lean_ctor_set(x_59, 0, x_54); +lean_ctor_set(x_59, 1, x_55); +lean_ctor_set(x_59, 2, x_58); +x_60 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_60, 0, x_53); +lean_ctor_set(x_60, 1, x_59); +return x_60; +} +} +else +{ +uint8_t x_61; +lean_dec(x_2); +x_61 = !lean_is_exclusive(x_39); +if (x_61 == 0) +{ +return x_39; +} +else +{ +lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_62 = lean_ctor_get(x_39, 0); +x_63 = lean_ctor_get(x_39, 1); +lean_inc(x_63); +lean_inc(x_62); +lean_dec(x_39); +x_64 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_64, 0, x_62); +lean_ctor_set(x_64, 1, x_63); +return x_64; +} +} +} +else +{ +lean_object* x_65; lean_object* x_66; +lean_dec(x_2); +lean_dec(x_1); +x_65 = lean_ctor_get(x_38, 0); +lean_inc(x_65); +lean_dec(x_38); +x_66 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_66, 0, x_65); +lean_ctor_set(x_66, 1, x_3); +return x_66; +} +} +} +} +lean_object* l___private_Init_Lean_MetavarContext_20__getMCtx(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_21__getInScope___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; 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); +return x_5; +} +else +{ +lean_object* x_8; lean_object* x_9; uint8_t x_10; lean_object* x_11; lean_object* x_12; +x_8 = lean_array_fget(x_3, x_4); +x_9 = l_Lean_Expr_fvarId_x21(x_8); +x_10 = l_Lean_LocalContext_contains(x_1, x_9); +lean_dec(x_9); +x_11 = lean_unsigned_to_nat(1u); +x_12 = lean_nat_add(x_4, x_11); +lean_dec(x_4); +if (x_10 == 0) +{ +lean_dec(x_8); +x_4 = x_12; +goto _start; +} +else +{ +lean_object* x_14; +x_14 = lean_array_push(x_5, x_8); +x_4 = x_12; +x_5 = x_14; +goto _start; +} +} +} +} +lean_object* l___private_Init_Lean_MetavarContext_21__getInScope(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_3 = lean_unsigned_to_nat(0u); +x_4 = l_Array_empty___closed__1; +x_5 = l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_21__getInScope___spec__1(x_1, x_2, x_2, x_3, x_4); +return x_5; +} +} +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_21__getInScope___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_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_21__getInScope___spec__1(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_6; +} +} +lean_object* l___private_Init_Lean_MetavarContext_21__getInScope___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l___private_Init_Lean_MetavarContext_21__getInScope(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +lean_object* l___private_Init_Lean_MetavarContext_22__withFreshCache___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; +x_3 = !lean_is_exclusive(x_2); +if (x_3 == 0) +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_4 = lean_ctor_get(x_2, 2); +x_5 = l_HashMap_Inhabited___closed__1; +lean_ctor_set(x_2, 2, x_5); +x_6 = lean_apply_1(x_1, x_2); +if (lean_obj_tag(x_6) == 0) +{ +uint8_t x_7; +x_7 = !lean_is_exclusive(x_6); +if (x_7 == 0) +{ +lean_object* x_8; uint8_t x_9; +x_8 = lean_ctor_get(x_6, 1); +x_9 = !lean_is_exclusive(x_8); +if (x_9 == 0) +{ +lean_object* x_10; +x_10 = lean_ctor_get(x_8, 2); +lean_dec(x_10); +lean_ctor_set(x_8, 2, x_4); +return x_6; +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_11 = lean_ctor_get(x_8, 0); +x_12 = lean_ctor_get(x_8, 1); +lean_inc(x_12); +lean_inc(x_11); +lean_dec(x_8); +x_13 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_13, 0, x_11); +lean_ctor_set(x_13, 1, x_12); +lean_ctor_set(x_13, 2, x_4); +lean_ctor_set(x_6, 1, x_13); +return x_6; +} +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_14 = lean_ctor_get(x_6, 1); +x_15 = lean_ctor_get(x_6, 0); +lean_inc(x_14); +lean_inc(x_15); +lean_dec(x_6); +x_16 = lean_ctor_get(x_14, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_14, 1); +lean_inc(x_17); +if (lean_is_exclusive(x_14)) { + lean_ctor_release(x_14, 0); + lean_ctor_release(x_14, 1); + lean_ctor_release(x_14, 2); + x_18 = x_14; +} else { + lean_dec_ref(x_14); + x_18 = lean_box(0); +} +if (lean_is_scalar(x_18)) { + x_19 = lean_alloc_ctor(0, 3, 0); +} else { + x_19 = x_18; +} +lean_ctor_set(x_19, 0, x_16); +lean_ctor_set(x_19, 1, x_17); +lean_ctor_set(x_19, 2, x_4); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_15); +lean_ctor_set(x_20, 1, x_19); +return x_20; +} +} +else +{ +uint8_t x_21; +lean_dec(x_4); +x_21 = !lean_is_exclusive(x_6); +if (x_21 == 0) +{ +return x_6; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_6, 0); +x_23 = lean_ctor_get(x_6, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_6); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_25 = lean_ctor_get(x_2, 0); +x_26 = lean_ctor_get(x_2, 1); +x_27 = lean_ctor_get(x_2, 2); +lean_inc(x_27); +lean_inc(x_26); +lean_inc(x_25); +lean_dec(x_2); +x_28 = l_HashMap_Inhabited___closed__1; +x_29 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_29, 0, x_25); +lean_ctor_set(x_29, 1, x_26); +lean_ctor_set(x_29, 2, x_28); +x_30 = lean_apply_1(x_1, x_29); +if (lean_obj_tag(x_30) == 0) +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_31 = lean_ctor_get(x_30, 1); +lean_inc(x_31); +x_32 = lean_ctor_get(x_30, 0); +lean_inc(x_32); +if (lean_is_exclusive(x_30)) { + lean_ctor_release(x_30, 0); + lean_ctor_release(x_30, 1); + x_33 = x_30; +} else { + lean_dec_ref(x_30); + x_33 = lean_box(0); +} +x_34 = lean_ctor_get(x_31, 0); +lean_inc(x_34); +x_35 = lean_ctor_get(x_31, 1); +lean_inc(x_35); +if (lean_is_exclusive(x_31)) { + lean_ctor_release(x_31, 0); + lean_ctor_release(x_31, 1); + lean_ctor_release(x_31, 2); + x_36 = x_31; +} else { + lean_dec_ref(x_31); + x_36 = lean_box(0); +} +if (lean_is_scalar(x_36)) { + x_37 = lean_alloc_ctor(0, 3, 0); +} else { + x_37 = x_36; +} +lean_ctor_set(x_37, 0, x_34); +lean_ctor_set(x_37, 1, x_35); +lean_ctor_set(x_37, 2, x_27); +if (lean_is_scalar(x_33)) { + x_38 = lean_alloc_ctor(0, 2, 0); +} else { + x_38 = x_33; +} +lean_ctor_set(x_38, 0, x_32); +lean_ctor_set(x_38, 1, x_37); +return x_38; +} +else +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; +lean_dec(x_27); +x_39 = lean_ctor_get(x_30, 0); +lean_inc(x_39); +x_40 = lean_ctor_get(x_30, 1); +lean_inc(x_40); +if (lean_is_exclusive(x_30)) { + lean_ctor_release(x_30, 0); + lean_ctor_release(x_30, 1); + x_41 = x_30; +} else { + lean_dec_ref(x_30); + x_41 = lean_box(0); +} +if (lean_is_scalar(x_41)) { + x_42 = lean_alloc_ctor(1, 2, 0); +} else { + x_42 = x_41; +} +lean_ctor_set(x_42, 0, x_39); +lean_ctor_set(x_42, 1, x_40); +return x_42; +} +} +} +} +lean_object* l___private_Init_Lean_MetavarContext_22__withFreshCache(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l___private_Init_Lean_MetavarContext_22__withFreshCache___rarg), 2, 0); +return x_2; +} +} +lean_object* l_Nat_foldRevMAux___main___at___private_Init_Lean_MetavarContext_23__mkForallAux___spec__2___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_8 = l_Lean_exprIsInhabited; +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); +if (lean_obj_tag(x_10) == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_1); +x_11 = l_Lean_MetavarContext_getDecl___closed__1; +x_12 = lean_unsigned_to_nat(391u); +x_13 = lean_unsigned_to_nat(16u); +x_14 = l_Nat_foldRevAux___main___at_Lean_LocalContext_mkBinding___spec__1___closed__1; +x_15 = l_panicWithPos___at_Lean_MetavarContext_MkBinding_mkBinding___spec__1(x_11, x_12, x_13, x_14, x_7); +return x_15; +} +else +{ +lean_object* x_16; +x_16 = lean_ctor_get(x_10, 0); +lean_inc(x_16); +lean_dec(x_10); +if (lean_obj_tag(x_16) == 0) +{ +lean_object* x_17; lean_object* x_18; uint8_t x_19; lean_object* x_20; lean_object* x_21; uint8_t x_28; +x_17 = lean_ctor_get(x_16, 2); +lean_inc(x_17); +x_18 = lean_ctor_get(x_16, 3); +lean_inc(x_18); +x_19 = lean_ctor_get_uint8(x_16, sizeof(void*)*4); +lean_dec(x_16); +x_28 = lean_expr_has_expr_mvar(x_18); +if (x_28 == 0) +{ +uint8_t x_29; +x_29 = lean_expr_has_level_mvar(x_18); +if (x_29 == 0) +{ +lean_dec(x_6); +x_20 = x_18; +x_21 = x_7; +goto block_27; +} +else +{ +uint8_t x_30; +x_30 = !lean_is_exclusive(x_7); +if (x_30 == 0) +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_7, 2); +x_32 = l_HashMap_Inhabited___closed__1; +lean_ctor_set(x_7, 2, x_32); +lean_inc(x_1); +x_33 = lean_apply_3(x_6, x_1, x_18, x_7); +if (lean_obj_tag(x_33) == 0) +{ +lean_object* x_34; lean_object* x_35; uint8_t x_36; +x_34 = lean_ctor_get(x_33, 1); +lean_inc(x_34); +x_35 = lean_ctor_get(x_33, 0); +lean_inc(x_35); +lean_dec(x_33); +x_36 = !lean_is_exclusive(x_34); +if (x_36 == 0) +{ +lean_object* x_37; +x_37 = lean_ctor_get(x_34, 2); +lean_dec(x_37); +lean_ctor_set(x_34, 2, x_31); +x_20 = x_35; +x_21 = x_34; +goto block_27; +} +else +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_38 = lean_ctor_get(x_34, 0); +x_39 = lean_ctor_get(x_34, 1); +lean_inc(x_39); +lean_inc(x_38); +lean_dec(x_34); +x_40 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_40, 0, x_38); +lean_ctor_set(x_40, 1, x_39); +lean_ctor_set(x_40, 2, x_31); +x_20 = x_35; +x_21 = x_40; +goto block_27; +} +} +else +{ +uint8_t x_41; +lean_dec(x_31); +lean_dec(x_17); +lean_dec(x_5); +lean_dec(x_1); +x_41 = !lean_is_exclusive(x_33); +if (x_41 == 0) +{ +return x_33; +} +else +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_42 = lean_ctor_get(x_33, 0); +x_43 = lean_ctor_get(x_33, 1); +lean_inc(x_43); +lean_inc(x_42); +lean_dec(x_33); +x_44 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_44, 0, x_42); +lean_ctor_set(x_44, 1, x_43); +return x_44; +} +} +} +else +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_45 = lean_ctor_get(x_7, 0); +x_46 = lean_ctor_get(x_7, 1); +x_47 = lean_ctor_get(x_7, 2); +lean_inc(x_47); +lean_inc(x_46); +lean_inc(x_45); +lean_dec(x_7); +x_48 = l_HashMap_Inhabited___closed__1; +x_49 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_49, 0, x_45); +lean_ctor_set(x_49, 1, x_46); +lean_ctor_set(x_49, 2, x_48); +lean_inc(x_1); +x_50 = lean_apply_3(x_6, x_1, x_18, x_49); +if (lean_obj_tag(x_50) == 0) +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_51 = lean_ctor_get(x_50, 1); +lean_inc(x_51); +x_52 = lean_ctor_get(x_50, 0); +lean_inc(x_52); +lean_dec(x_50); +x_53 = lean_ctor_get(x_51, 0); +lean_inc(x_53); +x_54 = lean_ctor_get(x_51, 1); +lean_inc(x_54); +if (lean_is_exclusive(x_51)) { + lean_ctor_release(x_51, 0); + lean_ctor_release(x_51, 1); + lean_ctor_release(x_51, 2); + x_55 = x_51; +} else { + lean_dec_ref(x_51); + x_55 = lean_box(0); +} +if (lean_is_scalar(x_55)) { + x_56 = lean_alloc_ctor(0, 3, 0); +} else { + x_56 = x_55; +} +lean_ctor_set(x_56, 0, x_53); +lean_ctor_set(x_56, 1, x_54); +lean_ctor_set(x_56, 2, x_47); +x_20 = x_52; +x_21 = x_56; +goto block_27; +} +else +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; +lean_dec(x_47); +lean_dec(x_17); +lean_dec(x_5); +lean_dec(x_1); +x_57 = lean_ctor_get(x_50, 0); +lean_inc(x_57); +x_58 = lean_ctor_get(x_50, 1); +lean_inc(x_58); +if (lean_is_exclusive(x_50)) { + lean_ctor_release(x_50, 0); + lean_ctor_release(x_50, 1); + x_59 = x_50; +} else { + lean_dec_ref(x_50); + x_59 = lean_box(0); +} +if (lean_is_scalar(x_59)) { + x_60 = lean_alloc_ctor(1, 2, 0); +} else { + x_60 = x_59; +} +lean_ctor_set(x_60, 0, x_57); +lean_ctor_set(x_60, 1, x_58); +return x_60; +} +} +} +} +else +{ +uint8_t x_61; +x_61 = !lean_is_exclusive(x_7); +if (x_61 == 0) +{ +lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_62 = lean_ctor_get(x_7, 2); +x_63 = l_HashMap_Inhabited___closed__1; +lean_ctor_set(x_7, 2, x_63); +lean_inc(x_1); +x_64 = lean_apply_3(x_6, x_1, x_18, x_7); +if (lean_obj_tag(x_64) == 0) +{ +lean_object* x_65; lean_object* x_66; uint8_t x_67; +x_65 = lean_ctor_get(x_64, 1); +lean_inc(x_65); +x_66 = lean_ctor_get(x_64, 0); +lean_inc(x_66); +lean_dec(x_64); +x_67 = !lean_is_exclusive(x_65); +if (x_67 == 0) +{ +lean_object* x_68; +x_68 = lean_ctor_get(x_65, 2); +lean_dec(x_68); +lean_ctor_set(x_65, 2, x_62); +x_20 = x_66; +x_21 = x_65; +goto block_27; +} +else +{ +lean_object* x_69; lean_object* x_70; lean_object* x_71; +x_69 = lean_ctor_get(x_65, 0); +x_70 = lean_ctor_get(x_65, 1); +lean_inc(x_70); +lean_inc(x_69); +lean_dec(x_65); +x_71 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_71, 0, x_69); +lean_ctor_set(x_71, 1, x_70); +lean_ctor_set(x_71, 2, x_62); +x_20 = x_66; +x_21 = x_71; +goto block_27; +} +} +else +{ +uint8_t x_72; +lean_dec(x_62); +lean_dec(x_17); +lean_dec(x_5); +lean_dec(x_1); +x_72 = !lean_is_exclusive(x_64); +if (x_72 == 0) +{ +return x_64; +} +else +{ +lean_object* x_73; lean_object* x_74; lean_object* x_75; +x_73 = lean_ctor_get(x_64, 0); +x_74 = lean_ctor_get(x_64, 1); +lean_inc(x_74); +lean_inc(x_73); +lean_dec(x_64); +x_75 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_75, 0, x_73); +lean_ctor_set(x_75, 1, x_74); +return x_75; +} +} +} +else +{ +lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; +x_76 = lean_ctor_get(x_7, 0); +x_77 = lean_ctor_get(x_7, 1); +x_78 = lean_ctor_get(x_7, 2); +lean_inc(x_78); +lean_inc(x_77); +lean_inc(x_76); +lean_dec(x_7); +x_79 = l_HashMap_Inhabited___closed__1; +x_80 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_80, 0, x_76); +lean_ctor_set(x_80, 1, x_77); +lean_ctor_set(x_80, 2, x_79); +lean_inc(x_1); +x_81 = lean_apply_3(x_6, x_1, x_18, x_80); +if (lean_obj_tag(x_81) == 0) +{ +lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; +x_82 = lean_ctor_get(x_81, 1); +lean_inc(x_82); +x_83 = lean_ctor_get(x_81, 0); +lean_inc(x_83); +lean_dec(x_81); +x_84 = lean_ctor_get(x_82, 0); +lean_inc(x_84); +x_85 = lean_ctor_get(x_82, 1); +lean_inc(x_85); +if (lean_is_exclusive(x_82)) { + lean_ctor_release(x_82, 0); + lean_ctor_release(x_82, 1); + lean_ctor_release(x_82, 2); + x_86 = x_82; +} else { + lean_dec_ref(x_82); + x_86 = lean_box(0); +} +if (lean_is_scalar(x_86)) { + x_87 = lean_alloc_ctor(0, 3, 0); +} else { + x_87 = x_86; +} +lean_ctor_set(x_87, 0, x_84); +lean_ctor_set(x_87, 1, x_85); +lean_ctor_set(x_87, 2, x_78); +x_20 = x_83; +x_21 = x_87; +goto block_27; +} +else +{ +lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; +lean_dec(x_78); +lean_dec(x_17); +lean_dec(x_5); +lean_dec(x_1); +x_88 = lean_ctor_get(x_81, 0); +lean_inc(x_88); +x_89 = lean_ctor_get(x_81, 1); +lean_inc(x_89); +if (lean_is_exclusive(x_81)) { + lean_ctor_release(x_81, 0); + lean_ctor_release(x_81, 1); + x_90 = x_81; +} else { + lean_dec_ref(x_81); + x_90 = lean_box(0); +} +if (lean_is_scalar(x_90)) { + x_91 = lean_alloc_ctor(1, 2, 0); +} else { + x_91 = x_90; +} +lean_ctor_set(x_91, 0, x_88); +lean_ctor_set(x_91, 1, x_89); +return x_91; +} +} +} +block_27: +{ +lean_object* x_22; +x_22 = lean_expr_abstract_range(x_20, x_2, x_1); +lean_dec(x_1); +lean_dec(x_20); +if (x_4 == 0) +{ +lean_object* x_23; lean_object* x_24; +x_23 = lean_expr_mk_forall(x_17, x_19, x_22, x_5); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_21); +return x_24; +} +else +{ +lean_object* x_25; lean_object* x_26; +x_25 = lean_expr_mk_lambda(x_17, x_19, x_22, x_5); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_21); +return x_26; +} +} +} +else +{ +lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; uint8_t x_204; +x_92 = lean_ctor_get(x_16, 2); +lean_inc(x_92); +x_93 = lean_ctor_get(x_16, 3); +lean_inc(x_93); +x_94 = lean_ctor_get(x_16, 4); +lean_inc(x_94); +lean_dec(x_16); +x_204 = lean_expr_has_expr_mvar(x_93); +if (x_204 == 0) +{ +uint8_t x_205; +x_205 = lean_expr_has_level_mvar(x_93); +if (x_205 == 0) +{ +x_95 = x_93; +x_96 = x_7; +goto block_203; +} +else +{ +uint8_t x_206; +x_206 = !lean_is_exclusive(x_7); +if (x_206 == 0) +{ +lean_object* x_207; lean_object* x_208; lean_object* x_209; +x_207 = lean_ctor_get(x_7, 2); +x_208 = l_HashMap_Inhabited___closed__1; +lean_ctor_set(x_7, 2, x_208); +lean_inc(x_6); +lean_inc(x_1); +x_209 = lean_apply_3(x_6, x_1, x_93, x_7); +if (lean_obj_tag(x_209) == 0) +{ +lean_object* x_210; lean_object* x_211; uint8_t x_212; +x_210 = lean_ctor_get(x_209, 1); +lean_inc(x_210); +x_211 = lean_ctor_get(x_209, 0); +lean_inc(x_211); +lean_dec(x_209); +x_212 = !lean_is_exclusive(x_210); +if (x_212 == 0) +{ +lean_object* x_213; +x_213 = lean_ctor_get(x_210, 2); +lean_dec(x_213); +lean_ctor_set(x_210, 2, x_207); +x_95 = x_211; +x_96 = x_210; +goto block_203; +} +else +{ +lean_object* x_214; lean_object* x_215; lean_object* x_216; +x_214 = lean_ctor_get(x_210, 0); +x_215 = lean_ctor_get(x_210, 1); +lean_inc(x_215); +lean_inc(x_214); +lean_dec(x_210); +x_216 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_216, 0, x_214); +lean_ctor_set(x_216, 1, x_215); +lean_ctor_set(x_216, 2, x_207); +x_95 = x_211; +x_96 = x_216; +goto block_203; +} +} +else +{ +uint8_t x_217; +lean_dec(x_207); +lean_dec(x_94); +lean_dec(x_92); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_1); +x_217 = !lean_is_exclusive(x_209); +if (x_217 == 0) +{ +return x_209; +} +else +{ +lean_object* x_218; lean_object* x_219; lean_object* x_220; +x_218 = lean_ctor_get(x_209, 0); +x_219 = lean_ctor_get(x_209, 1); +lean_inc(x_219); +lean_inc(x_218); +lean_dec(x_209); +x_220 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_220, 0, x_218); +lean_ctor_set(x_220, 1, x_219); +return x_220; +} +} +} +else +{ +lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; +x_221 = lean_ctor_get(x_7, 0); +x_222 = lean_ctor_get(x_7, 1); +x_223 = lean_ctor_get(x_7, 2); +lean_inc(x_223); +lean_inc(x_222); +lean_inc(x_221); +lean_dec(x_7); +x_224 = l_HashMap_Inhabited___closed__1; +x_225 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_225, 0, x_221); +lean_ctor_set(x_225, 1, x_222); +lean_ctor_set(x_225, 2, x_224); +lean_inc(x_6); +lean_inc(x_1); +x_226 = lean_apply_3(x_6, x_1, x_93, x_225); +if (lean_obj_tag(x_226) == 0) +{ +lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; +x_227 = lean_ctor_get(x_226, 1); +lean_inc(x_227); +x_228 = lean_ctor_get(x_226, 0); +lean_inc(x_228); +lean_dec(x_226); +x_229 = lean_ctor_get(x_227, 0); +lean_inc(x_229); +x_230 = lean_ctor_get(x_227, 1); +lean_inc(x_230); +if (lean_is_exclusive(x_227)) { + lean_ctor_release(x_227, 0); + lean_ctor_release(x_227, 1); + lean_ctor_release(x_227, 2); + x_231 = x_227; +} else { + lean_dec_ref(x_227); + x_231 = lean_box(0); +} +if (lean_is_scalar(x_231)) { + x_232 = lean_alloc_ctor(0, 3, 0); +} else { + x_232 = x_231; +} +lean_ctor_set(x_232, 0, x_229); +lean_ctor_set(x_232, 1, x_230); +lean_ctor_set(x_232, 2, x_223); +x_95 = x_228; +x_96 = x_232; +goto block_203; +} +else +{ +lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; +lean_dec(x_223); +lean_dec(x_94); +lean_dec(x_92); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_1); +x_233 = lean_ctor_get(x_226, 0); +lean_inc(x_233); +x_234 = lean_ctor_get(x_226, 1); +lean_inc(x_234); +if (lean_is_exclusive(x_226)) { + lean_ctor_release(x_226, 0); + lean_ctor_release(x_226, 1); + x_235 = x_226; +} else { + lean_dec_ref(x_226); + x_235 = lean_box(0); +} +if (lean_is_scalar(x_235)) { + x_236 = lean_alloc_ctor(1, 2, 0); +} else { + x_236 = x_235; +} +lean_ctor_set(x_236, 0, x_233); +lean_ctor_set(x_236, 1, x_234); +return x_236; +} +} +} +} +else +{ +uint8_t x_237; +x_237 = !lean_is_exclusive(x_7); +if (x_237 == 0) +{ +lean_object* x_238; lean_object* x_239; lean_object* x_240; +x_238 = lean_ctor_get(x_7, 2); +x_239 = l_HashMap_Inhabited___closed__1; +lean_ctor_set(x_7, 2, x_239); +lean_inc(x_6); +lean_inc(x_1); +x_240 = lean_apply_3(x_6, x_1, x_93, x_7); +if (lean_obj_tag(x_240) == 0) +{ +lean_object* x_241; lean_object* x_242; uint8_t x_243; +x_241 = lean_ctor_get(x_240, 1); +lean_inc(x_241); +x_242 = lean_ctor_get(x_240, 0); +lean_inc(x_242); +lean_dec(x_240); +x_243 = !lean_is_exclusive(x_241); +if (x_243 == 0) +{ +lean_object* x_244; +x_244 = lean_ctor_get(x_241, 2); +lean_dec(x_244); +lean_ctor_set(x_241, 2, x_238); +x_95 = x_242; +x_96 = x_241; +goto block_203; +} +else +{ +lean_object* x_245; lean_object* x_246; lean_object* x_247; +x_245 = lean_ctor_get(x_241, 0); +x_246 = lean_ctor_get(x_241, 1); +lean_inc(x_246); +lean_inc(x_245); +lean_dec(x_241); +x_247 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_247, 0, x_245); +lean_ctor_set(x_247, 1, x_246); +lean_ctor_set(x_247, 2, x_238); +x_95 = x_242; +x_96 = x_247; +goto block_203; +} +} +else +{ +uint8_t x_248; +lean_dec(x_238); +lean_dec(x_94); +lean_dec(x_92); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_1); +x_248 = !lean_is_exclusive(x_240); +if (x_248 == 0) +{ +return x_240; +} +else +{ +lean_object* x_249; lean_object* x_250; lean_object* x_251; +x_249 = lean_ctor_get(x_240, 0); +x_250 = lean_ctor_get(x_240, 1); +lean_inc(x_250); +lean_inc(x_249); +lean_dec(x_240); +x_251 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_251, 0, x_249); +lean_ctor_set(x_251, 1, x_250); +return x_251; +} +} +} +else +{ +lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; +x_252 = lean_ctor_get(x_7, 0); +x_253 = lean_ctor_get(x_7, 1); +x_254 = lean_ctor_get(x_7, 2); +lean_inc(x_254); +lean_inc(x_253); +lean_inc(x_252); +lean_dec(x_7); +x_255 = l_HashMap_Inhabited___closed__1; +x_256 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_256, 0, x_252); +lean_ctor_set(x_256, 1, x_253); +lean_ctor_set(x_256, 2, x_255); +lean_inc(x_6); +lean_inc(x_1); +x_257 = lean_apply_3(x_6, x_1, x_93, x_256); +if (lean_obj_tag(x_257) == 0) +{ +lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; +x_258 = lean_ctor_get(x_257, 1); +lean_inc(x_258); +x_259 = lean_ctor_get(x_257, 0); +lean_inc(x_259); +lean_dec(x_257); +x_260 = lean_ctor_get(x_258, 0); +lean_inc(x_260); +x_261 = lean_ctor_get(x_258, 1); +lean_inc(x_261); +if (lean_is_exclusive(x_258)) { + lean_ctor_release(x_258, 0); + lean_ctor_release(x_258, 1); + lean_ctor_release(x_258, 2); + x_262 = x_258; +} else { + lean_dec_ref(x_258); + x_262 = lean_box(0); +} +if (lean_is_scalar(x_262)) { + x_263 = lean_alloc_ctor(0, 3, 0); +} else { + x_263 = x_262; +} +lean_ctor_set(x_263, 0, x_260); +lean_ctor_set(x_263, 1, x_261); +lean_ctor_set(x_263, 2, x_254); +x_95 = x_259; +x_96 = x_263; +goto block_203; +} +else +{ +lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; +lean_dec(x_254); +lean_dec(x_94); +lean_dec(x_92); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_1); +x_264 = lean_ctor_get(x_257, 0); +lean_inc(x_264); +x_265 = lean_ctor_get(x_257, 1); +lean_inc(x_265); +if (lean_is_exclusive(x_257)) { + lean_ctor_release(x_257, 0); + lean_ctor_release(x_257, 1); + x_266 = x_257; +} else { + lean_dec_ref(x_257); + x_266 = lean_box(0); +} +if (lean_is_scalar(x_266)) { + x_267 = lean_alloc_ctor(1, 2, 0); +} else { + x_267 = x_266; +} +lean_ctor_set(x_267, 0, x_264); +lean_ctor_set(x_267, 1, x_265); +return x_267; +} +} +} +block_203: +{ +lean_object* x_97; uint8_t x_98; +x_97 = lean_expr_abstract_range(x_95, x_2, x_1); +lean_dec(x_95); +x_98 = lean_expr_has_expr_mvar(x_94); +if (x_98 == 0) +{ +uint8_t x_99; +x_99 = lean_expr_has_level_mvar(x_94); +if (x_99 == 0) +{ +lean_object* x_100; lean_object* x_101; lean_object* x_102; +lean_dec(x_6); +x_100 = lean_expr_abstract_range(x_94, x_2, x_1); +lean_dec(x_1); +lean_dec(x_94); +x_101 = lean_expr_mk_let(x_92, x_97, x_100, x_5); +x_102 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_102, 0, x_101); +lean_ctor_set(x_102, 1, x_96); +return x_102; +} +else +{ +uint8_t x_103; +x_103 = !lean_is_exclusive(x_96); +if (x_103 == 0) +{ +lean_object* x_104; lean_object* x_105; lean_object* x_106; +x_104 = lean_ctor_get(x_96, 2); +x_105 = l_HashMap_Inhabited___closed__1; +lean_ctor_set(x_96, 2, x_105); +lean_inc(x_1); +x_106 = lean_apply_3(x_6, x_1, x_94, x_96); +if (lean_obj_tag(x_106) == 0) +{ +uint8_t x_107; +x_107 = !lean_is_exclusive(x_106); +if (x_107 == 0) +{ +lean_object* x_108; uint8_t x_109; +x_108 = lean_ctor_get(x_106, 1); +x_109 = !lean_is_exclusive(x_108); +if (x_109 == 0) +{ +lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; +x_110 = lean_ctor_get(x_106, 0); +x_111 = lean_ctor_get(x_108, 2); +lean_dec(x_111); +lean_ctor_set(x_108, 2, x_104); +x_112 = lean_expr_abstract_range(x_110, x_2, x_1); +lean_dec(x_1); +lean_dec(x_110); +x_113 = lean_expr_mk_let(x_92, x_97, x_112, x_5); +lean_ctor_set(x_106, 0, x_113); +return x_106; +} +else +{ +lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; +x_114 = lean_ctor_get(x_106, 0); +x_115 = lean_ctor_get(x_108, 0); +x_116 = lean_ctor_get(x_108, 1); +lean_inc(x_116); +lean_inc(x_115); +lean_dec(x_108); +x_117 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_117, 0, x_115); +lean_ctor_set(x_117, 1, x_116); +lean_ctor_set(x_117, 2, x_104); +x_118 = lean_expr_abstract_range(x_114, x_2, x_1); +lean_dec(x_1); +lean_dec(x_114); +x_119 = lean_expr_mk_let(x_92, x_97, x_118, x_5); +lean_ctor_set(x_106, 1, x_117); +lean_ctor_set(x_106, 0, x_119); +return x_106; +} +} +else +{ +lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; +x_120 = lean_ctor_get(x_106, 1); +x_121 = lean_ctor_get(x_106, 0); +lean_inc(x_120); +lean_inc(x_121); +lean_dec(x_106); +x_122 = lean_ctor_get(x_120, 0); +lean_inc(x_122); +x_123 = lean_ctor_get(x_120, 1); +lean_inc(x_123); +if (lean_is_exclusive(x_120)) { + lean_ctor_release(x_120, 0); + lean_ctor_release(x_120, 1); + lean_ctor_release(x_120, 2); + x_124 = x_120; +} else { + lean_dec_ref(x_120); + x_124 = lean_box(0); +} +if (lean_is_scalar(x_124)) { + x_125 = lean_alloc_ctor(0, 3, 0); +} else { + x_125 = x_124; +} +lean_ctor_set(x_125, 0, x_122); +lean_ctor_set(x_125, 1, x_123); +lean_ctor_set(x_125, 2, x_104); +x_126 = lean_expr_abstract_range(x_121, x_2, x_1); +lean_dec(x_1); +lean_dec(x_121); +x_127 = lean_expr_mk_let(x_92, x_97, x_126, x_5); +x_128 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_128, 0, x_127); +lean_ctor_set(x_128, 1, x_125); +return x_128; +} +} +else +{ +uint8_t x_129; +lean_dec(x_104); +lean_dec(x_97); +lean_dec(x_92); +lean_dec(x_5); +lean_dec(x_1); +x_129 = !lean_is_exclusive(x_106); +if (x_129 == 0) +{ +return x_106; +} +else +{ +lean_object* x_130; lean_object* x_131; lean_object* x_132; +x_130 = lean_ctor_get(x_106, 0); +x_131 = lean_ctor_get(x_106, 1); +lean_inc(x_131); +lean_inc(x_130); +lean_dec(x_106); +x_132 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_132, 0, x_130); +lean_ctor_set(x_132, 1, x_131); +return x_132; +} +} +} +else +{ +lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; +x_133 = lean_ctor_get(x_96, 0); +x_134 = lean_ctor_get(x_96, 1); +x_135 = lean_ctor_get(x_96, 2); +lean_inc(x_135); +lean_inc(x_134); +lean_inc(x_133); +lean_dec(x_96); +x_136 = l_HashMap_Inhabited___closed__1; +x_137 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_137, 0, x_133); +lean_ctor_set(x_137, 1, x_134); +lean_ctor_set(x_137, 2, x_136); +lean_inc(x_1); +x_138 = lean_apply_3(x_6, x_1, x_94, x_137); +if (lean_obj_tag(x_138) == 0) +{ +lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; +x_139 = lean_ctor_get(x_138, 1); +lean_inc(x_139); +x_140 = lean_ctor_get(x_138, 0); +lean_inc(x_140); +if (lean_is_exclusive(x_138)) { + lean_ctor_release(x_138, 0); + lean_ctor_release(x_138, 1); + x_141 = x_138; +} else { + lean_dec_ref(x_138); + x_141 = lean_box(0); +} +x_142 = lean_ctor_get(x_139, 0); +lean_inc(x_142); +x_143 = lean_ctor_get(x_139, 1); +lean_inc(x_143); +if (lean_is_exclusive(x_139)) { + lean_ctor_release(x_139, 0); + lean_ctor_release(x_139, 1); + lean_ctor_release(x_139, 2); + x_144 = x_139; +} else { + lean_dec_ref(x_139); + x_144 = lean_box(0); +} +if (lean_is_scalar(x_144)) { + x_145 = lean_alloc_ctor(0, 3, 0); +} else { + x_145 = x_144; +} +lean_ctor_set(x_145, 0, x_142); +lean_ctor_set(x_145, 1, x_143); +lean_ctor_set(x_145, 2, x_135); +x_146 = lean_expr_abstract_range(x_140, x_2, x_1); +lean_dec(x_1); +lean_dec(x_140); +x_147 = lean_expr_mk_let(x_92, x_97, x_146, x_5); +if (lean_is_scalar(x_141)) { + x_148 = lean_alloc_ctor(0, 2, 0); +} else { + x_148 = x_141; +} +lean_ctor_set(x_148, 0, x_147); +lean_ctor_set(x_148, 1, x_145); +return x_148; +} +else +{ +lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; +lean_dec(x_135); +lean_dec(x_97); +lean_dec(x_92); +lean_dec(x_5); +lean_dec(x_1); +x_149 = lean_ctor_get(x_138, 0); +lean_inc(x_149); +x_150 = lean_ctor_get(x_138, 1); +lean_inc(x_150); +if (lean_is_exclusive(x_138)) { + lean_ctor_release(x_138, 0); + lean_ctor_release(x_138, 1); + x_151 = x_138; +} else { + lean_dec_ref(x_138); + x_151 = lean_box(0); +} +if (lean_is_scalar(x_151)) { + x_152 = lean_alloc_ctor(1, 2, 0); +} else { + x_152 = x_151; +} +lean_ctor_set(x_152, 0, x_149); +lean_ctor_set(x_152, 1, x_150); +return x_152; +} +} +} +} +else +{ +uint8_t x_153; +x_153 = !lean_is_exclusive(x_96); +if (x_153 == 0) +{ +lean_object* x_154; lean_object* x_155; lean_object* x_156; +x_154 = lean_ctor_get(x_96, 2); +x_155 = l_HashMap_Inhabited___closed__1; +lean_ctor_set(x_96, 2, x_155); +lean_inc(x_1); +x_156 = lean_apply_3(x_6, x_1, x_94, x_96); +if (lean_obj_tag(x_156) == 0) +{ +uint8_t x_157; +x_157 = !lean_is_exclusive(x_156); +if (x_157 == 0) +{ +lean_object* x_158; uint8_t x_159; +x_158 = lean_ctor_get(x_156, 1); +x_159 = !lean_is_exclusive(x_158); +if (x_159 == 0) +{ +lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; +x_160 = lean_ctor_get(x_156, 0); +x_161 = lean_ctor_get(x_158, 2); +lean_dec(x_161); +lean_ctor_set(x_158, 2, x_154); +x_162 = lean_expr_abstract_range(x_160, x_2, x_1); +lean_dec(x_1); +lean_dec(x_160); +x_163 = lean_expr_mk_let(x_92, x_97, x_162, x_5); +lean_ctor_set(x_156, 0, x_163); +return x_156; +} +else +{ +lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; +x_164 = lean_ctor_get(x_156, 0); +x_165 = lean_ctor_get(x_158, 0); +x_166 = lean_ctor_get(x_158, 1); +lean_inc(x_166); +lean_inc(x_165); +lean_dec(x_158); +x_167 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_167, 0, x_165); +lean_ctor_set(x_167, 1, x_166); +lean_ctor_set(x_167, 2, x_154); +x_168 = lean_expr_abstract_range(x_164, x_2, x_1); +lean_dec(x_1); +lean_dec(x_164); +x_169 = lean_expr_mk_let(x_92, x_97, x_168, x_5); +lean_ctor_set(x_156, 1, x_167); +lean_ctor_set(x_156, 0, x_169); +return x_156; +} +} +else +{ +lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; +x_170 = lean_ctor_get(x_156, 1); +x_171 = lean_ctor_get(x_156, 0); +lean_inc(x_170); +lean_inc(x_171); +lean_dec(x_156); +x_172 = lean_ctor_get(x_170, 0); +lean_inc(x_172); +x_173 = lean_ctor_get(x_170, 1); +lean_inc(x_173); +if (lean_is_exclusive(x_170)) { + lean_ctor_release(x_170, 0); + lean_ctor_release(x_170, 1); + lean_ctor_release(x_170, 2); + x_174 = x_170; +} else { + lean_dec_ref(x_170); + x_174 = lean_box(0); +} +if (lean_is_scalar(x_174)) { + x_175 = lean_alloc_ctor(0, 3, 0); +} else { + x_175 = x_174; +} +lean_ctor_set(x_175, 0, x_172); +lean_ctor_set(x_175, 1, x_173); +lean_ctor_set(x_175, 2, x_154); +x_176 = lean_expr_abstract_range(x_171, x_2, x_1); +lean_dec(x_1); +lean_dec(x_171); +x_177 = lean_expr_mk_let(x_92, x_97, x_176, x_5); +x_178 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_178, 0, x_177); +lean_ctor_set(x_178, 1, x_175); +return x_178; +} +} +else +{ +uint8_t x_179; +lean_dec(x_154); +lean_dec(x_97); +lean_dec(x_92); +lean_dec(x_5); +lean_dec(x_1); +x_179 = !lean_is_exclusive(x_156); +if (x_179 == 0) +{ +return x_156; +} +else +{ +lean_object* x_180; lean_object* x_181; lean_object* x_182; +x_180 = lean_ctor_get(x_156, 0); +x_181 = lean_ctor_get(x_156, 1); +lean_inc(x_181); +lean_inc(x_180); +lean_dec(x_156); +x_182 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_182, 0, x_180); +lean_ctor_set(x_182, 1, x_181); +return x_182; +} +} +} +else +{ +lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; +x_183 = lean_ctor_get(x_96, 0); +x_184 = lean_ctor_get(x_96, 1); +x_185 = lean_ctor_get(x_96, 2); +lean_inc(x_185); +lean_inc(x_184); +lean_inc(x_183); +lean_dec(x_96); +x_186 = l_HashMap_Inhabited___closed__1; +x_187 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_187, 0, x_183); +lean_ctor_set(x_187, 1, x_184); +lean_ctor_set(x_187, 2, x_186); +lean_inc(x_1); +x_188 = lean_apply_3(x_6, x_1, x_94, x_187); +if (lean_obj_tag(x_188) == 0) +{ +lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; +x_189 = lean_ctor_get(x_188, 1); +lean_inc(x_189); +x_190 = lean_ctor_get(x_188, 0); +lean_inc(x_190); +if (lean_is_exclusive(x_188)) { + lean_ctor_release(x_188, 0); + lean_ctor_release(x_188, 1); + x_191 = x_188; +} else { + lean_dec_ref(x_188); + x_191 = lean_box(0); +} +x_192 = lean_ctor_get(x_189, 0); +lean_inc(x_192); +x_193 = lean_ctor_get(x_189, 1); +lean_inc(x_193); +if (lean_is_exclusive(x_189)) { + lean_ctor_release(x_189, 0); + lean_ctor_release(x_189, 1); + lean_ctor_release(x_189, 2); + x_194 = x_189; +} else { + lean_dec_ref(x_189); + x_194 = lean_box(0); +} +if (lean_is_scalar(x_194)) { + x_195 = lean_alloc_ctor(0, 3, 0); +} else { + x_195 = x_194; +} +lean_ctor_set(x_195, 0, x_192); +lean_ctor_set(x_195, 1, x_193); +lean_ctor_set(x_195, 2, x_185); +x_196 = lean_expr_abstract_range(x_190, x_2, x_1); +lean_dec(x_1); +lean_dec(x_190); +x_197 = lean_expr_mk_let(x_92, x_97, x_196, x_5); +if (lean_is_scalar(x_191)) { + x_198 = lean_alloc_ctor(0, 2, 0); +} else { + x_198 = x_191; +} +lean_ctor_set(x_198, 0, x_197); +lean_ctor_set(x_198, 1, x_195); +return x_198; +} +else +{ +lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; +lean_dec(x_185); +lean_dec(x_97); +lean_dec(x_92); +lean_dec(x_5); +lean_dec(x_1); +x_199 = lean_ctor_get(x_188, 0); +lean_inc(x_199); +x_200 = lean_ctor_get(x_188, 1); +lean_inc(x_200); +if (lean_is_exclusive(x_188)) { + lean_ctor_release(x_188, 0); + lean_ctor_release(x_188, 1); + x_201 = x_188; +} else { + lean_dec_ref(x_188); + x_201 = lean_box(0); +} +if (lean_is_scalar(x_201)) { + x_202 = lean_alloc_ctor(1, 2, 0); +} else { + x_202 = x_201; +} +lean_ctor_set(x_202, 0, x_199); +lean_ctor_set(x_202, 1, x_200); +return x_202; +} +} +} +} +} +} +} +} +lean_object* l_Nat_foldRevMAux___main___at___private_Init_Lean_MetavarContext_23__mkForallAux___spec__2(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; uint8_t x_10; +x_9 = lean_unsigned_to_nat(0u); +x_10 = lean_nat_dec_eq(x_6, x_9); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_11 = lean_unsigned_to_nat(1u); +x_12 = lean_nat_sub(x_6, x_11); +x_13 = lean_ctor_get(x_5, 1); +lean_inc(x_13); +x_14 = lean_box(x_2); +lean_inc(x_1); +lean_inc(x_3); +lean_inc(x_12); +lean_inc(x_4); +x_15 = lean_alloc_closure((void*)(l_Nat_foldRevMAux___main___at___private_Init_Lean_MetavarContext_23__mkForallAux___spec__2___lambda__1___boxed), 7, 6); +lean_closure_set(x_15, 0, x_4); +lean_closure_set(x_15, 1, x_12); +lean_closure_set(x_15, 2, x_3); +lean_closure_set(x_15, 3, x_14); +lean_closure_set(x_15, 4, x_7); +lean_closure_set(x_15, 5, x_1); +x_16 = lean_box(x_2); +x_17 = lean_alloc_closure((void*)(l_Nat_foldRevMAux___main___at___private_Init_Lean_MetavarContext_23__mkForallAux___spec__2___boxed), 8, 6); +lean_closure_set(x_17, 0, x_1); +lean_closure_set(x_17, 1, x_16); +lean_closure_set(x_17, 2, x_3); +lean_closure_set(x_17, 3, x_4); +lean_closure_set(x_17, 4, x_5); +lean_closure_set(x_17, 5, x_12); +x_18 = lean_apply_5(x_13, lean_box(0), lean_box(0), x_15, x_17, x_8); +return x_18; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_19 = lean_ctor_get(x_5, 0); +lean_inc(x_19); +lean_dec(x_5); +x_20 = lean_ctor_get(x_19, 1); +lean_inc(x_20); +lean_dec(x_19); +x_21 = lean_apply_3(x_20, lean_box(0), x_7, x_8); return x_21; } } -lean_object* l_Nat_foldRevMAux___main___at_Lean_MetavarContext_mkLambda___spec__64___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6) { +} +lean_object* l_Lean_MetavarContext_MkBinding_mkBinding___at___private_Init_Lean_MetavarContext_23__mkForallAux___spec__1(lean_object* x_1, uint8_t 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_expr_has_expr_mvar(x_5); +if (x_8 == 0) +{ +uint8_t x_9; +x_9 = lean_expr_has_level_mvar(x_5); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_10 = lean_expr_abstract_range(x_5, x_7, x_4); +lean_dec(x_5); +x_11 = l_EIO_Monad___closed__1; +x_12 = l_Nat_foldRevMAux___main___at___private_Init_Lean_MetavarContext_23__mkForallAux___spec__2(x_1, x_2, x_3, x_4, x_11, x_7, x_10, x_6); +lean_dec(x_7); +return x_12; +} +else +{ +uint8_t x_13; +x_13 = !lean_is_exclusive(x_6); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_ctor_get(x_6, 2); +x_15 = l_HashMap_Inhabited___closed__1; +lean_ctor_set(x_6, 2, x_15); +lean_inc(x_1); +lean_inc(x_4); +x_16 = lean_apply_3(x_1, x_4, x_5, x_6); +if (lean_obj_tag(x_16) == 0) +{ +lean_object* x_17; lean_object* x_18; uint8_t x_19; +x_17 = lean_ctor_get(x_16, 1); +lean_inc(x_17); +x_18 = lean_ctor_get(x_16, 0); +lean_inc(x_18); +lean_dec(x_16); +x_19 = !lean_is_exclusive(x_17); +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_20 = lean_ctor_get(x_17, 2); +lean_dec(x_20); +lean_ctor_set(x_17, 2, x_14); +x_21 = lean_expr_abstract_range(x_18, x_7, x_4); +lean_dec(x_18); +x_22 = l_EIO_Monad___closed__1; +x_23 = l_Nat_foldRevMAux___main___at___private_Init_Lean_MetavarContext_23__mkForallAux___spec__2(x_1, x_2, x_3, x_4, x_22, x_7, x_21, x_17); +lean_dec(x_7); +return x_23; +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_24 = lean_ctor_get(x_17, 0); +x_25 = lean_ctor_get(x_17, 1); +lean_inc(x_25); +lean_inc(x_24); +lean_dec(x_17); +x_26 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_26, 0, x_24); +lean_ctor_set(x_26, 1, x_25); +lean_ctor_set(x_26, 2, x_14); +x_27 = lean_expr_abstract_range(x_18, x_7, x_4); +lean_dec(x_18); +x_28 = l_EIO_Monad___closed__1; +x_29 = l_Nat_foldRevMAux___main___at___private_Init_Lean_MetavarContext_23__mkForallAux___spec__2(x_1, x_2, x_3, x_4, x_28, x_7, x_27, x_26); +lean_dec(x_7); +return x_29; +} +} +else +{ +uint8_t x_30; +lean_dec(x_14); +lean_dec(x_7); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_30 = !lean_is_exclusive(x_16); +if (x_30 == 0) +{ +return x_16; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_16, 0); +x_32 = lean_ctor_get(x_16, 1); +lean_inc(x_32); +lean_inc(x_31); +lean_dec(x_16); +x_33 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_33, 0, x_31); +lean_ctor_set(x_33, 1, x_32); +return x_33; +} +} +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_34 = lean_ctor_get(x_6, 0); +x_35 = lean_ctor_get(x_6, 1); +x_36 = lean_ctor_get(x_6, 2); +lean_inc(x_36); +lean_inc(x_35); +lean_inc(x_34); +lean_dec(x_6); +x_37 = l_HashMap_Inhabited___closed__1; +x_38 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_38, 0, x_34); +lean_ctor_set(x_38, 1, x_35); +lean_ctor_set(x_38, 2, x_37); +lean_inc(x_1); +lean_inc(x_4); +x_39 = lean_apply_3(x_1, x_4, x_5, x_38); +if (lean_obj_tag(x_39) == 0) +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_40 = lean_ctor_get(x_39, 1); +lean_inc(x_40); +x_41 = lean_ctor_get(x_39, 0); +lean_inc(x_41); +lean_dec(x_39); +x_42 = lean_ctor_get(x_40, 0); +lean_inc(x_42); +x_43 = lean_ctor_get(x_40, 1); +lean_inc(x_43); +if (lean_is_exclusive(x_40)) { + lean_ctor_release(x_40, 0); + lean_ctor_release(x_40, 1); + lean_ctor_release(x_40, 2); + x_44 = x_40; +} else { + lean_dec_ref(x_40); + x_44 = lean_box(0); +} +if (lean_is_scalar(x_44)) { + x_45 = lean_alloc_ctor(0, 3, 0); +} else { + x_45 = x_44; +} +lean_ctor_set(x_45, 0, x_42); +lean_ctor_set(x_45, 1, x_43); +lean_ctor_set(x_45, 2, x_36); +x_46 = lean_expr_abstract_range(x_41, x_7, x_4); +lean_dec(x_41); +x_47 = l_EIO_Monad___closed__1; +x_48 = l_Nat_foldRevMAux___main___at___private_Init_Lean_MetavarContext_23__mkForallAux___spec__2(x_1, x_2, x_3, x_4, x_47, x_7, x_46, x_45); +lean_dec(x_7); +return x_48; +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; +lean_dec(x_36); +lean_dec(x_7); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_49 = lean_ctor_get(x_39, 0); +lean_inc(x_49); +x_50 = lean_ctor_get(x_39, 1); +lean_inc(x_50); +if (lean_is_exclusive(x_39)) { + lean_ctor_release(x_39, 0); + lean_ctor_release(x_39, 1); + x_51 = x_39; +} else { + lean_dec_ref(x_39); + x_51 = lean_box(0); +} +if (lean_is_scalar(x_51)) { + x_52 = lean_alloc_ctor(1, 2, 0); +} else { + x_52 = x_51; +} +lean_ctor_set(x_52, 0, x_49); +lean_ctor_set(x_52, 1, x_50); +return x_52; +} +} +} +} +else +{ +uint8_t x_53; +x_53 = !lean_is_exclusive(x_6); +if (x_53 == 0) +{ +lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_54 = lean_ctor_get(x_6, 2); +x_55 = l_HashMap_Inhabited___closed__1; +lean_ctor_set(x_6, 2, x_55); +lean_inc(x_1); +lean_inc(x_4); +x_56 = lean_apply_3(x_1, x_4, x_5, x_6); +if (lean_obj_tag(x_56) == 0) +{ +lean_object* x_57; lean_object* x_58; uint8_t x_59; +x_57 = lean_ctor_get(x_56, 1); +lean_inc(x_57); +x_58 = lean_ctor_get(x_56, 0); +lean_inc(x_58); +lean_dec(x_56); +x_59 = !lean_is_exclusive(x_57); +if (x_59 == 0) +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_60 = lean_ctor_get(x_57, 2); +lean_dec(x_60); +lean_ctor_set(x_57, 2, x_54); +x_61 = lean_expr_abstract_range(x_58, x_7, x_4); +lean_dec(x_58); +x_62 = l_EIO_Monad___closed__1; +x_63 = l_Nat_foldRevMAux___main___at___private_Init_Lean_MetavarContext_23__mkForallAux___spec__2(x_1, x_2, x_3, x_4, x_62, x_7, x_61, x_57); +lean_dec(x_7); +return x_63; +} +else +{ +lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; +x_64 = lean_ctor_get(x_57, 0); +x_65 = lean_ctor_get(x_57, 1); +lean_inc(x_65); +lean_inc(x_64); +lean_dec(x_57); +x_66 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_66, 0, x_64); +lean_ctor_set(x_66, 1, x_65); +lean_ctor_set(x_66, 2, x_54); +x_67 = lean_expr_abstract_range(x_58, x_7, x_4); +lean_dec(x_58); +x_68 = l_EIO_Monad___closed__1; +x_69 = l_Nat_foldRevMAux___main___at___private_Init_Lean_MetavarContext_23__mkForallAux___spec__2(x_1, x_2, x_3, x_4, x_68, x_7, x_67, x_66); +lean_dec(x_7); +return x_69; +} +} +else +{ +uint8_t x_70; +lean_dec(x_54); +lean_dec(x_7); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_70 = !lean_is_exclusive(x_56); +if (x_70 == 0) +{ +return x_56; +} +else +{ +lean_object* x_71; lean_object* x_72; lean_object* x_73; +x_71 = lean_ctor_get(x_56, 0); +x_72 = lean_ctor_get(x_56, 1); +lean_inc(x_72); +lean_inc(x_71); +lean_dec(x_56); +x_73 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_73, 0, x_71); +lean_ctor_set(x_73, 1, x_72); +return x_73; +} +} +} +else +{ +lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; +x_74 = lean_ctor_get(x_6, 0); +x_75 = lean_ctor_get(x_6, 1); +x_76 = lean_ctor_get(x_6, 2); +lean_inc(x_76); +lean_inc(x_75); +lean_inc(x_74); +lean_dec(x_6); +x_77 = l_HashMap_Inhabited___closed__1; +x_78 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_78, 0, x_74); +lean_ctor_set(x_78, 1, x_75); +lean_ctor_set(x_78, 2, x_77); +lean_inc(x_1); +lean_inc(x_4); +x_79 = lean_apply_3(x_1, x_4, x_5, x_78); +if (lean_obj_tag(x_79) == 0) +{ +lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; +x_80 = lean_ctor_get(x_79, 1); +lean_inc(x_80); +x_81 = lean_ctor_get(x_79, 0); +lean_inc(x_81); +lean_dec(x_79); +x_82 = lean_ctor_get(x_80, 0); +lean_inc(x_82); +x_83 = lean_ctor_get(x_80, 1); +lean_inc(x_83); +if (lean_is_exclusive(x_80)) { + lean_ctor_release(x_80, 0); + lean_ctor_release(x_80, 1); + lean_ctor_release(x_80, 2); + x_84 = x_80; +} else { + lean_dec_ref(x_80); + x_84 = lean_box(0); +} +if (lean_is_scalar(x_84)) { + x_85 = lean_alloc_ctor(0, 3, 0); +} else { + x_85 = x_84; +} +lean_ctor_set(x_85, 0, x_82); +lean_ctor_set(x_85, 1, x_83); +lean_ctor_set(x_85, 2, x_76); +x_86 = lean_expr_abstract_range(x_81, x_7, x_4); +lean_dec(x_81); +x_87 = l_EIO_Monad___closed__1; +x_88 = l_Nat_foldRevMAux___main___at___private_Init_Lean_MetavarContext_23__mkForallAux___spec__2(x_1, x_2, x_3, x_4, x_87, x_7, x_86, x_85); +lean_dec(x_7); +return x_88; +} +else +{ +lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; +lean_dec(x_76); +lean_dec(x_7); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_89 = lean_ctor_get(x_79, 0); +lean_inc(x_89); +x_90 = lean_ctor_get(x_79, 1); +lean_inc(x_90); +if (lean_is_exclusive(x_79)) { + lean_ctor_release(x_79, 0); + lean_ctor_release(x_79, 1); + x_91 = x_79; +} else { + lean_dec_ref(x_79); + x_91 = lean_box(0); +} +if (lean_is_scalar(x_91)) { + x_92 = lean_alloc_ctor(1, 2, 0); +} else { + x_92 = x_91; +} +lean_ctor_set(x_92, 0, x_89); +lean_ctor_set(x_92, 1, x_90); +return x_92; +} +} +} +} +} +lean_object* l___private_Init_Lean_MetavarContext_23__mkForallAux(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +uint8_t x_6; lean_object* x_7; +x_6 = 0; +x_7 = l_Lean_MetavarContext_MkBinding_mkBinding___at___private_Init_Lean_MetavarContext_23__mkForallAux___spec__1(x_1, x_6, x_2, x_3, x_4, x_5); +return x_7; +} +} +lean_object* l_Nat_foldRevMAux___main___at___private_Init_Lean_MetavarContext_23__mkForallAux___spec__2___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +uint8_t x_8; lean_object* x_9; +x_8 = lean_unbox(x_4); +lean_dec(x_4); +x_9 = l_Nat_foldRevMAux___main___at___private_Init_Lean_MetavarContext_23__mkForallAux___spec__2___lambda__1(x_1, x_2, x_3, x_8, x_5, x_6, x_7); +lean_dec(x_2); +return x_9; +} +} +lean_object* l_Nat_foldRevMAux___main___at___private_Init_Lean_MetavarContext_23__mkForallAux___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +uint8_t x_9; lean_object* x_10; +x_9 = lean_unbox(x_2); +lean_dec(x_2); +x_10 = l_Nat_foldRevMAux___main___at___private_Init_Lean_MetavarContext_23__mkForallAux___spec__2(x_1, x_9, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_6); +return x_10; +} +} +lean_object* l_Lean_MetavarContext_MkBinding_mkBinding___at___private_Init_Lean_MetavarContext_23__mkForallAux___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +uint8_t x_7; lean_object* x_8; +x_7 = lean_unbox(x_2); +lean_dec(x_2); +x_8 = l_Lean_MetavarContext_MkBinding_mkBinding___at___private_Init_Lean_MetavarContext_23__mkForallAux___spec__1(x_1, x_7, x_3, x_4, x_5, x_6); +return x_8; +} +} +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_24__mkMVarApp___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; 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_Lean_LocalContext_findFVar(x_1, x_8); +x_10 = lean_unsigned_to_nat(1u); +x_11 = lean_nat_add(x_4, x_10); +lean_dec(x_4); +if (lean_obj_tag(x_9) == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_12 = l_Option_get_x21___rarg___closed__1; +x_13 = lean_unsigned_to_nat(16u); +x_14 = lean_unsigned_to_nat(12u); +x_15 = l_Option_get_x21___rarg___closed__2; +x_16 = l_panicWithPos___at_Lean_MetavarContext_MkBindingException_toStr___spec__1(x_12, x_13, x_14, x_15); +x_17 = l_Lean_LocalDecl_isLet(x_16); +lean_dec(x_16); +if (x_17 == 0) +{ +lean_object* x_18; +x_18 = lean_expr_mk_app(x_5, x_8); +x_4 = x_11; +x_5 = x_18; +goto _start; +} +else +{ +lean_dec(x_8); +x_4 = x_11; +goto _start; +} +} +else +{ +lean_object* x_21; uint8_t x_22; +x_21 = lean_ctor_get(x_9, 0); +lean_inc(x_21); +lean_dec(x_9); +x_22 = l_Lean_LocalDecl_isLet(x_21); +lean_dec(x_21); +if (x_22 == 0) +{ +lean_object* x_23; +x_23 = lean_expr_mk_app(x_5, x_8); +x_4 = x_11; +x_5 = x_23; +goto _start; +} +else +{ +lean_dec(x_8); +x_4 = x_11; +goto _start; +} +} +} +} +} +lean_object* l___private_Init_Lean_MetavarContext_24__mkMVarApp(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; +x_4 = lean_unsigned_to_nat(0u); +x_5 = l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_24__mkMVarApp___spec__1(x_1, x_3, x_3, x_4, x_2); +return x_5; +} +} +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_24__mkMVarApp___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_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_24__mkMVarApp___spec__1(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_3); +lean_dec(x_2); +return x_6; +} +} +lean_object* l___private_Init_Lean_MetavarContext_24__mkMVarApp___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l___private_Init_Lean_MetavarContext_24__mkMVarApp(x_1, x_2, x_3); +lean_dec(x_3); +return x_4; +} +} +lean_object* l___private_Init_Lean_MetavarContext_25__mkAuxMVar(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; +x_5 = !lean_is_exclusive(x_4); +if (x_5 == 0) +{ +lean_object* x_6; uint8_t x_7; +x_6 = lean_ctor_get(x_4, 1); +x_7 = !lean_is_exclusive(x_6); +if (x_7 == 0) +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_8 = lean_ctor_get(x_4, 0); +x_9 = lean_ctor_get(x_6, 0); +x_10 = lean_ctor_get(x_6, 1); +lean_inc(x_10); +lean_inc(x_9); +x_11 = lean_name_mk_numeral(x_9, x_10); +x_12 = lean_box(0); +lean_inc(x_11); +x_13 = lean_metavar_ctx_mk_decl(x_8, x_11, x_12, x_1, x_2, x_3); +x_14 = lean_unsigned_to_nat(1u); +x_15 = lean_nat_add(x_10, x_14); +lean_dec(x_10); +lean_ctor_set(x_6, 1, x_15); +lean_ctor_set(x_4, 0, x_13); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_11); +lean_ctor_set(x_16, 1, x_4); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_17 = lean_ctor_get(x_4, 0); +x_18 = lean_ctor_get(x_6, 0); +x_19 = lean_ctor_get(x_6, 1); +lean_inc(x_19); +lean_inc(x_18); +lean_dec(x_6); +lean_inc(x_19); +lean_inc(x_18); +x_20 = lean_name_mk_numeral(x_18, x_19); +x_21 = lean_box(0); +lean_inc(x_20); +x_22 = lean_metavar_ctx_mk_decl(x_17, x_20, x_21, x_1, x_2, x_3); +x_23 = lean_unsigned_to_nat(1u); +x_24 = lean_nat_add(x_19, x_23); +lean_dec(x_19); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_18); +lean_ctor_set(x_25, 1, x_24); +lean_ctor_set(x_4, 1, x_25); +lean_ctor_set(x_4, 0, x_22); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_20); +lean_ctor_set(x_26, 1, x_4); +return x_26; +} +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_27 = lean_ctor_get(x_4, 1); +x_28 = lean_ctor_get(x_4, 0); +x_29 = lean_ctor_get(x_4, 2); +lean_inc(x_29); +lean_inc(x_27); +lean_inc(x_28); +lean_dec(x_4); +x_30 = lean_ctor_get(x_27, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_27, 1); +lean_inc(x_31); +if (lean_is_exclusive(x_27)) { + lean_ctor_release(x_27, 0); + lean_ctor_release(x_27, 1); + x_32 = x_27; +} else { + lean_dec_ref(x_27); + x_32 = lean_box(0); +} +lean_inc(x_31); +lean_inc(x_30); +x_33 = lean_name_mk_numeral(x_30, x_31); +x_34 = lean_box(0); +lean_inc(x_33); +x_35 = lean_metavar_ctx_mk_decl(x_28, x_33, x_34, x_1, x_2, x_3); +x_36 = lean_unsigned_to_nat(1u); +x_37 = lean_nat_add(x_31, x_36); +lean_dec(x_31); +if (lean_is_scalar(x_32)) { + x_38 = lean_alloc_ctor(0, 2, 0); +} else { + x_38 = x_32; +} +lean_ctor_set(x_38, 0, x_30); +lean_ctor_set(x_38, 1, x_37); +x_39 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_39, 0, x_35); +lean_ctor_set(x_39, 1, x_38); +lean_ctor_set(x_39, 2, x_29); +x_40 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_40, 0, x_33); +lean_ctor_set(x_40, 1, x_39); +return x_40; +} +} +} +lean_object* l___private_Init_Lean_MetavarContext_25__mkAuxMVar___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; lean_object* x_6; +x_5 = lean_unbox(x_3); +lean_dec(x_3); +x_6 = l___private_Init_Lean_MetavarContext_25__mkAuxMVar(x_1, x_2, x_5, x_4); +return x_6; +} +} +lean_object* l_Nat_foldRevMAux___main___at___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main___spec__2___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; lean_object* x_8; lean_object* x_9; @@ -25351,11 +34804,11 @@ if (lean_obj_tag(x_9) == 0) { lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_dec(x_5); -x_10 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_instantiateDelayedAux___main___rarg___closed__1; -x_11 = lean_unsigned_to_nat(404u); +x_10 = l_Lean_MetavarContext_getDecl___closed__1; +x_11 = lean_unsigned_to_nat(391u); x_12 = lean_unsigned_to_nat(16u); x_13 = l_Nat_foldRevAux___main___at_Lean_LocalContext_mkBinding___spec__1___closed__1; -x_14 = l_panicWithPos___at_Lean_MetavarContext_mkLambda___spec__63(x_10, x_11, x_12, x_13, x_6); +x_14 = l_panicWithPos___at_Lean_MetavarContext_MkBinding_mkBinding___spec__1(x_10, x_11, x_12, x_13, x_6); return x_14; } else @@ -25394,7 +34847,7 @@ lean_object* x_30; lean_object* x_31; lean_object* x_32; x_30 = lean_ctor_get(x_6, 2); x_31 = l_HashMap_Inhabited___closed__1; lean_ctor_set(x_6, 2, x_31); -x_32 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___at_Lean_MetavarContext_mkLambda___spec__3(x_1, x_17, x_6); +x_32 = l___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main(x_1, x_17, x_6); if (lean_obj_tag(x_32) == 0) { lean_object* x_33; lean_object* x_34; uint8_t x_35; @@ -25472,7 +34925,7 @@ x_48 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_48, 0, x_44); lean_ctor_set(x_48, 1, x_45); lean_ctor_set(x_48, 2, x_47); -x_49 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___at_Lean_MetavarContext_mkLambda___spec__3(x_1, x_17, x_48); +x_49 = l___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main(x_1, x_17, x_48); if (lean_obj_tag(x_49) == 0) { lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; @@ -25546,7 +34999,7 @@ lean_object* x_61; lean_object* x_62; lean_object* x_63; x_61 = lean_ctor_get(x_6, 2); x_62 = l_HashMap_Inhabited___closed__1; lean_ctor_set(x_6, 2, x_62); -x_63 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___at_Lean_MetavarContext_mkLambda___spec__3(x_1, x_17, x_6); +x_63 = l___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main(x_1, x_17, x_6); if (lean_obj_tag(x_63) == 0) { lean_object* x_64; lean_object* x_65; uint8_t x_66; @@ -25624,7 +35077,7 @@ x_79 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_79, 0, x_75); lean_ctor_set(x_79, 1, x_76); lean_ctor_set(x_79, 2, x_78); -x_80 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___at_Lean_MetavarContext_mkLambda___spec__3(x_1, x_17, x_79); +x_80 = l___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main(x_1, x_17, x_79); if (lean_obj_tag(x_80) == 0) { lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; @@ -25743,7 +35196,7 @@ lean_object* x_206; lean_object* x_207; lean_object* x_208; x_206 = lean_ctor_get(x_6, 2); x_207 = l_HashMap_Inhabited___closed__1; lean_ctor_set(x_6, 2, x_207); -x_208 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___at_Lean_MetavarContext_mkLambda___spec__3(x_1, x_92, x_6); +x_208 = l___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main(x_1, x_92, x_6); if (lean_obj_tag(x_208) == 0) { lean_object* x_209; lean_object* x_210; uint8_t x_211; @@ -25822,7 +35275,7 @@ x_224 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_224, 0, x_220); lean_ctor_set(x_224, 1, x_221); lean_ctor_set(x_224, 2, x_223); -x_225 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___at_Lean_MetavarContext_mkLambda___spec__3(x_1, x_92, x_224); +x_225 = l___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main(x_1, x_92, x_224); if (lean_obj_tag(x_225) == 0) { lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; @@ -25897,7 +35350,7 @@ lean_object* x_237; lean_object* x_238; lean_object* x_239; x_237 = lean_ctor_get(x_6, 2); x_238 = l_HashMap_Inhabited___closed__1; lean_ctor_set(x_6, 2, x_238); -x_239 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___at_Lean_MetavarContext_mkLambda___spec__3(x_1, x_92, x_6); +x_239 = l___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main(x_1, x_92, x_6); if (lean_obj_tag(x_239) == 0) { lean_object* x_240; lean_object* x_241; uint8_t x_242; @@ -25976,7 +35429,7 @@ x_255 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_255, 0, x_251); lean_ctor_set(x_255, 1, x_252); lean_ctor_set(x_255, 2, x_254); -x_256 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___at_Lean_MetavarContext_mkLambda___spec__3(x_1, x_92, x_255); +x_256 = l___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main(x_1, x_92, x_255); if (lean_obj_tag(x_256) == 0) { lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; @@ -26071,7 +35524,7 @@ lean_object* x_103; lean_object* x_104; lean_object* x_105; x_103 = lean_ctor_get(x_95, 2); x_104 = l_HashMap_Inhabited___closed__1; lean_ctor_set(x_95, 2, x_104); -x_105 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___at_Lean_MetavarContext_mkLambda___spec__3(x_1, x_93, x_95); +x_105 = l___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main(x_1, x_93, x_95); if (lean_obj_tag(x_105) == 0) { uint8_t x_106; @@ -26195,7 +35648,7 @@ x_136 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_136, 0, x_132); lean_ctor_set(x_136, 1, x_133); lean_ctor_set(x_136, 2, x_135); -x_137 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___at_Lean_MetavarContext_mkLambda___spec__3(x_1, x_93, x_136); +x_137 = l___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main(x_1, x_93, x_136); if (lean_obj_tag(x_137) == 0) { lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; @@ -26285,7 +35738,7 @@ lean_object* x_153; lean_object* x_154; lean_object* x_155; x_153 = lean_ctor_get(x_95, 2); x_154 = l_HashMap_Inhabited___closed__1; lean_ctor_set(x_95, 2, x_154); -x_155 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___at_Lean_MetavarContext_mkLambda___spec__3(x_1, x_93, x_95); +x_155 = l___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main(x_1, x_93, x_95); if (lean_obj_tag(x_155) == 0) { uint8_t x_156; @@ -26409,7 +35862,7 @@ x_186 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_186, 0, x_182); lean_ctor_set(x_186, 1, x_183); lean_ctor_set(x_186, 2, x_185); -x_187 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___at_Lean_MetavarContext_mkLambda___spec__3(x_1, x_93, x_186); +x_187 = l___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main(x_1, x_93, x_186); if (lean_obj_tag(x_187) == 0) { lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; @@ -26493,7 +35946,7 @@ return x_201; } } } -lean_object* l_Nat_foldRevMAux___main___at_Lean_MetavarContext_mkLambda___spec__64(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +lean_object* l_Nat_foldRevMAux___main___at___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main___spec__2(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; uint8_t x_9; @@ -26510,14 +35963,14 @@ x_13 = lean_box(x_1); lean_inc(x_2); lean_inc(x_11); lean_inc(x_3); -x_14 = lean_alloc_closure((void*)(l_Nat_foldRevMAux___main___at_Lean_MetavarContext_mkLambda___spec__64___lambda__1___boxed), 6, 5); +x_14 = lean_alloc_closure((void*)(l_Nat_foldRevMAux___main___at___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main___spec__2___lambda__1___boxed), 6, 5); lean_closure_set(x_14, 0, x_3); lean_closure_set(x_14, 1, x_11); lean_closure_set(x_14, 2, x_2); lean_closure_set(x_14, 3, x_13); lean_closure_set(x_14, 4, x_6); x_15 = lean_box(x_1); -x_16 = lean_alloc_closure((void*)(l_Nat_foldRevMAux___main___at_Lean_MetavarContext_mkLambda___spec__64___boxed), 7, 5); +x_16 = lean_alloc_closure((void*)(l_Nat_foldRevMAux___main___at___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main___spec__2___boxed), 7, 5); lean_closure_set(x_16, 0, x_15); lean_closure_set(x_16, 1, x_2); lean_closure_set(x_16, 2, x_3); @@ -26542,7 +35995,7 @@ return x_20; } } } -lean_object* l_Lean_AbstractMetavarContext_MkBinding_mkBinding___at_Lean_MetavarContext_mkLambda___spec__62(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_Lean_MetavarContext_MkBinding_mkBinding___at___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main___spec__1(uint8_t 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; @@ -26558,7 +36011,7 @@ lean_object* x_9; lean_object* x_10; lean_object* x_11; x_9 = lean_expr_abstract_range(x_4, x_6, x_3); lean_dec(x_4); x_10 = l_EIO_Monad___closed__1; -x_11 = l_Nat_foldRevMAux___main___at_Lean_MetavarContext_mkLambda___spec__64(x_1, x_2, x_3, x_10, x_6, x_9, x_5); +x_11 = l_Nat_foldRevMAux___main___at___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main___spec__2(x_1, x_2, x_3, x_10, x_6, x_9, x_5); lean_dec(x_6); return x_11; } @@ -26572,7 +36025,7 @@ lean_object* x_13; lean_object* x_14; lean_object* x_15; x_13 = lean_ctor_get(x_5, 2); x_14 = l_HashMap_Inhabited___closed__1; lean_ctor_set(x_5, 2, x_14); -x_15 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___at_Lean_MetavarContext_mkLambda___spec__3(x_3, x_4, x_5); +x_15 = l___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main(x_3, x_4, x_5); if (lean_obj_tag(x_15) == 0) { lean_object* x_16; lean_object* x_17; uint8_t x_18; @@ -26591,7 +36044,7 @@ lean_ctor_set(x_16, 2, x_13); x_20 = lean_expr_abstract_range(x_17, x_6, x_3); lean_dec(x_17); x_21 = l_EIO_Monad___closed__1; -x_22 = l_Nat_foldRevMAux___main___at_Lean_MetavarContext_mkLambda___spec__64(x_1, x_2, x_3, x_21, x_6, x_20, x_16); +x_22 = l_Nat_foldRevMAux___main___at___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main___spec__2(x_1, x_2, x_3, x_21, x_6, x_20, x_16); lean_dec(x_6); return x_22; } @@ -26610,7 +36063,7 @@ lean_ctor_set(x_25, 2, x_13); x_26 = lean_expr_abstract_range(x_17, x_6, x_3); lean_dec(x_17); x_27 = l_EIO_Monad___closed__1; -x_28 = l_Nat_foldRevMAux___main___at_Lean_MetavarContext_mkLambda___spec__64(x_1, x_2, x_3, x_27, x_6, x_26, x_25); +x_28 = l_Nat_foldRevMAux___main___at___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main___spec__2(x_1, x_2, x_3, x_27, x_6, x_26, x_25); lean_dec(x_6); return x_28; } @@ -26657,7 +36110,7 @@ x_37 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_37, 0, x_33); lean_ctor_set(x_37, 1, x_34); lean_ctor_set(x_37, 2, x_36); -x_38 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___at_Lean_MetavarContext_mkLambda___spec__3(x_3, x_4, x_37); +x_38 = l___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main(x_3, x_4, x_37); if (lean_obj_tag(x_38) == 0) { lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; @@ -26690,7 +36143,7 @@ lean_ctor_set(x_44, 2, x_35); x_45 = lean_expr_abstract_range(x_40, x_6, x_3); lean_dec(x_40); x_46 = l_EIO_Monad___closed__1; -x_47 = l_Nat_foldRevMAux___main___at_Lean_MetavarContext_mkLambda___spec__64(x_1, x_2, x_3, x_46, x_6, x_45, x_44); +x_47 = l_Nat_foldRevMAux___main___at___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main___spec__2(x_1, x_2, x_3, x_46, x_6, x_45, x_44); lean_dec(x_6); return x_47; } @@ -26735,7 +36188,7 @@ lean_object* x_53; lean_object* x_54; lean_object* x_55; x_53 = lean_ctor_get(x_5, 2); x_54 = l_HashMap_Inhabited___closed__1; lean_ctor_set(x_5, 2, x_54); -x_55 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___at_Lean_MetavarContext_mkLambda___spec__3(x_3, x_4, x_5); +x_55 = l___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main(x_3, x_4, x_5); if (lean_obj_tag(x_55) == 0) { lean_object* x_56; lean_object* x_57; uint8_t x_58; @@ -26754,7 +36207,7 @@ lean_ctor_set(x_56, 2, x_53); x_60 = lean_expr_abstract_range(x_57, x_6, x_3); lean_dec(x_57); x_61 = l_EIO_Monad___closed__1; -x_62 = l_Nat_foldRevMAux___main___at_Lean_MetavarContext_mkLambda___spec__64(x_1, x_2, x_3, x_61, x_6, x_60, x_56); +x_62 = l_Nat_foldRevMAux___main___at___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main___spec__2(x_1, x_2, x_3, x_61, x_6, x_60, x_56); lean_dec(x_6); return x_62; } @@ -26773,7 +36226,7 @@ lean_ctor_set(x_65, 2, x_53); x_66 = lean_expr_abstract_range(x_57, x_6, x_3); lean_dec(x_57); x_67 = l_EIO_Monad___closed__1; -x_68 = l_Nat_foldRevMAux___main___at_Lean_MetavarContext_mkLambda___spec__64(x_1, x_2, x_3, x_67, x_6, x_66, x_65); +x_68 = l_Nat_foldRevMAux___main___at___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main___spec__2(x_1, x_2, x_3, x_67, x_6, x_66, x_65); lean_dec(x_6); return x_68; } @@ -26820,7 +36273,7 @@ x_77 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_77, 0, x_73); lean_ctor_set(x_77, 1, x_74); lean_ctor_set(x_77, 2, x_76); -x_78 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___at_Lean_MetavarContext_mkLambda___spec__3(x_3, x_4, x_77); +x_78 = l___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main(x_3, x_4, x_77); if (lean_obj_tag(x_78) == 0) { lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; @@ -26853,7 +36306,7 @@ lean_ctor_set(x_84, 2, x_75); x_85 = lean_expr_abstract_range(x_80, x_6, x_3); lean_dec(x_80); x_86 = l_EIO_Monad___closed__1; -x_87 = l_Nat_foldRevMAux___main___at_Lean_MetavarContext_mkLambda___spec__64(x_1, x_2, x_3, x_86, x_6, x_85, x_84); +x_87 = l_Nat_foldRevMAux___main___at___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main___spec__2(x_1, x_2, x_3, x_86, x_6, x_85, x_84); lean_dec(x_6); return x_87; } @@ -26889,7 +36342,7 @@ return x_91; } } } -lean_object* l_Array_umapMAux___main___at_Lean_MetavarContext_mkLambda___spec__65(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Array_umapMAux___main___at___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; uint8_t x_6; @@ -26932,13 +36385,13 @@ else lean_object* x_24; lean_object* x_25; x_24 = lean_ctor_get(x_4, 2); lean_inc(x_24); -x_25 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_24, x_10); +x_25 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_24, x_10); lean_dec(x_24); if (lean_obj_tag(x_25) == 0) { lean_object* x_26; lean_inc(x_10); -x_26 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___at_Lean_MetavarContext_mkLambda___spec__3(x_1, x_10, x_4); +x_26 = l___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main(x_1, x_10, x_4); if (lean_obj_tag(x_26) == 0) { lean_object* x_27; lean_object* x_28; uint8_t x_29; @@ -26954,7 +36407,7 @@ lean_object* x_30; lean_object* x_31; x_30 = lean_ctor_get(x_27, 2); lean_inc(x_28); lean_inc(x_10); -x_31 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_30, x_10, x_28); +x_31 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_30, x_10, x_28); lean_ctor_set(x_27, 2, x_31); x_14 = x_28; x_15 = x_27; @@ -26972,7 +36425,7 @@ lean_inc(x_32); lean_dec(x_27); lean_inc(x_28); lean_inc(x_10); -x_35 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_34, x_10, x_28); +x_35 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_34, x_10, x_28); x_36 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_36, 0, x_32); lean_ctor_set(x_36, 1, x_33); @@ -27025,13 +36478,13 @@ else lean_object* x_42; lean_object* x_43; x_42 = lean_ctor_get(x_4, 2); lean_inc(x_42); -x_43 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_42, x_10); +x_43 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_42, x_10); lean_dec(x_42); if (lean_obj_tag(x_43) == 0) { lean_object* x_44; lean_inc(x_10); -x_44 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___at_Lean_MetavarContext_mkLambda___spec__3(x_1, x_10, x_4); +x_44 = l___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main(x_1, x_10, x_4); if (lean_obj_tag(x_44) == 0) { lean_object* x_45; lean_object* x_46; uint8_t x_47; @@ -27047,7 +36500,7 @@ lean_object* x_48; lean_object* x_49; x_48 = lean_ctor_get(x_45, 2); lean_inc(x_46); lean_inc(x_10); -x_49 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_48, x_10, x_46); +x_49 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_48, x_10, x_46); lean_ctor_set(x_45, 2, x_49); x_14 = x_46; x_15 = x_45; @@ -27065,7 +36518,7 @@ lean_inc(x_50); lean_dec(x_45); lean_inc(x_46); lean_inc(x_10); -x_53 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_52, x_10, x_46); +x_53 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_52, x_10, x_46); x_54 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_54, 0, x_50); lean_ctor_set(x_54, 1, x_51); @@ -27128,7 +36581,7 @@ goto _start; } } } -lean_object* l___private_Init_Lean_Expr_4__withAppRevAux___main___at_Lean_MetavarContext_mkLambda___spec__66(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Init_Lean_Expr_4__withAppRevAux___main___at___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { switch (lean_obj_tag(x_2)) { @@ -27151,13 +36604,13 @@ else lean_object* x_23; lean_object* x_24; x_23 = lean_ctor_get(x_4, 2); lean_inc(x_23); -x_24 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_23, x_2); +x_24 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_23, x_2); lean_dec(x_23); if (lean_obj_tag(x_24) == 0) { lean_object* x_25; lean_inc(x_2); -x_25 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___at_Lean_MetavarContext_mkLambda___spec__3(x_1, x_2, x_4); +x_25 = l___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main(x_1, x_2, x_4); if (lean_obj_tag(x_25) == 0) { lean_object* x_26; lean_object* x_27; uint8_t x_28; @@ -27172,7 +36625,7 @@ if (x_28 == 0) lean_object* x_29; lean_object* x_30; x_29 = lean_ctor_get(x_26, 2); lean_inc(x_27); -x_30 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_29, x_2, x_27); +x_30 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_29, x_2, x_27); lean_ctor_set(x_26, 2, x_30); x_5 = x_27; x_6 = x_26; @@ -27189,7 +36642,7 @@ lean_inc(x_32); lean_inc(x_31); lean_dec(x_26); lean_inc(x_27); -x_34 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_33, x_2, x_27); +x_34 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_33, x_2, x_27); x_35 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_35, 0, x_31); lean_ctor_set(x_35, 1, x_32); @@ -27242,13 +36695,13 @@ else lean_object* x_41; lean_object* x_42; x_41 = lean_ctor_get(x_4, 2); lean_inc(x_41); -x_42 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_41, x_2); +x_42 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_41, x_2); lean_dec(x_41); if (lean_obj_tag(x_42) == 0) { lean_object* x_43; lean_inc(x_2); -x_43 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___at_Lean_MetavarContext_mkLambda___spec__3(x_1, x_2, x_4); +x_43 = l___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main(x_1, x_2, x_4); if (lean_obj_tag(x_43) == 0) { lean_object* x_44; lean_object* x_45; uint8_t x_46; @@ -27263,7 +36716,7 @@ if (x_46 == 0) lean_object* x_47; lean_object* x_48; x_47 = lean_ctor_get(x_44, 2); lean_inc(x_45); -x_48 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_47, x_2, x_45); +x_48 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_47, x_2, x_45); lean_ctor_set(x_44, 2, x_48); x_5 = x_45; x_6 = x_44; @@ -27280,7 +36733,7 @@ lean_inc(x_50); lean_inc(x_49); lean_dec(x_44); lean_inc(x_45); -x_52 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_51, x_2, x_45); +x_52 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_51, x_2, x_45); x_53 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_53, 0, x_49); lean_ctor_set(x_53, 1, x_50); @@ -27331,7 +36784,7 @@ block_20: { lean_object* x_7; lean_object* x_8; x_7 = lean_unsigned_to_nat(0u); -x_8 = l_Array_umapMAux___main___at_Lean_MetavarContext_mkLambda___spec__65(x_1, x_7, x_3, x_6); +x_8 = l_Array_umapMAux___main___at___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main___spec__3(x_1, x_7, x_3, x_6); if (lean_obj_tag(x_8) == 0) { uint8_t x_9; @@ -27405,13 +36858,13 @@ else lean_object* x_77; lean_object* x_78; x_77 = lean_ctor_get(x_4, 2); lean_inc(x_77); -x_78 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_77, x_2); +x_78 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_77, x_2); lean_dec(x_77); if (lean_obj_tag(x_78) == 0) { lean_object* x_79; lean_inc(x_2); -x_79 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___at_Lean_MetavarContext_mkLambda___spec__3(x_1, x_2, x_4); +x_79 = l___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main(x_1, x_2, x_4); if (lean_obj_tag(x_79) == 0) { lean_object* x_80; lean_object* x_81; uint8_t x_82; @@ -27426,7 +36879,7 @@ if (x_82 == 0) lean_object* x_83; lean_object* x_84; x_83 = lean_ctor_get(x_80, 2); lean_inc(x_81); -x_84 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_83, x_2, x_81); +x_84 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_83, x_2, x_81); lean_ctor_set(x_80, 2, x_84); x_59 = x_81; x_60 = x_80; @@ -27443,7 +36896,7 @@ lean_inc(x_86); lean_inc(x_85); lean_dec(x_80); lean_inc(x_81); -x_88 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_87, x_2, x_81); +x_88 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_87, x_2, x_81); x_89 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_89, 0, x_85); lean_ctor_set(x_89, 1, x_86); @@ -27496,13 +36949,13 @@ else lean_object* x_95; lean_object* x_96; x_95 = lean_ctor_get(x_4, 2); lean_inc(x_95); -x_96 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_95, x_2); +x_96 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_95, x_2); lean_dec(x_95); if (lean_obj_tag(x_96) == 0) { lean_object* x_97; lean_inc(x_2); -x_97 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___at_Lean_MetavarContext_mkLambda___spec__3(x_1, x_2, x_4); +x_97 = l___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main(x_1, x_2, x_4); if (lean_obj_tag(x_97) == 0) { lean_object* x_98; lean_object* x_99; uint8_t x_100; @@ -27517,7 +36970,7 @@ if (x_100 == 0) lean_object* x_101; lean_object* x_102; x_101 = lean_ctor_get(x_98, 2); lean_inc(x_99); -x_102 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_101, x_2, x_99); +x_102 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_101, x_2, x_99); lean_ctor_set(x_98, 2, x_102); x_59 = x_99; x_60 = x_98; @@ -27534,7 +36987,7 @@ lean_inc(x_104); lean_inc(x_103); lean_dec(x_98); lean_inc(x_99); -x_106 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_105, x_2, x_99); +x_106 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_105, x_2, x_99); x_107 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_107, 0, x_103); lean_ctor_set(x_107, 1, x_104); @@ -27585,7 +37038,7 @@ block_74: { lean_object* x_61; lean_object* x_62; x_61 = lean_unsigned_to_nat(0u); -x_62 = l_Array_umapMAux___main___at_Lean_MetavarContext_mkLambda___spec__65(x_1, x_61, x_3, x_60); +x_62 = l_Array_umapMAux___main___at___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main___spec__3(x_1, x_61, x_3, x_60); if (lean_obj_tag(x_62) == 0) { uint8_t x_63; @@ -27659,13 +37112,13 @@ else lean_object* x_131; lean_object* x_132; x_131 = lean_ctor_get(x_4, 2); lean_inc(x_131); -x_132 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_131, x_2); +x_132 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_131, x_2); lean_dec(x_131); if (lean_obj_tag(x_132) == 0) { lean_object* x_133; lean_inc(x_2); -x_133 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___at_Lean_MetavarContext_mkLambda___spec__3(x_1, x_2, x_4); +x_133 = l___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main(x_1, x_2, x_4); if (lean_obj_tag(x_133) == 0) { lean_object* x_134; lean_object* x_135; uint8_t x_136; @@ -27680,7 +37133,7 @@ if (x_136 == 0) lean_object* x_137; lean_object* x_138; x_137 = lean_ctor_get(x_134, 2); lean_inc(x_135); -x_138 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_137, x_2, x_135); +x_138 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_137, x_2, x_135); lean_ctor_set(x_134, 2, x_138); x_113 = x_135; x_114 = x_134; @@ -27697,7 +37150,7 @@ lean_inc(x_140); lean_inc(x_139); lean_dec(x_134); lean_inc(x_135); -x_142 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_141, x_2, x_135); +x_142 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_141, x_2, x_135); x_143 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_143, 0, x_139); lean_ctor_set(x_143, 1, x_140); @@ -27750,13 +37203,13 @@ else lean_object* x_149; lean_object* x_150; x_149 = lean_ctor_get(x_4, 2); lean_inc(x_149); -x_150 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_149, x_2); +x_150 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_149, x_2); lean_dec(x_149); if (lean_obj_tag(x_150) == 0) { lean_object* x_151; lean_inc(x_2); -x_151 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___at_Lean_MetavarContext_mkLambda___spec__3(x_1, x_2, x_4); +x_151 = l___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main(x_1, x_2, x_4); if (lean_obj_tag(x_151) == 0) { lean_object* x_152; lean_object* x_153; uint8_t x_154; @@ -27771,7 +37224,7 @@ if (x_154 == 0) lean_object* x_155; lean_object* x_156; x_155 = lean_ctor_get(x_152, 2); lean_inc(x_153); -x_156 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_155, x_2, x_153); +x_156 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_155, x_2, x_153); lean_ctor_set(x_152, 2, x_156); x_113 = x_153; x_114 = x_152; @@ -27788,7 +37241,7 @@ lean_inc(x_158); lean_inc(x_157); lean_dec(x_152); lean_inc(x_153); -x_160 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_159, x_2, x_153); +x_160 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_159, x_2, x_153); x_161 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_161, 0, x_157); lean_ctor_set(x_161, 1, x_158); @@ -27839,7 +37292,7 @@ block_128: { lean_object* x_115; lean_object* x_116; x_115 = lean_unsigned_to_nat(0u); -x_116 = l_Array_umapMAux___main___at_Lean_MetavarContext_mkLambda___spec__65(x_1, x_115, x_3, x_114); +x_116 = l_Array_umapMAux___main___at___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main___spec__3(x_1, x_115, x_3, x_114); if (lean_obj_tag(x_116) == 0) { uint8_t x_117; @@ -27913,13 +37366,13 @@ else lean_object* x_185; lean_object* x_186; x_185 = lean_ctor_get(x_4, 2); lean_inc(x_185); -x_186 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_185, x_2); +x_186 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_185, x_2); lean_dec(x_185); if (lean_obj_tag(x_186) == 0) { lean_object* x_187; lean_inc(x_2); -x_187 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___at_Lean_MetavarContext_mkLambda___spec__3(x_1, x_2, x_4); +x_187 = l___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main(x_1, x_2, x_4); if (lean_obj_tag(x_187) == 0) { lean_object* x_188; lean_object* x_189; uint8_t x_190; @@ -27934,7 +37387,7 @@ if (x_190 == 0) lean_object* x_191; lean_object* x_192; x_191 = lean_ctor_get(x_188, 2); lean_inc(x_189); -x_192 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_191, x_2, x_189); +x_192 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_191, x_2, x_189); lean_ctor_set(x_188, 2, x_192); x_167 = x_189; x_168 = x_188; @@ -27951,7 +37404,7 @@ lean_inc(x_194); lean_inc(x_193); lean_dec(x_188); lean_inc(x_189); -x_196 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_195, x_2, x_189); +x_196 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_195, x_2, x_189); x_197 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_197, 0, x_193); lean_ctor_set(x_197, 1, x_194); @@ -28004,13 +37457,13 @@ else lean_object* x_203; lean_object* x_204; x_203 = lean_ctor_get(x_4, 2); lean_inc(x_203); -x_204 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_203, x_2); +x_204 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_203, x_2); lean_dec(x_203); if (lean_obj_tag(x_204) == 0) { lean_object* x_205; lean_inc(x_2); -x_205 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___at_Lean_MetavarContext_mkLambda___spec__3(x_1, x_2, x_4); +x_205 = l___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main(x_1, x_2, x_4); if (lean_obj_tag(x_205) == 0) { lean_object* x_206; lean_object* x_207; uint8_t x_208; @@ -28025,7 +37478,7 @@ if (x_208 == 0) lean_object* x_209; lean_object* x_210; x_209 = lean_ctor_get(x_206, 2); lean_inc(x_207); -x_210 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_209, x_2, x_207); +x_210 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_209, x_2, x_207); lean_ctor_set(x_206, 2, x_210); x_167 = x_207; x_168 = x_206; @@ -28042,7 +37495,7 @@ lean_inc(x_212); lean_inc(x_211); lean_dec(x_206); lean_inc(x_207); -x_214 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_213, x_2, x_207); +x_214 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_213, x_2, x_207); x_215 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_215, 0, x_211); lean_ctor_set(x_215, 1, x_212); @@ -28093,7 +37546,7 @@ block_182: { lean_object* x_169; lean_object* x_170; x_169 = lean_unsigned_to_nat(0u); -x_170 = l_Array_umapMAux___main___at_Lean_MetavarContext_mkLambda___spec__65(x_1, x_169, x_3, x_168); +x_170 = l_Array_umapMAux___main___at___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main___spec__3(x_1, x_169, x_3, x_168); if (lean_obj_tag(x_170) == 0) { uint8_t x_171; @@ -28167,13 +37620,13 @@ else lean_object* x_239; lean_object* x_240; x_239 = lean_ctor_get(x_4, 2); lean_inc(x_239); -x_240 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_239, x_2); +x_240 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_239, x_2); lean_dec(x_239); if (lean_obj_tag(x_240) == 0) { lean_object* x_241; lean_inc(x_2); -x_241 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___at_Lean_MetavarContext_mkLambda___spec__3(x_1, x_2, x_4); +x_241 = l___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main(x_1, x_2, x_4); if (lean_obj_tag(x_241) == 0) { lean_object* x_242; lean_object* x_243; uint8_t x_244; @@ -28188,7 +37641,7 @@ if (x_244 == 0) lean_object* x_245; lean_object* x_246; x_245 = lean_ctor_get(x_242, 2); lean_inc(x_243); -x_246 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_245, x_2, x_243); +x_246 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_245, x_2, x_243); lean_ctor_set(x_242, 2, x_246); x_221 = x_243; x_222 = x_242; @@ -28205,7 +37658,7 @@ lean_inc(x_248); lean_inc(x_247); lean_dec(x_242); lean_inc(x_243); -x_250 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_249, x_2, x_243); +x_250 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_249, x_2, x_243); x_251 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_251, 0, x_247); lean_ctor_set(x_251, 1, x_248); @@ -28258,13 +37711,13 @@ else lean_object* x_257; lean_object* x_258; x_257 = lean_ctor_get(x_4, 2); lean_inc(x_257); -x_258 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_257, x_2); +x_258 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_257, x_2); lean_dec(x_257); if (lean_obj_tag(x_258) == 0) { lean_object* x_259; lean_inc(x_2); -x_259 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___at_Lean_MetavarContext_mkLambda___spec__3(x_1, x_2, x_4); +x_259 = l___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main(x_1, x_2, x_4); if (lean_obj_tag(x_259) == 0) { lean_object* x_260; lean_object* x_261; uint8_t x_262; @@ -28279,7 +37732,7 @@ if (x_262 == 0) lean_object* x_263; lean_object* x_264; x_263 = lean_ctor_get(x_260, 2); lean_inc(x_261); -x_264 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_263, x_2, x_261); +x_264 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_263, x_2, x_261); lean_ctor_set(x_260, 2, x_264); x_221 = x_261; x_222 = x_260; @@ -28296,7 +37749,7 @@ lean_inc(x_266); lean_inc(x_265); lean_dec(x_260); lean_inc(x_261); -x_268 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_267, x_2, x_261); +x_268 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_267, x_2, x_261); x_269 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_269, 0, x_265); lean_ctor_set(x_269, 1, x_266); @@ -28347,7 +37800,7 @@ block_236: { lean_object* x_223; lean_object* x_224; x_223 = lean_unsigned_to_nat(0u); -x_224 = l_Array_umapMAux___main___at_Lean_MetavarContext_mkLambda___spec__65(x_1, x_223, x_3, x_222); +x_224 = l_Array_umapMAux___main___at___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main___spec__3(x_1, x_223, x_3, x_222); if (lean_obj_tag(x_224) == 0) { uint8_t x_225; @@ -28434,13 +37887,13 @@ else lean_object* x_297; lean_object* x_298; x_297 = lean_ctor_get(x_4, 2); lean_inc(x_297); -x_298 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_297, x_2); +x_298 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_297, x_2); lean_dec(x_297); if (lean_obj_tag(x_298) == 0) { lean_object* x_299; lean_inc(x_2); -x_299 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___at_Lean_MetavarContext_mkLambda___spec__3(x_1, x_2, x_4); +x_299 = l___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main(x_1, x_2, x_4); if (lean_obj_tag(x_299) == 0) { lean_object* x_300; lean_object* x_301; uint8_t x_302; @@ -28455,7 +37908,7 @@ if (x_302 == 0) lean_object* x_303; lean_object* x_304; x_303 = lean_ctor_get(x_300, 2); lean_inc(x_301); -x_304 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_303, x_2, x_301); +x_304 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_303, x_2, x_301); lean_ctor_set(x_300, 2, x_304); x_279 = x_301; x_280 = x_300; @@ -28472,7 +37925,7 @@ lean_inc(x_306); lean_inc(x_305); lean_dec(x_300); lean_inc(x_301); -x_308 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_307, x_2, x_301); +x_308 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_307, x_2, x_301); x_309 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_309, 0, x_305); lean_ctor_set(x_309, 1, x_306); @@ -28525,13 +37978,13 @@ else lean_object* x_315; lean_object* x_316; x_315 = lean_ctor_get(x_4, 2); lean_inc(x_315); -x_316 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_315, x_2); +x_316 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_315, x_2); lean_dec(x_315); if (lean_obj_tag(x_316) == 0) { lean_object* x_317; lean_inc(x_2); -x_317 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___at_Lean_MetavarContext_mkLambda___spec__3(x_1, x_2, x_4); +x_317 = l___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main(x_1, x_2, x_4); if (lean_obj_tag(x_317) == 0) { lean_object* x_318; lean_object* x_319; uint8_t x_320; @@ -28546,7 +37999,7 @@ if (x_320 == 0) lean_object* x_321; lean_object* x_322; x_321 = lean_ctor_get(x_318, 2); lean_inc(x_319); -x_322 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_321, x_2, x_319); +x_322 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_321, x_2, x_319); lean_ctor_set(x_318, 2, x_322); x_279 = x_319; x_280 = x_318; @@ -28563,7 +38016,7 @@ lean_inc(x_324); lean_inc(x_323); lean_dec(x_318); lean_inc(x_319); -x_326 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_325, x_2, x_319); +x_326 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_325, x_2, x_319); x_327 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_327, 0, x_323); lean_ctor_set(x_327, 1, x_324); @@ -28614,7 +38067,7 @@ block_294: { lean_object* x_281; lean_object* x_282; x_281 = lean_unsigned_to_nat(0u); -x_282 = l_Array_umapMAux___main___at_Lean_MetavarContext_mkLambda___spec__65(x_1, x_281, x_3, x_280); +x_282 = l_Array_umapMAux___main___at___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main___spec__3(x_1, x_281, x_3, x_280); if (lean_obj_tag(x_282) == 0) { uint8_t x_283; @@ -28688,13 +38141,13 @@ else lean_object* x_351; lean_object* x_352; x_351 = lean_ctor_get(x_4, 2); lean_inc(x_351); -x_352 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_351, x_2); +x_352 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_351, x_2); lean_dec(x_351); if (lean_obj_tag(x_352) == 0) { lean_object* x_353; lean_inc(x_2); -x_353 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___at_Lean_MetavarContext_mkLambda___spec__3(x_1, x_2, x_4); +x_353 = l___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main(x_1, x_2, x_4); if (lean_obj_tag(x_353) == 0) { lean_object* x_354; lean_object* x_355; uint8_t x_356; @@ -28709,7 +38162,7 @@ if (x_356 == 0) lean_object* x_357; lean_object* x_358; x_357 = lean_ctor_get(x_354, 2); lean_inc(x_355); -x_358 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_357, x_2, x_355); +x_358 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_357, x_2, x_355); lean_ctor_set(x_354, 2, x_358); x_333 = x_355; x_334 = x_354; @@ -28726,7 +38179,7 @@ lean_inc(x_360); lean_inc(x_359); lean_dec(x_354); lean_inc(x_355); -x_362 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_361, x_2, x_355); +x_362 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_361, x_2, x_355); x_363 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_363, 0, x_359); lean_ctor_set(x_363, 1, x_360); @@ -28779,13 +38232,13 @@ else lean_object* x_369; lean_object* x_370; x_369 = lean_ctor_get(x_4, 2); lean_inc(x_369); -x_370 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_369, x_2); +x_370 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_369, x_2); lean_dec(x_369); if (lean_obj_tag(x_370) == 0) { lean_object* x_371; lean_inc(x_2); -x_371 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___at_Lean_MetavarContext_mkLambda___spec__3(x_1, x_2, x_4); +x_371 = l___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main(x_1, x_2, x_4); if (lean_obj_tag(x_371) == 0) { lean_object* x_372; lean_object* x_373; uint8_t x_374; @@ -28800,7 +38253,7 @@ if (x_374 == 0) lean_object* x_375; lean_object* x_376; x_375 = lean_ctor_get(x_372, 2); lean_inc(x_373); -x_376 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_375, x_2, x_373); +x_376 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_375, x_2, x_373); lean_ctor_set(x_372, 2, x_376); x_333 = x_373; x_334 = x_372; @@ -28817,7 +38270,7 @@ lean_inc(x_378); lean_inc(x_377); lean_dec(x_372); lean_inc(x_373); -x_380 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_379, x_2, x_373); +x_380 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_379, x_2, x_373); x_381 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_381, 0, x_377); lean_ctor_set(x_381, 1, x_378); @@ -28868,7 +38321,7 @@ block_348: { lean_object* x_335; lean_object* x_336; x_335 = lean_unsigned_to_nat(0u); -x_336 = l_Array_umapMAux___main___at_Lean_MetavarContext_mkLambda___spec__65(x_1, x_335, x_3, x_334); +x_336 = l_Array_umapMAux___main___at___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main___spec__3(x_1, x_335, x_3, x_334); if (lean_obj_tag(x_336) == 0) { uint8_t x_337; @@ -28942,13 +38395,13 @@ else lean_object* x_405; lean_object* x_406; x_405 = lean_ctor_get(x_4, 2); lean_inc(x_405); -x_406 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_405, x_2); +x_406 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_405, x_2); lean_dec(x_405); if (lean_obj_tag(x_406) == 0) { lean_object* x_407; lean_inc(x_2); -x_407 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___at_Lean_MetavarContext_mkLambda___spec__3(x_1, x_2, x_4); +x_407 = l___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main(x_1, x_2, x_4); if (lean_obj_tag(x_407) == 0) { lean_object* x_408; lean_object* x_409; uint8_t x_410; @@ -28963,7 +38416,7 @@ if (x_410 == 0) lean_object* x_411; lean_object* x_412; x_411 = lean_ctor_get(x_408, 2); lean_inc(x_409); -x_412 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_411, x_2, x_409); +x_412 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_411, x_2, x_409); lean_ctor_set(x_408, 2, x_412); x_387 = x_409; x_388 = x_408; @@ -28980,7 +38433,7 @@ lean_inc(x_414); lean_inc(x_413); lean_dec(x_408); lean_inc(x_409); -x_416 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_415, x_2, x_409); +x_416 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_415, x_2, x_409); x_417 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_417, 0, x_413); lean_ctor_set(x_417, 1, x_414); @@ -29033,13 +38486,13 @@ else lean_object* x_423; lean_object* x_424; x_423 = lean_ctor_get(x_4, 2); lean_inc(x_423); -x_424 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_423, x_2); +x_424 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_423, x_2); lean_dec(x_423); if (lean_obj_tag(x_424) == 0) { lean_object* x_425; lean_inc(x_2); -x_425 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___at_Lean_MetavarContext_mkLambda___spec__3(x_1, x_2, x_4); +x_425 = l___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main(x_1, x_2, x_4); if (lean_obj_tag(x_425) == 0) { lean_object* x_426; lean_object* x_427; uint8_t x_428; @@ -29054,7 +38507,7 @@ if (x_428 == 0) lean_object* x_429; lean_object* x_430; x_429 = lean_ctor_get(x_426, 2); lean_inc(x_427); -x_430 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_429, x_2, x_427); +x_430 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_429, x_2, x_427); lean_ctor_set(x_426, 2, x_430); x_387 = x_427; x_388 = x_426; @@ -29071,7 +38524,7 @@ lean_inc(x_432); lean_inc(x_431); lean_dec(x_426); lean_inc(x_427); -x_434 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_433, x_2, x_427); +x_434 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_433, x_2, x_427); x_435 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_435, 0, x_431); lean_ctor_set(x_435, 1, x_432); @@ -29122,7 +38575,7 @@ block_402: { lean_object* x_389; lean_object* x_390; x_389 = lean_unsigned_to_nat(0u); -x_390 = l_Array_umapMAux___main___at_Lean_MetavarContext_mkLambda___spec__65(x_1, x_389, x_3, x_388); +x_390 = l_Array_umapMAux___main___at___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main___spec__3(x_1, x_389, x_3, x_388); if (lean_obj_tag(x_390) == 0) { uint8_t x_391; @@ -29196,13 +38649,13 @@ else lean_object* x_459; lean_object* x_460; x_459 = lean_ctor_get(x_4, 2); lean_inc(x_459); -x_460 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_459, x_2); +x_460 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_459, x_2); lean_dec(x_459); if (lean_obj_tag(x_460) == 0) { lean_object* x_461; lean_inc(x_2); -x_461 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___at_Lean_MetavarContext_mkLambda___spec__3(x_1, x_2, x_4); +x_461 = l___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main(x_1, x_2, x_4); if (lean_obj_tag(x_461) == 0) { lean_object* x_462; lean_object* x_463; uint8_t x_464; @@ -29217,7 +38670,7 @@ if (x_464 == 0) lean_object* x_465; lean_object* x_466; x_465 = lean_ctor_get(x_462, 2); lean_inc(x_463); -x_466 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_465, x_2, x_463); +x_466 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_465, x_2, x_463); lean_ctor_set(x_462, 2, x_466); x_441 = x_463; x_442 = x_462; @@ -29234,7 +38687,7 @@ lean_inc(x_468); lean_inc(x_467); lean_dec(x_462); lean_inc(x_463); -x_470 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_469, x_2, x_463); +x_470 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_469, x_2, x_463); x_471 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_471, 0, x_467); lean_ctor_set(x_471, 1, x_468); @@ -29287,13 +38740,13 @@ else lean_object* x_477; lean_object* x_478; x_477 = lean_ctor_get(x_4, 2); lean_inc(x_477); -x_478 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_477, x_2); +x_478 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_477, x_2); lean_dec(x_477); if (lean_obj_tag(x_478) == 0) { lean_object* x_479; lean_inc(x_2); -x_479 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___at_Lean_MetavarContext_mkLambda___spec__3(x_1, x_2, x_4); +x_479 = l___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main(x_1, x_2, x_4); if (lean_obj_tag(x_479) == 0) { lean_object* x_480; lean_object* x_481; uint8_t x_482; @@ -29308,7 +38761,7 @@ if (x_482 == 0) lean_object* x_483; lean_object* x_484; x_483 = lean_ctor_get(x_480, 2); lean_inc(x_481); -x_484 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_483, x_2, x_481); +x_484 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_483, x_2, x_481); lean_ctor_set(x_480, 2, x_484); x_441 = x_481; x_442 = x_480; @@ -29325,7 +38778,7 @@ lean_inc(x_486); lean_inc(x_485); lean_dec(x_480); lean_inc(x_481); -x_488 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_487, x_2, x_481); +x_488 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_487, x_2, x_481); x_489 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_489, 0, x_485); lean_ctor_set(x_489, 1, x_486); @@ -29376,7 +38829,7 @@ block_456: { lean_object* x_443; lean_object* x_444; x_443 = lean_unsigned_to_nat(0u); -x_444 = l_Array_umapMAux___main___at_Lean_MetavarContext_mkLambda___spec__65(x_1, x_443, x_3, x_442); +x_444 = l_Array_umapMAux___main___at___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main___spec__3(x_1, x_443, x_3, x_442); if (lean_obj_tag(x_444) == 0) { uint8_t x_445; @@ -29450,13 +38903,13 @@ else lean_object* x_513; lean_object* x_514; x_513 = lean_ctor_get(x_4, 2); lean_inc(x_513); -x_514 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_513, x_2); +x_514 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_513, x_2); lean_dec(x_513); if (lean_obj_tag(x_514) == 0) { lean_object* x_515; lean_inc(x_2); -x_515 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___at_Lean_MetavarContext_mkLambda___spec__3(x_1, x_2, x_4); +x_515 = l___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main(x_1, x_2, x_4); if (lean_obj_tag(x_515) == 0) { lean_object* x_516; lean_object* x_517; uint8_t x_518; @@ -29471,7 +38924,7 @@ if (x_518 == 0) lean_object* x_519; lean_object* x_520; x_519 = lean_ctor_get(x_516, 2); lean_inc(x_517); -x_520 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_519, x_2, x_517); +x_520 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_519, x_2, x_517); lean_ctor_set(x_516, 2, x_520); x_495 = x_517; x_496 = x_516; @@ -29488,7 +38941,7 @@ lean_inc(x_522); lean_inc(x_521); lean_dec(x_516); lean_inc(x_517); -x_524 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_523, x_2, x_517); +x_524 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_523, x_2, x_517); x_525 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_525, 0, x_521); lean_ctor_set(x_525, 1, x_522); @@ -29541,13 +38994,13 @@ else lean_object* x_531; lean_object* x_532; x_531 = lean_ctor_get(x_4, 2); lean_inc(x_531); -x_532 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_531, x_2); +x_532 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_531, x_2); lean_dec(x_531); if (lean_obj_tag(x_532) == 0) { lean_object* x_533; lean_inc(x_2); -x_533 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___at_Lean_MetavarContext_mkLambda___spec__3(x_1, x_2, x_4); +x_533 = l___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main(x_1, x_2, x_4); if (lean_obj_tag(x_533) == 0) { lean_object* x_534; lean_object* x_535; uint8_t x_536; @@ -29562,7 +39015,7 @@ if (x_536 == 0) lean_object* x_537; lean_object* x_538; x_537 = lean_ctor_get(x_534, 2); lean_inc(x_535); -x_538 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_537, x_2, x_535); +x_538 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_537, x_2, x_535); lean_ctor_set(x_534, 2, x_538); x_495 = x_535; x_496 = x_534; @@ -29579,7 +39032,7 @@ lean_inc(x_540); lean_inc(x_539); lean_dec(x_534); lean_inc(x_535); -x_542 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_541, x_2, x_535); +x_542 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_541, x_2, x_535); x_543 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_543, 0, x_539); lean_ctor_set(x_543, 1, x_540); @@ -29630,7 +39083,7 @@ block_510: { lean_object* x_497; lean_object* x_498; x_497 = lean_unsigned_to_nat(0u); -x_498 = l_Array_umapMAux___main___at_Lean_MetavarContext_mkLambda___spec__65(x_1, x_497, x_3, x_496); +x_498 = l_Array_umapMAux___main___at___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main___spec__3(x_1, x_497, x_3, x_496); if (lean_obj_tag(x_498) == 0) { uint8_t x_499; @@ -29704,13 +39157,13 @@ else lean_object* x_567; lean_object* x_568; x_567 = lean_ctor_get(x_4, 2); lean_inc(x_567); -x_568 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_567, x_2); +x_568 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_567, x_2); lean_dec(x_567); if (lean_obj_tag(x_568) == 0) { lean_object* x_569; lean_inc(x_2); -x_569 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___at_Lean_MetavarContext_mkLambda___spec__3(x_1, x_2, x_4); +x_569 = l___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main(x_1, x_2, x_4); if (lean_obj_tag(x_569) == 0) { lean_object* x_570; lean_object* x_571; uint8_t x_572; @@ -29725,7 +39178,7 @@ if (x_572 == 0) lean_object* x_573; lean_object* x_574; x_573 = lean_ctor_get(x_570, 2); lean_inc(x_571); -x_574 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_573, x_2, x_571); +x_574 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_573, x_2, x_571); lean_ctor_set(x_570, 2, x_574); x_549 = x_571; x_550 = x_570; @@ -29742,7 +39195,7 @@ lean_inc(x_576); lean_inc(x_575); lean_dec(x_570); lean_inc(x_571); -x_578 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_577, x_2, x_571); +x_578 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_577, x_2, x_571); x_579 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_579, 0, x_575); lean_ctor_set(x_579, 1, x_576); @@ -29795,13 +39248,13 @@ else lean_object* x_585; lean_object* x_586; x_585 = lean_ctor_get(x_4, 2); lean_inc(x_585); -x_586 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_585, x_2); +x_586 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_585, x_2); lean_dec(x_585); if (lean_obj_tag(x_586) == 0) { lean_object* x_587; lean_inc(x_2); -x_587 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___at_Lean_MetavarContext_mkLambda___spec__3(x_1, x_2, x_4); +x_587 = l___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main(x_1, x_2, x_4); if (lean_obj_tag(x_587) == 0) { lean_object* x_588; lean_object* x_589; uint8_t x_590; @@ -29816,7 +39269,7 @@ if (x_590 == 0) lean_object* x_591; lean_object* x_592; x_591 = lean_ctor_get(x_588, 2); lean_inc(x_589); -x_592 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_591, x_2, x_589); +x_592 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_591, x_2, x_589); lean_ctor_set(x_588, 2, x_592); x_549 = x_589; x_550 = x_588; @@ -29833,7 +39286,7 @@ lean_inc(x_594); lean_inc(x_593); lean_dec(x_588); lean_inc(x_589); -x_596 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_595, x_2, x_589); +x_596 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_595, x_2, x_589); x_597 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_597, 0, x_593); lean_ctor_set(x_597, 1, x_594); @@ -29884,7 +39337,7 @@ block_564: { lean_object* x_551; lean_object* x_552; x_551 = lean_unsigned_to_nat(0u); -x_552 = l_Array_umapMAux___main___at_Lean_MetavarContext_mkLambda___spec__65(x_1, x_551, x_3, x_550); +x_552 = l_Array_umapMAux___main___at___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main___spec__3(x_1, x_551, x_3, x_550); if (lean_obj_tag(x_552) == 0) { uint8_t x_553; @@ -29942,7 +39395,7 @@ return x_563; } } } -lean_object* l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___at_Lean_MetavarContext_mkLambda___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; lean_object* x_5; lean_object* x_15; lean_object* x_16; @@ -29963,26 +39416,25 @@ lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean x_29 = l_Lean_MetavarContext_getDecl(x_27, x_26); x_30 = lean_ctor_get(x_29, 1); lean_inc(x_30); -x_31 = l_Lean_AbstractMetavarContext_MkBinding_getInScope(x_30, x_1); +x_31 = l___private_Init_Lean_MetavarContext_21__getInScope(x_30, x_1); x_32 = lean_array_get_size(x_31); x_33 = lean_unsigned_to_nat(0u); x_34 = lean_nat_dec_eq(x_32, x_33); lean_dec(x_32); if (x_34 == 0) { -lean_object* x_35; -lean_inc(x_30); -x_35 = l_Lean_AbstractMetavarContext_MkBinding_collectDeps___at_Lean_MetavarContext_mkLambda___spec__4(x_27, x_30, x_31); -if (lean_obj_tag(x_35) == 0) +uint8_t x_35; +x_35 = l_Lean_MetavarContext_isExprAssignable(x_27, x_26); +if (x_35 == 0) { lean_object* x_36; lean_object* x_37; +lean_dec(x_31); lean_dec(x_30); lean_dec(x_29); -lean_dec(x_26); +lean_dec(x_27); lean_dec(x_2); -x_36 = lean_ctor_get(x_35, 0); -lean_inc(x_36); -lean_dec(x_35); +x_36 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_36, 0, x_26); x_37 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_37, 0, x_36); lean_ctor_set(x_37, 1, x_3); @@ -29990,496 +39442,524 @@ return x_37; } else { -lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; lean_object* x_42; -x_38 = lean_ctor_get(x_35, 0); -lean_inc(x_38); -lean_dec(x_35); +lean_object* x_38; lean_inc(x_30); -x_39 = l_Lean_AbstractMetavarContext_MkBinding_reduceLocalContext(x_30, x_38); -x_40 = lean_ctor_get(x_29, 2); -lean_inc(x_40); -x_41 = 0; -lean_inc(x_38); -lean_inc(x_30); -x_42 = l_Lean_AbstractMetavarContext_MkBinding_mkBinding___at_Lean_MetavarContext_mkLambda___spec__62(x_41, x_30, x_38, x_40, x_3); -if (lean_obj_tag(x_42) == 0) +x_38 = l___private_Init_Lean_MetavarContext_17__collectDeps(x_27, x_30, x_31); +if (lean_obj_tag(x_38) == 0) { -lean_object* x_43; lean_object* x_44; uint8_t x_45; -x_43 = lean_ctor_get(x_42, 1); +lean_object* x_39; lean_object* x_40; +lean_dec(x_30); +lean_dec(x_29); +lean_dec(x_26); +lean_dec(x_2); +x_39 = lean_ctor_get(x_38, 0); +lean_inc(x_39); +lean_dec(x_38); +x_40 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_40, 0, x_39); +lean_ctor_set(x_40, 1, x_3); +return x_40; +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44; lean_object* x_45; +x_41 = lean_ctor_get(x_38, 0); +lean_inc(x_41); +lean_dec(x_38); +lean_inc(x_30); +x_42 = l___private_Init_Lean_MetavarContext_18__reduceLocalContext(x_30, x_41); +x_43 = lean_ctor_get(x_29, 2); lean_inc(x_43); -x_44 = lean_ctor_get(x_43, 1); -lean_inc(x_44); -x_45 = !lean_is_exclusive(x_42); -if (x_45 == 0) +x_44 = 0; +lean_inc(x_41); +lean_inc(x_30); +x_45 = l_Lean_MetavarContext_MkBinding_mkBinding___at___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main___spec__1(x_44, x_30, x_41, x_43, x_3); +if (lean_obj_tag(x_45) == 0) { -lean_object* x_46; lean_object* x_47; uint8_t x_48; -x_46 = lean_ctor_get(x_42, 0); -x_47 = lean_ctor_get(x_42, 1); -lean_dec(x_47); -x_48 = !lean_is_exclusive(x_43); +lean_object* x_46; lean_object* x_47; uint8_t x_48; lean_object* x_49; uint8_t x_50; +x_46 = lean_ctor_get(x_45, 0); +lean_inc(x_46); +x_47 = lean_ctor_get(x_45, 1); +lean_inc(x_47); +lean_dec(x_45); +x_48 = lean_ctor_get_uint8(x_29, sizeof(void*)*4); +lean_dec(x_29); +x_49 = l___private_Init_Lean_MetavarContext_25__mkAuxMVar(x_42, x_46, x_48, x_47); +x_50 = !lean_is_exclusive(x_49); +if (x_50 == 0) +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; +x_51 = lean_ctor_get(x_49, 0); +x_52 = lean_ctor_get(x_49, 1); +lean_inc(x_51); +x_53 = lean_expr_mk_mvar(x_51); +lean_inc(x_30); +x_54 = l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_24__mkMVarApp___spec__1(x_30, x_41, x_41, x_33, x_53); if (x_48 == 0) { -lean_object* x_49; lean_object* x_50; uint8_t x_51; -x_49 = lean_ctor_get(x_43, 0); -x_50 = lean_ctor_get(x_43, 1); -lean_dec(x_50); -x_51 = !lean_is_exclusive(x_44); -if (x_51 == 0) -{ -lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; uint8_t x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; -x_52 = lean_ctor_get(x_44, 0); -x_53 = lean_ctor_get(x_44, 1); -lean_inc(x_53); -lean_inc(x_52); -x_54 = lean_name_mk_numeral(x_52, x_53); -x_55 = lean_unsigned_to_nat(1u); -x_56 = lean_nat_add(x_53, x_55); -lean_dec(x_53); -lean_ctor_set(x_44, 1, x_56); -x_57 = lean_ctor_get_uint8(x_29, sizeof(void*)*3); -lean_dec(x_29); -x_58 = lean_box(0); -lean_inc(x_54); -x_59 = lean_metavar_ctx_mk_decl(x_49, x_54, x_58, x_39, x_46, x_57); -lean_inc(x_54); -x_60 = lean_expr_mk_mvar(x_54); -lean_inc(x_30); -x_61 = l_Array_iterateMAux___main___at_Lean_AbstractMetavarContext_MkBinding_mkMVarApp___spec__1(x_30, x_38, x_38, x_33, x_60); -if (x_57 == 0) -{ -lean_object* x_62; -lean_dec(x_54); -lean_dec(x_38); +uint8_t x_55; +lean_dec(x_51); +lean_dec(x_41); lean_dec(x_30); lean_dec(x_2); -lean_inc(x_61); -x_62 = lean_metavar_ctx_assign_expr(x_59, x_26, x_61); -lean_ctor_set(x_43, 0, x_62); -lean_ctor_set(x_42, 0, x_61); -return x_42; +x_55 = !lean_is_exclusive(x_52); +if (x_55 == 0) +{ +lean_object* x_56; lean_object* x_57; +x_56 = lean_ctor_get(x_52, 0); +lean_inc(x_54); +x_57 = lean_metavar_ctx_assign_expr(x_56, x_26, x_54); +lean_ctor_set(x_52, 0, x_57); +lean_ctor_set(x_49, 0, x_54); +return x_49; } else { -lean_object* x_63; +lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_58 = lean_ctor_get(x_52, 0); +x_59 = lean_ctor_get(x_52, 1); +x_60 = lean_ctor_get(x_52, 2); +lean_inc(x_60); +lean_inc(x_59); +lean_inc(x_58); +lean_dec(x_52); +lean_inc(x_54); +x_61 = lean_metavar_ctx_assign_expr(x_58, x_26, x_54); +x_62 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_62, 0, x_61); +lean_ctor_set(x_62, 1, x_59); +lean_ctor_set(x_62, 2, x_60); +lean_ctor_set(x_49, 1, x_62); +lean_ctor_set(x_49, 0, x_54); +return x_49; +} +} +else +{ +uint8_t x_63; lean_dec(x_26); -x_63 = lean_metavar_ctx_assign_delayed(x_59, x_54, x_30, x_38, x_2); -lean_ctor_set(x_43, 0, x_63); -lean_ctor_set(x_42, 0, x_61); -return x_42; +x_63 = !lean_is_exclusive(x_52); +if (x_63 == 0) +{ +lean_object* x_64; lean_object* x_65; +x_64 = lean_ctor_get(x_52, 0); +x_65 = lean_metavar_ctx_assign_delayed(x_64, x_51, x_30, x_41, x_2); +lean_ctor_set(x_52, 0, x_65); +lean_ctor_set(x_49, 0, x_54); +return x_49; +} +else +{ +lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; +x_66 = lean_ctor_get(x_52, 0); +x_67 = lean_ctor_get(x_52, 1); +x_68 = lean_ctor_get(x_52, 2); +lean_inc(x_68); +lean_inc(x_67); +lean_inc(x_66); +lean_dec(x_52); +x_69 = lean_metavar_ctx_assign_delayed(x_66, x_51, x_30, x_41, x_2); +x_70 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_70, 0, x_69); +lean_ctor_set(x_70, 1, x_67); +lean_ctor_set(x_70, 2, x_68); +lean_ctor_set(x_49, 1, x_70); +lean_ctor_set(x_49, 0, x_54); +return x_49; +} } } else { -lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; uint8_t x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; -x_64 = lean_ctor_get(x_44, 0); -x_65 = lean_ctor_get(x_44, 1); -lean_inc(x_65); -lean_inc(x_64); -lean_dec(x_44); -lean_inc(x_65); -lean_inc(x_64); -x_66 = lean_name_mk_numeral(x_64, x_65); -x_67 = lean_unsigned_to_nat(1u); -x_68 = lean_nat_add(x_65, x_67); -lean_dec(x_65); -x_69 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_69, 0, x_64); -lean_ctor_set(x_69, 1, x_68); -x_70 = lean_ctor_get_uint8(x_29, sizeof(void*)*3); -lean_dec(x_29); -x_71 = lean_box(0); -lean_inc(x_66); -x_72 = lean_metavar_ctx_mk_decl(x_49, x_66, x_71, x_39, x_46, x_70); -lean_inc(x_66); -x_73 = lean_expr_mk_mvar(x_66); +lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; +x_71 = lean_ctor_get(x_49, 0); +x_72 = lean_ctor_get(x_49, 1); +lean_inc(x_72); +lean_inc(x_71); +lean_dec(x_49); +lean_inc(x_71); +x_73 = lean_expr_mk_mvar(x_71); lean_inc(x_30); -x_74 = l_Array_iterateMAux___main___at_Lean_AbstractMetavarContext_MkBinding_mkMVarApp___spec__1(x_30, x_38, x_38, x_33, x_73); -if (x_70 == 0) +x_74 = l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_24__mkMVarApp___spec__1(x_30, x_41, x_41, x_33, x_73); +if (x_48 == 0) { -lean_object* x_75; -lean_dec(x_66); -lean_dec(x_38); +lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; +lean_dec(x_71); +lean_dec(x_41); lean_dec(x_30); lean_dec(x_2); -lean_inc(x_74); -x_75 = lean_metavar_ctx_assign_expr(x_72, x_26, x_74); -lean_ctor_set(x_43, 1, x_69); -lean_ctor_set(x_43, 0, x_75); -lean_ctor_set(x_42, 0, x_74); -return x_42; -} -else -{ -lean_object* x_76; -lean_dec(x_26); -x_76 = lean_metavar_ctx_assign_delayed(x_72, x_66, x_30, x_38, x_2); -lean_ctor_set(x_43, 1, x_69); -lean_ctor_set(x_43, 0, x_76); -lean_ctor_set(x_42, 0, x_74); -return x_42; -} -} -} -else -{ -lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; uint8_t x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; -x_77 = lean_ctor_get(x_43, 0); -x_78 = lean_ctor_get(x_43, 2); -lean_inc(x_78); +x_75 = lean_ctor_get(x_72, 0); +lean_inc(x_75); +x_76 = lean_ctor_get(x_72, 1); +lean_inc(x_76); +x_77 = lean_ctor_get(x_72, 2); lean_inc(x_77); -lean_dec(x_43); -x_79 = lean_ctor_get(x_44, 0); -lean_inc(x_79); -x_80 = lean_ctor_get(x_44, 1); -lean_inc(x_80); -if (lean_is_exclusive(x_44)) { - lean_ctor_release(x_44, 0); - lean_ctor_release(x_44, 1); - x_81 = x_44; +if (lean_is_exclusive(x_72)) { + lean_ctor_release(x_72, 0); + lean_ctor_release(x_72, 1); + lean_ctor_release(x_72, 2); + x_78 = x_72; } else { - lean_dec_ref(x_44); - x_81 = lean_box(0); + lean_dec_ref(x_72); + x_78 = lean_box(0); } -lean_inc(x_80); -lean_inc(x_79); -x_82 = lean_name_mk_numeral(x_79, x_80); -x_83 = lean_unsigned_to_nat(1u); -x_84 = lean_nat_add(x_80, x_83); -lean_dec(x_80); -if (lean_is_scalar(x_81)) { - x_85 = lean_alloc_ctor(0, 2, 0); +lean_inc(x_74); +x_79 = lean_metavar_ctx_assign_expr(x_75, x_26, x_74); +if (lean_is_scalar(x_78)) { + x_80 = lean_alloc_ctor(0, 3, 0); } else { - x_85 = x_81; + x_80 = x_78; } -lean_ctor_set(x_85, 0, x_79); -lean_ctor_set(x_85, 1, x_84); -x_86 = lean_ctor_get_uint8(x_29, sizeof(void*)*3); -lean_dec(x_29); -x_87 = lean_box(0); -lean_inc(x_82); -x_88 = lean_metavar_ctx_mk_decl(x_77, x_82, x_87, x_39, x_46, x_86); -lean_inc(x_82); -x_89 = lean_expr_mk_mvar(x_82); -lean_inc(x_30); -x_90 = l_Array_iterateMAux___main___at_Lean_AbstractMetavarContext_MkBinding_mkMVarApp___spec__1(x_30, x_38, x_38, x_33, x_89); -if (x_86 == 0) +lean_ctor_set(x_80, 0, x_79); +lean_ctor_set(x_80, 1, x_76); +lean_ctor_set(x_80, 2, x_77); +x_81 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_81, 0, x_74); +lean_ctor_set(x_81, 1, x_80); +return x_81; +} +else { -lean_object* x_91; lean_object* x_92; -lean_dec(x_82); -lean_dec(x_38); +lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; +lean_dec(x_26); +x_82 = lean_ctor_get(x_72, 0); +lean_inc(x_82); +x_83 = lean_ctor_get(x_72, 1); +lean_inc(x_83); +x_84 = lean_ctor_get(x_72, 2); +lean_inc(x_84); +if (lean_is_exclusive(x_72)) { + lean_ctor_release(x_72, 0); + lean_ctor_release(x_72, 1); + lean_ctor_release(x_72, 2); + x_85 = x_72; +} else { + lean_dec_ref(x_72); + x_85 = lean_box(0); +} +x_86 = lean_metavar_ctx_assign_delayed(x_82, x_71, x_30, x_41, x_2); +if (lean_is_scalar(x_85)) { + x_87 = lean_alloc_ctor(0, 3, 0); +} else { + x_87 = x_85; +} +lean_ctor_set(x_87, 0, x_86); +lean_ctor_set(x_87, 1, x_83); +lean_ctor_set(x_87, 2, x_84); +x_88 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_88, 0, x_74); +lean_ctor_set(x_88, 1, x_87); +return x_88; +} +} +} +else +{ +uint8_t x_89; +lean_dec(x_42); +lean_dec(x_41); lean_dec(x_30); +lean_dec(x_29); +lean_dec(x_26); lean_dec(x_2); +x_89 = !lean_is_exclusive(x_45); +if (x_89 == 0) +{ +return x_45; +} +else +{ +lean_object* x_90; lean_object* x_91; lean_object* x_92; +x_90 = lean_ctor_get(x_45, 0); +x_91 = lean_ctor_get(x_45, 1); +lean_inc(x_91); lean_inc(x_90); -x_91 = lean_metavar_ctx_assign_expr(x_88, x_26, x_90); -x_92 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_92, 0, x_91); -lean_ctor_set(x_92, 1, x_85); -lean_ctor_set(x_92, 2, x_78); -lean_ctor_set(x_42, 1, x_92); -lean_ctor_set(x_42, 0, x_90); -return x_42; +lean_dec(x_45); +x_92 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_92, 0, x_90); +lean_ctor_set(x_92, 1, x_91); +return x_92; } -else -{ -lean_object* x_93; lean_object* x_94; -lean_dec(x_26); -x_93 = lean_metavar_ctx_assign_delayed(x_88, x_82, x_30, x_38, x_2); -x_94 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_94, 0, x_93); -lean_ctor_set(x_94, 1, x_85); -lean_ctor_set(x_94, 2, x_78); -lean_ctor_set(x_42, 1, x_94); -lean_ctor_set(x_42, 0, x_90); -return x_42; -} -} -} -else -{ -lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; uint8_t x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; -x_95 = lean_ctor_get(x_42, 0); -lean_inc(x_95); -lean_dec(x_42); -x_96 = lean_ctor_get(x_43, 0); -lean_inc(x_96); -x_97 = lean_ctor_get(x_43, 2); -lean_inc(x_97); -if (lean_is_exclusive(x_43)) { - lean_ctor_release(x_43, 0); - lean_ctor_release(x_43, 1); - lean_ctor_release(x_43, 2); - x_98 = x_43; -} else { - lean_dec_ref(x_43); - x_98 = lean_box(0); -} -x_99 = lean_ctor_get(x_44, 0); -lean_inc(x_99); -x_100 = lean_ctor_get(x_44, 1); -lean_inc(x_100); -if (lean_is_exclusive(x_44)) { - lean_ctor_release(x_44, 0); - lean_ctor_release(x_44, 1); - x_101 = x_44; -} else { - lean_dec_ref(x_44); - x_101 = lean_box(0); -} -lean_inc(x_100); -lean_inc(x_99); -x_102 = lean_name_mk_numeral(x_99, x_100); -x_103 = lean_unsigned_to_nat(1u); -x_104 = lean_nat_add(x_100, x_103); -lean_dec(x_100); -if (lean_is_scalar(x_101)) { - x_105 = lean_alloc_ctor(0, 2, 0); -} else { - x_105 = x_101; -} -lean_ctor_set(x_105, 0, x_99); -lean_ctor_set(x_105, 1, x_104); -x_106 = lean_ctor_get_uint8(x_29, sizeof(void*)*3); -lean_dec(x_29); -x_107 = lean_box(0); -lean_inc(x_102); -x_108 = lean_metavar_ctx_mk_decl(x_96, x_102, x_107, x_39, x_95, x_106); -lean_inc(x_102); -x_109 = lean_expr_mk_mvar(x_102); -lean_inc(x_30); -x_110 = l_Array_iterateMAux___main___at_Lean_AbstractMetavarContext_MkBinding_mkMVarApp___spec__1(x_30, x_38, x_38, x_33, x_109); -if (x_106 == 0) -{ -lean_object* x_111; lean_object* x_112; lean_object* x_113; -lean_dec(x_102); -lean_dec(x_38); -lean_dec(x_30); -lean_dec(x_2); -lean_inc(x_110); -x_111 = lean_metavar_ctx_assign_expr(x_108, x_26, x_110); -if (lean_is_scalar(x_98)) { - x_112 = lean_alloc_ctor(0, 3, 0); -} else { - x_112 = x_98; -} -lean_ctor_set(x_112, 0, x_111); -lean_ctor_set(x_112, 1, x_105); -lean_ctor_set(x_112, 2, x_97); -x_113 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_113, 0, x_110); -lean_ctor_set(x_113, 1, x_112); -return x_113; -} -else -{ -lean_object* x_114; lean_object* x_115; lean_object* x_116; -lean_dec(x_26); -x_114 = lean_metavar_ctx_assign_delayed(x_108, x_102, x_30, x_38, x_2); -if (lean_is_scalar(x_98)) { - x_115 = lean_alloc_ctor(0, 3, 0); -} else { - x_115 = x_98; -} -lean_ctor_set(x_115, 0, x_114); -lean_ctor_set(x_115, 1, x_105); -lean_ctor_set(x_115, 2, x_97); -x_116 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_116, 0, x_110); -lean_ctor_set(x_116, 1, x_115); -return x_116; -} -} -} -else -{ -uint8_t x_117; -lean_dec(x_39); -lean_dec(x_38); -lean_dec(x_30); -lean_dec(x_29); -lean_dec(x_26); -lean_dec(x_2); -x_117 = !lean_is_exclusive(x_42); -if (x_117 == 0) -{ -return x_42; -} -else -{ -lean_object* x_118; lean_object* x_119; lean_object* x_120; -x_118 = lean_ctor_get(x_42, 0); -x_119 = lean_ctor_get(x_42, 1); -lean_inc(x_119); -lean_inc(x_118); -lean_dec(x_42); -x_120 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_120, 0, x_118); -lean_ctor_set(x_120, 1, x_119); -return x_120; } } } } else { -lean_object* x_121; +lean_object* x_93; lean_dec(x_31); lean_dec(x_30); lean_dec(x_29); lean_dec(x_27); lean_dec(x_26); +x_93 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_93, 0, x_2); +lean_ctor_set(x_93, 1, x_3); +return x_93; +} +} +else +{ +lean_object* x_94; uint8_t x_95; +lean_dec(x_27); +lean_dec(x_26); +lean_dec(x_2); +x_94 = lean_ctor_get(x_28, 0); +lean_inc(x_94); +lean_dec(x_28); +x_95 = lean_expr_has_expr_mvar(x_94); +if (x_95 == 0) +{ +uint8_t x_96; +x_96 = lean_expr_has_level_mvar(x_94); +if (x_96 == 0) +{ +lean_object* x_97; +x_97 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_97, 0, x_94); +lean_ctor_set(x_97, 1, x_3); +return x_97; +} +else +{ +lean_object* x_98; lean_object* x_99; +x_98 = lean_ctor_get(x_3, 2); +lean_inc(x_98); +x_99 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_98, x_94); +lean_dec(x_98); +if (lean_obj_tag(x_99) == 0) +{ +lean_object* x_100; +lean_inc(x_94); +x_100 = l___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main(x_1, x_94, x_3); +if (lean_obj_tag(x_100) == 0) +{ +uint8_t x_101; +x_101 = !lean_is_exclusive(x_100); +if (x_101 == 0) +{ +lean_object* x_102; uint8_t x_103; +x_102 = lean_ctor_get(x_100, 1); +x_103 = !lean_is_exclusive(x_102); +if (x_103 == 0) +{ +lean_object* x_104; lean_object* x_105; lean_object* x_106; +x_104 = lean_ctor_get(x_100, 0); +x_105 = lean_ctor_get(x_102, 2); +lean_inc(x_104); +x_106 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_105, x_94, x_104); +lean_ctor_set(x_102, 2, x_106); +return x_100; +} +else +{ +lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; +x_107 = lean_ctor_get(x_100, 0); +x_108 = lean_ctor_get(x_102, 0); +x_109 = lean_ctor_get(x_102, 1); +x_110 = lean_ctor_get(x_102, 2); +lean_inc(x_110); +lean_inc(x_109); +lean_inc(x_108); +lean_dec(x_102); +lean_inc(x_107); +x_111 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_110, x_94, x_107); +x_112 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_112, 0, x_108); +lean_ctor_set(x_112, 1, x_109); +lean_ctor_set(x_112, 2, x_111); +lean_ctor_set(x_100, 1, x_112); +return x_100; +} +} +else +{ +lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; +x_113 = lean_ctor_get(x_100, 1); +x_114 = lean_ctor_get(x_100, 0); +lean_inc(x_113); +lean_inc(x_114); +lean_dec(x_100); +x_115 = lean_ctor_get(x_113, 0); +lean_inc(x_115); +x_116 = lean_ctor_get(x_113, 1); +lean_inc(x_116); +x_117 = lean_ctor_get(x_113, 2); +lean_inc(x_117); +if (lean_is_exclusive(x_113)) { + lean_ctor_release(x_113, 0); + lean_ctor_release(x_113, 1); + lean_ctor_release(x_113, 2); + x_118 = x_113; +} else { + lean_dec_ref(x_113); + x_118 = lean_box(0); +} +lean_inc(x_114); +x_119 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_117, x_94, x_114); +if (lean_is_scalar(x_118)) { + x_120 = lean_alloc_ctor(0, 3, 0); +} else { + x_120 = x_118; +} +lean_ctor_set(x_120, 0, x_115); +lean_ctor_set(x_120, 1, x_116); +lean_ctor_set(x_120, 2, x_119); x_121 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_121, 0, x_2); -lean_ctor_set(x_121, 1, x_3); +lean_ctor_set(x_121, 0, x_114); +lean_ctor_set(x_121, 1, x_120); return x_121; } } else { -lean_object* x_122; uint8_t x_123; -lean_dec(x_27); -lean_dec(x_26); -lean_dec(x_2); -x_122 = lean_ctor_get(x_28, 0); -lean_inc(x_122); -lean_dec(x_28); -x_123 = lean_expr_has_expr_mvar(x_122); -if (x_123 == 0) +uint8_t x_122; +lean_dec(x_94); +x_122 = !lean_is_exclusive(x_100); +if (x_122 == 0) { -uint8_t x_124; -x_124 = lean_expr_has_level_mvar(x_122); -if (x_124 == 0) +return x_100; +} +else { -lean_object* x_125; -x_125 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_125, 0, x_122); -lean_ctor_set(x_125, 1, x_3); +lean_object* x_123; lean_object* x_124; lean_object* x_125; +x_123 = lean_ctor_get(x_100, 0); +x_124 = lean_ctor_get(x_100, 1); +lean_inc(x_124); +lean_inc(x_123); +lean_dec(x_100); +x_125 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_125, 0, x_123); +lean_ctor_set(x_125, 1, x_124); return x_125; } +} +} else { lean_object* x_126; lean_object* x_127; -x_126 = lean_ctor_get(x_3, 2); +lean_dec(x_94); +x_126 = lean_ctor_get(x_99, 0); lean_inc(x_126); -x_127 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_126, x_122); -lean_dec(x_126); -if (lean_obj_tag(x_127) == 0) +lean_dec(x_99); +x_127 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_127, 0, x_126); +lean_ctor_set(x_127, 1, x_3); +return x_127; +} +} +} +else { -lean_object* x_128; -lean_inc(x_122); -x_128 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___at_Lean_MetavarContext_mkLambda___spec__3(x_1, x_122, x_3); -if (lean_obj_tag(x_128) == 0) +lean_object* x_128; lean_object* x_129; +x_128 = lean_ctor_get(x_3, 2); +lean_inc(x_128); +x_129 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_128, x_94); +lean_dec(x_128); +if (lean_obj_tag(x_129) == 0) { -uint8_t x_129; -x_129 = !lean_is_exclusive(x_128); -if (x_129 == 0) +lean_object* x_130; +lean_inc(x_94); +x_130 = l___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main(x_1, x_94, x_3); +if (lean_obj_tag(x_130) == 0) { -lean_object* x_130; uint8_t x_131; -x_130 = lean_ctor_get(x_128, 1); +uint8_t x_131; x_131 = !lean_is_exclusive(x_130); if (x_131 == 0) { -lean_object* x_132; lean_object* x_133; lean_object* x_134; -x_132 = lean_ctor_get(x_128, 0); -x_133 = lean_ctor_get(x_130, 2); -lean_inc(x_132); -x_134 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_133, x_122, x_132); -lean_ctor_set(x_130, 2, x_134); -return x_128; +lean_object* x_132; uint8_t x_133; +x_132 = lean_ctor_get(x_130, 1); +x_133 = !lean_is_exclusive(x_132); +if (x_133 == 0) +{ +lean_object* x_134; lean_object* x_135; lean_object* x_136; +x_134 = lean_ctor_get(x_130, 0); +x_135 = lean_ctor_get(x_132, 2); +lean_inc(x_134); +x_136 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_135, x_94, x_134); +lean_ctor_set(x_132, 2, x_136); +return x_130; } else { -lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; -x_135 = lean_ctor_get(x_128, 0); -x_136 = lean_ctor_get(x_130, 0); -x_137 = lean_ctor_get(x_130, 1); -x_138 = lean_ctor_get(x_130, 2); +lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; +x_137 = lean_ctor_get(x_130, 0); +x_138 = lean_ctor_get(x_132, 0); +x_139 = lean_ctor_get(x_132, 1); +x_140 = lean_ctor_get(x_132, 2); +lean_inc(x_140); +lean_inc(x_139); lean_inc(x_138); +lean_dec(x_132); lean_inc(x_137); -lean_inc(x_136); -lean_dec(x_130); -lean_inc(x_135); -x_139 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_138, x_122, x_135); -x_140 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_140, 0, x_136); -lean_ctor_set(x_140, 1, x_137); -lean_ctor_set(x_140, 2, x_139); -lean_ctor_set(x_128, 1, x_140); -return x_128; +x_141 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_140, x_94, x_137); +x_142 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_142, 0, x_138); +lean_ctor_set(x_142, 1, x_139); +lean_ctor_set(x_142, 2, x_141); +lean_ctor_set(x_130, 1, x_142); +return x_130; } } else { -lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; -x_141 = lean_ctor_get(x_128, 1); -x_142 = lean_ctor_get(x_128, 0); -lean_inc(x_141); -lean_inc(x_142); -lean_dec(x_128); -x_143 = lean_ctor_get(x_141, 0); +lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; +x_143 = lean_ctor_get(x_130, 1); +x_144 = lean_ctor_get(x_130, 0); lean_inc(x_143); -x_144 = lean_ctor_get(x_141, 1); lean_inc(x_144); -x_145 = lean_ctor_get(x_141, 2); +lean_dec(x_130); +x_145 = lean_ctor_get(x_143, 0); lean_inc(x_145); -if (lean_is_exclusive(x_141)) { - lean_ctor_release(x_141, 0); - lean_ctor_release(x_141, 1); - lean_ctor_release(x_141, 2); - x_146 = x_141; +x_146 = lean_ctor_get(x_143, 1); +lean_inc(x_146); +x_147 = lean_ctor_get(x_143, 2); +lean_inc(x_147); +if (lean_is_exclusive(x_143)) { + lean_ctor_release(x_143, 0); + lean_ctor_release(x_143, 1); + lean_ctor_release(x_143, 2); + x_148 = x_143; } else { - lean_dec_ref(x_141); - x_146 = lean_box(0); + lean_dec_ref(x_143); + x_148 = lean_box(0); } -lean_inc(x_142); -x_147 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_145, x_122, x_142); -if (lean_is_scalar(x_146)) { - x_148 = lean_alloc_ctor(0, 3, 0); +lean_inc(x_144); +x_149 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_147, x_94, x_144); +if (lean_is_scalar(x_148)) { + x_150 = lean_alloc_ctor(0, 3, 0); } else { - x_148 = x_146; + x_150 = x_148; } -lean_ctor_set(x_148, 0, x_143); -lean_ctor_set(x_148, 1, x_144); -lean_ctor_set(x_148, 2, x_147); -x_149 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_149, 0, x_142); -lean_ctor_set(x_149, 1, x_148); -return x_149; +lean_ctor_set(x_150, 0, x_145); +lean_ctor_set(x_150, 1, x_146); +lean_ctor_set(x_150, 2, x_149); +x_151 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_151, 0, x_144); +lean_ctor_set(x_151, 1, x_150); +return x_151; } } else { -uint8_t x_150; -lean_dec(x_122); -x_150 = !lean_is_exclusive(x_128); -if (x_150 == 0) +uint8_t x_152; +lean_dec(x_94); +x_152 = !lean_is_exclusive(x_130); +if (x_152 == 0) { -return x_128; +return x_130; } else { -lean_object* x_151; lean_object* x_152; lean_object* x_153; -x_151 = lean_ctor_get(x_128, 0); -x_152 = lean_ctor_get(x_128, 1); -lean_inc(x_152); -lean_inc(x_151); -lean_dec(x_128); -x_153 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_153, 0, x_151); -lean_ctor_set(x_153, 1, x_152); -return x_153; -} -} -} -else -{ -lean_object* x_154; lean_object* x_155; -lean_dec(x_122); -x_154 = lean_ctor_get(x_127, 0); +lean_object* x_153; lean_object* x_154; lean_object* x_155; +x_153 = lean_ctor_get(x_130, 0); +x_154 = lean_ctor_get(x_130, 1); lean_inc(x_154); -lean_dec(x_127); -x_155 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_155, 0, x_154); -lean_ctor_set(x_155, 1, x_3); +lean_inc(x_153); +lean_dec(x_130); +x_155 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_155, 0, x_153); +lean_ctor_set(x_155, 1, x_154); return x_155; } } @@ -30487,1631 +39967,1516 @@ return x_155; else { lean_object* x_156; lean_object* x_157; -x_156 = lean_ctor_get(x_3, 2); +lean_dec(x_94); +x_156 = lean_ctor_get(x_129, 0); lean_inc(x_156); -x_157 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_156, x_122); -lean_dec(x_156); -if (lean_obj_tag(x_157) == 0) -{ -lean_object* x_158; -lean_inc(x_122); -x_158 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___at_Lean_MetavarContext_mkLambda___spec__3(x_1, x_122, x_3); -if (lean_obj_tag(x_158) == 0) -{ -uint8_t x_159; -x_159 = !lean_is_exclusive(x_158); -if (x_159 == 0) -{ -lean_object* x_160; uint8_t x_161; -x_160 = lean_ctor_get(x_158, 1); -x_161 = !lean_is_exclusive(x_160); -if (x_161 == 0) -{ -lean_object* x_162; lean_object* x_163; lean_object* x_164; -x_162 = lean_ctor_get(x_158, 0); -x_163 = lean_ctor_get(x_160, 2); -lean_inc(x_162); -x_164 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_163, x_122, x_162); -lean_ctor_set(x_160, 2, x_164); -return x_158; -} -else -{ -lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; -x_165 = lean_ctor_get(x_158, 0); -x_166 = lean_ctor_get(x_160, 0); -x_167 = lean_ctor_get(x_160, 1); -x_168 = lean_ctor_get(x_160, 2); -lean_inc(x_168); -lean_inc(x_167); -lean_inc(x_166); -lean_dec(x_160); -lean_inc(x_165); -x_169 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_168, x_122, x_165); -x_170 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_170, 0, x_166); -lean_ctor_set(x_170, 1, x_167); -lean_ctor_set(x_170, 2, x_169); -lean_ctor_set(x_158, 1, x_170); -return x_158; -} -} -else -{ -lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; -x_171 = lean_ctor_get(x_158, 1); -x_172 = lean_ctor_get(x_158, 0); -lean_inc(x_171); -lean_inc(x_172); -lean_dec(x_158); -x_173 = lean_ctor_get(x_171, 0); -lean_inc(x_173); -x_174 = lean_ctor_get(x_171, 1); -lean_inc(x_174); -x_175 = lean_ctor_get(x_171, 2); -lean_inc(x_175); -if (lean_is_exclusive(x_171)) { - lean_ctor_release(x_171, 0); - lean_ctor_release(x_171, 1); - lean_ctor_release(x_171, 2); - x_176 = x_171; -} else { - lean_dec_ref(x_171); - x_176 = lean_box(0); -} -lean_inc(x_172); -x_177 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_175, x_122, x_172); -if (lean_is_scalar(x_176)) { - x_178 = lean_alloc_ctor(0, 3, 0); -} else { - x_178 = x_176; -} -lean_ctor_set(x_178, 0, x_173); -lean_ctor_set(x_178, 1, x_174); -lean_ctor_set(x_178, 2, x_177); -x_179 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_179, 0, x_172); -lean_ctor_set(x_179, 1, x_178); -return x_179; -} -} -else -{ -uint8_t x_180; -lean_dec(x_122); -x_180 = !lean_is_exclusive(x_158); -if (x_180 == 0) -{ -return x_158; -} -else -{ -lean_object* x_181; lean_object* x_182; lean_object* x_183; -x_181 = lean_ctor_get(x_158, 0); -x_182 = lean_ctor_get(x_158, 1); -lean_inc(x_182); -lean_inc(x_181); -lean_dec(x_158); -x_183 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_183, 0, x_181); -lean_ctor_set(x_183, 1, x_182); -return x_183; -} -} -} -else -{ -lean_object* x_184; lean_object* x_185; -lean_dec(x_122); -x_184 = lean_ctor_get(x_157, 0); -lean_inc(x_184); -lean_dec(x_157); -x_185 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_185, 0, x_184); -lean_ctor_set(x_185, 1, x_3); -return x_185; +lean_dec(x_129); +x_157 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_157, 0, x_156); +lean_ctor_set(x_157, 1, x_3); +return x_157; } } } } case 5: { -lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; -x_186 = lean_unsigned_to_nat(0u); -x_187 = l_Lean_Expr_getAppNumArgsAux___main(x_2, x_186); -x_188 = lean_mk_empty_array_with_capacity(x_187); -lean_dec(x_187); -x_189 = l___private_Init_Lean_Expr_4__withAppRevAux___main___at_Lean_MetavarContext_mkLambda___spec__66(x_1, x_2, x_188, x_3); -return x_189; +lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; +x_158 = lean_unsigned_to_nat(0u); +x_159 = l_Lean_Expr_getAppNumArgsAux___main(x_2, x_158); +x_160 = lean_mk_empty_array_with_capacity(x_159); +lean_dec(x_159); +x_161 = l___private_Init_Lean_Expr_4__withAppRevAux___main___at___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main___spec__4(x_1, x_2, x_160, x_3); +return x_161; } case 6: { -lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; uint8_t x_245; -x_190 = lean_ctor_get(x_2, 1); -lean_inc(x_190); -x_191 = lean_ctor_get(x_2, 2); -lean_inc(x_191); -x_245 = lean_expr_has_expr_mvar(x_190); -if (x_245 == 0) +lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; uint8_t x_217; +x_162 = lean_ctor_get(x_2, 1); +lean_inc(x_162); +x_163 = lean_ctor_get(x_2, 2); +lean_inc(x_163); +x_217 = lean_expr_has_expr_mvar(x_162); +if (x_217 == 0) { -uint8_t x_246; -x_246 = lean_expr_has_level_mvar(x_190); -if (x_246 == 0) +uint8_t x_218; +x_218 = lean_expr_has_level_mvar(x_162); +if (x_218 == 0) { -x_192 = x_190; -x_193 = x_3; -goto block_244; +x_164 = x_162; +x_165 = x_3; +goto block_216; } else { -lean_object* x_247; lean_object* x_248; -x_247 = lean_ctor_get(x_3, 2); -lean_inc(x_247); -x_248 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_247, x_190); -lean_dec(x_247); -if (lean_obj_tag(x_248) == 0) +lean_object* x_219; lean_object* x_220; +x_219 = lean_ctor_get(x_3, 2); +lean_inc(x_219); +x_220 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_219, x_162); +lean_dec(x_219); +if (lean_obj_tag(x_220) == 0) { -lean_object* x_249; -lean_inc(x_190); -x_249 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___at_Lean_MetavarContext_mkLambda___spec__3(x_1, x_190, x_3); -if (lean_obj_tag(x_249) == 0) +lean_object* x_221; +lean_inc(x_162); +x_221 = l___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main(x_1, x_162, x_3); +if (lean_obj_tag(x_221) == 0) { -lean_object* x_250; lean_object* x_251; uint8_t x_252; -x_250 = lean_ctor_get(x_249, 1); -lean_inc(x_250); -x_251 = lean_ctor_get(x_249, 0); -lean_inc(x_251); -lean_dec(x_249); -x_252 = !lean_is_exclusive(x_250); -if (x_252 == 0) -{ -lean_object* x_253; lean_object* x_254; -x_253 = lean_ctor_get(x_250, 2); -lean_inc(x_251); -x_254 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_253, x_190, x_251); -lean_ctor_set(x_250, 2, x_254); -x_192 = x_251; -x_193 = x_250; -goto block_244; -} -else -{ -lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; -x_255 = lean_ctor_get(x_250, 0); -x_256 = lean_ctor_get(x_250, 1); -x_257 = lean_ctor_get(x_250, 2); -lean_inc(x_257); -lean_inc(x_256); -lean_inc(x_255); -lean_dec(x_250); -lean_inc(x_251); -x_258 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_257, x_190, x_251); -x_259 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_259, 0, x_255); -lean_ctor_set(x_259, 1, x_256); -lean_ctor_set(x_259, 2, x_258); -x_192 = x_251; -x_193 = x_259; -goto block_244; -} -} -else -{ -uint8_t x_260; -lean_dec(x_191); -lean_dec(x_190); -lean_dec(x_2); -x_260 = !lean_is_exclusive(x_249); -if (x_260 == 0) -{ -return x_249; -} -else -{ -lean_object* x_261; lean_object* x_262; lean_object* x_263; -x_261 = lean_ctor_get(x_249, 0); -x_262 = lean_ctor_get(x_249, 1); -lean_inc(x_262); -lean_inc(x_261); -lean_dec(x_249); -x_263 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_263, 0, x_261); -lean_ctor_set(x_263, 1, x_262); -return x_263; -} -} -} -else -{ -lean_object* x_264; -lean_dec(x_190); -x_264 = lean_ctor_get(x_248, 0); -lean_inc(x_264); -lean_dec(x_248); -x_192 = x_264; -x_193 = x_3; -goto block_244; -} -} -} -else -{ -lean_object* x_265; lean_object* x_266; -x_265 = lean_ctor_get(x_3, 2); -lean_inc(x_265); -x_266 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_265, x_190); -lean_dec(x_265); -if (lean_obj_tag(x_266) == 0) -{ -lean_object* x_267; -lean_inc(x_190); -x_267 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___at_Lean_MetavarContext_mkLambda___spec__3(x_1, x_190, x_3); -if (lean_obj_tag(x_267) == 0) -{ -lean_object* x_268; lean_object* x_269; uint8_t x_270; -x_268 = lean_ctor_get(x_267, 1); -lean_inc(x_268); -x_269 = lean_ctor_get(x_267, 0); -lean_inc(x_269); -lean_dec(x_267); -x_270 = !lean_is_exclusive(x_268); -if (x_270 == 0) -{ -lean_object* x_271; lean_object* x_272; -x_271 = lean_ctor_get(x_268, 2); -lean_inc(x_269); -x_272 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_271, x_190, x_269); -lean_ctor_set(x_268, 2, x_272); -x_192 = x_269; -x_193 = x_268; -goto block_244; -} -else -{ -lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; -x_273 = lean_ctor_get(x_268, 0); -x_274 = lean_ctor_get(x_268, 1); -x_275 = lean_ctor_get(x_268, 2); -lean_inc(x_275); -lean_inc(x_274); -lean_inc(x_273); -lean_dec(x_268); -lean_inc(x_269); -x_276 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_275, x_190, x_269); -x_277 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_277, 0, x_273); -lean_ctor_set(x_277, 1, x_274); -lean_ctor_set(x_277, 2, x_276); -x_192 = x_269; -x_193 = x_277; -goto block_244; -} -} -else -{ -uint8_t x_278; -lean_dec(x_191); -lean_dec(x_190); -lean_dec(x_2); -x_278 = !lean_is_exclusive(x_267); -if (x_278 == 0) -{ -return x_267; -} -else -{ -lean_object* x_279; lean_object* x_280; lean_object* x_281; -x_279 = lean_ctor_get(x_267, 0); -x_280 = lean_ctor_get(x_267, 1); -lean_inc(x_280); -lean_inc(x_279); -lean_dec(x_267); -x_281 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_281, 0, x_279); -lean_ctor_set(x_281, 1, x_280); -return x_281; -} -} -} -else -{ -lean_object* x_282; -lean_dec(x_190); -x_282 = lean_ctor_get(x_266, 0); -lean_inc(x_282); -lean_dec(x_266); -x_192 = x_282; -x_193 = x_3; -goto block_244; -} -} -block_244: -{ -lean_object* x_194; lean_object* x_195; uint8_t x_206; -x_206 = lean_expr_has_expr_mvar(x_191); -if (x_206 == 0) -{ -uint8_t x_207; -x_207 = lean_expr_has_level_mvar(x_191); -if (x_207 == 0) -{ -x_194 = x_191; -x_195 = x_193; -goto block_205; -} -else -{ -lean_object* x_208; lean_object* x_209; -x_208 = lean_ctor_get(x_193, 2); -lean_inc(x_208); -x_209 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_208, x_191); -lean_dec(x_208); -if (lean_obj_tag(x_209) == 0) -{ -lean_object* x_210; -lean_inc(x_191); -x_210 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___at_Lean_MetavarContext_mkLambda___spec__3(x_1, x_191, x_193); -if (lean_obj_tag(x_210) == 0) -{ -lean_object* x_211; lean_object* x_212; uint8_t x_213; -x_211 = lean_ctor_get(x_210, 1); -lean_inc(x_211); -x_212 = lean_ctor_get(x_210, 0); -lean_inc(x_212); -lean_dec(x_210); -x_213 = !lean_is_exclusive(x_211); -if (x_213 == 0) -{ -lean_object* x_214; lean_object* x_215; -x_214 = lean_ctor_get(x_211, 2); -lean_inc(x_212); -x_215 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_214, x_191, x_212); -lean_ctor_set(x_211, 2, x_215); -x_194 = x_212; -x_195 = x_211; -goto block_205; -} -else -{ -lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; -x_216 = lean_ctor_get(x_211, 0); -x_217 = lean_ctor_get(x_211, 1); -x_218 = lean_ctor_get(x_211, 2); -lean_inc(x_218); -lean_inc(x_217); -lean_inc(x_216); -lean_dec(x_211); -lean_inc(x_212); -x_219 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_218, x_191, x_212); -x_220 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_220, 0, x_216); -lean_ctor_set(x_220, 1, x_217); -lean_ctor_set(x_220, 2, x_219); -x_194 = x_212; -x_195 = x_220; -goto block_205; -} -} -else -{ -uint8_t x_221; -lean_dec(x_192); -lean_dec(x_191); -lean_dec(x_2); -x_221 = !lean_is_exclusive(x_210); -if (x_221 == 0) -{ -return x_210; -} -else -{ -lean_object* x_222; lean_object* x_223; lean_object* x_224; -x_222 = lean_ctor_get(x_210, 0); -x_223 = lean_ctor_get(x_210, 1); -lean_inc(x_223); +lean_object* x_222; lean_object* x_223; uint8_t x_224; +x_222 = lean_ctor_get(x_221, 1); lean_inc(x_222); -lean_dec(x_210); -x_224 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_224, 0, x_222); -lean_ctor_set(x_224, 1, x_223); -return x_224; -} -} +x_223 = lean_ctor_get(x_221, 0); +lean_inc(x_223); +lean_dec(x_221); +x_224 = !lean_is_exclusive(x_222); +if (x_224 == 0) +{ +lean_object* x_225; lean_object* x_226; +x_225 = lean_ctor_get(x_222, 2); +lean_inc(x_223); +x_226 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_225, x_162, x_223); +lean_ctor_set(x_222, 2, x_226); +x_164 = x_223; +x_165 = x_222; +goto block_216; } else { -lean_object* x_225; -lean_dec(x_191); -x_225 = lean_ctor_get(x_209, 0); -lean_inc(x_225); -lean_dec(x_209); -x_194 = x_225; -x_195 = x_193; -goto block_205; -} -} -} -else -{ -lean_object* x_226; lean_object* x_227; -x_226 = lean_ctor_get(x_193, 2); -lean_inc(x_226); -x_227 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_226, x_191); -lean_dec(x_226); -if (lean_obj_tag(x_227) == 0) -{ -lean_object* x_228; -lean_inc(x_191); -x_228 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___at_Lean_MetavarContext_mkLambda___spec__3(x_1, x_191, x_193); -if (lean_obj_tag(x_228) == 0) -{ -lean_object* x_229; lean_object* x_230; uint8_t x_231; -x_229 = lean_ctor_get(x_228, 1); +lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; +x_227 = lean_ctor_get(x_222, 0); +x_228 = lean_ctor_get(x_222, 1); +x_229 = lean_ctor_get(x_222, 2); lean_inc(x_229); -x_230 = lean_ctor_get(x_228, 0); -lean_inc(x_230); -lean_dec(x_228); -x_231 = !lean_is_exclusive(x_229); -if (x_231 == 0) -{ -lean_object* x_232; lean_object* x_233; -x_232 = lean_ctor_get(x_229, 2); -lean_inc(x_230); -x_233 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_232, x_191, x_230); -lean_ctor_set(x_229, 2, x_233); -x_194 = x_230; -x_195 = x_229; -goto block_205; -} -else -{ -lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; -x_234 = lean_ctor_get(x_229, 0); -x_235 = lean_ctor_get(x_229, 1); -x_236 = lean_ctor_get(x_229, 2); -lean_inc(x_236); -lean_inc(x_235); -lean_inc(x_234); -lean_dec(x_229); -lean_inc(x_230); -x_237 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_236, x_191, x_230); -x_238 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_238, 0, x_234); -lean_ctor_set(x_238, 1, x_235); -lean_ctor_set(x_238, 2, x_237); -x_194 = x_230; -x_195 = x_238; -goto block_205; +lean_inc(x_228); +lean_inc(x_227); +lean_dec(x_222); +lean_inc(x_223); +x_230 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_229, x_162, x_223); +x_231 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_231, 0, x_227); +lean_ctor_set(x_231, 1, x_228); +lean_ctor_set(x_231, 2, x_230); +x_164 = x_223; +x_165 = x_231; +goto block_216; } } else { -uint8_t x_239; -lean_dec(x_192); -lean_dec(x_191); +uint8_t x_232; +lean_dec(x_163); +lean_dec(x_162); lean_dec(x_2); -x_239 = !lean_is_exclusive(x_228); -if (x_239 == 0) +x_232 = !lean_is_exclusive(x_221); +if (x_232 == 0) { -return x_228; +return x_221; } else { -lean_object* x_240; lean_object* x_241; lean_object* x_242; -x_240 = lean_ctor_get(x_228, 0); -x_241 = lean_ctor_get(x_228, 1); -lean_inc(x_241); +lean_object* x_233; lean_object* x_234; lean_object* x_235; +x_233 = lean_ctor_get(x_221, 0); +x_234 = lean_ctor_get(x_221, 1); +lean_inc(x_234); +lean_inc(x_233); +lean_dec(x_221); +x_235 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_235, 0, x_233); +lean_ctor_set(x_235, 1, x_234); +return x_235; +} +} +} +else +{ +lean_object* x_236; +lean_dec(x_162); +x_236 = lean_ctor_get(x_220, 0); +lean_inc(x_236); +lean_dec(x_220); +x_164 = x_236; +x_165 = x_3; +goto block_216; +} +} +} +else +{ +lean_object* x_237; lean_object* x_238; +x_237 = lean_ctor_get(x_3, 2); +lean_inc(x_237); +x_238 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_237, x_162); +lean_dec(x_237); +if (lean_obj_tag(x_238) == 0) +{ +lean_object* x_239; +lean_inc(x_162); +x_239 = l___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main(x_1, x_162, x_3); +if (lean_obj_tag(x_239) == 0) +{ +lean_object* x_240; lean_object* x_241; uint8_t x_242; +x_240 = lean_ctor_get(x_239, 1); lean_inc(x_240); -lean_dec(x_228); -x_242 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_242, 0, x_240); -lean_ctor_set(x_242, 1, x_241); -return x_242; +x_241 = lean_ctor_get(x_239, 0); +lean_inc(x_241); +lean_dec(x_239); +x_242 = !lean_is_exclusive(x_240); +if (x_242 == 0) +{ +lean_object* x_243; lean_object* x_244; +x_243 = lean_ctor_get(x_240, 2); +lean_inc(x_241); +x_244 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_243, x_162, x_241); +lean_ctor_set(x_240, 2, x_244); +x_164 = x_241; +x_165 = x_240; +goto block_216; +} +else +{ +lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; +x_245 = lean_ctor_get(x_240, 0); +x_246 = lean_ctor_get(x_240, 1); +x_247 = lean_ctor_get(x_240, 2); +lean_inc(x_247); +lean_inc(x_246); +lean_inc(x_245); +lean_dec(x_240); +lean_inc(x_241); +x_248 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_247, x_162, x_241); +x_249 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_249, 0, x_245); +lean_ctor_set(x_249, 1, x_246); +lean_ctor_set(x_249, 2, x_248); +x_164 = x_241; +x_165 = x_249; +goto block_216; +} +} +else +{ +uint8_t x_250; +lean_dec(x_163); +lean_dec(x_162); +lean_dec(x_2); +x_250 = !lean_is_exclusive(x_239); +if (x_250 == 0) +{ +return x_239; +} +else +{ +lean_object* x_251; lean_object* x_252; lean_object* x_253; +x_251 = lean_ctor_get(x_239, 0); +x_252 = lean_ctor_get(x_239, 1); +lean_inc(x_252); +lean_inc(x_251); +lean_dec(x_239); +x_253 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_253, 0, x_251); +lean_ctor_set(x_253, 1, x_252); +return x_253; } } } else { -lean_object* x_243; -lean_dec(x_191); -x_243 = lean_ctor_get(x_227, 0); -lean_inc(x_243); -lean_dec(x_227); -x_194 = x_243; -x_195 = x_193; -goto block_205; +lean_object* x_254; +lean_dec(x_162); +x_254 = lean_ctor_get(x_238, 0); +lean_inc(x_254); +lean_dec(x_238); +x_164 = x_254; +x_165 = x_3; +goto block_216; } } -block_205: +block_216: +{ +lean_object* x_166; lean_object* x_167; uint8_t x_178; +x_178 = lean_expr_has_expr_mvar(x_163); +if (x_178 == 0) +{ +uint8_t x_179; +x_179 = lean_expr_has_level_mvar(x_163); +if (x_179 == 0) +{ +x_166 = x_163; +x_167 = x_165; +goto block_177; +} +else +{ +lean_object* x_180; lean_object* x_181; +x_180 = lean_ctor_get(x_165, 2); +lean_inc(x_180); +x_181 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_180, x_163); +lean_dec(x_180); +if (lean_obj_tag(x_181) == 0) +{ +lean_object* x_182; +lean_inc(x_163); +x_182 = l___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main(x_1, x_163, x_165); +if (lean_obj_tag(x_182) == 0) +{ +lean_object* x_183; lean_object* x_184; uint8_t x_185; +x_183 = lean_ctor_get(x_182, 1); +lean_inc(x_183); +x_184 = lean_ctor_get(x_182, 0); +lean_inc(x_184); +lean_dec(x_182); +x_185 = !lean_is_exclusive(x_183); +if (x_185 == 0) +{ +lean_object* x_186; lean_object* x_187; +x_186 = lean_ctor_get(x_183, 2); +lean_inc(x_184); +x_187 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_186, x_163, x_184); +lean_ctor_set(x_183, 2, x_187); +x_166 = x_184; +x_167 = x_183; +goto block_177; +} +else +{ +lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; +x_188 = lean_ctor_get(x_183, 0); +x_189 = lean_ctor_get(x_183, 1); +x_190 = lean_ctor_get(x_183, 2); +lean_inc(x_190); +lean_inc(x_189); +lean_inc(x_188); +lean_dec(x_183); +lean_inc(x_184); +x_191 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_190, x_163, x_184); +x_192 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_192, 0, x_188); +lean_ctor_set(x_192, 1, x_189); +lean_ctor_set(x_192, 2, x_191); +x_166 = x_184; +x_167 = x_192; +goto block_177; +} +} +else +{ +uint8_t x_193; +lean_dec(x_164); +lean_dec(x_163); +lean_dec(x_2); +x_193 = !lean_is_exclusive(x_182); +if (x_193 == 0) +{ +return x_182; +} +else +{ +lean_object* x_194; lean_object* x_195; lean_object* x_196; +x_194 = lean_ctor_get(x_182, 0); +x_195 = lean_ctor_get(x_182, 1); +lean_inc(x_195); +lean_inc(x_194); +lean_dec(x_182); +x_196 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_196, 0, x_194); +lean_ctor_set(x_196, 1, x_195); +return x_196; +} +} +} +else +{ +lean_object* x_197; +lean_dec(x_163); +x_197 = lean_ctor_get(x_181, 0); +lean_inc(x_197); +lean_dec(x_181); +x_166 = x_197; +x_167 = x_165; +goto block_177; +} +} +} +else +{ +lean_object* x_198; lean_object* x_199; +x_198 = lean_ctor_get(x_165, 2); +lean_inc(x_198); +x_199 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_198, x_163); +lean_dec(x_198); +if (lean_obj_tag(x_199) == 0) +{ +lean_object* x_200; +lean_inc(x_163); +x_200 = l___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main(x_1, x_163, x_165); +if (lean_obj_tag(x_200) == 0) +{ +lean_object* x_201; lean_object* x_202; uint8_t x_203; +x_201 = lean_ctor_get(x_200, 1); +lean_inc(x_201); +x_202 = lean_ctor_get(x_200, 0); +lean_inc(x_202); +lean_dec(x_200); +x_203 = !lean_is_exclusive(x_201); +if (x_203 == 0) +{ +lean_object* x_204; lean_object* x_205; +x_204 = lean_ctor_get(x_201, 2); +lean_inc(x_202); +x_205 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_204, x_163, x_202); +lean_ctor_set(x_201, 2, x_205); +x_166 = x_202; +x_167 = x_201; +goto block_177; +} +else +{ +lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; +x_206 = lean_ctor_get(x_201, 0); +x_207 = lean_ctor_get(x_201, 1); +x_208 = lean_ctor_get(x_201, 2); +lean_inc(x_208); +lean_inc(x_207); +lean_inc(x_206); +lean_dec(x_201); +lean_inc(x_202); +x_209 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_208, x_163, x_202); +x_210 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_210, 0, x_206); +lean_ctor_set(x_210, 1, x_207); +lean_ctor_set(x_210, 2, x_209); +x_166 = x_202; +x_167 = x_210; +goto block_177; +} +} +else +{ +uint8_t x_211; +lean_dec(x_164); +lean_dec(x_163); +lean_dec(x_2); +x_211 = !lean_is_exclusive(x_200); +if (x_211 == 0) +{ +return x_200; +} +else +{ +lean_object* x_212; lean_object* x_213; lean_object* x_214; +x_212 = lean_ctor_get(x_200, 0); +x_213 = lean_ctor_get(x_200, 1); +lean_inc(x_213); +lean_inc(x_212); +lean_dec(x_200); +x_214 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_214, 0, x_212); +lean_ctor_set(x_214, 1, x_213); +return x_214; +} +} +} +else +{ +lean_object* x_215; +lean_dec(x_163); +x_215 = lean_ctor_get(x_199, 0); +lean_inc(x_215); +lean_dec(x_199); +x_166 = x_215; +x_167 = x_165; +goto block_177; +} +} +block_177: { if (lean_obj_tag(x_2) == 6) { -uint8_t x_196; lean_object* x_197; lean_object* x_198; -x_196 = lean_ctor_get_uint8(x_2, sizeof(void*)*3); -x_197 = lean_expr_update_lambda(x_2, x_196, x_192, x_194); -x_198 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_198, 0, x_197); -lean_ctor_set(x_198, 1, x_195); -return x_198; +uint8_t x_168; lean_object* x_169; lean_object* x_170; +x_168 = lean_ctor_get_uint8(x_2, sizeof(void*)*3); +x_169 = lean_expr_update_lambda(x_2, x_168, x_164, x_166); +x_170 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_170, 0, x_169); +lean_ctor_set(x_170, 1, x_167); +return x_170; } else { -lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; -lean_dec(x_194); -lean_dec(x_192); +lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; +lean_dec(x_166); +lean_dec(x_164); lean_dec(x_2); -x_199 = l_Lean_Expr_getRevArg_x21___main___closed__1; -x_200 = lean_unsigned_to_nat(513u); -x_201 = lean_unsigned_to_nat(18u); -x_202 = l_Lean_Expr_updateLambda_x21___closed__1; -x_203 = l_panicWithPos___at_Lean_Expr_getRevArg_x21___main___spec__1(x_199, x_200, x_201, x_202); -x_204 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_204, 0, x_203); -lean_ctor_set(x_204, 1, x_195); -return x_204; +x_171 = l_Lean_Expr_getRevArg_x21___main___closed__1; +x_172 = lean_unsigned_to_nat(513u); +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); +x_176 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_176, 0, x_175); +lean_ctor_set(x_176, 1, x_167); +return x_176; } } } } case 7: { -lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; uint8_t x_338; -x_283 = lean_ctor_get(x_2, 1); -lean_inc(x_283); -x_284 = lean_ctor_get(x_2, 2); -lean_inc(x_284); -x_338 = lean_expr_has_expr_mvar(x_283); -if (x_338 == 0) +lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; uint8_t x_310; +x_255 = lean_ctor_get(x_2, 1); +lean_inc(x_255); +x_256 = lean_ctor_get(x_2, 2); +lean_inc(x_256); +x_310 = lean_expr_has_expr_mvar(x_255); +if (x_310 == 0) { -uint8_t x_339; -x_339 = lean_expr_has_level_mvar(x_283); -if (x_339 == 0) +uint8_t x_311; +x_311 = lean_expr_has_level_mvar(x_255); +if (x_311 == 0) { -x_285 = x_283; -x_286 = x_3; -goto block_337; +x_257 = x_255; +x_258 = x_3; +goto block_309; } else { -lean_object* x_340; lean_object* x_341; -x_340 = lean_ctor_get(x_3, 2); -lean_inc(x_340); -x_341 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_340, x_283); -lean_dec(x_340); -if (lean_obj_tag(x_341) == 0) +lean_object* x_312; lean_object* x_313; +x_312 = lean_ctor_get(x_3, 2); +lean_inc(x_312); +x_313 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_312, x_255); +lean_dec(x_312); +if (lean_obj_tag(x_313) == 0) { -lean_object* x_342; -lean_inc(x_283); -x_342 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___at_Lean_MetavarContext_mkLambda___spec__3(x_1, x_283, x_3); -if (lean_obj_tag(x_342) == 0) +lean_object* x_314; +lean_inc(x_255); +x_314 = l___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main(x_1, x_255, x_3); +if (lean_obj_tag(x_314) == 0) { -lean_object* x_343; lean_object* x_344; uint8_t x_345; -x_343 = lean_ctor_get(x_342, 1); -lean_inc(x_343); -x_344 = lean_ctor_get(x_342, 0); -lean_inc(x_344); -lean_dec(x_342); -x_345 = !lean_is_exclusive(x_343); -if (x_345 == 0) -{ -lean_object* x_346; lean_object* x_347; -x_346 = lean_ctor_get(x_343, 2); -lean_inc(x_344); -x_347 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_346, x_283, x_344); -lean_ctor_set(x_343, 2, x_347); -x_285 = x_344; -x_286 = x_343; -goto block_337; -} -else -{ -lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; -x_348 = lean_ctor_get(x_343, 0); -x_349 = lean_ctor_get(x_343, 1); -x_350 = lean_ctor_get(x_343, 2); -lean_inc(x_350); -lean_inc(x_349); -lean_inc(x_348); -lean_dec(x_343); -lean_inc(x_344); -x_351 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_350, x_283, x_344); -x_352 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_352, 0, x_348); -lean_ctor_set(x_352, 1, x_349); -lean_ctor_set(x_352, 2, x_351); -x_285 = x_344; -x_286 = x_352; -goto block_337; -} -} -else -{ -uint8_t x_353; -lean_dec(x_284); -lean_dec(x_283); -lean_dec(x_2); -x_353 = !lean_is_exclusive(x_342); -if (x_353 == 0) -{ -return x_342; -} -else -{ -lean_object* x_354; lean_object* x_355; lean_object* x_356; -x_354 = lean_ctor_get(x_342, 0); -x_355 = lean_ctor_get(x_342, 1); -lean_inc(x_355); -lean_inc(x_354); -lean_dec(x_342); -x_356 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_356, 0, x_354); -lean_ctor_set(x_356, 1, x_355); -return x_356; -} -} -} -else -{ -lean_object* x_357; -lean_dec(x_283); -x_357 = lean_ctor_get(x_341, 0); -lean_inc(x_357); -lean_dec(x_341); -x_285 = x_357; -x_286 = x_3; -goto block_337; -} -} -} -else -{ -lean_object* x_358; lean_object* x_359; -x_358 = lean_ctor_get(x_3, 2); -lean_inc(x_358); -x_359 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_358, x_283); -lean_dec(x_358); -if (lean_obj_tag(x_359) == 0) -{ -lean_object* x_360; -lean_inc(x_283); -x_360 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___at_Lean_MetavarContext_mkLambda___spec__3(x_1, x_283, x_3); -if (lean_obj_tag(x_360) == 0) -{ -lean_object* x_361; lean_object* x_362; uint8_t x_363; -x_361 = lean_ctor_get(x_360, 1); -lean_inc(x_361); -x_362 = lean_ctor_get(x_360, 0); -lean_inc(x_362); -lean_dec(x_360); -x_363 = !lean_is_exclusive(x_361); -if (x_363 == 0) -{ -lean_object* x_364; lean_object* x_365; -x_364 = lean_ctor_get(x_361, 2); -lean_inc(x_362); -x_365 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_364, x_283, x_362); -lean_ctor_set(x_361, 2, x_365); -x_285 = x_362; -x_286 = x_361; -goto block_337; -} -else -{ -lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; -x_366 = lean_ctor_get(x_361, 0); -x_367 = lean_ctor_get(x_361, 1); -x_368 = lean_ctor_get(x_361, 2); -lean_inc(x_368); -lean_inc(x_367); -lean_inc(x_366); -lean_dec(x_361); -lean_inc(x_362); -x_369 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_368, x_283, x_362); -x_370 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_370, 0, x_366); -lean_ctor_set(x_370, 1, x_367); -lean_ctor_set(x_370, 2, x_369); -x_285 = x_362; -x_286 = x_370; -goto block_337; -} -} -else -{ -uint8_t x_371; -lean_dec(x_284); -lean_dec(x_283); -lean_dec(x_2); -x_371 = !lean_is_exclusive(x_360); -if (x_371 == 0) -{ -return x_360; -} -else -{ -lean_object* x_372; lean_object* x_373; lean_object* x_374; -x_372 = lean_ctor_get(x_360, 0); -x_373 = lean_ctor_get(x_360, 1); -lean_inc(x_373); -lean_inc(x_372); -lean_dec(x_360); -x_374 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_374, 0, x_372); -lean_ctor_set(x_374, 1, x_373); -return x_374; -} -} -} -else -{ -lean_object* x_375; -lean_dec(x_283); -x_375 = lean_ctor_get(x_359, 0); -lean_inc(x_375); -lean_dec(x_359); -x_285 = x_375; -x_286 = x_3; -goto block_337; -} -} -block_337: -{ -lean_object* x_287; lean_object* x_288; uint8_t x_299; -x_299 = lean_expr_has_expr_mvar(x_284); -if (x_299 == 0) -{ -uint8_t x_300; -x_300 = lean_expr_has_level_mvar(x_284); -if (x_300 == 0) -{ -x_287 = x_284; -x_288 = x_286; -goto block_298; -} -else -{ -lean_object* x_301; lean_object* x_302; -x_301 = lean_ctor_get(x_286, 2); -lean_inc(x_301); -x_302 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_301, x_284); -lean_dec(x_301); -if (lean_obj_tag(x_302) == 0) -{ -lean_object* x_303; -lean_inc(x_284); -x_303 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___at_Lean_MetavarContext_mkLambda___spec__3(x_1, x_284, x_286); -if (lean_obj_tag(x_303) == 0) -{ -lean_object* x_304; lean_object* x_305; uint8_t x_306; -x_304 = lean_ctor_get(x_303, 1); -lean_inc(x_304); -x_305 = lean_ctor_get(x_303, 0); -lean_inc(x_305); -lean_dec(x_303); -x_306 = !lean_is_exclusive(x_304); -if (x_306 == 0) -{ -lean_object* x_307; lean_object* x_308; -x_307 = lean_ctor_get(x_304, 2); -lean_inc(x_305); -x_308 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_307, x_284, x_305); -lean_ctor_set(x_304, 2, x_308); -x_287 = x_305; -x_288 = x_304; -goto block_298; -} -else -{ -lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; -x_309 = lean_ctor_get(x_304, 0); -x_310 = lean_ctor_get(x_304, 1); -x_311 = lean_ctor_get(x_304, 2); -lean_inc(x_311); -lean_inc(x_310); -lean_inc(x_309); -lean_dec(x_304); -lean_inc(x_305); -x_312 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_311, x_284, x_305); -x_313 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_313, 0, x_309); -lean_ctor_set(x_313, 1, x_310); -lean_ctor_set(x_313, 2, x_312); -x_287 = x_305; -x_288 = x_313; -goto block_298; -} -} -else -{ -uint8_t x_314; -lean_dec(x_285); -lean_dec(x_284); -lean_dec(x_2); -x_314 = !lean_is_exclusive(x_303); -if (x_314 == 0) -{ -return x_303; -} -else -{ -lean_object* x_315; lean_object* x_316; lean_object* x_317; -x_315 = lean_ctor_get(x_303, 0); -x_316 = lean_ctor_get(x_303, 1); -lean_inc(x_316); +lean_object* x_315; lean_object* x_316; uint8_t x_317; +x_315 = lean_ctor_get(x_314, 1); lean_inc(x_315); -lean_dec(x_303); -x_317 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_317, 0, x_315); -lean_ctor_set(x_317, 1, x_316); -return x_317; -} -} +x_316 = lean_ctor_get(x_314, 0); +lean_inc(x_316); +lean_dec(x_314); +x_317 = !lean_is_exclusive(x_315); +if (x_317 == 0) +{ +lean_object* x_318; lean_object* x_319; +x_318 = lean_ctor_get(x_315, 2); +lean_inc(x_316); +x_319 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_318, x_255, x_316); +lean_ctor_set(x_315, 2, x_319); +x_257 = x_316; +x_258 = x_315; +goto block_309; } else { -lean_object* x_318; -lean_dec(x_284); -x_318 = lean_ctor_get(x_302, 0); -lean_inc(x_318); -lean_dec(x_302); -x_287 = x_318; -x_288 = x_286; -goto block_298; -} -} -} -else -{ -lean_object* x_319; lean_object* x_320; -x_319 = lean_ctor_get(x_286, 2); -lean_inc(x_319); -x_320 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_319, x_284); -lean_dec(x_319); -if (lean_obj_tag(x_320) == 0) -{ -lean_object* x_321; -lean_inc(x_284); -x_321 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___at_Lean_MetavarContext_mkLambda___spec__3(x_1, x_284, x_286); -if (lean_obj_tag(x_321) == 0) -{ -lean_object* x_322; lean_object* x_323; uint8_t x_324; -x_322 = lean_ctor_get(x_321, 1); +lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; +x_320 = lean_ctor_get(x_315, 0); +x_321 = lean_ctor_get(x_315, 1); +x_322 = lean_ctor_get(x_315, 2); lean_inc(x_322); -x_323 = lean_ctor_get(x_321, 0); -lean_inc(x_323); -lean_dec(x_321); -x_324 = !lean_is_exclusive(x_322); -if (x_324 == 0) -{ -lean_object* x_325; lean_object* x_326; -x_325 = lean_ctor_get(x_322, 2); -lean_inc(x_323); -x_326 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_325, x_284, x_323); -lean_ctor_set(x_322, 2, x_326); -x_287 = x_323; -x_288 = x_322; -goto block_298; -} -else -{ -lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; -x_327 = lean_ctor_get(x_322, 0); -x_328 = lean_ctor_get(x_322, 1); -x_329 = lean_ctor_get(x_322, 2); -lean_inc(x_329); -lean_inc(x_328); -lean_inc(x_327); -lean_dec(x_322); -lean_inc(x_323); -x_330 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_329, x_284, x_323); -x_331 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_331, 0, x_327); -lean_ctor_set(x_331, 1, x_328); -lean_ctor_set(x_331, 2, x_330); -x_287 = x_323; -x_288 = x_331; -goto block_298; +lean_inc(x_321); +lean_inc(x_320); +lean_dec(x_315); +lean_inc(x_316); +x_323 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_322, x_255, x_316); +x_324 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_324, 0, x_320); +lean_ctor_set(x_324, 1, x_321); +lean_ctor_set(x_324, 2, x_323); +x_257 = x_316; +x_258 = x_324; +goto block_309; } } else { -uint8_t x_332; -lean_dec(x_285); -lean_dec(x_284); +uint8_t x_325; +lean_dec(x_256); +lean_dec(x_255); lean_dec(x_2); -x_332 = !lean_is_exclusive(x_321); -if (x_332 == 0) +x_325 = !lean_is_exclusive(x_314); +if (x_325 == 0) { -return x_321; +return x_314; } else { -lean_object* x_333; lean_object* x_334; lean_object* x_335; -x_333 = lean_ctor_get(x_321, 0); -x_334 = lean_ctor_get(x_321, 1); -lean_inc(x_334); +lean_object* x_326; lean_object* x_327; lean_object* x_328; +x_326 = lean_ctor_get(x_314, 0); +x_327 = lean_ctor_get(x_314, 1); +lean_inc(x_327); +lean_inc(x_326); +lean_dec(x_314); +x_328 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_328, 0, x_326); +lean_ctor_set(x_328, 1, x_327); +return x_328; +} +} +} +else +{ +lean_object* x_329; +lean_dec(x_255); +x_329 = lean_ctor_get(x_313, 0); +lean_inc(x_329); +lean_dec(x_313); +x_257 = x_329; +x_258 = x_3; +goto block_309; +} +} +} +else +{ +lean_object* x_330; lean_object* x_331; +x_330 = lean_ctor_get(x_3, 2); +lean_inc(x_330); +x_331 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_330, x_255); +lean_dec(x_330); +if (lean_obj_tag(x_331) == 0) +{ +lean_object* x_332; +lean_inc(x_255); +x_332 = l___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main(x_1, x_255, x_3); +if (lean_obj_tag(x_332) == 0) +{ +lean_object* x_333; lean_object* x_334; uint8_t x_335; +x_333 = lean_ctor_get(x_332, 1); lean_inc(x_333); -lean_dec(x_321); -x_335 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_335, 0, x_333); -lean_ctor_set(x_335, 1, x_334); -return x_335; +x_334 = lean_ctor_get(x_332, 0); +lean_inc(x_334); +lean_dec(x_332); +x_335 = !lean_is_exclusive(x_333); +if (x_335 == 0) +{ +lean_object* x_336; lean_object* x_337; +x_336 = lean_ctor_get(x_333, 2); +lean_inc(x_334); +x_337 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_336, x_255, x_334); +lean_ctor_set(x_333, 2, x_337); +x_257 = x_334; +x_258 = x_333; +goto block_309; +} +else +{ +lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; +x_338 = lean_ctor_get(x_333, 0); +x_339 = lean_ctor_get(x_333, 1); +x_340 = lean_ctor_get(x_333, 2); +lean_inc(x_340); +lean_inc(x_339); +lean_inc(x_338); +lean_dec(x_333); +lean_inc(x_334); +x_341 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_340, x_255, x_334); +x_342 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_342, 0, x_338); +lean_ctor_set(x_342, 1, x_339); +lean_ctor_set(x_342, 2, x_341); +x_257 = x_334; +x_258 = x_342; +goto block_309; +} +} +else +{ +uint8_t x_343; +lean_dec(x_256); +lean_dec(x_255); +lean_dec(x_2); +x_343 = !lean_is_exclusive(x_332); +if (x_343 == 0) +{ +return x_332; +} +else +{ +lean_object* x_344; lean_object* x_345; lean_object* x_346; +x_344 = lean_ctor_get(x_332, 0); +x_345 = lean_ctor_get(x_332, 1); +lean_inc(x_345); +lean_inc(x_344); +lean_dec(x_332); +x_346 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_346, 0, x_344); +lean_ctor_set(x_346, 1, x_345); +return x_346; } } } else { -lean_object* x_336; -lean_dec(x_284); -x_336 = lean_ctor_get(x_320, 0); -lean_inc(x_336); -lean_dec(x_320); -x_287 = x_336; -x_288 = x_286; -goto block_298; +lean_object* x_347; +lean_dec(x_255); +x_347 = lean_ctor_get(x_331, 0); +lean_inc(x_347); +lean_dec(x_331); +x_257 = x_347; +x_258 = x_3; +goto block_309; } } -block_298: +block_309: +{ +lean_object* x_259; lean_object* x_260; uint8_t x_271; +x_271 = lean_expr_has_expr_mvar(x_256); +if (x_271 == 0) +{ +uint8_t x_272; +x_272 = lean_expr_has_level_mvar(x_256); +if (x_272 == 0) +{ +x_259 = x_256; +x_260 = x_258; +goto block_270; +} +else +{ +lean_object* x_273; lean_object* x_274; +x_273 = lean_ctor_get(x_258, 2); +lean_inc(x_273); +x_274 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_273, x_256); +lean_dec(x_273); +if (lean_obj_tag(x_274) == 0) +{ +lean_object* x_275; +lean_inc(x_256); +x_275 = l___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main(x_1, x_256, x_258); +if (lean_obj_tag(x_275) == 0) +{ +lean_object* x_276; lean_object* x_277; uint8_t x_278; +x_276 = lean_ctor_get(x_275, 1); +lean_inc(x_276); +x_277 = lean_ctor_get(x_275, 0); +lean_inc(x_277); +lean_dec(x_275); +x_278 = !lean_is_exclusive(x_276); +if (x_278 == 0) +{ +lean_object* x_279; lean_object* x_280; +x_279 = lean_ctor_get(x_276, 2); +lean_inc(x_277); +x_280 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_279, x_256, x_277); +lean_ctor_set(x_276, 2, x_280); +x_259 = x_277; +x_260 = x_276; +goto block_270; +} +else +{ +lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; +x_281 = lean_ctor_get(x_276, 0); +x_282 = lean_ctor_get(x_276, 1); +x_283 = lean_ctor_get(x_276, 2); +lean_inc(x_283); +lean_inc(x_282); +lean_inc(x_281); +lean_dec(x_276); +lean_inc(x_277); +x_284 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_283, x_256, x_277); +x_285 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_285, 0, x_281); +lean_ctor_set(x_285, 1, x_282); +lean_ctor_set(x_285, 2, x_284); +x_259 = x_277; +x_260 = x_285; +goto block_270; +} +} +else +{ +uint8_t x_286; +lean_dec(x_257); +lean_dec(x_256); +lean_dec(x_2); +x_286 = !lean_is_exclusive(x_275); +if (x_286 == 0) +{ +return x_275; +} +else +{ +lean_object* x_287; lean_object* x_288; lean_object* x_289; +x_287 = lean_ctor_get(x_275, 0); +x_288 = lean_ctor_get(x_275, 1); +lean_inc(x_288); +lean_inc(x_287); +lean_dec(x_275); +x_289 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_289, 0, x_287); +lean_ctor_set(x_289, 1, x_288); +return x_289; +} +} +} +else +{ +lean_object* x_290; +lean_dec(x_256); +x_290 = lean_ctor_get(x_274, 0); +lean_inc(x_290); +lean_dec(x_274); +x_259 = x_290; +x_260 = x_258; +goto block_270; +} +} +} +else +{ +lean_object* x_291; lean_object* x_292; +x_291 = lean_ctor_get(x_258, 2); +lean_inc(x_291); +x_292 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_291, x_256); +lean_dec(x_291); +if (lean_obj_tag(x_292) == 0) +{ +lean_object* x_293; +lean_inc(x_256); +x_293 = l___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main(x_1, x_256, x_258); +if (lean_obj_tag(x_293) == 0) +{ +lean_object* x_294; lean_object* x_295; uint8_t x_296; +x_294 = lean_ctor_get(x_293, 1); +lean_inc(x_294); +x_295 = lean_ctor_get(x_293, 0); +lean_inc(x_295); +lean_dec(x_293); +x_296 = !lean_is_exclusive(x_294); +if (x_296 == 0) +{ +lean_object* x_297; lean_object* x_298; +x_297 = lean_ctor_get(x_294, 2); +lean_inc(x_295); +x_298 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_297, x_256, x_295); +lean_ctor_set(x_294, 2, x_298); +x_259 = x_295; +x_260 = x_294; +goto block_270; +} +else +{ +lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; +x_299 = lean_ctor_get(x_294, 0); +x_300 = lean_ctor_get(x_294, 1); +x_301 = lean_ctor_get(x_294, 2); +lean_inc(x_301); +lean_inc(x_300); +lean_inc(x_299); +lean_dec(x_294); +lean_inc(x_295); +x_302 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_301, x_256, x_295); +x_303 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_303, 0, x_299); +lean_ctor_set(x_303, 1, x_300); +lean_ctor_set(x_303, 2, x_302); +x_259 = x_295; +x_260 = x_303; +goto block_270; +} +} +else +{ +uint8_t x_304; +lean_dec(x_257); +lean_dec(x_256); +lean_dec(x_2); +x_304 = !lean_is_exclusive(x_293); +if (x_304 == 0) +{ +return x_293; +} +else +{ +lean_object* x_305; lean_object* x_306; lean_object* x_307; +x_305 = lean_ctor_get(x_293, 0); +x_306 = lean_ctor_get(x_293, 1); +lean_inc(x_306); +lean_inc(x_305); +lean_dec(x_293); +x_307 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_307, 0, x_305); +lean_ctor_set(x_307, 1, x_306); +return x_307; +} +} +} +else +{ +lean_object* x_308; +lean_dec(x_256); +x_308 = lean_ctor_get(x_292, 0); +lean_inc(x_308); +lean_dec(x_292); +x_259 = x_308; +x_260 = x_258; +goto block_270; +} +} +block_270: { if (lean_obj_tag(x_2) == 7) { -uint8_t x_289; lean_object* x_290; lean_object* x_291; -x_289 = lean_ctor_get_uint8(x_2, sizeof(void*)*3); -x_290 = lean_expr_update_forall(x_2, x_289, x_285, x_287); -x_291 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_291, 0, x_290); -lean_ctor_set(x_291, 1, x_288); -return x_291; +uint8_t x_261; lean_object* x_262; lean_object* x_263; +x_261 = lean_ctor_get_uint8(x_2, sizeof(void*)*3); +x_262 = lean_expr_update_forall(x_2, x_261, x_257, x_259); +x_263 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_263, 0, x_262); +lean_ctor_set(x_263, 1, x_260); +return x_263; } else { -lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; -lean_dec(x_287); -lean_dec(x_285); +lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; +lean_dec(x_259); +lean_dec(x_257); lean_dec(x_2); -x_292 = l_Lean_Expr_getRevArg_x21___main___closed__1; -x_293 = lean_unsigned_to_nat(499u); -x_294 = lean_unsigned_to_nat(22u); -x_295 = l_Lean_Expr_updateForall_x21___closed__1; -x_296 = l_panicWithPos___at_Lean_Expr_getRevArg_x21___main___spec__1(x_292, x_293, x_294, x_295); -x_297 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_297, 0, x_296); -lean_ctor_set(x_297, 1, x_288); -return x_297; +x_264 = l_Lean_Expr_getRevArg_x21___main___closed__1; +x_265 = lean_unsigned_to_nat(499u); +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); +x_269 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_269, 0, x_268); +lean_ctor_set(x_269, 1, x_260); +return x_269; } } } } case 8: { -lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; uint8_t x_472; -x_376 = lean_ctor_get(x_2, 1); -lean_inc(x_376); -x_377 = lean_ctor_get(x_2, 2); -lean_inc(x_377); -x_378 = lean_ctor_get(x_2, 3); -lean_inc(x_378); -x_472 = lean_expr_has_expr_mvar(x_376); -if (x_472 == 0) +lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; uint8_t x_444; +x_348 = lean_ctor_get(x_2, 1); +lean_inc(x_348); +x_349 = lean_ctor_get(x_2, 2); +lean_inc(x_349); +x_350 = lean_ctor_get(x_2, 3); +lean_inc(x_350); +x_444 = lean_expr_has_expr_mvar(x_348); +if (x_444 == 0) { -uint8_t x_473; -x_473 = lean_expr_has_level_mvar(x_376); -if (x_473 == 0) +uint8_t x_445; +x_445 = lean_expr_has_level_mvar(x_348); +if (x_445 == 0) { -x_379 = x_376; -x_380 = x_3; -goto block_471; +x_351 = x_348; +x_352 = x_3; +goto block_443; } else { -lean_object* x_474; lean_object* x_475; -x_474 = lean_ctor_get(x_3, 2); -lean_inc(x_474); -x_475 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_474, x_376); -lean_dec(x_474); -if (lean_obj_tag(x_475) == 0) +lean_object* x_446; lean_object* x_447; +x_446 = lean_ctor_get(x_3, 2); +lean_inc(x_446); +x_447 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_446, x_348); +lean_dec(x_446); +if (lean_obj_tag(x_447) == 0) { -lean_object* x_476; -lean_inc(x_376); -x_476 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___at_Lean_MetavarContext_mkLambda___spec__3(x_1, x_376, x_3); -if (lean_obj_tag(x_476) == 0) +lean_object* x_448; +lean_inc(x_348); +x_448 = l___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main(x_1, x_348, x_3); +if (lean_obj_tag(x_448) == 0) { -lean_object* x_477; lean_object* x_478; uint8_t x_479; -x_477 = lean_ctor_get(x_476, 1); -lean_inc(x_477); -x_478 = lean_ctor_get(x_476, 0); -lean_inc(x_478); -lean_dec(x_476); -x_479 = !lean_is_exclusive(x_477); -if (x_479 == 0) -{ -lean_object* x_480; lean_object* x_481; -x_480 = lean_ctor_get(x_477, 2); -lean_inc(x_478); -x_481 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_480, x_376, x_478); -lean_ctor_set(x_477, 2, x_481); -x_379 = x_478; -x_380 = x_477; -goto block_471; -} -else -{ -lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; lean_object* x_486; -x_482 = lean_ctor_get(x_477, 0); -x_483 = lean_ctor_get(x_477, 1); -x_484 = lean_ctor_get(x_477, 2); -lean_inc(x_484); -lean_inc(x_483); -lean_inc(x_482); -lean_dec(x_477); -lean_inc(x_478); -x_485 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_484, x_376, x_478); -x_486 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_486, 0, x_482); -lean_ctor_set(x_486, 1, x_483); -lean_ctor_set(x_486, 2, x_485); -x_379 = x_478; -x_380 = x_486; -goto block_471; -} -} -else -{ -uint8_t x_487; -lean_dec(x_378); -lean_dec(x_377); -lean_dec(x_376); -lean_dec(x_2); -x_487 = !lean_is_exclusive(x_476); -if (x_487 == 0) -{ -return x_476; -} -else -{ -lean_object* x_488; lean_object* x_489; lean_object* x_490; -x_488 = lean_ctor_get(x_476, 0); -x_489 = lean_ctor_get(x_476, 1); -lean_inc(x_489); -lean_inc(x_488); -lean_dec(x_476); -x_490 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_490, 0, x_488); -lean_ctor_set(x_490, 1, x_489); -return x_490; -} -} -} -else -{ -lean_object* x_491; -lean_dec(x_376); -x_491 = lean_ctor_get(x_475, 0); -lean_inc(x_491); -lean_dec(x_475); -x_379 = x_491; -x_380 = x_3; -goto block_471; -} -} -} -else -{ -lean_object* x_492; lean_object* x_493; -x_492 = lean_ctor_get(x_3, 2); -lean_inc(x_492); -x_493 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_492, x_376); -lean_dec(x_492); -if (lean_obj_tag(x_493) == 0) -{ -lean_object* x_494; -lean_inc(x_376); -x_494 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___at_Lean_MetavarContext_mkLambda___spec__3(x_1, x_376, x_3); -if (lean_obj_tag(x_494) == 0) -{ -lean_object* x_495; lean_object* x_496; uint8_t x_497; -x_495 = lean_ctor_get(x_494, 1); -lean_inc(x_495); -x_496 = lean_ctor_get(x_494, 0); -lean_inc(x_496); -lean_dec(x_494); -x_497 = !lean_is_exclusive(x_495); -if (x_497 == 0) -{ -lean_object* x_498; lean_object* x_499; -x_498 = lean_ctor_get(x_495, 2); -lean_inc(x_496); -x_499 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_498, x_376, x_496); -lean_ctor_set(x_495, 2, x_499); -x_379 = x_496; -x_380 = x_495; -goto block_471; -} -else -{ -lean_object* x_500; lean_object* x_501; lean_object* x_502; lean_object* x_503; lean_object* x_504; -x_500 = lean_ctor_get(x_495, 0); -x_501 = lean_ctor_get(x_495, 1); -x_502 = lean_ctor_get(x_495, 2); -lean_inc(x_502); -lean_inc(x_501); -lean_inc(x_500); -lean_dec(x_495); -lean_inc(x_496); -x_503 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_502, x_376, x_496); -x_504 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_504, 0, x_500); -lean_ctor_set(x_504, 1, x_501); -lean_ctor_set(x_504, 2, x_503); -x_379 = x_496; -x_380 = x_504; -goto block_471; -} -} -else -{ -uint8_t x_505; -lean_dec(x_378); -lean_dec(x_377); -lean_dec(x_376); -lean_dec(x_2); -x_505 = !lean_is_exclusive(x_494); -if (x_505 == 0) -{ -return x_494; -} -else -{ -lean_object* x_506; lean_object* x_507; lean_object* x_508; -x_506 = lean_ctor_get(x_494, 0); -x_507 = lean_ctor_get(x_494, 1); -lean_inc(x_507); -lean_inc(x_506); -lean_dec(x_494); -x_508 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_508, 0, x_506); -lean_ctor_set(x_508, 1, x_507); -return x_508; -} -} -} -else -{ -lean_object* x_509; -lean_dec(x_376); -x_509 = lean_ctor_get(x_493, 0); -lean_inc(x_509); -lean_dec(x_493); -x_379 = x_509; -x_380 = x_3; -goto block_471; -} -} -block_471: -{ -lean_object* x_381; lean_object* x_382; uint8_t x_433; -x_433 = lean_expr_has_expr_mvar(x_377); -if (x_433 == 0) -{ -uint8_t x_434; -x_434 = lean_expr_has_level_mvar(x_377); -if (x_434 == 0) -{ -x_381 = x_377; -x_382 = x_380; -goto block_432; -} -else -{ -lean_object* x_435; lean_object* x_436; -x_435 = lean_ctor_get(x_380, 2); -lean_inc(x_435); -x_436 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_435, x_377); -lean_dec(x_435); -if (lean_obj_tag(x_436) == 0) -{ -lean_object* x_437; -lean_inc(x_377); -x_437 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___at_Lean_MetavarContext_mkLambda___spec__3(x_1, x_377, x_380); -if (lean_obj_tag(x_437) == 0) -{ -lean_object* x_438; lean_object* x_439; uint8_t x_440; -x_438 = lean_ctor_get(x_437, 1); -lean_inc(x_438); -x_439 = lean_ctor_get(x_437, 0); -lean_inc(x_439); -lean_dec(x_437); -x_440 = !lean_is_exclusive(x_438); -if (x_440 == 0) -{ -lean_object* x_441; lean_object* x_442; -x_441 = lean_ctor_get(x_438, 2); -lean_inc(x_439); -x_442 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_441, x_377, x_439); -lean_ctor_set(x_438, 2, x_442); -x_381 = x_439; -x_382 = x_438; -goto block_432; -} -else -{ -lean_object* x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; -x_443 = lean_ctor_get(x_438, 0); -x_444 = lean_ctor_get(x_438, 1); -x_445 = lean_ctor_get(x_438, 2); -lean_inc(x_445); -lean_inc(x_444); -lean_inc(x_443); -lean_dec(x_438); -lean_inc(x_439); -x_446 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_445, x_377, x_439); -x_447 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_447, 0, x_443); -lean_ctor_set(x_447, 1, x_444); -lean_ctor_set(x_447, 2, x_446); -x_381 = x_439; -x_382 = x_447; -goto block_432; -} -} -else -{ -uint8_t x_448; -lean_dec(x_379); -lean_dec(x_378); -lean_dec(x_377); -lean_dec(x_2); -x_448 = !lean_is_exclusive(x_437); -if (x_448 == 0) -{ -return x_437; -} -else -{ -lean_object* x_449; lean_object* x_450; lean_object* x_451; -x_449 = lean_ctor_get(x_437, 0); -x_450 = lean_ctor_get(x_437, 1); -lean_inc(x_450); +lean_object* x_449; lean_object* x_450; uint8_t x_451; +x_449 = lean_ctor_get(x_448, 1); lean_inc(x_449); -lean_dec(x_437); -x_451 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_451, 0, x_449); -lean_ctor_set(x_451, 1, x_450); -return x_451; -} -} +x_450 = lean_ctor_get(x_448, 0); +lean_inc(x_450); +lean_dec(x_448); +x_451 = !lean_is_exclusive(x_449); +if (x_451 == 0) +{ +lean_object* x_452; lean_object* x_453; +x_452 = lean_ctor_get(x_449, 2); +lean_inc(x_450); +x_453 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_452, x_348, x_450); +lean_ctor_set(x_449, 2, x_453); +x_351 = x_450; +x_352 = x_449; +goto block_443; } else { -lean_object* x_452; -lean_dec(x_377); -x_452 = lean_ctor_get(x_436, 0); -lean_inc(x_452); -lean_dec(x_436); -x_381 = x_452; -x_382 = x_380; -goto block_432; -} -} -} -else -{ -lean_object* x_453; lean_object* x_454; -x_453 = lean_ctor_get(x_380, 2); -lean_inc(x_453); -x_454 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_453, x_377); -lean_dec(x_453); -if (lean_obj_tag(x_454) == 0) -{ -lean_object* x_455; -lean_inc(x_377); -x_455 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___at_Lean_MetavarContext_mkLambda___spec__3(x_1, x_377, x_380); -if (lean_obj_tag(x_455) == 0) -{ -lean_object* x_456; lean_object* x_457; uint8_t x_458; -x_456 = lean_ctor_get(x_455, 1); +lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; lean_object* x_458; +x_454 = lean_ctor_get(x_449, 0); +x_455 = lean_ctor_get(x_449, 1); +x_456 = lean_ctor_get(x_449, 2); lean_inc(x_456); -x_457 = lean_ctor_get(x_455, 0); -lean_inc(x_457); -lean_dec(x_455); -x_458 = !lean_is_exclusive(x_456); -if (x_458 == 0) -{ -lean_object* x_459; lean_object* x_460; -x_459 = lean_ctor_get(x_456, 2); -lean_inc(x_457); -x_460 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_459, x_377, x_457); -lean_ctor_set(x_456, 2, x_460); -x_381 = x_457; -x_382 = x_456; -goto block_432; +lean_inc(x_455); +lean_inc(x_454); +lean_dec(x_449); +lean_inc(x_450); +x_457 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_456, x_348, x_450); +x_458 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_458, 0, x_454); +lean_ctor_set(x_458, 1, x_455); +lean_ctor_set(x_458, 2, x_457); +x_351 = x_450; +x_352 = x_458; +goto block_443; +} } else { -lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; -x_461 = lean_ctor_get(x_456, 0); -x_462 = lean_ctor_get(x_456, 1); -x_463 = lean_ctor_get(x_456, 2); -lean_inc(x_463); -lean_inc(x_462); +uint8_t x_459; +lean_dec(x_350); +lean_dec(x_349); +lean_dec(x_348); +lean_dec(x_2); +x_459 = !lean_is_exclusive(x_448); +if (x_459 == 0) +{ +return x_448; +} +else +{ +lean_object* x_460; lean_object* x_461; lean_object* x_462; +x_460 = lean_ctor_get(x_448, 0); +x_461 = lean_ctor_get(x_448, 1); lean_inc(x_461); -lean_dec(x_456); -lean_inc(x_457); -x_464 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_463, x_377, x_457); -x_465 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_465, 0, x_461); -lean_ctor_set(x_465, 1, x_462); -lean_ctor_set(x_465, 2, x_464); -x_381 = x_457; -x_382 = x_465; -goto block_432; +lean_inc(x_460); +lean_dec(x_448); +x_462 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_462, 0, x_460); +lean_ctor_set(x_462, 1, x_461); +return x_462; +} } } else { -uint8_t x_466; -lean_dec(x_379); -lean_dec(x_378); -lean_dec(x_377); -lean_dec(x_2); -x_466 = !lean_is_exclusive(x_455); -if (x_466 == 0) -{ -return x_455; +lean_object* x_463; +lean_dec(x_348); +x_463 = lean_ctor_get(x_447, 0); +lean_inc(x_463); +lean_dec(x_447); +x_351 = x_463; +x_352 = x_3; +goto block_443; +} +} } else { -lean_object* x_467; lean_object* x_468; lean_object* x_469; -x_467 = lean_ctor_get(x_455, 0); -x_468 = lean_ctor_get(x_455, 1); -lean_inc(x_468); +lean_object* x_464; lean_object* x_465; +x_464 = lean_ctor_get(x_3, 2); +lean_inc(x_464); +x_465 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_464, x_348); +lean_dec(x_464); +if (lean_obj_tag(x_465) == 0) +{ +lean_object* x_466; +lean_inc(x_348); +x_466 = l___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main(x_1, x_348, x_3); +if (lean_obj_tag(x_466) == 0) +{ +lean_object* x_467; lean_object* x_468; uint8_t x_469; +x_467 = lean_ctor_get(x_466, 1); lean_inc(x_467); -lean_dec(x_455); -x_469 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_469, 0, x_467); -lean_ctor_set(x_469, 1, x_468); -return x_469; +x_468 = lean_ctor_get(x_466, 0); +lean_inc(x_468); +lean_dec(x_466); +x_469 = !lean_is_exclusive(x_467); +if (x_469 == 0) +{ +lean_object* x_470; lean_object* x_471; +x_470 = lean_ctor_get(x_467, 2); +lean_inc(x_468); +x_471 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_470, x_348, x_468); +lean_ctor_set(x_467, 2, x_471); +x_351 = x_468; +x_352 = x_467; +goto block_443; } +else +{ +lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; +x_472 = lean_ctor_get(x_467, 0); +x_473 = lean_ctor_get(x_467, 1); +x_474 = lean_ctor_get(x_467, 2); +lean_inc(x_474); +lean_inc(x_473); +lean_inc(x_472); +lean_dec(x_467); +lean_inc(x_468); +x_475 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_474, x_348, x_468); +x_476 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_476, 0, x_472); +lean_ctor_set(x_476, 1, x_473); +lean_ctor_set(x_476, 2, x_475); +x_351 = x_468; +x_352 = x_476; +goto block_443; } } else { -lean_object* x_470; -lean_dec(x_377); -x_470 = lean_ctor_get(x_454, 0); -lean_inc(x_470); -lean_dec(x_454); -x_381 = x_470; -x_382 = x_380; -goto block_432; -} -} -block_432: -{ -lean_object* x_383; lean_object* x_384; uint8_t x_394; -x_394 = lean_expr_has_expr_mvar(x_378); -if (x_394 == 0) -{ -uint8_t x_395; -x_395 = lean_expr_has_level_mvar(x_378); -if (x_395 == 0) -{ -x_383 = x_378; -x_384 = x_382; -goto block_393; -} -else -{ -lean_object* x_396; lean_object* x_397; -x_396 = lean_ctor_get(x_382, 2); -lean_inc(x_396); -x_397 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_396, x_378); -lean_dec(x_396); -if (lean_obj_tag(x_397) == 0) -{ -lean_object* x_398; -lean_inc(x_378); -x_398 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___at_Lean_MetavarContext_mkLambda___spec__3(x_1, x_378, x_382); -if (lean_obj_tag(x_398) == 0) -{ -lean_object* x_399; lean_object* x_400; uint8_t x_401; -x_399 = lean_ctor_get(x_398, 1); -lean_inc(x_399); -x_400 = lean_ctor_get(x_398, 0); -lean_inc(x_400); -lean_dec(x_398); -x_401 = !lean_is_exclusive(x_399); -if (x_401 == 0) -{ -lean_object* x_402; lean_object* x_403; -x_402 = lean_ctor_get(x_399, 2); -lean_inc(x_400); -x_403 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_402, x_378, x_400); -lean_ctor_set(x_399, 2, x_403); -x_383 = x_400; -x_384 = x_399; -goto block_393; -} -else -{ -lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; -x_404 = lean_ctor_get(x_399, 0); -x_405 = lean_ctor_get(x_399, 1); -x_406 = lean_ctor_get(x_399, 2); -lean_inc(x_406); -lean_inc(x_405); -lean_inc(x_404); -lean_dec(x_399); -lean_inc(x_400); -x_407 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_406, x_378, x_400); -x_408 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_408, 0, x_404); -lean_ctor_set(x_408, 1, x_405); -lean_ctor_set(x_408, 2, x_407); -x_383 = x_400; -x_384 = x_408; -goto block_393; -} -} -else -{ -uint8_t x_409; -lean_dec(x_381); -lean_dec(x_379); -lean_dec(x_378); +uint8_t x_477; +lean_dec(x_350); +lean_dec(x_349); +lean_dec(x_348); lean_dec(x_2); -x_409 = !lean_is_exclusive(x_398); -if (x_409 == 0) +x_477 = !lean_is_exclusive(x_466); +if (x_477 == 0) { -return x_398; +return x_466; } else { -lean_object* x_410; lean_object* x_411; lean_object* x_412; -x_410 = lean_ctor_get(x_398, 0); -x_411 = lean_ctor_get(x_398, 1); -lean_inc(x_411); +lean_object* x_478; lean_object* x_479; lean_object* x_480; +x_478 = lean_ctor_get(x_466, 0); +x_479 = lean_ctor_get(x_466, 1); +lean_inc(x_479); +lean_inc(x_478); +lean_dec(x_466); +x_480 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_480, 0, x_478); +lean_ctor_set(x_480, 1, x_479); +return x_480; +} +} +} +else +{ +lean_object* x_481; +lean_dec(x_348); +x_481 = lean_ctor_get(x_465, 0); +lean_inc(x_481); +lean_dec(x_465); +x_351 = x_481; +x_352 = x_3; +goto block_443; +} +} +block_443: +{ +lean_object* x_353; lean_object* x_354; uint8_t x_405; +x_405 = lean_expr_has_expr_mvar(x_349); +if (x_405 == 0) +{ +uint8_t x_406; +x_406 = lean_expr_has_level_mvar(x_349); +if (x_406 == 0) +{ +x_353 = x_349; +x_354 = x_352; +goto block_404; +} +else +{ +lean_object* x_407; lean_object* x_408; +x_407 = lean_ctor_get(x_352, 2); +lean_inc(x_407); +x_408 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_407, x_349); +lean_dec(x_407); +if (lean_obj_tag(x_408) == 0) +{ +lean_object* x_409; +lean_inc(x_349); +x_409 = l___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main(x_1, x_349, x_352); +if (lean_obj_tag(x_409) == 0) +{ +lean_object* x_410; lean_object* x_411; uint8_t x_412; +x_410 = lean_ctor_get(x_409, 1); lean_inc(x_410); -lean_dec(x_398); -x_412 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_412, 0, x_410); -lean_ctor_set(x_412, 1, x_411); -return x_412; -} -} +x_411 = lean_ctor_get(x_409, 0); +lean_inc(x_411); +lean_dec(x_409); +x_412 = !lean_is_exclusive(x_410); +if (x_412 == 0) +{ +lean_object* x_413; lean_object* x_414; +x_413 = lean_ctor_get(x_410, 2); +lean_inc(x_411); +x_414 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_413, x_349, x_411); +lean_ctor_set(x_410, 2, x_414); +x_353 = x_411; +x_354 = x_410; +goto block_404; } else { -lean_object* x_413; -lean_dec(x_378); -x_413 = lean_ctor_get(x_397, 0); -lean_inc(x_413); -lean_dec(x_397); -x_383 = x_413; -x_384 = x_382; -goto block_393; -} -} -} -else -{ -lean_object* x_414; lean_object* x_415; -x_414 = lean_ctor_get(x_382, 2); -lean_inc(x_414); -x_415 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_414, x_378); -lean_dec(x_414); -if (lean_obj_tag(x_415) == 0) -{ -lean_object* x_416; -lean_inc(x_378); -x_416 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___at_Lean_MetavarContext_mkLambda___spec__3(x_1, x_378, x_382); -if (lean_obj_tag(x_416) == 0) -{ -lean_object* x_417; lean_object* x_418; uint8_t x_419; -x_417 = lean_ctor_get(x_416, 1); +lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; +x_415 = lean_ctor_get(x_410, 0); +x_416 = lean_ctor_get(x_410, 1); +x_417 = lean_ctor_get(x_410, 2); lean_inc(x_417); -x_418 = lean_ctor_get(x_416, 0); -lean_inc(x_418); -lean_dec(x_416); -x_419 = !lean_is_exclusive(x_417); -if (x_419 == 0) -{ -lean_object* x_420; lean_object* x_421; -x_420 = lean_ctor_get(x_417, 2); -lean_inc(x_418); -x_421 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_420, x_378, x_418); -lean_ctor_set(x_417, 2, x_421); -x_383 = x_418; -x_384 = x_417; -goto block_393; -} -else -{ -lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; -x_422 = lean_ctor_get(x_417, 0); -x_423 = lean_ctor_get(x_417, 1); -x_424 = lean_ctor_get(x_417, 2); -lean_inc(x_424); -lean_inc(x_423); -lean_inc(x_422); -lean_dec(x_417); -lean_inc(x_418); -x_425 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_424, x_378, x_418); -x_426 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_426, 0, x_422); -lean_ctor_set(x_426, 1, x_423); -lean_ctor_set(x_426, 2, x_425); -x_383 = x_418; -x_384 = x_426; -goto block_393; +lean_inc(x_416); +lean_inc(x_415); +lean_dec(x_410); +lean_inc(x_411); +x_418 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_417, x_349, x_411); +x_419 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_419, 0, x_415); +lean_ctor_set(x_419, 1, x_416); +lean_ctor_set(x_419, 2, x_418); +x_353 = x_411; +x_354 = x_419; +goto block_404; } } else { -uint8_t x_427; -lean_dec(x_381); -lean_dec(x_379); -lean_dec(x_378); +uint8_t x_420; +lean_dec(x_351); +lean_dec(x_350); +lean_dec(x_349); lean_dec(x_2); -x_427 = !lean_is_exclusive(x_416); -if (x_427 == 0) +x_420 = !lean_is_exclusive(x_409); +if (x_420 == 0) { -return x_416; +return x_409; } else { -lean_object* x_428; lean_object* x_429; lean_object* x_430; -x_428 = lean_ctor_get(x_416, 0); -x_429 = lean_ctor_get(x_416, 1); -lean_inc(x_429); +lean_object* x_421; lean_object* x_422; lean_object* x_423; +x_421 = lean_ctor_get(x_409, 0); +x_422 = lean_ctor_get(x_409, 1); +lean_inc(x_422); +lean_inc(x_421); +lean_dec(x_409); +x_423 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_423, 0, x_421); +lean_ctor_set(x_423, 1, x_422); +return x_423; +} +} +} +else +{ +lean_object* x_424; +lean_dec(x_349); +x_424 = lean_ctor_get(x_408, 0); +lean_inc(x_424); +lean_dec(x_408); +x_353 = x_424; +x_354 = x_352; +goto block_404; +} +} +} +else +{ +lean_object* x_425; lean_object* x_426; +x_425 = lean_ctor_get(x_352, 2); +lean_inc(x_425); +x_426 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_425, x_349); +lean_dec(x_425); +if (lean_obj_tag(x_426) == 0) +{ +lean_object* x_427; +lean_inc(x_349); +x_427 = l___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main(x_1, x_349, x_352); +if (lean_obj_tag(x_427) == 0) +{ +lean_object* x_428; lean_object* x_429; uint8_t x_430; +x_428 = lean_ctor_get(x_427, 1); lean_inc(x_428); -lean_dec(x_416); -x_430 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_430, 0, x_428); -lean_ctor_set(x_430, 1, x_429); -return x_430; +x_429 = lean_ctor_get(x_427, 0); +lean_inc(x_429); +lean_dec(x_427); +x_430 = !lean_is_exclusive(x_428); +if (x_430 == 0) +{ +lean_object* x_431; lean_object* x_432; +x_431 = lean_ctor_get(x_428, 2); +lean_inc(x_429); +x_432 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_431, x_349, x_429); +lean_ctor_set(x_428, 2, x_432); +x_353 = x_429; +x_354 = x_428; +goto block_404; +} +else +{ +lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; +x_433 = lean_ctor_get(x_428, 0); +x_434 = lean_ctor_get(x_428, 1); +x_435 = lean_ctor_get(x_428, 2); +lean_inc(x_435); +lean_inc(x_434); +lean_inc(x_433); +lean_dec(x_428); +lean_inc(x_429); +x_436 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_435, x_349, x_429); +x_437 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_437, 0, x_433); +lean_ctor_set(x_437, 1, x_434); +lean_ctor_set(x_437, 2, x_436); +x_353 = x_429; +x_354 = x_437; +goto block_404; +} +} +else +{ +uint8_t x_438; +lean_dec(x_351); +lean_dec(x_350); +lean_dec(x_349); +lean_dec(x_2); +x_438 = !lean_is_exclusive(x_427); +if (x_438 == 0) +{ +return x_427; +} +else +{ +lean_object* x_439; lean_object* x_440; lean_object* x_441; +x_439 = lean_ctor_get(x_427, 0); +x_440 = lean_ctor_get(x_427, 1); +lean_inc(x_440); +lean_inc(x_439); +lean_dec(x_427); +x_441 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_441, 0, x_439); +lean_ctor_set(x_441, 1, x_440); +return x_441; } } } else { -lean_object* x_431; -lean_dec(x_378); -x_431 = lean_ctor_get(x_415, 0); -lean_inc(x_431); -lean_dec(x_415); -x_383 = x_431; -x_384 = x_382; -goto block_393; +lean_object* x_442; +lean_dec(x_349); +x_442 = lean_ctor_get(x_426, 0); +lean_inc(x_442); +lean_dec(x_426); +x_353 = x_442; +x_354 = x_352; +goto block_404; } } -block_393: +block_404: +{ +lean_object* x_355; lean_object* x_356; uint8_t x_366; +x_366 = lean_expr_has_expr_mvar(x_350); +if (x_366 == 0) +{ +uint8_t x_367; +x_367 = lean_expr_has_level_mvar(x_350); +if (x_367 == 0) +{ +x_355 = x_350; +x_356 = x_354; +goto block_365; +} +else +{ +lean_object* x_368; lean_object* x_369; +x_368 = lean_ctor_get(x_354, 2); +lean_inc(x_368); +x_369 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_368, x_350); +lean_dec(x_368); +if (lean_obj_tag(x_369) == 0) +{ +lean_object* x_370; +lean_inc(x_350); +x_370 = l___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main(x_1, x_350, x_354); +if (lean_obj_tag(x_370) == 0) +{ +lean_object* x_371; lean_object* x_372; uint8_t x_373; +x_371 = lean_ctor_get(x_370, 1); +lean_inc(x_371); +x_372 = lean_ctor_get(x_370, 0); +lean_inc(x_372); +lean_dec(x_370); +x_373 = !lean_is_exclusive(x_371); +if (x_373 == 0) +{ +lean_object* x_374; lean_object* x_375; +x_374 = lean_ctor_get(x_371, 2); +lean_inc(x_372); +x_375 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_374, x_350, x_372); +lean_ctor_set(x_371, 2, x_375); +x_355 = x_372; +x_356 = x_371; +goto block_365; +} +else +{ +lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; +x_376 = lean_ctor_get(x_371, 0); +x_377 = lean_ctor_get(x_371, 1); +x_378 = lean_ctor_get(x_371, 2); +lean_inc(x_378); +lean_inc(x_377); +lean_inc(x_376); +lean_dec(x_371); +lean_inc(x_372); +x_379 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_378, x_350, x_372); +x_380 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_380, 0, x_376); +lean_ctor_set(x_380, 1, x_377); +lean_ctor_set(x_380, 2, x_379); +x_355 = x_372; +x_356 = x_380; +goto block_365; +} +} +else +{ +uint8_t x_381; +lean_dec(x_353); +lean_dec(x_351); +lean_dec(x_350); +lean_dec(x_2); +x_381 = !lean_is_exclusive(x_370); +if (x_381 == 0) +{ +return x_370; +} +else +{ +lean_object* x_382; lean_object* x_383; lean_object* x_384; +x_382 = lean_ctor_get(x_370, 0); +x_383 = lean_ctor_get(x_370, 1); +lean_inc(x_383); +lean_inc(x_382); +lean_dec(x_370); +x_384 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_384, 0, x_382); +lean_ctor_set(x_384, 1, x_383); +return x_384; +} +} +} +else +{ +lean_object* x_385; +lean_dec(x_350); +x_385 = lean_ctor_get(x_369, 0); +lean_inc(x_385); +lean_dec(x_369); +x_355 = x_385; +x_356 = x_354; +goto block_365; +} +} +} +else +{ +lean_object* x_386; lean_object* x_387; +x_386 = lean_ctor_get(x_354, 2); +lean_inc(x_386); +x_387 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_386, x_350); +lean_dec(x_386); +if (lean_obj_tag(x_387) == 0) +{ +lean_object* x_388; +lean_inc(x_350); +x_388 = l___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main(x_1, x_350, x_354); +if (lean_obj_tag(x_388) == 0) +{ +lean_object* x_389; lean_object* x_390; uint8_t x_391; +x_389 = lean_ctor_get(x_388, 1); +lean_inc(x_389); +x_390 = lean_ctor_get(x_388, 0); +lean_inc(x_390); +lean_dec(x_388); +x_391 = !lean_is_exclusive(x_389); +if (x_391 == 0) +{ +lean_object* x_392; lean_object* x_393; +x_392 = lean_ctor_get(x_389, 2); +lean_inc(x_390); +x_393 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_392, x_350, x_390); +lean_ctor_set(x_389, 2, x_393); +x_355 = x_390; +x_356 = x_389; +goto block_365; +} +else +{ +lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; +x_394 = lean_ctor_get(x_389, 0); +x_395 = lean_ctor_get(x_389, 1); +x_396 = lean_ctor_get(x_389, 2); +lean_inc(x_396); +lean_inc(x_395); +lean_inc(x_394); +lean_dec(x_389); +lean_inc(x_390); +x_397 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_396, x_350, x_390); +x_398 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_398, 0, x_394); +lean_ctor_set(x_398, 1, x_395); +lean_ctor_set(x_398, 2, x_397); +x_355 = x_390; +x_356 = x_398; +goto block_365; +} +} +else +{ +uint8_t x_399; +lean_dec(x_353); +lean_dec(x_351); +lean_dec(x_350); +lean_dec(x_2); +x_399 = !lean_is_exclusive(x_388); +if (x_399 == 0) +{ +return x_388; +} +else +{ +lean_object* x_400; lean_object* x_401; lean_object* x_402; +x_400 = lean_ctor_get(x_388, 0); +x_401 = lean_ctor_get(x_388, 1); +lean_inc(x_401); +lean_inc(x_400); +lean_dec(x_388); +x_402 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_402, 0, x_400); +lean_ctor_set(x_402, 1, x_401); +return x_402; +} +} +} +else +{ +lean_object* x_403; +lean_dec(x_350); +x_403 = lean_ctor_get(x_387, 0); +lean_inc(x_403); +lean_dec(x_387); +x_355 = x_403; +x_356 = x_354; +goto block_365; +} +} +block_365: { if (lean_obj_tag(x_2) == 8) { -lean_object* x_385; lean_object* x_386; -x_385 = lean_expr_update_let(x_2, x_379, x_381, x_383); -x_386 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_386, 0, x_385); -lean_ctor_set(x_386, 1, x_384); -return x_386; +lean_object* x_357; lean_object* x_358; +x_357 = lean_expr_update_let(x_2, x_351, x_353, x_355); +x_358 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_358, 0, x_357); +lean_ctor_set(x_358, 1, x_356); +return x_358; } else { -lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; -lean_dec(x_383); -lean_dec(x_381); -lean_dec(x_379); +lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; +lean_dec(x_355); +lean_dec(x_353); +lean_dec(x_351); lean_dec(x_2); -x_387 = l_Lean_Expr_getRevArg_x21___main___closed__1; -x_388 = lean_unsigned_to_nat(522u); -x_389 = lean_unsigned_to_nat(18u); -x_390 = l_Lean_Expr_letName_x21___closed__1; -x_391 = l_panicWithPos___at_Lean_Expr_getRevArg_x21___main___spec__1(x_387, x_388, x_389, x_390); -x_392 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_392, 0, x_391); -lean_ctor_set(x_392, 1, x_384); -return x_392; +x_359 = l_Lean_Expr_getRevArg_x21___main___closed__1; +x_360 = lean_unsigned_to_nat(522u); +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); +x_364 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_364, 0, x_363); +lean_ctor_set(x_364, 1, x_356); +return x_364; } } } @@ -32119,197 +41484,197 @@ return x_392; } case 10: { -lean_object* x_510; uint8_t x_511; -x_510 = lean_ctor_get(x_2, 1); -lean_inc(x_510); -x_511 = lean_expr_has_expr_mvar(x_510); -if (x_511 == 0) +lean_object* x_482; uint8_t x_483; +x_482 = lean_ctor_get(x_2, 1); +lean_inc(x_482); +x_483 = lean_expr_has_expr_mvar(x_482); +if (x_483 == 0) { -uint8_t x_512; -x_512 = lean_expr_has_level_mvar(x_510); -if (x_512 == 0) +uint8_t x_484; +x_484 = lean_expr_has_level_mvar(x_482); +if (x_484 == 0) { -x_4 = x_510; +x_4 = x_482; x_5 = x_3; goto block_14; } else { -lean_object* x_513; lean_object* x_514; -x_513 = lean_ctor_get(x_3, 2); +lean_object* x_485; lean_object* x_486; +x_485 = lean_ctor_get(x_3, 2); +lean_inc(x_485); +x_486 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_485, x_482); +lean_dec(x_485); +if (lean_obj_tag(x_486) == 0) +{ +lean_object* x_487; +lean_inc(x_482); +x_487 = l___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main(x_1, x_482, x_3); +if (lean_obj_tag(x_487) == 0) +{ +lean_object* x_488; lean_object* x_489; uint8_t x_490; +x_488 = lean_ctor_get(x_487, 1); +lean_inc(x_488); +x_489 = lean_ctor_get(x_487, 0); +lean_inc(x_489); +lean_dec(x_487); +x_490 = !lean_is_exclusive(x_488); +if (x_490 == 0) +{ +lean_object* x_491; lean_object* x_492; +x_491 = lean_ctor_get(x_488, 2); +lean_inc(x_489); +x_492 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_491, x_482, x_489); +lean_ctor_set(x_488, 2, x_492); +x_4 = x_489; +x_5 = x_488; +goto block_14; +} +else +{ +lean_object* x_493; lean_object* x_494; lean_object* x_495; lean_object* x_496; lean_object* x_497; +x_493 = lean_ctor_get(x_488, 0); +x_494 = lean_ctor_get(x_488, 1); +x_495 = lean_ctor_get(x_488, 2); +lean_inc(x_495); +lean_inc(x_494); +lean_inc(x_493); +lean_dec(x_488); +lean_inc(x_489); +x_496 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_495, x_482, x_489); +x_497 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_497, 0, x_493); +lean_ctor_set(x_497, 1, x_494); +lean_ctor_set(x_497, 2, x_496); +x_4 = x_489; +x_5 = x_497; +goto block_14; +} +} +else +{ +uint8_t x_498; +lean_dec(x_482); +lean_dec(x_2); +x_498 = !lean_is_exclusive(x_487); +if (x_498 == 0) +{ +return x_487; +} +else +{ +lean_object* x_499; lean_object* x_500; lean_object* x_501; +x_499 = lean_ctor_get(x_487, 0); +x_500 = lean_ctor_get(x_487, 1); +lean_inc(x_500); +lean_inc(x_499); +lean_dec(x_487); +x_501 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_501, 0, x_499); +lean_ctor_set(x_501, 1, x_500); +return x_501; +} +} +} +else +{ +lean_object* x_502; +lean_dec(x_482); +x_502 = lean_ctor_get(x_486, 0); +lean_inc(x_502); +lean_dec(x_486); +x_4 = x_502; +x_5 = x_3; +goto block_14; +} +} +} +else +{ +lean_object* x_503; lean_object* x_504; +x_503 = lean_ctor_get(x_3, 2); +lean_inc(x_503); +x_504 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_503, x_482); +lean_dec(x_503); +if (lean_obj_tag(x_504) == 0) +{ +lean_object* x_505; +lean_inc(x_482); +x_505 = l___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main(x_1, x_482, x_3); +if (lean_obj_tag(x_505) == 0) +{ +lean_object* x_506; lean_object* x_507; uint8_t x_508; +x_506 = lean_ctor_get(x_505, 1); +lean_inc(x_506); +x_507 = lean_ctor_get(x_505, 0); +lean_inc(x_507); +lean_dec(x_505); +x_508 = !lean_is_exclusive(x_506); +if (x_508 == 0) +{ +lean_object* x_509; lean_object* x_510; +x_509 = lean_ctor_get(x_506, 2); +lean_inc(x_507); +x_510 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_509, x_482, x_507); +lean_ctor_set(x_506, 2, x_510); +x_4 = x_507; +x_5 = x_506; +goto block_14; +} +else +{ +lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; +x_511 = lean_ctor_get(x_506, 0); +x_512 = lean_ctor_get(x_506, 1); +x_513 = lean_ctor_get(x_506, 2); lean_inc(x_513); -x_514 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_513, x_510); -lean_dec(x_513); -if (lean_obj_tag(x_514) == 0) -{ -lean_object* x_515; -lean_inc(x_510); -x_515 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___at_Lean_MetavarContext_mkLambda___spec__3(x_1, x_510, x_3); -if (lean_obj_tag(x_515) == 0) -{ -lean_object* x_516; lean_object* x_517; uint8_t x_518; -x_516 = lean_ctor_get(x_515, 1); -lean_inc(x_516); -x_517 = lean_ctor_get(x_515, 0); -lean_inc(x_517); -lean_dec(x_515); -x_518 = !lean_is_exclusive(x_516); -if (x_518 == 0) -{ -lean_object* x_519; lean_object* x_520; -x_519 = lean_ctor_get(x_516, 2); -lean_inc(x_517); -x_520 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_519, x_510, x_517); -lean_ctor_set(x_516, 2, x_520); -x_4 = x_517; -x_5 = x_516; -goto block_14; -} -else -{ -lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; -x_521 = lean_ctor_get(x_516, 0); -x_522 = lean_ctor_get(x_516, 1); -x_523 = lean_ctor_get(x_516, 2); -lean_inc(x_523); -lean_inc(x_522); -lean_inc(x_521); -lean_dec(x_516); -lean_inc(x_517); -x_524 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_523, x_510, x_517); -x_525 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_525, 0, x_521); -lean_ctor_set(x_525, 1, x_522); -lean_ctor_set(x_525, 2, x_524); -x_4 = x_517; -x_5 = x_525; +lean_inc(x_512); +lean_inc(x_511); +lean_dec(x_506); +lean_inc(x_507); +x_514 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_513, x_482, x_507); +x_515 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_515, 0, x_511); +lean_ctor_set(x_515, 1, x_512); +lean_ctor_set(x_515, 2, x_514); +x_4 = x_507; +x_5 = x_515; goto block_14; } } else { -uint8_t x_526; -lean_dec(x_510); +uint8_t x_516; +lean_dec(x_482); lean_dec(x_2); -x_526 = !lean_is_exclusive(x_515); -if (x_526 == 0) +x_516 = !lean_is_exclusive(x_505); +if (x_516 == 0) { -return x_515; +return x_505; } else { -lean_object* x_527; lean_object* x_528; lean_object* x_529; -x_527 = lean_ctor_get(x_515, 0); -x_528 = lean_ctor_get(x_515, 1); -lean_inc(x_528); -lean_inc(x_527); -lean_dec(x_515); -x_529 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_529, 0, x_527); -lean_ctor_set(x_529, 1, x_528); -return x_529; +lean_object* x_517; lean_object* x_518; lean_object* x_519; +x_517 = lean_ctor_get(x_505, 0); +x_518 = lean_ctor_get(x_505, 1); +lean_inc(x_518); +lean_inc(x_517); +lean_dec(x_505); +x_519 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_519, 0, x_517); +lean_ctor_set(x_519, 1, x_518); +return x_519; } } } else { -lean_object* x_530; -lean_dec(x_510); -x_530 = lean_ctor_get(x_514, 0); -lean_inc(x_530); -lean_dec(x_514); -x_4 = x_530; -x_5 = x_3; -goto block_14; -} -} -} -else -{ -lean_object* x_531; lean_object* x_532; -x_531 = lean_ctor_get(x_3, 2); -lean_inc(x_531); -x_532 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_531, x_510); -lean_dec(x_531); -if (lean_obj_tag(x_532) == 0) -{ -lean_object* x_533; -lean_inc(x_510); -x_533 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___at_Lean_MetavarContext_mkLambda___spec__3(x_1, x_510, x_3); -if (lean_obj_tag(x_533) == 0) -{ -lean_object* x_534; lean_object* x_535; uint8_t x_536; -x_534 = lean_ctor_get(x_533, 1); -lean_inc(x_534); -x_535 = lean_ctor_get(x_533, 0); -lean_inc(x_535); -lean_dec(x_533); -x_536 = !lean_is_exclusive(x_534); -if (x_536 == 0) -{ -lean_object* x_537; lean_object* x_538; -x_537 = lean_ctor_get(x_534, 2); -lean_inc(x_535); -x_538 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_537, x_510, x_535); -lean_ctor_set(x_534, 2, x_538); -x_4 = x_535; -x_5 = x_534; -goto block_14; -} -else -{ -lean_object* x_539; lean_object* x_540; lean_object* x_541; lean_object* x_542; lean_object* x_543; -x_539 = lean_ctor_get(x_534, 0); -x_540 = lean_ctor_get(x_534, 1); -x_541 = lean_ctor_get(x_534, 2); -lean_inc(x_541); -lean_inc(x_540); -lean_inc(x_539); -lean_dec(x_534); -lean_inc(x_535); -x_542 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_541, x_510, x_535); -x_543 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_543, 0, x_539); -lean_ctor_set(x_543, 1, x_540); -lean_ctor_set(x_543, 2, x_542); -x_4 = x_535; -x_5 = x_543; -goto block_14; -} -} -else -{ -uint8_t x_544; -lean_dec(x_510); -lean_dec(x_2); -x_544 = !lean_is_exclusive(x_533); -if (x_544 == 0) -{ -return x_533; -} -else -{ -lean_object* x_545; lean_object* x_546; lean_object* x_547; -x_545 = lean_ctor_get(x_533, 0); -x_546 = lean_ctor_get(x_533, 1); -lean_inc(x_546); -lean_inc(x_545); -lean_dec(x_533); -x_547 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_547, 0, x_545); -lean_ctor_set(x_547, 1, x_546); -return x_547; -} -} -} -else -{ -lean_object* x_548; -lean_dec(x_510); -x_548 = lean_ctor_get(x_532, 0); -lean_inc(x_548); -lean_dec(x_532); -x_4 = x_548; +lean_object* x_520; +lean_dec(x_482); +x_520 = lean_ctor_get(x_504, 0); +lean_inc(x_520); +lean_dec(x_504); +x_4 = x_520; x_5 = x_3; goto block_14; } @@ -32317,197 +41682,197 @@ goto block_14; } case 11: { -lean_object* x_549; uint8_t x_550; -x_549 = lean_ctor_get(x_2, 2); -lean_inc(x_549); -x_550 = lean_expr_has_expr_mvar(x_549); -if (x_550 == 0) +lean_object* x_521; uint8_t x_522; +x_521 = lean_ctor_get(x_2, 2); +lean_inc(x_521); +x_522 = lean_expr_has_expr_mvar(x_521); +if (x_522 == 0) { -uint8_t x_551; -x_551 = lean_expr_has_level_mvar(x_549); -if (x_551 == 0) +uint8_t x_523; +x_523 = lean_expr_has_level_mvar(x_521); +if (x_523 == 0) { -x_15 = x_549; +x_15 = x_521; x_16 = x_3; goto block_25; } else { -lean_object* x_552; lean_object* x_553; -x_552 = lean_ctor_get(x_3, 2); +lean_object* x_524; lean_object* x_525; +x_524 = lean_ctor_get(x_3, 2); +lean_inc(x_524); +x_525 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_524, x_521); +lean_dec(x_524); +if (lean_obj_tag(x_525) == 0) +{ +lean_object* x_526; +lean_inc(x_521); +x_526 = l___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main(x_1, x_521, x_3); +if (lean_obj_tag(x_526) == 0) +{ +lean_object* x_527; lean_object* x_528; uint8_t x_529; +x_527 = lean_ctor_get(x_526, 1); +lean_inc(x_527); +x_528 = lean_ctor_get(x_526, 0); +lean_inc(x_528); +lean_dec(x_526); +x_529 = !lean_is_exclusive(x_527); +if (x_529 == 0) +{ +lean_object* x_530; lean_object* x_531; +x_530 = lean_ctor_get(x_527, 2); +lean_inc(x_528); +x_531 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_530, x_521, x_528); +lean_ctor_set(x_527, 2, x_531); +x_15 = x_528; +x_16 = x_527; +goto block_25; +} +else +{ +lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; +x_532 = lean_ctor_get(x_527, 0); +x_533 = lean_ctor_get(x_527, 1); +x_534 = lean_ctor_get(x_527, 2); +lean_inc(x_534); +lean_inc(x_533); +lean_inc(x_532); +lean_dec(x_527); +lean_inc(x_528); +x_535 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_534, x_521, x_528); +x_536 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_536, 0, x_532); +lean_ctor_set(x_536, 1, x_533); +lean_ctor_set(x_536, 2, x_535); +x_15 = x_528; +x_16 = x_536; +goto block_25; +} +} +else +{ +uint8_t x_537; +lean_dec(x_521); +lean_dec(x_2); +x_537 = !lean_is_exclusive(x_526); +if (x_537 == 0) +{ +return x_526; +} +else +{ +lean_object* x_538; lean_object* x_539; lean_object* x_540; +x_538 = lean_ctor_get(x_526, 0); +x_539 = lean_ctor_get(x_526, 1); +lean_inc(x_539); +lean_inc(x_538); +lean_dec(x_526); +x_540 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_540, 0, x_538); +lean_ctor_set(x_540, 1, x_539); +return x_540; +} +} +} +else +{ +lean_object* x_541; +lean_dec(x_521); +x_541 = lean_ctor_get(x_525, 0); +lean_inc(x_541); +lean_dec(x_525); +x_15 = x_541; +x_16 = x_3; +goto block_25; +} +} +} +else +{ +lean_object* x_542; lean_object* x_543; +x_542 = lean_ctor_get(x_3, 2); +lean_inc(x_542); +x_543 = l_HashMapImp_find___at___private_Init_Lean_MetavarContext_4__visit___spec__1(x_542, x_521); +lean_dec(x_542); +if (lean_obj_tag(x_543) == 0) +{ +lean_object* x_544; +lean_inc(x_521); +x_544 = l___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main(x_1, x_521, x_3); +if (lean_obj_tag(x_544) == 0) +{ +lean_object* x_545; lean_object* x_546; uint8_t x_547; +x_545 = lean_ctor_get(x_544, 1); +lean_inc(x_545); +x_546 = lean_ctor_get(x_544, 0); +lean_inc(x_546); +lean_dec(x_544); +x_547 = !lean_is_exclusive(x_545); +if (x_547 == 0) +{ +lean_object* x_548; lean_object* x_549; +x_548 = lean_ctor_get(x_545, 2); +lean_inc(x_546); +x_549 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_548, x_521, x_546); +lean_ctor_set(x_545, 2, x_549); +x_15 = x_546; +x_16 = x_545; +goto block_25; +} +else +{ +lean_object* x_550; lean_object* x_551; lean_object* x_552; lean_object* x_553; lean_object* x_554; +x_550 = lean_ctor_get(x_545, 0); +x_551 = lean_ctor_get(x_545, 1); +x_552 = lean_ctor_get(x_545, 2); lean_inc(x_552); -x_553 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_552, x_549); -lean_dec(x_552); -if (lean_obj_tag(x_553) == 0) -{ -lean_object* x_554; -lean_inc(x_549); -x_554 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___at_Lean_MetavarContext_mkLambda___spec__3(x_1, x_549, x_3); -if (lean_obj_tag(x_554) == 0) -{ -lean_object* x_555; lean_object* x_556; uint8_t x_557; -x_555 = lean_ctor_get(x_554, 1); -lean_inc(x_555); -x_556 = lean_ctor_get(x_554, 0); -lean_inc(x_556); -lean_dec(x_554); -x_557 = !lean_is_exclusive(x_555); -if (x_557 == 0) -{ -lean_object* x_558; lean_object* x_559; -x_558 = lean_ctor_get(x_555, 2); -lean_inc(x_556); -x_559 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_558, x_549, x_556); -lean_ctor_set(x_555, 2, x_559); -x_15 = x_556; -x_16 = x_555; -goto block_25; -} -else -{ -lean_object* x_560; lean_object* x_561; lean_object* x_562; lean_object* x_563; lean_object* x_564; -x_560 = lean_ctor_get(x_555, 0); -x_561 = lean_ctor_get(x_555, 1); -x_562 = lean_ctor_get(x_555, 2); -lean_inc(x_562); -lean_inc(x_561); -lean_inc(x_560); -lean_dec(x_555); -lean_inc(x_556); -x_563 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_562, x_549, x_556); -x_564 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_564, 0, x_560); -lean_ctor_set(x_564, 1, x_561); -lean_ctor_set(x_564, 2, x_563); -x_15 = x_556; -x_16 = x_564; +lean_inc(x_551); +lean_inc(x_550); +lean_dec(x_545); +lean_inc(x_546); +x_553 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_4__visit___spec__3(x_552, x_521, x_546); +x_554 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_554, 0, x_550); +lean_ctor_set(x_554, 1, x_551); +lean_ctor_set(x_554, 2, x_553); +x_15 = x_546; +x_16 = x_554; goto block_25; } } else { -uint8_t x_565; -lean_dec(x_549); +uint8_t x_555; +lean_dec(x_521); lean_dec(x_2); -x_565 = !lean_is_exclusive(x_554); -if (x_565 == 0) +x_555 = !lean_is_exclusive(x_544); +if (x_555 == 0) { -return x_554; +return x_544; } else { -lean_object* x_566; lean_object* x_567; lean_object* x_568; -x_566 = lean_ctor_get(x_554, 0); -x_567 = lean_ctor_get(x_554, 1); -lean_inc(x_567); -lean_inc(x_566); -lean_dec(x_554); -x_568 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_568, 0, x_566); -lean_ctor_set(x_568, 1, x_567); -return x_568; +lean_object* x_556; lean_object* x_557; lean_object* x_558; +x_556 = lean_ctor_get(x_544, 0); +x_557 = lean_ctor_get(x_544, 1); +lean_inc(x_557); +lean_inc(x_556); +lean_dec(x_544); +x_558 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_558, 0, x_556); +lean_ctor_set(x_558, 1, x_557); +return x_558; } } } else { -lean_object* x_569; -lean_dec(x_549); -x_569 = lean_ctor_get(x_553, 0); -lean_inc(x_569); -lean_dec(x_553); -x_15 = x_569; -x_16 = x_3; -goto block_25; -} -} -} -else -{ -lean_object* x_570; lean_object* x_571; -x_570 = lean_ctor_get(x_3, 2); -lean_inc(x_570); -x_571 = l_HashMapImp_find___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__1(x_570, x_549); -lean_dec(x_570); -if (lean_obj_tag(x_571) == 0) -{ -lean_object* x_572; -lean_inc(x_549); -x_572 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___at_Lean_MetavarContext_mkLambda___spec__3(x_1, x_549, x_3); -if (lean_obj_tag(x_572) == 0) -{ -lean_object* x_573; lean_object* x_574; uint8_t x_575; -x_573 = lean_ctor_get(x_572, 1); -lean_inc(x_573); -x_574 = lean_ctor_get(x_572, 0); -lean_inc(x_574); -lean_dec(x_572); -x_575 = !lean_is_exclusive(x_573); -if (x_575 == 0) -{ -lean_object* x_576; lean_object* x_577; -x_576 = lean_ctor_get(x_573, 2); -lean_inc(x_574); -x_577 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_576, x_549, x_574); -lean_ctor_set(x_573, 2, x_577); -x_15 = x_574; -x_16 = x_573; -goto block_25; -} -else -{ -lean_object* x_578; lean_object* x_579; lean_object* x_580; lean_object* x_581; lean_object* x_582; -x_578 = lean_ctor_get(x_573, 0); -x_579 = lean_ctor_get(x_573, 1); -x_580 = lean_ctor_get(x_573, 2); -lean_inc(x_580); -lean_inc(x_579); -lean_inc(x_578); -lean_dec(x_573); -lean_inc(x_574); -x_581 = l_HashMapImp_insert___at_Lean_AbstractMetavarContext_InstantiateExprMVars_visit___spec__3(x_580, x_549, x_574); -x_582 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_582, 0, x_578); -lean_ctor_set(x_582, 1, x_579); -lean_ctor_set(x_582, 2, x_581); -x_15 = x_574; -x_16 = x_582; -goto block_25; -} -} -else -{ -uint8_t x_583; -lean_dec(x_549); -lean_dec(x_2); -x_583 = !lean_is_exclusive(x_572); -if (x_583 == 0) -{ -return x_572; -} -else -{ -lean_object* x_584; lean_object* x_585; lean_object* x_586; -x_584 = lean_ctor_get(x_572, 0); -x_585 = lean_ctor_get(x_572, 1); -lean_inc(x_585); -lean_inc(x_584); -lean_dec(x_572); -x_586 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_586, 0, x_584); -lean_ctor_set(x_586, 1, x_585); -return x_586; -} -} -} -else -{ -lean_object* x_587; -lean_dec(x_549); -x_587 = lean_ctor_get(x_571, 0); -lean_inc(x_587); -lean_dec(x_571); -x_15 = x_587; +lean_object* x_559; +lean_dec(x_521); +x_559 = lean_ctor_get(x_543, 0); +lean_inc(x_559); +lean_dec(x_543); +x_15 = x_559; x_16 = x_3; goto block_25; } @@ -32515,11 +41880,11 @@ goto block_25; } default: { -lean_object* x_588; -x_588 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_588, 0, x_2); -lean_ctor_set(x_588, 1, x_3); -return x_588; +lean_object* x_560; +x_560 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_560, 0, x_2); +lean_ctor_set(x_560, 1, x_3); +return x_560; } } block_14: @@ -32578,7 +41943,84 @@ return x_24; } } } -lean_object* l_Lean_AbstractMetavarContext_MkBinding_elimMVarDeps___at_Lean_MetavarContext_mkLambda___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Nat_foldRevMAux___main___at___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main___spec__2___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +uint8_t x_7; lean_object* x_8; +x_7 = lean_unbox(x_4); +lean_dec(x_4); +x_8 = l_Nat_foldRevMAux___main___at___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main___spec__2___lambda__1(x_1, x_2, x_3, x_7, x_5, x_6); +lean_dec(x_2); +lean_dec(x_1); +return x_8; +} +} +lean_object* l_Nat_foldRevMAux___main___at___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +uint8_t x_8; lean_object* x_9; +x_8 = lean_unbox(x_1); +lean_dec(x_1); +x_9 = l_Nat_foldRevMAux___main___at___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main___spec__2(x_8, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_5); +return x_9; +} +} +lean_object* l_Lean_MetavarContext_MkBinding_mkBinding___at___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +uint8_t x_6; lean_object* x_7; +x_6 = lean_unbox(x_1); +lean_dec(x_1); +x_7 = l_Lean_MetavarContext_MkBinding_mkBinding___at___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main___spec__1(x_6, x_2, x_3, x_4, x_5); +return x_7; +} +} +lean_object* l_Array_umapMAux___main___at___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Array_umapMAux___main___at___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main___spec__3(x_1, x_2, x_3, x_4); +lean_dec(x_1); +return x_5; +} +} +lean_object* l___private_Init_Lean_Expr_4__withAppRevAux___main___at___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main___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___private_Init_Lean_Expr_4__withAppRevAux___main___at___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main___spec__4(x_1, x_2, x_3, x_4); +lean_dec(x_1); +return x_5; +} +} +lean_object* l___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main(x_1, x_2, x_3); +lean_dec(x_1); +return x_4; +} +} +lean_object* l___private_Init_Lean_MetavarContext_26__elimMVarDepsAux(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main(x_1, x_2, x_3); +return x_4; +} +} +lean_object* l___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l___private_Init_Lean_MetavarContext_26__elimMVarDepsAux(x_1, x_2, x_3); +lean_dec(x_1); +return x_4; +} +} +lean_object* l_Lean_MetavarContext_MkBinding_elimMVarDeps(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { uint8_t x_4; @@ -32605,7 +42047,7 @@ lean_object* x_8; lean_object* x_9; lean_object* x_10; x_8 = lean_ctor_get(x_3, 2); x_9 = l_HashMap_Inhabited___closed__1; lean_ctor_set(x_3, 2, x_9); -x_10 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___at_Lean_MetavarContext_mkLambda___spec__3(x_1, x_2, x_3); +x_10 = l___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main(x_1, x_2, x_3); if (lean_obj_tag(x_10) == 0) { uint8_t x_11; @@ -32713,7 +42155,7 @@ x_33 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_33, 0, x_29); lean_ctor_set(x_33, 1, x_30); lean_ctor_set(x_33, 2, x_32); -x_34 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___at_Lean_MetavarContext_mkLambda___spec__3(x_1, x_2, x_33); +x_34 = l___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main(x_1, x_2, x_33); if (lean_obj_tag(x_34) == 0) { lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; @@ -32797,7 +42239,7 @@ lean_object* x_48; lean_object* x_49; lean_object* x_50; x_48 = lean_ctor_get(x_3, 2); x_49 = l_HashMap_Inhabited___closed__1; lean_ctor_set(x_3, 2, x_49); -x_50 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___at_Lean_MetavarContext_mkLambda___spec__3(x_1, x_2, x_3); +x_50 = l___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main(x_1, x_2, x_3); if (lean_obj_tag(x_50) == 0) { uint8_t x_51; @@ -32905,7 +42347,7 @@ x_73 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_73, 0, x_69); lean_ctor_set(x_73, 1, x_70); lean_ctor_set(x_73, 2, x_72); -x_74 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___at_Lean_MetavarContext_mkLambda___spec__3(x_1, x_2, x_73); +x_74 = l___private_Init_Lean_MetavarContext_26__elimMVarDepsAux___main(x_1, x_2, x_73); if (lean_obj_tag(x_74) == 0) { lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; @@ -32980,7 +42422,16 @@ return x_86; } } } -lean_object* l_Nat_foldRevMAux___main___at_Lean_MetavarContext_mkLambda___spec__68___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_Lean_MetavarContext_MkBinding_elimMVarDeps___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_MetavarContext_MkBinding_elimMVarDeps(x_1, x_2, x_3); +lean_dec(x_1); +return x_4; +} +} +lean_object* l_Nat_foldRevMAux___main___at_Lean_MetavarContext_mkBinding___spec__2___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; lean_object* x_8; lean_object* x_9; @@ -32992,11 +42443,11 @@ if (lean_obj_tag(x_9) == 0) { lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_dec(x_5); -x_10 = l_Lean_AbstractMetavarContext_InstantiateExprMVars_instantiateDelayedAux___main___rarg___closed__1; -x_11 = lean_unsigned_to_nat(404u); +x_10 = l_Lean_MetavarContext_getDecl___closed__1; +x_11 = lean_unsigned_to_nat(391u); x_12 = lean_unsigned_to_nat(16u); x_13 = l_Nat_foldRevAux___main___at_Lean_LocalContext_mkBinding___spec__1___closed__1; -x_14 = l_panicWithPos___at_Lean_MetavarContext_mkLambda___spec__63(x_10, x_11, x_12, x_13, x_6); +x_14 = l_panicWithPos___at_Lean_MetavarContext_MkBinding_mkBinding___spec__1(x_10, x_11, x_12, x_13, x_6); return x_14; } else @@ -33014,7 +42465,7 @@ x_17 = lean_ctor_get(x_15, 3); lean_inc(x_17); x_18 = lean_ctor_get_uint8(x_15, sizeof(void*)*4); lean_dec(x_15); -x_19 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDeps___at_Lean_MetavarContext_mkLambda___spec__2(x_1, x_17, x_6); +x_19 = l_Lean_MetavarContext_MkBinding_elimMVarDeps(x_1, x_17, x_6); if (lean_obj_tag(x_19) == 0) { uint8_t x_20; @@ -33105,7 +42556,7 @@ lean_inc(x_37); x_38 = lean_ctor_get(x_15, 4); lean_inc(x_38); lean_dec(x_15); -x_39 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDeps___at_Lean_MetavarContext_mkLambda___spec__2(x_1, x_37, x_6); +x_39 = l_Lean_MetavarContext_MkBinding_elimMVarDeps(x_1, x_37, x_6); if (lean_obj_tag(x_39) == 0) { lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; @@ -33116,7 +42567,7 @@ lean_inc(x_41); lean_dec(x_39); x_42 = lean_expr_abstract_range(x_40, x_2, x_1); lean_dec(x_40); -x_43 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDeps___at_Lean_MetavarContext_mkLambda___spec__2(x_1, x_38, x_41); +x_43 = l_Lean_MetavarContext_MkBinding_elimMVarDeps(x_1, x_38, x_41); if (lean_obj_tag(x_43) == 0) { uint8_t x_44; @@ -33203,7 +42654,7 @@ return x_60; } } } -lean_object* l_Nat_foldRevMAux___main___at_Lean_MetavarContext_mkLambda___spec__68(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +lean_object* l_Nat_foldRevMAux___main___at_Lean_MetavarContext_mkBinding___spec__2(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; uint8_t x_9; @@ -33220,14 +42671,14 @@ x_13 = lean_box(x_1); lean_inc(x_2); lean_inc(x_11); lean_inc(x_3); -x_14 = lean_alloc_closure((void*)(l_Nat_foldRevMAux___main___at_Lean_MetavarContext_mkLambda___spec__68___lambda__1___boxed), 6, 5); +x_14 = lean_alloc_closure((void*)(l_Nat_foldRevMAux___main___at_Lean_MetavarContext_mkBinding___spec__2___lambda__1___boxed), 6, 5); lean_closure_set(x_14, 0, x_3); lean_closure_set(x_14, 1, x_11); lean_closure_set(x_14, 2, x_2); lean_closure_set(x_14, 3, x_13); lean_closure_set(x_14, 4, x_6); x_15 = lean_box(x_1); -x_16 = lean_alloc_closure((void*)(l_Nat_foldRevMAux___main___at_Lean_MetavarContext_mkLambda___spec__68___boxed), 7, 5); +x_16 = lean_alloc_closure((void*)(l_Nat_foldRevMAux___main___at_Lean_MetavarContext_mkBinding___spec__2___boxed), 7, 5); lean_closure_set(x_16, 0, x_15); lean_closure_set(x_16, 1, x_2); lean_closure_set(x_16, 2, x_3); @@ -33252,12 +42703,12 @@ return x_20; } } } -lean_object* l_Lean_AbstractMetavarContext_MkBinding_mkBinding___at_Lean_MetavarContext_mkLambda___spec__67(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_Lean_MetavarContext_MkBinding_mkBinding___at_Lean_MetavarContext_mkBinding___spec__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; lean_object* x_7; x_6 = lean_array_get_size(x_3); -x_7 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDeps___at_Lean_MetavarContext_mkLambda___spec__2(x_3, x_4, x_5); +x_7 = l_Lean_MetavarContext_MkBinding_elimMVarDeps(x_3, x_4, x_5); if (lean_obj_tag(x_7) == 0) { lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; @@ -33269,7 +42720,7 @@ lean_dec(x_7); x_10 = lean_expr_abstract_range(x_8, x_6, x_3); lean_dec(x_8); x_11 = l_EIO_Monad___closed__1; -x_12 = l_Nat_foldRevMAux___main___at_Lean_MetavarContext_mkLambda___spec__68(x_1, x_2, x_3, x_11, x_6, x_10, x_9); +x_12 = l_Nat_foldRevMAux___main___at_Lean_MetavarContext_mkBinding___spec__2(x_1, x_2, x_3, x_11, x_6, x_10, x_9); lean_dec(x_6); return x_12; } @@ -33300,7 +42751,7 @@ return x_16; } } } -lean_object* l_Lean_AbstractMetavarContext_mkBinding___at_Lean_MetavarContext_mkLambda___spec__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_Lean_MetavarContext_mkBinding(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; lean_object* x_8; lean_object* x_9; @@ -33309,7 +42760,7 @@ x_8 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_8, 0, x_2); lean_ctor_set(x_8, 1, x_3); lean_ctor_set(x_8, 2, x_7); -x_9 = l_Lean_AbstractMetavarContext_MkBinding_mkBinding___at_Lean_MetavarContext_mkLambda___spec__67(x_1, x_4, x_5, x_6, x_8); +x_9 = l_Lean_MetavarContext_MkBinding_mkBinding___at_Lean_MetavarContext_mkBinding___spec__1(x_1, x_4, x_5, x_6, x_8); if (lean_obj_tag(x_9) == 0) { lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; @@ -33345,763 +42796,108 @@ return x_18; } } } -lean_object* l_Lean_MetavarContext_mkLambda(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -uint8_t x_6; lean_object* x_7; -x_6 = 1; -x_7 = l_Lean_AbstractMetavarContext_mkBinding___at_Lean_MetavarContext_mkLambda___spec__1(x_6, x_1, x_2, x_3, x_4, x_5); -return x_7; -} -} -lean_object* l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__5___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_MetavarContext_mkLambda___spec__5(x_1, x_2, x_3); -lean_dec(x_2); -lean_dec(x_1); -x_5 = lean_box(x_4); -return x_5; -} -} -lean_object* l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__6___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_MetavarContext_mkLambda___spec__6(x_1, x_2, x_3); -lean_dec(x_2); -lean_dec(x_1); -x_5 = lean_box(x_4); -return x_5; -} -} -lean_object* l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___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_MetavarContext_mkLambda___spec__10(x_1, x_2, x_3); -lean_dec(x_2); -lean_dec(x_1); -x_5 = lean_box(x_4); -return x_5; -} -} -lean_object* l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__11___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_MetavarContext_mkLambda___spec__11(x_1, x_2, x_3); -lean_dec(x_2); -lean_dec(x_1); -x_5 = lean_box(x_4); -return x_5; -} -} -lean_object* l_PersistentArray_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__9___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; lean_object* x_4; -x_3 = l_PersistentArray_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__9(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -x_4 = lean_box(x_3); -return x_4; -} -} -lean_object* l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__12___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_MetavarContext_mkLambda___spec__12(x_1, x_2, x_3); -lean_dec(x_2); -lean_dec(x_1); -x_5 = lean_box(x_4); -return x_5; -} -} -lean_object* l_PersistentArray_anyM___at_Lean_MetavarContext_mkLambda___spec__8___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; lean_object* x_4; -x_3 = l_PersistentArray_anyM___at_Lean_MetavarContext_mkLambda___spec__8(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -x_4 = lean_box(x_3); -return x_4; -} -} -lean_object* l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__7(x_1, x_2, x_3, x_4); -lean_dec(x_1); -return x_5; -} -} -lean_object* l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__16___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_MetavarContext_mkLambda___spec__16(x_1, x_2, x_3); -lean_dec(x_2); -lean_dec(x_1); -x_5 = lean_box(x_4); -return x_5; -} -} -lean_object* l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__17___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_MetavarContext_mkLambda___spec__17(x_1, x_2, x_3); -lean_dec(x_2); -lean_dec(x_1); -x_5 = lean_box(x_4); -return x_5; -} -} -lean_object* l_PersistentArray_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__15___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; lean_object* x_4; -x_3 = l_PersistentArray_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__15(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -x_4 = lean_box(x_3); -return x_4; -} -} -lean_object* l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__18___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_MetavarContext_mkLambda___spec__18(x_1, x_2, x_3); -lean_dec(x_2); -lean_dec(x_1); -x_5 = lean_box(x_4); -return x_5; -} -} -lean_object* l_PersistentArray_anyM___at_Lean_MetavarContext_mkLambda___spec__14___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; lean_object* x_4; -x_3 = l_PersistentArray_anyM___at_Lean_MetavarContext_mkLambda___spec__14(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -x_4 = lean_box(x_3); -return x_4; -} -} -lean_object* l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__13___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__13(x_1, x_2, x_3, x_4); -lean_dec(x_1); -return x_5; -} -} -lean_object* l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__22___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_MetavarContext_mkLambda___spec__22(x_1, x_2, x_3); -lean_dec(x_2); -lean_dec(x_1); -x_5 = lean_box(x_4); -return x_5; -} -} -lean_object* l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__23___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_MetavarContext_mkLambda___spec__23(x_1, x_2, x_3); -lean_dec(x_2); -lean_dec(x_1); -x_5 = lean_box(x_4); -return x_5; -} -} -lean_object* l_PersistentArray_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__21___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; lean_object* x_4; -x_3 = l_PersistentArray_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__21(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -x_4 = lean_box(x_3); -return x_4; -} -} -lean_object* l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__24___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_MetavarContext_mkLambda___spec__24(x_1, x_2, x_3); -lean_dec(x_2); -lean_dec(x_1); -x_5 = lean_box(x_4); -return x_5; -} -} -lean_object* l_PersistentArray_anyM___at_Lean_MetavarContext_mkLambda___spec__20___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; lean_object* x_4; -x_3 = l_PersistentArray_anyM___at_Lean_MetavarContext_mkLambda___spec__20(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -x_4 = lean_box(x_3); -return x_4; -} -} -lean_object* l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__19___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__19(x_1, x_2, x_3, x_4); -lean_dec(x_1); -return x_5; -} -} -lean_object* l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__28___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_MetavarContext_mkLambda___spec__28(x_1, x_2, x_3); -lean_dec(x_2); -lean_dec(x_1); -x_5 = lean_box(x_4); -return x_5; -} -} -lean_object* l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__29___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_MetavarContext_mkLambda___spec__29(x_1, x_2, x_3); -lean_dec(x_2); -lean_dec(x_1); -x_5 = lean_box(x_4); -return x_5; -} -} -lean_object* l_PersistentArray_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__27___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; lean_object* x_4; -x_3 = l_PersistentArray_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__27(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -x_4 = lean_box(x_3); -return x_4; -} -} -lean_object* l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__30___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_MetavarContext_mkLambda___spec__30(x_1, x_2, x_3); -lean_dec(x_2); -lean_dec(x_1); -x_5 = lean_box(x_4); -return x_5; -} -} -lean_object* l_PersistentArray_anyM___at_Lean_MetavarContext_mkLambda___spec__26___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; lean_object* x_4; -x_3 = l_PersistentArray_anyM___at_Lean_MetavarContext_mkLambda___spec__26(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -x_4 = lean_box(x_3); -return x_4; -} -} -lean_object* l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__25___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__25(x_1, x_2, x_3, x_4); -lean_dec(x_1); -return x_5; -} -} -lean_object* l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__34___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_MetavarContext_mkLambda___spec__34(x_1, x_2, x_3); -lean_dec(x_2); -lean_dec(x_1); -x_5 = lean_box(x_4); -return x_5; -} -} -lean_object* l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__35___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_MetavarContext_mkLambda___spec__35(x_1, x_2, x_3); -lean_dec(x_2); -lean_dec(x_1); -x_5 = lean_box(x_4); -return x_5; -} -} -lean_object* l_PersistentArray_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__33___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; lean_object* x_4; -x_3 = l_PersistentArray_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__33(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -x_4 = lean_box(x_3); -return x_4; -} -} -lean_object* l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__36___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_MetavarContext_mkLambda___spec__36(x_1, x_2, x_3); -lean_dec(x_2); -lean_dec(x_1); -x_5 = lean_box(x_4); -return x_5; -} -} -lean_object* l_PersistentArray_anyM___at_Lean_MetavarContext_mkLambda___spec__32___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; lean_object* x_4; -x_3 = l_PersistentArray_anyM___at_Lean_MetavarContext_mkLambda___spec__32(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -x_4 = lean_box(x_3); -return x_4; -} -} -lean_object* l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__31___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__31(x_1, x_2, x_3, x_4); -lean_dec(x_1); -return x_5; -} -} -lean_object* l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__40___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_MetavarContext_mkLambda___spec__40(x_1, x_2, x_3); -lean_dec(x_2); -lean_dec(x_1); -x_5 = lean_box(x_4); -return x_5; -} -} -lean_object* l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__41___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_MetavarContext_mkLambda___spec__41(x_1, x_2, x_3); -lean_dec(x_2); -lean_dec(x_1); -x_5 = lean_box(x_4); -return x_5; -} -} -lean_object* l_PersistentArray_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__39___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; lean_object* x_4; -x_3 = l_PersistentArray_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__39(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -x_4 = lean_box(x_3); -return x_4; -} -} -lean_object* l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__42___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_MetavarContext_mkLambda___spec__42(x_1, x_2, x_3); -lean_dec(x_2); -lean_dec(x_1); -x_5 = lean_box(x_4); -return x_5; -} -} -lean_object* l_PersistentArray_anyM___at_Lean_MetavarContext_mkLambda___spec__38___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; lean_object* x_4; -x_3 = l_PersistentArray_anyM___at_Lean_MetavarContext_mkLambda___spec__38(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -x_4 = lean_box(x_3); -return x_4; -} -} -lean_object* l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__37___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__37(x_1, x_2, x_3, x_4); -lean_dec(x_1); -return x_5; -} -} -lean_object* l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__46___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_MetavarContext_mkLambda___spec__46(x_1, x_2, x_3); -lean_dec(x_2); -lean_dec(x_1); -x_5 = lean_box(x_4); -return x_5; -} -} -lean_object* l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__47___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_MetavarContext_mkLambda___spec__47(x_1, x_2, x_3); -lean_dec(x_2); -lean_dec(x_1); -x_5 = lean_box(x_4); -return x_5; -} -} -lean_object* l_PersistentArray_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__45___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; lean_object* x_4; -x_3 = l_PersistentArray_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__45(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -x_4 = lean_box(x_3); -return x_4; -} -} -lean_object* l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__48___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_MetavarContext_mkLambda___spec__48(x_1, x_2, x_3); -lean_dec(x_2); -lean_dec(x_1); -x_5 = lean_box(x_4); -return x_5; -} -} -lean_object* l_PersistentArray_anyM___at_Lean_MetavarContext_mkLambda___spec__44___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; lean_object* x_4; -x_3 = l_PersistentArray_anyM___at_Lean_MetavarContext_mkLambda___spec__44(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -x_4 = lean_box(x_3); -return x_4; -} -} -lean_object* l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__43___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__43(x_1, x_2, x_3, x_4); -lean_dec(x_1); -return x_5; -} -} -lean_object* l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__52___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_MetavarContext_mkLambda___spec__52(x_1, x_2, x_3); -lean_dec(x_2); -lean_dec(x_1); -x_5 = lean_box(x_4); -return x_5; -} -} -lean_object* l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__53___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_MetavarContext_mkLambda___spec__53(x_1, x_2, x_3); -lean_dec(x_2); -lean_dec(x_1); -x_5 = lean_box(x_4); -return x_5; -} -} -lean_object* l_PersistentArray_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__51___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; lean_object* x_4; -x_3 = l_PersistentArray_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__51(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -x_4 = lean_box(x_3); -return x_4; -} -} -lean_object* l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__54___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_MetavarContext_mkLambda___spec__54(x_1, x_2, x_3); -lean_dec(x_2); -lean_dec(x_1); -x_5 = lean_box(x_4); -return x_5; -} -} -lean_object* l_PersistentArray_anyM___at_Lean_MetavarContext_mkLambda___spec__50___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; lean_object* x_4; -x_3 = l_PersistentArray_anyM___at_Lean_MetavarContext_mkLambda___spec__50(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -x_4 = lean_box(x_3); -return x_4; -} -} -lean_object* l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__49___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__49(x_1, x_2, x_3, x_4); -lean_dec(x_1); -return x_5; -} -} -lean_object* l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__58___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_MetavarContext_mkLambda___spec__58(x_1, x_2, x_3); -lean_dec(x_2); -lean_dec(x_1); -x_5 = lean_box(x_4); -return x_5; -} -} -lean_object* l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__59___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_MetavarContext_mkLambda___spec__59(x_1, x_2, x_3); -lean_dec(x_2); -lean_dec(x_1); -x_5 = lean_box(x_4); -return x_5; -} -} -lean_object* l_PersistentArray_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__57___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; lean_object* x_4; -x_3 = l_PersistentArray_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__57(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -x_4 = lean_box(x_3); -return x_4; -} -} -lean_object* l_Array_anyMAux___main___at_Lean_MetavarContext_mkLambda___spec__60___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_MetavarContext_mkLambda___spec__60(x_1, x_2, x_3); -lean_dec(x_2); -lean_dec(x_1); -x_5 = lean_box(x_4); -return x_5; -} -} -lean_object* l_PersistentArray_anyM___at_Lean_MetavarContext_mkLambda___spec__56___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; lean_object* x_4; -x_3 = l_PersistentArray_anyM___at_Lean_MetavarContext_mkLambda___spec__56(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -x_4 = lean_box(x_3); -return x_4; -} -} -lean_object* l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__55___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = l_Lean_AbstractMetavarContext_DependsOn_dep___main___at_Lean_MetavarContext_mkLambda___spec__55(x_1, x_2, x_3, x_4); -lean_dec(x_1); -return x_5; -} -} -lean_object* l_Lean_LocalContext_foldlFromM___at_Lean_MetavarContext_mkLambda___spec__61___boxed(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_LocalContext_foldlFromM___at_Lean_MetavarContext_mkLambda___spec__61(x_1, x_2, x_3, x_4, x_5, x_6); -lean_dec(x_6); -lean_dec(x_4); -return x_7; -} -} -lean_object* l_panicWithPos___at_Lean_MetavarContext_mkLambda___spec__63___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; -x_6 = l_panicWithPos___at_Lean_MetavarContext_mkLambda___spec__63(x_1, x_2, x_3, x_4, x_5); -lean_dec(x_4); -lean_dec(x_1); -return x_6; -} -} -lean_object* l_Nat_foldRevMAux___main___at_Lean_MetavarContext_mkLambda___spec__64___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_Nat_foldRevMAux___main___at_Lean_MetavarContext_mkBinding___spec__2___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { uint8_t x_7; lean_object* x_8; x_7 = lean_unbox(x_4); lean_dec(x_4); -x_8 = l_Nat_foldRevMAux___main___at_Lean_MetavarContext_mkLambda___spec__64___lambda__1(x_1, x_2, x_3, x_7, x_5, x_6); +x_8 = l_Nat_foldRevMAux___main___at_Lean_MetavarContext_mkBinding___spec__2___lambda__1(x_1, x_2, x_3, x_7, x_5, x_6); lean_dec(x_2); lean_dec(x_1); return x_8; } } -lean_object* l_Nat_foldRevMAux___main___at_Lean_MetavarContext_mkLambda___spec__64___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +lean_object* l_Nat_foldRevMAux___main___at_Lean_MetavarContext_mkBinding___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { uint8_t x_8; lean_object* x_9; x_8 = lean_unbox(x_1); lean_dec(x_1); -x_9 = l_Nat_foldRevMAux___main___at_Lean_MetavarContext_mkLambda___spec__64(x_8, x_2, x_3, x_4, x_5, x_6, x_7); +x_9 = l_Nat_foldRevMAux___main___at_Lean_MetavarContext_mkBinding___spec__2(x_8, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_5); return x_9; } } -lean_object* l_Lean_AbstractMetavarContext_MkBinding_mkBinding___at_Lean_MetavarContext_mkLambda___spec__62___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_Lean_MetavarContext_MkBinding_mkBinding___at_Lean_MetavarContext_mkBinding___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { uint8_t x_6; lean_object* x_7; x_6 = lean_unbox(x_1); lean_dec(x_1); -x_7 = l_Lean_AbstractMetavarContext_MkBinding_mkBinding___at_Lean_MetavarContext_mkLambda___spec__62(x_6, x_2, x_3, x_4, x_5); +x_7 = l_Lean_MetavarContext_MkBinding_mkBinding___at_Lean_MetavarContext_mkBinding___spec__1(x_6, x_2, x_3, x_4, x_5); return x_7; } } -lean_object* l_Array_umapMAux___main___at_Lean_MetavarContext_mkLambda___spec__65___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_umapMAux___main___at_Lean_MetavarContext_mkLambda___spec__65(x_1, x_2, x_3, x_4); -lean_dec(x_1); -return x_5; -} -} -lean_object* l___private_Init_Lean_Expr_4__withAppRevAux___main___at_Lean_MetavarContext_mkLambda___spec__66___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = l___private_Init_Lean_Expr_4__withAppRevAux___main___at_Lean_MetavarContext_mkLambda___spec__66(x_1, x_2, x_3, x_4); -lean_dec(x_1); -return x_5; -} -} -lean_object* l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___at_Lean_MetavarContext_mkLambda___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDepsAux___main___at_Lean_MetavarContext_mkLambda___spec__3(x_1, x_2, x_3); -lean_dec(x_1); -return x_4; -} -} -lean_object* l_Lean_AbstractMetavarContext_MkBinding_elimMVarDeps___at_Lean_MetavarContext_mkLambda___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l_Lean_AbstractMetavarContext_MkBinding_elimMVarDeps___at_Lean_MetavarContext_mkLambda___spec__2(x_1, x_2, x_3); -lean_dec(x_1); -return x_4; -} -} -lean_object* l_Nat_foldRevMAux___main___at_Lean_MetavarContext_mkLambda___spec__68___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -uint8_t x_7; lean_object* x_8; -x_7 = lean_unbox(x_4); -lean_dec(x_4); -x_8 = l_Nat_foldRevMAux___main___at_Lean_MetavarContext_mkLambda___spec__68___lambda__1(x_1, x_2, x_3, x_7, x_5, x_6); -lean_dec(x_2); -lean_dec(x_1); -return x_8; -} -} -lean_object* l_Nat_foldRevMAux___main___at_Lean_MetavarContext_mkLambda___spec__68___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_1); -lean_dec(x_1); -x_9 = l_Nat_foldRevMAux___main___at_Lean_MetavarContext_mkLambda___spec__68(x_8, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_5); -return x_9; -} -} -lean_object* l_Lean_AbstractMetavarContext_MkBinding_mkBinding___at_Lean_MetavarContext_mkLambda___spec__67___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -uint8_t x_6; lean_object* x_7; -x_6 = lean_unbox(x_1); -lean_dec(x_1); -x_7 = l_Lean_AbstractMetavarContext_MkBinding_mkBinding___at_Lean_MetavarContext_mkLambda___spec__67(x_6, x_2, x_3, x_4, x_5); -return x_7; -} -} -lean_object* l_Lean_AbstractMetavarContext_mkBinding___at_Lean_MetavarContext_mkLambda___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_Lean_MetavarContext_mkBinding___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { uint8_t x_7; lean_object* x_8; x_7 = lean_unbox(x_1); lean_dec(x_1); -x_8 = l_Lean_AbstractMetavarContext_mkBinding___at_Lean_MetavarContext_mkLambda___spec__1(x_7, x_2, x_3, x_4, x_5, x_6); +x_8 = l_Lean_MetavarContext_mkBinding(x_7, x_2, x_3, x_4, x_5, x_6); return x_8; } } +lean_object* l_Lean_MetavarContext_mkLambda(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +uint8_t x_6; lean_object* x_7; +x_6 = 1; +x_7 = l_Lean_MetavarContext_mkBinding(x_6, x_1, x_2, x_3, x_4, x_5); +return x_7; +} +} lean_object* l_Lean_MetavarContext_mkForall(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { uint8_t x_6; lean_object* x_7; x_6 = 0; -x_7 = l_Lean_AbstractMetavarContext_mkBinding___at_Lean_MetavarContext_mkLambda___spec__1(x_6, x_1, x_2, x_3, x_4, x_5); +x_7 = l_Lean_MetavarContext_mkBinding(x_6, x_1, x_2, x_3, x_4, x_5); return x_7; } } -lean_object* initialize_Init_Lean_AbstractMetavarContext(lean_object*); +lean_object* initialize_Init_Control_Reader(lean_object*); +lean_object* initialize_Init_Control_Conditional(lean_object*); +lean_object* initialize_Init_Data_Option_Default(lean_object*); +lean_object* initialize_Init_Data_List_Default(lean_object*); +lean_object* initialize_Init_Data_Nat_Default(lean_object*); +lean_object* initialize_Init_Lean_LocalContext(lean_object*); +lean_object* initialize_Init_Lean_MonadCache(lean_object*); +lean_object* initialize_Init_Lean_NameGenerator(lean_object*); static bool _G_initialized = false; lean_object* initialize_Init_Lean_MetavarContext(lean_object* w) { lean_object * res; if (_G_initialized) return lean_mk_io_result(lean_box(0)); _G_initialized = true; -res = initialize_Init_Lean_AbstractMetavarContext(lean_io_mk_world()); +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_Control_Conditional(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Init_Data_Option_Default(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Init_Data_List_Default(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Init_Data_Nat_Default(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Init_Lean_LocalContext(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Init_Lean_MonadCache(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); +l_Lean_MetavarDecl_Inhabited___closed__1 = _init_l_Lean_MetavarDecl_Inhabited___closed__1(); +lean_mark_persistent(l_Lean_MetavarDecl_Inhabited___closed__1); +l_Lean_MetavarDecl_Inhabited = _init_l_Lean_MetavarDecl_Inhabited(); +lean_mark_persistent(l_Lean_MetavarDecl_Inhabited); l_Lean_MetavarContext_Inhabited___closed__1 = _init_l_Lean_MetavarContext_Inhabited___closed__1(); lean_mark_persistent(l_Lean_MetavarContext_Inhabited___closed__1); l_Lean_MetavarContext_Inhabited = _init_l_Lean_MetavarContext_Inhabited(); @@ -34110,30 +42906,46 @@ l_Lean_MetavarContext_getDecl___closed__1 = _init_l_Lean_MetavarContext_getDecl_ lean_mark_persistent(l_Lean_MetavarContext_getDecl___closed__1); l_Lean_MetavarContext_getDecl___closed__2 = _init_l_Lean_MetavarContext_getDecl___closed__2(); lean_mark_persistent(l_Lean_MetavarContext_getDecl___closed__2); -l_Lean_MetavarContext_metavarContextIsAbstractMetavarContext___closed__1 = _init_l_Lean_MetavarContext_metavarContextIsAbstractMetavarContext___closed__1(); -lean_mark_persistent(l_Lean_MetavarContext_metavarContextIsAbstractMetavarContext___closed__1); -l_Lean_MetavarContext_metavarContextIsAbstractMetavarContext___closed__2 = _init_l_Lean_MetavarContext_metavarContextIsAbstractMetavarContext___closed__2(); -lean_mark_persistent(l_Lean_MetavarContext_metavarContextIsAbstractMetavarContext___closed__2); -l_Lean_MetavarContext_metavarContextIsAbstractMetavarContext___closed__3 = _init_l_Lean_MetavarContext_metavarContextIsAbstractMetavarContext___closed__3(); -lean_mark_persistent(l_Lean_MetavarContext_metavarContextIsAbstractMetavarContext___closed__3); -l_Lean_MetavarContext_metavarContextIsAbstractMetavarContext___closed__4 = _init_l_Lean_MetavarContext_metavarContextIsAbstractMetavarContext___closed__4(); -lean_mark_persistent(l_Lean_MetavarContext_metavarContextIsAbstractMetavarContext___closed__4); -l_Lean_MetavarContext_metavarContextIsAbstractMetavarContext___closed__5 = _init_l_Lean_MetavarContext_metavarContextIsAbstractMetavarContext___closed__5(); -lean_mark_persistent(l_Lean_MetavarContext_metavarContextIsAbstractMetavarContext___closed__5); -l_Lean_MetavarContext_metavarContextIsAbstractMetavarContext___closed__6 = _init_l_Lean_MetavarContext_metavarContextIsAbstractMetavarContext___closed__6(); -lean_mark_persistent(l_Lean_MetavarContext_metavarContextIsAbstractMetavarContext___closed__6); -l_Lean_MetavarContext_metavarContextIsAbstractMetavarContext___closed__7 = _init_l_Lean_MetavarContext_metavarContextIsAbstractMetavarContext___closed__7(); -lean_mark_persistent(l_Lean_MetavarContext_metavarContextIsAbstractMetavarContext___closed__7); -l_Lean_MetavarContext_metavarContextIsAbstractMetavarContext___closed__8 = _init_l_Lean_MetavarContext_metavarContextIsAbstractMetavarContext___closed__8(); -lean_mark_persistent(l_Lean_MetavarContext_metavarContextIsAbstractMetavarContext___closed__8); -l_Lean_MetavarContext_metavarContextIsAbstractMetavarContext___closed__9 = _init_l_Lean_MetavarContext_metavarContextIsAbstractMetavarContext___closed__9(); -lean_mark_persistent(l_Lean_MetavarContext_metavarContextIsAbstractMetavarContext___closed__9); -l_Lean_MetavarContext_metavarContextIsAbstractMetavarContext___closed__10 = _init_l_Lean_MetavarContext_metavarContextIsAbstractMetavarContext___closed__10(); -lean_mark_persistent(l_Lean_MetavarContext_metavarContextIsAbstractMetavarContext___closed__10); -l_Lean_MetavarContext_metavarContextIsAbstractMetavarContext___closed__11 = _init_l_Lean_MetavarContext_metavarContextIsAbstractMetavarContext___closed__11(); -lean_mark_persistent(l_Lean_MetavarContext_metavarContextIsAbstractMetavarContext___closed__11); -l_Lean_MetavarContext_metavarContextIsAbstractMetavarContext = _init_l_Lean_MetavarContext_metavarContextIsAbstractMetavarContext(); -lean_mark_persistent(l_Lean_MetavarContext_metavarContextIsAbstractMetavarContext); +l_Lean_MetavarContext_isLevelAssignable___closed__1 = _init_l_Lean_MetavarContext_isLevelAssignable___closed__1(); +lean_mark_persistent(l_Lean_MetavarContext_isLevelAssignable___closed__1); +l_panicWithPos___at___private_Init_Lean_MetavarContext_7__instantiateDelayedAux___main___spec__1___closed__1 = _init_l_panicWithPos___at___private_Init_Lean_MetavarContext_7__instantiateDelayedAux___main___spec__1___closed__1(); +lean_mark_persistent(l_panicWithPos___at___private_Init_Lean_MetavarContext_7__instantiateDelayedAux___main___spec__1___closed__1); +l_panicWithPos___at___private_Init_Lean_MetavarContext_7__instantiateDelayedAux___main___spec__1___closed__2 = _init_l_panicWithPos___at___private_Init_Lean_MetavarContext_7__instantiateDelayedAux___main___spec__1___closed__2(); +lean_mark_persistent(l_panicWithPos___at___private_Init_Lean_MetavarContext_7__instantiateDelayedAux___main___spec__1___closed__2); +l_Lean_MetavarContext_instantiateMVars___closed__1 = _init_l_Lean_MetavarContext_instantiateMVars___closed__1(); +lean_mark_persistent(l_Lean_MetavarContext_instantiateMVars___closed__1); +l_Lean_MetavarContext_exprDependsOn___closed__1 = _init_l_Lean_MetavarContext_exprDependsOn___closed__1(); +lean_mark_persistent(l_Lean_MetavarContext_exprDependsOn___closed__1); +l_Lean_MetavarContext_MkBindingException_toStr___closed__1 = _init_l_Lean_MetavarContext_MkBindingException_toStr___closed__1(); +lean_mark_persistent(l_Lean_MetavarContext_MkBindingException_toStr___closed__1); +l_Lean_MetavarContext_MkBindingException_toStr___closed__2 = _init_l_Lean_MetavarContext_MkBindingException_toStr___closed__2(); +lean_mark_persistent(l_Lean_MetavarContext_MkBindingException_toStr___closed__2); +l_Lean_MetavarContext_MkBindingException_toStr___closed__3 = _init_l_Lean_MetavarContext_MkBindingException_toStr___closed__3(); +lean_mark_persistent(l_Lean_MetavarContext_MkBindingException_toStr___closed__3); +l_Lean_MetavarContext_MkBindingException_toStr___closed__4 = _init_l_Lean_MetavarContext_MkBindingException_toStr___closed__4(); +lean_mark_persistent(l_Lean_MetavarContext_MkBindingException_toStr___closed__4); +l_Lean_MetavarContext_MkBindingException_toStr___closed__5 = _init_l_Lean_MetavarContext_MkBindingException_toStr___closed__5(); +lean_mark_persistent(l_Lean_MetavarContext_MkBindingException_toStr___closed__5); +l_Lean_MetavarContext_MkBindingException_toStr___closed__6 = _init_l_Lean_MetavarContext_MkBindingException_toStr___closed__6(); +lean_mark_persistent(l_Lean_MetavarContext_MkBindingException_toStr___closed__6); +l_Lean_MetavarContext_MkBindingException_toStr___closed__7 = _init_l_Lean_MetavarContext_MkBindingException_toStr___closed__7(); +lean_mark_persistent(l_Lean_MetavarContext_MkBindingException_toStr___closed__7); +l_Lean_MetavarContext_MkBindingException_HasToString___closed__1 = _init_l_Lean_MetavarContext_MkBindingException_HasToString___closed__1(); +lean_mark_persistent(l_Lean_MetavarContext_MkBindingException_HasToString___closed__1); +l_Lean_MetavarContext_MkBindingException_HasToString = _init_l_Lean_MetavarContext_MkBindingException_HasToString(); +lean_mark_persistent(l_Lean_MetavarContext_MkBindingException_HasToString); +l_Lean_MetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___closed__1 = _init_l_Lean_MetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___closed__1(); +lean_mark_persistent(l_Lean_MetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___closed__1); +l_Lean_MetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___closed__2 = _init_l_Lean_MetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___closed__2(); +lean_mark_persistent(l_Lean_MetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___closed__2); +l_Lean_MetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___closed__3 = _init_l_Lean_MetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___closed__3(); +lean_mark_persistent(l_Lean_MetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___closed__3); +l_Lean_MetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___closed__4 = _init_l_Lean_MetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___closed__4(); +lean_mark_persistent(l_Lean_MetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___closed__4); +l_Lean_MetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter = _init_l_Lean_MetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter(); +lean_mark_persistent(l_Lean_MetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter); +l_panicWithPos___at_Lean_MetavarContext_MkBinding_mkBinding___spec__1___closed__1 = _init_l_panicWithPos___at_Lean_MetavarContext_MkBinding_mkBinding___spec__1___closed__1(); +lean_mark_persistent(l_panicWithPos___at_Lean_MetavarContext_MkBinding_mkBinding___spec__1___closed__1); return lean_mk_io_result(lean_box(0)); } #ifdef __cplusplus diff --git a/src/stage0/Init/Lean/Modifiers.c b/src/stage0/Init/Lean/Modifiers.c index c2aac52e00..b3306004a6 100644 --- a/src/stage0/Init/Lean/Modifiers.c +++ b/src/stage0/Init/Lean/Modifiers.c @@ -65,11 +65,11 @@ lean_object* l_Lean_privateExt___elambda__1(lean_object*); uint8_t lean_is_protected(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); lean_object* l_Lean_isPrivateName___boxed(lean_object*); -lean_object* l_EState_pure___rarg(lean_object*, lean_object*); lean_object* lean_mk_private_prefix(lean_object*); lean_object* l_Lean_privateHeader___closed__2; lean_object* l_Lean_mkPrivateExtension(lean_object*); lean_object* l_Lean_mkTagDeclarationExtension(lean_object*, lean_object*); +lean_object* l_EStateM_pure___rarg(lean_object*, lean_object*); lean_object* l_Lean_mkProtectedExtension(lean_object*); lean_object* l_Lean_registerEnvExtensionUnsafe___at_Lean_mkPrivateExtension___spec__1(lean_object*, lean_object*); lean_object* l_Lean_protectedExt___elambda__4(lean_object*); @@ -508,7 +508,7 @@ _start: { lean_object* x_1; lean_object* x_2; x_1 = lean_unsigned_to_nat(1u); -x_2 = lean_alloc_closure((void*)(l_EState_pure___rarg), 2, 1); +x_2 = lean_alloc_closure((void*)(l_EStateM_pure___rarg), 2, 1); lean_closure_set(x_2, 0, x_1); return x_2; } diff --git a/src/stage0/Init/Lean/Parser/Module.c b/src/stage0/Init/Lean/Parser/Module.c index 4965daa13c..149a9dfd6d 100644 --- a/src/stage0/Init/Lean/Parser/Module.c +++ b/src/stage0/Init/Lean/Parser/Module.c @@ -114,7 +114,6 @@ uint8_t l_Lean_Parser_isEOI(lean_object*); lean_object* l_Lean_Parser_optionaInfo(lean_object*); lean_object* l_Lean_Parser_testModuleParser___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Module_import___elambda__1___closed__2; -lean_object* l_EState_bind___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Module_header___closed__3; lean_object* l_Lean_Parser_Module_header___closed__5; extern lean_object* l_Lean_Parser_Trie_HasEmptyc___closed__1; @@ -137,17 +136,18 @@ lean_object* l_Lean_Parser_nodeInfo(lean_object*, lean_object*); lean_object* l_Lean_Message_toString(lean_object*); lean_object* l_Lean_Parser_ModuleParserState_inhabited; lean_object* lean_array_get_size(lean_object*); -lean_object* l_EState_pure___rarg(lean_object*, lean_object*); lean_object* l_List_forM___main___at___private_Init_Lean_Parser_Module_4__testModuleParserAux___main___spec__5(lean_object*, lean_object*); lean_object* l_Lean_Parser_Module_import___elambda__1___closed__5; lean_object* l_Lean_Parser_Module_prelude___elambda__1___rarg___closed__6; lean_object* l_Lean_Parser_manyAux___main___at_Lean_Parser_Module_header___elambda__1___spec__1___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_Parser_parseCommand(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Module_import___closed__1; lean_object* l_Lean_Parser_Module_prelude; lean_object* l_Lean_Parser_Module_prelude___elambda__1___rarg___closed__1; lean_object* l_Lean_Parser_Module_import___elambda__1___closed__1; lean_object* l___private_Init_Lean_Parser_Module_2__mkEOI___closed__2; +lean_object* l_EStateM_pure___rarg(lean_object*, lean_object*); lean_object* l_Lean_Parser_Module_import___elambda__1___closed__7; lean_object* l_Array_back___at___private_Init_Lean_Parser_Parser_6__updateCache___spec__1(lean_object*); lean_object* l_Lean_FileMap_toPosition(lean_object*, lean_object*); @@ -2201,7 +2201,7 @@ _start: { lean_object* x_1; lean_object* x_2; x_1 = lean_box(0); -x_2 = lean_alloc_closure((void*)(l_EState_pure___rarg), 2, 1); +x_2 = lean_alloc_closure((void*)(l_EStateM_pure___rarg), 2, 1); lean_closure_set(x_2, 0, x_1); return x_2; } @@ -2239,7 +2239,7 @@ if (x_4 == 0) lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_dec(x_11); x_16 = l_Lean_Parser_testModuleParser___closed__2; -x_17 = lean_alloc_closure((void*)(l_EState_bind___rarg), 3, 2); +x_17 = lean_alloc_closure((void*)(l_EStateM_bind___rarg), 3, 2); lean_closure_set(x_17, 0, x_16); lean_closure_set(x_17, 1, x_15); x_18 = lean_io_timeit(x_7, x_17, x_5); @@ -2251,7 +2251,7 @@ else lean_object* x_19; lean_object* x_20; lean_object* x_21; x_19 = lean_alloc_closure((void*)(l_IO_println___at___private_Init_Lean_Parser_Module_4__testModuleParserAux___main___spec__1), 2, 1); lean_closure_set(x_19, 0, x_11); -x_20 = lean_alloc_closure((void*)(l_EState_bind___rarg), 3, 2); +x_20 = lean_alloc_closure((void*)(l_EStateM_bind___rarg), 3, 2); lean_closure_set(x_20, 0, x_19); lean_closure_set(x_20, 1, x_15); x_21 = lean_io_timeit(x_7, x_20, x_5); diff --git a/src/stage0/Init/Lean/Parser/Parser.c b/src/stage0/Init/Lean/Parser/Parser.c index ea9adcb480..3b1825e686 100644 --- a/src/stage0/Init/Lean/Parser/Parser.c +++ b/src/stage0/Init/Lean/Parser/Parser.c @@ -587,7 +587,6 @@ lean_object* l_Lean_Parser_ParserState_keepNewError(lean_object*, lean_object*); lean_object* l_Lean_Parser_identFnAux___main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_initCacheForInput___boxed(lean_object*); lean_object* l_Lean_Parser_chFn___rarg(uint32_t, uint8_t, lean_object*, lean_object*, lean_object*); -lean_object* l_EState_bind___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_finishCommentBlock___main___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_takeWhileFn___at_Lean_Parser_octalNumberFn___spec__2(lean_object*, lean_object*); lean_object* l_Lean_Parser_FirstTokens_merge(lean_object*, lean_object*); @@ -737,6 +736,7 @@ lean_object* l_Lean_Parser_unicodeSymbolCheckPrecFnAux___boxed(lean_object*, lea uint8_t l_Lean_Parser_ParserState_hasError(lean_object*); lean_object* l_Lean_Parser_isValidSyntaxNodeKind___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_indexed(lean_object*); +lean_object* l_EStateM_bind___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_registerBuiltinParserAttribute___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); lean_object* l_Lean_Syntax_mfoldArgsAux___main___at_Lean_Syntax_foldArgs___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_chFn___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -24574,7 +24574,7 @@ lean_inc(x_11); x_12 = lean_apply_1(x_10, x_11); x_13 = lean_alloc_closure((void*)(l_Lean_registerPersistentEnvExtensionUnsafe___rarg___lambda__1), 3, 1); lean_closure_set(x_13, 0, x_11); -x_14 = lean_alloc_closure((void*)(l_EState_bind___rarg), 3, 2); +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_Parser_mkTokenTableAttribute___spec__4(x_14, x_7); @@ -24788,7 +24788,7 @@ lean_inc(x_65); x_66 = lean_apply_1(x_64, x_65); x_67 = lean_alloc_closure((void*)(l_Lean_registerPersistentEnvExtensionUnsafe___rarg___lambda__1), 3, 1); lean_closure_set(x_67, 0, x_65); -x_68 = lean_alloc_closure((void*)(l_EState_bind___rarg), 3, 2); +x_68 = lean_alloc_closure((void*)(l_EStateM_bind___rarg), 3, 2); lean_closure_set(x_68, 0, x_66); lean_closure_set(x_68, 1, x_67); x_69 = l_Lean_registerEnvExtensionUnsafe___at_Lean_Parser_mkTokenTableAttribute___spec__4(x_68, x_61); @@ -27637,7 +27637,7 @@ x_11 = l_Array_empty___closed__1; lean_inc(x_10); x_12 = lean_apply_1(x_10, x_11); x_13 = l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__1; -x_14 = lean_alloc_closure((void*)(l_EState_bind___rarg), 3, 2); +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_Parser_registerParserAttribute___spec__3(x_14, x_7); @@ -27846,7 +27846,7 @@ x_64 = l_Array_empty___closed__1; lean_inc(x_63); x_65 = lean_apply_1(x_63, x_64); x_66 = l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__1; -x_67 = lean_alloc_closure((void*)(l_EState_bind___rarg), 3, 2); +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_Parser_registerParserAttribute___spec__3(x_67, x_60); diff --git a/src/stage0/Init/Lean/ProjFns.c b/src/stage0/Init/Lean/ProjFns.c index a30ff60d03..82d1522e0d 100644 --- a/src/stage0/Init/Lean/ProjFns.c +++ b/src/stage0/Init/Lean/ProjFns.c @@ -27,12 +27,14 @@ extern lean_object* l_Lean_registerEnvExtensionUnsafe___rarg___closed__2; lean_object* lean_array_get(lean_object*, 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_reduceProjectionFnAux___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkProjectionFnInfoExtension___closed__4; lean_object* l___private_Init_Lean_Expr_1__mkAppRangeAux___main(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_anyMAux___main___at_Lean_mkProjectionFnInfoExtension___spec__5___boxed(lean_object*, lean_object*, lean_object*); extern lean_object* l___private_Init_Lean_Environment_5__envExtensionsRef; lean_object* l_Lean_projectionFnInfoExt___elambda__1___boxed(lean_object*); lean_object* l_Array_binSearchAux___main___at_Lean_Environment_getProjectionFnInfo___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_reduceProjectionFnAux___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_toArrayAux___main___rarg(lean_object*, lean_object*); lean_object* l_Lean_Expr_getAppFn___main(lean_object*); extern lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__4; @@ -42,21 +44,20 @@ lean_object* l_Lean_SimplePersistentEnvExtension_getState___rarg(lean_object*, l extern lean_object* l_Lean_Inhabited; lean_object* l_Lean_mkProjectionFnInfoExtension___closed__2; lean_object* l_List_redLength___main___rarg(lean_object*); -lean_object* l_Lean_Environment_reduceProjectionFnAux___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_io_ref_set(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_projectionFnInfoExt___closed__3; -lean_object* l_Lean_Environment_reduceProjectionFnAux___boxed(lean_object*, lean_object*); lean_object* l_Lean_Expr_getRevArg_x21___main(lean_object*, lean_object*); lean_object* l_Lean_Expr_getAppNumArgsAux___main(lean_object*, lean_object*); lean_object* l_Lean_projectionFnInfoExt___closed__2; lean_object* l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__2(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__3(lean_object*, lean_object*); lean_object* lean_io_initializing(lean_object*); +lean_object* l_Lean_reduceProjectionFnAux(lean_object*, lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* l_Lean_projectionFnInfoExt___elambda__3___boxed(lean_object*, lean_object*); +lean_object* l_Lean_reduceProjectionFn___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_projectionFnInfoExt___elambda__4(lean_object*); -lean_object* l_Lean_Environment_reduceProjectionFn___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Environment_reduceProjectionFnAux___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_reduceProjectionFn___boxed(lean_object*, lean_object*); extern lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__3; lean_object* l_Lean_projectionFnInfoExt___elambda__4___rarg(lean_object*); lean_object* l___private_Init_Data_Array_QSort_1__partitionAux___main___at_Lean_mkProjectionFnInfoExtension___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -83,17 +84,13 @@ uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* l_Lean_projectionFnInfoExt___elambda__4___boxed(lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); lean_object* l_Lean_mkProjectionFnInfoExtension___lambda__1(lean_object*, lean_object*); -lean_object* l_Lean_Environment_reduceProjectionFn(lean_object*, lean_object*); lean_object* l_Array_binSearchAux___main___at_Lean_Environment_getProjectionFnInfo___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_registerSimplePersistentEnvExtension___rarg___closed__1; lean_object* l_Lean_addProjectionFnInfo___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_EState_bind___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Array_binSearchAux___main___at_Lean_Environment_isProjectionFn___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_projectionFnInfoExt___closed__5; lean_object* lean_array_swap(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Environment_reduceProjectionFnAux(lean_object*, lean_object*); lean_object* lean_add_projection_info(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); -lean_object* l_Lean_Environment_reduceProjectionFn___boxed(lean_object*, lean_object*); lean_object* l_Lean_PersistentEnvExtension_addEntry___rarg(lean_object*, lean_object*, lean_object*); lean_object* lean_io_ref_get(lean_object*, lean_object*); uint8_t l_Lean_Name_quickLt(lean_object*, lean_object*); @@ -101,10 +98,13 @@ lean_object* l_Lean_registerSimplePersistentEnvExtension___at_Lean_mkProjectionF lean_object* lean_environment_find(lean_object*, lean_object*); lean_object* lean_get_projection_info(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); +lean_object* l_Lean_reduceProjectionFnAux___boxed(lean_object*, lean_object*); uint8_t l_Array_anyMAux___main___at_Lean_mkProjectionFnInfoExtension___spec__5(lean_object*, lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); lean_object* l___private_Init_Data_Array_QSort_1__partitionAux___main___at_Lean_mkProjectionFnInfoExtension___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_reduceProjectionFnAux___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkProjectionFnInfoExtension(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 lean_nat_dec_le(lean_object*, lean_object*); @@ -112,7 +112,6 @@ lean_object* lean_nat_div(lean_object*, lean_object*); extern lean_object* l_Lean_mkTagDeclarationExtension___closed__2; lean_object* l_Lean_projectionFnInfoExt; lean_object* l_Lean_Environment_isProjectionFn___boxed(lean_object*, lean_object*); -lean_object* l_Lean_Environment_reduceProjectionFnAux___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_registerEnvExtensionUnsafe___at_Lean_mkProjectionFnInfoExtension___spec__6(lean_object*, lean_object*); lean_object* l_Lean_projectionFnInfoExt___closed__4; extern lean_object* l_Lean_registerEnvExtensionUnsafe___at_Lean_mkTagDeclarationExtension___spec__6___closed__2; @@ -125,6 +124,7 @@ lean_object* lean_io_ref_reset(lean_object*, lean_object*); extern lean_object* l_Lean_exprIsInhabited___closed__1; lean_object* l_RBNode_find___main___at_Lean_Environment_getProjectionFnInfo___spec__1(lean_object*, lean_object*); lean_object* l_Lean_projectionFnInfoExt___elambda__1(lean_object*); +lean_object* l_Lean_reduceProjectionFn(lean_object*, lean_object*); extern lean_object* l_String_splitAux___main___closed__1; lean_object* _init_l_Lean_ProjectionFunctionInfo_inhabited___closed__1() { _start: @@ -672,7 +672,7 @@ x_11 = l_Array_empty___closed__1; lean_inc(x_10); x_12 = lean_apply_1(x_10, x_11); x_13 = l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__1; -x_14 = lean_alloc_closure((void*)(l_EState_bind___rarg), 3, 2); +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_mkProjectionFnInfoExtension___spec__6(x_14, x_7); @@ -881,7 +881,7 @@ x_64 = l_Array_empty___closed__1; lean_inc(x_63); x_65 = lean_apply_1(x_63, x_64); x_66 = l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__1; -x_67 = lean_alloc_closure((void*)(l_EState_bind___rarg), 3, 2); +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_mkProjectionFnInfoExtension___spec__6(x_67, x_60); @@ -1765,7 +1765,7 @@ x_4 = lean_box(x_3); return x_4; } } -lean_object* l_Lean_Environment_reduceProjectionFnAux___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +lean_object* l_Lean_reduceProjectionFnAux___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; @@ -1834,7 +1834,7 @@ return x_29; } } } -lean_object* l_Lean_Environment_reduceProjectionFnAux___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* l_Lean_reduceProjectionFnAux___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; lean_object* x_9; uint8_t x_10; @@ -1865,7 +1865,7 @@ x_14 = lean_ctor_get(x_1, 1); lean_inc(x_14); lean_dec(x_1); x_15 = lean_apply_1(x_2, x_13); -x_16 = lean_alloc_closure((void*)(l_Lean_Environment_reduceProjectionFnAux___rarg___lambda__1___boxed), 8, 7); +x_16 = lean_alloc_closure((void*)(l_Lean_reduceProjectionFnAux___rarg___lambda__1___boxed), 8, 7); lean_closure_set(x_16, 0, x_6); lean_closure_set(x_16, 1, x_3); lean_closure_set(x_16, 2, x_4); @@ -1878,19 +1878,19 @@ return x_17; } } } -lean_object* l_Lean_Environment_reduceProjectionFnAux(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_reduceProjectionFnAux(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Lean_Environment_reduceProjectionFnAux___rarg), 7, 0); +x_3 = lean_alloc_closure((void*)(l_Lean_reduceProjectionFnAux___rarg), 7, 0); return x_3; } } -lean_object* l_Lean_Environment_reduceProjectionFnAux___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +lean_object* l_Lean_reduceProjectionFnAux___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; -x_9 = l_Lean_Environment_reduceProjectionFnAux___rarg___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_9 = l_Lean_reduceProjectionFnAux___rarg___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_8); lean_dec(x_6); lean_dec(x_5); @@ -1899,16 +1899,16 @@ lean_dec(x_3); return x_9; } } -lean_object* l_Lean_Environment_reduceProjectionFnAux___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_reduceProjectionFnAux___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Lean_Environment_reduceProjectionFnAux(x_1, x_2); +x_3 = l_Lean_reduceProjectionFnAux(x_1, x_2); lean_dec(x_2); return x_3; } } -lean_object* l_Lean_Environment_reduceProjectionFn___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* l_Lean_reduceProjectionFn___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; @@ -1970,7 +1970,7 @@ x_22 = lean_unsigned_to_nat(1u); x_23 = lean_nat_sub(x_19, x_22); lean_dec(x_19); x_24 = l___private_Init_Lean_Expr_2__getAppArgsAux___main(x_4, x_21, x_23); -x_25 = l_Lean_Environment_reduceProjectionFnAux___rarg(x_1, x_2, x_3, x_17, x_24, x_5, x_6); +x_25 = l_Lean_reduceProjectionFnAux___rarg(x_1, x_2, x_3, x_17, x_24, x_5, x_6); return x_25; } } @@ -1990,19 +1990,19 @@ return x_27; } } } -lean_object* l_Lean_Environment_reduceProjectionFn(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_reduceProjectionFn(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Lean_Environment_reduceProjectionFn___rarg), 6, 0); +x_3 = lean_alloc_closure((void*)(l_Lean_reduceProjectionFn___rarg), 6, 0); return x_3; } } -lean_object* l_Lean_Environment_reduceProjectionFn___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_reduceProjectionFn___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Lean_Environment_reduceProjectionFn(x_1, x_2); +x_3 = l_Lean_reduceProjectionFn(x_1, x_2); lean_dec(x_2); return x_3; } diff --git a/src/stage0/Init/Lean/ReducibilityAttrs.c b/src/stage0/Init/Lean/ReducibilityAttrs.c index fc0bfebd2b..53418f0afe 100644 --- a/src/stage0/Init/Lean/ReducibilityAttrs.c +++ b/src/stage0/Init/Lean/ReducibilityAttrs.c @@ -86,7 +86,6 @@ lean_object* l_Lean_getReducibilityStatus___boxed(lean_object*, lean_object*); lean_object* l_Lean_registerEnumAttributes___at_Lean_mkReducibilityAttrs___spec__1___closed__1; uint8_t l_Lean_ReducibilityStatus_inhabited; lean_object* l_Lean_registerEnumAttributes___at_Lean_mkReducibilityAttrs___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_EState_bind___rarg(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_registerEnvExtensionUnsafe___at_Lean_registerTagAttribute___spec__4___closed__1; lean_object* lean_array_swap(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkReducibilityAttrs___closed__18; @@ -99,6 +98,7 @@ lean_object* lean_array_get_size(lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); lean_object* l_Lean_mkReducibilityAttrs___closed__9; extern lean_object* l_Lean_registerTagAttribute___lambda__4___closed__5; +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; lean_object* l_Lean_mkReducibilityAttrs___closed__5; @@ -678,7 +678,7 @@ x_11 = l_Array_empty___closed__1; lean_inc(x_10); x_12 = lean_apply_1(x_10, x_11); x_13 = l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__1; -x_14 = lean_alloc_closure((void*)(l_EState_bind___rarg), 3, 2); +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_mkReducibilityAttrs___spec__7(x_14, x_7); @@ -887,7 +887,7 @@ x_64 = l_Array_empty___closed__1; lean_inc(x_63); x_65 = lean_apply_1(x_63, x_64); x_66 = l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__1; -x_67 = lean_alloc_closure((void*)(l_EState_bind___rarg), 3, 2); +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_mkReducibilityAttrs___spec__7(x_67, x_60); diff --git a/src/stage0/Init/Lean/Scopes.c b/src/stage0/Init/Lean/Scopes.c index b593fb5af0..45bb39cf29 100644 --- a/src/stage0/Init/Lean/Scopes.c +++ b/src/stage0/Init/Lean/Scopes.c @@ -83,7 +83,6 @@ lean_object* l_Lean_regScopeManagerExtension___closed__3; lean_object* l_Lean_scopeManagerExt___elambda__4___boxed(lean_object*); lean_object* l_List_foldl___main___at_Lean_Environment_toValidNamespace___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ScopeManagerState_saveNamespace(lean_object*, lean_object*); -lean_object* l_EState_bind___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_regScopeManagerExtension___closed__1; lean_object* l_Lean_Environment_popScopeCore(lean_object*); lean_object* l_Lean_Environment_getNamespaceSet___boxed(lean_object*); @@ -99,6 +98,7 @@ lean_object* l_Lean_Environment_registerNamespace___main(lean_object*, lean_obje lean_object* l_Array_iterateMAux___main___at_Lean_regScopeManagerExtension___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_regScopeManagerExtension___closed__2; lean_object* l_Array_iterateMAux___main___at_Lean_regScopeManagerExtension___spec__3(lean_object*, lean_object*, 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; lean_object* l_Lean_Environment_pushScopeCore___boxed(lean_object*, lean_object*, lean_object*); @@ -579,7 +579,7 @@ x_11 = l_Array_empty___closed__1; lean_inc(x_10); x_12 = lean_apply_1(x_10, x_11); x_13 = l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__1; -x_14 = lean_alloc_closure((void*)(l_EState_bind___rarg), 3, 2); +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_regScopeManagerExtension___spec__7(x_14, x_7); @@ -788,7 +788,7 @@ x_64 = l_Array_empty___closed__1; lean_inc(x_63); x_65 = lean_apply_1(x_63, x_64); x_66 = l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__1; -x_67 = lean_alloc_closure((void*)(l_EState_bind___rarg), 3, 2); +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_regScopeManagerExtension___spec__7(x_67, x_60); diff --git a/src/stage0/Init/Lean/TmpMetavarContext.c b/src/stage0/Init/Lean/TmpMetavarContext.c deleted file mode 100644 index acda0a2d97..0000000000 --- a/src/stage0/Init/Lean/TmpMetavarContext.c +++ /dev/null @@ -1,886 +0,0 @@ -// Lean compiler output -// Module: Init.Lean.TmpMetavarContext -// Imports: Init.Lean.MetavarContext -#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_Lean_TmpMetavarContext_isAbstractMetavarContext___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); -lean_object* l_Lean_TmpMetavarContext_isAbstractMetavarContext___lambda__3(lean_object*, lean_object*); -uint8_t lean_name_dec_eq(lean_object*, lean_object*); -lean_object* l_Lean_TmpMetavarContext_Inhabited; -extern lean_object* l_Array_empty___closed__1; -lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); -lean_object* lean_mk_array(lean_object*, lean_object*); -extern lean_object* l_Lean_exprIsInhabited; -lean_object* l_panicWithPos___at_Lean_TmpMetavarContext_isAbstractMetavarContext___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_mkTmpMetavarContext(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_mkTmpMVarId___closed__2; -extern lean_object* l_Lean_LocalContext_Inhabited___closed__1; -lean_object* l_Lean_TmpMetavarContext_Inhabited___closed__1; -lean_object* l_Lean_TmpMetavarContext_getDecl___boxed(lean_object*, lean_object*); -lean_object* l_Lean_Name_getTmpMVarIdx___boxed(lean_object*); -lean_object* l_Lean_TmpMetavarContext_isAbstractMetavarContext___closed__8; -uint8_t l_Lean_Level_isTmpMVar(lean_object*); -lean_object* lean_metavar_ctx_get_expr_assignment(lean_object*, lean_object*); -lean_object* l_Lean_TmpMetavarContext_isAbstractMetavarContext___lambda__3___boxed(lean_object*, lean_object*); -lean_object* l_Lean_TmpMetavarContext_isAbstractMetavarContext___lambda__2___closed__1; -lean_object* l_Lean_TmpMetavarContext_getLevelAssignment(lean_object*, lean_object*); -lean_object* l_Lean_TmpMetavarContext_isAbstractMetavarContext; -lean_object* l_Nat_repr(lean_object*); -lean_object* l_Lean_TmpMetavarContext_assignLevel(lean_object*, lean_object*, lean_object*); -extern lean_object* l_panicWithPos___rarg___closed__3; -uint8_t l_Lean_Expr_isTmpMVar(lean_object*); -lean_object* l_Lean_TmpMetavarContext_isAbstractMetavarContext___closed__3; -lean_object* lean_string_append(lean_object*, lean_object*); -uint8_t l_Lean_Name_isTmpMVarId(lean_object*); -lean_object* l_Lean_TmpMetavarContext_isAbstractMetavarContext___closed__6; -lean_object* l_Lean_TmpMetavarContext_isAbstractMetavarContext___closed__2; -lean_object* l_Lean_TmpMetavarContext_isAbstractMetavarContext___closed__7; -lean_object* l_Lean_TmpMetavarContext_isAbstractMetavarContext___lambda__4___boxed(lean_object*, lean_object*); -lean_object* lean_name_mk_string(lean_object*, lean_object*); -lean_object* l_Lean_TmpMetavarContext_isAbstractMetavarContext___closed__5; -lean_object* l_Lean_TmpMetavarContext_isAbstractMetavarContext___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* lean_metavar_ctx_assign_expr(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_TmpMetavarContext_isAbstractMetavarContext___lambda__5___closed__1; -lean_object* l_Lean_TmpMetavarContext_getExprAssignment(lean_object*, lean_object*); -extern lean_object* l_panicWithPos___rarg___closed__1; -lean_object* l_panicWithPos___at_Lean_TmpMetavarContext_isAbstractMetavarContext___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_TmpMetavarContext_getDecl(lean_object*, lean_object*); -lean_object* lean_array_set(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_MetavarContext_getDecl(lean_object*, lean_object*); -lean_object* l_Lean_TmpMetavarContext_isAbstractMetavarContext___lambda__4(lean_object*, lean_object*); -lean_object* lean_metavar_ctx_get_level_assignment(lean_object*, lean_object*); -lean_object* l_Lean_TmpMetavarContext_isAbstractMetavarContext___closed__1; -lean_object* l_Lean_TmpMetavarContext_isAbstractMetavarContext___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Level_isTmpMVar___boxed(lean_object*); -lean_object* l_panic(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_mkTmpMVarId___closed__1; -lean_object* lean_name_mk_numeral(lean_object*, lean_object*); -lean_object* l_Lean_TmpMetavarContext_isAbstractMetavarContext___closed__10; -lean_object* lean_array_get_size(lean_object*); -lean_object* l_Lean_TmpMetavarContext_isAbstractMetavarContext___closed__4; -lean_object* l_Lean_TmpMetavarContext_isAbstractMetavarContext___closed__11; -lean_object* l_Lean_TmpMetavarContext_isAbstractMetavarContext___closed__9; -extern lean_object* l_Lean_MetavarContext_Inhabited___closed__1; -lean_object* l_Lean_Name_getTmpMVarIdx(lean_object*); -extern lean_object* l_panicWithPos___rarg___closed__2; -lean_object* l_Lean_mkTmpMVarId(lean_object*); -lean_object* l_Lean_Name_isTmpMVarId___boxed(lean_object*); -uint8_t l_Lean_TmpMetavarContext_isAbstractMetavarContext___lambda__1(lean_object*, lean_object*); -lean_object* l_Lean_Name_getTmpMVarIdx___closed__1; -lean_object* lean_metavar_ctx_assign_level(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_TmpMetavarContext_assignExpr(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Name_getTmpMVarIdx___closed__2; -lean_object* l_Lean_TmpMetavarContext_isAbstractMetavarContext___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Expr_isTmpMVar___boxed(lean_object*); -lean_object* l_panicWithPos___at_Array_findIdx_x21___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_TmpMetavarContext_isAbstractMetavarContext___lambda__1___boxed(lean_object*, lean_object*); -lean_object* _init_l_Lean_mkTmpMVarId___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("_tmp"); -return x_1; -} -} -lean_object* _init_l_Lean_mkTmpMVarId___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_mkTmpMVarId___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -lean_object* l_Lean_mkTmpMVarId(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_mkTmpMVarId___closed__2; -x_3 = lean_name_mk_numeral(x_2, x_1); -return x_3; -} -} -uint8_t l_Lean_Name_isTmpMVarId(lean_object* x_1) { -_start: -{ -if (lean_obj_tag(x_1) == 2) -{ -lean_object* x_2; lean_object* x_3; uint8_t x_4; -x_2 = lean_ctor_get(x_1, 0); -x_3 = l_Lean_mkTmpMVarId___closed__2; -x_4 = lean_name_dec_eq(x_2, x_3); -if (x_4 == 0) -{ -uint8_t x_5; -x_5 = 0; -return x_5; -} -else -{ -uint8_t x_6; -x_6 = 1; -return x_6; -} -} -else -{ -uint8_t x_7; -x_7 = 0; -return x_7; -} -} -} -lean_object* l_Lean_Name_isTmpMVarId___boxed(lean_object* x_1) { -_start: -{ -uint8_t x_2; lean_object* x_3; -x_2 = l_Lean_Name_isTmpMVarId(x_1); -lean_dec(x_1); -x_3 = lean_box(x_2); -return x_3; -} -} -lean_object* _init_l_Lean_Name_getTmpMVarIdx___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("Init.Lean.TmpMetavarContext"); -return x_1; -} -} -lean_object* _init_l_Lean_Name_getTmpMVarIdx___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("expected a temporary metavariable name"); -return x_1; -} -} -lean_object* l_Lean_Name_getTmpMVarIdx(lean_object* x_1) { -_start: -{ -if (lean_obj_tag(x_1) == 2) -{ -lean_object* x_2; -x_2 = lean_ctor_get(x_1, 1); -lean_inc(x_2); -return x_2; -} -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_Name_getTmpMVarIdx___closed__1; -x_4 = lean_unsigned_to_nat(54u); -x_5 = lean_unsigned_to_nat(24u); -x_6 = l_Lean_Name_getTmpMVarIdx___closed__2; -x_7 = l_panicWithPos___at_Array_findIdx_x21___spec__1(x_3, x_4, x_5, x_6); -return x_7; -} -} -} -lean_object* l_Lean_Name_getTmpMVarIdx___boxed(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = l_Lean_Name_getTmpMVarIdx(x_1); -lean_dec(x_1); -return x_2; -} -} -uint8_t l_Lean_Level_isTmpMVar(lean_object* x_1) { -_start: -{ -if (lean_obj_tag(x_1) == 5) -{ -lean_object* x_2; uint8_t x_3; -x_2 = lean_ctor_get(x_1, 0); -x_3 = l_Lean_Name_isTmpMVarId(x_2); -return x_3; -} -else -{ -uint8_t x_4; -x_4 = 0; -return x_4; -} -} -} -lean_object* l_Lean_Level_isTmpMVar___boxed(lean_object* x_1) { -_start: -{ -uint8_t x_2; lean_object* x_3; -x_2 = l_Lean_Level_isTmpMVar(x_1); -lean_dec(x_1); -x_3 = lean_box(x_2); -return x_3; -} -} -uint8_t l_Lean_Expr_isTmpMVar(lean_object* x_1) { -_start: -{ -if (lean_obj_tag(x_1) == 2) -{ -lean_object* x_2; uint8_t x_3; -x_2 = lean_ctor_get(x_1, 0); -x_3 = l_Lean_Name_isTmpMVarId(x_2); -return x_3; -} -else -{ -uint8_t x_4; -x_4 = 0; -return x_4; -} -} -} -lean_object* l_Lean_Expr_isTmpMVar___boxed(lean_object* x_1) { -_start: -{ -uint8_t x_2; lean_object* x_3; -x_2 = l_Lean_Expr_isTmpMVar(x_1); -lean_dec(x_1); -x_3 = lean_box(x_2); -return x_3; -} -} -lean_object* l_Lean_mkTmpMetavarContext(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; -x_5 = lean_box(0); -x_6 = lean_mk_array(x_4, x_5); -x_7 = lean_array_get_size(x_3); -x_8 = lean_mk_array(x_7, x_5); -x_9 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_9, 0, x_1); -lean_ctor_set(x_9, 1, x_2); -lean_ctor_set(x_9, 2, x_3); -lean_ctor_set(x_9, 3, x_6); -lean_ctor_set(x_9, 4, x_8); -return x_9; -} -} -lean_object* _init_l_Lean_TmpMetavarContext_Inhabited___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_MetavarContext_Inhabited___closed__1; -x_2 = l_Lean_LocalContext_Inhabited___closed__1; -x_3 = l_Array_empty___closed__1; -x_4 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -lean_ctor_set(x_4, 3, x_3); -lean_ctor_set(x_4, 4, x_3); -return x_4; -} -} -lean_object* _init_l_Lean_TmpMetavarContext_Inhabited() { -_start: -{ -lean_object* x_1; -x_1 = l_Lean_TmpMetavarContext_Inhabited___closed__1; -return x_1; -} -} -lean_object* l_Lean_TmpMetavarContext_getLevelAssignment(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; -x_3 = l_Lean_Name_isTmpMVarId(x_2); -if (x_3 == 0) -{ -lean_object* x_4; lean_object* x_5; -x_4 = lean_ctor_get(x_1, 0); -lean_inc(x_4); -lean_dec(x_1); -x_5 = lean_metavar_ctx_get_level_assignment(x_4, x_2); -return x_5; -} -else -{ -lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; -x_6 = lean_box(0); -x_7 = lean_ctor_get(x_1, 3); -lean_inc(x_7); -lean_dec(x_1); -x_8 = l_Lean_Name_getTmpMVarIdx(x_2); -lean_dec(x_2); -x_9 = lean_array_get(x_6, x_7, x_8); -lean_dec(x_8); -lean_dec(x_7); -return x_9; -} -} -} -lean_object* l_Lean_TmpMetavarContext_assignLevel(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -uint8_t x_4; -x_4 = l_Lean_Name_isTmpMVarId(x_2); -if (x_4 == 0) -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; -x_5 = lean_ctor_get(x_1, 0); -lean_inc(x_5); -lean_dec(x_1); -x_6 = lean_metavar_ctx_assign_level(x_5, x_2, x_3); -x_7 = l_Lean_LocalContext_Inhabited___closed__1; -x_8 = l_Array_empty___closed__1; -x_9 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_9, 0, x_6); -lean_ctor_set(x_9, 1, x_7); -lean_ctor_set(x_9, 2, x_8); -lean_ctor_set(x_9, 3, x_8); -lean_ctor_set(x_9, 4, x_8); -return x_9; -} -else -{ -uint8_t x_10; -x_10 = !lean_is_exclusive(x_1); -if (x_10 == 0) -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_11 = lean_ctor_get(x_1, 3); -x_12 = l_Lean_Name_getTmpMVarIdx(x_2); -lean_dec(x_2); -x_13 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_13, 0, x_3); -x_14 = lean_array_set(x_11, x_12, x_13); -lean_dec(x_12); -lean_ctor_set(x_1, 3, x_14); -return x_1; -} -else -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_15 = lean_ctor_get(x_1, 0); -x_16 = lean_ctor_get(x_1, 1); -x_17 = lean_ctor_get(x_1, 2); -x_18 = lean_ctor_get(x_1, 3); -x_19 = lean_ctor_get(x_1, 4); -lean_inc(x_19); -lean_inc(x_18); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -lean_dec(x_1); -x_20 = l_Lean_Name_getTmpMVarIdx(x_2); -lean_dec(x_2); -x_21 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_21, 0, x_3); -x_22 = lean_array_set(x_18, x_20, x_21); -lean_dec(x_20); -x_23 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_23, 0, x_15); -lean_ctor_set(x_23, 1, x_16); -lean_ctor_set(x_23, 2, x_17); -lean_ctor_set(x_23, 3, x_22); -lean_ctor_set(x_23, 4, x_19); -return x_23; -} -} -} -} -lean_object* l_Lean_TmpMetavarContext_getExprAssignment(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; -x_3 = l_Lean_Name_isTmpMVarId(x_2); -if (x_3 == 0) -{ -lean_object* x_4; lean_object* x_5; -x_4 = lean_ctor_get(x_1, 0); -lean_inc(x_4); -lean_dec(x_1); -x_5 = lean_metavar_ctx_get_expr_assignment(x_4, x_2); -return x_5; -} -else -{ -lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; -x_6 = lean_box(0); -x_7 = lean_ctor_get(x_1, 4); -lean_inc(x_7); -lean_dec(x_1); -x_8 = l_Lean_Name_getTmpMVarIdx(x_2); -lean_dec(x_2); -x_9 = lean_array_get(x_6, x_7, x_8); -lean_dec(x_8); -lean_dec(x_7); -return x_9; -} -} -} -lean_object* l_Lean_TmpMetavarContext_assignExpr(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -uint8_t x_4; -x_4 = l_Lean_Name_isTmpMVarId(x_2); -if (x_4 == 0) -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; -x_5 = lean_ctor_get(x_1, 0); -lean_inc(x_5); -lean_dec(x_1); -x_6 = lean_metavar_ctx_assign_expr(x_5, x_2, x_3); -x_7 = l_Lean_LocalContext_Inhabited___closed__1; -x_8 = l_Array_empty___closed__1; -x_9 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_9, 0, x_6); -lean_ctor_set(x_9, 1, x_7); -lean_ctor_set(x_9, 2, x_8); -lean_ctor_set(x_9, 3, x_8); -lean_ctor_set(x_9, 4, x_8); -return x_9; -} -else -{ -uint8_t x_10; -x_10 = !lean_is_exclusive(x_1); -if (x_10 == 0) -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_11 = lean_ctor_get(x_1, 4); -x_12 = l_Lean_Name_getTmpMVarIdx(x_2); -lean_dec(x_2); -x_13 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_13, 0, x_3); -x_14 = lean_array_set(x_11, x_12, x_13); -lean_dec(x_12); -lean_ctor_set(x_1, 4, x_14); -return x_1; -} -else -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_15 = lean_ctor_get(x_1, 0); -x_16 = lean_ctor_get(x_1, 1); -x_17 = lean_ctor_get(x_1, 2); -x_18 = lean_ctor_get(x_1, 3); -x_19 = lean_ctor_get(x_1, 4); -lean_inc(x_19); -lean_inc(x_18); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -lean_dec(x_1); -x_20 = l_Lean_Name_getTmpMVarIdx(x_2); -lean_dec(x_2); -x_21 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_21, 0, x_3); -x_22 = lean_array_set(x_19, x_20, x_21); -lean_dec(x_20); -x_23 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_23, 0, x_15); -lean_ctor_set(x_23, 1, x_16); -lean_ctor_set(x_23, 2, x_17); -lean_ctor_set(x_23, 3, x_18); -lean_ctor_set(x_23, 4, x_22); -return x_23; -} -} -} -} -lean_object* l_Lean_TmpMetavarContext_getDecl(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; -x_3 = l_Lean_Name_isTmpMVarId(x_2); -if (x_3 == 0) -{ -lean_object* x_4; lean_object* x_5; -x_4 = lean_ctor_get(x_1, 0); -x_5 = l_Lean_MetavarContext_getDecl(x_4, x_2); -return x_5; -} -else -{ -lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; lean_object* x_13; -x_6 = lean_ctor_get(x_1, 1); -x_7 = lean_ctor_get(x_1, 2); -x_8 = l_Lean_Name_getTmpMVarIdx(x_2); -x_9 = l_Lean_exprIsInhabited; -x_10 = lean_array_get(x_9, x_7, x_8); -lean_dec(x_8); -x_11 = lean_box(0); -x_12 = 0; -lean_inc(x_6); -x_13 = lean_alloc_ctor(0, 3, 1); -lean_ctor_set(x_13, 0, x_11); -lean_ctor_set(x_13, 1, x_6); -lean_ctor_set(x_13, 2, x_10); -lean_ctor_set_uint8(x_13, sizeof(void*)*3, x_12); -return x_13; -} -} -} -lean_object* l_Lean_TmpMetavarContext_getDecl___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Lean_TmpMetavarContext_getDecl(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -return x_3; -} -} -lean_object* l_panicWithPos___at_Lean_TmpMetavarContext_isAbstractMetavarContext___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_5 = l_panicWithPos___rarg___closed__1; -x_6 = lean_string_append(x_5, x_1); -x_7 = l_panicWithPos___rarg___closed__2; -x_8 = lean_string_append(x_6, x_7); -x_9 = l_Nat_repr(x_2); -x_10 = lean_string_append(x_8, x_9); -lean_dec(x_9); -x_11 = l_panicWithPos___rarg___closed__2; -x_12 = lean_string_append(x_10, x_11); -x_13 = l_Nat_repr(x_3); -x_14 = lean_string_append(x_12, x_13); -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_TmpMetavarContext_Inhabited; -x_19 = lean_panic_fn(x_17); -return x_19; -} -} -uint8_t l_Lean_TmpMetavarContext_isAbstractMetavarContext___lambda__1(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; -x_3 = l_Lean_Name_isTmpMVarId(x_2); -if (x_3 == 0) -{ -uint8_t x_4; -x_4 = 1; -return x_4; -} -else -{ -uint8_t x_5; -x_5 = 0; -return x_5; -} -} -} -lean_object* _init_l_Lean_TmpMetavarContext_isAbstractMetavarContext___lambda__2___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("TmpMetavarContex does not support delayed assignments"); -return x_1; -} -} -lean_object* l_Lean_TmpMetavarContext_isAbstractMetavarContext___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; -x_6 = l_Lean_Name_getTmpMVarIdx___closed__1; -x_7 = lean_unsigned_to_nat(126u); -x_8 = lean_unsigned_to_nat(43u); -x_9 = l_Lean_TmpMetavarContext_isAbstractMetavarContext___lambda__2___closed__1; -x_10 = l_panicWithPos___at_Lean_TmpMetavarContext_isAbstractMetavarContext___spec__1(x_6, x_7, x_8, x_9); -return x_10; -} -} -lean_object* l_Lean_TmpMetavarContext_isAbstractMetavarContext___lambda__3(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_box(0); -return x_3; -} -} -lean_object* l_Lean_TmpMetavarContext_isAbstractMetavarContext___lambda__4(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_3 = l_Lean_Name_getTmpMVarIdx___closed__1; -x_4 = lean_unsigned_to_nat(127u); -x_5 = lean_unsigned_to_nat(37u); -x_6 = l_Lean_TmpMetavarContext_isAbstractMetavarContext___lambda__2___closed__1; -x_7 = l_panicWithPos___at_Lean_TmpMetavarContext_isAbstractMetavarContext___spec__1(x_3, x_4, x_5, x_6); -return x_7; -} -} -lean_object* _init_l_Lean_TmpMetavarContext_isAbstractMetavarContext___lambda__5___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("TmpMetavarContex does not support the creation of auxiliary metavariables"); -return x_1; -} -} -lean_object* l_Lean_TmpMetavarContext_isAbstractMetavarContext___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5) { -_start: -{ -lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; -x_6 = l_Lean_Name_getTmpMVarIdx___closed__1; -x_7 = lean_unsigned_to_nat(125u); -x_8 = lean_unsigned_to_nat(43u); -x_9 = l_Lean_TmpMetavarContext_isAbstractMetavarContext___lambda__5___closed__1; -x_10 = l_panicWithPos___at_Lean_TmpMetavarContext_isAbstractMetavarContext___spec__1(x_6, x_7, x_8, x_9); -return x_10; -} -} -lean_object* _init_l_Lean_TmpMetavarContext_isAbstractMetavarContext___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_TmpMetavarContext_isAbstractMetavarContext___lambda__1___boxed), 2, 0); -return x_1; -} -} -lean_object* _init_l_Lean_TmpMetavarContext_isAbstractMetavarContext___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_TmpMetavarContext_getLevelAssignment), 2, 0); -return x_1; -} -} -lean_object* _init_l_Lean_TmpMetavarContext_isAbstractMetavarContext___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_TmpMetavarContext_assignLevel), 3, 0); -return x_1; -} -} -lean_object* _init_l_Lean_TmpMetavarContext_isAbstractMetavarContext___closed__4() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_TmpMetavarContext_getExprAssignment), 2, 0); -return x_1; -} -} -lean_object* _init_l_Lean_TmpMetavarContext_isAbstractMetavarContext___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_TmpMetavarContext_assignExpr), 3, 0); -return x_1; -} -} -lean_object* _init_l_Lean_TmpMetavarContext_isAbstractMetavarContext___closed__6() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_TmpMetavarContext_getDecl___boxed), 2, 0); -return x_1; -} -} -lean_object* _init_l_Lean_TmpMetavarContext_isAbstractMetavarContext___closed__7() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_TmpMetavarContext_isAbstractMetavarContext___lambda__2___boxed), 5, 0); -return x_1; -} -} -lean_object* _init_l_Lean_TmpMetavarContext_isAbstractMetavarContext___closed__8() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_TmpMetavarContext_isAbstractMetavarContext___lambda__3___boxed), 2, 0); -return x_1; -} -} -lean_object* _init_l_Lean_TmpMetavarContext_isAbstractMetavarContext___closed__9() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_TmpMetavarContext_isAbstractMetavarContext___lambda__4___boxed), 2, 0); -return x_1; -} -} -lean_object* _init_l_Lean_TmpMetavarContext_isAbstractMetavarContext___closed__10() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_TmpMetavarContext_isAbstractMetavarContext___lambda__5___boxed), 5, 0); -return x_1; -} -} -lean_object* _init_l_Lean_TmpMetavarContext_isAbstractMetavarContext___closed__11() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; lean_object* x_12; lean_object* x_13; -x_1 = l_Lean_TmpMetavarContext_Inhabited___closed__1; -x_2 = l_Lean_TmpMetavarContext_isAbstractMetavarContext___closed__1; -x_3 = l_Lean_TmpMetavarContext_isAbstractMetavarContext___closed__2; -x_4 = l_Lean_TmpMetavarContext_isAbstractMetavarContext___closed__3; -x_5 = l_Lean_TmpMetavarContext_isAbstractMetavarContext___closed__4; -x_6 = l_Lean_TmpMetavarContext_isAbstractMetavarContext___closed__5; -x_7 = l_Lean_TmpMetavarContext_isAbstractMetavarContext___closed__6; -x_8 = l_Lean_TmpMetavarContext_isAbstractMetavarContext___closed__7; -x_9 = l_Lean_TmpMetavarContext_isAbstractMetavarContext___closed__8; -x_10 = l_Lean_TmpMetavarContext_isAbstractMetavarContext___closed__9; -x_11 = 0; -x_12 = l_Lean_TmpMetavarContext_isAbstractMetavarContext___closed__10; -x_13 = lean_alloc_ctor(0, 12, 1); -lean_ctor_set(x_13, 0, x_1); -lean_ctor_set(x_13, 1, x_2); -lean_ctor_set(x_13, 2, x_3); -lean_ctor_set(x_13, 3, x_4); -lean_ctor_set(x_13, 4, x_2); -lean_ctor_set(x_13, 5, x_5); -lean_ctor_set(x_13, 6, x_6); -lean_ctor_set(x_13, 7, x_7); -lean_ctor_set(x_13, 8, x_8); -lean_ctor_set(x_13, 9, x_9); -lean_ctor_set(x_13, 10, x_10); -lean_ctor_set(x_13, 11, x_12); -lean_ctor_set_uint8(x_13, sizeof(void*)*12, x_11); -return x_13; -} -} -lean_object* _init_l_Lean_TmpMetavarContext_isAbstractMetavarContext() { -_start: -{ -lean_object* x_1; -x_1 = l_Lean_TmpMetavarContext_isAbstractMetavarContext___closed__11; -return x_1; -} -} -lean_object* l_panicWithPos___at_Lean_TmpMetavarContext_isAbstractMetavarContext___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_panicWithPos___at_Lean_TmpMetavarContext_isAbstractMetavarContext___spec__1(x_1, x_2, x_3, x_4); -lean_dec(x_4); -lean_dec(x_1); -return x_5; -} -} -lean_object* l_Lean_TmpMetavarContext_isAbstractMetavarContext___lambda__1___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; lean_object* x_4; -x_3 = l_Lean_TmpMetavarContext_isAbstractMetavarContext___lambda__1(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -x_4 = lean_box(x_3); -return x_4; -} -} -lean_object* l_Lean_TmpMetavarContext_isAbstractMetavarContext___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; -x_6 = l_Lean_TmpMetavarContext_isAbstractMetavarContext___lambda__2(x_1, x_2, x_3, x_4, x_5); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_6; -} -} -lean_object* l_Lean_TmpMetavarContext_isAbstractMetavarContext___lambda__3___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Lean_TmpMetavarContext_isAbstractMetavarContext___lambda__3(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -return x_3; -} -} -lean_object* l_Lean_TmpMetavarContext_isAbstractMetavarContext___lambda__4___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Lean_TmpMetavarContext_isAbstractMetavarContext___lambda__4(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -return x_3; -} -} -lean_object* l_Lean_TmpMetavarContext_isAbstractMetavarContext___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -uint8_t x_6; lean_object* x_7; -x_6 = lean_unbox(x_5); -lean_dec(x_5); -x_7 = l_Lean_TmpMetavarContext_isAbstractMetavarContext___lambda__5(x_1, x_2, x_3, x_4, x_6); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_7; -} -} -lean_object* initialize_Init_Lean_MetavarContext(lean_object*); -static bool _G_initialized = false; -lean_object* initialize_Init_Lean_TmpMetavarContext(lean_object* w) { -lean_object * res; -if (_G_initialized) return lean_mk_io_result(lean_box(0)); -_G_initialized = true; -res = initialize_Init_Lean_MetavarContext(lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -l_Lean_mkTmpMVarId___closed__1 = _init_l_Lean_mkTmpMVarId___closed__1(); -lean_mark_persistent(l_Lean_mkTmpMVarId___closed__1); -l_Lean_mkTmpMVarId___closed__2 = _init_l_Lean_mkTmpMVarId___closed__2(); -lean_mark_persistent(l_Lean_mkTmpMVarId___closed__2); -l_Lean_Name_getTmpMVarIdx___closed__1 = _init_l_Lean_Name_getTmpMVarIdx___closed__1(); -lean_mark_persistent(l_Lean_Name_getTmpMVarIdx___closed__1); -l_Lean_Name_getTmpMVarIdx___closed__2 = _init_l_Lean_Name_getTmpMVarIdx___closed__2(); -lean_mark_persistent(l_Lean_Name_getTmpMVarIdx___closed__2); -l_Lean_TmpMetavarContext_Inhabited___closed__1 = _init_l_Lean_TmpMetavarContext_Inhabited___closed__1(); -lean_mark_persistent(l_Lean_TmpMetavarContext_Inhabited___closed__1); -l_Lean_TmpMetavarContext_Inhabited = _init_l_Lean_TmpMetavarContext_Inhabited(); -lean_mark_persistent(l_Lean_TmpMetavarContext_Inhabited); -l_Lean_TmpMetavarContext_isAbstractMetavarContext___lambda__2___closed__1 = _init_l_Lean_TmpMetavarContext_isAbstractMetavarContext___lambda__2___closed__1(); -lean_mark_persistent(l_Lean_TmpMetavarContext_isAbstractMetavarContext___lambda__2___closed__1); -l_Lean_TmpMetavarContext_isAbstractMetavarContext___lambda__5___closed__1 = _init_l_Lean_TmpMetavarContext_isAbstractMetavarContext___lambda__5___closed__1(); -lean_mark_persistent(l_Lean_TmpMetavarContext_isAbstractMetavarContext___lambda__5___closed__1); -l_Lean_TmpMetavarContext_isAbstractMetavarContext___closed__1 = _init_l_Lean_TmpMetavarContext_isAbstractMetavarContext___closed__1(); -lean_mark_persistent(l_Lean_TmpMetavarContext_isAbstractMetavarContext___closed__1); -l_Lean_TmpMetavarContext_isAbstractMetavarContext___closed__2 = _init_l_Lean_TmpMetavarContext_isAbstractMetavarContext___closed__2(); -lean_mark_persistent(l_Lean_TmpMetavarContext_isAbstractMetavarContext___closed__2); -l_Lean_TmpMetavarContext_isAbstractMetavarContext___closed__3 = _init_l_Lean_TmpMetavarContext_isAbstractMetavarContext___closed__3(); -lean_mark_persistent(l_Lean_TmpMetavarContext_isAbstractMetavarContext___closed__3); -l_Lean_TmpMetavarContext_isAbstractMetavarContext___closed__4 = _init_l_Lean_TmpMetavarContext_isAbstractMetavarContext___closed__4(); -lean_mark_persistent(l_Lean_TmpMetavarContext_isAbstractMetavarContext___closed__4); -l_Lean_TmpMetavarContext_isAbstractMetavarContext___closed__5 = _init_l_Lean_TmpMetavarContext_isAbstractMetavarContext___closed__5(); -lean_mark_persistent(l_Lean_TmpMetavarContext_isAbstractMetavarContext___closed__5); -l_Lean_TmpMetavarContext_isAbstractMetavarContext___closed__6 = _init_l_Lean_TmpMetavarContext_isAbstractMetavarContext___closed__6(); -lean_mark_persistent(l_Lean_TmpMetavarContext_isAbstractMetavarContext___closed__6); -l_Lean_TmpMetavarContext_isAbstractMetavarContext___closed__7 = _init_l_Lean_TmpMetavarContext_isAbstractMetavarContext___closed__7(); -lean_mark_persistent(l_Lean_TmpMetavarContext_isAbstractMetavarContext___closed__7); -l_Lean_TmpMetavarContext_isAbstractMetavarContext___closed__8 = _init_l_Lean_TmpMetavarContext_isAbstractMetavarContext___closed__8(); -lean_mark_persistent(l_Lean_TmpMetavarContext_isAbstractMetavarContext___closed__8); -l_Lean_TmpMetavarContext_isAbstractMetavarContext___closed__9 = _init_l_Lean_TmpMetavarContext_isAbstractMetavarContext___closed__9(); -lean_mark_persistent(l_Lean_TmpMetavarContext_isAbstractMetavarContext___closed__9); -l_Lean_TmpMetavarContext_isAbstractMetavarContext___closed__10 = _init_l_Lean_TmpMetavarContext_isAbstractMetavarContext___closed__10(); -lean_mark_persistent(l_Lean_TmpMetavarContext_isAbstractMetavarContext___closed__10); -l_Lean_TmpMetavarContext_isAbstractMetavarContext___closed__11 = _init_l_Lean_TmpMetavarContext_isAbstractMetavarContext___closed__11(); -lean_mark_persistent(l_Lean_TmpMetavarContext_isAbstractMetavarContext___closed__11); -l_Lean_TmpMetavarContext_isAbstractMetavarContext = _init_l_Lean_TmpMetavarContext_isAbstractMetavarContext(); -lean_mark_persistent(l_Lean_TmpMetavarContext_isAbstractMetavarContext); -return lean_mk_io_result(lean_box(0)); -} -#ifdef __cplusplus -} -#endif diff --git a/src/stage0/Init/Lean/TypeClass/Context.c b/src/stage0/Init/Lean/TypeClass/Context.c index b30df79844..a0fe3252cc 100644 --- a/src/stage0/Init/Lean/TypeClass/Context.c +++ b/src/stage0/Init/Lean/TypeClass/Context.c @@ -138,6 +138,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_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*); uint8_t l_Lean_Expr_isMVar(lean_object*); @@ -168,6 +169,7 @@ lean_object* l_PersistentArray_get_x21___at_Lean_TypeClass_Context_uLookupIdx___ lean_object* l_Lean_TypeClass_Context_eInfer___boxed(lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); lean_object* l_Lean_TypeClass_Context_metaPrefix; +lean_object* l_EStateM_Inhabited___rarg(lean_object*, lean_object*); 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*); @@ -186,7 +188,6 @@ lean_object* l_Lean_TypeClass_Context_eNewMeta(lean_object*, lean_object*); lean_object* l_Lean_TypeClass_Context_uHasTmpMVar___boxed(lean_object*); lean_object* l_panicWithPos___at_Lean_TypeClass_Context_eUnify___main___spec__1___closed__1; extern lean_object* l_panicWithPos___rarg___closed__2; -extern lean_object* l_panicWithPos___at_Lean_AbstractMetavarContext_InstantiateExprMVars_instantiateDelayedAux___main___spec__1___rarg___closed__1; lean_object* l_PersistentArray_getAux___main___at_Lean_TypeClass_Context_uLookupIdx___spec__2(lean_object*, size_t, size_t); lean_object* l_Lean_TypeClass_Context_uAssign(lean_object*, lean_object*, lean_object*); size_t l_USize_shift__left(size_t, size_t); @@ -202,7 +203,6 @@ lean_object* l_Lean_TypeClass_Context_uOccursIn___boxed(lean_object*, lean_objec 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_EState_Inhabited___rarg(lean_object*, 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*); @@ -822,7 +822,7 @@ lean_object* _init_l_panicWithPos___at_Lean_TypeClass_Context_eAssign___spec__1_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_panicWithPos___at_Lean_AbstractMetavarContext_InstantiateExprMVars_instantiateDelayedAux___main___spec__1___rarg___closed__1; +x_1 = l_panicWithPos___at___private_Init_Lean_MetavarContext_7__instantiateDelayedAux___main___spec__1___closed__1; x_2 = l_PUnit_Inhabited; x_3 = l_monadInhabited___rarg(x_1, x_2); return x_3; @@ -2620,7 +2620,7 @@ _start: { lean_object* x_1; lean_object* x_2; x_1 = l_String_Inhabited; -x_2 = lean_alloc_closure((void*)(l_EState_Inhabited___rarg), 2, 1); +x_2 = lean_alloc_closure((void*)(l_EStateM_Inhabited___rarg), 2, 1); lean_closure_set(x_2, 0, x_1); return x_2; } diff --git a/src/stage0/Init/Lean/TypeUtil.c b/src/stage0/Init/Lean/TypeUtil.c index 1a696e4cf6..c5a208be47 100644 --- a/src/stage0/Init/Lean/TypeUtil.c +++ b/src/stage0/Init/Lean/TypeUtil.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Init.Lean.TypeUtil -// Imports: Init.Control.Reader Init.Lean.NameGenerator Init.Lean.Environment Init.Lean.AbstractMetavarContext Init.Lean.Trace Init.Lean.InductiveUtil Init.Lean.QuotUtil +// Imports: Init.Control.Reader Init.Lean.NameGenerator Init.Lean.Environment Init.Lean.Trace Init.Lean.InductiveUtil Init.Lean.QuotUtil Init.Lean.AuxRecursor Init.Lean.ProjFns #include "runtime/lean.h" #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -13,11663 +13,14 @@ #ifdef __cplusplus extern "C" { #endif -lean_object* l_Lean_typeContextNoCacheIsAbstractTCCache___closed__1; -lean_object* l___private_Init_Lean_Trace_1__addNode___at___private_Init_Lean_TypeUtil_22__processPostponed___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_TypeUtil_11__mkFreshLevelMVar(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_TypeUtil_18__getNumPostponed(lean_object*, lean_object*, lean_object*); -lean_object* l_panicWithPos___at___private_Init_Lean_TypeUtil_7__whnfEasyCases___main___spec__1(lean_object*, lean_object*); -lean_object* l_Lean_TypeUtil_tracer___closed__1; -lean_object* l___private_Init_Lean_TypeUtil_22__processPostponed___rarg(lean_object*, uint8_t, lean_object*, lean_object*); -uint8_t lean_name_dec_eq(lean_object*, lean_object*); -lean_object* l_Lean_Expr_betaRev(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_TypeUtil_22__processPostponed(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_TypeUtil_5__useZeta___rarg(lean_object*, lean_object*); -lean_object* l_Lean_reduceQuotRecAux___at___private_Init_Lean_TypeUtil_8__whnfCore___main___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Trace_1__addNode___at___private_Init_Lean_TypeUtil_20__processPostponedStep___spec__6___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Array_empty___closed__1; -lean_object* lean_nat_sub(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Trace_1__addNode___at___private_Init_Lean_TypeUtil_22__processPostponed___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_reduceRecAux___at___private_Init_Lean_TypeUtil_8__whnfCore___main___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Expr_3__getAppRevArgsAux___main(lean_object*, lean_object*); -lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_TypeUtil_15__solveSelfMax___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_TypeUtil_21__processPostponedAux___main___rarg___closed__5; -lean_object* l___private_Init_Lean_TypeUtil_22__processPostponed___rarg___closed__3; -lean_object* l___private_Init_Lean_TypeUtil_1__getOptions___rarg___boxed(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Trace_1__addNode___at___private_Init_Lean_TypeUtil_20__processPostponedStep___spec__6___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Trace_1__addNode___at___private_Init_Lean_TypeUtil_22__processPostponed___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Trace_3__addTrace___at___private_Init_Lean_TypeUtil_21__processPostponedAux___main___spec__3___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_TypeUtil_7__whnfEasyCases___main___at___private_Init_Lean_TypeUtil_8__whnfCore___main___spec__5___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* lean_mk_array(lean_object*, lean_object*); -extern lean_object* l_Lean_exprIsInhabited; -lean_object* l___private_Init_Lean_Trace_2__getResetTraces___at___private_Init_Lean_TypeUtil_22__processPostponed___spec__1___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_TypeUtil_1__getOptions(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_TypeUtil_10__assignLevel___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Level_normalize___main(lean_object*); -lean_object* l___private_Init_Lean_Trace_3__addTrace___at___private_Init_Lean_TypeUtil_21__processPostponedAux___main___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_InductiveUtil_2__mkNullaryCtor(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Trace_1__addNode___at___private_Init_Lean_TypeUtil_20__processPostponedStep___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_monadInhabited___rarg(lean_object*, lean_object*); -lean_object* l_List_lengthAux___main___rarg(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_TypeUtil_17__isLevelDefEqAux___main___rarg___closed__2; -lean_object* l___private_Init_Lean_TypeUtil_23__restoreIfFalse(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_TypeUtil_20__processPostponedStep___rarg___closed__3; -lean_object* l___private_Init_Lean_TypeUtil_14__mkMaxArgsDiff___main(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_TypeUtil_16__postponeIsLevelDefEq___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Trace_1__addNode___at___private_Init_Lean_TypeUtil_20__processPostponedStep___spec__5___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_TypeUtil_17__isLevelDefEqAux___main___rarg___closed__3; -lean_object* l___private_Init_Lean_TypeUtil_21__processPostponedAux___main(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_TypeUtil_4__getEnv___rarg___boxed(lean_object*, lean_object*); -lean_object* l_Lean_TypeUtil_tracer___closed__2; -lean_object* l_Lean_typeContextNoCacheIsAbstractTCCache___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Trace_3__addTrace___at___private_Init_Lean_TypeUtil_17__isLevelDefEqAux___main___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_InductiveUtil_3__toCtorIfLit(lean_object*); -lean_object* l___private_Init_Lean_TypeUtil_9__instantiateLevelMVars___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Expr_1__mkAppRangeAux___main(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_TypeUtil_5__useZeta(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_TypeUtil_17__isLevelDefEqAux___main___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_InductiveUtil_4__getRecRuleFor(lean_object*, lean_object*); -lean_object* l_Lean_typeContextNoCacheIsAbstractTCCache___lambda__1(lean_object*, uint8_t, lean_object*); -lean_object* lean_level_mk_mvar(lean_object*); -lean_object* l___private_Init_Lean_TypeUtil_7__whnfEasyCases___main(lean_object*, lean_object*); -lean_object* lean_expr_mk_app(lean_object*, lean_object*); -lean_object* l_Lean_reduceRecAux___at___private_Init_Lean_TypeUtil_8__whnfCore___main___spec__3___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* lean_expr_instantiate1(lean_object*, lean_object*); -lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_TypeUtil_20__processPostponedStep___spec__3(lean_object*, lean_object*); -lean_object* l_Lean_Expr_getAppFn___main(lean_object*); -lean_object* l___private_Init_Lean_TypeUtil_3__getMCtx(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_InductiveUtil_5__toCtorWhenK___at___private_Init_Lean_TypeUtil_8__whnfCore___main___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_TypeUtil_19__getResetPostponed___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_TypeUtil_22__processPostponed___rarg___closed__2; -lean_object* l___private_Init_Lean_TypeUtil_17__isLevelDefEqAux___main___rarg(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l___private_Init_Lean_TypeUtil_12__strictOccursMaxAux(lean_object*, lean_object*); -lean_object* l_Lean_Expr_getAppNumArgsAux___main(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Trace_1__addNode___at___private_Init_Lean_TypeUtil_20__processPostponedStep___spec__7___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_InductiveUtil_5__toCtorWhenK___at___private_Init_Lean_TypeUtil_8__whnfCore___main___spec__4(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Trace_1__addNode___at___private_Init_Lean_TypeUtil_22__processPostponed___spec__3(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_TypeUtil_8__whnfCore(lean_object*, lean_object*); -lean_object* l_panicWithPos___at___private_Init_Lean_TypeUtil_7__whnfEasyCases___main___spec__1___rarg___closed__2; -lean_object* l___private_Init_Lean_Trace_5__checkTraceOption___at___private_Init_Lean_TypeUtil_21__processPostponedAux___main___spec__1(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_TypeUtil_7__whnfEasyCases___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_TypeUtil_20__processPostponedStep___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Trace_1__addNode___at___private_Init_Lean_TypeUtil_22__processPostponed___spec__4(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_TypeUtil_5__useZeta___rarg___boxed(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_TypeUtil_17__isLevelDefEqAux___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* lean_mk_empty_array_with_capacity(lean_object*); -lean_object* l___private_Init_Lean_Trace_1__addNode___at___private_Init_Lean_TypeUtil_20__processPostponedStep___spec__6(lean_object*, lean_object*); -lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_TypeUtil_20__processPostponedStep___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); -lean_object* l_Lean_reduceQuotRecAux___at___private_Init_Lean_TypeUtil_8__whnfCore___main___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_TypeUtil_isLevelDefEq(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Trace_1__addNode___at___private_Init_Lean_TypeUtil_20__processPostponedStep___spec__5(lean_object*, lean_object*); -lean_object* l_Nat_repr(lean_object*); -lean_object* l___private_Init_Lean_TypeUtil_10__assignLevel(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_TypeUtil_2__getTraceState___rarg(lean_object*); -lean_object* l___private_Init_Lean_TypeUtil_3__getMCtx___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Trace_5__checkTraceOption___at___private_Init_Lean_TypeUtil_20__processPostponedStep___spec__8___rarg(lean_object*, lean_object*, lean_object*); -extern lean_object* l_panicWithPos___rarg___closed__3; -lean_object* l___private_Init_Lean_Trace_2__getResetTraces___at___private_Init_Lean_TypeUtil_22__processPostponed___spec__1(lean_object*, lean_object*, lean_object*); -lean_object* l_panicWithPos___at___private_Init_Lean_TypeUtil_7__whnfEasyCases___main___spec__1___rarg___closed__1; -lean_object* l___private_Init_Lean_TypeUtil_12__strictOccursMaxAux___boxed(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Trace_1__addNode___at___private_Init_Lean_TypeUtil_20__processPostponedStep___spec__4___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l___private_Init_Lean_TypeUtil_13__strictOccursMax(lean_object*, lean_object*); -lean_object* l_ReaderT_Monad___rarg(lean_object*); -uint8_t lean_expr_eqv(lean_object*, lean_object*); -lean_object* l_Lean_reduceQuotRecAux___at___private_Init_Lean_TypeUtil_8__whnfCore___main___spec__2(lean_object*, lean_object*); -lean_object* l_Lean_typeContextNoCacheIsAbstractTCCache___closed__2; -lean_object* l___private_Init_Lean_TypeUtil_20__processPostponedStep___rarg___closed__1; -lean_object* l___private_Init_Lean_Trace_2__getResetTraces___at___private_Init_Lean_TypeUtil_20__processPostponedStep___spec__2___rarg(lean_object*); -lean_object* l___private_Init_Lean_TypeUtil_17__isLevelDefEqAux___main___rarg___closed__8; -lean_object* l_panicWithPos___at___private_Init_Lean_TypeUtil_7__whnfEasyCases___main___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Trace_5__checkTraceOption___at___private_Init_Lean_TypeUtil_17__isLevelDefEqAux___main___spec__2___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_TypeUtil_17__isLevelDefEqAux___main___rarg___closed__5; -lean_object* l___private_Init_Lean_TypeUtil_4__getEnv(lean_object*, lean_object*); -extern lean_object* l_unreachable_x21___rarg___closed__1; -lean_object* lean_string_append(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_TypeUtil_21__processPostponedAux___main___rarg___closed__2; -lean_object* l_Lean_TypeUtil_isLevelDefEq___rarg(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_TypeUtil_21__processPostponedAux___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_TypeUtil_16__postponeIsLevelDefEq(lean_object*, lean_object*); -lean_object* l_panicWithPos___at___private_Init_Lean_TypeUtil_8__whnfCore___main___spec__1(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_TypeUtil_16__postponeIsLevelDefEq___rarg(lean_object*, uint8_t, lean_object*, uint8_t, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_TypeUtil_18__getNumPostponed___rarg(lean_object*); -lean_object* l___private_Init_Lean_Trace_3__addTrace___at___private_Init_Lean_TypeUtil_17__isLevelDefEqAux___main___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t lean_nat_dec_lt(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_TypeUtil_21__processPostponedAux___main___rarg___closed__6; -lean_object* l___private_Init_Lean_Trace_1__addNode___at___private_Init_Lean_TypeUtil_20__processPostponedStep___spec__4(lean_object*, lean_object*); -uint8_t l_Lean_Level_isSucc(lean_object*); -lean_object* l_Lean_Level_dec___main(lean_object*); -lean_object* l___private_Init_Lean_Trace_1__addNode___at___private_Init_Lean_TypeUtil_20__processPostponedStep___spec__7(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_TypeUtil_17__isLevelDefEqAux___main___rarg___closed__4; -lean_object* l_Lean_TypeUtil_tracer___lambda__1(lean_object*, lean_object*, lean_object*); -lean_object* lean_name_mk_string(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_TypeUtil_21__processPostponedAux___main___rarg___closed__3; -lean_object* l___private_Init_Lean_Trace_1__addNode___at___private_Init_Lean_TypeUtil_22__processPostponed___spec__3___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Trace_3__addTrace___at___private_Init_Lean_TypeUtil_17__isLevelDefEqAux___main___spec__1(lean_object*, lean_object*); -lean_object* lean_nat_add(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Trace_2__getResetTraces___at___private_Init_Lean_TypeUtil_20__processPostponedStep___spec__2(lean_object*, lean_object*, lean_object*); -uint8_t l_Array_anyMAux___main___at___private_Init_Lean_InductiveUtil_5__toCtorWhenK___spec__1(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_TypeUtil_18__getNumPostponed___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Expr_2__getAppArgsAux___main(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_TypeUtil_17__isLevelDefEqAux___rarg(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_TypeUtil_21__processPostponedAux___main___rarg___closed__4; -lean_object* l___private_Init_Lean_TypeUtil_21__processPostponedAux___main___rarg___closed__7; -uint8_t lean_nat_dec_eq(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_TypeUtil_15__solveSelfMax(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Trace_5__checkTraceOption___at___private_Init_Lean_TypeUtil_22__processPostponed___spec__5___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_RecursorVal_getInduct(lean_object*); -lean_object* l___private_Init_Lean_TypeUtil_22__processPostponed___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_TypeUtil_6__liftStateMCtx(lean_object*, lean_object*, lean_object*); -lean_object* lean_array_push(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_TypeUtil_6__liftStateMCtx___rarg___boxed(lean_object*, lean_object*, lean_object*); -uint8_t l___private_Init_Lean_TypeUtil_12__strictOccursMaxAux___main(lean_object*, lean_object*); -uint8_t l_List_isEmpty___rarg(lean_object*); -lean_object* l_panicWithPos___at___private_Init_Lean_TypeUtil_8__whnfCore___main___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_panicWithPos___rarg___closed__1; -extern lean_object* l_unreachable_x21___rarg___closed__2; -lean_object* l___private_Init_Lean_TypeUtil_2__getTraceState(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_TypeUtil_tracer___closed__3; -uint8_t l_Lean_AbstractMetavarContext_hasAssignableLevelMVar___main___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Level_mvarId_x21(lean_object*); -lean_object* l___private_Init_Lean_TypeUtil_21__processPostponedAux___main___rarg___closed__1; -lean_object* l___private_Init_Lean_TypeUtil_17__isLevelDefEqAux___main(lean_object*, lean_object*); -uint8_t l_Lean_Level_occurs___main(lean_object*, lean_object*); -lean_object* l_Lean_RecursorVal_getMajorIdx(lean_object*); -lean_object* l___private_Init_Lean_Trace_3__addTrace___at___private_Init_Lean_TypeUtil_21__processPostponedAux___main___spec__3(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_TypeUtil_11__mkFreshLevelMVar___rarg(lean_object*); -lean_object* l___private_Init_Lean_Trace_5__checkTraceOption___at___private_Init_Lean_TypeUtil_21__processPostponedAux___main___spec__4(lean_object*, lean_object*); -extern lean_object* l_Lean_SimpleMonadTracerAdapter_isTracingEnabledFor___rarg___lambda__1___closed__2; -lean_object* l___private_Init_Lean_TypeUtil_8__whnfCore___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Trace_5__checkTraceOption___at___private_Init_Lean_TypeUtil_20__processPostponedStep___spec__8(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Trace_2__getResetTraces___at___private_Init_Lean_TypeUtil_20__processPostponedStep___spec__2___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_TypeUtil_8__whnfCore___rarg(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Trace_5__checkTraceOption___at___private_Init_Lean_TypeUtil_22__processPostponed___spec__5(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_TypeUtil_17__isLevelDefEqAux___main___rarg___closed__7; -lean_object* l_Lean_TypeUtil_tracer___closed__4; -lean_object* l___private_Init_Lean_Trace_5__checkTraceOption___at___private_Init_Lean_TypeUtil_17__isLevelDefEqAux___main___spec__2(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_TypeUtil_19__getResetPostponed___rarg(lean_object*); -lean_object* l___private_Init_Lean_TypeUtil_19__getResetPostponed(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_TypeUtil_21__processPostponedAux___main___rarg___closed__9; -lean_object* l___private_Init_Lean_TypeUtil_1__getOptions___rarg(lean_object*, lean_object*); -lean_object* l_panicWithPos___at___private_Init_Lean_TypeUtil_8__whnfCore___main___spec__6___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Trace_3__addTrace___at___private_Init_Lean_TypeUtil_21__processPostponedAux___main___spec__2(lean_object*, lean_object*); -lean_object* lean_instantiate_lparams(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_TypeUtil_22__processPostponed___rarg___closed__1; -lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_TypeUtil_20__processPostponedStep___spec__1(lean_object*, lean_object*); -lean_object* l_panic(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_TypeUtil_2__getTraceState___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_AbstractMetavarContext_instantiateLevelMVars___main___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_TypeUtil_17__isLevelDefEqAux(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Trace_5__checkTraceOption___at___private_Init_Lean_TypeUtil_22__processPostponed___spec__5___rarg___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Trace_5__checkTraceOption___at___private_Init_Lean_TypeUtil_21__processPostponedAux___main___spec__4___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_TypeUtil_21__processPostponedAux(lean_object*, lean_object*); -lean_object* lean_name_mk_numeral(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_TypeUtil_21__processPostponedAux___main___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_TypeUtil_4__getEnv___rarg(lean_object*, lean_object*); -lean_object* lean_environment_find(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_TypeUtil_12__strictOccursMaxAux___main___boxed(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_TypeUtil_3__getMCtx___rarg(lean_object*); -uint8_t l___private_Init_Lean_Trace_4__checkTraceOptionAux___main(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_TypeUtil_14__mkMaxArgsDiff___main___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_TypeUtil_13__strictOccursMax___boxed(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_TypeUtil_20__processPostponedStep___rarg(lean_object*, lean_object*, lean_object*); -extern lean_object* l_Option_get_x21___rarg___closed__2; -lean_object* lean_array_get_size(lean_object*); -lean_object* l_Lean_LocalDecl_valueOpt(lean_object*); -lean_object* l___private_Init_Lean_TypeUtil_7__whnfEasyCases(lean_object*, lean_object*); -extern lean_object* l_EIO_Monad___closed__1; -lean_object* l___private_Init_Lean_Trace_1__addNode___at___private_Init_Lean_TypeUtil_20__processPostponedStep___spec__7___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* lean_array_fget(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Trace_3__addTrace___at___private_Init_Lean_TypeUtil_21__processPostponedAux___main___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_TypeUtil_isLevelDefEq___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* lean_local_ctx_find(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Trace_5__checkTraceOption___at___private_Init_Lean_TypeUtil_20__processPostponedStep___spec__8___rarg___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_TypeUtil_8__whnfCore___main(lean_object*, lean_object*); -uint8_t l_Lean_Expr_isConstOf(lean_object*, lean_object*); -lean_object* l_Lean_TypeUtil_tracer___lambda__1___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Trace_1__addNode___at___private_Init_Lean_TypeUtil_22__processPostponed___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Trace_3__addTrace___at___private_Init_Lean_TypeUtil_21__processPostponedAux___main___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_panicWithPos___at___private_Init_Lean_TypeUtil_8__whnfCore___main___spec__6(lean_object*, lean_object*); -lean_object* l_panicWithPos___at___private_Init_Lean_TypeUtil_7__whnfEasyCases___main___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Expr_getRevArgD___main(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Trace_5__checkTraceOption___at___private_Init_Lean_TypeUtil_21__processPostponedAux___main___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_typeContextNoCacheIsAbstractTCCache___lambda__2(lean_object*, uint8_t, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_TypeUtil_20__processPostponedStep___rarg___closed__2; -lean_object* l___private_Init_Lean_Trace_2__getResetTraces___at___private_Init_Lean_TypeUtil_22__processPostponed___spec__1___rarg(lean_object*); -lean_object* l___private_Init_Lean_TypeUtil_11__mkFreshLevelMVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_TypeUtil_21__processPostponedAux___main___rarg(lean_object*, uint8_t, lean_object*, lean_object*); -uint8_t lean_level_eq(lean_object*, lean_object*); -lean_object* l_Lean_typeContextNoCacheIsAbstractTCCache___closed__3; -lean_object* l_Lean_Expr_updateFn___main(lean_object*, lean_object*); -lean_object* l_panicWithPos___at___private_Init_Lean_TypeUtil_8__whnfCore___main___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_TypeUtil_20__processPostponedStep___rarg___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_TypeUtil_20__processPostponedStep(lean_object*, lean_object*); -extern lean_object* l_panicWithPos___rarg___closed__2; -uint8_t l_Lean_Level_isMVar(lean_object*); -lean_object* l___private_Init_Lean_TypeUtil_9__instantiateLevelMVars___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_TypeUtil_14__mkMaxArgsDiff(lean_object*, lean_object*, lean_object*); -lean_object* l_panicWithPos___at___private_Init_Lean_TypeUtil_8__whnfCore___main___spec__6___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t lean_expr_has_expr_mvar(lean_object*); -lean_object* l___private_Init_Lean_TypeUtil_15__solveSelfMax___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_typeContextNoCacheIsAbstractTCCache; -extern lean_object* l_Option_get_x21___rarg___closed__1; -lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_TypeUtil_20__processPostponedStep___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_TypeUtil_10__assignLevel___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Trace_1__addNode___at___private_Init_Lean_TypeUtil_20__processPostponedStep___spec__5___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_TypeUtil_21__processPostponedAux___rarg(lean_object*, uint8_t, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Trace_5__checkTraceOption___at___private_Init_Lean_TypeUtil_17__isLevelDefEqAux___main___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_panicWithPos___at_Lean_AbstractMetavarContext_MkBindingException_toStr___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Trace_5__checkTraceOption___at___private_Init_Lean_TypeUtil_21__processPostponedAux___main___spec__4___rarg___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Name_append___main(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_TypeUtil_9__instantiateLevelMVars(lean_object*, lean_object*); -lean_object* l_Lean_TypeUtil_tracer(lean_object*, lean_object*); -lean_object* l_Lean_reduceRecAux___at___private_Init_Lean_TypeUtil_8__whnfCore___main___spec__3(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Trace_1__addNode___at___private_Init_Lean_TypeUtil_22__processPostponed___spec__4___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_TypeUtil_17__isLevelDefEqAux___main___rarg___closed__1; -lean_object* l___private_Init_Lean_Trace_5__checkTraceOption___at___private_Init_Lean_TypeUtil_21__processPostponedAux___main___spec__1___rarg(lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_exprIsInhabited___closed__1; -lean_object* l_Lean_typeContextNoCacheIsAbstractTCCache___lambda__1___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_TypeUtil_8__whnfCore___main___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* lean_level_mk_max(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_TypeUtil_23__restoreIfFalse___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_TypeUtil_21__processPostponedAux___main___rarg___closed__8; -lean_object* l___private_Init_Lean_TypeUtil_7__whnfEasyCases___main___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_TypeUtil_20__processPostponedStep___spec__3___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_TypeUtil_7__whnfEasyCases___main___at___private_Init_Lean_TypeUtil_8__whnfCore___main___spec__5(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_TypeUtil_17__isLevelDefEqAux___main___rarg___closed__6; -lean_object* l___private_Init_Lean_TypeUtil_6__liftStateMCtx___rarg(lean_object*, lean_object*, lean_object*); -uint8_t l_Lean_Expr_isLambda(lean_object*); -lean_object* l___private_Init_Lean_Trace_1__addNode___at___private_Init_Lean_TypeUtil_22__processPostponed___spec__2(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_TypeUtil_14__mkMaxArgsDiff___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_TypeUtil_1__getOptions___rarg(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_3 = lean_ctor_get(x_1, 3); -x_4 = lean_ctor_get(x_3, 0); -lean_inc(x_4); -x_5 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_5, 0, x_4); -lean_ctor_set(x_5, 1, x_2); -return x_5; -} -} -lean_object* l___private_Init_Lean_TypeUtil_1__getOptions(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l___private_Init_Lean_TypeUtil_1__getOptions___rarg___boxed), 2, 0); -return x_3; -} -} -lean_object* l___private_Init_Lean_TypeUtil_1__getOptions___rarg___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l___private_Init_Lean_TypeUtil_1__getOptions___rarg(x_1, x_2); -lean_dec(x_1); -return x_3; -} -} -lean_object* l___private_Init_Lean_TypeUtil_2__getTraceState___rarg(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; -x_2 = lean_ctor_get(x_1, 3); -lean_inc(x_2); -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; -} -} -lean_object* l___private_Init_Lean_TypeUtil_2__getTraceState(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = lean_alloc_closure((void*)(l___private_Init_Lean_TypeUtil_2__getTraceState___rarg), 1, 0); -return x_4; -} -} -lean_object* l___private_Init_Lean_TypeUtil_2__getTraceState___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l___private_Init_Lean_TypeUtil_2__getTraceState(x_1, x_2, x_3); -lean_dec(x_3); -return x_4; -} -} -lean_object* l___private_Init_Lean_TypeUtil_3__getMCtx___rarg(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; -x_2 = lean_ctor_get(x_1, 0); -lean_inc(x_2); -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; -} -} -lean_object* l___private_Init_Lean_TypeUtil_3__getMCtx(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = lean_alloc_closure((void*)(l___private_Init_Lean_TypeUtil_3__getMCtx___rarg), 1, 0); -return x_4; -} -} -lean_object* l___private_Init_Lean_TypeUtil_3__getMCtx___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l___private_Init_Lean_TypeUtil_3__getMCtx(x_1, x_2, x_3); -lean_dec(x_3); -return x_4; -} -} -lean_object* l___private_Init_Lean_TypeUtil_4__getEnv___rarg(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; lean_object* x_4; -x_3 = lean_ctor_get(x_1, 0); -lean_inc(x_3); -x_4 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_4, 0, x_3); -lean_ctor_set(x_4, 1, x_2); -return x_4; -} -} -lean_object* l___private_Init_Lean_TypeUtil_4__getEnv(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l___private_Init_Lean_TypeUtil_4__getEnv___rarg___boxed), 2, 0); -return x_3; -} -} -lean_object* l___private_Init_Lean_TypeUtil_4__getEnv___rarg___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l___private_Init_Lean_TypeUtil_4__getEnv___rarg(x_1, x_2); -lean_dec(x_1); -return x_3; -} -} -lean_object* l___private_Init_Lean_TypeUtil_5__useZeta___rarg(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; -x_3 = lean_ctor_get(x_1, 3); -x_4 = lean_ctor_get_uint8(x_3, sizeof(void*)*2 + 2); -x_5 = lean_box(x_4); -x_6 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_6, 0, x_5); -lean_ctor_set(x_6, 1, x_2); -return x_6; -} -} -lean_object* l___private_Init_Lean_TypeUtil_5__useZeta(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l___private_Init_Lean_TypeUtil_5__useZeta___rarg___boxed), 2, 0); -return x_3; -} -} -lean_object* l___private_Init_Lean_TypeUtil_5__useZeta___rarg___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l___private_Init_Lean_TypeUtil_5__useZeta___rarg(x_1, x_2); -lean_dec(x_1); -return x_3; -} -} -lean_object* l_Lean_TypeUtil_tracer___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -uint8_t x_4; -x_4 = !lean_is_exclusive(x_3); -if (x_4 == 0) -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; -x_5 = lean_ctor_get(x_3, 3); -x_6 = lean_apply_1(x_1, x_5); -lean_ctor_set(x_3, 3, x_6); -x_7 = lean_box(0); -x_8 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_8, 0, x_7); -lean_ctor_set(x_8, 1, x_3); -return x_8; -} -else -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_9 = lean_ctor_get(x_3, 0); -x_10 = lean_ctor_get(x_3, 1); -x_11 = lean_ctor_get(x_3, 2); -x_12 = lean_ctor_get(x_3, 3); -x_13 = lean_ctor_get(x_3, 4); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_dec(x_3); -x_14 = lean_apply_1(x_1, x_12); -x_15 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_15, 0, x_9); -lean_ctor_set(x_15, 1, x_10); -lean_ctor_set(x_15, 2, x_11); -lean_ctor_set(x_15, 3, x_14); -lean_ctor_set(x_15, 4, x_13); -x_16 = lean_box(0); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_15); -return x_17; -} -} -} -lean_object* _init_l_Lean_TypeUtil_tracer___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Init_Lean_TypeUtil_2__getTraceState___boxed), 3, 2); -lean_closure_set(x_1, 0, lean_box(0)); -lean_closure_set(x_1, 1, lean_box(0)); -return x_1; -} -} -lean_object* _init_l_Lean_TypeUtil_tracer___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Init_Lean_TypeUtil_1__getOptions___rarg___boxed), 2, 0); -return x_1; -} -} -lean_object* _init_l_Lean_TypeUtil_tracer___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_TypeUtil_tracer___lambda__1___boxed), 3, 0); -return x_1; -} -} -lean_object* _init_l_Lean_TypeUtil_tracer___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_TypeUtil_tracer___closed__2; -x_2 = l_Lean_TypeUtil_tracer___closed__3; -x_3 = l_Lean_TypeUtil_tracer___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_TypeUtil_tracer(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Lean_TypeUtil_tracer___closed__4; -return x_3; -} -} -lean_object* l_Lean_TypeUtil_tracer___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l_Lean_TypeUtil_tracer___lambda__1(x_1, x_2, x_3); -lean_dec(x_2); -return x_4; -} -} -lean_object* l___private_Init_Lean_TypeUtil_6__liftStateMCtx___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -uint8_t x_4; -x_4 = !lean_is_exclusive(x_3); -if (x_4 == 0) -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; -x_5 = lean_ctor_get(x_3, 0); -x_6 = lean_apply_1(x_1, x_5); -x_7 = lean_ctor_get(x_6, 0); -lean_inc(x_7); -x_8 = lean_ctor_get(x_6, 1); -lean_inc(x_8); -lean_dec(x_6); -lean_ctor_set(x_3, 0, x_8); -x_9 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_9, 0, x_7); -lean_ctor_set(x_9, 1, x_3); -return x_9; -} -else -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_10 = lean_ctor_get(x_3, 0); -x_11 = lean_ctor_get(x_3, 1); -x_12 = lean_ctor_get(x_3, 2); -x_13 = lean_ctor_get(x_3, 3); -x_14 = lean_ctor_get(x_3, 4); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_dec(x_3); -x_15 = lean_apply_1(x_1, x_10); -x_16 = lean_ctor_get(x_15, 0); -lean_inc(x_16); -x_17 = lean_ctor_get(x_15, 1); -lean_inc(x_17); -lean_dec(x_15); -x_18 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_18, 0, x_17); -lean_ctor_set(x_18, 1, x_11); -lean_ctor_set(x_18, 2, x_12); -lean_ctor_set(x_18, 3, x_13); -lean_ctor_set(x_18, 4, x_14); -x_19 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_19, 0, x_16); -lean_ctor_set(x_19, 1, x_18); -return x_19; -} -} -} -lean_object* l___private_Init_Lean_TypeUtil_6__liftStateMCtx(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = lean_alloc_closure((void*)(l___private_Init_Lean_TypeUtil_6__liftStateMCtx___rarg___boxed), 3, 0); -return x_4; -} -} -lean_object* l___private_Init_Lean_TypeUtil_6__liftStateMCtx___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l___private_Init_Lean_TypeUtil_6__liftStateMCtx___rarg(x_1, x_2, x_3); -lean_dec(x_2); -return x_4; -} -} -lean_object* _init_l_panicWithPos___at___private_Init_Lean_TypeUtil_7__whnfEasyCases___main___spec__1___rarg___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_EIO_Monad___closed__1; -x_2 = l_ReaderT_Monad___rarg(x_1); -return x_2; -} -} -lean_object* _init_l_panicWithPos___at___private_Init_Lean_TypeUtil_7__whnfEasyCases___main___spec__1___rarg___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_panicWithPos___at___private_Init_Lean_TypeUtil_7__whnfEasyCases___main___spec__1___rarg___closed__1; -x_2 = l_Lean_exprIsInhabited; -x_3 = l_monadInhabited___rarg(x_1, x_2); -return x_3; -} -} -lean_object* l_panicWithPos___at___private_Init_Lean_TypeUtil_7__whnfEasyCases___main___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_7 = l_panicWithPos___rarg___closed__1; -x_8 = lean_string_append(x_7, x_1); -x_9 = l_panicWithPos___rarg___closed__2; -x_10 = lean_string_append(x_8, x_9); -x_11 = l_Nat_repr(x_2); -x_12 = lean_string_append(x_10, x_11); -lean_dec(x_11); -x_13 = l_panicWithPos___rarg___closed__2; -x_14 = lean_string_append(x_12, x_13); -x_15 = l_Nat_repr(x_3); -x_16 = lean_string_append(x_14, x_15); -lean_dec(x_15); -x_17 = l_panicWithPos___rarg___closed__3; -x_18 = lean_string_append(x_16, x_17); -x_19 = lean_string_append(x_18, x_4); -x_20 = l_panicWithPos___at___private_Init_Lean_TypeUtil_7__whnfEasyCases___main___spec__1___rarg___closed__2; -x_21 = lean_panic_fn(x_19); -x_22 = lean_apply_2(x_21, x_5, x_6); -return x_22; -} -} -lean_object* l_panicWithPos___at___private_Init_Lean_TypeUtil_7__whnfEasyCases___main___spec__1(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_panicWithPos___at___private_Init_Lean_TypeUtil_7__whnfEasyCases___main___spec__1___rarg___boxed), 6, 0); -return x_3; -} -} -lean_object* l___private_Init_Lean_TypeUtil_7__whnfEasyCases___main___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -switch (lean_obj_tag(x_2)) { -case 0: -{ -lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_6 = l_unreachable_x21___rarg___closed__1; -x_7 = lean_unsigned_to_nat(37u); -x_8 = lean_unsigned_to_nat(0u); -x_9 = l_unreachable_x21___rarg___closed__2; -x_10 = l_panicWithPos___at___private_Init_Lean_TypeUtil_7__whnfEasyCases___main___spec__1___rarg(x_6, x_7, x_8, x_9, x_4, x_5); -return x_10; -} -case 1: -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_11 = lean_ctor_get(x_2, 0); -lean_inc(x_11); -x_12 = lean_ctor_get(x_4, 1); -lean_inc(x_12); -x_13 = lean_local_ctx_find(x_12, x_11); -if (lean_obj_tag(x_13) == 0) -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_14 = l_Option_get_x21___rarg___closed__1; -x_15 = lean_unsigned_to_nat(16u); -x_16 = lean_unsigned_to_nat(12u); -x_17 = l_Option_get_x21___rarg___closed__2; -x_18 = l_panicWithPos___at_Lean_AbstractMetavarContext_MkBindingException_toStr___spec__1(x_14, x_15, x_16, x_17); -x_19 = l_Lean_LocalDecl_valueOpt(x_18); -lean_dec(x_18); -if (lean_obj_tag(x_19) == 0) -{ -lean_object* x_20; -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_20 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_20, 0, x_2); -lean_ctor_set(x_20, 1, x_5); -return x_20; -} -else -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; -x_21 = lean_ctor_get(x_19, 0); -lean_inc(x_21); -lean_dec(x_19); -x_22 = l___private_Init_Lean_TypeUtil_5__useZeta___rarg(x_4, x_5); -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -x_24 = lean_unbox(x_23); -lean_dec(x_23); -if (x_24 == 0) -{ -uint8_t x_25; -lean_dec(x_21); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_25 = !lean_is_exclusive(x_22); -if (x_25 == 0) -{ -lean_object* x_26; -x_26 = lean_ctor_get(x_22, 0); -lean_dec(x_26); -lean_ctor_set(x_22, 0, x_2); -return x_22; -} -else -{ -lean_object* x_27; lean_object* x_28; -x_27 = lean_ctor_get(x_22, 1); -lean_inc(x_27); -lean_dec(x_22); -x_28 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_28, 0, x_2); -lean_ctor_set(x_28, 1, x_27); -return x_28; -} -} -else -{ -lean_object* x_29; -lean_dec(x_2); -x_29 = lean_ctor_get(x_22, 1); -lean_inc(x_29); -lean_dec(x_22); -x_2 = x_21; -x_5 = x_29; -goto _start; -} -} -} -else -{ -lean_object* x_31; lean_object* x_32; -x_31 = lean_ctor_get(x_13, 0); -lean_inc(x_31); -lean_dec(x_13); -x_32 = l_Lean_LocalDecl_valueOpt(x_31); -lean_dec(x_31); -if (lean_obj_tag(x_32) == 0) -{ -lean_object* x_33; -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_33 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_33, 0, x_2); -lean_ctor_set(x_33, 1, x_5); -return x_33; -} -else -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; -x_34 = lean_ctor_get(x_32, 0); -lean_inc(x_34); -lean_dec(x_32); -x_35 = l___private_Init_Lean_TypeUtil_5__useZeta___rarg(x_4, x_5); -x_36 = lean_ctor_get(x_35, 0); -lean_inc(x_36); -x_37 = lean_unbox(x_36); -lean_dec(x_36); -if (x_37 == 0) -{ -uint8_t x_38; -lean_dec(x_34); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_38 = !lean_is_exclusive(x_35); -if (x_38 == 0) -{ -lean_object* x_39; -x_39 = lean_ctor_get(x_35, 0); -lean_dec(x_39); -lean_ctor_set(x_35, 0, x_2); -return x_35; -} -else -{ -lean_object* x_40; lean_object* x_41; -x_40 = lean_ctor_get(x_35, 1); -lean_inc(x_40); -lean_dec(x_35); -x_41 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_41, 0, x_2); -lean_ctor_set(x_41, 1, x_40); -return x_41; -} -} -else -{ -lean_object* x_42; -lean_dec(x_2); -x_42 = lean_ctor_get(x_35, 1); -lean_inc(x_42); -lean_dec(x_35); -x_2 = x_34; -x_5 = x_42; -goto _start; -} -} -} -} -case 2: -{ -lean_object* x_44; lean_object* x_45; uint8_t x_46; -x_44 = lean_ctor_get(x_2, 0); -lean_inc(x_44); -x_45 = l___private_Init_Lean_TypeUtil_3__getMCtx___rarg(x_5); -x_46 = !lean_is_exclusive(x_45); -if (x_46 == 0) -{ -lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; -x_47 = lean_ctor_get(x_45, 0); -x_48 = lean_ctor_get(x_45, 1); -x_49 = lean_ctor_get(x_1, 5); -lean_inc(x_49); -x_50 = lean_apply_2(x_49, x_47, x_44); -if (lean_obj_tag(x_50) == 0) -{ -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -lean_ctor_set(x_45, 0, x_2); -return x_45; -} -else -{ -lean_object* x_51; -lean_free_object(x_45); -lean_dec(x_2); -x_51 = lean_ctor_get(x_50, 0); -lean_inc(x_51); -lean_dec(x_50); -x_2 = x_51; -x_5 = x_48; -goto _start; -} -} -else -{ -lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; -x_53 = lean_ctor_get(x_45, 0); -x_54 = lean_ctor_get(x_45, 1); -lean_inc(x_54); -lean_inc(x_53); -lean_dec(x_45); -x_55 = lean_ctor_get(x_1, 5); -lean_inc(x_55); -x_56 = lean_apply_2(x_55, x_53, x_44); -if (lean_obj_tag(x_56) == 0) -{ -lean_object* x_57; -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_57 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_57, 0, x_2); -lean_ctor_set(x_57, 1, x_54); -return x_57; -} -else -{ -lean_object* x_58; -lean_dec(x_2); -x_58 = lean_ctor_get(x_56, 0); -lean_inc(x_58); -lean_dec(x_56); -x_2 = x_58; -x_5 = x_54; -goto _start; -} -} -} -case 4: -{ -lean_object* x_60; -lean_dec(x_1); -x_60 = lean_apply_3(x_3, x_2, x_4, x_5); -return x_60; -} -case 5: -{ -lean_object* x_61; -lean_dec(x_1); -x_61 = lean_apply_3(x_3, x_2, x_4, x_5); -return x_61; -} -case 8: -{ -lean_object* x_62; lean_object* x_63; uint8_t x_64; -lean_dec(x_1); -x_62 = l___private_Init_Lean_TypeUtil_5__useZeta___rarg(x_4, x_5); -x_63 = lean_ctor_get(x_62, 0); -lean_inc(x_63); -x_64 = lean_unbox(x_63); -lean_dec(x_63); -if (x_64 == 0) -{ -uint8_t x_65; -lean_dec(x_4); -lean_dec(x_3); -x_65 = !lean_is_exclusive(x_62); -if (x_65 == 0) -{ -lean_object* x_66; -x_66 = lean_ctor_get(x_62, 0); -lean_dec(x_66); -lean_ctor_set(x_62, 0, x_2); -return x_62; -} -else -{ -lean_object* x_67; lean_object* x_68; -x_67 = lean_ctor_get(x_62, 1); -lean_inc(x_67); -lean_dec(x_62); -x_68 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_68, 0, x_2); -lean_ctor_set(x_68, 1, x_67); -return x_68; -} -} -else -{ -lean_object* x_69; lean_object* x_70; -x_69 = lean_ctor_get(x_62, 1); -lean_inc(x_69); -lean_dec(x_62); -x_70 = lean_apply_3(x_3, x_2, x_4, x_69); -return x_70; -} -} -case 10: -{ -lean_object* x_71; -x_71 = lean_ctor_get(x_2, 1); -lean_inc(x_71); -lean_dec(x_2); -x_2 = x_71; -goto _start; -} -case 11: -{ -lean_object* x_73; -lean_dec(x_1); -x_73 = lean_apply_3(x_3, x_2, x_4, x_5); -return x_73; -} -default: -{ -lean_object* x_74; -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_74 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_74, 0, x_2); -lean_ctor_set(x_74, 1, x_5); -return x_74; -} -} -} -} -lean_object* l___private_Init_Lean_TypeUtil_7__whnfEasyCases___main(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l___private_Init_Lean_TypeUtil_7__whnfEasyCases___main___rarg), 5, 0); -return x_3; -} -} -lean_object* l_panicWithPos___at___private_Init_Lean_TypeUtil_7__whnfEasyCases___main___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; -x_7 = l_panicWithPos___at___private_Init_Lean_TypeUtil_7__whnfEasyCases___main___spec__1___rarg(x_1, x_2, x_3, x_4, x_5, x_6); -lean_dec(x_4); -lean_dec(x_1); -return x_7; -} -} -lean_object* l___private_Init_Lean_TypeUtil_7__whnfEasyCases___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; -x_6 = l___private_Init_Lean_TypeUtil_7__whnfEasyCases___main___rarg(x_1, x_2, x_3, x_4, x_5); -return x_6; -} -} -lean_object* l___private_Init_Lean_TypeUtil_7__whnfEasyCases(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l___private_Init_Lean_TypeUtil_7__whnfEasyCases___rarg), 5, 0); -return x_3; -} -} -lean_object* l_panicWithPos___at___private_Init_Lean_TypeUtil_8__whnfCore___main___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_7 = l_panicWithPos___rarg___closed__1; -x_8 = lean_string_append(x_7, x_1); -x_9 = l_panicWithPos___rarg___closed__2; -x_10 = lean_string_append(x_8, x_9); -x_11 = l_Nat_repr(x_2); -x_12 = lean_string_append(x_10, x_11); -lean_dec(x_11); -x_13 = l_panicWithPos___rarg___closed__2; -x_14 = lean_string_append(x_12, x_13); -x_15 = l_Nat_repr(x_3); -x_16 = lean_string_append(x_14, x_15); -lean_dec(x_15); -x_17 = l_panicWithPos___rarg___closed__3; -x_18 = lean_string_append(x_16, x_17); -x_19 = lean_string_append(x_18, x_4); -x_20 = l_panicWithPos___at___private_Init_Lean_TypeUtil_7__whnfEasyCases___main___spec__1___rarg___closed__2; -x_21 = lean_panic_fn(x_19); -x_22 = lean_apply_2(x_21, x_5, x_6); -return x_22; -} -} -lean_object* l_panicWithPos___at___private_Init_Lean_TypeUtil_8__whnfCore___main___spec__1(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_panicWithPos___at___private_Init_Lean_TypeUtil_8__whnfCore___main___spec__1___rarg___boxed), 6, 0); -return x_3; -} -} -lean_object* l_Lean_reduceQuotRecAux___at___private_Init_Lean_TypeUtil_8__whnfCore___main___spec__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -lean_object* x_14; lean_object* x_15; uint8_t x_119; lean_object* x_120; -x_119 = lean_ctor_get_uint8(x_9, sizeof(void*)*1); -x_120 = lean_box(x_119); -switch (lean_obj_tag(x_120)) { -case 2: -{ -lean_object* x_121; lean_object* x_122; -x_121 = lean_unsigned_to_nat(5u); -x_122 = lean_unsigned_to_nat(3u); -x_14 = x_121; -x_15 = x_122; -goto block_118; -} -case 3: -{ -lean_object* x_123; lean_object* x_124; -x_123 = lean_unsigned_to_nat(4u); -x_124 = lean_unsigned_to_nat(3u); -x_14 = x_123; -x_15 = x_124; -goto block_118; -} -default: -{ -uint8_t x_125; -lean_dec(x_120); -lean_dec(x_12); -lean_dec(x_8); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_125 = lean_expr_eqv(x_6, x_7); -if (x_125 == 0) -{ -lean_object* x_126; lean_object* x_127; -x_126 = l_Lean_Expr_updateFn___main(x_5, x_7); -x_127 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_127, 0, x_126); -lean_ctor_set(x_127, 1, x_13); -return x_127; -} -else -{ -lean_object* x_128; -x_128 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_128, 0, x_5); -lean_ctor_set(x_128, 1, x_13); -return x_128; -} -} -} -block_118: -{ -lean_object* x_16; uint8_t x_17; -x_16 = lean_array_get_size(x_11); -x_17 = lean_nat_dec_lt(x_14, x_16); -if (x_17 == 0) -{ -uint8_t x_18; -lean_dec(x_16); -lean_dec(x_12); -lean_dec(x_8); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_18 = lean_expr_eqv(x_6, x_7); -if (x_18 == 0) -{ -lean_object* x_19; lean_object* x_20; -x_19 = l_Lean_Expr_updateFn___main(x_5, x_7); -x_20 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_20, 0, x_19); -lean_ctor_set(x_20, 1, x_13); -return x_20; -} -else -{ -lean_object* x_21; -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_5); -lean_ctor_set(x_21, 1, x_13); -return x_21; -} -} -else -{ -lean_object* x_22; lean_object* x_23; -x_22 = lean_array_fget(x_11, x_14); -lean_inc(x_2); -lean_inc(x_12); -x_23 = lean_apply_3(x_2, x_22, x_12, x_13); -if (lean_obj_tag(x_23) == 0) -{ -lean_object* x_24; -x_24 = lean_ctor_get(x_23, 0); -lean_inc(x_24); -if (lean_obj_tag(x_24) == 5) -{ -lean_object* x_25; -x_25 = lean_ctor_get(x_24, 0); -lean_inc(x_25); -if (lean_obj_tag(x_25) == 5) -{ -lean_object* x_26; -x_26 = lean_ctor_get(x_25, 0); -lean_inc(x_26); -lean_dec(x_25); -if (lean_obj_tag(x_26) == 5) -{ -lean_object* x_27; -x_27 = lean_ctor_get(x_26, 0); -lean_inc(x_27); -lean_dec(x_26); -if (lean_obj_tag(x_27) == 4) -{ -uint8_t x_28; -x_28 = !lean_is_exclusive(x_23); -if (x_28 == 0) -{ -lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_29 = lean_ctor_get(x_23, 1); -x_30 = lean_ctor_get(x_23, 0); -lean_dec(x_30); -x_31 = lean_ctor_get(x_24, 1); -lean_inc(x_31); -lean_dec(x_24); -x_32 = lean_ctor_get(x_27, 0); -lean_inc(x_32); -lean_dec(x_27); -x_33 = lean_environment_find(x_8, x_32); -if (lean_obj_tag(x_33) == 0) -{ -uint8_t x_34; -lean_dec(x_31); -lean_dec(x_16); -lean_dec(x_12); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_34 = lean_expr_eqv(x_6, x_7); -if (x_34 == 0) -{ -lean_object* x_35; -x_35 = l_Lean_Expr_updateFn___main(x_5, x_7); -lean_ctor_set(x_23, 0, x_35); -return x_23; -} -else -{ -lean_ctor_set(x_23, 0, x_5); -return x_23; -} -} -else -{ -lean_object* x_36; -x_36 = lean_ctor_get(x_33, 0); -lean_inc(x_36); -lean_dec(x_33); -if (lean_obj_tag(x_36) == 4) -{ -lean_object* x_37; uint8_t x_38; lean_object* x_39; -x_37 = lean_ctor_get(x_36, 0); -lean_inc(x_37); -lean_dec(x_36); -x_38 = lean_ctor_get_uint8(x_37, sizeof(void*)*1); -lean_dec(x_37); -x_39 = lean_box(x_38); -if (lean_obj_tag(x_39) == 1) -{ -lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; -lean_free_object(x_23); -lean_dec(x_5); -x_40 = l_Lean_exprIsInhabited; -x_41 = lean_array_get(x_40, x_11, x_15); -x_42 = lean_expr_mk_app(x_41, x_31); -x_43 = lean_unsigned_to_nat(1u); -x_44 = lean_nat_add(x_14, x_43); -x_45 = l___private_Init_Lean_Expr_1__mkAppRangeAux___main(x_16, x_11, x_44, x_42); -lean_dec(x_16); -x_46 = l___private_Init_Lean_TypeUtil_7__whnfEasyCases___main___at___private_Init_Lean_TypeUtil_8__whnfCore___main___spec__5___rarg(x_1, x_2, x_3, x_4, x_45, x_12, x_29); -return x_46; -} -else -{ -uint8_t x_47; -lean_dec(x_39); -lean_dec(x_31); -lean_dec(x_16); -lean_dec(x_12); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_47 = lean_expr_eqv(x_6, x_7); -if (x_47 == 0) -{ -lean_object* x_48; -x_48 = l_Lean_Expr_updateFn___main(x_5, x_7); -lean_ctor_set(x_23, 0, x_48); -return x_23; -} -else -{ -lean_ctor_set(x_23, 0, x_5); -return x_23; -} -} -} -else -{ -uint8_t x_49; -lean_dec(x_36); -lean_dec(x_31); -lean_dec(x_16); -lean_dec(x_12); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_49 = lean_expr_eqv(x_6, x_7); -if (x_49 == 0) -{ -lean_object* x_50; -x_50 = l_Lean_Expr_updateFn___main(x_5, x_7); -lean_ctor_set(x_23, 0, x_50); -return x_23; -} -else -{ -lean_ctor_set(x_23, 0, x_5); -return x_23; -} -} -} -} -else -{ -lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; -x_51 = lean_ctor_get(x_23, 1); -lean_inc(x_51); -lean_dec(x_23); -x_52 = lean_ctor_get(x_24, 1); -lean_inc(x_52); -lean_dec(x_24); -x_53 = lean_ctor_get(x_27, 0); -lean_inc(x_53); -lean_dec(x_27); -x_54 = lean_environment_find(x_8, x_53); -if (lean_obj_tag(x_54) == 0) -{ -uint8_t x_55; -lean_dec(x_52); -lean_dec(x_16); -lean_dec(x_12); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_55 = lean_expr_eqv(x_6, x_7); -if (x_55 == 0) -{ -lean_object* x_56; lean_object* x_57; -x_56 = l_Lean_Expr_updateFn___main(x_5, x_7); -x_57 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_57, 0, x_56); -lean_ctor_set(x_57, 1, x_51); -return x_57; -} -else -{ -lean_object* x_58; -x_58 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_58, 0, x_5); -lean_ctor_set(x_58, 1, x_51); -return x_58; -} -} -else -{ -lean_object* x_59; -x_59 = lean_ctor_get(x_54, 0); -lean_inc(x_59); -lean_dec(x_54); -if (lean_obj_tag(x_59) == 4) -{ -lean_object* x_60; uint8_t x_61; lean_object* x_62; -x_60 = lean_ctor_get(x_59, 0); -lean_inc(x_60); -lean_dec(x_59); -x_61 = lean_ctor_get_uint8(x_60, sizeof(void*)*1); -lean_dec(x_60); -x_62 = lean_box(x_61); -if (lean_obj_tag(x_62) == 1) -{ -lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; -lean_dec(x_5); -x_63 = l_Lean_exprIsInhabited; -x_64 = lean_array_get(x_63, x_11, x_15); -x_65 = lean_expr_mk_app(x_64, x_52); -x_66 = lean_unsigned_to_nat(1u); -x_67 = lean_nat_add(x_14, x_66); -x_68 = l___private_Init_Lean_Expr_1__mkAppRangeAux___main(x_16, x_11, x_67, x_65); -lean_dec(x_16); -x_69 = l___private_Init_Lean_TypeUtil_7__whnfEasyCases___main___at___private_Init_Lean_TypeUtil_8__whnfCore___main___spec__5___rarg(x_1, x_2, x_3, x_4, x_68, x_12, x_51); -return x_69; -} -else -{ -uint8_t x_70; -lean_dec(x_62); -lean_dec(x_52); -lean_dec(x_16); -lean_dec(x_12); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_70 = lean_expr_eqv(x_6, x_7); -if (x_70 == 0) -{ -lean_object* x_71; lean_object* x_72; -x_71 = l_Lean_Expr_updateFn___main(x_5, x_7); -x_72 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_72, 0, x_71); -lean_ctor_set(x_72, 1, x_51); -return x_72; -} -else -{ -lean_object* x_73; -x_73 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_73, 0, x_5); -lean_ctor_set(x_73, 1, x_51); -return x_73; -} -} -} -else -{ -uint8_t x_74; -lean_dec(x_59); -lean_dec(x_52); -lean_dec(x_16); -lean_dec(x_12); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_74 = lean_expr_eqv(x_6, x_7); -if (x_74 == 0) -{ -lean_object* x_75; lean_object* x_76; -x_75 = l_Lean_Expr_updateFn___main(x_5, x_7); -x_76 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_76, 0, x_75); -lean_ctor_set(x_76, 1, x_51); -return x_76; -} -else -{ -lean_object* x_77; -x_77 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_77, 0, x_5); -lean_ctor_set(x_77, 1, x_51); -return x_77; -} -} -} -} -} -else -{ -uint8_t x_78; -lean_dec(x_27); -lean_dec(x_24); -lean_dec(x_16); -lean_dec(x_12); -lean_dec(x_8); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_78 = !lean_is_exclusive(x_23); -if (x_78 == 0) -{ -lean_object* x_79; uint8_t x_80; -x_79 = lean_ctor_get(x_23, 0); -lean_dec(x_79); -x_80 = lean_expr_eqv(x_6, x_7); -if (x_80 == 0) -{ -lean_object* x_81; -x_81 = l_Lean_Expr_updateFn___main(x_5, x_7); -lean_ctor_set(x_23, 0, x_81); -return x_23; -} -else -{ -lean_ctor_set(x_23, 0, x_5); -return x_23; -} -} -else -{ -lean_object* x_82; uint8_t x_83; -x_82 = lean_ctor_get(x_23, 1); -lean_inc(x_82); -lean_dec(x_23); -x_83 = lean_expr_eqv(x_6, x_7); -if (x_83 == 0) -{ -lean_object* x_84; lean_object* x_85; -x_84 = l_Lean_Expr_updateFn___main(x_5, x_7); -x_85 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_85, 0, x_84); -lean_ctor_set(x_85, 1, x_82); -return x_85; -} -else -{ -lean_object* x_86; -x_86 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_86, 0, x_5); -lean_ctor_set(x_86, 1, x_82); -return x_86; -} -} -} -} -else -{ -uint8_t x_87; -lean_dec(x_26); -lean_dec(x_24); -lean_dec(x_16); -lean_dec(x_12); -lean_dec(x_8); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_87 = !lean_is_exclusive(x_23); -if (x_87 == 0) -{ -lean_object* x_88; uint8_t x_89; -x_88 = lean_ctor_get(x_23, 0); -lean_dec(x_88); -x_89 = lean_expr_eqv(x_6, x_7); -if (x_89 == 0) -{ -lean_object* x_90; -x_90 = l_Lean_Expr_updateFn___main(x_5, x_7); -lean_ctor_set(x_23, 0, x_90); -return x_23; -} -else -{ -lean_ctor_set(x_23, 0, x_5); -return x_23; -} -} -else -{ -lean_object* x_91; uint8_t x_92; -x_91 = lean_ctor_get(x_23, 1); -lean_inc(x_91); -lean_dec(x_23); -x_92 = lean_expr_eqv(x_6, x_7); -if (x_92 == 0) -{ -lean_object* x_93; lean_object* x_94; -x_93 = l_Lean_Expr_updateFn___main(x_5, x_7); -x_94 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_94, 0, x_93); -lean_ctor_set(x_94, 1, x_91); -return x_94; -} -else -{ -lean_object* x_95; -x_95 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_95, 0, x_5); -lean_ctor_set(x_95, 1, x_91); -return x_95; -} -} -} -} -else -{ -uint8_t x_96; -lean_dec(x_25); -lean_dec(x_24); -lean_dec(x_16); -lean_dec(x_12); -lean_dec(x_8); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_96 = !lean_is_exclusive(x_23); -if (x_96 == 0) -{ -lean_object* x_97; uint8_t x_98; -x_97 = lean_ctor_get(x_23, 0); -lean_dec(x_97); -x_98 = lean_expr_eqv(x_6, x_7); -if (x_98 == 0) -{ -lean_object* x_99; -x_99 = l_Lean_Expr_updateFn___main(x_5, x_7); -lean_ctor_set(x_23, 0, x_99); -return x_23; -} -else -{ -lean_ctor_set(x_23, 0, x_5); -return x_23; -} -} -else -{ -lean_object* x_100; uint8_t x_101; -x_100 = lean_ctor_get(x_23, 1); -lean_inc(x_100); -lean_dec(x_23); -x_101 = lean_expr_eqv(x_6, x_7); -if (x_101 == 0) -{ -lean_object* x_102; lean_object* x_103; -x_102 = l_Lean_Expr_updateFn___main(x_5, x_7); -x_103 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_103, 0, x_102); -lean_ctor_set(x_103, 1, x_100); -return x_103; -} -else -{ -lean_object* x_104; -x_104 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_104, 0, x_5); -lean_ctor_set(x_104, 1, x_100); -return x_104; -} -} -} -} -else -{ -uint8_t x_105; -lean_dec(x_24); -lean_dec(x_16); -lean_dec(x_12); -lean_dec(x_8); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_105 = !lean_is_exclusive(x_23); -if (x_105 == 0) -{ -lean_object* x_106; uint8_t x_107; -x_106 = lean_ctor_get(x_23, 0); -lean_dec(x_106); -x_107 = lean_expr_eqv(x_6, x_7); -if (x_107 == 0) -{ -lean_object* x_108; -x_108 = l_Lean_Expr_updateFn___main(x_5, x_7); -lean_ctor_set(x_23, 0, x_108); -return x_23; -} -else -{ -lean_ctor_set(x_23, 0, x_5); -return x_23; -} -} -else -{ -lean_object* x_109; uint8_t x_110; -x_109 = lean_ctor_get(x_23, 1); -lean_inc(x_109); -lean_dec(x_23); -x_110 = lean_expr_eqv(x_6, x_7); -if (x_110 == 0) -{ -lean_object* x_111; lean_object* x_112; -x_111 = l_Lean_Expr_updateFn___main(x_5, x_7); -x_112 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_112, 0, x_111); -lean_ctor_set(x_112, 1, x_109); -return x_112; -} -else -{ -lean_object* x_113; -x_113 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_113, 0, x_5); -lean_ctor_set(x_113, 1, x_109); -return x_113; -} -} -} -} -else -{ -uint8_t x_114; -lean_dec(x_16); -lean_dec(x_12); -lean_dec(x_8); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_114 = !lean_is_exclusive(x_23); -if (x_114 == 0) -{ -return x_23; -} -else -{ -lean_object* x_115; lean_object* x_116; lean_object* x_117; -x_115 = lean_ctor_get(x_23, 0); -x_116 = lean_ctor_get(x_23, 1); -lean_inc(x_116); -lean_inc(x_115); -lean_dec(x_23); -x_117 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_117, 0, x_115); -lean_ctor_set(x_117, 1, x_116); -return x_117; -} -} -} -} -} -} -lean_object* l_Lean_reduceQuotRecAux___at___private_Init_Lean_TypeUtil_8__whnfCore___main___spec__2(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Lean_reduceQuotRecAux___at___private_Init_Lean_TypeUtil_8__whnfCore___main___spec__2___rarg___boxed), 13, 0); -return x_3; -} -} -lean_object* l___private_Init_Lean_InductiveUtil_5__toCtorWhenK___at___private_Init_Lean_TypeUtil_8__whnfCore___main___spec__4___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; -lean_inc(x_2); -lean_inc(x_7); -x_9 = lean_apply_3(x_2, x_6, x_7, x_8); -if (lean_obj_tag(x_9) == 0) -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_10 = lean_ctor_get(x_9, 0); -lean_inc(x_10); -x_11 = lean_ctor_get(x_9, 1); -lean_inc(x_11); -lean_dec(x_9); -lean_inc(x_7); -x_12 = lean_apply_3(x_1, x_10, x_7, x_11); -if (lean_obj_tag(x_12) == 0) -{ -uint8_t x_13; -x_13 = !lean_is_exclusive(x_12); -if (x_13 == 0) -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; -x_14 = lean_ctor_get(x_12, 0); -x_15 = lean_ctor_get(x_12, 1); -x_16 = l_Lean_Expr_getAppFn___main(x_14); -x_17 = l_Lean_RecursorVal_getInduct(x_5); -x_18 = l_Lean_Expr_isConstOf(x_16, x_17); -lean_dec(x_17); -lean_dec(x_16); -if (x_18 == 0) -{ -lean_object* x_19; -lean_dec(x_14); -lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_19 = lean_box(0); -lean_ctor_set(x_12, 0, x_19); -return x_12; -} -else -{ -uint8_t x_20; -x_20 = lean_expr_has_expr_mvar(x_14); -if (x_20 == 0) -{ -lean_object* x_21; lean_object* x_22; -x_21 = lean_ctor_get(x_5, 2); -lean_inc(x_21); -lean_dec(x_5); -lean_inc(x_14); -x_22 = l___private_Init_Lean_InductiveUtil_2__mkNullaryCtor(x_4, x_14, x_21); -lean_dec(x_21); -if (lean_obj_tag(x_22) == 0) -{ -lean_dec(x_14); -lean_dec(x_7); -lean_dec(x_3); -lean_dec(x_2); -lean_ctor_set(x_12, 0, x_22); -return x_12; -} -else -{ -uint8_t x_23; -lean_free_object(x_12); -x_23 = !lean_is_exclusive(x_22); -if (x_23 == 0) -{ -lean_object* x_24; lean_object* x_25; -x_24 = lean_ctor_get(x_22, 0); -lean_inc(x_7); -lean_inc(x_24); -x_25 = lean_apply_3(x_2, x_24, x_7, x_15); -if (lean_obj_tag(x_25) == 0) -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_26 = lean_ctor_get(x_25, 0); -lean_inc(x_26); -x_27 = lean_ctor_get(x_25, 1); -lean_inc(x_27); -lean_dec(x_25); -x_28 = lean_apply_4(x_3, x_14, x_26, x_7, x_27); -if (lean_obj_tag(x_28) == 0) -{ -lean_object* x_29; uint8_t x_30; -x_29 = lean_ctor_get(x_28, 0); -lean_inc(x_29); -x_30 = lean_unbox(x_29); -lean_dec(x_29); -if (x_30 == 0) -{ -uint8_t x_31; -lean_free_object(x_22); -lean_dec(x_24); -x_31 = !lean_is_exclusive(x_28); -if (x_31 == 0) -{ -lean_object* x_32; lean_object* x_33; -x_32 = lean_ctor_get(x_28, 0); -lean_dec(x_32); -x_33 = lean_box(0); -lean_ctor_set(x_28, 0, x_33); -return x_28; -} -else -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_34 = lean_ctor_get(x_28, 1); -lean_inc(x_34); -lean_dec(x_28); -x_35 = lean_box(0); -x_36 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_34); -return x_36; -} -} -else -{ -uint8_t x_37; -x_37 = !lean_is_exclusive(x_28); -if (x_37 == 0) -{ -lean_object* x_38; -x_38 = lean_ctor_get(x_28, 0); -lean_dec(x_38); -lean_ctor_set(x_28, 0, x_22); -return x_28; -} -else -{ -lean_object* x_39; lean_object* x_40; -x_39 = lean_ctor_get(x_28, 1); -lean_inc(x_39); -lean_dec(x_28); -x_40 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_40, 0, x_22); -lean_ctor_set(x_40, 1, x_39); -return x_40; -} -} -} -else -{ -uint8_t x_41; -lean_free_object(x_22); -lean_dec(x_24); -x_41 = !lean_is_exclusive(x_28); -if (x_41 == 0) -{ -return x_28; -} -else -{ -lean_object* x_42; lean_object* x_43; lean_object* x_44; -x_42 = lean_ctor_get(x_28, 0); -x_43 = lean_ctor_get(x_28, 1); -lean_inc(x_43); -lean_inc(x_42); -lean_dec(x_28); -x_44 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_44, 0, x_42); -lean_ctor_set(x_44, 1, x_43); -return x_44; -} -} -} -else -{ -uint8_t x_45; -lean_free_object(x_22); -lean_dec(x_24); -lean_dec(x_14); -lean_dec(x_7); -lean_dec(x_3); -x_45 = !lean_is_exclusive(x_25); -if (x_45 == 0) -{ -return x_25; -} -else -{ -lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_46 = lean_ctor_get(x_25, 0); -x_47 = lean_ctor_get(x_25, 1); -lean_inc(x_47); -lean_inc(x_46); -lean_dec(x_25); -x_48 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_48, 0, x_46); -lean_ctor_set(x_48, 1, x_47); -return x_48; -} -} -} -else -{ -lean_object* x_49; lean_object* x_50; -x_49 = lean_ctor_get(x_22, 0); -lean_inc(x_49); -lean_dec(x_22); -lean_inc(x_7); -lean_inc(x_49); -x_50 = lean_apply_3(x_2, x_49, x_7, x_15); -if (lean_obj_tag(x_50) == 0) -{ -lean_object* x_51; lean_object* x_52; lean_object* x_53; -x_51 = lean_ctor_get(x_50, 0); -lean_inc(x_51); -x_52 = lean_ctor_get(x_50, 1); -lean_inc(x_52); -lean_dec(x_50); -x_53 = lean_apply_4(x_3, x_14, x_51, x_7, x_52); -if (lean_obj_tag(x_53) == 0) -{ -lean_object* x_54; uint8_t x_55; -x_54 = lean_ctor_get(x_53, 0); -lean_inc(x_54); -x_55 = lean_unbox(x_54); -lean_dec(x_54); -if (x_55 == 0) -{ -lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; -lean_dec(x_49); -x_56 = lean_ctor_get(x_53, 1); -lean_inc(x_56); -if (lean_is_exclusive(x_53)) { - lean_ctor_release(x_53, 0); - lean_ctor_release(x_53, 1); - x_57 = x_53; -} else { - lean_dec_ref(x_53); - x_57 = lean_box(0); -} -x_58 = lean_box(0); -if (lean_is_scalar(x_57)) { - x_59 = lean_alloc_ctor(0, 2, 0); -} else { - x_59 = x_57; -} -lean_ctor_set(x_59, 0, x_58); -lean_ctor_set(x_59, 1, x_56); -return x_59; -} -else -{ -lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; -x_60 = lean_ctor_get(x_53, 1); -lean_inc(x_60); -if (lean_is_exclusive(x_53)) { - lean_ctor_release(x_53, 0); - lean_ctor_release(x_53, 1); - x_61 = x_53; -} else { - lean_dec_ref(x_53); - x_61 = lean_box(0); -} -x_62 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_62, 0, x_49); -if (lean_is_scalar(x_61)) { - x_63 = lean_alloc_ctor(0, 2, 0); -} else { - x_63 = x_61; -} -lean_ctor_set(x_63, 0, x_62); -lean_ctor_set(x_63, 1, x_60); -return x_63; -} -} -else -{ -lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; -lean_dec(x_49); -x_64 = lean_ctor_get(x_53, 0); -lean_inc(x_64); -x_65 = lean_ctor_get(x_53, 1); -lean_inc(x_65); -if (lean_is_exclusive(x_53)) { - lean_ctor_release(x_53, 0); - lean_ctor_release(x_53, 1); - x_66 = x_53; -} else { - lean_dec_ref(x_53); - x_66 = lean_box(0); -} -if (lean_is_scalar(x_66)) { - x_67 = lean_alloc_ctor(1, 2, 0); -} else { - x_67 = x_66; -} -lean_ctor_set(x_67, 0, x_64); -lean_ctor_set(x_67, 1, x_65); -return x_67; -} -} -else -{ -lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; -lean_dec(x_49); -lean_dec(x_14); -lean_dec(x_7); -lean_dec(x_3); -x_68 = lean_ctor_get(x_50, 0); -lean_inc(x_68); -x_69 = lean_ctor_get(x_50, 1); -lean_inc(x_69); -if (lean_is_exclusive(x_50)) { - lean_ctor_release(x_50, 0); - lean_ctor_release(x_50, 1); - x_70 = x_50; -} else { - lean_dec_ref(x_50); - x_70 = lean_box(0); -} -if (lean_is_scalar(x_70)) { - x_71 = lean_alloc_ctor(1, 2, 0); -} else { - x_71 = x_70; -} -lean_ctor_set(x_71, 0, x_68); -lean_ctor_set(x_71, 1, x_69); -return x_71; -} -} -} -} -else -{ -lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; uint8_t x_80; -x_72 = lean_unsigned_to_nat(0u); -x_73 = l_Lean_Expr_getAppNumArgsAux___main(x_14, x_72); -x_74 = l_Lean_exprIsInhabited___closed__1; -lean_inc(x_73); -x_75 = lean_mk_array(x_73, x_74); -x_76 = lean_unsigned_to_nat(1u); -x_77 = lean_nat_sub(x_73, x_76); -lean_dec(x_73); -lean_inc(x_14); -x_78 = l___private_Init_Lean_Expr_2__getAppArgsAux___main(x_14, x_75, x_77); -x_79 = lean_ctor_get(x_5, 2); -lean_inc(x_79); -lean_dec(x_5); -lean_inc(x_79); -x_80 = l_Array_anyMAux___main___at___private_Init_Lean_InductiveUtil_5__toCtorWhenK___spec__1(x_78, x_79); -lean_dec(x_78); -if (x_80 == 0) -{ -lean_object* x_81; -lean_inc(x_14); -x_81 = l___private_Init_Lean_InductiveUtil_2__mkNullaryCtor(x_4, x_14, x_79); -lean_dec(x_79); -if (lean_obj_tag(x_81) == 0) -{ -lean_dec(x_14); -lean_dec(x_7); -lean_dec(x_3); -lean_dec(x_2); -lean_ctor_set(x_12, 0, x_81); -return x_12; -} -else -{ -uint8_t x_82; -lean_free_object(x_12); -x_82 = !lean_is_exclusive(x_81); -if (x_82 == 0) -{ -lean_object* x_83; lean_object* x_84; -x_83 = lean_ctor_get(x_81, 0); -lean_inc(x_7); -lean_inc(x_83); -x_84 = lean_apply_3(x_2, x_83, x_7, x_15); -if (lean_obj_tag(x_84) == 0) -{ -lean_object* x_85; lean_object* x_86; lean_object* x_87; -x_85 = lean_ctor_get(x_84, 0); -lean_inc(x_85); -x_86 = lean_ctor_get(x_84, 1); -lean_inc(x_86); -lean_dec(x_84); -x_87 = lean_apply_4(x_3, x_14, x_85, x_7, x_86); -if (lean_obj_tag(x_87) == 0) -{ -lean_object* x_88; uint8_t x_89; -x_88 = lean_ctor_get(x_87, 0); -lean_inc(x_88); -x_89 = lean_unbox(x_88); -lean_dec(x_88); -if (x_89 == 0) -{ -uint8_t x_90; -lean_free_object(x_81); -lean_dec(x_83); -x_90 = !lean_is_exclusive(x_87); -if (x_90 == 0) -{ -lean_object* x_91; lean_object* x_92; -x_91 = lean_ctor_get(x_87, 0); -lean_dec(x_91); -x_92 = lean_box(0); -lean_ctor_set(x_87, 0, x_92); -return x_87; -} -else -{ -lean_object* x_93; lean_object* x_94; lean_object* x_95; -x_93 = lean_ctor_get(x_87, 1); -lean_inc(x_93); -lean_dec(x_87); -x_94 = lean_box(0); -x_95 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_95, 0, x_94); -lean_ctor_set(x_95, 1, x_93); -return x_95; -} -} -else -{ -uint8_t x_96; -x_96 = !lean_is_exclusive(x_87); -if (x_96 == 0) -{ -lean_object* x_97; -x_97 = lean_ctor_get(x_87, 0); -lean_dec(x_97); -lean_ctor_set(x_87, 0, x_81); -return x_87; -} -else -{ -lean_object* x_98; lean_object* x_99; -x_98 = lean_ctor_get(x_87, 1); -lean_inc(x_98); -lean_dec(x_87); -x_99 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_99, 0, x_81); -lean_ctor_set(x_99, 1, x_98); -return x_99; -} -} -} -else -{ -uint8_t x_100; -lean_free_object(x_81); -lean_dec(x_83); -x_100 = !lean_is_exclusive(x_87); -if (x_100 == 0) -{ -return x_87; -} -else -{ -lean_object* x_101; lean_object* x_102; lean_object* x_103; -x_101 = lean_ctor_get(x_87, 0); -x_102 = lean_ctor_get(x_87, 1); -lean_inc(x_102); -lean_inc(x_101); -lean_dec(x_87); -x_103 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_103, 0, x_101); -lean_ctor_set(x_103, 1, x_102); -return x_103; -} -} -} -else -{ -uint8_t x_104; -lean_free_object(x_81); -lean_dec(x_83); -lean_dec(x_14); -lean_dec(x_7); -lean_dec(x_3); -x_104 = !lean_is_exclusive(x_84); -if (x_104 == 0) -{ -return x_84; -} -else -{ -lean_object* x_105; lean_object* x_106; lean_object* x_107; -x_105 = lean_ctor_get(x_84, 0); -x_106 = lean_ctor_get(x_84, 1); -lean_inc(x_106); -lean_inc(x_105); -lean_dec(x_84); -x_107 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_107, 0, x_105); -lean_ctor_set(x_107, 1, x_106); -return x_107; -} -} -} -else -{ -lean_object* x_108; lean_object* x_109; -x_108 = lean_ctor_get(x_81, 0); -lean_inc(x_108); -lean_dec(x_81); -lean_inc(x_7); -lean_inc(x_108); -x_109 = lean_apply_3(x_2, x_108, x_7, x_15); -if (lean_obj_tag(x_109) == 0) -{ -lean_object* x_110; lean_object* x_111; lean_object* x_112; -x_110 = lean_ctor_get(x_109, 0); -lean_inc(x_110); -x_111 = lean_ctor_get(x_109, 1); -lean_inc(x_111); -lean_dec(x_109); -x_112 = lean_apply_4(x_3, x_14, x_110, x_7, x_111); -if (lean_obj_tag(x_112) == 0) -{ -lean_object* x_113; uint8_t x_114; -x_113 = lean_ctor_get(x_112, 0); -lean_inc(x_113); -x_114 = lean_unbox(x_113); -lean_dec(x_113); -if (x_114 == 0) -{ -lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; -lean_dec(x_108); -x_115 = lean_ctor_get(x_112, 1); -lean_inc(x_115); -if (lean_is_exclusive(x_112)) { - lean_ctor_release(x_112, 0); - lean_ctor_release(x_112, 1); - x_116 = x_112; -} else { - lean_dec_ref(x_112); - x_116 = lean_box(0); -} -x_117 = lean_box(0); -if (lean_is_scalar(x_116)) { - x_118 = lean_alloc_ctor(0, 2, 0); -} else { - x_118 = x_116; -} -lean_ctor_set(x_118, 0, x_117); -lean_ctor_set(x_118, 1, x_115); -return x_118; -} -else -{ -lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; -x_119 = lean_ctor_get(x_112, 1); -lean_inc(x_119); -if (lean_is_exclusive(x_112)) { - lean_ctor_release(x_112, 0); - lean_ctor_release(x_112, 1); - x_120 = x_112; -} else { - lean_dec_ref(x_112); - x_120 = lean_box(0); -} -x_121 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_121, 0, x_108); -if (lean_is_scalar(x_120)) { - x_122 = lean_alloc_ctor(0, 2, 0); -} else { - x_122 = x_120; -} -lean_ctor_set(x_122, 0, x_121); -lean_ctor_set(x_122, 1, x_119); -return x_122; -} -} -else -{ -lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; -lean_dec(x_108); -x_123 = lean_ctor_get(x_112, 0); -lean_inc(x_123); -x_124 = lean_ctor_get(x_112, 1); -lean_inc(x_124); -if (lean_is_exclusive(x_112)) { - lean_ctor_release(x_112, 0); - lean_ctor_release(x_112, 1); - x_125 = x_112; -} else { - lean_dec_ref(x_112); - x_125 = lean_box(0); -} -if (lean_is_scalar(x_125)) { - x_126 = lean_alloc_ctor(1, 2, 0); -} else { - x_126 = x_125; -} -lean_ctor_set(x_126, 0, x_123); -lean_ctor_set(x_126, 1, x_124); -return x_126; -} -} -else -{ -lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; -lean_dec(x_108); -lean_dec(x_14); -lean_dec(x_7); -lean_dec(x_3); -x_127 = lean_ctor_get(x_109, 0); -lean_inc(x_127); -x_128 = lean_ctor_get(x_109, 1); -lean_inc(x_128); -if (lean_is_exclusive(x_109)) { - lean_ctor_release(x_109, 0); - lean_ctor_release(x_109, 1); - x_129 = x_109; -} else { - lean_dec_ref(x_109); - x_129 = lean_box(0); -} -if (lean_is_scalar(x_129)) { - x_130 = lean_alloc_ctor(1, 2, 0); -} else { - x_130 = x_129; -} -lean_ctor_set(x_130, 0, x_127); -lean_ctor_set(x_130, 1, x_128); -return x_130; -} -} -} -} -else -{ -lean_object* x_131; -lean_dec(x_79); -lean_dec(x_14); -lean_dec(x_7); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_131 = lean_box(0); -lean_ctor_set(x_12, 0, x_131); -return x_12; -} -} -} -} -else -{ -lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; uint8_t x_136; -x_132 = lean_ctor_get(x_12, 0); -x_133 = lean_ctor_get(x_12, 1); -lean_inc(x_133); -lean_inc(x_132); -lean_dec(x_12); -x_134 = l_Lean_Expr_getAppFn___main(x_132); -x_135 = l_Lean_RecursorVal_getInduct(x_5); -x_136 = l_Lean_Expr_isConstOf(x_134, x_135); -lean_dec(x_135); -lean_dec(x_134); -if (x_136 == 0) -{ -lean_object* x_137; lean_object* x_138; -lean_dec(x_132); -lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_137 = lean_box(0); -x_138 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_138, 0, x_137); -lean_ctor_set(x_138, 1, x_133); -return x_138; -} -else -{ -uint8_t x_139; -x_139 = lean_expr_has_expr_mvar(x_132); -if (x_139 == 0) -{ -lean_object* x_140; lean_object* x_141; -x_140 = lean_ctor_get(x_5, 2); -lean_inc(x_140); -lean_dec(x_5); -lean_inc(x_132); -x_141 = l___private_Init_Lean_InductiveUtil_2__mkNullaryCtor(x_4, x_132, x_140); -lean_dec(x_140); -if (lean_obj_tag(x_141) == 0) -{ -lean_object* x_142; -lean_dec(x_132); -lean_dec(x_7); -lean_dec(x_3); -lean_dec(x_2); -x_142 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_142, 0, x_141); -lean_ctor_set(x_142, 1, x_133); -return x_142; -} -else -{ -lean_object* x_143; lean_object* x_144; lean_object* x_145; -x_143 = lean_ctor_get(x_141, 0); -lean_inc(x_143); -if (lean_is_exclusive(x_141)) { - lean_ctor_release(x_141, 0); - x_144 = x_141; -} else { - lean_dec_ref(x_141); - x_144 = lean_box(0); -} -lean_inc(x_7); -lean_inc(x_143); -x_145 = lean_apply_3(x_2, x_143, x_7, x_133); -if (lean_obj_tag(x_145) == 0) -{ -lean_object* x_146; lean_object* x_147; lean_object* x_148; -x_146 = lean_ctor_get(x_145, 0); -lean_inc(x_146); -x_147 = lean_ctor_get(x_145, 1); -lean_inc(x_147); -lean_dec(x_145); -x_148 = lean_apply_4(x_3, x_132, x_146, x_7, x_147); -if (lean_obj_tag(x_148) == 0) -{ -lean_object* x_149; uint8_t x_150; -x_149 = lean_ctor_get(x_148, 0); -lean_inc(x_149); -x_150 = lean_unbox(x_149); -lean_dec(x_149); -if (x_150 == 0) -{ -lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; -lean_dec(x_144); -lean_dec(x_143); -x_151 = lean_ctor_get(x_148, 1); -lean_inc(x_151); -if (lean_is_exclusive(x_148)) { - lean_ctor_release(x_148, 0); - lean_ctor_release(x_148, 1); - x_152 = x_148; -} else { - lean_dec_ref(x_148); - x_152 = lean_box(0); -} -x_153 = lean_box(0); -if (lean_is_scalar(x_152)) { - x_154 = lean_alloc_ctor(0, 2, 0); -} else { - x_154 = x_152; -} -lean_ctor_set(x_154, 0, x_153); -lean_ctor_set(x_154, 1, x_151); -return x_154; -} -else -{ -lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; -x_155 = lean_ctor_get(x_148, 1); -lean_inc(x_155); -if (lean_is_exclusive(x_148)) { - lean_ctor_release(x_148, 0); - lean_ctor_release(x_148, 1); - x_156 = x_148; -} else { - lean_dec_ref(x_148); - x_156 = lean_box(0); -} -if (lean_is_scalar(x_144)) { - x_157 = lean_alloc_ctor(1, 1, 0); -} else { - x_157 = x_144; -} -lean_ctor_set(x_157, 0, x_143); -if (lean_is_scalar(x_156)) { - x_158 = lean_alloc_ctor(0, 2, 0); -} else { - x_158 = x_156; -} -lean_ctor_set(x_158, 0, x_157); -lean_ctor_set(x_158, 1, x_155); -return x_158; -} -} -else -{ -lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; -lean_dec(x_144); -lean_dec(x_143); -x_159 = lean_ctor_get(x_148, 0); -lean_inc(x_159); -x_160 = lean_ctor_get(x_148, 1); -lean_inc(x_160); -if (lean_is_exclusive(x_148)) { - lean_ctor_release(x_148, 0); - lean_ctor_release(x_148, 1); - x_161 = x_148; -} else { - lean_dec_ref(x_148); - x_161 = lean_box(0); -} -if (lean_is_scalar(x_161)) { - x_162 = lean_alloc_ctor(1, 2, 0); -} else { - x_162 = x_161; -} -lean_ctor_set(x_162, 0, x_159); -lean_ctor_set(x_162, 1, x_160); -return x_162; -} -} -else -{ -lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; -lean_dec(x_144); -lean_dec(x_143); -lean_dec(x_132); -lean_dec(x_7); -lean_dec(x_3); -x_163 = lean_ctor_get(x_145, 0); -lean_inc(x_163); -x_164 = lean_ctor_get(x_145, 1); -lean_inc(x_164); -if (lean_is_exclusive(x_145)) { - lean_ctor_release(x_145, 0); - lean_ctor_release(x_145, 1); - x_165 = x_145; -} else { - lean_dec_ref(x_145); - x_165 = lean_box(0); -} -if (lean_is_scalar(x_165)) { - x_166 = lean_alloc_ctor(1, 2, 0); -} else { - x_166 = x_165; -} -lean_ctor_set(x_166, 0, x_163); -lean_ctor_set(x_166, 1, x_164); -return x_166; -} -} -} -else -{ -lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; uint8_t x_175; -x_167 = lean_unsigned_to_nat(0u); -x_168 = l_Lean_Expr_getAppNumArgsAux___main(x_132, x_167); -x_169 = l_Lean_exprIsInhabited___closed__1; -lean_inc(x_168); -x_170 = lean_mk_array(x_168, x_169); -x_171 = lean_unsigned_to_nat(1u); -x_172 = lean_nat_sub(x_168, x_171); -lean_dec(x_168); -lean_inc(x_132); -x_173 = l___private_Init_Lean_Expr_2__getAppArgsAux___main(x_132, x_170, x_172); -x_174 = lean_ctor_get(x_5, 2); -lean_inc(x_174); -lean_dec(x_5); -lean_inc(x_174); -x_175 = l_Array_anyMAux___main___at___private_Init_Lean_InductiveUtil_5__toCtorWhenK___spec__1(x_173, x_174); -lean_dec(x_173); -if (x_175 == 0) -{ -lean_object* x_176; -lean_inc(x_132); -x_176 = l___private_Init_Lean_InductiveUtil_2__mkNullaryCtor(x_4, x_132, x_174); -lean_dec(x_174); -if (lean_obj_tag(x_176) == 0) -{ -lean_object* x_177; -lean_dec(x_132); -lean_dec(x_7); -lean_dec(x_3); -lean_dec(x_2); -x_177 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_177, 0, x_176); -lean_ctor_set(x_177, 1, x_133); -return x_177; -} -else -{ -lean_object* x_178; lean_object* x_179; lean_object* x_180; -x_178 = lean_ctor_get(x_176, 0); -lean_inc(x_178); -if (lean_is_exclusive(x_176)) { - lean_ctor_release(x_176, 0); - x_179 = x_176; -} else { - lean_dec_ref(x_176); - x_179 = lean_box(0); -} -lean_inc(x_7); -lean_inc(x_178); -x_180 = lean_apply_3(x_2, x_178, x_7, x_133); -if (lean_obj_tag(x_180) == 0) -{ -lean_object* x_181; lean_object* x_182; lean_object* x_183; -x_181 = lean_ctor_get(x_180, 0); -lean_inc(x_181); -x_182 = lean_ctor_get(x_180, 1); -lean_inc(x_182); -lean_dec(x_180); -x_183 = lean_apply_4(x_3, x_132, x_181, x_7, x_182); -if (lean_obj_tag(x_183) == 0) -{ -lean_object* x_184; uint8_t x_185; -x_184 = lean_ctor_get(x_183, 0); -lean_inc(x_184); -x_185 = lean_unbox(x_184); -lean_dec(x_184); -if (x_185 == 0) -{ -lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; -lean_dec(x_179); -lean_dec(x_178); -x_186 = lean_ctor_get(x_183, 1); -lean_inc(x_186); -if (lean_is_exclusive(x_183)) { - lean_ctor_release(x_183, 0); - lean_ctor_release(x_183, 1); - x_187 = x_183; -} else { - lean_dec_ref(x_183); - x_187 = lean_box(0); -} -x_188 = lean_box(0); -if (lean_is_scalar(x_187)) { - x_189 = lean_alloc_ctor(0, 2, 0); -} else { - x_189 = x_187; -} -lean_ctor_set(x_189, 0, x_188); -lean_ctor_set(x_189, 1, x_186); -return x_189; -} -else -{ -lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; -x_190 = lean_ctor_get(x_183, 1); -lean_inc(x_190); -if (lean_is_exclusive(x_183)) { - lean_ctor_release(x_183, 0); - lean_ctor_release(x_183, 1); - x_191 = x_183; -} else { - lean_dec_ref(x_183); - x_191 = lean_box(0); -} -if (lean_is_scalar(x_179)) { - x_192 = lean_alloc_ctor(1, 1, 0); -} else { - x_192 = x_179; -} -lean_ctor_set(x_192, 0, x_178); -if (lean_is_scalar(x_191)) { - x_193 = lean_alloc_ctor(0, 2, 0); -} else { - x_193 = x_191; -} -lean_ctor_set(x_193, 0, x_192); -lean_ctor_set(x_193, 1, x_190); -return x_193; -} -} -else -{ -lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; -lean_dec(x_179); -lean_dec(x_178); -x_194 = lean_ctor_get(x_183, 0); -lean_inc(x_194); -x_195 = lean_ctor_get(x_183, 1); -lean_inc(x_195); -if (lean_is_exclusive(x_183)) { - lean_ctor_release(x_183, 0); - lean_ctor_release(x_183, 1); - x_196 = x_183; -} else { - lean_dec_ref(x_183); - x_196 = lean_box(0); -} -if (lean_is_scalar(x_196)) { - x_197 = lean_alloc_ctor(1, 2, 0); -} else { - x_197 = x_196; -} -lean_ctor_set(x_197, 0, x_194); -lean_ctor_set(x_197, 1, x_195); -return x_197; -} -} -else -{ -lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; -lean_dec(x_179); -lean_dec(x_178); -lean_dec(x_132); -lean_dec(x_7); -lean_dec(x_3); -x_198 = lean_ctor_get(x_180, 0); -lean_inc(x_198); -x_199 = lean_ctor_get(x_180, 1); -lean_inc(x_199); -if (lean_is_exclusive(x_180)) { - lean_ctor_release(x_180, 0); - lean_ctor_release(x_180, 1); - x_200 = x_180; -} else { - lean_dec_ref(x_180); - x_200 = lean_box(0); -} -if (lean_is_scalar(x_200)) { - x_201 = lean_alloc_ctor(1, 2, 0); -} else { - x_201 = x_200; -} -lean_ctor_set(x_201, 0, x_198); -lean_ctor_set(x_201, 1, x_199); -return x_201; -} -} -} -else -{ -lean_object* x_202; lean_object* x_203; -lean_dec(x_174); -lean_dec(x_132); -lean_dec(x_7); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_202 = lean_box(0); -x_203 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_203, 0, x_202); -lean_ctor_set(x_203, 1, x_133); -return x_203; -} -} -} -} -} -else -{ -uint8_t x_204; -lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_204 = !lean_is_exclusive(x_12); -if (x_204 == 0) -{ -return x_12; -} -else -{ -lean_object* x_205; lean_object* x_206; lean_object* x_207; -x_205 = lean_ctor_get(x_12, 0); -x_206 = lean_ctor_get(x_12, 1); -lean_inc(x_206); -lean_inc(x_205); -lean_dec(x_12); -x_207 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_207, 0, x_205); -lean_ctor_set(x_207, 1, x_206); -return x_207; -} -} -} -else -{ -uint8_t x_208; -lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_208 = !lean_is_exclusive(x_9); -if (x_208 == 0) -{ -return x_9; -} -else -{ -lean_object* x_209; lean_object* x_210; lean_object* x_211; -x_209 = lean_ctor_get(x_9, 0); -x_210 = lean_ctor_get(x_9, 1); -lean_inc(x_210); -lean_inc(x_209); -lean_dec(x_9); -x_211 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_211, 0, x_209); -lean_ctor_set(x_211, 1, x_210); -return x_211; -} -} -} -} -lean_object* l___private_Init_Lean_InductiveUtil_5__toCtorWhenK___at___private_Init_Lean_TypeUtil_8__whnfCore___main___spec__4(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l___private_Init_Lean_InductiveUtil_5__toCtorWhenK___at___private_Init_Lean_TypeUtil_8__whnfCore___main___spec__4___rarg), 8, 0); -return x_3; -} -} -lean_object* l_Lean_reduceRecAux___at___private_Init_Lean_TypeUtil_8__whnfCore___main___spec__3___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_14 = l_Lean_RecursorVal_getMajorIdx(x_9); -x_15 = lean_array_get_size(x_11); -x_16 = lean_nat_dec_lt(x_14, x_15); -if (x_16 == 0) -{ -uint8_t x_17; -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_12); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_17 = lean_expr_eqv(x_6, x_7); -if (x_17 == 0) -{ -lean_object* x_18; lean_object* x_19; -x_18 = l_Lean_Expr_updateFn___main(x_5, x_7); -x_19 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_19, 0, x_18); -lean_ctor_set(x_19, 1, x_13); -return x_19; -} -else -{ -lean_object* x_20; -x_20 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_20, 0, x_5); -lean_ctor_set(x_20, 1, x_13); -return x_20; -} -} -else -{ -lean_object* x_21; lean_object* x_22; -x_21 = lean_array_fget(x_11, x_14); -lean_inc(x_2); -lean_inc(x_12); -x_22 = lean_apply_3(x_2, x_21, x_12, x_13); -if (lean_obj_tag(x_22) == 0) -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_67; -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -x_24 = lean_ctor_get(x_22, 1); -lean_inc(x_24); -if (lean_is_exclusive(x_22)) { - lean_ctor_release(x_22, 0); - lean_ctor_release(x_22, 1); - x_25 = x_22; -} else { - lean_dec_ref(x_22); - x_25 = lean_box(0); -} -x_67 = lean_ctor_get_uint8(x_9, sizeof(void*)*7); -if (x_67 == 0) -{ -lean_object* x_68; lean_object* x_69; -lean_dec(x_25); -lean_dec(x_8); -x_68 = l___private_Init_Lean_InductiveUtil_3__toCtorIfLit(x_23); -lean_inc(x_9); -x_69 = l___private_Init_Lean_InductiveUtil_4__getRecRuleFor(x_9, x_68); -if (lean_obj_tag(x_69) == 0) -{ -uint8_t x_70; -lean_dec(x_68); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_12); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_70 = lean_expr_eqv(x_6, x_7); -if (x_70 == 0) -{ -lean_object* x_71; lean_object* x_72; -x_71 = l_Lean_Expr_updateFn___main(x_5, x_7); -x_72 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_72, 0, x_71); -lean_ctor_set(x_72, 1, x_24); -return x_72; -} -else -{ -lean_object* x_73; -x_73 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_73, 0, x_5); -lean_ctor_set(x_73, 1, x_24); -return x_73; -} -} -else -{ -lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; uint8_t x_86; -x_74 = lean_ctor_get(x_69, 0); -lean_inc(x_74); -lean_dec(x_69); -x_75 = lean_unsigned_to_nat(0u); -x_76 = l_Lean_Expr_getAppNumArgsAux___main(x_68, x_75); -x_77 = l_Lean_exprIsInhabited___closed__1; -lean_inc(x_76); -x_78 = lean_mk_array(x_76, x_77); -x_79 = lean_unsigned_to_nat(1u); -x_80 = lean_nat_sub(x_76, x_79); -lean_dec(x_76); -x_81 = l___private_Init_Lean_Expr_2__getAppArgsAux___main(x_68, x_78, x_80); -x_82 = l_List_lengthAux___main___rarg(x_10, x_75); -x_83 = lean_ctor_get(x_9, 0); -lean_inc(x_83); -x_84 = lean_ctor_get(x_83, 1); -lean_inc(x_84); -lean_dec(x_83); -x_85 = l_List_lengthAux___main___rarg(x_84, x_75); -x_86 = lean_nat_dec_eq(x_82, x_85); -lean_dec(x_85); -lean_dec(x_82); -if (x_86 == 0) -{ -uint8_t x_87; -lean_dec(x_84); -lean_dec(x_81); -lean_dec(x_74); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_12); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_87 = lean_expr_eqv(x_6, x_7); -if (x_87 == 0) -{ -lean_object* x_88; lean_object* x_89; -x_88 = l_Lean_Expr_updateFn___main(x_5, x_7); -x_89 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_89, 0, x_88); -lean_ctor_set(x_89, 1, x_24); -return x_89; -} -else -{ -lean_object* x_90; -x_90 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_90, 0, x_5); -lean_ctor_set(x_90, 1, x_24); -return x_90; -} -} -else -{ -lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; -lean_dec(x_5); -x_91 = lean_ctor_get(x_74, 2); -lean_inc(x_91); -x_92 = lean_instantiate_lparams(x_91, x_84, x_10); -x_93 = lean_ctor_get(x_9, 2); -lean_inc(x_93); -x_94 = lean_ctor_get(x_9, 4); -lean_inc(x_94); -x_95 = lean_nat_add(x_93, x_94); -lean_dec(x_94); -lean_dec(x_93); -x_96 = lean_ctor_get(x_9, 5); -lean_inc(x_96); -lean_dec(x_9); -x_97 = lean_nat_add(x_95, x_96); -lean_dec(x_96); -lean_dec(x_95); -x_98 = l___private_Init_Lean_Expr_1__mkAppRangeAux___main(x_97, x_11, x_75, x_92); -lean_dec(x_97); -x_99 = lean_array_get_size(x_81); -x_100 = lean_ctor_get(x_74, 1); -lean_inc(x_100); -lean_dec(x_74); -x_101 = lean_nat_sub(x_99, x_100); -lean_dec(x_100); -x_102 = l___private_Init_Lean_Expr_1__mkAppRangeAux___main(x_99, x_81, x_101, x_98); -lean_dec(x_81); -lean_dec(x_99); -x_103 = lean_nat_add(x_14, x_79); -lean_dec(x_14); -x_104 = l___private_Init_Lean_Expr_1__mkAppRangeAux___main(x_15, x_11, x_103, x_102); -lean_dec(x_15); -x_105 = l___private_Init_Lean_TypeUtil_7__whnfEasyCases___main___at___private_Init_Lean_TypeUtil_8__whnfCore___main___spec__5___rarg(x_1, x_2, x_3, x_4, x_104, x_12, x_24); -return x_105; -} -} -} -else -{ -lean_object* x_106; -lean_inc(x_12); -lean_inc(x_23); -lean_inc(x_9); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -x_106 = l___private_Init_Lean_InductiveUtil_5__toCtorWhenK___at___private_Init_Lean_TypeUtil_8__whnfCore___main___spec__4___rarg(x_2, x_3, x_4, x_8, x_9, x_23, x_12, x_24); -if (lean_obj_tag(x_106) == 0) -{ -lean_object* x_107; -x_107 = lean_ctor_get(x_106, 0); -lean_inc(x_107); -if (lean_obj_tag(x_107) == 0) -{ -lean_object* x_108; -x_108 = lean_ctor_get(x_106, 1); -lean_inc(x_108); -lean_dec(x_106); -x_26 = x_23; -x_27 = x_108; -goto block_66; -} -else -{ -lean_object* x_109; lean_object* x_110; -lean_dec(x_23); -x_109 = lean_ctor_get(x_106, 1); -lean_inc(x_109); -lean_dec(x_106); -x_110 = lean_ctor_get(x_107, 0); -lean_inc(x_110); -lean_dec(x_107); -x_26 = x_110; -x_27 = x_109; -goto block_66; -} -} -else -{ -uint8_t x_111; -lean_dec(x_25); -lean_dec(x_23); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_12); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_111 = !lean_is_exclusive(x_106); -if (x_111 == 0) -{ -return x_106; -} -else -{ -lean_object* x_112; lean_object* x_113; lean_object* x_114; -x_112 = lean_ctor_get(x_106, 0); -x_113 = lean_ctor_get(x_106, 1); -lean_inc(x_113); -lean_inc(x_112); -lean_dec(x_106); -x_114 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_114, 0, x_112); -lean_ctor_set(x_114, 1, x_113); -return x_114; -} -} -} -block_66: -{ -lean_object* x_28; lean_object* x_29; -x_28 = l___private_Init_Lean_InductiveUtil_3__toCtorIfLit(x_26); -lean_inc(x_9); -x_29 = l___private_Init_Lean_InductiveUtil_4__getRecRuleFor(x_9, x_28); -if (lean_obj_tag(x_29) == 0) -{ -uint8_t x_30; -lean_dec(x_28); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_12); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_30 = lean_expr_eqv(x_6, x_7); -if (x_30 == 0) -{ -lean_object* x_31; lean_object* x_32; -x_31 = l_Lean_Expr_updateFn___main(x_5, x_7); -if (lean_is_scalar(x_25)) { - x_32 = lean_alloc_ctor(0, 2, 0); -} else { - x_32 = x_25; -} -lean_ctor_set(x_32, 0, x_31); -lean_ctor_set(x_32, 1, x_27); -return x_32; -} -else -{ -lean_object* x_33; -if (lean_is_scalar(x_25)) { - x_33 = lean_alloc_ctor(0, 2, 0); -} else { - x_33 = x_25; -} -lean_ctor_set(x_33, 0, x_5); -lean_ctor_set(x_33, 1, x_27); -return x_33; -} -} -else -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; -x_34 = lean_ctor_get(x_29, 0); -lean_inc(x_34); -lean_dec(x_29); -x_35 = lean_unsigned_to_nat(0u); -x_36 = l_Lean_Expr_getAppNumArgsAux___main(x_28, x_35); -x_37 = l_Lean_exprIsInhabited___closed__1; -lean_inc(x_36); -x_38 = lean_mk_array(x_36, x_37); -x_39 = lean_unsigned_to_nat(1u); -x_40 = lean_nat_sub(x_36, x_39); -lean_dec(x_36); -x_41 = l___private_Init_Lean_Expr_2__getAppArgsAux___main(x_28, x_38, x_40); -x_42 = l_List_lengthAux___main___rarg(x_10, x_35); -x_43 = lean_ctor_get(x_9, 0); -lean_inc(x_43); -x_44 = lean_ctor_get(x_43, 1); -lean_inc(x_44); -lean_dec(x_43); -x_45 = l_List_lengthAux___main___rarg(x_44, x_35); -x_46 = lean_nat_dec_eq(x_42, x_45); -lean_dec(x_45); -lean_dec(x_42); -if (x_46 == 0) -{ -uint8_t x_47; -lean_dec(x_44); -lean_dec(x_41); -lean_dec(x_34); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_12); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_47 = lean_expr_eqv(x_6, x_7); -if (x_47 == 0) -{ -lean_object* x_48; lean_object* x_49; -x_48 = l_Lean_Expr_updateFn___main(x_5, x_7); -if (lean_is_scalar(x_25)) { - x_49 = lean_alloc_ctor(0, 2, 0); -} else { - x_49 = x_25; -} -lean_ctor_set(x_49, 0, x_48); -lean_ctor_set(x_49, 1, x_27); -return x_49; -} -else -{ -lean_object* x_50; -if (lean_is_scalar(x_25)) { - x_50 = lean_alloc_ctor(0, 2, 0); -} else { - x_50 = x_25; -} -lean_ctor_set(x_50, 0, x_5); -lean_ctor_set(x_50, 1, x_27); -return x_50; -} -} -else -{ -lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; -lean_dec(x_25); -lean_dec(x_5); -x_51 = lean_ctor_get(x_34, 2); -lean_inc(x_51); -x_52 = lean_instantiate_lparams(x_51, x_44, x_10); -x_53 = lean_ctor_get(x_9, 2); -lean_inc(x_53); -x_54 = lean_ctor_get(x_9, 4); -lean_inc(x_54); -x_55 = lean_nat_add(x_53, x_54); -lean_dec(x_54); -lean_dec(x_53); -x_56 = lean_ctor_get(x_9, 5); -lean_inc(x_56); -lean_dec(x_9); -x_57 = lean_nat_add(x_55, x_56); -lean_dec(x_56); -lean_dec(x_55); -x_58 = l___private_Init_Lean_Expr_1__mkAppRangeAux___main(x_57, x_11, x_35, x_52); -lean_dec(x_57); -x_59 = lean_array_get_size(x_41); -x_60 = lean_ctor_get(x_34, 1); -lean_inc(x_60); -lean_dec(x_34); -x_61 = lean_nat_sub(x_59, x_60); -lean_dec(x_60); -x_62 = l___private_Init_Lean_Expr_1__mkAppRangeAux___main(x_59, x_41, x_61, x_58); -lean_dec(x_41); -lean_dec(x_59); -x_63 = lean_nat_add(x_14, x_39); -lean_dec(x_14); -x_64 = l___private_Init_Lean_Expr_1__mkAppRangeAux___main(x_15, x_11, x_63, x_62); -lean_dec(x_15); -x_65 = l___private_Init_Lean_TypeUtil_7__whnfEasyCases___main___at___private_Init_Lean_TypeUtil_8__whnfCore___main___spec__5___rarg(x_1, x_2, x_3, x_4, x_64, x_12, x_27); -return x_65; -} -} -} -} -else -{ -uint8_t x_115; -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_12); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_115 = !lean_is_exclusive(x_22); -if (x_115 == 0) -{ -return x_22; -} -else -{ -lean_object* x_116; lean_object* x_117; lean_object* x_118; -x_116 = lean_ctor_get(x_22, 0); -x_117 = lean_ctor_get(x_22, 1); -lean_inc(x_117); -lean_inc(x_116); -lean_dec(x_22); -x_118 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_118, 0, x_116); -lean_ctor_set(x_118, 1, x_117); -return x_118; -} -} -} -} -} -lean_object* l_Lean_reduceRecAux___at___private_Init_Lean_TypeUtil_8__whnfCore___main___spec__3(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Lean_reduceRecAux___at___private_Init_Lean_TypeUtil_8__whnfCore___main___spec__3___rarg___boxed), 13, 0); -return x_3; -} -} -lean_object* l_panicWithPos___at___private_Init_Lean_TypeUtil_8__whnfCore___main___spec__6___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_7 = l_panicWithPos___rarg___closed__1; -x_8 = lean_string_append(x_7, x_1); -x_9 = l_panicWithPos___rarg___closed__2; -x_10 = lean_string_append(x_8, x_9); -x_11 = l_Nat_repr(x_2); -x_12 = lean_string_append(x_10, x_11); -lean_dec(x_11); -x_13 = l_panicWithPos___rarg___closed__2; -x_14 = lean_string_append(x_12, x_13); -x_15 = l_Nat_repr(x_3); -x_16 = lean_string_append(x_14, x_15); -lean_dec(x_15); -x_17 = l_panicWithPos___rarg___closed__3; -x_18 = lean_string_append(x_16, x_17); -x_19 = lean_string_append(x_18, x_4); -x_20 = l_panicWithPos___at___private_Init_Lean_TypeUtil_7__whnfEasyCases___main___spec__1___rarg___closed__2; -x_21 = lean_panic_fn(x_19); -x_22 = lean_apply_2(x_21, x_5, x_6); -return x_22; -} -} -lean_object* l_panicWithPos___at___private_Init_Lean_TypeUtil_8__whnfCore___main___spec__6(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_panicWithPos___at___private_Init_Lean_TypeUtil_8__whnfCore___main___spec__6___rarg___boxed), 6, 0); -return x_3; -} -} -lean_object* l___private_Init_Lean_TypeUtil_7__whnfEasyCases___main___at___private_Init_Lean_TypeUtil_8__whnfCore___main___spec__5___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -switch (lean_obj_tag(x_5)) { -case 0: -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_8 = l_unreachable_x21___rarg___closed__1; -x_9 = lean_unsigned_to_nat(37u); -x_10 = lean_unsigned_to_nat(0u); -x_11 = l_unreachable_x21___rarg___closed__2; -x_12 = l_panicWithPos___at___private_Init_Lean_TypeUtil_8__whnfCore___main___spec__6___rarg(x_8, x_9, x_10, x_11, x_6, x_7); -return x_12; -} -case 1: -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_13 = lean_ctor_get(x_5, 0); -lean_inc(x_13); -x_14 = lean_ctor_get(x_6, 1); -lean_inc(x_14); -x_15 = lean_local_ctx_find(x_14, x_13); -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; -x_16 = l_Option_get_x21___rarg___closed__1; -x_17 = lean_unsigned_to_nat(16u); -x_18 = lean_unsigned_to_nat(12u); -x_19 = l_Option_get_x21___rarg___closed__2; -x_20 = l_panicWithPos___at_Lean_AbstractMetavarContext_MkBindingException_toStr___spec__1(x_16, x_17, x_18, x_19); -x_21 = l_Lean_LocalDecl_valueOpt(x_20); -lean_dec(x_20); -if (lean_obj_tag(x_21) == 0) -{ -lean_object* x_22; -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_22 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_22, 0, x_5); -lean_ctor_set(x_22, 1, x_7); -return x_22; -} -else -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; -x_23 = lean_ctor_get(x_21, 0); -lean_inc(x_23); -lean_dec(x_21); -x_24 = l___private_Init_Lean_TypeUtil_5__useZeta___rarg(x_6, x_7); -x_25 = lean_ctor_get(x_24, 0); -lean_inc(x_25); -x_26 = lean_unbox(x_25); -lean_dec(x_25); -if (x_26 == 0) -{ -uint8_t x_27; -lean_dec(x_23); -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_27 = !lean_is_exclusive(x_24); -if (x_27 == 0) -{ -lean_object* x_28; -x_28 = lean_ctor_get(x_24, 0); -lean_dec(x_28); -lean_ctor_set(x_24, 0, x_5); -return x_24; -} -else -{ -lean_object* x_29; lean_object* x_30; -x_29 = lean_ctor_get(x_24, 1); -lean_inc(x_29); -lean_dec(x_24); -x_30 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_30, 0, x_5); -lean_ctor_set(x_30, 1, x_29); -return x_30; -} -} -else -{ -lean_object* x_31; -lean_dec(x_5); -x_31 = lean_ctor_get(x_24, 1); -lean_inc(x_31); -lean_dec(x_24); -x_5 = x_23; -x_7 = x_31; -goto _start; -} -} -} -else -{ -lean_object* x_33; lean_object* x_34; -x_33 = lean_ctor_get(x_15, 0); -lean_inc(x_33); -lean_dec(x_15); -x_34 = l_Lean_LocalDecl_valueOpt(x_33); -lean_dec(x_33); -if (lean_obj_tag(x_34) == 0) -{ -lean_object* x_35; -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_35 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_35, 0, x_5); -lean_ctor_set(x_35, 1, x_7); -return x_35; -} -else -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; -x_36 = lean_ctor_get(x_34, 0); -lean_inc(x_36); -lean_dec(x_34); -x_37 = l___private_Init_Lean_TypeUtil_5__useZeta___rarg(x_6, x_7); -x_38 = lean_ctor_get(x_37, 0); -lean_inc(x_38); -x_39 = lean_unbox(x_38); -lean_dec(x_38); -if (x_39 == 0) -{ -uint8_t x_40; -lean_dec(x_36); -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_40 = !lean_is_exclusive(x_37); -if (x_40 == 0) -{ -lean_object* x_41; -x_41 = lean_ctor_get(x_37, 0); -lean_dec(x_41); -lean_ctor_set(x_37, 0, x_5); -return x_37; -} -else -{ -lean_object* x_42; lean_object* x_43; -x_42 = lean_ctor_get(x_37, 1); -lean_inc(x_42); -lean_dec(x_37); -x_43 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_43, 0, x_5); -lean_ctor_set(x_43, 1, x_42); -return x_43; -} -} -else -{ -lean_object* x_44; -lean_dec(x_5); -x_44 = lean_ctor_get(x_37, 1); -lean_inc(x_44); -lean_dec(x_37); -x_5 = x_36; -x_7 = x_44; -goto _start; -} -} -} -} -case 2: -{ -lean_object* x_46; lean_object* x_47; uint8_t x_48; -x_46 = lean_ctor_get(x_5, 0); -lean_inc(x_46); -x_47 = l___private_Init_Lean_TypeUtil_3__getMCtx___rarg(x_7); -x_48 = !lean_is_exclusive(x_47); -if (x_48 == 0) -{ -lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; -x_49 = lean_ctor_get(x_47, 0); -x_50 = lean_ctor_get(x_47, 1); -x_51 = lean_ctor_get(x_1, 5); -lean_inc(x_51); -x_52 = lean_apply_2(x_51, x_49, x_46); -if (lean_obj_tag(x_52) == 0) -{ -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -lean_ctor_set(x_47, 0, x_5); -return x_47; -} -else -{ -lean_object* x_53; -lean_free_object(x_47); -lean_dec(x_5); -x_53 = lean_ctor_get(x_52, 0); -lean_inc(x_53); -lean_dec(x_52); -x_5 = x_53; -x_7 = x_50; -goto _start; -} -} -else -{ -lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; -x_55 = lean_ctor_get(x_47, 0); -x_56 = lean_ctor_get(x_47, 1); -lean_inc(x_56); -lean_inc(x_55); -lean_dec(x_47); -x_57 = lean_ctor_get(x_1, 5); -lean_inc(x_57); -x_58 = lean_apply_2(x_57, x_55, x_46); -if (lean_obj_tag(x_58) == 0) -{ -lean_object* x_59; -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_59 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_59, 0, x_5); -lean_ctor_set(x_59, 1, x_56); -return x_59; -} -else -{ -lean_object* x_60; -lean_dec(x_5); -x_60 = lean_ctor_get(x_58, 0); -lean_inc(x_60); -lean_dec(x_58); -x_5 = x_60; -x_7 = x_56; -goto _start; -} -} -} -case 5: -{ -lean_object* x_62; lean_object* x_63; lean_object* x_64; -x_62 = lean_ctor_get(x_5, 0); -lean_inc(x_62); -x_63 = l_Lean_Expr_getAppFn___main(x_62); -lean_dec(x_62); -lean_inc(x_6); -lean_inc(x_63); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -lean_inc(x_1); -x_64 = l___private_Init_Lean_TypeUtil_7__whnfEasyCases___main___at___private_Init_Lean_TypeUtil_8__whnfCore___main___spec__5___rarg(x_1, x_2, x_3, x_4, x_63, x_6, x_7); -if (lean_obj_tag(x_64) == 0) -{ -lean_object* x_65; lean_object* x_66; uint8_t x_67; -x_65 = lean_ctor_get(x_64, 0); -lean_inc(x_65); -x_66 = lean_ctor_get(x_64, 1); -lean_inc(x_66); -lean_dec(x_64); -x_67 = l_Lean_Expr_isLambda(x_65); -if (x_67 == 0) -{ -lean_object* x_68; -x_68 = l___private_Init_Lean_TypeUtil_4__getEnv___rarg(x_6, x_66); -if (lean_obj_tag(x_65) == 4) -{ -uint8_t x_69; -x_69 = !lean_is_exclusive(x_68); -if (x_69 == 0) -{ -lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; -x_70 = lean_ctor_get(x_68, 0); -x_71 = lean_ctor_get(x_68, 1); -x_72 = lean_ctor_get(x_65, 0); -lean_inc(x_72); -x_73 = lean_ctor_get(x_65, 1); -lean_inc(x_73); -lean_inc(x_70); -x_74 = lean_environment_find(x_70, x_72); -if (lean_obj_tag(x_74) == 0) -{ -uint8_t x_75; -lean_dec(x_73); -lean_dec(x_70); -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_75 = lean_expr_eqv(x_63, x_65); -lean_dec(x_63); -if (x_75 == 0) -{ -lean_object* x_76; -x_76 = l_Lean_Expr_updateFn___main(x_5, x_65); -lean_dec(x_65); -lean_ctor_set(x_68, 0, x_76); -return x_68; -} -else -{ -lean_dec(x_65); -lean_ctor_set(x_68, 0, x_5); -return x_68; -} -} -else -{ -lean_object* x_77; -x_77 = lean_ctor_get(x_74, 0); -lean_inc(x_77); -lean_dec(x_74); -switch (lean_obj_tag(x_77)) { -case 4: -{ -lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; -lean_free_object(x_68); -x_78 = lean_ctor_get(x_77, 0); -lean_inc(x_78); -lean_dec(x_77); -x_79 = lean_unsigned_to_nat(0u); -x_80 = l_Lean_Expr_getAppNumArgsAux___main(x_5, x_79); -x_81 = l_Lean_exprIsInhabited___closed__1; -lean_inc(x_80); -x_82 = lean_mk_array(x_80, x_81); -x_83 = lean_unsigned_to_nat(1u); -x_84 = lean_nat_sub(x_80, x_83); -lean_dec(x_80); -lean_inc(x_5); -x_85 = l___private_Init_Lean_Expr_2__getAppArgsAux___main(x_5, x_82, x_84); -x_86 = l_Lean_reduceQuotRecAux___at___private_Init_Lean_TypeUtil_8__whnfCore___main___spec__2___rarg(x_1, x_2, x_3, x_4, x_5, x_63, x_65, x_70, x_78, x_73, x_85, x_6, x_71); -lean_dec(x_85); -lean_dec(x_73); -lean_dec(x_78); -lean_dec(x_65); -lean_dec(x_63); -return x_86; -} -case 7: -{ -lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; -lean_free_object(x_68); -x_87 = lean_ctor_get(x_77, 0); -lean_inc(x_87); -lean_dec(x_77); -x_88 = lean_unsigned_to_nat(0u); -x_89 = l_Lean_Expr_getAppNumArgsAux___main(x_5, x_88); -x_90 = l_Lean_exprIsInhabited___closed__1; -lean_inc(x_89); -x_91 = lean_mk_array(x_89, x_90); -x_92 = lean_unsigned_to_nat(1u); -x_93 = lean_nat_sub(x_89, x_92); -lean_dec(x_89); -lean_inc(x_5); -x_94 = l___private_Init_Lean_Expr_2__getAppArgsAux___main(x_5, x_91, x_93); -x_95 = l_Lean_reduceRecAux___at___private_Init_Lean_TypeUtil_8__whnfCore___main___spec__3___rarg(x_1, x_2, x_3, x_4, x_5, x_63, x_65, x_70, x_87, x_73, x_94, x_6, x_71); -lean_dec(x_94); -lean_dec(x_65); -lean_dec(x_63); -return x_95; -} -default: -{ -uint8_t x_96; -lean_dec(x_77); -lean_dec(x_73); -lean_dec(x_70); -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_96 = lean_expr_eqv(x_63, x_65); -lean_dec(x_63); -if (x_96 == 0) -{ -lean_object* x_97; -x_97 = l_Lean_Expr_updateFn___main(x_5, x_65); -lean_dec(x_65); -lean_ctor_set(x_68, 0, x_97); -return x_68; -} -else -{ -lean_dec(x_65); -lean_ctor_set(x_68, 0, x_5); -return x_68; -} -} -} -} -} -else -{ -lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; -x_98 = lean_ctor_get(x_68, 0); -x_99 = lean_ctor_get(x_68, 1); -lean_inc(x_99); -lean_inc(x_98); -lean_dec(x_68); -x_100 = lean_ctor_get(x_65, 0); -lean_inc(x_100); -x_101 = lean_ctor_get(x_65, 1); -lean_inc(x_101); -lean_inc(x_98); -x_102 = lean_environment_find(x_98, x_100); -if (lean_obj_tag(x_102) == 0) -{ -uint8_t x_103; -lean_dec(x_101); -lean_dec(x_98); -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_103 = lean_expr_eqv(x_63, x_65); -lean_dec(x_63); -if (x_103 == 0) -{ -lean_object* x_104; lean_object* x_105; -x_104 = l_Lean_Expr_updateFn___main(x_5, x_65); -lean_dec(x_65); -x_105 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_105, 0, x_104); -lean_ctor_set(x_105, 1, x_99); -return x_105; -} -else -{ -lean_object* x_106; -lean_dec(x_65); -x_106 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_106, 0, x_5); -lean_ctor_set(x_106, 1, x_99); -return x_106; -} -} -else -{ -lean_object* x_107; -x_107 = lean_ctor_get(x_102, 0); -lean_inc(x_107); -lean_dec(x_102); -switch (lean_obj_tag(x_107)) { -case 4: -{ -lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; -x_108 = lean_ctor_get(x_107, 0); -lean_inc(x_108); -lean_dec(x_107); -x_109 = lean_unsigned_to_nat(0u); -x_110 = l_Lean_Expr_getAppNumArgsAux___main(x_5, x_109); -x_111 = l_Lean_exprIsInhabited___closed__1; -lean_inc(x_110); -x_112 = lean_mk_array(x_110, x_111); -x_113 = lean_unsigned_to_nat(1u); -x_114 = lean_nat_sub(x_110, x_113); -lean_dec(x_110); -lean_inc(x_5); -x_115 = l___private_Init_Lean_Expr_2__getAppArgsAux___main(x_5, x_112, x_114); -x_116 = l_Lean_reduceQuotRecAux___at___private_Init_Lean_TypeUtil_8__whnfCore___main___spec__2___rarg(x_1, x_2, x_3, x_4, x_5, x_63, x_65, x_98, x_108, x_101, x_115, x_6, x_99); -lean_dec(x_115); -lean_dec(x_101); -lean_dec(x_108); -lean_dec(x_65); -lean_dec(x_63); -return x_116; -} -case 7: -{ -lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; -x_117 = lean_ctor_get(x_107, 0); -lean_inc(x_117); -lean_dec(x_107); -x_118 = lean_unsigned_to_nat(0u); -x_119 = l_Lean_Expr_getAppNumArgsAux___main(x_5, x_118); -x_120 = l_Lean_exprIsInhabited___closed__1; -lean_inc(x_119); -x_121 = lean_mk_array(x_119, x_120); -x_122 = lean_unsigned_to_nat(1u); -x_123 = lean_nat_sub(x_119, x_122); -lean_dec(x_119); -lean_inc(x_5); -x_124 = l___private_Init_Lean_Expr_2__getAppArgsAux___main(x_5, x_121, x_123); -x_125 = l_Lean_reduceRecAux___at___private_Init_Lean_TypeUtil_8__whnfCore___main___spec__3___rarg(x_1, x_2, x_3, x_4, x_5, x_63, x_65, x_98, x_117, x_101, x_124, x_6, x_99); -lean_dec(x_124); -lean_dec(x_65); -lean_dec(x_63); -return x_125; -} -default: -{ -uint8_t x_126; -lean_dec(x_107); -lean_dec(x_101); -lean_dec(x_98); -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_126 = lean_expr_eqv(x_63, x_65); -lean_dec(x_63); -if (x_126 == 0) -{ -lean_object* x_127; lean_object* x_128; -x_127 = l_Lean_Expr_updateFn___main(x_5, x_65); -lean_dec(x_65); -x_128 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_128, 0, x_127); -lean_ctor_set(x_128, 1, x_99); -return x_128; -} -else -{ -lean_object* x_129; -lean_dec(x_65); -x_129 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_129, 0, x_5); -lean_ctor_set(x_129, 1, x_99); -return x_129; -} -} -} -} -} -} -else -{ -uint8_t x_130; -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_130 = !lean_is_exclusive(x_68); -if (x_130 == 0) -{ -lean_object* x_131; uint8_t x_132; -x_131 = lean_ctor_get(x_68, 0); -lean_dec(x_131); -x_132 = lean_expr_eqv(x_63, x_65); -lean_dec(x_63); -if (x_132 == 0) -{ -lean_object* x_133; -x_133 = l_Lean_Expr_updateFn___main(x_5, x_65); -lean_dec(x_65); -lean_ctor_set(x_68, 0, x_133); -return x_68; -} -else -{ -lean_dec(x_65); -lean_ctor_set(x_68, 0, x_5); -return x_68; -} -} -else -{ -lean_object* x_134; uint8_t x_135; -x_134 = lean_ctor_get(x_68, 1); -lean_inc(x_134); -lean_dec(x_68); -x_135 = lean_expr_eqv(x_63, x_65); -lean_dec(x_63); -if (x_135 == 0) -{ -lean_object* x_136; lean_object* x_137; -x_136 = l_Lean_Expr_updateFn___main(x_5, x_65); -lean_dec(x_65); -x_137 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_137, 0, x_136); -lean_ctor_set(x_137, 1, x_134); -return x_137; -} -else -{ -lean_object* x_138; -lean_dec(x_65); -x_138 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_138, 0, x_5); -lean_ctor_set(x_138, 1, x_134); -return x_138; -} -} -} -} -else -{ -lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; -lean_dec(x_65); -x_139 = lean_unsigned_to_nat(0u); -x_140 = l_Lean_Expr_getAppNumArgsAux___main(x_5, x_139); -x_141 = lean_mk_empty_array_with_capacity(x_140); -lean_dec(x_140); -x_142 = l___private_Init_Lean_Expr_3__getAppRevArgsAux___main(x_5, x_141); -x_143 = l_Lean_Expr_betaRev(x_63, x_142); -lean_dec(x_63); -x_5 = x_143; -x_7 = x_66; -goto _start; -} -} -else -{ -uint8_t x_145; -lean_dec(x_63); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_145 = !lean_is_exclusive(x_64); -if (x_145 == 0) -{ -return x_64; -} -else -{ -lean_object* x_146; lean_object* x_147; lean_object* x_148; -x_146 = lean_ctor_get(x_64, 0); -x_147 = lean_ctor_get(x_64, 1); -lean_inc(x_147); -lean_inc(x_146); -lean_dec(x_64); -x_148 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_148, 0, x_146); -lean_ctor_set(x_148, 1, x_147); -return x_148; -} -} -} -case 8: -{ -lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; uint8_t x_153; -x_149 = lean_ctor_get(x_5, 2); -lean_inc(x_149); -x_150 = lean_ctor_get(x_5, 3); -lean_inc(x_150); -x_151 = l___private_Init_Lean_TypeUtil_5__useZeta___rarg(x_6, x_7); -x_152 = lean_ctor_get(x_151, 0); -lean_inc(x_152); -x_153 = lean_unbox(x_152); -lean_dec(x_152); -if (x_153 == 0) -{ -uint8_t x_154; -lean_dec(x_150); -lean_dec(x_149); -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_154 = !lean_is_exclusive(x_151); -if (x_154 == 0) -{ -lean_object* x_155; -x_155 = lean_ctor_get(x_151, 0); -lean_dec(x_155); -lean_ctor_set(x_151, 0, x_5); -return x_151; -} -else -{ -lean_object* x_156; lean_object* x_157; -x_156 = lean_ctor_get(x_151, 1); -lean_inc(x_156); -lean_dec(x_151); -x_157 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_157, 0, x_5); -lean_ctor_set(x_157, 1, x_156); -return x_157; -} -} -else -{ -lean_object* x_158; lean_object* x_159; -lean_dec(x_5); -x_158 = lean_ctor_get(x_151, 1); -lean_inc(x_158); -lean_dec(x_151); -x_159 = lean_expr_instantiate1(x_150, x_149); -lean_dec(x_149); -lean_dec(x_150); -x_5 = x_159; -x_7 = x_158; -goto _start; -} -} -case 10: -{ -lean_object* x_161; -x_161 = lean_ctor_get(x_5, 1); -lean_inc(x_161); -lean_dec(x_5); -x_5 = x_161; -goto _start; -} -case 11: -{ -lean_object* x_163; lean_object* x_164; lean_object* x_165; -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_163 = lean_ctor_get(x_5, 1); -lean_inc(x_163); -x_164 = lean_ctor_get(x_5, 2); -lean_inc(x_164); -lean_inc(x_6); -x_165 = lean_apply_3(x_2, x_164, x_6, x_7); -if (lean_obj_tag(x_165) == 0) -{ -lean_object* x_166; lean_object* x_167; lean_object* x_168; uint8_t x_169; -x_166 = lean_ctor_get(x_165, 0); -lean_inc(x_166); -x_167 = lean_ctor_get(x_165, 1); -lean_inc(x_167); -lean_dec(x_165); -x_168 = l___private_Init_Lean_TypeUtil_4__getEnv___rarg(x_6, x_167); -lean_dec(x_6); -x_169 = !lean_is_exclusive(x_168); -if (x_169 == 0) -{ -lean_object* x_170; lean_object* x_171; -x_170 = lean_ctor_get(x_168, 0); -x_171 = l_Lean_Expr_getAppFn___main(x_166); -if (lean_obj_tag(x_171) == 4) -{ -lean_object* x_172; lean_object* x_173; -x_172 = lean_ctor_get(x_171, 0); -lean_inc(x_172); -lean_dec(x_171); -x_173 = lean_environment_find(x_170, x_172); -if (lean_obj_tag(x_173) == 0) -{ -lean_dec(x_166); -lean_dec(x_163); -lean_ctor_set(x_168, 0, x_5); -return x_168; -} -else -{ -lean_object* x_174; -x_174 = lean_ctor_get(x_173, 0); -lean_inc(x_174); -lean_dec(x_173); -if (lean_obj_tag(x_174) == 6) -{ -lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; -x_175 = lean_ctor_get(x_174, 0); -lean_inc(x_175); -lean_dec(x_174); -x_176 = lean_ctor_get(x_175, 3); -lean_inc(x_176); -lean_dec(x_175); -x_177 = lean_nat_add(x_176, x_163); -lean_dec(x_163); -lean_dec(x_176); -x_178 = lean_unsigned_to_nat(0u); -x_179 = l_Lean_Expr_getAppNumArgsAux___main(x_166, x_178); -x_180 = lean_nat_sub(x_179, x_177); -lean_dec(x_177); -lean_dec(x_179); -x_181 = lean_unsigned_to_nat(1u); -x_182 = lean_nat_sub(x_180, x_181); -lean_dec(x_180); -x_183 = l_Lean_Expr_getRevArgD___main(x_166, x_182, x_5); -lean_dec(x_5); -lean_dec(x_166); -lean_ctor_set(x_168, 0, x_183); -return x_168; -} -else -{ -lean_dec(x_174); -lean_dec(x_166); -lean_dec(x_163); -lean_ctor_set(x_168, 0, x_5); -return x_168; -} -} -} -else -{ -lean_dec(x_171); -lean_dec(x_170); -lean_dec(x_166); -lean_dec(x_163); -lean_ctor_set(x_168, 0, x_5); -return x_168; -} -} -else -{ -lean_object* x_184; lean_object* x_185; lean_object* x_186; -x_184 = lean_ctor_get(x_168, 0); -x_185 = lean_ctor_get(x_168, 1); -lean_inc(x_185); -lean_inc(x_184); -lean_dec(x_168); -x_186 = l_Lean_Expr_getAppFn___main(x_166); -if (lean_obj_tag(x_186) == 4) -{ -lean_object* x_187; lean_object* x_188; -x_187 = lean_ctor_get(x_186, 0); -lean_inc(x_187); -lean_dec(x_186); -x_188 = lean_environment_find(x_184, x_187); -if (lean_obj_tag(x_188) == 0) -{ -lean_object* x_189; -lean_dec(x_166); -lean_dec(x_163); -x_189 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_189, 0, x_5); -lean_ctor_set(x_189, 1, x_185); -return x_189; -} -else -{ -lean_object* x_190; -x_190 = lean_ctor_get(x_188, 0); -lean_inc(x_190); -lean_dec(x_188); -if (lean_obj_tag(x_190) == 6) -{ -lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; -x_191 = lean_ctor_get(x_190, 0); -lean_inc(x_191); -lean_dec(x_190); -x_192 = lean_ctor_get(x_191, 3); -lean_inc(x_192); -lean_dec(x_191); -x_193 = lean_nat_add(x_192, x_163); -lean_dec(x_163); -lean_dec(x_192); -x_194 = lean_unsigned_to_nat(0u); -x_195 = l_Lean_Expr_getAppNumArgsAux___main(x_166, x_194); -x_196 = lean_nat_sub(x_195, x_193); -lean_dec(x_193); -lean_dec(x_195); -x_197 = lean_unsigned_to_nat(1u); -x_198 = lean_nat_sub(x_196, x_197); -lean_dec(x_196); -x_199 = l_Lean_Expr_getRevArgD___main(x_166, x_198, x_5); -lean_dec(x_5); -lean_dec(x_166); -x_200 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_200, 0, x_199); -lean_ctor_set(x_200, 1, x_185); -return x_200; -} -else -{ -lean_object* x_201; -lean_dec(x_190); -lean_dec(x_166); -lean_dec(x_163); -x_201 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_201, 0, x_5); -lean_ctor_set(x_201, 1, x_185); -return x_201; -} -} -} -else -{ -lean_object* x_202; -lean_dec(x_186); -lean_dec(x_184); -lean_dec(x_166); -lean_dec(x_163); -x_202 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_202, 0, x_5); -lean_ctor_set(x_202, 1, x_185); -return x_202; -} -} -} -else -{ -uint8_t x_203; -lean_dec(x_163); -lean_dec(x_6); -lean_dec(x_5); -x_203 = !lean_is_exclusive(x_165); -if (x_203 == 0) -{ -return x_165; -} -else -{ -lean_object* x_204; lean_object* x_205; lean_object* x_206; -x_204 = lean_ctor_get(x_165, 0); -x_205 = lean_ctor_get(x_165, 1); -lean_inc(x_205); -lean_inc(x_204); -lean_dec(x_165); -x_206 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_206, 0, x_204); -lean_ctor_set(x_206, 1, x_205); -return x_206; -} -} -} -default: -{ -lean_object* x_207; -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_207 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_207, 0, x_5); -lean_ctor_set(x_207, 1, x_7); -return x_207; -} -} -} -} -lean_object* l___private_Init_Lean_TypeUtil_7__whnfEasyCases___main___at___private_Init_Lean_TypeUtil_8__whnfCore___main___spec__5(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l___private_Init_Lean_TypeUtil_7__whnfEasyCases___main___at___private_Init_Lean_TypeUtil_8__whnfCore___main___spec__5___rarg), 7, 0); -return x_3; -} -} -lean_object* l___private_Init_Lean_TypeUtil_8__whnfCore___main___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; -x_8 = l___private_Init_Lean_TypeUtil_7__whnfEasyCases___main___at___private_Init_Lean_TypeUtil_8__whnfCore___main___spec__5___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -return x_8; -} -} -lean_object* l___private_Init_Lean_TypeUtil_8__whnfCore___main(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l___private_Init_Lean_TypeUtil_8__whnfCore___main___rarg), 7, 0); -return x_3; -} -} -lean_object* l_panicWithPos___at___private_Init_Lean_TypeUtil_8__whnfCore___main___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; -x_7 = l_panicWithPos___at___private_Init_Lean_TypeUtil_8__whnfCore___main___spec__1___rarg(x_1, x_2, x_3, x_4, x_5, x_6); -lean_dec(x_4); -lean_dec(x_1); -return x_7; -} -} -lean_object* l_Lean_reduceQuotRecAux___at___private_Init_Lean_TypeUtil_8__whnfCore___main___spec__2___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -lean_object* x_14; -x_14 = l_Lean_reduceQuotRecAux___at___private_Init_Lean_TypeUtil_8__whnfCore___main___spec__2___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -return x_14; -} -} -lean_object* l_Lean_reduceRecAux___at___private_Init_Lean_TypeUtil_8__whnfCore___main___spec__3___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -lean_object* x_14; -x_14 = l_Lean_reduceRecAux___at___private_Init_Lean_TypeUtil_8__whnfCore___main___spec__3___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -lean_dec(x_11); -lean_dec(x_7); -lean_dec(x_6); -return x_14; -} -} -lean_object* l_panicWithPos___at___private_Init_Lean_TypeUtil_8__whnfCore___main___spec__6___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; -x_7 = l_panicWithPos___at___private_Init_Lean_TypeUtil_8__whnfCore___main___spec__6___rarg(x_1, x_2, x_3, x_4, x_5, x_6); -lean_dec(x_4); -lean_dec(x_1); -return x_7; -} -} -lean_object* l___private_Init_Lean_TypeUtil_8__whnfCore___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; -x_9 = l___private_Init_Lean_TypeUtil_7__whnfEasyCases___main___at___private_Init_Lean_TypeUtil_8__whnfCore___main___spec__5___rarg(x_1, x_2, x_3, x_4, x_6, x_7, x_8); -return x_9; -} -} -lean_object* l___private_Init_Lean_TypeUtil_8__whnfCore(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l___private_Init_Lean_TypeUtil_8__whnfCore___rarg___boxed), 8, 0); -return x_3; -} -} -lean_object* l___private_Init_Lean_TypeUtil_8__whnfCore___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_5); -lean_dec(x_5); -x_10 = l___private_Init_Lean_TypeUtil_8__whnfCore___rarg(x_1, x_2, x_3, x_4, x_9, x_6, x_7, x_8); -return x_10; -} -} -lean_object* l___private_Init_Lean_TypeUtil_9__instantiateLevelMVars___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -uint8_t x_5; -x_5 = !lean_is_exclusive(x_4); -if (x_5 == 0) -{ -lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; -x_6 = lean_ctor_get(x_4, 0); -x_7 = l_Lean_AbstractMetavarContext_instantiateLevelMVars___main___rarg(x_1, x_2, x_6); -x_8 = lean_ctor_get(x_7, 0); -lean_inc(x_8); -x_9 = lean_ctor_get(x_7, 1); -lean_inc(x_9); -lean_dec(x_7); -lean_ctor_set(x_4, 0, x_9); -x_10 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_10, 0, x_8); -lean_ctor_set(x_10, 1, x_4); -return x_10; -} -else -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_11 = lean_ctor_get(x_4, 0); -x_12 = lean_ctor_get(x_4, 1); -x_13 = lean_ctor_get(x_4, 2); -x_14 = lean_ctor_get(x_4, 3); -x_15 = lean_ctor_get(x_4, 4); -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_dec(x_4); -x_16 = l_Lean_AbstractMetavarContext_instantiateLevelMVars___main___rarg(x_1, x_2, x_11); -x_17 = lean_ctor_get(x_16, 0); -lean_inc(x_17); -x_18 = lean_ctor_get(x_16, 1); -lean_inc(x_18); -lean_dec(x_16); -x_19 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_19, 0, x_18); -lean_ctor_set(x_19, 1, x_12); -lean_ctor_set(x_19, 2, x_13); -lean_ctor_set(x_19, 3, x_14); -lean_ctor_set(x_19, 4, x_15); -x_20 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_20, 0, x_17); -lean_ctor_set(x_20, 1, x_19); -return x_20; -} -} -} -lean_object* l___private_Init_Lean_TypeUtil_9__instantiateLevelMVars(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l___private_Init_Lean_TypeUtil_9__instantiateLevelMVars___rarg___boxed), 4, 0); -return x_3; -} -} -lean_object* l___private_Init_Lean_TypeUtil_9__instantiateLevelMVars___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = l___private_Init_Lean_TypeUtil_9__instantiateLevelMVars___rarg(x_1, x_2, x_3, x_4); -lean_dec(x_3); -return x_5; -} -} -lean_object* l___private_Init_Lean_TypeUtil_10__assignLevel___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_ctor_get(x_1, 3); -lean_inc(x_6); -lean_dec(x_1); -x_7 = !lean_is_exclusive(x_5); -if (x_7 == 0) -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; -x_8 = lean_ctor_get(x_5, 0); -x_9 = lean_apply_3(x_6, x_8, x_2, x_3); -lean_ctor_set(x_5, 0, x_9); -x_10 = lean_box(0); -x_11 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_11, 0, x_10); -lean_ctor_set(x_11, 1, x_5); -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; lean_object* x_19; lean_object* x_20; -x_12 = lean_ctor_get(x_5, 0); -x_13 = lean_ctor_get(x_5, 1); -x_14 = lean_ctor_get(x_5, 2); -x_15 = lean_ctor_get(x_5, 3); -x_16 = lean_ctor_get(x_5, 4); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_dec(x_5); -x_17 = lean_apply_3(x_6, x_12, x_2, x_3); -x_18 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_18, 0, x_17); -lean_ctor_set(x_18, 1, x_13); -lean_ctor_set(x_18, 2, x_14); -lean_ctor_set(x_18, 3, x_15); -lean_ctor_set(x_18, 4, x_16); -x_19 = lean_box(0); -x_20 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_20, 0, x_19); -lean_ctor_set(x_20, 1, x_18); -return x_20; -} -} -} -lean_object* l___private_Init_Lean_TypeUtil_10__assignLevel(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l___private_Init_Lean_TypeUtil_10__assignLevel___rarg___boxed), 5, 0); -return x_3; -} -} -lean_object* l___private_Init_Lean_TypeUtil_10__assignLevel___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; -x_6 = l___private_Init_Lean_TypeUtil_10__assignLevel___rarg(x_1, x_2, x_3, x_4, x_5); -lean_dec(x_4); -return x_6; -} -} -lean_object* l___private_Init_Lean_TypeUtil_11__mkFreshLevelMVar___rarg(lean_object* x_1) { -_start: -{ -uint8_t x_2; -x_2 = !lean_is_exclusive(x_1); -if (x_2 == 0) -{ -lean_object* x_3; uint8_t x_4; -x_3 = lean_ctor_get(x_1, 2); -x_4 = !lean_is_exclusive(x_3); -if (x_4 == 0) -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; -x_5 = lean_ctor_get(x_3, 0); -x_6 = lean_ctor_get(x_3, 1); -lean_inc(x_6); -lean_inc(x_5); -x_7 = lean_name_mk_numeral(x_5, x_6); -x_8 = lean_level_mk_mvar(x_7); -x_9 = lean_unsigned_to_nat(1u); -x_10 = lean_nat_add(x_6, x_9); -lean_dec(x_6); -lean_ctor_set(x_3, 1, x_10); -x_11 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_11, 0, x_8); -lean_ctor_set(x_11, 1, x_1); -return x_11; -} -else -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_12 = lean_ctor_get(x_3, 0); -x_13 = lean_ctor_get(x_3, 1); -lean_inc(x_13); -lean_inc(x_12); -lean_dec(x_3); -lean_inc(x_13); -lean_inc(x_12); -x_14 = lean_name_mk_numeral(x_12, x_13); -x_15 = lean_level_mk_mvar(x_14); -x_16 = lean_unsigned_to_nat(1u); -x_17 = lean_nat_add(x_13, x_16); -lean_dec(x_13); -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_12); -lean_ctor_set(x_18, 1, x_17); -lean_ctor_set(x_1, 2, x_18); -x_19 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_19, 0, x_15); -lean_ctor_set(x_19, 1, x_1); -return x_19; -} -} -else -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_20 = lean_ctor_get(x_1, 2); -x_21 = lean_ctor_get(x_1, 0); -x_22 = lean_ctor_get(x_1, 1); -x_23 = lean_ctor_get(x_1, 3); -x_24 = lean_ctor_get(x_1, 4); -lean_inc(x_24); -lean_inc(x_23); -lean_inc(x_20); -lean_inc(x_22); -lean_inc(x_21); -lean_dec(x_1); -x_25 = lean_ctor_get(x_20, 0); -lean_inc(x_25); -x_26 = lean_ctor_get(x_20, 1); -lean_inc(x_26); -if (lean_is_exclusive(x_20)) { - lean_ctor_release(x_20, 0); - lean_ctor_release(x_20, 1); - x_27 = x_20; -} else { - lean_dec_ref(x_20); - x_27 = lean_box(0); -} -lean_inc(x_26); -lean_inc(x_25); -x_28 = lean_name_mk_numeral(x_25, x_26); -x_29 = lean_level_mk_mvar(x_28); -x_30 = lean_unsigned_to_nat(1u); -x_31 = lean_nat_add(x_26, x_30); -lean_dec(x_26); -if (lean_is_scalar(x_27)) { - x_32 = lean_alloc_ctor(0, 2, 0); -} else { - x_32 = x_27; -} -lean_ctor_set(x_32, 0, x_25); -lean_ctor_set(x_32, 1, x_31); -x_33 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_33, 0, x_21); -lean_ctor_set(x_33, 1, x_22); -lean_ctor_set(x_33, 2, x_32); -lean_ctor_set(x_33, 3, x_23); -lean_ctor_set(x_33, 4, x_24); -x_34 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_34, 0, x_29); -lean_ctor_set(x_34, 1, x_33); -return x_34; -} -} -} -lean_object* l___private_Init_Lean_TypeUtil_11__mkFreshLevelMVar(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___private_Init_Lean_TypeUtil_11__mkFreshLevelMVar___rarg), 1, 0); -return x_5; -} -} -lean_object* l___private_Init_Lean_TypeUtil_11__mkFreshLevelMVar___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = l___private_Init_Lean_TypeUtil_11__mkFreshLevelMVar(x_1, x_2, x_3, x_4); -lean_dec(x_4); -lean_dec(x_3); -return x_5; -} -} -uint8_t l___private_Init_Lean_TypeUtil_12__strictOccursMaxAux___main(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -if (lean_obj_tag(x_2) == 2) -{ -lean_object* x_8; lean_object* x_9; uint8_t x_10; -x_8 = lean_ctor_get(x_2, 0); -x_9 = lean_ctor_get(x_2, 1); -x_10 = l___private_Init_Lean_TypeUtil_12__strictOccursMaxAux___main(x_1, x_8); -if (x_10 == 0) -{ -x_2 = x_9; -goto _start; -} -else -{ -uint8_t x_12; -x_12 = 1; -return x_12; -} -} -else -{ -lean_object* x_13; -x_13 = lean_box(0); -x_3 = x_13; -goto block_7; -} -block_7: -{ -uint8_t x_4; -lean_dec(x_3); -x_4 = lean_level_eq(x_2, x_1); -if (x_4 == 0) -{ -uint8_t x_5; -x_5 = l_Lean_Level_occurs___main(x_1, x_2); -return x_5; -} -else -{ -uint8_t x_6; -x_6 = 0; -return x_6; -} -} -} -} -lean_object* l___private_Init_Lean_TypeUtil_12__strictOccursMaxAux___main___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; lean_object* x_4; -x_3 = l___private_Init_Lean_TypeUtil_12__strictOccursMaxAux___main(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -x_4 = lean_box(x_3); -return x_4; -} -} -uint8_t l___private_Init_Lean_TypeUtil_12__strictOccursMaxAux(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; -x_3 = l___private_Init_Lean_TypeUtil_12__strictOccursMaxAux___main(x_1, x_2); -return x_3; -} -} -lean_object* l___private_Init_Lean_TypeUtil_12__strictOccursMaxAux___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; lean_object* x_4; -x_3 = l___private_Init_Lean_TypeUtil_12__strictOccursMaxAux(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -x_4 = lean_box(x_3); -return x_4; -} -} -uint8_t l___private_Init_Lean_TypeUtil_13__strictOccursMax(lean_object* x_1, lean_object* x_2) { -_start: -{ -if (lean_obj_tag(x_2) == 2) -{ -lean_object* x_3; lean_object* x_4; uint8_t x_5; -x_3 = lean_ctor_get(x_2, 0); -x_4 = lean_ctor_get(x_2, 1); -x_5 = l___private_Init_Lean_TypeUtil_12__strictOccursMaxAux___main(x_1, x_3); -if (x_5 == 0) -{ -uint8_t x_6; -x_6 = l___private_Init_Lean_TypeUtil_12__strictOccursMaxAux___main(x_1, x_4); -return x_6; -} -else -{ -uint8_t x_7; -x_7 = 1; -return x_7; -} -} -else -{ -uint8_t x_8; -x_8 = 0; -return x_8; -} -} -} -lean_object* l___private_Init_Lean_TypeUtil_13__strictOccursMax___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; lean_object* x_4; -x_3 = l___private_Init_Lean_TypeUtil_13__strictOccursMax(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -x_4 = lean_box(x_3); -return x_4; -} -} -lean_object* l___private_Init_Lean_TypeUtil_14__mkMaxArgsDiff___main(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -switch (lean_obj_tag(x_2)) { -case 2: -{ -lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_4 = lean_ctor_get(x_2, 0); -lean_inc(x_4); -x_5 = lean_ctor_get(x_2, 1); -lean_inc(x_5); -lean_dec(x_2); -x_6 = l___private_Init_Lean_TypeUtil_14__mkMaxArgsDiff___main(x_1, x_4, x_3); -x_2 = x_5; -x_3 = x_6; -goto _start; -} -case 5: -{ -lean_object* x_8; uint8_t x_9; -x_8 = lean_ctor_get(x_2, 0); -lean_inc(x_8); -x_9 = lean_name_dec_eq(x_8, x_1); -lean_dec(x_8); -if (x_9 == 0) -{ -lean_object* x_10; -x_10 = lean_level_mk_max(x_3, x_2); -return x_10; -} -else -{ -lean_dec(x_2); -return x_3; -} -} -default: -{ -lean_object* x_11; -x_11 = lean_level_mk_max(x_3, x_2); -return x_11; -} -} -} -} -lean_object* l___private_Init_Lean_TypeUtil_14__mkMaxArgsDiff___main___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l___private_Init_Lean_TypeUtil_14__mkMaxArgsDiff___main(x_1, x_2, x_3); -lean_dec(x_1); -return x_4; -} -} -lean_object* l___private_Init_Lean_TypeUtil_14__mkMaxArgsDiff(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l___private_Init_Lean_TypeUtil_14__mkMaxArgsDiff___main(x_1, x_2, x_3); -return x_4; -} -} -lean_object* l___private_Init_Lean_TypeUtil_14__mkMaxArgsDiff___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l___private_Init_Lean_TypeUtil_14__mkMaxArgsDiff(x_1, x_2, x_3); -lean_dec(x_1); -return x_4; -} -} -lean_object* l___private_Init_Lean_TypeUtil_15__solveSelfMax___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; -x_6 = l___private_Init_Lean_TypeUtil_11__mkFreshLevelMVar___rarg(x_5); -x_7 = lean_ctor_get(x_6, 0); -lean_inc(x_7); -x_8 = lean_ctor_get(x_6, 1); -lean_inc(x_8); -lean_dec(x_6); -x_9 = l___private_Init_Lean_TypeUtil_14__mkMaxArgsDiff___main(x_2, x_3, x_7); -x_10 = l___private_Init_Lean_TypeUtil_10__assignLevel___rarg(x_1, x_2, x_9, x_4, x_8); -return x_10; -} -} -lean_object* l___private_Init_Lean_TypeUtil_15__solveSelfMax(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l___private_Init_Lean_TypeUtil_15__solveSelfMax___rarg___boxed), 5, 0); -return x_3; -} -} -lean_object* l___private_Init_Lean_TypeUtil_15__solveSelfMax___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; -x_6 = l___private_Init_Lean_TypeUtil_15__solveSelfMax___rarg(x_1, x_2, x_3, x_4, x_5); -lean_dec(x_4); -return x_6; -} -} -lean_object* l___private_Init_Lean_TypeUtil_16__postponeIsLevelDefEq___rarg(lean_object* x_1, uint8_t x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -uint8_t x_7; -x_7 = !lean_is_exclusive(x_6); -if (x_7 == 0) -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_8 = lean_ctor_get(x_6, 4); -x_9 = lean_alloc_ctor(0, 2, 2); -lean_ctor_set(x_9, 0, x_1); -lean_ctor_set(x_9, 1, x_3); -lean_ctor_set_uint8(x_9, sizeof(void*)*2, x_2); -lean_ctor_set_uint8(x_9, sizeof(void*)*2 + 1, x_4); -x_10 = lean_array_push(x_8, x_9); -lean_ctor_set(x_6, 4, x_10); -x_11 = lean_box(0); -x_12 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_12, 0, x_11); -lean_ctor_set(x_12, 1, x_6); -return x_12; -} -else -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_13 = lean_ctor_get(x_6, 0); -x_14 = lean_ctor_get(x_6, 1); -x_15 = lean_ctor_get(x_6, 2); -x_16 = lean_ctor_get(x_6, 3); -x_17 = lean_ctor_get(x_6, 4); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); -lean_dec(x_6); -x_18 = lean_alloc_ctor(0, 2, 2); -lean_ctor_set(x_18, 0, x_1); -lean_ctor_set(x_18, 1, x_3); -lean_ctor_set_uint8(x_18, sizeof(void*)*2, x_2); -lean_ctor_set_uint8(x_18, sizeof(void*)*2 + 1, x_4); -x_19 = lean_array_push(x_17, x_18); -x_20 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_20, 0, x_13); -lean_ctor_set(x_20, 1, x_14); -lean_ctor_set(x_20, 2, x_15); -lean_ctor_set(x_20, 3, x_16); -lean_ctor_set(x_20, 4, x_19); -x_21 = lean_box(0); -x_22 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_22, 0, x_21); -lean_ctor_set(x_22, 1, x_20); -return x_22; -} -} -} -lean_object* l___private_Init_Lean_TypeUtil_16__postponeIsLevelDefEq(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l___private_Init_Lean_TypeUtil_16__postponeIsLevelDefEq___rarg___boxed), 6, 0); -return x_3; -} -} -lean_object* l___private_Init_Lean_TypeUtil_16__postponeIsLevelDefEq___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -uint8_t x_7; uint8_t x_8; lean_object* x_9; -x_7 = lean_unbox(x_2); -lean_dec(x_2); -x_8 = lean_unbox(x_4); -lean_dec(x_4); -x_9 = l___private_Init_Lean_TypeUtil_16__postponeIsLevelDefEq___rarg(x_1, x_7, x_3, x_8, x_5, x_6); -lean_dec(x_5); -return x_9; -} -} -lean_object* l___private_Init_Lean_Trace_3__addTrace___at___private_Init_Lean_TypeUtil_17__isLevelDefEqAux___main___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -uint8_t x_5; -x_5 = !lean_is_exclusive(x_4); -if (x_5 == 0) -{ -lean_object* x_6; uint8_t x_7; -x_6 = lean_ctor_get(x_4, 3); -x_7 = !lean_is_exclusive(x_6); -if (x_7 == 0) -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_8 = lean_ctor_get(x_6, 0); -x_9 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_9, 0, x_1); -lean_ctor_set(x_9, 1, x_2); -x_10 = lean_array_push(x_8, x_9); -lean_ctor_set(x_6, 0, x_10); -x_11 = lean_box(0); -x_12 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_12, 0, x_11); -lean_ctor_set(x_12, 1, x_4); -return x_12; -} -else -{ -uint8_t x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_13 = lean_ctor_get_uint8(x_6, sizeof(void*)*1); -x_14 = lean_ctor_get(x_6, 0); -lean_inc(x_14); -lean_dec(x_6); -x_15 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_15, 0, x_1); -lean_ctor_set(x_15, 1, x_2); -x_16 = lean_array_push(x_14, x_15); -x_17 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set_uint8(x_17, sizeof(void*)*1, x_13); -lean_ctor_set(x_4, 3, x_17); -x_18 = lean_box(0); -x_19 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_19, 0, x_18); -lean_ctor_set(x_19, 1, x_4); -return x_19; -} -} -else -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_20 = lean_ctor_get(x_4, 3); -x_21 = lean_ctor_get(x_4, 0); -x_22 = lean_ctor_get(x_4, 1); -x_23 = lean_ctor_get(x_4, 2); -x_24 = lean_ctor_get(x_4, 4); -lean_inc(x_24); -lean_inc(x_20); -lean_inc(x_23); -lean_inc(x_22); -lean_inc(x_21); -lean_dec(x_4); -x_25 = lean_ctor_get_uint8(x_20, sizeof(void*)*1); -x_26 = lean_ctor_get(x_20, 0); -lean_inc(x_26); -if (lean_is_exclusive(x_20)) { - lean_ctor_release(x_20, 0); - x_27 = x_20; -} else { - lean_dec_ref(x_20); - x_27 = lean_box(0); -} -x_28 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_28, 0, x_1); -lean_ctor_set(x_28, 1, x_2); -x_29 = lean_array_push(x_26, x_28); -if (lean_is_scalar(x_27)) { - x_30 = lean_alloc_ctor(0, 1, 1); -} else { - x_30 = x_27; -} -lean_ctor_set(x_30, 0, x_29); -lean_ctor_set_uint8(x_30, sizeof(void*)*1, x_25); -x_31 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_31, 0, x_21); -lean_ctor_set(x_31, 1, x_22); -lean_ctor_set(x_31, 2, x_23); -lean_ctor_set(x_31, 3, x_30); -lean_ctor_set(x_31, 4, x_24); -x_32 = lean_box(0); -x_33 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_33, 0, x_32); -lean_ctor_set(x_33, 1, x_31); -return x_33; -} -} -} -lean_object* l___private_Init_Lean_Trace_3__addTrace___at___private_Init_Lean_TypeUtil_17__isLevelDefEqAux___main___spec__1(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l___private_Init_Lean_Trace_3__addTrace___at___private_Init_Lean_TypeUtil_17__isLevelDefEqAux___main___spec__1___rarg___boxed), 4, 0); -return x_3; -} -} -lean_object* l___private_Init_Lean_Trace_5__checkTraceOption___at___private_Init_Lean_TypeUtil_17__isLevelDefEqAux___main___spec__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; uint8_t x_5; -x_4 = l___private_Init_Lean_TypeUtil_1__getOptions___rarg(x_2, x_3); -x_5 = !lean_is_exclusive(x_4); -if (x_5 == 0) -{ -lean_object* x_6; uint8_t x_7; -x_6 = lean_ctor_get(x_4, 0); -x_7 = l_List_isEmpty___rarg(x_6); -if (x_7 == 0) -{ -uint8_t x_8; lean_object* x_9; -x_8 = l___private_Init_Lean_Trace_4__checkTraceOptionAux___main(x_6, x_1); -lean_dec(x_6); -x_9 = lean_box(x_8); -lean_ctor_set(x_4, 0, x_9); -return x_4; -} -else -{ -uint8_t x_10; lean_object* x_11; -lean_dec(x_6); -x_10 = 0; -x_11 = lean_box(x_10); -lean_ctor_set(x_4, 0, x_11); -return x_4; -} -} -else -{ -lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_12 = lean_ctor_get(x_4, 0); -x_13 = lean_ctor_get(x_4, 1); -lean_inc(x_13); -lean_inc(x_12); -lean_dec(x_4); -x_14 = l_List_isEmpty___rarg(x_12); -if (x_14 == 0) -{ -uint8_t x_15; lean_object* x_16; lean_object* x_17; -x_15 = l___private_Init_Lean_Trace_4__checkTraceOptionAux___main(x_12, x_1); -lean_dec(x_12); -x_16 = lean_box(x_15); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_13); -return x_17; -} -else -{ -uint8_t x_18; lean_object* x_19; lean_object* x_20; -lean_dec(x_12); -x_18 = 0; -x_19 = lean_box(x_18); -x_20 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_20, 0, x_19); -lean_ctor_set(x_20, 1, x_13); -return x_20; -} -} -} -} -lean_object* l___private_Init_Lean_Trace_5__checkTraceOption___at___private_Init_Lean_TypeUtil_17__isLevelDefEqAux___main___spec__2(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l___private_Init_Lean_Trace_5__checkTraceOption___at___private_Init_Lean_TypeUtil_17__isLevelDefEqAux___main___spec__2___rarg___boxed), 3, 0); -return x_3; -} -} -lean_object* _init_l___private_Init_Lean_TypeUtil_17__isLevelDefEqAux___main___rarg___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("type_context"); -return x_1; -} -} -lean_object* _init_l___private_Init_Lean_TypeUtil_17__isLevelDefEqAux___main___rarg___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___private_Init_Lean_TypeUtil_17__isLevelDefEqAux___main___rarg___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -lean_object* _init_l___private_Init_Lean_TypeUtil_17__isLevelDefEqAux___main___rarg___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("level_is_def_eq"); -return x_1; -} -} -lean_object* _init_l___private_Init_Lean_TypeUtil_17__isLevelDefEqAux___main___rarg___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_TypeUtil_17__isLevelDefEqAux___main___rarg___closed__2; -x_2 = l___private_Init_Lean_TypeUtil_17__isLevelDefEqAux___main___rarg___closed__3; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -lean_object* _init_l___private_Init_Lean_TypeUtil_17__isLevelDefEqAux___main___rarg___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string(" =?= "); -return x_1; -} -} -lean_object* _init_l___private_Init_Lean_TypeUtil_17__isLevelDefEqAux___main___rarg___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_TypeUtil_17__isLevelDefEqAux___main___rarg___closed__5; -x_2 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -lean_object* _init_l___private_Init_Lean_TypeUtil_17__isLevelDefEqAux___main___rarg___closed__7() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_TypeUtil_17__isLevelDefEqAux___main___rarg___closed__6; -x_2 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -lean_object* _init_l___private_Init_Lean_TypeUtil_17__isLevelDefEqAux___main___rarg___closed__8() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_SimpleMonadTracerAdapter_isTracingEnabledFor___rarg___lambda__1___closed__2; -x_2 = l___private_Init_Lean_TypeUtil_17__isLevelDefEqAux___main___rarg___closed__4; -x_3 = l_Lean_Name_append___main(x_1, x_2); -return x_3; -} -} -lean_object* l___private_Init_Lean_TypeUtil_17__isLevelDefEqAux___main___rarg(lean_object* x_1, uint8_t x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; lean_object* x_383; -if (lean_obj_tag(x_4) == 1) -{ -if (lean_obj_tag(x_5) == 1) -{ -lean_object* x_411; lean_object* x_412; -x_411 = lean_ctor_get(x_4, 0); -lean_inc(x_411); -lean_dec(x_4); -x_412 = lean_ctor_get(x_5, 0); -lean_inc(x_412); -lean_dec(x_5); -x_4 = x_411; -x_5 = x_412; -goto _start; -} -else -{ -lean_object* x_414; -x_414 = lean_box(0); -x_383 = x_414; -goto block_410; -} -} -else -{ -lean_object* x_415; -x_415 = lean_box(0); -x_383 = x_415; -goto block_410; -} -block_382: -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; -lean_inc(x_4); -lean_inc(x_1); -x_9 = l___private_Init_Lean_TypeUtil_9__instantiateLevelMVars___rarg(x_1, x_4, x_6, x_8); -x_10 = lean_ctor_get(x_9, 0); -lean_inc(x_10); -x_11 = lean_ctor_get(x_9, 1); -lean_inc(x_11); -lean_dec(x_9); -x_12 = l_Lean_Level_normalize___main(x_10); -lean_dec(x_10); -lean_inc(x_5); -lean_inc(x_1); -x_13 = l___private_Init_Lean_TypeUtil_9__instantiateLevelMVars___rarg(x_1, x_5, x_6, x_11); -x_14 = !lean_is_exclusive(x_13); -if (x_14 == 0) -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; -x_15 = lean_ctor_get(x_13, 0); -x_16 = lean_ctor_get(x_13, 1); -x_17 = l_Lean_Level_normalize___main(x_15); -lean_dec(x_15); -x_18 = lean_level_eq(x_4, x_12); -if (x_18 == 0) -{ -lean_free_object(x_13); -lean_dec(x_5); -lean_dec(x_4); -x_4 = x_12; -x_5 = x_17; -x_7 = x_16; -goto _start; -} -else -{ -uint8_t x_20; -x_20 = lean_level_eq(x_5, x_17); -if (x_20 == 0) -{ -lean_free_object(x_13); -lean_dec(x_5); -lean_dec(x_4); -x_4 = x_12; -x_5 = x_17; -x_7 = x_16; -goto _start; -} -else -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_85; lean_object* x_175; -lean_dec(x_17); -lean_dec(x_12); -x_22 = l___private_Init_Lean_TypeUtil_3__getMCtx___rarg(x_16); -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -x_24 = lean_ctor_get(x_22, 1); -lean_inc(x_24); -if (lean_is_exclusive(x_22)) { - lean_ctor_release(x_22, 0); - lean_ctor_release(x_22, 1); - x_25 = x_22; -} else { - lean_dec_ref(x_22); - x_25 = lean_box(0); -} -if (x_2 == 0) -{ -if (x_3 == 0) -{ -uint8_t x_196; lean_object* x_197; -lean_dec(x_25); -lean_dec(x_23); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -x_196 = 0; -x_197 = lean_box(x_196); -lean_ctor_set(x_13, 1, x_24); -lean_ctor_set(x_13, 0, x_197); -return x_13; -} -else -{ -uint8_t x_198; -lean_inc(x_5); -lean_inc(x_23); -lean_inc(x_1); -x_198 = l_Lean_AbstractMetavarContext_hasAssignableLevelMVar___main___rarg(x_1, x_23, x_5); -if (x_198 == 0) -{ -uint8_t x_199; lean_object* x_200; -lean_dec(x_25); -lean_dec(x_23); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -x_199 = 0; -x_200 = lean_box(x_199); -lean_ctor_set(x_13, 1, x_24); -lean_ctor_set(x_13, 0, x_200); -return x_13; -} -else -{ -lean_object* x_201; -lean_free_object(x_13); -x_201 = lean_box(0); -x_175 = x_201; -goto block_195; -} -} -} -else -{ -uint8_t x_202; -lean_inc(x_4); -lean_inc(x_23); -lean_inc(x_1); -x_202 = l_Lean_AbstractMetavarContext_hasAssignableLevelMVar___main___rarg(x_1, x_23, x_4); -if (x_202 == 0) -{ -if (x_3 == 0) -{ -uint8_t x_203; lean_object* x_204; -lean_dec(x_25); -lean_dec(x_23); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -x_203 = 0; -x_204 = lean_box(x_203); -lean_ctor_set(x_13, 1, x_24); -lean_ctor_set(x_13, 0, x_204); -return x_13; -} -else -{ -uint8_t x_205; -lean_inc(x_5); -lean_inc(x_23); -lean_inc(x_1); -x_205 = l_Lean_AbstractMetavarContext_hasAssignableLevelMVar___main___rarg(x_1, x_23, x_5); -if (x_205 == 0) -{ -uint8_t x_206; lean_object* x_207; -lean_dec(x_25); -lean_dec(x_23); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -x_206 = 0; -x_207 = lean_box(x_206); -lean_ctor_set(x_13, 1, x_24); -lean_ctor_set(x_13, 0, x_207); -return x_13; -} -else -{ -lean_object* x_208; -lean_free_object(x_13); -x_208 = lean_box(0); -x_175 = x_208; -goto block_195; -} -} -} -else -{ -lean_object* x_209; -lean_free_object(x_13); -x_209 = lean_box(0); -x_175 = x_209; -goto block_195; -} -} -block_84: -{ -uint8_t x_27; -lean_dec(x_26); -x_27 = l_Lean_Level_isSucc(x_4); -if (x_27 == 0) -{ -uint8_t x_28; -x_28 = l_Lean_Level_isSucc(x_5); -if (x_28 == 0) -{ -lean_object* x_29; uint8_t x_30; -lean_dec(x_1); -x_29 = l___private_Init_Lean_TypeUtil_16__postponeIsLevelDefEq___rarg(x_4, x_2, x_5, x_3, x_6, x_24); -x_30 = !lean_is_exclusive(x_29); -if (x_30 == 0) -{ -lean_object* x_31; uint8_t x_32; lean_object* x_33; -x_31 = lean_ctor_get(x_29, 0); -lean_dec(x_31); -x_32 = 1; -x_33 = lean_box(x_32); -lean_ctor_set(x_29, 0, x_33); -return x_29; -} -else -{ -lean_object* x_34; uint8_t x_35; lean_object* x_36; lean_object* x_37; -x_34 = lean_ctor_get(x_29, 1); -lean_inc(x_34); -lean_dec(x_29); -x_35 = 1; -x_36 = lean_box(x_35); -x_37 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_37, 0, x_36); -lean_ctor_set(x_37, 1, x_34); -return x_37; -} -} -else -{ -lean_object* x_38; -x_38 = l_Lean_Level_dec___main(x_4); -if (lean_obj_tag(x_38) == 0) -{ -lean_object* x_39; uint8_t x_40; -lean_dec(x_1); -x_39 = l___private_Init_Lean_TypeUtil_16__postponeIsLevelDefEq___rarg(x_4, x_2, x_5, x_3, x_6, x_24); -x_40 = !lean_is_exclusive(x_39); -if (x_40 == 0) -{ -lean_object* x_41; uint8_t x_42; lean_object* x_43; -x_41 = lean_ctor_get(x_39, 0); -lean_dec(x_41); -x_42 = 1; -x_43 = lean_box(x_42); -lean_ctor_set(x_39, 0, x_43); -return x_39; -} -else -{ -lean_object* x_44; uint8_t x_45; lean_object* x_46; lean_object* x_47; -x_44 = lean_ctor_get(x_39, 1); -lean_inc(x_44); -lean_dec(x_39); -x_45 = 1; -x_46 = lean_box(x_45); -x_47 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_47, 0, x_46); -lean_ctor_set(x_47, 1, x_44); -return x_47; -} -} -else -{ -lean_object* x_48; lean_object* x_49; -x_48 = lean_ctor_get(x_38, 0); -lean_inc(x_48); -lean_dec(x_38); -x_49 = l_Lean_Level_dec___main(x_5); -if (lean_obj_tag(x_49) == 0) -{ -lean_object* x_50; uint8_t x_51; -lean_dec(x_48); -lean_dec(x_1); -x_50 = l___private_Init_Lean_TypeUtil_16__postponeIsLevelDefEq___rarg(x_4, x_2, x_5, x_3, x_6, x_24); -x_51 = !lean_is_exclusive(x_50); -if (x_51 == 0) -{ -lean_object* x_52; uint8_t x_53; lean_object* x_54; -x_52 = lean_ctor_get(x_50, 0); -lean_dec(x_52); -x_53 = 1; -x_54 = lean_box(x_53); -lean_ctor_set(x_50, 0, x_54); -return x_50; -} -else -{ -lean_object* x_55; uint8_t x_56; lean_object* x_57; lean_object* x_58; -x_55 = lean_ctor_get(x_50, 1); -lean_inc(x_55); -lean_dec(x_50); -x_56 = 1; -x_57 = lean_box(x_56); -x_58 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_58, 0, x_57); -lean_ctor_set(x_58, 1, x_55); -return x_58; -} -} -else -{ -lean_object* x_59; -lean_dec(x_5); -lean_dec(x_4); -x_59 = lean_ctor_get(x_49, 0); -lean_inc(x_59); -lean_dec(x_49); -x_4 = x_48; -x_5 = x_59; -x_7 = x_24; -goto _start; -} -} -} -} -else -{ -lean_object* x_61; -x_61 = l_Lean_Level_dec___main(x_4); -if (lean_obj_tag(x_61) == 0) -{ -lean_object* x_62; uint8_t x_63; -lean_dec(x_1); -x_62 = l___private_Init_Lean_TypeUtil_16__postponeIsLevelDefEq___rarg(x_4, x_2, x_5, x_3, x_6, x_24); -x_63 = !lean_is_exclusive(x_62); -if (x_63 == 0) -{ -lean_object* x_64; uint8_t x_65; lean_object* x_66; -x_64 = lean_ctor_get(x_62, 0); -lean_dec(x_64); -x_65 = 1; -x_66 = lean_box(x_65); -lean_ctor_set(x_62, 0, x_66); -return x_62; -} -else -{ -lean_object* x_67; uint8_t x_68; lean_object* x_69; lean_object* x_70; -x_67 = lean_ctor_get(x_62, 1); -lean_inc(x_67); -lean_dec(x_62); -x_68 = 1; -x_69 = lean_box(x_68); -x_70 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_70, 0, x_69); -lean_ctor_set(x_70, 1, x_67); -return x_70; -} -} -else -{ -lean_object* x_71; lean_object* x_72; -x_71 = lean_ctor_get(x_61, 0); -lean_inc(x_71); -lean_dec(x_61); -x_72 = l_Lean_Level_dec___main(x_5); -if (lean_obj_tag(x_72) == 0) -{ -lean_object* x_73; uint8_t x_74; -lean_dec(x_71); -lean_dec(x_1); -x_73 = l___private_Init_Lean_TypeUtil_16__postponeIsLevelDefEq___rarg(x_4, x_2, x_5, x_3, x_6, x_24); -x_74 = !lean_is_exclusive(x_73); -if (x_74 == 0) -{ -lean_object* x_75; uint8_t x_76; lean_object* x_77; -x_75 = lean_ctor_get(x_73, 0); -lean_dec(x_75); -x_76 = 1; -x_77 = lean_box(x_76); -lean_ctor_set(x_73, 0, x_77); -return x_73; -} -else -{ -lean_object* x_78; uint8_t x_79; lean_object* x_80; lean_object* x_81; -x_78 = lean_ctor_get(x_73, 1); -lean_inc(x_78); -lean_dec(x_73); -x_79 = 1; -x_80 = lean_box(x_79); -x_81 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_81, 0, x_80); -lean_ctor_set(x_81, 1, x_78); -return x_81; -} -} -else -{ -lean_object* x_82; -lean_dec(x_5); -lean_dec(x_4); -x_82 = lean_ctor_get(x_72, 0); -lean_inc(x_82); -lean_dec(x_72); -x_4 = x_71; -x_5 = x_82; -x_7 = x_24; -goto _start; -} -} -} -} -block_174: -{ -uint8_t x_86; lean_object* x_87; lean_object* x_133; -lean_dec(x_85); -x_86 = lean_ctor_get_uint8(x_1, sizeof(void*)*12); -if (x_86 == 0) -{ -lean_object* x_154; -x_154 = lean_box(0); -x_133 = x_154; -goto block_153; -} -else -{ -if (x_2 == 0) -{ -lean_object* x_155; -x_155 = lean_box(0); -x_133 = x_155; -goto block_153; -} -else -{ -uint8_t x_156; -x_156 = l_Lean_Level_isMVar(x_4); -if (x_156 == 0) -{ -lean_object* x_157; -x_157 = lean_box(0); -x_133 = x_157; -goto block_153; -} -else -{ -lean_object* x_158; lean_object* x_159; lean_object* x_160; uint8_t x_161; -x_158 = lean_ctor_get(x_1, 1); -lean_inc(x_158); -x_159 = l_Lean_Level_mvarId_x21(x_4); -lean_inc(x_159); -lean_inc(x_23); -x_160 = lean_apply_2(x_158, x_23, x_159); -x_161 = lean_unbox(x_160); -lean_dec(x_160); -if (x_161 == 0) -{ -uint8_t x_162; -x_162 = l___private_Init_Lean_TypeUtil_13__strictOccursMax(x_4, x_5); -if (x_162 == 0) -{ -lean_object* x_163; uint8_t x_164; -lean_dec(x_25); -lean_dec(x_23); -lean_dec(x_4); -x_163 = l___private_Init_Lean_TypeUtil_15__solveSelfMax___rarg(x_1, x_159, x_5, x_6, x_24); -x_164 = !lean_is_exclusive(x_163); -if (x_164 == 0) -{ -lean_object* x_165; uint8_t x_166; lean_object* x_167; -x_165 = lean_ctor_get(x_163, 0); -lean_dec(x_165); -x_166 = 1; -x_167 = lean_box(x_166); -lean_ctor_set(x_163, 0, x_167); -return x_163; -} -else -{ -lean_object* x_168; uint8_t x_169; lean_object* x_170; lean_object* x_171; -x_168 = lean_ctor_get(x_163, 1); -lean_inc(x_168); -lean_dec(x_163); -x_169 = 1; -x_170 = lean_box(x_169); -x_171 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_171, 0, x_170); -lean_ctor_set(x_171, 1, x_168); -return x_171; -} -} -else -{ -lean_object* x_172; -lean_dec(x_159); -x_172 = lean_box(0); -x_133 = x_172; -goto block_153; -} -} -else -{ -lean_object* x_173; -lean_dec(x_159); -x_173 = lean_box(0); -x_133 = x_173; -goto block_153; -} -} -} -} -block_132: -{ -lean_dec(x_87); -if (x_86 == 0) -{ -uint8_t x_88; -lean_dec(x_23); -x_88 = l_Lean_Level_isMVar(x_4); -if (x_88 == 0) -{ -uint8_t x_89; -x_89 = l_Lean_Level_isMVar(x_5); -if (x_89 == 0) -{ -lean_object* x_90; -lean_dec(x_25); -x_90 = lean_box(0); -x_26 = x_90; -goto block_84; -} -else -{ -uint8_t x_91; lean_object* x_92; lean_object* x_93; -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -x_91 = 0; -x_92 = lean_box(x_91); -if (lean_is_scalar(x_25)) { - x_93 = lean_alloc_ctor(0, 2, 0); -} else { - x_93 = x_25; -} -lean_ctor_set(x_93, 0, x_92); -lean_ctor_set(x_93, 1, x_24); -return x_93; -} -} -else -{ -uint8_t x_94; lean_object* x_95; lean_object* x_96; -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -x_94 = 0; -x_95 = lean_box(x_94); -if (lean_is_scalar(x_25)) { - x_96 = lean_alloc_ctor(0, 2, 0); -} else { - x_96 = x_25; -} -lean_ctor_set(x_96, 0, x_95); -lean_ctor_set(x_96, 1, x_24); -return x_96; -} -} -else -{ -if (x_3 == 0) -{ -uint8_t x_97; -lean_dec(x_23); -x_97 = l_Lean_Level_isMVar(x_4); -if (x_97 == 0) -{ -uint8_t x_98; -x_98 = l_Lean_Level_isMVar(x_5); -if (x_98 == 0) -{ -lean_object* x_99; -lean_dec(x_25); -x_99 = lean_box(0); -x_26 = x_99; -goto block_84; -} -else -{ -uint8_t x_100; lean_object* x_101; lean_object* x_102; -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -x_100 = 0; -x_101 = lean_box(x_100); -if (lean_is_scalar(x_25)) { - x_102 = lean_alloc_ctor(0, 2, 0); -} else { - x_102 = x_25; -} -lean_ctor_set(x_102, 0, x_101); -lean_ctor_set(x_102, 1, x_24); -return x_102; -} -} -else -{ -uint8_t x_103; lean_object* x_104; lean_object* x_105; -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -x_103 = 0; -x_104 = lean_box(x_103); -if (lean_is_scalar(x_25)) { - x_105 = lean_alloc_ctor(0, 2, 0); -} else { - x_105 = x_25; -} -lean_ctor_set(x_105, 0, x_104); -lean_ctor_set(x_105, 1, x_24); -return x_105; -} -} -else -{ -uint8_t x_106; -x_106 = l_Lean_Level_isMVar(x_5); -if (x_106 == 0) -{ -uint8_t x_107; -lean_dec(x_23); -x_107 = l_Lean_Level_isMVar(x_4); -if (x_107 == 0) -{ -lean_object* x_108; -lean_dec(x_25); -x_108 = lean_box(0); -x_26 = x_108; -goto block_84; -} -else -{ -uint8_t x_109; lean_object* x_110; lean_object* x_111; -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -x_109 = 0; -x_110 = lean_box(x_109); -if (lean_is_scalar(x_25)) { - x_111 = lean_alloc_ctor(0, 2, 0); -} else { - x_111 = x_25; -} -lean_ctor_set(x_111, 0, x_110); -lean_ctor_set(x_111, 1, x_24); -return x_111; -} -} -else -{ -lean_object* x_112; lean_object* x_113; lean_object* x_114; uint8_t x_115; -x_112 = lean_ctor_get(x_1, 1); -lean_inc(x_112); -x_113 = l_Lean_Level_mvarId_x21(x_5); -lean_inc(x_113); -x_114 = lean_apply_2(x_112, x_23, x_113); -x_115 = lean_unbox(x_114); -lean_dec(x_114); -if (x_115 == 0) -{ -uint8_t x_116; -x_116 = l___private_Init_Lean_TypeUtil_13__strictOccursMax(x_5, x_4); -lean_dec(x_5); -if (x_116 == 0) -{ -lean_object* x_117; uint8_t x_118; -lean_dec(x_25); -x_117 = l___private_Init_Lean_TypeUtil_15__solveSelfMax___rarg(x_1, x_113, x_4, x_6, x_24); -x_118 = !lean_is_exclusive(x_117); -if (x_118 == 0) -{ -lean_object* x_119; uint8_t x_120; lean_object* x_121; -x_119 = lean_ctor_get(x_117, 0); -lean_dec(x_119); -x_120 = 1; -x_121 = lean_box(x_120); -lean_ctor_set(x_117, 0, x_121); -return x_117; -} -else -{ -lean_object* x_122; uint8_t x_123; lean_object* x_124; lean_object* x_125; -x_122 = lean_ctor_get(x_117, 1); -lean_inc(x_122); -lean_dec(x_117); -x_123 = 1; -x_124 = lean_box(x_123); -x_125 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_125, 0, x_124); -lean_ctor_set(x_125, 1, x_122); -return x_125; -} -} -else -{ -uint8_t x_126; lean_object* x_127; lean_object* x_128; -lean_dec(x_113); -lean_dec(x_4); -lean_dec(x_1); -x_126 = 0; -x_127 = lean_box(x_126); -if (lean_is_scalar(x_25)) { - x_128 = lean_alloc_ctor(0, 2, 0); -} else { - x_128 = x_25; -} -lean_ctor_set(x_128, 0, x_127); -lean_ctor_set(x_128, 1, x_24); -return x_128; -} -} -else -{ -uint8_t x_129; lean_object* x_130; lean_object* x_131; -lean_dec(x_113); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -x_129 = 0; -x_130 = lean_box(x_129); -if (lean_is_scalar(x_25)) { - x_131 = lean_alloc_ctor(0, 2, 0); -} else { - x_131 = x_25; -} -lean_ctor_set(x_131, 0, x_130); -lean_ctor_set(x_131, 1, x_24); -return x_131; -} -} -} -} -} -block_153: -{ -lean_dec(x_133); -if (x_3 == 0) -{ -lean_object* x_134; -x_134 = lean_box(0); -x_87 = x_134; -goto block_132; -} -else -{ -uint8_t x_135; -x_135 = l_Lean_Level_isMVar(x_5); -if (x_135 == 0) -{ -lean_object* x_136; -x_136 = lean_box(0); -x_87 = x_136; -goto block_132; -} -else -{ -lean_object* x_137; lean_object* x_138; lean_object* x_139; uint8_t x_140; -x_137 = lean_ctor_get(x_1, 1); -lean_inc(x_137); -x_138 = l_Lean_Level_mvarId_x21(x_5); -lean_inc(x_138); -lean_inc(x_23); -x_139 = lean_apply_2(x_137, x_23, x_138); -x_140 = lean_unbox(x_139); -lean_dec(x_139); -if (x_140 == 0) -{ -uint8_t x_141; -x_141 = l_Lean_Level_occurs___main(x_5, x_4); -if (x_141 == 0) -{ -lean_object* x_142; uint8_t x_143; -lean_dec(x_25); -lean_dec(x_23); -lean_dec(x_5); -x_142 = l___private_Init_Lean_TypeUtil_10__assignLevel___rarg(x_1, x_138, x_4, x_6, x_24); -x_143 = !lean_is_exclusive(x_142); -if (x_143 == 0) -{ -lean_object* x_144; uint8_t x_145; lean_object* x_146; -x_144 = lean_ctor_get(x_142, 0); -lean_dec(x_144); -x_145 = 1; -x_146 = lean_box(x_145); -lean_ctor_set(x_142, 0, x_146); -return x_142; -} -else -{ -lean_object* x_147; uint8_t x_148; lean_object* x_149; lean_object* x_150; -x_147 = lean_ctor_get(x_142, 1); -lean_inc(x_147); -lean_dec(x_142); -x_148 = 1; -x_149 = lean_box(x_148); -x_150 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_150, 0, x_149); -lean_ctor_set(x_150, 1, x_147); -return x_150; -} -} -else -{ -lean_object* x_151; -lean_dec(x_138); -x_151 = lean_box(0); -x_87 = x_151; -goto block_132; -} -} -else -{ -lean_object* x_152; -lean_dec(x_138); -x_152 = lean_box(0); -x_87 = x_152; -goto block_132; -} -} -} -} -} -block_195: -{ -lean_dec(x_175); -if (x_2 == 0) -{ -lean_object* x_176; -x_176 = lean_box(0); -x_85 = x_176; -goto block_174; -} -else -{ -uint8_t x_177; -x_177 = l_Lean_Level_isMVar(x_4); -if (x_177 == 0) -{ -lean_object* x_178; -x_178 = lean_box(0); -x_85 = x_178; -goto block_174; -} -else -{ -lean_object* x_179; lean_object* x_180; lean_object* x_181; uint8_t x_182; -x_179 = lean_ctor_get(x_1, 1); -lean_inc(x_179); -x_180 = l_Lean_Level_mvarId_x21(x_4); -lean_inc(x_180); -lean_inc(x_23); -x_181 = lean_apply_2(x_179, x_23, x_180); -x_182 = lean_unbox(x_181); -lean_dec(x_181); -if (x_182 == 0) -{ -uint8_t x_183; -x_183 = l_Lean_Level_occurs___main(x_4, x_5); -if (x_183 == 0) -{ -lean_object* x_184; uint8_t x_185; -lean_dec(x_25); -lean_dec(x_23); -lean_dec(x_4); -x_184 = l___private_Init_Lean_TypeUtil_10__assignLevel___rarg(x_1, x_180, x_5, x_6, x_24); -x_185 = !lean_is_exclusive(x_184); -if (x_185 == 0) -{ -lean_object* x_186; uint8_t x_187; lean_object* x_188; -x_186 = lean_ctor_get(x_184, 0); -lean_dec(x_186); -x_187 = 1; -x_188 = lean_box(x_187); -lean_ctor_set(x_184, 0, x_188); -return x_184; -} -else -{ -lean_object* x_189; uint8_t x_190; lean_object* x_191; lean_object* x_192; -x_189 = lean_ctor_get(x_184, 1); -lean_inc(x_189); -lean_dec(x_184); -x_190 = 1; -x_191 = lean_box(x_190); -x_192 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_192, 0, x_191); -lean_ctor_set(x_192, 1, x_189); -return x_192; -} -} -else -{ -lean_object* x_193; -lean_dec(x_180); -x_193 = lean_box(0); -x_85 = x_193; -goto block_174; -} -} -else -{ -lean_object* x_194; -lean_dec(x_180); -x_194 = lean_box(0); -x_85 = x_194; -goto block_174; -} -} -} -} -} -} -} -else -{ -lean_object* x_210; lean_object* x_211; lean_object* x_212; uint8_t x_213; -x_210 = lean_ctor_get(x_13, 0); -x_211 = lean_ctor_get(x_13, 1); -lean_inc(x_211); -lean_inc(x_210); -lean_dec(x_13); -x_212 = l_Lean_Level_normalize___main(x_210); -lean_dec(x_210); -x_213 = lean_level_eq(x_4, x_12); -if (x_213 == 0) -{ -lean_dec(x_5); -lean_dec(x_4); -x_4 = x_12; -x_5 = x_212; -x_7 = x_211; -goto _start; -} -else -{ -uint8_t x_215; -x_215 = lean_level_eq(x_5, x_212); -if (x_215 == 0) -{ -lean_dec(x_5); -lean_dec(x_4); -x_4 = x_12; -x_5 = x_212; -x_7 = x_211; -goto _start; -} -else -{ -lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_265; lean_object* x_346; -lean_dec(x_212); -lean_dec(x_12); -x_217 = l___private_Init_Lean_TypeUtil_3__getMCtx___rarg(x_211); -x_218 = lean_ctor_get(x_217, 0); -lean_inc(x_218); -x_219 = lean_ctor_get(x_217, 1); -lean_inc(x_219); -if (lean_is_exclusive(x_217)) { - lean_ctor_release(x_217, 0); - lean_ctor_release(x_217, 1); - x_220 = x_217; -} else { - lean_dec_ref(x_217); - x_220 = lean_box(0); -} -if (x_2 == 0) -{ -if (x_3 == 0) -{ -uint8_t x_364; lean_object* x_365; lean_object* x_366; -lean_dec(x_220); -lean_dec(x_218); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -x_364 = 0; -x_365 = lean_box(x_364); -x_366 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_366, 0, x_365); -lean_ctor_set(x_366, 1, x_219); -return x_366; -} -else -{ -uint8_t x_367; -lean_inc(x_5); -lean_inc(x_218); -lean_inc(x_1); -x_367 = l_Lean_AbstractMetavarContext_hasAssignableLevelMVar___main___rarg(x_1, x_218, x_5); -if (x_367 == 0) -{ -uint8_t x_368; lean_object* x_369; lean_object* x_370; -lean_dec(x_220); -lean_dec(x_218); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -x_368 = 0; -x_369 = lean_box(x_368); -x_370 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_370, 0, x_369); -lean_ctor_set(x_370, 1, x_219); -return x_370; -} -else -{ -lean_object* x_371; -x_371 = lean_box(0); -x_346 = x_371; -goto block_363; -} -} -} -else -{ -uint8_t x_372; -lean_inc(x_4); -lean_inc(x_218); -lean_inc(x_1); -x_372 = l_Lean_AbstractMetavarContext_hasAssignableLevelMVar___main___rarg(x_1, x_218, x_4); -if (x_372 == 0) -{ -if (x_3 == 0) -{ -uint8_t x_373; lean_object* x_374; lean_object* x_375; -lean_dec(x_220); -lean_dec(x_218); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -x_373 = 0; -x_374 = lean_box(x_373); -x_375 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_375, 0, x_374); -lean_ctor_set(x_375, 1, x_219); -return x_375; -} -else -{ -uint8_t x_376; -lean_inc(x_5); -lean_inc(x_218); -lean_inc(x_1); -x_376 = l_Lean_AbstractMetavarContext_hasAssignableLevelMVar___main___rarg(x_1, x_218, x_5); -if (x_376 == 0) -{ -uint8_t x_377; lean_object* x_378; lean_object* x_379; -lean_dec(x_220); -lean_dec(x_218); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -x_377 = 0; -x_378 = lean_box(x_377); -x_379 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_379, 0, x_378); -lean_ctor_set(x_379, 1, x_219); -return x_379; -} -else -{ -lean_object* x_380; -x_380 = lean_box(0); -x_346 = x_380; -goto block_363; -} -} -} -else -{ -lean_object* x_381; -x_381 = lean_box(0); -x_346 = x_381; -goto block_363; -} -} -block_264: -{ -uint8_t x_222; -lean_dec(x_221); -x_222 = l_Lean_Level_isSucc(x_4); -if (x_222 == 0) -{ -uint8_t x_223; -x_223 = l_Lean_Level_isSucc(x_5); -if (x_223 == 0) -{ -lean_object* x_224; lean_object* x_225; lean_object* x_226; uint8_t x_227; lean_object* x_228; lean_object* x_229; -lean_dec(x_1); -x_224 = l___private_Init_Lean_TypeUtil_16__postponeIsLevelDefEq___rarg(x_4, x_2, x_5, x_3, x_6, x_219); -x_225 = lean_ctor_get(x_224, 1); -lean_inc(x_225); -if (lean_is_exclusive(x_224)) { - lean_ctor_release(x_224, 0); - lean_ctor_release(x_224, 1); - x_226 = x_224; -} else { - lean_dec_ref(x_224); - x_226 = lean_box(0); -} -x_227 = 1; -x_228 = lean_box(x_227); -if (lean_is_scalar(x_226)) { - x_229 = lean_alloc_ctor(0, 2, 0); -} else { - x_229 = x_226; -} -lean_ctor_set(x_229, 0, x_228); -lean_ctor_set(x_229, 1, x_225); -return x_229; -} -else -{ -lean_object* x_230; -x_230 = l_Lean_Level_dec___main(x_4); -if (lean_obj_tag(x_230) == 0) -{ -lean_object* x_231; lean_object* x_232; lean_object* x_233; uint8_t x_234; lean_object* x_235; lean_object* x_236; -lean_dec(x_1); -x_231 = l___private_Init_Lean_TypeUtil_16__postponeIsLevelDefEq___rarg(x_4, x_2, x_5, x_3, x_6, x_219); -x_232 = lean_ctor_get(x_231, 1); -lean_inc(x_232); -if (lean_is_exclusive(x_231)) { - lean_ctor_release(x_231, 0); - lean_ctor_release(x_231, 1); - x_233 = x_231; -} else { - lean_dec_ref(x_231); - x_233 = lean_box(0); -} -x_234 = 1; -x_235 = lean_box(x_234); -if (lean_is_scalar(x_233)) { - x_236 = lean_alloc_ctor(0, 2, 0); -} else { - x_236 = x_233; -} -lean_ctor_set(x_236, 0, x_235); -lean_ctor_set(x_236, 1, x_232); -return x_236; -} -else -{ -lean_object* x_237; lean_object* x_238; -x_237 = lean_ctor_get(x_230, 0); -lean_inc(x_237); -lean_dec(x_230); -x_238 = l_Lean_Level_dec___main(x_5); -if (lean_obj_tag(x_238) == 0) -{ -lean_object* x_239; lean_object* x_240; lean_object* x_241; uint8_t x_242; lean_object* x_243; lean_object* x_244; -lean_dec(x_237); -lean_dec(x_1); -x_239 = l___private_Init_Lean_TypeUtil_16__postponeIsLevelDefEq___rarg(x_4, x_2, x_5, x_3, x_6, x_219); -x_240 = lean_ctor_get(x_239, 1); -lean_inc(x_240); -if (lean_is_exclusive(x_239)) { - lean_ctor_release(x_239, 0); - lean_ctor_release(x_239, 1); - x_241 = x_239; -} else { - lean_dec_ref(x_239); - x_241 = lean_box(0); -} -x_242 = 1; -x_243 = lean_box(x_242); -if (lean_is_scalar(x_241)) { - x_244 = lean_alloc_ctor(0, 2, 0); -} else { - x_244 = x_241; -} -lean_ctor_set(x_244, 0, x_243); -lean_ctor_set(x_244, 1, x_240); -return x_244; -} -else -{ -lean_object* x_245; -lean_dec(x_5); -lean_dec(x_4); -x_245 = lean_ctor_get(x_238, 0); -lean_inc(x_245); -lean_dec(x_238); -x_4 = x_237; -x_5 = x_245; -x_7 = x_219; -goto _start; -} -} -} -} -else -{ -lean_object* x_247; -x_247 = l_Lean_Level_dec___main(x_4); -if (lean_obj_tag(x_247) == 0) -{ -lean_object* x_248; lean_object* x_249; lean_object* x_250; uint8_t x_251; lean_object* x_252; lean_object* x_253; -lean_dec(x_1); -x_248 = l___private_Init_Lean_TypeUtil_16__postponeIsLevelDefEq___rarg(x_4, x_2, x_5, x_3, x_6, x_219); -x_249 = lean_ctor_get(x_248, 1); -lean_inc(x_249); -if (lean_is_exclusive(x_248)) { - lean_ctor_release(x_248, 0); - lean_ctor_release(x_248, 1); - x_250 = x_248; -} else { - lean_dec_ref(x_248); - x_250 = lean_box(0); -} -x_251 = 1; -x_252 = lean_box(x_251); -if (lean_is_scalar(x_250)) { - x_253 = lean_alloc_ctor(0, 2, 0); -} else { - x_253 = x_250; -} -lean_ctor_set(x_253, 0, x_252); -lean_ctor_set(x_253, 1, x_249); -return x_253; -} -else -{ -lean_object* x_254; lean_object* x_255; -x_254 = lean_ctor_get(x_247, 0); -lean_inc(x_254); -lean_dec(x_247); -x_255 = l_Lean_Level_dec___main(x_5); -if (lean_obj_tag(x_255) == 0) -{ -lean_object* x_256; lean_object* x_257; lean_object* x_258; uint8_t x_259; lean_object* x_260; lean_object* x_261; -lean_dec(x_254); -lean_dec(x_1); -x_256 = l___private_Init_Lean_TypeUtil_16__postponeIsLevelDefEq___rarg(x_4, x_2, x_5, x_3, x_6, x_219); -x_257 = lean_ctor_get(x_256, 1); -lean_inc(x_257); -if (lean_is_exclusive(x_256)) { - lean_ctor_release(x_256, 0); - lean_ctor_release(x_256, 1); - x_258 = x_256; -} else { - lean_dec_ref(x_256); - x_258 = lean_box(0); -} -x_259 = 1; -x_260 = lean_box(x_259); -if (lean_is_scalar(x_258)) { - x_261 = lean_alloc_ctor(0, 2, 0); -} else { - x_261 = x_258; -} -lean_ctor_set(x_261, 0, x_260); -lean_ctor_set(x_261, 1, x_257); -return x_261; -} -else -{ -lean_object* x_262; -lean_dec(x_5); -lean_dec(x_4); -x_262 = lean_ctor_get(x_255, 0); -lean_inc(x_262); -lean_dec(x_255); -x_4 = x_254; -x_5 = x_262; -x_7 = x_219; -goto _start; -} -} -} -} -block_345: -{ -uint8_t x_266; lean_object* x_267; lean_object* x_310; -lean_dec(x_265); -x_266 = lean_ctor_get_uint8(x_1, sizeof(void*)*12); -if (x_266 == 0) -{ -lean_object* x_328; -x_328 = lean_box(0); -x_310 = x_328; -goto block_327; -} -else -{ -if (x_2 == 0) -{ -lean_object* x_329; -x_329 = lean_box(0); -x_310 = x_329; -goto block_327; -} -else -{ -uint8_t x_330; -x_330 = l_Lean_Level_isMVar(x_4); -if (x_330 == 0) -{ -lean_object* x_331; -x_331 = lean_box(0); -x_310 = x_331; -goto block_327; -} -else -{ -lean_object* x_332; lean_object* x_333; lean_object* x_334; uint8_t x_335; -x_332 = lean_ctor_get(x_1, 1); -lean_inc(x_332); -x_333 = l_Lean_Level_mvarId_x21(x_4); -lean_inc(x_333); -lean_inc(x_218); -x_334 = lean_apply_2(x_332, x_218, x_333); -x_335 = lean_unbox(x_334); -lean_dec(x_334); -if (x_335 == 0) -{ -uint8_t x_336; -x_336 = l___private_Init_Lean_TypeUtil_13__strictOccursMax(x_4, x_5); -if (x_336 == 0) -{ -lean_object* x_337; lean_object* x_338; lean_object* x_339; uint8_t x_340; lean_object* x_341; lean_object* x_342; -lean_dec(x_220); -lean_dec(x_218); -lean_dec(x_4); -x_337 = l___private_Init_Lean_TypeUtil_15__solveSelfMax___rarg(x_1, x_333, x_5, x_6, x_219); -x_338 = lean_ctor_get(x_337, 1); -lean_inc(x_338); -if (lean_is_exclusive(x_337)) { - lean_ctor_release(x_337, 0); - lean_ctor_release(x_337, 1); - x_339 = x_337; -} else { - lean_dec_ref(x_337); - x_339 = lean_box(0); -} -x_340 = 1; -x_341 = lean_box(x_340); -if (lean_is_scalar(x_339)) { - x_342 = lean_alloc_ctor(0, 2, 0); -} else { - x_342 = x_339; -} -lean_ctor_set(x_342, 0, x_341); -lean_ctor_set(x_342, 1, x_338); -return x_342; -} -else -{ -lean_object* x_343; -lean_dec(x_333); -x_343 = lean_box(0); -x_310 = x_343; -goto block_327; -} -} -else -{ -lean_object* x_344; -lean_dec(x_333); -x_344 = lean_box(0); -x_310 = x_344; -goto block_327; -} -} -} -} -block_309: -{ -lean_dec(x_267); -if (x_266 == 0) -{ -uint8_t x_268; -lean_dec(x_218); -x_268 = l_Lean_Level_isMVar(x_4); -if (x_268 == 0) -{ -uint8_t x_269; -x_269 = l_Lean_Level_isMVar(x_5); -if (x_269 == 0) -{ -lean_object* x_270; -lean_dec(x_220); -x_270 = lean_box(0); -x_221 = x_270; -goto block_264; -} -else -{ -uint8_t x_271; lean_object* x_272; lean_object* x_273; -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -x_271 = 0; -x_272 = lean_box(x_271); -if (lean_is_scalar(x_220)) { - x_273 = lean_alloc_ctor(0, 2, 0); -} else { - x_273 = x_220; -} -lean_ctor_set(x_273, 0, x_272); -lean_ctor_set(x_273, 1, x_219); -return x_273; -} -} -else -{ -uint8_t x_274; lean_object* x_275; lean_object* x_276; -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -x_274 = 0; -x_275 = lean_box(x_274); -if (lean_is_scalar(x_220)) { - x_276 = lean_alloc_ctor(0, 2, 0); -} else { - x_276 = x_220; -} -lean_ctor_set(x_276, 0, x_275); -lean_ctor_set(x_276, 1, x_219); -return x_276; -} -} -else -{ -if (x_3 == 0) -{ -uint8_t x_277; -lean_dec(x_218); -x_277 = l_Lean_Level_isMVar(x_4); -if (x_277 == 0) -{ -uint8_t x_278; -x_278 = l_Lean_Level_isMVar(x_5); -if (x_278 == 0) -{ -lean_object* x_279; -lean_dec(x_220); -x_279 = lean_box(0); -x_221 = x_279; -goto block_264; -} -else -{ -uint8_t x_280; lean_object* x_281; lean_object* x_282; -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -x_280 = 0; -x_281 = lean_box(x_280); -if (lean_is_scalar(x_220)) { - x_282 = lean_alloc_ctor(0, 2, 0); -} else { - x_282 = x_220; -} -lean_ctor_set(x_282, 0, x_281); -lean_ctor_set(x_282, 1, x_219); -return x_282; -} -} -else -{ -uint8_t x_283; lean_object* x_284; lean_object* x_285; -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -x_283 = 0; -x_284 = lean_box(x_283); -if (lean_is_scalar(x_220)) { - x_285 = lean_alloc_ctor(0, 2, 0); -} else { - x_285 = x_220; -} -lean_ctor_set(x_285, 0, x_284); -lean_ctor_set(x_285, 1, x_219); -return x_285; -} -} -else -{ -uint8_t x_286; -x_286 = l_Lean_Level_isMVar(x_5); -if (x_286 == 0) -{ -uint8_t x_287; -lean_dec(x_218); -x_287 = l_Lean_Level_isMVar(x_4); -if (x_287 == 0) -{ -lean_object* x_288; -lean_dec(x_220); -x_288 = lean_box(0); -x_221 = x_288; -goto block_264; -} -else -{ -uint8_t x_289; lean_object* x_290; lean_object* x_291; -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -x_289 = 0; -x_290 = lean_box(x_289); -if (lean_is_scalar(x_220)) { - x_291 = lean_alloc_ctor(0, 2, 0); -} else { - x_291 = x_220; -} -lean_ctor_set(x_291, 0, x_290); -lean_ctor_set(x_291, 1, x_219); -return x_291; -} -} -else -{ -lean_object* x_292; lean_object* x_293; lean_object* x_294; uint8_t x_295; -x_292 = lean_ctor_get(x_1, 1); -lean_inc(x_292); -x_293 = l_Lean_Level_mvarId_x21(x_5); -lean_inc(x_293); -x_294 = lean_apply_2(x_292, x_218, x_293); -x_295 = lean_unbox(x_294); -lean_dec(x_294); -if (x_295 == 0) -{ -uint8_t x_296; -x_296 = l___private_Init_Lean_TypeUtil_13__strictOccursMax(x_5, x_4); -lean_dec(x_5); -if (x_296 == 0) -{ -lean_object* x_297; lean_object* x_298; lean_object* x_299; uint8_t x_300; lean_object* x_301; lean_object* x_302; -lean_dec(x_220); -x_297 = l___private_Init_Lean_TypeUtil_15__solveSelfMax___rarg(x_1, x_293, x_4, x_6, x_219); -x_298 = lean_ctor_get(x_297, 1); -lean_inc(x_298); -if (lean_is_exclusive(x_297)) { - lean_ctor_release(x_297, 0); - lean_ctor_release(x_297, 1); - x_299 = x_297; -} else { - lean_dec_ref(x_297); - x_299 = lean_box(0); -} -x_300 = 1; -x_301 = lean_box(x_300); -if (lean_is_scalar(x_299)) { - x_302 = lean_alloc_ctor(0, 2, 0); -} else { - x_302 = x_299; -} -lean_ctor_set(x_302, 0, x_301); -lean_ctor_set(x_302, 1, x_298); -return x_302; -} -else -{ -uint8_t x_303; lean_object* x_304; lean_object* x_305; -lean_dec(x_293); -lean_dec(x_4); -lean_dec(x_1); -x_303 = 0; -x_304 = lean_box(x_303); -if (lean_is_scalar(x_220)) { - x_305 = lean_alloc_ctor(0, 2, 0); -} else { - x_305 = x_220; -} -lean_ctor_set(x_305, 0, x_304); -lean_ctor_set(x_305, 1, x_219); -return x_305; -} -} -else -{ -uint8_t x_306; lean_object* x_307; lean_object* x_308; -lean_dec(x_293); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -x_306 = 0; -x_307 = lean_box(x_306); -if (lean_is_scalar(x_220)) { - x_308 = lean_alloc_ctor(0, 2, 0); -} else { - x_308 = x_220; -} -lean_ctor_set(x_308, 0, x_307); -lean_ctor_set(x_308, 1, x_219); -return x_308; -} -} -} -} -} -block_327: -{ -lean_dec(x_310); -if (x_3 == 0) -{ -lean_object* x_311; -x_311 = lean_box(0); -x_267 = x_311; -goto block_309; -} -else -{ -uint8_t x_312; -x_312 = l_Lean_Level_isMVar(x_5); -if (x_312 == 0) -{ -lean_object* x_313; -x_313 = lean_box(0); -x_267 = x_313; -goto block_309; -} -else -{ -lean_object* x_314; lean_object* x_315; lean_object* x_316; uint8_t x_317; -x_314 = lean_ctor_get(x_1, 1); -lean_inc(x_314); -x_315 = l_Lean_Level_mvarId_x21(x_5); -lean_inc(x_315); -lean_inc(x_218); -x_316 = lean_apply_2(x_314, x_218, x_315); -x_317 = lean_unbox(x_316); -lean_dec(x_316); -if (x_317 == 0) -{ -uint8_t x_318; -x_318 = l_Lean_Level_occurs___main(x_5, x_4); -if (x_318 == 0) -{ -lean_object* x_319; lean_object* x_320; lean_object* x_321; uint8_t x_322; lean_object* x_323; lean_object* x_324; -lean_dec(x_220); -lean_dec(x_218); -lean_dec(x_5); -x_319 = l___private_Init_Lean_TypeUtil_10__assignLevel___rarg(x_1, x_315, x_4, x_6, x_219); -x_320 = lean_ctor_get(x_319, 1); -lean_inc(x_320); -if (lean_is_exclusive(x_319)) { - lean_ctor_release(x_319, 0); - lean_ctor_release(x_319, 1); - x_321 = x_319; -} else { - lean_dec_ref(x_319); - x_321 = lean_box(0); -} -x_322 = 1; -x_323 = lean_box(x_322); -if (lean_is_scalar(x_321)) { - x_324 = lean_alloc_ctor(0, 2, 0); -} else { - x_324 = x_321; -} -lean_ctor_set(x_324, 0, x_323); -lean_ctor_set(x_324, 1, x_320); -return x_324; -} -else -{ -lean_object* x_325; -lean_dec(x_315); -x_325 = lean_box(0); -x_267 = x_325; -goto block_309; -} -} -else -{ -lean_object* x_326; -lean_dec(x_315); -x_326 = lean_box(0); -x_267 = x_326; -goto block_309; -} -} -} -} -} -block_363: -{ -lean_dec(x_346); -if (x_2 == 0) -{ -lean_object* x_347; -x_347 = lean_box(0); -x_265 = x_347; -goto block_345; -} -else -{ -uint8_t x_348; -x_348 = l_Lean_Level_isMVar(x_4); -if (x_348 == 0) -{ -lean_object* x_349; -x_349 = lean_box(0); -x_265 = x_349; -goto block_345; -} -else -{ -lean_object* x_350; lean_object* x_351; lean_object* x_352; uint8_t x_353; -x_350 = lean_ctor_get(x_1, 1); -lean_inc(x_350); -x_351 = l_Lean_Level_mvarId_x21(x_4); -lean_inc(x_351); -lean_inc(x_218); -x_352 = lean_apply_2(x_350, x_218, x_351); -x_353 = lean_unbox(x_352); -lean_dec(x_352); -if (x_353 == 0) -{ -uint8_t x_354; -x_354 = l_Lean_Level_occurs___main(x_4, x_5); -if (x_354 == 0) -{ -lean_object* x_355; lean_object* x_356; lean_object* x_357; uint8_t x_358; lean_object* x_359; lean_object* x_360; -lean_dec(x_220); -lean_dec(x_218); -lean_dec(x_4); -x_355 = l___private_Init_Lean_TypeUtil_10__assignLevel___rarg(x_1, x_351, x_5, x_6, x_219); -x_356 = lean_ctor_get(x_355, 1); -lean_inc(x_356); -if (lean_is_exclusive(x_355)) { - lean_ctor_release(x_355, 0); - lean_ctor_release(x_355, 1); - x_357 = x_355; -} else { - lean_dec_ref(x_355); - x_357 = lean_box(0); -} -x_358 = 1; -x_359 = lean_box(x_358); -if (lean_is_scalar(x_357)) { - x_360 = lean_alloc_ctor(0, 2, 0); -} else { - x_360 = x_357; -} -lean_ctor_set(x_360, 0, x_359); -lean_ctor_set(x_360, 1, x_356); -return x_360; -} -else -{ -lean_object* x_361; -lean_dec(x_351); -x_361 = lean_box(0); -x_265 = x_361; -goto block_345; -} -} -else -{ -lean_object* x_362; -lean_dec(x_351); -x_362 = lean_box(0); -x_265 = x_362; -goto block_345; -} -} -} -} -} -} -} -} -block_410: -{ -uint8_t x_384; -lean_dec(x_383); -x_384 = lean_level_eq(x_4, x_5); -if (x_384 == 0) -{ -uint8_t x_385; lean_object* x_386; lean_object* x_396; lean_object* x_397; uint8_t x_398; -x_396 = l___private_Init_Lean_TypeUtil_2__getTraceState___rarg(x_7); -x_397 = lean_ctor_get(x_396, 0); -lean_inc(x_397); -x_398 = lean_ctor_get_uint8(x_397, sizeof(void*)*1); -lean_dec(x_397); -if (x_398 == 0) -{ -lean_object* x_399; uint8_t x_400; -x_399 = lean_ctor_get(x_396, 1); -lean_inc(x_399); -lean_dec(x_396); -x_400 = 0; -x_385 = x_400; -x_386 = x_399; -goto block_395; -} -else -{ -lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; uint8_t x_406; -x_401 = lean_ctor_get(x_396, 1); -lean_inc(x_401); -lean_dec(x_396); -x_402 = l___private_Init_Lean_TypeUtil_17__isLevelDefEqAux___main___rarg___closed__8; -x_403 = l___private_Init_Lean_Trace_5__checkTraceOption___at___private_Init_Lean_TypeUtil_17__isLevelDefEqAux___main___spec__2___rarg(x_402, x_6, x_401); -x_404 = lean_ctor_get(x_403, 0); -lean_inc(x_404); -x_405 = lean_ctor_get(x_403, 1); -lean_inc(x_405); -lean_dec(x_403); -x_406 = lean_unbox(x_404); -lean_dec(x_404); -x_385 = x_406; -x_386 = x_405; -goto block_395; -} -block_395: -{ -if (x_385 == 0) -{ -x_8 = x_386; -goto block_382; -} -else -{ -lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; -lean_inc(x_4); -x_387 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_387, 0, x_4); -x_388 = l___private_Init_Lean_TypeUtil_17__isLevelDefEqAux___main___rarg___closed__7; -x_389 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_389, 0, x_387); -lean_ctor_set(x_389, 1, x_388); -lean_inc(x_5); -x_390 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_390, 0, x_5); -x_391 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_391, 0, x_389); -lean_ctor_set(x_391, 1, x_390); -x_392 = l___private_Init_Lean_TypeUtil_17__isLevelDefEqAux___main___rarg___closed__4; -x_393 = l___private_Init_Lean_Trace_3__addTrace___at___private_Init_Lean_TypeUtil_17__isLevelDefEqAux___main___spec__1___rarg(x_392, x_391, x_6, x_386); -x_394 = lean_ctor_get(x_393, 1); -lean_inc(x_394); -lean_dec(x_393); -x_8 = x_394; -goto block_382; -} -} -} -else -{ -uint8_t x_407; lean_object* x_408; lean_object* x_409; -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -x_407 = 1; -x_408 = lean_box(x_407); -x_409 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_409, 0, x_408); -lean_ctor_set(x_409, 1, x_7); -return x_409; -} -} -} -} -lean_object* l___private_Init_Lean_TypeUtil_17__isLevelDefEqAux___main(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l___private_Init_Lean_TypeUtil_17__isLevelDefEqAux___main___rarg___boxed), 7, 0); -return x_3; -} -} -lean_object* l___private_Init_Lean_Trace_3__addTrace___at___private_Init_Lean_TypeUtil_17__isLevelDefEqAux___main___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = l___private_Init_Lean_Trace_3__addTrace___at___private_Init_Lean_TypeUtil_17__isLevelDefEqAux___main___spec__1___rarg(x_1, x_2, x_3, x_4); -lean_dec(x_3); -return x_5; -} -} -lean_object* l___private_Init_Lean_Trace_5__checkTraceOption___at___private_Init_Lean_TypeUtil_17__isLevelDefEqAux___main___spec__2___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l___private_Init_Lean_Trace_5__checkTraceOption___at___private_Init_Lean_TypeUtil_17__isLevelDefEqAux___main___spec__2___rarg(x_1, x_2, x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_4; -} -} -lean_object* l___private_Init_Lean_TypeUtil_17__isLevelDefEqAux___main___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: -{ -uint8_t x_8; uint8_t x_9; lean_object* x_10; -x_8 = lean_unbox(x_2); -lean_dec(x_2); -x_9 = lean_unbox(x_3); -lean_dec(x_3); -x_10 = l___private_Init_Lean_TypeUtil_17__isLevelDefEqAux___main___rarg(x_1, x_8, x_9, x_4, x_5, x_6, x_7); -lean_dec(x_6); -return x_10; -} -} -lean_object* l___private_Init_Lean_TypeUtil_17__isLevelDefEqAux___rarg(lean_object* x_1, uint8_t x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; -x_8 = l___private_Init_Lean_TypeUtil_17__isLevelDefEqAux___main___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -return x_8; -} -} -lean_object* l___private_Init_Lean_TypeUtil_17__isLevelDefEqAux(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l___private_Init_Lean_TypeUtil_17__isLevelDefEqAux___rarg___boxed), 7, 0); -return x_3; -} -} -lean_object* l___private_Init_Lean_TypeUtil_17__isLevelDefEqAux___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: -{ -uint8_t x_8; uint8_t x_9; lean_object* x_10; -x_8 = lean_unbox(x_2); -lean_dec(x_2); -x_9 = lean_unbox(x_3); -lean_dec(x_3); -x_10 = l___private_Init_Lean_TypeUtil_17__isLevelDefEqAux___rarg(x_1, x_8, x_9, x_4, x_5, x_6, x_7); -lean_dec(x_6); -return x_10; -} -} -lean_object* l___private_Init_Lean_TypeUtil_18__getNumPostponed___rarg(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = lean_ctor_get(x_1, 4); -lean_inc(x_2); -x_3 = lean_array_get_size(x_2); -lean_dec(x_2); -x_4 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_4, 0, x_3); -lean_ctor_set(x_4, 1, x_1); -return x_4; -} -} -lean_object* l___private_Init_Lean_TypeUtil_18__getNumPostponed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = lean_alloc_closure((void*)(l___private_Init_Lean_TypeUtil_18__getNumPostponed___rarg), 1, 0); -return x_4; -} -} -lean_object* l___private_Init_Lean_TypeUtil_18__getNumPostponed___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l___private_Init_Lean_TypeUtil_18__getNumPostponed(x_1, x_2, x_3); -lean_dec(x_3); -return x_4; -} -} -lean_object* l___private_Init_Lean_TypeUtil_19__getResetPostponed___rarg(lean_object* x_1) { -_start: -{ -uint8_t x_2; -x_2 = !lean_is_exclusive(x_1); -if (x_2 == 0) -{ -lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_3 = lean_ctor_get(x_1, 4); -x_4 = l_Array_empty___closed__1; -lean_ctor_set(x_1, 4, x_4); -x_5 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_5, 0, x_3); -lean_ctor_set(x_5, 1, x_1); -return x_5; -} -else -{ -lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_6 = lean_ctor_get(x_1, 0); -x_7 = lean_ctor_get(x_1, 1); -x_8 = lean_ctor_get(x_1, 2); -x_9 = lean_ctor_get(x_1, 3); -x_10 = lean_ctor_get(x_1, 4); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_dec(x_1); -x_11 = l_Array_empty___closed__1; -x_12 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_12, 0, x_6); -lean_ctor_set(x_12, 1, x_7); -lean_ctor_set(x_12, 2, x_8); -lean_ctor_set(x_12, 3, x_9); -lean_ctor_set(x_12, 4, x_11); -x_13 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_13, 0, x_10); -lean_ctor_set(x_13, 1, x_12); -return x_13; -} -} -} -lean_object* l___private_Init_Lean_TypeUtil_19__getResetPostponed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = lean_alloc_closure((void*)(l___private_Init_Lean_TypeUtil_19__getResetPostponed___rarg), 1, 0); -return x_4; -} -} -lean_object* l___private_Init_Lean_TypeUtil_19__getResetPostponed___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l___private_Init_Lean_TypeUtil_19__getResetPostponed(x_1, x_2, x_3); -lean_dec(x_3); -return x_4; -} -} -lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_TypeUtil_20__processPostponedStep___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; uint8_t x_9; -x_8 = lean_array_get_size(x_3); -x_9 = lean_nat_dec_lt(x_4, x_8); -lean_dec(x_8); -if (x_9 == 0) -{ -lean_object* x_10; lean_object* x_11; -lean_dec(x_4); -lean_dec(x_1); -x_10 = lean_box(x_5); -x_11 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_11, 0, x_10); -lean_ctor_set(x_11, 1, x_7); -return x_11; -} -else -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_12 = lean_array_fget(x_3, x_4); -x_13 = lean_unsigned_to_nat(1u); -x_14 = lean_nat_add(x_4, x_13); -lean_dec(x_4); -if (x_5 == 0) -{ -uint8_t x_15; -lean_dec(x_12); -x_15 = 0; -x_4 = x_14; -x_5 = x_15; -goto _start; -} -else -{ -uint8_t x_17; uint8_t x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; -x_17 = lean_ctor_get_uint8(x_12, sizeof(void*)*2); -x_18 = lean_ctor_get_uint8(x_12, sizeof(void*)*2 + 1); -x_19 = lean_ctor_get(x_12, 0); -lean_inc(x_19); -x_20 = lean_ctor_get(x_12, 1); -lean_inc(x_20); -lean_dec(x_12); -lean_inc(x_1); -x_21 = l___private_Init_Lean_TypeUtil_17__isLevelDefEqAux___main___rarg(x_1, x_17, x_18, x_19, x_20, x_6, x_7); -x_22 = lean_ctor_get(x_21, 0); -lean_inc(x_22); -x_23 = lean_ctor_get(x_21, 1); -lean_inc(x_23); -lean_dec(x_21); -x_24 = lean_unbox(x_22); -lean_dec(x_22); -x_4 = x_14; -x_5 = x_24; -x_7 = x_23; -goto _start; -} -} -} -} -lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_TypeUtil_20__processPostponedStep___spec__1(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Array_iterateMAux___main___at___private_Init_Lean_TypeUtil_20__processPostponedStep___spec__1___rarg___boxed), 7, 0); -return x_3; -} -} -lean_object* l___private_Init_Lean_Trace_2__getResetTraces___at___private_Init_Lean_TypeUtil_20__processPostponedStep___spec__2___rarg(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5; -x_2 = l___private_Init_Lean_TypeUtil_2__getTraceState___rarg(x_1); -x_3 = lean_ctor_get(x_2, 1); -lean_inc(x_3); -x_4 = lean_ctor_get(x_3, 3); -lean_inc(x_4); -x_5 = !lean_is_exclusive(x_2); -if (x_5 == 0) -{ -lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; -x_6 = lean_ctor_get(x_2, 0); -x_7 = lean_ctor_get(x_2, 1); -lean_dec(x_7); -x_8 = lean_ctor_get(x_6, 0); -lean_inc(x_8); -lean_dec(x_6); -x_9 = !lean_is_exclusive(x_3); -if (x_9 == 0) -{ -lean_object* x_10; uint8_t x_11; -x_10 = lean_ctor_get(x_3, 3); -lean_dec(x_10); -x_11 = !lean_is_exclusive(x_4); -if (x_11 == 0) -{ -lean_object* x_12; lean_object* x_13; -x_12 = lean_ctor_get(x_4, 0); -lean_dec(x_12); -x_13 = l_Array_empty___closed__1; -lean_ctor_set(x_4, 0, x_13); -lean_ctor_set(x_2, 0, x_8); -return x_2; -} -else -{ -uint8_t x_14; lean_object* x_15; lean_object* x_16; -x_14 = lean_ctor_get_uint8(x_4, sizeof(void*)*1); -lean_dec(x_4); -x_15 = l_Array_empty___closed__1; -x_16 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_16, 0, x_15); -lean_ctor_set_uint8(x_16, sizeof(void*)*1, x_14); -lean_ctor_set(x_3, 3, x_16); -lean_ctor_set(x_2, 0, x_8); -return x_2; -} -} -else -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_17 = lean_ctor_get(x_3, 0); -x_18 = lean_ctor_get(x_3, 1); -x_19 = lean_ctor_get(x_3, 2); -x_20 = lean_ctor_get(x_3, 4); -lean_inc(x_20); -lean_inc(x_19); -lean_inc(x_18); -lean_inc(x_17); -lean_dec(x_3); -x_21 = lean_ctor_get_uint8(x_4, sizeof(void*)*1); -if (lean_is_exclusive(x_4)) { - lean_ctor_release(x_4, 0); - x_22 = x_4; -} else { - lean_dec_ref(x_4); - x_22 = lean_box(0); -} -x_23 = l_Array_empty___closed__1; -if (lean_is_scalar(x_22)) { - x_24 = lean_alloc_ctor(0, 1, 1); -} else { - x_24 = x_22; -} -lean_ctor_set(x_24, 0, x_23); -lean_ctor_set_uint8(x_24, sizeof(void*)*1, x_21); -x_25 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_25, 0, x_17); -lean_ctor_set(x_25, 1, x_18); -lean_ctor_set(x_25, 2, x_19); -lean_ctor_set(x_25, 3, x_24); -lean_ctor_set(x_25, 4, x_20); -lean_ctor_set(x_2, 1, x_25); -lean_ctor_set(x_2, 0, x_8); -return x_2; -} -} -else -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; -x_26 = lean_ctor_get(x_2, 0); -lean_inc(x_26); -lean_dec(x_2); -x_27 = lean_ctor_get(x_26, 0); -lean_inc(x_27); -lean_dec(x_26); -x_28 = lean_ctor_get(x_3, 0); -lean_inc(x_28); -x_29 = lean_ctor_get(x_3, 1); -lean_inc(x_29); -x_30 = lean_ctor_get(x_3, 2); -lean_inc(x_30); -x_31 = lean_ctor_get(x_3, 4); -lean_inc(x_31); -if (lean_is_exclusive(x_3)) { - lean_ctor_release(x_3, 0); - lean_ctor_release(x_3, 1); - lean_ctor_release(x_3, 2); - lean_ctor_release(x_3, 3); - lean_ctor_release(x_3, 4); - x_32 = x_3; -} else { - lean_dec_ref(x_3); - x_32 = lean_box(0); -} -x_33 = lean_ctor_get_uint8(x_4, sizeof(void*)*1); -if (lean_is_exclusive(x_4)) { - lean_ctor_release(x_4, 0); - x_34 = x_4; -} else { - lean_dec_ref(x_4); - x_34 = lean_box(0); -} -x_35 = l_Array_empty___closed__1; -if (lean_is_scalar(x_34)) { - x_36 = lean_alloc_ctor(0, 1, 1); -} else { - x_36 = x_34; -} -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set_uint8(x_36, sizeof(void*)*1, x_33); -if (lean_is_scalar(x_32)) { - x_37 = lean_alloc_ctor(0, 5, 0); -} else { - x_37 = x_32; -} -lean_ctor_set(x_37, 0, x_28); -lean_ctor_set(x_37, 1, x_29); -lean_ctor_set(x_37, 2, x_30); -lean_ctor_set(x_37, 3, x_36); -lean_ctor_set(x_37, 4, x_31); -x_38 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_38, 0, x_27); -lean_ctor_set(x_38, 1, x_37); -return x_38; -} -} -} -lean_object* l___private_Init_Lean_Trace_2__getResetTraces___at___private_Init_Lean_TypeUtil_20__processPostponedStep___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___private_Init_Lean_Trace_2__getResetTraces___at___private_Init_Lean_TypeUtil_20__processPostponedStep___spec__2___rarg), 1, 0); -return x_4; -} -} -lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_TypeUtil_20__processPostponedStep___spec__3___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; uint8_t x_9; -x_8 = lean_array_get_size(x_3); -x_9 = lean_nat_dec_lt(x_4, x_8); -lean_dec(x_8); -if (x_9 == 0) -{ -lean_object* x_10; lean_object* x_11; -lean_dec(x_4); -lean_dec(x_1); -x_10 = lean_box(x_5); -x_11 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_11, 0, x_10); -lean_ctor_set(x_11, 1, x_7); -return x_11; -} -else -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_12 = lean_array_fget(x_3, x_4); -x_13 = lean_unsigned_to_nat(1u); -x_14 = lean_nat_add(x_4, x_13); -lean_dec(x_4); -if (x_5 == 0) -{ -uint8_t x_15; -lean_dec(x_12); -x_15 = 0; -x_4 = x_14; -x_5 = x_15; -goto _start; -} -else -{ -uint8_t x_17; uint8_t x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; -x_17 = lean_ctor_get_uint8(x_12, sizeof(void*)*2); -x_18 = lean_ctor_get_uint8(x_12, sizeof(void*)*2 + 1); -x_19 = lean_ctor_get(x_12, 0); -lean_inc(x_19); -x_20 = lean_ctor_get(x_12, 1); -lean_inc(x_20); -lean_dec(x_12); -lean_inc(x_1); -x_21 = l___private_Init_Lean_TypeUtil_17__isLevelDefEqAux___main___rarg(x_1, x_17, x_18, x_19, x_20, x_6, x_7); -x_22 = lean_ctor_get(x_21, 0); -lean_inc(x_22); -x_23 = lean_ctor_get(x_21, 1); -lean_inc(x_23); -lean_dec(x_21); -x_24 = lean_unbox(x_22); -lean_dec(x_22); -x_4 = x_14; -x_5 = x_24; -x_7 = x_23; -goto _start; -} -} -} -} -lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_TypeUtil_20__processPostponedStep___spec__3(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Array_iterateMAux___main___at___private_Init_Lean_TypeUtil_20__processPostponedStep___spec__3___rarg___boxed), 7, 0); -return x_3; -} -} -lean_object* l___private_Init_Lean_Trace_1__addNode___at___private_Init_Lean_TypeUtil_20__processPostponedStep___spec__4___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -uint8_t x_5; -x_5 = !lean_is_exclusive(x_4); -if (x_5 == 0) -{ -lean_object* x_6; uint8_t x_7; -x_6 = lean_ctor_get(x_4, 3); -x_7 = !lean_is_exclusive(x_6); -if (x_7 == 0) -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_8 = lean_ctor_get(x_6, 0); -x_9 = lean_alloc_ctor(9, 1, 0); -lean_ctor_set(x_9, 0, x_8); -x_10 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_10, 0, x_2); -lean_ctor_set(x_10, 1, x_9); -x_11 = lean_array_push(x_1, x_10); -lean_ctor_set(x_6, 0, x_11); -x_12 = lean_box(0); -x_13 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_13, 0, x_12); -lean_ctor_set(x_13, 1, x_4); -return x_13; -} -else -{ -uint8_t x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_14 = lean_ctor_get_uint8(x_6, sizeof(void*)*1); -x_15 = lean_ctor_get(x_6, 0); -lean_inc(x_15); -lean_dec(x_6); -x_16 = lean_alloc_ctor(9, 1, 0); -lean_ctor_set(x_16, 0, x_15); -x_17 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_17, 0, x_2); -lean_ctor_set(x_17, 1, x_16); -x_18 = lean_array_push(x_1, x_17); -x_19 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_19, 0, x_18); -lean_ctor_set_uint8(x_19, sizeof(void*)*1, x_14); -lean_ctor_set(x_4, 3, x_19); -x_20 = lean_box(0); -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_20); -lean_ctor_set(x_21, 1, x_4); -return x_21; -} -} -else -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_22 = lean_ctor_get(x_4, 3); -x_23 = lean_ctor_get(x_4, 0); -x_24 = lean_ctor_get(x_4, 1); -x_25 = lean_ctor_get(x_4, 2); -x_26 = lean_ctor_get(x_4, 4); -lean_inc(x_26); -lean_inc(x_22); -lean_inc(x_25); -lean_inc(x_24); -lean_inc(x_23); -lean_dec(x_4); -x_27 = lean_ctor_get_uint8(x_22, sizeof(void*)*1); -x_28 = lean_ctor_get(x_22, 0); -lean_inc(x_28); -if (lean_is_exclusive(x_22)) { - lean_ctor_release(x_22, 0); - x_29 = x_22; -} else { - lean_dec_ref(x_22); - x_29 = lean_box(0); -} -x_30 = lean_alloc_ctor(9, 1, 0); -lean_ctor_set(x_30, 0, x_28); -x_31 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_31, 0, x_2); -lean_ctor_set(x_31, 1, x_30); -x_32 = lean_array_push(x_1, x_31); -if (lean_is_scalar(x_29)) { - x_33 = lean_alloc_ctor(0, 1, 1); -} else { - x_33 = x_29; -} -lean_ctor_set(x_33, 0, x_32); -lean_ctor_set_uint8(x_33, sizeof(void*)*1, x_27); -x_34 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_34, 0, x_23); -lean_ctor_set(x_34, 1, x_24); -lean_ctor_set(x_34, 2, x_25); -lean_ctor_set(x_34, 3, x_33); -lean_ctor_set(x_34, 4, x_26); -x_35 = lean_box(0); -x_36 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_34); -return x_36; -} -} -} -lean_object* l___private_Init_Lean_Trace_1__addNode___at___private_Init_Lean_TypeUtil_20__processPostponedStep___spec__4(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l___private_Init_Lean_Trace_1__addNode___at___private_Init_Lean_TypeUtil_20__processPostponedStep___spec__4___rarg___boxed), 4, 0); -return x_3; -} -} -lean_object* l___private_Init_Lean_Trace_1__addNode___at___private_Init_Lean_TypeUtil_20__processPostponedStep___spec__5___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -uint8_t x_5; -x_5 = !lean_is_exclusive(x_4); -if (x_5 == 0) -{ -lean_object* x_6; uint8_t x_7; -x_6 = lean_ctor_get(x_4, 3); -x_7 = !lean_is_exclusive(x_6); -if (x_7 == 0) -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_8 = lean_ctor_get(x_6, 0); -x_9 = lean_alloc_ctor(9, 1, 0); -lean_ctor_set(x_9, 0, x_8); -x_10 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_10, 0, x_2); -lean_ctor_set(x_10, 1, x_9); -x_11 = lean_array_push(x_1, x_10); -lean_ctor_set(x_6, 0, x_11); -x_12 = lean_box(0); -x_13 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_13, 0, x_12); -lean_ctor_set(x_13, 1, x_4); -return x_13; -} -else -{ -uint8_t x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_14 = lean_ctor_get_uint8(x_6, sizeof(void*)*1); -x_15 = lean_ctor_get(x_6, 0); -lean_inc(x_15); -lean_dec(x_6); -x_16 = lean_alloc_ctor(9, 1, 0); -lean_ctor_set(x_16, 0, x_15); -x_17 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_17, 0, x_2); -lean_ctor_set(x_17, 1, x_16); -x_18 = lean_array_push(x_1, x_17); -x_19 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_19, 0, x_18); -lean_ctor_set_uint8(x_19, sizeof(void*)*1, x_14); -lean_ctor_set(x_4, 3, x_19); -x_20 = lean_box(0); -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_20); -lean_ctor_set(x_21, 1, x_4); -return x_21; -} -} -else -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_22 = lean_ctor_get(x_4, 3); -x_23 = lean_ctor_get(x_4, 0); -x_24 = lean_ctor_get(x_4, 1); -x_25 = lean_ctor_get(x_4, 2); -x_26 = lean_ctor_get(x_4, 4); -lean_inc(x_26); -lean_inc(x_22); -lean_inc(x_25); -lean_inc(x_24); -lean_inc(x_23); -lean_dec(x_4); -x_27 = lean_ctor_get_uint8(x_22, sizeof(void*)*1); -x_28 = lean_ctor_get(x_22, 0); -lean_inc(x_28); -if (lean_is_exclusive(x_22)) { - lean_ctor_release(x_22, 0); - x_29 = x_22; -} else { - lean_dec_ref(x_22); - x_29 = lean_box(0); -} -x_30 = lean_alloc_ctor(9, 1, 0); -lean_ctor_set(x_30, 0, x_28); -x_31 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_31, 0, x_2); -lean_ctor_set(x_31, 1, x_30); -x_32 = lean_array_push(x_1, x_31); -if (lean_is_scalar(x_29)) { - x_33 = lean_alloc_ctor(0, 1, 1); -} else { - x_33 = x_29; -} -lean_ctor_set(x_33, 0, x_32); -lean_ctor_set_uint8(x_33, sizeof(void*)*1, x_27); -x_34 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_34, 0, x_23); -lean_ctor_set(x_34, 1, x_24); -lean_ctor_set(x_34, 2, x_25); -lean_ctor_set(x_34, 3, x_33); -lean_ctor_set(x_34, 4, x_26); -x_35 = lean_box(0); -x_36 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_34); -return x_36; -} -} -} -lean_object* l___private_Init_Lean_Trace_1__addNode___at___private_Init_Lean_TypeUtil_20__processPostponedStep___spec__5(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l___private_Init_Lean_Trace_1__addNode___at___private_Init_Lean_TypeUtil_20__processPostponedStep___spec__5___rarg___boxed), 4, 0); -return x_3; -} -} -lean_object* l___private_Init_Lean_Trace_1__addNode___at___private_Init_Lean_TypeUtil_20__processPostponedStep___spec__6___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -uint8_t x_5; -x_5 = !lean_is_exclusive(x_4); -if (x_5 == 0) -{ -lean_object* x_6; uint8_t x_7; -x_6 = lean_ctor_get(x_4, 3); -x_7 = !lean_is_exclusive(x_6); -if (x_7 == 0) -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_8 = lean_ctor_get(x_6, 0); -x_9 = lean_alloc_ctor(9, 1, 0); -lean_ctor_set(x_9, 0, x_8); -x_10 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_10, 0, x_2); -lean_ctor_set(x_10, 1, x_9); -x_11 = lean_array_push(x_1, x_10); -lean_ctor_set(x_6, 0, x_11); -x_12 = lean_box(0); -x_13 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_13, 0, x_12); -lean_ctor_set(x_13, 1, x_4); -return x_13; -} -else -{ -uint8_t x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_14 = lean_ctor_get_uint8(x_6, sizeof(void*)*1); -x_15 = lean_ctor_get(x_6, 0); -lean_inc(x_15); -lean_dec(x_6); -x_16 = lean_alloc_ctor(9, 1, 0); -lean_ctor_set(x_16, 0, x_15); -x_17 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_17, 0, x_2); -lean_ctor_set(x_17, 1, x_16); -x_18 = lean_array_push(x_1, x_17); -x_19 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_19, 0, x_18); -lean_ctor_set_uint8(x_19, sizeof(void*)*1, x_14); -lean_ctor_set(x_4, 3, x_19); -x_20 = lean_box(0); -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_20); -lean_ctor_set(x_21, 1, x_4); -return x_21; -} -} -else -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_22 = lean_ctor_get(x_4, 3); -x_23 = lean_ctor_get(x_4, 0); -x_24 = lean_ctor_get(x_4, 1); -x_25 = lean_ctor_get(x_4, 2); -x_26 = lean_ctor_get(x_4, 4); -lean_inc(x_26); -lean_inc(x_22); -lean_inc(x_25); -lean_inc(x_24); -lean_inc(x_23); -lean_dec(x_4); -x_27 = lean_ctor_get_uint8(x_22, sizeof(void*)*1); -x_28 = lean_ctor_get(x_22, 0); -lean_inc(x_28); -if (lean_is_exclusive(x_22)) { - lean_ctor_release(x_22, 0); - x_29 = x_22; -} else { - lean_dec_ref(x_22); - x_29 = lean_box(0); -} -x_30 = lean_alloc_ctor(9, 1, 0); -lean_ctor_set(x_30, 0, x_28); -x_31 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_31, 0, x_2); -lean_ctor_set(x_31, 1, x_30); -x_32 = lean_array_push(x_1, x_31); -if (lean_is_scalar(x_29)) { - x_33 = lean_alloc_ctor(0, 1, 1); -} else { - x_33 = x_29; -} -lean_ctor_set(x_33, 0, x_32); -lean_ctor_set_uint8(x_33, sizeof(void*)*1, x_27); -x_34 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_34, 0, x_23); -lean_ctor_set(x_34, 1, x_24); -lean_ctor_set(x_34, 2, x_25); -lean_ctor_set(x_34, 3, x_33); -lean_ctor_set(x_34, 4, x_26); -x_35 = lean_box(0); -x_36 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_34); -return x_36; -} -} -} -lean_object* l___private_Init_Lean_Trace_1__addNode___at___private_Init_Lean_TypeUtil_20__processPostponedStep___spec__6(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l___private_Init_Lean_Trace_1__addNode___at___private_Init_Lean_TypeUtil_20__processPostponedStep___spec__6___rarg___boxed), 4, 0); -return x_3; -} -} -lean_object* l___private_Init_Lean_Trace_1__addNode___at___private_Init_Lean_TypeUtil_20__processPostponedStep___spec__7___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -uint8_t x_5; -x_5 = !lean_is_exclusive(x_4); -if (x_5 == 0) -{ -lean_object* x_6; uint8_t x_7; -x_6 = lean_ctor_get(x_4, 3); -x_7 = !lean_is_exclusive(x_6); -if (x_7 == 0) -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_8 = lean_ctor_get(x_6, 0); -x_9 = lean_alloc_ctor(9, 1, 0); -lean_ctor_set(x_9, 0, x_8); -x_10 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_10, 0, x_2); -lean_ctor_set(x_10, 1, x_9); -x_11 = lean_array_push(x_1, x_10); -lean_ctor_set(x_6, 0, x_11); -x_12 = lean_box(0); -x_13 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_13, 0, x_12); -lean_ctor_set(x_13, 1, x_4); -return x_13; -} -else -{ -uint8_t x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_14 = lean_ctor_get_uint8(x_6, sizeof(void*)*1); -x_15 = lean_ctor_get(x_6, 0); -lean_inc(x_15); -lean_dec(x_6); -x_16 = lean_alloc_ctor(9, 1, 0); -lean_ctor_set(x_16, 0, x_15); -x_17 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_17, 0, x_2); -lean_ctor_set(x_17, 1, x_16); -x_18 = lean_array_push(x_1, x_17); -x_19 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_19, 0, x_18); -lean_ctor_set_uint8(x_19, sizeof(void*)*1, x_14); -lean_ctor_set(x_4, 3, x_19); -x_20 = lean_box(0); -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_20); -lean_ctor_set(x_21, 1, x_4); -return x_21; -} -} -else -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_22 = lean_ctor_get(x_4, 3); -x_23 = lean_ctor_get(x_4, 0); -x_24 = lean_ctor_get(x_4, 1); -x_25 = lean_ctor_get(x_4, 2); -x_26 = lean_ctor_get(x_4, 4); -lean_inc(x_26); -lean_inc(x_22); -lean_inc(x_25); -lean_inc(x_24); -lean_inc(x_23); -lean_dec(x_4); -x_27 = lean_ctor_get_uint8(x_22, sizeof(void*)*1); -x_28 = lean_ctor_get(x_22, 0); -lean_inc(x_28); -if (lean_is_exclusive(x_22)) { - lean_ctor_release(x_22, 0); - x_29 = x_22; -} else { - lean_dec_ref(x_22); - x_29 = lean_box(0); -} -x_30 = lean_alloc_ctor(9, 1, 0); -lean_ctor_set(x_30, 0, x_28); -x_31 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_31, 0, x_2); -lean_ctor_set(x_31, 1, x_30); -x_32 = lean_array_push(x_1, x_31); -if (lean_is_scalar(x_29)) { - x_33 = lean_alloc_ctor(0, 1, 1); -} else { - x_33 = x_29; -} -lean_ctor_set(x_33, 0, x_32); -lean_ctor_set_uint8(x_33, sizeof(void*)*1, x_27); -x_34 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_34, 0, x_23); -lean_ctor_set(x_34, 1, x_24); -lean_ctor_set(x_34, 2, x_25); -lean_ctor_set(x_34, 3, x_33); -lean_ctor_set(x_34, 4, x_26); -x_35 = lean_box(0); -x_36 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_34); -return x_36; -} -} -} -lean_object* l___private_Init_Lean_Trace_1__addNode___at___private_Init_Lean_TypeUtil_20__processPostponedStep___spec__7(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l___private_Init_Lean_Trace_1__addNode___at___private_Init_Lean_TypeUtil_20__processPostponedStep___spec__7___rarg___boxed), 4, 0); -return x_3; -} -} -lean_object* l___private_Init_Lean_Trace_5__checkTraceOption___at___private_Init_Lean_TypeUtil_20__processPostponedStep___spec__8___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; uint8_t x_5; -x_4 = l___private_Init_Lean_TypeUtil_1__getOptions___rarg(x_2, x_3); -x_5 = !lean_is_exclusive(x_4); -if (x_5 == 0) -{ -lean_object* x_6; uint8_t x_7; -x_6 = lean_ctor_get(x_4, 0); -x_7 = l_List_isEmpty___rarg(x_6); -if (x_7 == 0) -{ -uint8_t x_8; lean_object* x_9; -x_8 = l___private_Init_Lean_Trace_4__checkTraceOptionAux___main(x_6, x_1); -lean_dec(x_6); -x_9 = lean_box(x_8); -lean_ctor_set(x_4, 0, x_9); -return x_4; -} -else -{ -uint8_t x_10; lean_object* x_11; -lean_dec(x_6); -x_10 = 0; -x_11 = lean_box(x_10); -lean_ctor_set(x_4, 0, x_11); -return x_4; -} -} -else -{ -lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_12 = lean_ctor_get(x_4, 0); -x_13 = lean_ctor_get(x_4, 1); -lean_inc(x_13); -lean_inc(x_12); -lean_dec(x_4); -x_14 = l_List_isEmpty___rarg(x_12); -if (x_14 == 0) -{ -uint8_t x_15; lean_object* x_16; lean_object* x_17; -x_15 = l___private_Init_Lean_Trace_4__checkTraceOptionAux___main(x_12, x_1); -lean_dec(x_12); -x_16 = lean_box(x_15); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_13); -return x_17; -} -else -{ -uint8_t x_18; lean_object* x_19; lean_object* x_20; -lean_dec(x_12); -x_18 = 0; -x_19 = lean_box(x_18); -x_20 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_20, 0, x_19); -lean_ctor_set(x_20, 1, x_13); -return x_20; -} -} -} -} -lean_object* l___private_Init_Lean_Trace_5__checkTraceOption___at___private_Init_Lean_TypeUtil_20__processPostponedStep___spec__8(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l___private_Init_Lean_Trace_5__checkTraceOption___at___private_Init_Lean_TypeUtil_20__processPostponedStep___spec__8___rarg___boxed), 3, 0); -return x_3; -} -} -lean_object* _init_l___private_Init_Lean_TypeUtil_20__processPostponedStep___rarg___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("postponed_step"); -return x_1; -} -} -lean_object* _init_l___private_Init_Lean_TypeUtil_20__processPostponedStep___rarg___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_TypeUtil_17__isLevelDefEqAux___main___rarg___closed__4; -x_2 = l___private_Init_Lean_TypeUtil_20__processPostponedStep___rarg___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -lean_object* _init_l___private_Init_Lean_TypeUtil_20__processPostponedStep___rarg___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_SimpleMonadTracerAdapter_isTracingEnabledFor___rarg___lambda__1___closed__2; -x_2 = l___private_Init_Lean_TypeUtil_20__processPostponedStep___rarg___closed__2; -x_3 = l_Lean_Name_append___main(x_1, x_2); -return x_3; -} -} -lean_object* l___private_Init_Lean_TypeUtil_20__processPostponedStep___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -uint8_t x_4; lean_object* x_5; lean_object* x_118; lean_object* x_119; uint8_t x_120; -x_118 = l___private_Init_Lean_TypeUtil_2__getTraceState___rarg(x_3); -x_119 = lean_ctor_get(x_118, 0); -lean_inc(x_119); -x_120 = lean_ctor_get_uint8(x_119, sizeof(void*)*1); -lean_dec(x_119); -if (x_120 == 0) -{ -lean_object* x_121; uint8_t x_122; -x_121 = lean_ctor_get(x_118, 1); -lean_inc(x_121); -lean_dec(x_118); -x_122 = 0; -x_4 = x_122; -x_5 = x_121; -goto block_117; -} -else -{ -lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; uint8_t x_128; -x_123 = lean_ctor_get(x_118, 1); -lean_inc(x_123); -lean_dec(x_118); -x_124 = l___private_Init_Lean_TypeUtil_20__processPostponedStep___rarg___closed__3; -x_125 = l___private_Init_Lean_Trace_5__checkTraceOption___at___private_Init_Lean_TypeUtil_20__processPostponedStep___spec__8___rarg(x_124, x_2, x_123); -x_126 = lean_ctor_get(x_125, 0); -lean_inc(x_126); -x_127 = lean_ctor_get(x_125, 1); -lean_inc(x_127); -lean_dec(x_125); -x_128 = lean_unbox(x_126); -lean_dec(x_126); -x_4 = x_128; -x_5 = x_127; -goto block_117; -} -block_117: -{ -if (x_4 == 0) -{ -uint8_t x_6; -x_6 = !lean_is_exclusive(x_5); -if (x_6 == 0) -{ -lean_object* x_7; uint8_t x_8; -x_7 = lean_ctor_get(x_5, 3); -x_8 = !lean_is_exclusive(x_7); -if (x_8 == 0) -{ -uint8_t x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; -x_9 = 1; -lean_ctor_set_uint8(x_7, sizeof(void*)*1, x_9); -x_10 = l___private_Init_Lean_TypeUtil_19__getResetPostponed___rarg(x_5); -x_11 = lean_ctor_get(x_10, 0); -lean_inc(x_11); -x_12 = lean_ctor_get(x_10, 1); -lean_inc(x_12); -lean_dec(x_10); -x_13 = lean_unsigned_to_nat(0u); -x_14 = l_Array_iterateMAux___main___at___private_Init_Lean_TypeUtil_20__processPostponedStep___spec__1___rarg(x_1, x_11, x_11, x_13, x_9, x_2, x_12); -lean_dec(x_11); -x_15 = lean_ctor_get(x_14, 1); -lean_inc(x_15); -x_16 = lean_ctor_get(x_15, 3); -lean_inc(x_16); -x_17 = !lean_is_exclusive(x_14); -if (x_17 == 0) -{ -lean_object* x_18; uint8_t x_19; -x_18 = lean_ctor_get(x_14, 1); -lean_dec(x_18); -x_19 = !lean_is_exclusive(x_15); -if (x_19 == 0) -{ -lean_object* x_20; uint8_t x_21; -x_20 = lean_ctor_get(x_15, 3); -lean_dec(x_20); -x_21 = !lean_is_exclusive(x_16); -if (x_21 == 0) -{ -uint8_t x_22; -x_22 = 0; -lean_ctor_set_uint8(x_16, sizeof(void*)*1, x_22); -return x_14; -} -else -{ -lean_object* x_23; uint8_t x_24; lean_object* x_25; -x_23 = lean_ctor_get(x_16, 0); -lean_inc(x_23); -lean_dec(x_16); -x_24 = 0; -x_25 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_25, 0, x_23); -lean_ctor_set_uint8(x_25, sizeof(void*)*1, x_24); -lean_ctor_set(x_15, 3, x_25); -return x_14; -} -} -else -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; lean_object* x_33; lean_object* x_34; -x_26 = lean_ctor_get(x_15, 0); -x_27 = lean_ctor_get(x_15, 1); -x_28 = lean_ctor_get(x_15, 2); -x_29 = lean_ctor_get(x_15, 4); -lean_inc(x_29); -lean_inc(x_28); -lean_inc(x_27); -lean_inc(x_26); -lean_dec(x_15); -x_30 = lean_ctor_get(x_16, 0); -lean_inc(x_30); -if (lean_is_exclusive(x_16)) { - lean_ctor_release(x_16, 0); - x_31 = x_16; -} else { - lean_dec_ref(x_16); - x_31 = lean_box(0); -} -x_32 = 0; -if (lean_is_scalar(x_31)) { - x_33 = lean_alloc_ctor(0, 1, 1); -} else { - x_33 = x_31; -} -lean_ctor_set(x_33, 0, x_30); -lean_ctor_set_uint8(x_33, sizeof(void*)*1, x_32); -x_34 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_34, 0, x_26); -lean_ctor_set(x_34, 1, x_27); -lean_ctor_set(x_34, 2, x_28); -lean_ctor_set(x_34, 3, x_33); -lean_ctor_set(x_34, 4, x_29); -lean_ctor_set(x_14, 1, x_34); -return x_14; -} -} -else -{ -lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_35 = lean_ctor_get(x_14, 0); -lean_inc(x_35); -lean_dec(x_14); -x_36 = lean_ctor_get(x_15, 0); -lean_inc(x_36); -x_37 = lean_ctor_get(x_15, 1); -lean_inc(x_37); -x_38 = lean_ctor_get(x_15, 2); -lean_inc(x_38); -x_39 = lean_ctor_get(x_15, 4); -lean_inc(x_39); -if (lean_is_exclusive(x_15)) { - lean_ctor_release(x_15, 0); - lean_ctor_release(x_15, 1); - lean_ctor_release(x_15, 2); - lean_ctor_release(x_15, 3); - lean_ctor_release(x_15, 4); - x_40 = x_15; -} else { - lean_dec_ref(x_15); - x_40 = lean_box(0); -} -x_41 = lean_ctor_get(x_16, 0); -lean_inc(x_41); -if (lean_is_exclusive(x_16)) { - lean_ctor_release(x_16, 0); - x_42 = x_16; -} else { - lean_dec_ref(x_16); - x_42 = lean_box(0); -} -x_43 = 0; -if (lean_is_scalar(x_42)) { - x_44 = lean_alloc_ctor(0, 1, 1); -} else { - x_44 = x_42; -} -lean_ctor_set(x_44, 0, x_41); -lean_ctor_set_uint8(x_44, sizeof(void*)*1, x_43); -if (lean_is_scalar(x_40)) { - x_45 = lean_alloc_ctor(0, 5, 0); -} else { - x_45 = x_40; -} -lean_ctor_set(x_45, 0, x_36); -lean_ctor_set(x_45, 1, x_37); -lean_ctor_set(x_45, 2, x_38); -lean_ctor_set(x_45, 3, x_44); -lean_ctor_set(x_45, 4, x_39); -x_46 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_46, 0, x_35); -lean_ctor_set(x_46, 1, x_45); -return x_46; -} -} -else -{ -lean_object* x_47; uint8_t x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; uint8_t x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; -x_47 = lean_ctor_get(x_7, 0); -lean_inc(x_47); -lean_dec(x_7); -x_48 = 1; -x_49 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_49, 0, x_47); -lean_ctor_set_uint8(x_49, sizeof(void*)*1, x_48); -lean_ctor_set(x_5, 3, x_49); -x_50 = l___private_Init_Lean_TypeUtil_19__getResetPostponed___rarg(x_5); -x_51 = lean_ctor_get(x_50, 0); -lean_inc(x_51); -x_52 = lean_ctor_get(x_50, 1); -lean_inc(x_52); -lean_dec(x_50); -x_53 = lean_unsigned_to_nat(0u); -x_54 = l_Array_iterateMAux___main___at___private_Init_Lean_TypeUtil_20__processPostponedStep___spec__1___rarg(x_1, x_51, x_51, x_53, x_48, x_2, x_52); -lean_dec(x_51); -x_55 = lean_ctor_get(x_54, 1); -lean_inc(x_55); -x_56 = lean_ctor_get(x_55, 3); -lean_inc(x_56); -x_57 = lean_ctor_get(x_54, 0); -lean_inc(x_57); -if (lean_is_exclusive(x_54)) { - lean_ctor_release(x_54, 0); - lean_ctor_release(x_54, 1); - x_58 = x_54; -} else { - lean_dec_ref(x_54); - x_58 = lean_box(0); -} -x_59 = lean_ctor_get(x_55, 0); -lean_inc(x_59); -x_60 = lean_ctor_get(x_55, 1); -lean_inc(x_60); -x_61 = lean_ctor_get(x_55, 2); -lean_inc(x_61); -x_62 = lean_ctor_get(x_55, 4); -lean_inc(x_62); -if (lean_is_exclusive(x_55)) { - lean_ctor_release(x_55, 0); - lean_ctor_release(x_55, 1); - lean_ctor_release(x_55, 2); - lean_ctor_release(x_55, 3); - lean_ctor_release(x_55, 4); - x_63 = x_55; -} else { - lean_dec_ref(x_55); - x_63 = lean_box(0); -} -x_64 = lean_ctor_get(x_56, 0); -lean_inc(x_64); -if (lean_is_exclusive(x_56)) { - lean_ctor_release(x_56, 0); - x_65 = x_56; -} else { - lean_dec_ref(x_56); - x_65 = lean_box(0); -} -x_66 = 0; -if (lean_is_scalar(x_65)) { - x_67 = lean_alloc_ctor(0, 1, 1); -} else { - x_67 = x_65; -} -lean_ctor_set(x_67, 0, x_64); -lean_ctor_set_uint8(x_67, sizeof(void*)*1, x_66); -if (lean_is_scalar(x_63)) { - x_68 = lean_alloc_ctor(0, 5, 0); -} else { - x_68 = x_63; -} -lean_ctor_set(x_68, 0, x_59); -lean_ctor_set(x_68, 1, x_60); -lean_ctor_set(x_68, 2, x_61); -lean_ctor_set(x_68, 3, x_67); -lean_ctor_set(x_68, 4, x_62); -if (lean_is_scalar(x_58)) { - x_69 = lean_alloc_ctor(0, 2, 0); -} else { - x_69 = x_58; -} -lean_ctor_set(x_69, 0, x_57); -lean_ctor_set(x_69, 1, x_68); -return x_69; -} -} -else -{ -lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; uint8_t x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; uint8_t x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; -x_70 = lean_ctor_get(x_5, 3); -x_71 = lean_ctor_get(x_5, 0); -x_72 = lean_ctor_get(x_5, 1); -x_73 = lean_ctor_get(x_5, 2); -x_74 = lean_ctor_get(x_5, 4); -lean_inc(x_74); -lean_inc(x_70); -lean_inc(x_73); -lean_inc(x_72); -lean_inc(x_71); -lean_dec(x_5); -x_75 = lean_ctor_get(x_70, 0); -lean_inc(x_75); -if (lean_is_exclusive(x_70)) { - lean_ctor_release(x_70, 0); - x_76 = x_70; -} else { - lean_dec_ref(x_70); - x_76 = lean_box(0); -} -x_77 = 1; -if (lean_is_scalar(x_76)) { - x_78 = lean_alloc_ctor(0, 1, 1); -} else { - x_78 = x_76; -} -lean_ctor_set(x_78, 0, x_75); -lean_ctor_set_uint8(x_78, sizeof(void*)*1, x_77); -x_79 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_79, 0, x_71); -lean_ctor_set(x_79, 1, x_72); -lean_ctor_set(x_79, 2, x_73); -lean_ctor_set(x_79, 3, x_78); -lean_ctor_set(x_79, 4, x_74); -x_80 = l___private_Init_Lean_TypeUtil_19__getResetPostponed___rarg(x_79); -x_81 = lean_ctor_get(x_80, 0); -lean_inc(x_81); -x_82 = lean_ctor_get(x_80, 1); -lean_inc(x_82); -lean_dec(x_80); -x_83 = lean_unsigned_to_nat(0u); -x_84 = l_Array_iterateMAux___main___at___private_Init_Lean_TypeUtil_20__processPostponedStep___spec__1___rarg(x_1, x_81, x_81, x_83, x_77, x_2, x_82); -lean_dec(x_81); -x_85 = lean_ctor_get(x_84, 1); -lean_inc(x_85); -x_86 = lean_ctor_get(x_85, 3); -lean_inc(x_86); -x_87 = lean_ctor_get(x_84, 0); -lean_inc(x_87); -if (lean_is_exclusive(x_84)) { - lean_ctor_release(x_84, 0); - lean_ctor_release(x_84, 1); - x_88 = x_84; -} else { - lean_dec_ref(x_84); - x_88 = lean_box(0); -} -x_89 = lean_ctor_get(x_85, 0); -lean_inc(x_89); -x_90 = lean_ctor_get(x_85, 1); -lean_inc(x_90); -x_91 = lean_ctor_get(x_85, 2); -lean_inc(x_91); -x_92 = lean_ctor_get(x_85, 4); -lean_inc(x_92); -if (lean_is_exclusive(x_85)) { - lean_ctor_release(x_85, 0); - lean_ctor_release(x_85, 1); - lean_ctor_release(x_85, 2); - lean_ctor_release(x_85, 3); - lean_ctor_release(x_85, 4); - x_93 = x_85; -} else { - lean_dec_ref(x_85); - x_93 = lean_box(0); -} -x_94 = lean_ctor_get(x_86, 0); -lean_inc(x_94); -if (lean_is_exclusive(x_86)) { - lean_ctor_release(x_86, 0); - x_95 = x_86; -} else { - lean_dec_ref(x_86); - x_95 = lean_box(0); -} -x_96 = 0; -if (lean_is_scalar(x_95)) { - x_97 = lean_alloc_ctor(0, 1, 1); -} else { - x_97 = x_95; -} -lean_ctor_set(x_97, 0, x_94); -lean_ctor_set_uint8(x_97, sizeof(void*)*1, x_96); -if (lean_is_scalar(x_93)) { - x_98 = lean_alloc_ctor(0, 5, 0); -} else { - x_98 = x_93; -} -lean_ctor_set(x_98, 0, x_89); -lean_ctor_set(x_98, 1, x_90); -lean_ctor_set(x_98, 2, x_91); -lean_ctor_set(x_98, 3, x_97); -lean_ctor_set(x_98, 4, x_92); -if (lean_is_scalar(x_88)) { - x_99 = lean_alloc_ctor(0, 2, 0); -} else { - x_99 = x_88; -} -lean_ctor_set(x_99, 0, x_87); -lean_ctor_set(x_99, 1, x_98); -return x_99; -} -} -else -{ -lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; uint8_t x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; uint8_t x_113; -x_100 = l___private_Init_Lean_Trace_2__getResetTraces___at___private_Init_Lean_TypeUtil_20__processPostponedStep___spec__2___rarg(x_5); -x_101 = lean_ctor_get(x_100, 0); -lean_inc(x_101); -x_102 = lean_ctor_get(x_100, 1); -lean_inc(x_102); -lean_dec(x_100); -x_103 = l___private_Init_Lean_TypeUtil_19__getResetPostponed___rarg(x_102); -x_104 = lean_ctor_get(x_103, 0); -lean_inc(x_104); -x_105 = lean_ctor_get(x_103, 1); -lean_inc(x_105); -lean_dec(x_103); -x_106 = lean_unsigned_to_nat(0u); -x_107 = 1; -x_108 = l_Array_iterateMAux___main___at___private_Init_Lean_TypeUtil_20__processPostponedStep___spec__3___rarg(x_1, x_104, x_104, x_106, x_107, x_2, x_105); -lean_dec(x_104); -x_109 = lean_ctor_get(x_108, 0); -lean_inc(x_109); -x_110 = lean_ctor_get(x_108, 1); -lean_inc(x_110); -lean_dec(x_108); -x_111 = l___private_Init_Lean_TypeUtil_20__processPostponedStep___rarg___closed__2; -x_112 = l___private_Init_Lean_Trace_1__addNode___at___private_Init_Lean_TypeUtil_20__processPostponedStep___spec__4___rarg(x_101, x_111, x_2, x_110); -x_113 = !lean_is_exclusive(x_112); -if (x_113 == 0) -{ -lean_object* x_114; -x_114 = lean_ctor_get(x_112, 0); -lean_dec(x_114); -lean_ctor_set(x_112, 0, x_109); -return x_112; -} -else -{ -lean_object* x_115; lean_object* x_116; -x_115 = lean_ctor_get(x_112, 1); -lean_inc(x_115); -lean_dec(x_112); -x_116 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_116, 0, x_109); -lean_ctor_set(x_116, 1, x_115); -return x_116; -} -} -} -} -} -lean_object* l___private_Init_Lean_TypeUtil_20__processPostponedStep(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l___private_Init_Lean_TypeUtil_20__processPostponedStep___rarg___boxed), 3, 0); -return x_3; -} -} -lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_TypeUtil_20__processPostponedStep___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_5); -lean_dec(x_5); -x_9 = l_Array_iterateMAux___main___at___private_Init_Lean_TypeUtil_20__processPostponedStep___spec__1___rarg(x_1, x_2, x_3, x_4, x_8, x_6, x_7); -lean_dec(x_6); -lean_dec(x_3); -lean_dec(x_2); -return x_9; -} -} -lean_object* l___private_Init_Lean_Trace_2__getResetTraces___at___private_Init_Lean_TypeUtil_20__processPostponedStep___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l___private_Init_Lean_Trace_2__getResetTraces___at___private_Init_Lean_TypeUtil_20__processPostponedStep___spec__2(x_1, x_2, x_3); -lean_dec(x_3); -return x_4; -} -} -lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_TypeUtil_20__processPostponedStep___spec__3___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_5); -lean_dec(x_5); -x_9 = l_Array_iterateMAux___main___at___private_Init_Lean_TypeUtil_20__processPostponedStep___spec__3___rarg(x_1, x_2, x_3, x_4, x_8, x_6, x_7); -lean_dec(x_6); -lean_dec(x_3); -lean_dec(x_2); -return x_9; -} -} -lean_object* l___private_Init_Lean_Trace_1__addNode___at___private_Init_Lean_TypeUtil_20__processPostponedStep___spec__4___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = l___private_Init_Lean_Trace_1__addNode___at___private_Init_Lean_TypeUtil_20__processPostponedStep___spec__4___rarg(x_1, x_2, x_3, x_4); -lean_dec(x_3); -return x_5; -} -} -lean_object* l___private_Init_Lean_Trace_1__addNode___at___private_Init_Lean_TypeUtil_20__processPostponedStep___spec__5___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = l___private_Init_Lean_Trace_1__addNode___at___private_Init_Lean_TypeUtil_20__processPostponedStep___spec__5___rarg(x_1, x_2, x_3, x_4); -lean_dec(x_3); -return x_5; -} -} -lean_object* l___private_Init_Lean_Trace_1__addNode___at___private_Init_Lean_TypeUtil_20__processPostponedStep___spec__6___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = l___private_Init_Lean_Trace_1__addNode___at___private_Init_Lean_TypeUtil_20__processPostponedStep___spec__6___rarg(x_1, x_2, x_3, x_4); -lean_dec(x_3); -return x_5; -} -} -lean_object* l___private_Init_Lean_Trace_1__addNode___at___private_Init_Lean_TypeUtil_20__processPostponedStep___spec__7___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = l___private_Init_Lean_Trace_1__addNode___at___private_Init_Lean_TypeUtil_20__processPostponedStep___spec__7___rarg(x_1, x_2, x_3, x_4); -lean_dec(x_3); -return x_5; -} -} -lean_object* l___private_Init_Lean_Trace_5__checkTraceOption___at___private_Init_Lean_TypeUtil_20__processPostponedStep___spec__8___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l___private_Init_Lean_Trace_5__checkTraceOption___at___private_Init_Lean_TypeUtil_20__processPostponedStep___spec__8___rarg(x_1, x_2, x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_4; -} -} -lean_object* l___private_Init_Lean_TypeUtil_20__processPostponedStep___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l___private_Init_Lean_TypeUtil_20__processPostponedStep___rarg(x_1, x_2, x_3); -lean_dec(x_2); -return x_4; -} -} -lean_object* l___private_Init_Lean_Trace_5__checkTraceOption___at___private_Init_Lean_TypeUtil_21__processPostponedAux___main___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; uint8_t x_5; -x_4 = l___private_Init_Lean_TypeUtil_1__getOptions___rarg(x_2, x_3); -x_5 = !lean_is_exclusive(x_4); -if (x_5 == 0) -{ -lean_object* x_6; uint8_t x_7; -x_6 = lean_ctor_get(x_4, 0); -x_7 = l_List_isEmpty___rarg(x_6); -if (x_7 == 0) -{ -uint8_t x_8; lean_object* x_9; -x_8 = l___private_Init_Lean_Trace_4__checkTraceOptionAux___main(x_6, x_1); -lean_dec(x_6); -x_9 = lean_box(x_8); -lean_ctor_set(x_4, 0, x_9); -return x_4; -} -else -{ -uint8_t x_10; lean_object* x_11; -lean_dec(x_6); -x_10 = 0; -x_11 = lean_box(x_10); -lean_ctor_set(x_4, 0, x_11); -return x_4; -} -} -else -{ -lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_12 = lean_ctor_get(x_4, 0); -x_13 = lean_ctor_get(x_4, 1); -lean_inc(x_13); -lean_inc(x_12); -lean_dec(x_4); -x_14 = l_List_isEmpty___rarg(x_12); -if (x_14 == 0) -{ -uint8_t x_15; lean_object* x_16; lean_object* x_17; -x_15 = l___private_Init_Lean_Trace_4__checkTraceOptionAux___main(x_12, x_1); -lean_dec(x_12); -x_16 = lean_box(x_15); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_13); -return x_17; -} -else -{ -uint8_t x_18; lean_object* x_19; lean_object* x_20; -lean_dec(x_12); -x_18 = 0; -x_19 = lean_box(x_18); -x_20 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_20, 0, x_19); -lean_ctor_set(x_20, 1, x_13); -return x_20; -} -} -} -} -lean_object* l___private_Init_Lean_Trace_5__checkTraceOption___at___private_Init_Lean_TypeUtil_21__processPostponedAux___main___spec__1(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l___private_Init_Lean_Trace_5__checkTraceOption___at___private_Init_Lean_TypeUtil_21__processPostponedAux___main___spec__1___rarg___boxed), 3, 0); -return x_3; -} -} -lean_object* l___private_Init_Lean_Trace_3__addTrace___at___private_Init_Lean_TypeUtil_21__processPostponedAux___main___spec__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -uint8_t x_5; -x_5 = !lean_is_exclusive(x_4); -if (x_5 == 0) -{ -lean_object* x_6; uint8_t x_7; -x_6 = lean_ctor_get(x_4, 3); -x_7 = !lean_is_exclusive(x_6); -if (x_7 == 0) -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_8 = lean_ctor_get(x_6, 0); -x_9 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_9, 0, x_1); -lean_ctor_set(x_9, 1, x_2); -x_10 = lean_array_push(x_8, x_9); -lean_ctor_set(x_6, 0, x_10); -x_11 = lean_box(0); -x_12 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_12, 0, x_11); -lean_ctor_set(x_12, 1, x_4); -return x_12; -} -else -{ -uint8_t x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_13 = lean_ctor_get_uint8(x_6, sizeof(void*)*1); -x_14 = lean_ctor_get(x_6, 0); -lean_inc(x_14); -lean_dec(x_6); -x_15 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_15, 0, x_1); -lean_ctor_set(x_15, 1, x_2); -x_16 = lean_array_push(x_14, x_15); -x_17 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set_uint8(x_17, sizeof(void*)*1, x_13); -lean_ctor_set(x_4, 3, x_17); -x_18 = lean_box(0); -x_19 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_19, 0, x_18); -lean_ctor_set(x_19, 1, x_4); -return x_19; -} -} -else -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_20 = lean_ctor_get(x_4, 3); -x_21 = lean_ctor_get(x_4, 0); -x_22 = lean_ctor_get(x_4, 1); -x_23 = lean_ctor_get(x_4, 2); -x_24 = lean_ctor_get(x_4, 4); -lean_inc(x_24); -lean_inc(x_20); -lean_inc(x_23); -lean_inc(x_22); -lean_inc(x_21); -lean_dec(x_4); -x_25 = lean_ctor_get_uint8(x_20, sizeof(void*)*1); -x_26 = lean_ctor_get(x_20, 0); -lean_inc(x_26); -if (lean_is_exclusive(x_20)) { - lean_ctor_release(x_20, 0); - x_27 = x_20; -} else { - lean_dec_ref(x_20); - x_27 = lean_box(0); -} -x_28 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_28, 0, x_1); -lean_ctor_set(x_28, 1, x_2); -x_29 = lean_array_push(x_26, x_28); -if (lean_is_scalar(x_27)) { - x_30 = lean_alloc_ctor(0, 1, 1); -} else { - x_30 = x_27; -} -lean_ctor_set(x_30, 0, x_29); -lean_ctor_set_uint8(x_30, sizeof(void*)*1, x_25); -x_31 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_31, 0, x_21); -lean_ctor_set(x_31, 1, x_22); -lean_ctor_set(x_31, 2, x_23); -lean_ctor_set(x_31, 3, x_30); -lean_ctor_set(x_31, 4, x_24); -x_32 = lean_box(0); -x_33 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_33, 0, x_32); -lean_ctor_set(x_33, 1, x_31); -return x_33; -} -} -} -lean_object* l___private_Init_Lean_Trace_3__addTrace___at___private_Init_Lean_TypeUtil_21__processPostponedAux___main___spec__2(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l___private_Init_Lean_Trace_3__addTrace___at___private_Init_Lean_TypeUtil_21__processPostponedAux___main___spec__2___rarg___boxed), 4, 0); -return x_3; -} -} -lean_object* l___private_Init_Lean_Trace_3__addTrace___at___private_Init_Lean_TypeUtil_21__processPostponedAux___main___spec__3___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -uint8_t x_5; -x_5 = !lean_is_exclusive(x_4); -if (x_5 == 0) -{ -lean_object* x_6; uint8_t x_7; -x_6 = lean_ctor_get(x_4, 3); -x_7 = !lean_is_exclusive(x_6); -if (x_7 == 0) -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_8 = lean_ctor_get(x_6, 0); -x_9 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_9, 0, x_1); -lean_ctor_set(x_9, 1, x_2); -x_10 = lean_array_push(x_8, x_9); -lean_ctor_set(x_6, 0, x_10); -x_11 = lean_box(0); -x_12 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_12, 0, x_11); -lean_ctor_set(x_12, 1, x_4); -return x_12; -} -else -{ -uint8_t x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_13 = lean_ctor_get_uint8(x_6, sizeof(void*)*1); -x_14 = lean_ctor_get(x_6, 0); -lean_inc(x_14); -lean_dec(x_6); -x_15 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_15, 0, x_1); -lean_ctor_set(x_15, 1, x_2); -x_16 = lean_array_push(x_14, x_15); -x_17 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set_uint8(x_17, sizeof(void*)*1, x_13); -lean_ctor_set(x_4, 3, x_17); -x_18 = lean_box(0); -x_19 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_19, 0, x_18); -lean_ctor_set(x_19, 1, x_4); -return x_19; -} -} -else -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_20 = lean_ctor_get(x_4, 3); -x_21 = lean_ctor_get(x_4, 0); -x_22 = lean_ctor_get(x_4, 1); -x_23 = lean_ctor_get(x_4, 2); -x_24 = lean_ctor_get(x_4, 4); -lean_inc(x_24); -lean_inc(x_20); -lean_inc(x_23); -lean_inc(x_22); -lean_inc(x_21); -lean_dec(x_4); -x_25 = lean_ctor_get_uint8(x_20, sizeof(void*)*1); -x_26 = lean_ctor_get(x_20, 0); -lean_inc(x_26); -if (lean_is_exclusive(x_20)) { - lean_ctor_release(x_20, 0); - x_27 = x_20; -} else { - lean_dec_ref(x_20); - x_27 = lean_box(0); -} -x_28 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_28, 0, x_1); -lean_ctor_set(x_28, 1, x_2); -x_29 = lean_array_push(x_26, x_28); -if (lean_is_scalar(x_27)) { - x_30 = lean_alloc_ctor(0, 1, 1); -} else { - x_30 = x_27; -} -lean_ctor_set(x_30, 0, x_29); -lean_ctor_set_uint8(x_30, sizeof(void*)*1, x_25); -x_31 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_31, 0, x_21); -lean_ctor_set(x_31, 1, x_22); -lean_ctor_set(x_31, 2, x_23); -lean_ctor_set(x_31, 3, x_30); -lean_ctor_set(x_31, 4, x_24); -x_32 = lean_box(0); -x_33 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_33, 0, x_32); -lean_ctor_set(x_33, 1, x_31); -return x_33; -} -} -} -lean_object* l___private_Init_Lean_Trace_3__addTrace___at___private_Init_Lean_TypeUtil_21__processPostponedAux___main___spec__3(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l___private_Init_Lean_Trace_3__addTrace___at___private_Init_Lean_TypeUtil_21__processPostponedAux___main___spec__3___rarg___boxed), 4, 0); -return x_3; -} -} -lean_object* l___private_Init_Lean_Trace_5__checkTraceOption___at___private_Init_Lean_TypeUtil_21__processPostponedAux___main___spec__4___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; uint8_t x_5; -x_4 = l___private_Init_Lean_TypeUtil_1__getOptions___rarg(x_2, x_3); -x_5 = !lean_is_exclusive(x_4); -if (x_5 == 0) -{ -lean_object* x_6; uint8_t x_7; -x_6 = lean_ctor_get(x_4, 0); -x_7 = l_List_isEmpty___rarg(x_6); -if (x_7 == 0) -{ -uint8_t x_8; lean_object* x_9; -x_8 = l___private_Init_Lean_Trace_4__checkTraceOptionAux___main(x_6, x_1); -lean_dec(x_6); -x_9 = lean_box(x_8); -lean_ctor_set(x_4, 0, x_9); -return x_4; -} -else -{ -uint8_t x_10; lean_object* x_11; -lean_dec(x_6); -x_10 = 0; -x_11 = lean_box(x_10); -lean_ctor_set(x_4, 0, x_11); -return x_4; -} -} -else -{ -lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_12 = lean_ctor_get(x_4, 0); -x_13 = lean_ctor_get(x_4, 1); -lean_inc(x_13); -lean_inc(x_12); -lean_dec(x_4); -x_14 = l_List_isEmpty___rarg(x_12); -if (x_14 == 0) -{ -uint8_t x_15; lean_object* x_16; lean_object* x_17; -x_15 = l___private_Init_Lean_Trace_4__checkTraceOptionAux___main(x_12, x_1); -lean_dec(x_12); -x_16 = lean_box(x_15); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_13); -return x_17; -} -else -{ -uint8_t x_18; lean_object* x_19; lean_object* x_20; -lean_dec(x_12); -x_18 = 0; -x_19 = lean_box(x_18); -x_20 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_20, 0, x_19); -lean_ctor_set(x_20, 1, x_13); -return x_20; -} -} -} -} -lean_object* l___private_Init_Lean_Trace_5__checkTraceOption___at___private_Init_Lean_TypeUtil_21__processPostponedAux___main___spec__4(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l___private_Init_Lean_Trace_5__checkTraceOption___at___private_Init_Lean_TypeUtil_21__processPostponedAux___main___spec__4___rarg___boxed), 3, 0); -return x_3; -} -} -lean_object* _init_l___private_Init_Lean_TypeUtil_21__processPostponedAux___main___rarg___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("no progress solving pending is-def-eq level constraints"); -return x_1; -} -} -lean_object* _init_l___private_Init_Lean_TypeUtil_21__processPostponedAux___main___rarg___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_TypeUtil_21__processPostponedAux___main___rarg___closed__1; -x_2 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -lean_object* _init_l___private_Init_Lean_TypeUtil_21__processPostponedAux___main___rarg___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_TypeUtil_21__processPostponedAux___main___rarg___closed__2; -x_2 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -lean_object* _init_l___private_Init_Lean_TypeUtil_21__processPostponedAux___main___rarg___closed__4() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("processing #"); -return x_1; -} -} -lean_object* _init_l___private_Init_Lean_TypeUtil_21__processPostponedAux___main___rarg___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_TypeUtil_21__processPostponedAux___main___rarg___closed__4; -x_2 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -lean_object* _init_l___private_Init_Lean_TypeUtil_21__processPostponedAux___main___rarg___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_TypeUtil_21__processPostponedAux___main___rarg___closed__5; -x_2 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -lean_object* _init_l___private_Init_Lean_TypeUtil_21__processPostponedAux___main___rarg___closed__7() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string(" postponed is-def-eq level constraints"); -return x_1; -} -} -lean_object* _init_l___private_Init_Lean_TypeUtil_21__processPostponedAux___main___rarg___closed__8() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_TypeUtil_21__processPostponedAux___main___rarg___closed__7; -x_2 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -lean_object* _init_l___private_Init_Lean_TypeUtil_21__processPostponedAux___main___rarg___closed__9() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_TypeUtil_21__processPostponedAux___main___rarg___closed__8; -x_2 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -lean_object* l___private_Init_Lean_TypeUtil_21__processPostponedAux___main___rarg(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; uint8_t x_6; -x_5 = l___private_Init_Lean_TypeUtil_18__getNumPostponed___rarg(x_4); -x_6 = !lean_is_exclusive(x_5); -if (x_6 == 0) -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; -x_7 = lean_ctor_get(x_5, 0); -x_8 = lean_ctor_get(x_5, 1); -x_9 = lean_unsigned_to_nat(0u); -x_10 = lean_nat_dec_eq(x_7, x_9); -if (x_10 == 0) -{ -lean_object* x_11; uint8_t x_92; lean_object* x_93; lean_object* x_105; lean_object* x_106; uint8_t x_107; -lean_free_object(x_5); -x_105 = l___private_Init_Lean_TypeUtil_2__getTraceState___rarg(x_8); -x_106 = lean_ctor_get(x_105, 0); -lean_inc(x_106); -x_107 = lean_ctor_get_uint8(x_106, sizeof(void*)*1); -lean_dec(x_106); -if (x_107 == 0) -{ -lean_object* x_108; uint8_t x_109; -x_108 = lean_ctor_get(x_105, 1); -lean_inc(x_108); -lean_dec(x_105); -x_109 = 0; -x_92 = x_109; -x_93 = x_108; -goto block_104; -} -else -{ -lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; uint8_t x_115; -x_110 = lean_ctor_get(x_105, 1); -lean_inc(x_110); -lean_dec(x_105); -x_111 = l___private_Init_Lean_TypeUtil_17__isLevelDefEqAux___main___rarg___closed__8; -x_112 = l___private_Init_Lean_Trace_5__checkTraceOption___at___private_Init_Lean_TypeUtil_21__processPostponedAux___main___spec__4___rarg(x_111, x_3, x_110); -x_113 = lean_ctor_get(x_112, 0); -lean_inc(x_113); -x_114 = lean_ctor_get(x_112, 1); -lean_inc(x_114); -lean_dec(x_112); -x_115 = lean_unbox(x_113); -lean_dec(x_113); -x_92 = x_115; -x_93 = x_114; -goto block_104; -} -block_91: -{ -lean_object* x_12; lean_object* x_13; uint8_t x_14; -lean_inc(x_1); -x_12 = l___private_Init_Lean_TypeUtil_20__processPostponedStep___rarg(x_1, x_3, x_11); -x_13 = lean_ctor_get(x_12, 0); -lean_inc(x_13); -x_14 = lean_unbox(x_13); -if (x_14 == 0) -{ -uint8_t x_15; -lean_dec(x_7); -lean_dec(x_1); -x_15 = !lean_is_exclusive(x_12); -if (x_15 == 0) -{ -lean_object* x_16; -x_16 = lean_ctor_get(x_12, 0); -lean_dec(x_16); -return x_12; -} -else -{ -lean_object* x_17; lean_object* x_18; -x_17 = lean_ctor_get(x_12, 1); -lean_inc(x_17); -lean_dec(x_12); -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_13); -lean_ctor_set(x_18, 1, x_17); -return x_18; -} -} -else -{ -lean_object* x_19; lean_object* x_20; uint8_t x_21; -lean_dec(x_13); -x_19 = lean_ctor_get(x_12, 1); -lean_inc(x_19); -lean_dec(x_12); -x_20 = l___private_Init_Lean_TypeUtil_18__getNumPostponed___rarg(x_19); -x_21 = !lean_is_exclusive(x_20); -if (x_21 == 0) -{ -lean_object* x_22; lean_object* x_23; uint8_t x_24; -x_22 = lean_ctor_get(x_20, 0); -x_23 = lean_ctor_get(x_20, 1); -x_24 = lean_nat_dec_eq(x_22, x_9); -if (x_24 == 0) -{ -uint8_t x_25; -lean_free_object(x_20); -x_25 = lean_nat_dec_lt(x_22, x_7); -lean_dec(x_7); -lean_dec(x_22); -if (x_25 == 0) -{ -lean_object* x_26; lean_object* x_27; uint8_t x_28; -lean_dec(x_1); -x_26 = l___private_Init_Lean_TypeUtil_2__getTraceState___rarg(x_23); -x_27 = lean_ctor_get(x_26, 0); -lean_inc(x_27); -x_28 = lean_ctor_get_uint8(x_27, sizeof(void*)*1); -lean_dec(x_27); -if (x_28 == 0) -{ -uint8_t x_29; -x_29 = !lean_is_exclusive(x_26); -if (x_29 == 0) -{ -lean_object* x_30; lean_object* x_31; -x_30 = lean_ctor_get(x_26, 0); -lean_dec(x_30); -x_31 = lean_box(x_2); -lean_ctor_set(x_26, 0, x_31); -return x_26; -} -else -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_32 = lean_ctor_get(x_26, 1); -lean_inc(x_32); -lean_dec(x_26); -x_33 = lean_box(x_2); -x_34 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_34, 0, x_33); -lean_ctor_set(x_34, 1, x_32); -return x_34; -} -} -else -{ -lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; -x_35 = lean_ctor_get(x_26, 1); -lean_inc(x_35); -lean_dec(x_26); -x_36 = l___private_Init_Lean_TypeUtil_17__isLevelDefEqAux___main___rarg___closed__8; -x_37 = l___private_Init_Lean_Trace_5__checkTraceOption___at___private_Init_Lean_TypeUtil_21__processPostponedAux___main___spec__1___rarg(x_36, x_3, x_35); -x_38 = lean_ctor_get(x_37, 0); -lean_inc(x_38); -x_39 = lean_unbox(x_38); -lean_dec(x_38); -if (x_39 == 0) -{ -uint8_t x_40; -x_40 = !lean_is_exclusive(x_37); -if (x_40 == 0) -{ -lean_object* x_41; lean_object* x_42; -x_41 = lean_ctor_get(x_37, 0); -lean_dec(x_41); -x_42 = lean_box(x_2); -lean_ctor_set(x_37, 0, x_42); -return x_37; -} -else -{ -lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_43 = lean_ctor_get(x_37, 1); -lean_inc(x_43); -lean_dec(x_37); -x_44 = lean_box(x_2); -x_45 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_45, 0, x_44); -lean_ctor_set(x_45, 1, x_43); -return x_45; -} -} -else -{ -lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; -x_46 = lean_ctor_get(x_37, 1); -lean_inc(x_46); -lean_dec(x_37); -x_47 = l___private_Init_Lean_TypeUtil_17__isLevelDefEqAux___main___rarg___closed__4; -x_48 = l___private_Init_Lean_TypeUtil_21__processPostponedAux___main___rarg___closed__3; -x_49 = l___private_Init_Lean_Trace_3__addTrace___at___private_Init_Lean_TypeUtil_21__processPostponedAux___main___spec__2___rarg(x_47, x_48, x_3, x_46); -x_50 = !lean_is_exclusive(x_49); -if (x_50 == 0) -{ -lean_object* x_51; lean_object* x_52; -x_51 = lean_ctor_get(x_49, 0); -lean_dec(x_51); -x_52 = lean_box(x_2); -lean_ctor_set(x_49, 0, x_52); -return x_49; -} -else -{ -lean_object* x_53; lean_object* x_54; lean_object* x_55; -x_53 = lean_ctor_get(x_49, 1); -lean_inc(x_53); -lean_dec(x_49); -x_54 = lean_box(x_2); -x_55 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_55, 0, x_54); -lean_ctor_set(x_55, 1, x_53); -return x_55; -} -} -} -} -else -{ -x_4 = x_23; -goto _start; -} -} -else -{ -uint8_t x_57; lean_object* x_58; -lean_dec(x_22); -lean_dec(x_7); -lean_dec(x_1); -x_57 = 1; -x_58 = lean_box(x_57); -lean_ctor_set(x_20, 0, x_58); -return x_20; -} -} -else -{ -lean_object* x_59; lean_object* x_60; uint8_t x_61; -x_59 = lean_ctor_get(x_20, 0); -x_60 = lean_ctor_get(x_20, 1); -lean_inc(x_60); -lean_inc(x_59); -lean_dec(x_20); -x_61 = lean_nat_dec_eq(x_59, x_9); -if (x_61 == 0) -{ -uint8_t x_62; -x_62 = lean_nat_dec_lt(x_59, x_7); -lean_dec(x_7); -lean_dec(x_59); -if (x_62 == 0) -{ -lean_object* x_63; lean_object* x_64; uint8_t x_65; -lean_dec(x_1); -x_63 = l___private_Init_Lean_TypeUtil_2__getTraceState___rarg(x_60); -x_64 = lean_ctor_get(x_63, 0); -lean_inc(x_64); -x_65 = lean_ctor_get_uint8(x_64, sizeof(void*)*1); -lean_dec(x_64); -if (x_65 == 0) -{ -lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; -x_66 = lean_ctor_get(x_63, 1); -lean_inc(x_66); -if (lean_is_exclusive(x_63)) { - lean_ctor_release(x_63, 0); - lean_ctor_release(x_63, 1); - x_67 = x_63; -} else { - lean_dec_ref(x_63); - x_67 = lean_box(0); -} -x_68 = lean_box(x_2); -if (lean_is_scalar(x_67)) { - x_69 = lean_alloc_ctor(0, 2, 0); -} else { - x_69 = x_67; -} -lean_ctor_set(x_69, 0, x_68); -lean_ctor_set(x_69, 1, x_66); -return x_69; -} -else -{ -lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; uint8_t x_74; -x_70 = lean_ctor_get(x_63, 1); -lean_inc(x_70); -lean_dec(x_63); -x_71 = l___private_Init_Lean_TypeUtil_17__isLevelDefEqAux___main___rarg___closed__8; -x_72 = l___private_Init_Lean_Trace_5__checkTraceOption___at___private_Init_Lean_TypeUtil_21__processPostponedAux___main___spec__1___rarg(x_71, x_3, x_70); -x_73 = lean_ctor_get(x_72, 0); -lean_inc(x_73); -x_74 = lean_unbox(x_73); -lean_dec(x_73); -if (x_74 == 0) -{ -lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; -x_75 = lean_ctor_get(x_72, 1); -lean_inc(x_75); -if (lean_is_exclusive(x_72)) { - lean_ctor_release(x_72, 0); - lean_ctor_release(x_72, 1); - x_76 = x_72; -} else { - lean_dec_ref(x_72); - x_76 = lean_box(0); -} -x_77 = lean_box(x_2); -if (lean_is_scalar(x_76)) { - x_78 = lean_alloc_ctor(0, 2, 0); -} else { - x_78 = x_76; -} -lean_ctor_set(x_78, 0, x_77); -lean_ctor_set(x_78, 1, x_75); -return x_78; -} -else -{ -lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; -x_79 = lean_ctor_get(x_72, 1); -lean_inc(x_79); -lean_dec(x_72); -x_80 = l___private_Init_Lean_TypeUtil_17__isLevelDefEqAux___main___rarg___closed__4; -x_81 = l___private_Init_Lean_TypeUtil_21__processPostponedAux___main___rarg___closed__3; -x_82 = l___private_Init_Lean_Trace_3__addTrace___at___private_Init_Lean_TypeUtil_21__processPostponedAux___main___spec__2___rarg(x_80, x_81, x_3, x_79); -x_83 = lean_ctor_get(x_82, 1); -lean_inc(x_83); -if (lean_is_exclusive(x_82)) { - lean_ctor_release(x_82, 0); - lean_ctor_release(x_82, 1); - x_84 = x_82; -} else { - lean_dec_ref(x_82); - x_84 = lean_box(0); -} -x_85 = lean_box(x_2); -if (lean_is_scalar(x_84)) { - x_86 = lean_alloc_ctor(0, 2, 0); -} else { - x_86 = x_84; -} -lean_ctor_set(x_86, 0, x_85); -lean_ctor_set(x_86, 1, x_83); -return x_86; -} -} -} -else -{ -x_4 = x_60; -goto _start; -} -} -else -{ -uint8_t x_88; lean_object* x_89; lean_object* x_90; -lean_dec(x_59); -lean_dec(x_7); -lean_dec(x_1); -x_88 = 1; -x_89 = lean_box(x_88); -x_90 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_90, 0, x_89); -lean_ctor_set(x_90, 1, x_60); -return x_90; -} -} -} -} -block_104: -{ -if (x_92 == 0) -{ -x_11 = x_93; -goto block_91; -} -else -{ -lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; -lean_inc(x_7); -x_94 = l_Nat_repr(x_7); -x_95 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_95, 0, x_94); -x_96 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_96, 0, x_95); -x_97 = l___private_Init_Lean_TypeUtil_21__processPostponedAux___main___rarg___closed__6; -x_98 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_98, 0, x_97); -lean_ctor_set(x_98, 1, x_96); -x_99 = l___private_Init_Lean_TypeUtil_21__processPostponedAux___main___rarg___closed__9; -x_100 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_100, 0, x_98); -lean_ctor_set(x_100, 1, x_99); -x_101 = l___private_Init_Lean_TypeUtil_17__isLevelDefEqAux___main___rarg___closed__4; -x_102 = l___private_Init_Lean_Trace_3__addTrace___at___private_Init_Lean_TypeUtil_21__processPostponedAux___main___spec__3___rarg(x_101, x_100, x_3, x_93); -x_103 = lean_ctor_get(x_102, 1); -lean_inc(x_103); -lean_dec(x_102); -x_11 = x_103; -goto block_91; -} -} -} -else -{ -uint8_t x_116; lean_object* x_117; -lean_dec(x_7); -lean_dec(x_1); -x_116 = 1; -x_117 = lean_box(x_116); -lean_ctor_set(x_5, 0, x_117); -return x_5; -} -} -else -{ -lean_object* x_118; lean_object* x_119; lean_object* x_120; uint8_t x_121; -x_118 = lean_ctor_get(x_5, 0); -x_119 = lean_ctor_get(x_5, 1); -lean_inc(x_119); -lean_inc(x_118); -lean_dec(x_5); -x_120 = lean_unsigned_to_nat(0u); -x_121 = lean_nat_dec_eq(x_118, x_120); -if (x_121 == 0) -{ -lean_object* x_122; uint8_t x_165; lean_object* x_166; lean_object* x_178; lean_object* x_179; uint8_t x_180; -x_178 = l___private_Init_Lean_TypeUtil_2__getTraceState___rarg(x_119); -x_179 = lean_ctor_get(x_178, 0); -lean_inc(x_179); -x_180 = lean_ctor_get_uint8(x_179, sizeof(void*)*1); -lean_dec(x_179); -if (x_180 == 0) -{ -lean_object* x_181; uint8_t x_182; -x_181 = lean_ctor_get(x_178, 1); -lean_inc(x_181); -lean_dec(x_178); -x_182 = 0; -x_165 = x_182; -x_166 = x_181; -goto block_177; -} -else -{ -lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; uint8_t x_188; -x_183 = lean_ctor_get(x_178, 1); -lean_inc(x_183); -lean_dec(x_178); -x_184 = l___private_Init_Lean_TypeUtil_17__isLevelDefEqAux___main___rarg___closed__8; -x_185 = l___private_Init_Lean_Trace_5__checkTraceOption___at___private_Init_Lean_TypeUtil_21__processPostponedAux___main___spec__4___rarg(x_184, x_3, x_183); -x_186 = lean_ctor_get(x_185, 0); -lean_inc(x_186); -x_187 = lean_ctor_get(x_185, 1); -lean_inc(x_187); -lean_dec(x_185); -x_188 = lean_unbox(x_186); -lean_dec(x_186); -x_165 = x_188; -x_166 = x_187; -goto block_177; -} -block_164: -{ -lean_object* x_123; lean_object* x_124; uint8_t x_125; -lean_inc(x_1); -x_123 = l___private_Init_Lean_TypeUtil_20__processPostponedStep___rarg(x_1, x_3, x_122); -x_124 = lean_ctor_get(x_123, 0); -lean_inc(x_124); -x_125 = lean_unbox(x_124); -if (x_125 == 0) -{ -lean_object* x_126; lean_object* x_127; lean_object* x_128; -lean_dec(x_118); -lean_dec(x_1); -x_126 = lean_ctor_get(x_123, 1); -lean_inc(x_126); -if (lean_is_exclusive(x_123)) { - lean_ctor_release(x_123, 0); - lean_ctor_release(x_123, 1); - x_127 = x_123; -} else { - lean_dec_ref(x_123); - x_127 = lean_box(0); -} -if (lean_is_scalar(x_127)) { - x_128 = lean_alloc_ctor(0, 2, 0); -} else { - x_128 = x_127; -} -lean_ctor_set(x_128, 0, x_124); -lean_ctor_set(x_128, 1, x_126); -return x_128; -} -else -{ -lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; uint8_t x_134; -lean_dec(x_124); -x_129 = lean_ctor_get(x_123, 1); -lean_inc(x_129); -lean_dec(x_123); -x_130 = l___private_Init_Lean_TypeUtil_18__getNumPostponed___rarg(x_129); -x_131 = lean_ctor_get(x_130, 0); -lean_inc(x_131); -x_132 = lean_ctor_get(x_130, 1); -lean_inc(x_132); -if (lean_is_exclusive(x_130)) { - lean_ctor_release(x_130, 0); - lean_ctor_release(x_130, 1); - x_133 = x_130; -} else { - lean_dec_ref(x_130); - x_133 = lean_box(0); -} -x_134 = lean_nat_dec_eq(x_131, x_120); -if (x_134 == 0) -{ -uint8_t x_135; -lean_dec(x_133); -x_135 = lean_nat_dec_lt(x_131, x_118); -lean_dec(x_118); -lean_dec(x_131); -if (x_135 == 0) -{ -lean_object* x_136; lean_object* x_137; uint8_t x_138; -lean_dec(x_1); -x_136 = l___private_Init_Lean_TypeUtil_2__getTraceState___rarg(x_132); -x_137 = lean_ctor_get(x_136, 0); -lean_inc(x_137); -x_138 = lean_ctor_get_uint8(x_137, sizeof(void*)*1); -lean_dec(x_137); -if (x_138 == 0) -{ -lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; -x_139 = lean_ctor_get(x_136, 1); -lean_inc(x_139); -if (lean_is_exclusive(x_136)) { - lean_ctor_release(x_136, 0); - lean_ctor_release(x_136, 1); - x_140 = x_136; -} else { - lean_dec_ref(x_136); - x_140 = lean_box(0); -} -x_141 = lean_box(x_2); -if (lean_is_scalar(x_140)) { - x_142 = lean_alloc_ctor(0, 2, 0); -} else { - x_142 = x_140; -} -lean_ctor_set(x_142, 0, x_141); -lean_ctor_set(x_142, 1, x_139); -return x_142; -} -else -{ -lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; uint8_t x_147; -x_143 = lean_ctor_get(x_136, 1); -lean_inc(x_143); -lean_dec(x_136); -x_144 = l___private_Init_Lean_TypeUtil_17__isLevelDefEqAux___main___rarg___closed__8; -x_145 = l___private_Init_Lean_Trace_5__checkTraceOption___at___private_Init_Lean_TypeUtil_21__processPostponedAux___main___spec__1___rarg(x_144, x_3, x_143); -x_146 = lean_ctor_get(x_145, 0); -lean_inc(x_146); -x_147 = lean_unbox(x_146); -lean_dec(x_146); -if (x_147 == 0) -{ -lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; -x_148 = lean_ctor_get(x_145, 1); -lean_inc(x_148); -if (lean_is_exclusive(x_145)) { - lean_ctor_release(x_145, 0); - lean_ctor_release(x_145, 1); - x_149 = x_145; -} else { - lean_dec_ref(x_145); - x_149 = lean_box(0); -} -x_150 = lean_box(x_2); -if (lean_is_scalar(x_149)) { - x_151 = lean_alloc_ctor(0, 2, 0); -} else { - x_151 = x_149; -} -lean_ctor_set(x_151, 0, x_150); -lean_ctor_set(x_151, 1, x_148); -return x_151; -} -else -{ -lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; -x_152 = lean_ctor_get(x_145, 1); -lean_inc(x_152); -lean_dec(x_145); -x_153 = l___private_Init_Lean_TypeUtil_17__isLevelDefEqAux___main___rarg___closed__4; -x_154 = l___private_Init_Lean_TypeUtil_21__processPostponedAux___main___rarg___closed__3; -x_155 = l___private_Init_Lean_Trace_3__addTrace___at___private_Init_Lean_TypeUtil_21__processPostponedAux___main___spec__2___rarg(x_153, x_154, x_3, x_152); -x_156 = lean_ctor_get(x_155, 1); -lean_inc(x_156); -if (lean_is_exclusive(x_155)) { - lean_ctor_release(x_155, 0); - lean_ctor_release(x_155, 1); - x_157 = x_155; -} else { - lean_dec_ref(x_155); - x_157 = lean_box(0); -} -x_158 = lean_box(x_2); -if (lean_is_scalar(x_157)) { - x_159 = lean_alloc_ctor(0, 2, 0); -} else { - x_159 = x_157; -} -lean_ctor_set(x_159, 0, x_158); -lean_ctor_set(x_159, 1, x_156); -return x_159; -} -} -} -else -{ -x_4 = x_132; -goto _start; -} -} -else -{ -uint8_t x_161; lean_object* x_162; lean_object* x_163; -lean_dec(x_131); -lean_dec(x_118); -lean_dec(x_1); -x_161 = 1; -x_162 = lean_box(x_161); -if (lean_is_scalar(x_133)) { - x_163 = lean_alloc_ctor(0, 2, 0); -} else { - x_163 = x_133; -} -lean_ctor_set(x_163, 0, x_162); -lean_ctor_set(x_163, 1, x_132); -return x_163; -} -} -} -block_177: -{ -if (x_165 == 0) -{ -x_122 = x_166; -goto block_164; -} -else -{ -lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; -lean_inc(x_118); -x_167 = l_Nat_repr(x_118); -x_168 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_168, 0, x_167); -x_169 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_169, 0, x_168); -x_170 = l___private_Init_Lean_TypeUtil_21__processPostponedAux___main___rarg___closed__6; -x_171 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_171, 0, x_170); -lean_ctor_set(x_171, 1, x_169); -x_172 = l___private_Init_Lean_TypeUtil_21__processPostponedAux___main___rarg___closed__9; -x_173 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_173, 0, x_171); -lean_ctor_set(x_173, 1, x_172); -x_174 = l___private_Init_Lean_TypeUtil_17__isLevelDefEqAux___main___rarg___closed__4; -x_175 = l___private_Init_Lean_Trace_3__addTrace___at___private_Init_Lean_TypeUtil_21__processPostponedAux___main___spec__3___rarg(x_174, x_173, x_3, x_166); -x_176 = lean_ctor_get(x_175, 1); -lean_inc(x_176); -lean_dec(x_175); -x_122 = x_176; -goto block_164; -} -} -} -else -{ -uint8_t x_189; lean_object* x_190; lean_object* x_191; -lean_dec(x_118); -lean_dec(x_1); -x_189 = 1; -x_190 = lean_box(x_189); -x_191 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_191, 0, x_190); -lean_ctor_set(x_191, 1, x_119); -return x_191; -} -} -} -} -lean_object* l___private_Init_Lean_TypeUtil_21__processPostponedAux___main(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l___private_Init_Lean_TypeUtil_21__processPostponedAux___main___rarg___boxed), 4, 0); -return x_3; -} -} -lean_object* l___private_Init_Lean_Trace_5__checkTraceOption___at___private_Init_Lean_TypeUtil_21__processPostponedAux___main___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l___private_Init_Lean_Trace_5__checkTraceOption___at___private_Init_Lean_TypeUtil_21__processPostponedAux___main___spec__1___rarg(x_1, x_2, x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_4; -} -} -lean_object* l___private_Init_Lean_Trace_3__addTrace___at___private_Init_Lean_TypeUtil_21__processPostponedAux___main___spec__2___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = l___private_Init_Lean_Trace_3__addTrace___at___private_Init_Lean_TypeUtil_21__processPostponedAux___main___spec__2___rarg(x_1, x_2, x_3, x_4); -lean_dec(x_3); -return x_5; -} -} -lean_object* l___private_Init_Lean_Trace_3__addTrace___at___private_Init_Lean_TypeUtil_21__processPostponedAux___main___spec__3___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = l___private_Init_Lean_Trace_3__addTrace___at___private_Init_Lean_TypeUtil_21__processPostponedAux___main___spec__3___rarg(x_1, x_2, x_3, x_4); -lean_dec(x_3); -return x_5; -} -} -lean_object* l___private_Init_Lean_Trace_5__checkTraceOption___at___private_Init_Lean_TypeUtil_21__processPostponedAux___main___spec__4___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l___private_Init_Lean_Trace_5__checkTraceOption___at___private_Init_Lean_TypeUtil_21__processPostponedAux___main___spec__4___rarg(x_1, x_2, x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_4; -} -} -lean_object* l___private_Init_Lean_TypeUtil_21__processPostponedAux___main___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 = lean_unbox(x_2); -lean_dec(x_2); -x_6 = l___private_Init_Lean_TypeUtil_21__processPostponedAux___main___rarg(x_1, x_5, x_3, x_4); -lean_dec(x_3); -return x_6; -} -} -lean_object* l___private_Init_Lean_TypeUtil_21__processPostponedAux___rarg(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = l___private_Init_Lean_TypeUtil_21__processPostponedAux___main___rarg(x_1, x_2, x_3, x_4); -return x_5; -} -} -lean_object* l___private_Init_Lean_TypeUtil_21__processPostponedAux(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l___private_Init_Lean_TypeUtil_21__processPostponedAux___rarg___boxed), 4, 0); -return x_3; -} -} -lean_object* l___private_Init_Lean_TypeUtil_21__processPostponedAux___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 = lean_unbox(x_2); -lean_dec(x_2); -x_6 = l___private_Init_Lean_TypeUtil_21__processPostponedAux___rarg(x_1, x_5, x_3, x_4); -lean_dec(x_3); -return x_6; -} -} -lean_object* l___private_Init_Lean_Trace_2__getResetTraces___at___private_Init_Lean_TypeUtil_22__processPostponed___spec__1___rarg(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5; -x_2 = l___private_Init_Lean_TypeUtil_2__getTraceState___rarg(x_1); -x_3 = lean_ctor_get(x_2, 1); -lean_inc(x_3); -x_4 = lean_ctor_get(x_3, 3); -lean_inc(x_4); -x_5 = !lean_is_exclusive(x_2); -if (x_5 == 0) -{ -lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; -x_6 = lean_ctor_get(x_2, 0); -x_7 = lean_ctor_get(x_2, 1); -lean_dec(x_7); -x_8 = lean_ctor_get(x_6, 0); -lean_inc(x_8); -lean_dec(x_6); -x_9 = !lean_is_exclusive(x_3); -if (x_9 == 0) -{ -lean_object* x_10; uint8_t x_11; -x_10 = lean_ctor_get(x_3, 3); -lean_dec(x_10); -x_11 = !lean_is_exclusive(x_4); -if (x_11 == 0) -{ -lean_object* x_12; lean_object* x_13; -x_12 = lean_ctor_get(x_4, 0); -lean_dec(x_12); -x_13 = l_Array_empty___closed__1; -lean_ctor_set(x_4, 0, x_13); -lean_ctor_set(x_2, 0, x_8); -return x_2; -} -else -{ -uint8_t x_14; lean_object* x_15; lean_object* x_16; -x_14 = lean_ctor_get_uint8(x_4, sizeof(void*)*1); -lean_dec(x_4); -x_15 = l_Array_empty___closed__1; -x_16 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_16, 0, x_15); -lean_ctor_set_uint8(x_16, sizeof(void*)*1, x_14); -lean_ctor_set(x_3, 3, x_16); -lean_ctor_set(x_2, 0, x_8); -return x_2; -} -} -else -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_17 = lean_ctor_get(x_3, 0); -x_18 = lean_ctor_get(x_3, 1); -x_19 = lean_ctor_get(x_3, 2); -x_20 = lean_ctor_get(x_3, 4); -lean_inc(x_20); -lean_inc(x_19); -lean_inc(x_18); -lean_inc(x_17); -lean_dec(x_3); -x_21 = lean_ctor_get_uint8(x_4, sizeof(void*)*1); -if (lean_is_exclusive(x_4)) { - lean_ctor_release(x_4, 0); - x_22 = x_4; -} else { - lean_dec_ref(x_4); - x_22 = lean_box(0); -} -x_23 = l_Array_empty___closed__1; -if (lean_is_scalar(x_22)) { - x_24 = lean_alloc_ctor(0, 1, 1); -} else { - x_24 = x_22; -} -lean_ctor_set(x_24, 0, x_23); -lean_ctor_set_uint8(x_24, sizeof(void*)*1, x_21); -x_25 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_25, 0, x_17); -lean_ctor_set(x_25, 1, x_18); -lean_ctor_set(x_25, 2, x_19); -lean_ctor_set(x_25, 3, x_24); -lean_ctor_set(x_25, 4, x_20); -lean_ctor_set(x_2, 1, x_25); -lean_ctor_set(x_2, 0, x_8); -return x_2; -} -} -else -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; -x_26 = lean_ctor_get(x_2, 0); -lean_inc(x_26); -lean_dec(x_2); -x_27 = lean_ctor_get(x_26, 0); -lean_inc(x_27); -lean_dec(x_26); -x_28 = lean_ctor_get(x_3, 0); -lean_inc(x_28); -x_29 = lean_ctor_get(x_3, 1); -lean_inc(x_29); -x_30 = lean_ctor_get(x_3, 2); -lean_inc(x_30); -x_31 = lean_ctor_get(x_3, 4); -lean_inc(x_31); -if (lean_is_exclusive(x_3)) { - lean_ctor_release(x_3, 0); - lean_ctor_release(x_3, 1); - lean_ctor_release(x_3, 2); - lean_ctor_release(x_3, 3); - lean_ctor_release(x_3, 4); - x_32 = x_3; -} else { - lean_dec_ref(x_3); - x_32 = lean_box(0); -} -x_33 = lean_ctor_get_uint8(x_4, sizeof(void*)*1); -if (lean_is_exclusive(x_4)) { - lean_ctor_release(x_4, 0); - x_34 = x_4; -} else { - lean_dec_ref(x_4); - x_34 = lean_box(0); -} -x_35 = l_Array_empty___closed__1; -if (lean_is_scalar(x_34)) { - x_36 = lean_alloc_ctor(0, 1, 1); -} else { - x_36 = x_34; -} -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set_uint8(x_36, sizeof(void*)*1, x_33); -if (lean_is_scalar(x_32)) { - x_37 = lean_alloc_ctor(0, 5, 0); -} else { - x_37 = x_32; -} -lean_ctor_set(x_37, 0, x_28); -lean_ctor_set(x_37, 1, x_29); -lean_ctor_set(x_37, 2, x_30); -lean_ctor_set(x_37, 3, x_36); -lean_ctor_set(x_37, 4, x_31); -x_38 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_38, 0, x_27); -lean_ctor_set(x_38, 1, x_37); -return x_38; -} -} -} -lean_object* l___private_Init_Lean_Trace_2__getResetTraces___at___private_Init_Lean_TypeUtil_22__processPostponed___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___private_Init_Lean_Trace_2__getResetTraces___at___private_Init_Lean_TypeUtil_22__processPostponed___spec__1___rarg), 1, 0); -return x_4; -} -} -lean_object* l___private_Init_Lean_Trace_1__addNode___at___private_Init_Lean_TypeUtil_22__processPostponed___spec__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -uint8_t x_5; -x_5 = !lean_is_exclusive(x_4); -if (x_5 == 0) -{ -lean_object* x_6; uint8_t x_7; -x_6 = lean_ctor_get(x_4, 3); -x_7 = !lean_is_exclusive(x_6); -if (x_7 == 0) -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_8 = lean_ctor_get(x_6, 0); -x_9 = lean_alloc_ctor(9, 1, 0); -lean_ctor_set(x_9, 0, x_8); -x_10 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_10, 0, x_2); -lean_ctor_set(x_10, 1, x_9); -x_11 = lean_array_push(x_1, x_10); -lean_ctor_set(x_6, 0, x_11); -x_12 = lean_box(0); -x_13 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_13, 0, x_12); -lean_ctor_set(x_13, 1, x_4); -return x_13; -} -else -{ -uint8_t x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_14 = lean_ctor_get_uint8(x_6, sizeof(void*)*1); -x_15 = lean_ctor_get(x_6, 0); -lean_inc(x_15); -lean_dec(x_6); -x_16 = lean_alloc_ctor(9, 1, 0); -lean_ctor_set(x_16, 0, x_15); -x_17 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_17, 0, x_2); -lean_ctor_set(x_17, 1, x_16); -x_18 = lean_array_push(x_1, x_17); -x_19 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_19, 0, x_18); -lean_ctor_set_uint8(x_19, sizeof(void*)*1, x_14); -lean_ctor_set(x_4, 3, x_19); -x_20 = lean_box(0); -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_20); -lean_ctor_set(x_21, 1, x_4); -return x_21; -} -} -else -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_22 = lean_ctor_get(x_4, 3); -x_23 = lean_ctor_get(x_4, 0); -x_24 = lean_ctor_get(x_4, 1); -x_25 = lean_ctor_get(x_4, 2); -x_26 = lean_ctor_get(x_4, 4); -lean_inc(x_26); -lean_inc(x_22); -lean_inc(x_25); -lean_inc(x_24); -lean_inc(x_23); -lean_dec(x_4); -x_27 = lean_ctor_get_uint8(x_22, sizeof(void*)*1); -x_28 = lean_ctor_get(x_22, 0); -lean_inc(x_28); -if (lean_is_exclusive(x_22)) { - lean_ctor_release(x_22, 0); - x_29 = x_22; -} else { - lean_dec_ref(x_22); - x_29 = lean_box(0); -} -x_30 = lean_alloc_ctor(9, 1, 0); -lean_ctor_set(x_30, 0, x_28); -x_31 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_31, 0, x_2); -lean_ctor_set(x_31, 1, x_30); -x_32 = lean_array_push(x_1, x_31); -if (lean_is_scalar(x_29)) { - x_33 = lean_alloc_ctor(0, 1, 1); -} else { - x_33 = x_29; -} -lean_ctor_set(x_33, 0, x_32); -lean_ctor_set_uint8(x_33, sizeof(void*)*1, x_27); -x_34 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_34, 0, x_23); -lean_ctor_set(x_34, 1, x_24); -lean_ctor_set(x_34, 2, x_25); -lean_ctor_set(x_34, 3, x_33); -lean_ctor_set(x_34, 4, x_26); -x_35 = lean_box(0); -x_36 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_34); -return x_36; -} -} -} -lean_object* l___private_Init_Lean_Trace_1__addNode___at___private_Init_Lean_TypeUtil_22__processPostponed___spec__2(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l___private_Init_Lean_Trace_1__addNode___at___private_Init_Lean_TypeUtil_22__processPostponed___spec__2___rarg___boxed), 4, 0); -return x_3; -} -} -lean_object* l___private_Init_Lean_Trace_1__addNode___at___private_Init_Lean_TypeUtil_22__processPostponed___spec__3___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -uint8_t x_5; -x_5 = !lean_is_exclusive(x_4); -if (x_5 == 0) -{ -lean_object* x_6; uint8_t x_7; -x_6 = lean_ctor_get(x_4, 3); -x_7 = !lean_is_exclusive(x_6); -if (x_7 == 0) -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_8 = lean_ctor_get(x_6, 0); -x_9 = lean_alloc_ctor(9, 1, 0); -lean_ctor_set(x_9, 0, x_8); -x_10 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_10, 0, x_2); -lean_ctor_set(x_10, 1, x_9); -x_11 = lean_array_push(x_1, x_10); -lean_ctor_set(x_6, 0, x_11); -x_12 = lean_box(0); -x_13 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_13, 0, x_12); -lean_ctor_set(x_13, 1, x_4); -return x_13; -} -else -{ -uint8_t x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_14 = lean_ctor_get_uint8(x_6, sizeof(void*)*1); -x_15 = lean_ctor_get(x_6, 0); -lean_inc(x_15); -lean_dec(x_6); -x_16 = lean_alloc_ctor(9, 1, 0); -lean_ctor_set(x_16, 0, x_15); -x_17 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_17, 0, x_2); -lean_ctor_set(x_17, 1, x_16); -x_18 = lean_array_push(x_1, x_17); -x_19 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_19, 0, x_18); -lean_ctor_set_uint8(x_19, sizeof(void*)*1, x_14); -lean_ctor_set(x_4, 3, x_19); -x_20 = lean_box(0); -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_20); -lean_ctor_set(x_21, 1, x_4); -return x_21; -} -} -else -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_22 = lean_ctor_get(x_4, 3); -x_23 = lean_ctor_get(x_4, 0); -x_24 = lean_ctor_get(x_4, 1); -x_25 = lean_ctor_get(x_4, 2); -x_26 = lean_ctor_get(x_4, 4); -lean_inc(x_26); -lean_inc(x_22); -lean_inc(x_25); -lean_inc(x_24); -lean_inc(x_23); -lean_dec(x_4); -x_27 = lean_ctor_get_uint8(x_22, sizeof(void*)*1); -x_28 = lean_ctor_get(x_22, 0); -lean_inc(x_28); -if (lean_is_exclusive(x_22)) { - lean_ctor_release(x_22, 0); - x_29 = x_22; -} else { - lean_dec_ref(x_22); - x_29 = lean_box(0); -} -x_30 = lean_alloc_ctor(9, 1, 0); -lean_ctor_set(x_30, 0, x_28); -x_31 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_31, 0, x_2); -lean_ctor_set(x_31, 1, x_30); -x_32 = lean_array_push(x_1, x_31); -if (lean_is_scalar(x_29)) { - x_33 = lean_alloc_ctor(0, 1, 1); -} else { - x_33 = x_29; -} -lean_ctor_set(x_33, 0, x_32); -lean_ctor_set_uint8(x_33, sizeof(void*)*1, x_27); -x_34 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_34, 0, x_23); -lean_ctor_set(x_34, 1, x_24); -lean_ctor_set(x_34, 2, x_25); -lean_ctor_set(x_34, 3, x_33); -lean_ctor_set(x_34, 4, x_26); -x_35 = lean_box(0); -x_36 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_34); -return x_36; -} -} -} -lean_object* l___private_Init_Lean_Trace_1__addNode___at___private_Init_Lean_TypeUtil_22__processPostponed___spec__3(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l___private_Init_Lean_Trace_1__addNode___at___private_Init_Lean_TypeUtil_22__processPostponed___spec__3___rarg___boxed), 4, 0); -return x_3; -} -} -lean_object* l___private_Init_Lean_Trace_1__addNode___at___private_Init_Lean_TypeUtil_22__processPostponed___spec__4___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -uint8_t x_5; -x_5 = !lean_is_exclusive(x_4); -if (x_5 == 0) -{ -lean_object* x_6; uint8_t x_7; -x_6 = lean_ctor_get(x_4, 3); -x_7 = !lean_is_exclusive(x_6); -if (x_7 == 0) -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_8 = lean_ctor_get(x_6, 0); -x_9 = lean_alloc_ctor(9, 1, 0); -lean_ctor_set(x_9, 0, x_8); -x_10 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_10, 0, x_2); -lean_ctor_set(x_10, 1, x_9); -x_11 = lean_array_push(x_1, x_10); -lean_ctor_set(x_6, 0, x_11); -x_12 = lean_box(0); -x_13 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_13, 0, x_12); -lean_ctor_set(x_13, 1, x_4); -return x_13; -} -else -{ -uint8_t x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_14 = lean_ctor_get_uint8(x_6, sizeof(void*)*1); -x_15 = lean_ctor_get(x_6, 0); -lean_inc(x_15); -lean_dec(x_6); -x_16 = lean_alloc_ctor(9, 1, 0); -lean_ctor_set(x_16, 0, x_15); -x_17 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_17, 0, x_2); -lean_ctor_set(x_17, 1, x_16); -x_18 = lean_array_push(x_1, x_17); -x_19 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_19, 0, x_18); -lean_ctor_set_uint8(x_19, sizeof(void*)*1, x_14); -lean_ctor_set(x_4, 3, x_19); -x_20 = lean_box(0); -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_20); -lean_ctor_set(x_21, 1, x_4); -return x_21; -} -} -else -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_22 = lean_ctor_get(x_4, 3); -x_23 = lean_ctor_get(x_4, 0); -x_24 = lean_ctor_get(x_4, 1); -x_25 = lean_ctor_get(x_4, 2); -x_26 = lean_ctor_get(x_4, 4); -lean_inc(x_26); -lean_inc(x_22); -lean_inc(x_25); -lean_inc(x_24); -lean_inc(x_23); -lean_dec(x_4); -x_27 = lean_ctor_get_uint8(x_22, sizeof(void*)*1); -x_28 = lean_ctor_get(x_22, 0); -lean_inc(x_28); -if (lean_is_exclusive(x_22)) { - lean_ctor_release(x_22, 0); - x_29 = x_22; -} else { - lean_dec_ref(x_22); - x_29 = lean_box(0); -} -x_30 = lean_alloc_ctor(9, 1, 0); -lean_ctor_set(x_30, 0, x_28); -x_31 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_31, 0, x_2); -lean_ctor_set(x_31, 1, x_30); -x_32 = lean_array_push(x_1, x_31); -if (lean_is_scalar(x_29)) { - x_33 = lean_alloc_ctor(0, 1, 1); -} else { - x_33 = x_29; -} -lean_ctor_set(x_33, 0, x_32); -lean_ctor_set_uint8(x_33, sizeof(void*)*1, x_27); -x_34 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_34, 0, x_23); -lean_ctor_set(x_34, 1, x_24); -lean_ctor_set(x_34, 2, x_25); -lean_ctor_set(x_34, 3, x_33); -lean_ctor_set(x_34, 4, x_26); -x_35 = lean_box(0); -x_36 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_34); -return x_36; -} -} -} -lean_object* l___private_Init_Lean_Trace_1__addNode___at___private_Init_Lean_TypeUtil_22__processPostponed___spec__4(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l___private_Init_Lean_Trace_1__addNode___at___private_Init_Lean_TypeUtil_22__processPostponed___spec__4___rarg___boxed), 4, 0); -return x_3; -} -} -lean_object* l___private_Init_Lean_Trace_5__checkTraceOption___at___private_Init_Lean_TypeUtil_22__processPostponed___spec__5___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; uint8_t x_5; -x_4 = l___private_Init_Lean_TypeUtil_1__getOptions___rarg(x_2, x_3); -x_5 = !lean_is_exclusive(x_4); -if (x_5 == 0) -{ -lean_object* x_6; uint8_t x_7; -x_6 = lean_ctor_get(x_4, 0); -x_7 = l_List_isEmpty___rarg(x_6); -if (x_7 == 0) -{ -uint8_t x_8; lean_object* x_9; -x_8 = l___private_Init_Lean_Trace_4__checkTraceOptionAux___main(x_6, x_1); -lean_dec(x_6); -x_9 = lean_box(x_8); -lean_ctor_set(x_4, 0, x_9); -return x_4; -} -else -{ -uint8_t x_10; lean_object* x_11; -lean_dec(x_6); -x_10 = 0; -x_11 = lean_box(x_10); -lean_ctor_set(x_4, 0, x_11); -return x_4; -} -} -else -{ -lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_12 = lean_ctor_get(x_4, 0); -x_13 = lean_ctor_get(x_4, 1); -lean_inc(x_13); -lean_inc(x_12); -lean_dec(x_4); -x_14 = l_List_isEmpty___rarg(x_12); -if (x_14 == 0) -{ -uint8_t x_15; lean_object* x_16; lean_object* x_17; -x_15 = l___private_Init_Lean_Trace_4__checkTraceOptionAux___main(x_12, x_1); -lean_dec(x_12); -x_16 = lean_box(x_15); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_13); -return x_17; -} -else -{ -uint8_t x_18; lean_object* x_19; lean_object* x_20; -lean_dec(x_12); -x_18 = 0; -x_19 = lean_box(x_18); -x_20 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_20, 0, x_19); -lean_ctor_set(x_20, 1, x_13); -return x_20; -} -} -} -} -lean_object* l___private_Init_Lean_Trace_5__checkTraceOption___at___private_Init_Lean_TypeUtil_22__processPostponed___spec__5(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l___private_Init_Lean_Trace_5__checkTraceOption___at___private_Init_Lean_TypeUtil_22__processPostponed___spec__5___rarg___boxed), 3, 0); -return x_3; -} -} -lean_object* _init_l___private_Init_Lean_TypeUtil_22__processPostponed___rarg___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("postponed"); -return x_1; -} -} -lean_object* _init_l___private_Init_Lean_TypeUtil_22__processPostponed___rarg___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_TypeUtil_17__isLevelDefEqAux___main___rarg___closed__4; -x_2 = l___private_Init_Lean_TypeUtil_22__processPostponed___rarg___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -lean_object* _init_l___private_Init_Lean_TypeUtil_22__processPostponed___rarg___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_SimpleMonadTracerAdapter_isTracingEnabledFor___rarg___lambda__1___closed__2; -x_2 = l___private_Init_Lean_TypeUtil_22__processPostponed___rarg___closed__2; -x_3 = l_Lean_Name_append___main(x_1, x_2); -return x_3; -} -} -lean_object* l___private_Init_Lean_TypeUtil_22__processPostponed___rarg(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; uint8_t x_6; -x_5 = l___private_Init_Lean_TypeUtil_18__getNumPostponed___rarg(x_4); -x_6 = !lean_is_exclusive(x_5); -if (x_6 == 0) -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; -x_7 = lean_ctor_get(x_5, 0); -x_8 = lean_ctor_get(x_5, 1); -x_9 = lean_unsigned_to_nat(0u); -x_10 = lean_nat_dec_eq(x_7, x_9); -lean_dec(x_7); -if (x_10 == 0) -{ -uint8_t x_11; lean_object* x_12; lean_object* x_108; lean_object* x_109; uint8_t x_110; -lean_free_object(x_5); -x_108 = l___private_Init_Lean_TypeUtil_2__getTraceState___rarg(x_8); -x_109 = lean_ctor_get(x_108, 0); -lean_inc(x_109); -x_110 = lean_ctor_get_uint8(x_109, sizeof(void*)*1); -lean_dec(x_109); -if (x_110 == 0) -{ -lean_object* x_111; uint8_t x_112; -x_111 = lean_ctor_get(x_108, 1); -lean_inc(x_111); -lean_dec(x_108); -x_112 = 0; -x_11 = x_112; -x_12 = x_111; -goto block_107; -} -else -{ -lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; uint8_t x_118; -x_113 = lean_ctor_get(x_108, 1); -lean_inc(x_113); -lean_dec(x_108); -x_114 = l___private_Init_Lean_TypeUtil_22__processPostponed___rarg___closed__3; -x_115 = l___private_Init_Lean_Trace_5__checkTraceOption___at___private_Init_Lean_TypeUtil_22__processPostponed___spec__5___rarg(x_114, x_3, x_113); -x_116 = lean_ctor_get(x_115, 0); -lean_inc(x_116); -x_117 = lean_ctor_get(x_115, 1); -lean_inc(x_117); -lean_dec(x_115); -x_118 = lean_unbox(x_116); -lean_dec(x_116); -x_11 = x_118; -x_12 = x_117; -goto block_107; -} -block_107: -{ -if (x_11 == 0) -{ -uint8_t x_13; -x_13 = !lean_is_exclusive(x_12); -if (x_13 == 0) -{ -lean_object* x_14; uint8_t x_15; -x_14 = lean_ctor_get(x_12, 3); -x_15 = !lean_is_exclusive(x_14); -if (x_15 == 0) -{ -uint8_t x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; -x_16 = 1; -lean_ctor_set_uint8(x_14, sizeof(void*)*1, x_16); -x_17 = l___private_Init_Lean_TypeUtil_21__processPostponedAux___main___rarg(x_1, x_2, x_3, x_12); -x_18 = lean_ctor_get(x_17, 1); -lean_inc(x_18); -x_19 = lean_ctor_get(x_18, 3); -lean_inc(x_19); -x_20 = !lean_is_exclusive(x_17); -if (x_20 == 0) -{ -lean_object* x_21; uint8_t x_22; -x_21 = lean_ctor_get(x_17, 1); -lean_dec(x_21); -x_22 = !lean_is_exclusive(x_18); -if (x_22 == 0) -{ -lean_object* x_23; uint8_t x_24; -x_23 = lean_ctor_get(x_18, 3); -lean_dec(x_23); -x_24 = !lean_is_exclusive(x_19); -if (x_24 == 0) -{ -uint8_t x_25; -x_25 = 0; -lean_ctor_set_uint8(x_19, sizeof(void*)*1, x_25); -return x_17; -} -else -{ -lean_object* x_26; uint8_t x_27; lean_object* x_28; -x_26 = lean_ctor_get(x_19, 0); -lean_inc(x_26); -lean_dec(x_19); -x_27 = 0; -x_28 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_28, 0, x_26); -lean_ctor_set_uint8(x_28, sizeof(void*)*1, x_27); -lean_ctor_set(x_18, 3, x_28); -return x_17; -} -} -else -{ -lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; lean_object* x_36; lean_object* x_37; -x_29 = lean_ctor_get(x_18, 0); -x_30 = lean_ctor_get(x_18, 1); -x_31 = lean_ctor_get(x_18, 2); -x_32 = lean_ctor_get(x_18, 4); -lean_inc(x_32); -lean_inc(x_31); -lean_inc(x_30); -lean_inc(x_29); -lean_dec(x_18); -x_33 = lean_ctor_get(x_19, 0); -lean_inc(x_33); -if (lean_is_exclusive(x_19)) { - lean_ctor_release(x_19, 0); - x_34 = x_19; -} else { - lean_dec_ref(x_19); - x_34 = lean_box(0); -} -x_35 = 0; -if (lean_is_scalar(x_34)) { - x_36 = lean_alloc_ctor(0, 1, 1); -} else { - x_36 = x_34; -} -lean_ctor_set(x_36, 0, x_33); -lean_ctor_set_uint8(x_36, sizeof(void*)*1, x_35); -x_37 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_37, 0, x_29); -lean_ctor_set(x_37, 1, x_30); -lean_ctor_set(x_37, 2, x_31); -lean_ctor_set(x_37, 3, x_36); -lean_ctor_set(x_37, 4, x_32); -lean_ctor_set(x_17, 1, x_37); -return x_17; -} -} -else -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; -x_38 = lean_ctor_get(x_17, 0); -lean_inc(x_38); -lean_dec(x_17); -x_39 = lean_ctor_get(x_18, 0); -lean_inc(x_39); -x_40 = lean_ctor_get(x_18, 1); -lean_inc(x_40); -x_41 = lean_ctor_get(x_18, 2); -lean_inc(x_41); -x_42 = lean_ctor_get(x_18, 4); -lean_inc(x_42); -if (lean_is_exclusive(x_18)) { - lean_ctor_release(x_18, 0); - lean_ctor_release(x_18, 1); - lean_ctor_release(x_18, 2); - lean_ctor_release(x_18, 3); - lean_ctor_release(x_18, 4); - x_43 = x_18; -} else { - lean_dec_ref(x_18); - x_43 = lean_box(0); -} -x_44 = lean_ctor_get(x_19, 0); -lean_inc(x_44); -if (lean_is_exclusive(x_19)) { - lean_ctor_release(x_19, 0); - x_45 = x_19; -} else { - lean_dec_ref(x_19); - x_45 = lean_box(0); -} -x_46 = 0; -if (lean_is_scalar(x_45)) { - x_47 = lean_alloc_ctor(0, 1, 1); -} else { - x_47 = x_45; -} -lean_ctor_set(x_47, 0, x_44); -lean_ctor_set_uint8(x_47, sizeof(void*)*1, x_46); -if (lean_is_scalar(x_43)) { - x_48 = lean_alloc_ctor(0, 5, 0); -} else { - x_48 = x_43; -} -lean_ctor_set(x_48, 0, x_39); -lean_ctor_set(x_48, 1, x_40); -lean_ctor_set(x_48, 2, x_41); -lean_ctor_set(x_48, 3, x_47); -lean_ctor_set(x_48, 4, x_42); -x_49 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_49, 0, x_38); -lean_ctor_set(x_49, 1, x_48); -return x_49; -} -} -else -{ -lean_object* x_50; uint8_t x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; uint8_t x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; -x_50 = lean_ctor_get(x_14, 0); -lean_inc(x_50); -lean_dec(x_14); -x_51 = 1; -x_52 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_52, 0, x_50); -lean_ctor_set_uint8(x_52, sizeof(void*)*1, x_51); -lean_ctor_set(x_12, 3, x_52); -x_53 = l___private_Init_Lean_TypeUtil_21__processPostponedAux___main___rarg(x_1, x_2, x_3, x_12); -x_54 = lean_ctor_get(x_53, 1); -lean_inc(x_54); -x_55 = lean_ctor_get(x_54, 3); -lean_inc(x_55); -x_56 = lean_ctor_get(x_53, 0); -lean_inc(x_56); -if (lean_is_exclusive(x_53)) { - lean_ctor_release(x_53, 0); - lean_ctor_release(x_53, 1); - x_57 = x_53; -} else { - lean_dec_ref(x_53); - x_57 = lean_box(0); -} -x_58 = lean_ctor_get(x_54, 0); -lean_inc(x_58); -x_59 = lean_ctor_get(x_54, 1); -lean_inc(x_59); -x_60 = lean_ctor_get(x_54, 2); -lean_inc(x_60); -x_61 = lean_ctor_get(x_54, 4); -lean_inc(x_61); -if (lean_is_exclusive(x_54)) { - lean_ctor_release(x_54, 0); - lean_ctor_release(x_54, 1); - lean_ctor_release(x_54, 2); - lean_ctor_release(x_54, 3); - lean_ctor_release(x_54, 4); - x_62 = x_54; -} else { - lean_dec_ref(x_54); - x_62 = lean_box(0); -} -x_63 = lean_ctor_get(x_55, 0); -lean_inc(x_63); -if (lean_is_exclusive(x_55)) { - lean_ctor_release(x_55, 0); - x_64 = x_55; -} else { - lean_dec_ref(x_55); - x_64 = lean_box(0); -} -x_65 = 0; -if (lean_is_scalar(x_64)) { - x_66 = lean_alloc_ctor(0, 1, 1); -} else { - x_66 = x_64; -} -lean_ctor_set(x_66, 0, x_63); -lean_ctor_set_uint8(x_66, sizeof(void*)*1, x_65); -if (lean_is_scalar(x_62)) { - x_67 = lean_alloc_ctor(0, 5, 0); -} else { - x_67 = x_62; -} -lean_ctor_set(x_67, 0, x_58); -lean_ctor_set(x_67, 1, x_59); -lean_ctor_set(x_67, 2, x_60); -lean_ctor_set(x_67, 3, x_66); -lean_ctor_set(x_67, 4, x_61); -if (lean_is_scalar(x_57)) { - x_68 = lean_alloc_ctor(0, 2, 0); -} else { - x_68 = x_57; -} -lean_ctor_set(x_68, 0, x_56); -lean_ctor_set(x_68, 1, x_67); -return x_68; -} -} -else -{ -lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; uint8_t x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; uint8_t x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; -x_69 = lean_ctor_get(x_12, 3); -x_70 = lean_ctor_get(x_12, 0); -x_71 = lean_ctor_get(x_12, 1); -x_72 = lean_ctor_get(x_12, 2); -x_73 = lean_ctor_get(x_12, 4); -lean_inc(x_73); -lean_inc(x_69); -lean_inc(x_72); -lean_inc(x_71); -lean_inc(x_70); -lean_dec(x_12); -x_74 = lean_ctor_get(x_69, 0); -lean_inc(x_74); -if (lean_is_exclusive(x_69)) { - lean_ctor_release(x_69, 0); - x_75 = x_69; -} else { - lean_dec_ref(x_69); - x_75 = lean_box(0); -} -x_76 = 1; -if (lean_is_scalar(x_75)) { - x_77 = lean_alloc_ctor(0, 1, 1); -} else { - x_77 = x_75; -} -lean_ctor_set(x_77, 0, x_74); -lean_ctor_set_uint8(x_77, sizeof(void*)*1, x_76); -x_78 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_78, 0, x_70); -lean_ctor_set(x_78, 1, x_71); -lean_ctor_set(x_78, 2, x_72); -lean_ctor_set(x_78, 3, x_77); -lean_ctor_set(x_78, 4, x_73); -x_79 = l___private_Init_Lean_TypeUtil_21__processPostponedAux___main___rarg(x_1, x_2, x_3, x_78); -x_80 = lean_ctor_get(x_79, 1); -lean_inc(x_80); -x_81 = lean_ctor_get(x_80, 3); -lean_inc(x_81); -x_82 = lean_ctor_get(x_79, 0); -lean_inc(x_82); -if (lean_is_exclusive(x_79)) { - lean_ctor_release(x_79, 0); - lean_ctor_release(x_79, 1); - x_83 = x_79; -} else { - lean_dec_ref(x_79); - x_83 = lean_box(0); -} -x_84 = lean_ctor_get(x_80, 0); -lean_inc(x_84); -x_85 = lean_ctor_get(x_80, 1); -lean_inc(x_85); -x_86 = lean_ctor_get(x_80, 2); -lean_inc(x_86); -x_87 = lean_ctor_get(x_80, 4); -lean_inc(x_87); -if (lean_is_exclusive(x_80)) { - lean_ctor_release(x_80, 0); - lean_ctor_release(x_80, 1); - lean_ctor_release(x_80, 2); - lean_ctor_release(x_80, 3); - lean_ctor_release(x_80, 4); - x_88 = x_80; -} else { - lean_dec_ref(x_80); - x_88 = lean_box(0); -} -x_89 = lean_ctor_get(x_81, 0); -lean_inc(x_89); -if (lean_is_exclusive(x_81)) { - lean_ctor_release(x_81, 0); - x_90 = x_81; -} else { - lean_dec_ref(x_81); - x_90 = lean_box(0); -} -x_91 = 0; -if (lean_is_scalar(x_90)) { - x_92 = lean_alloc_ctor(0, 1, 1); -} else { - x_92 = x_90; -} -lean_ctor_set(x_92, 0, x_89); -lean_ctor_set_uint8(x_92, sizeof(void*)*1, x_91); -if (lean_is_scalar(x_88)) { - x_93 = lean_alloc_ctor(0, 5, 0); -} else { - x_93 = x_88; -} -lean_ctor_set(x_93, 0, x_84); -lean_ctor_set(x_93, 1, x_85); -lean_ctor_set(x_93, 2, x_86); -lean_ctor_set(x_93, 3, x_92); -lean_ctor_set(x_93, 4, x_87); -if (lean_is_scalar(x_83)) { - x_94 = lean_alloc_ctor(0, 2, 0); -} else { - x_94 = x_83; -} -lean_ctor_set(x_94, 0, x_82); -lean_ctor_set(x_94, 1, x_93); -return x_94; -} -} -else -{ -lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; uint8_t x_103; -x_95 = l___private_Init_Lean_Trace_2__getResetTraces___at___private_Init_Lean_TypeUtil_22__processPostponed___spec__1___rarg(x_12); -x_96 = lean_ctor_get(x_95, 0); -lean_inc(x_96); -x_97 = lean_ctor_get(x_95, 1); -lean_inc(x_97); -lean_dec(x_95); -x_98 = l___private_Init_Lean_TypeUtil_21__processPostponedAux___main___rarg(x_1, x_2, x_3, x_97); -x_99 = lean_ctor_get(x_98, 0); -lean_inc(x_99); -x_100 = lean_ctor_get(x_98, 1); -lean_inc(x_100); -lean_dec(x_98); -x_101 = l___private_Init_Lean_TypeUtil_22__processPostponed___rarg___closed__2; -x_102 = l___private_Init_Lean_Trace_1__addNode___at___private_Init_Lean_TypeUtil_22__processPostponed___spec__2___rarg(x_96, x_101, x_3, x_100); -x_103 = !lean_is_exclusive(x_102); -if (x_103 == 0) -{ -lean_object* x_104; -x_104 = lean_ctor_get(x_102, 0); -lean_dec(x_104); -lean_ctor_set(x_102, 0, x_99); -return x_102; -} -else -{ -lean_object* x_105; lean_object* x_106; -x_105 = lean_ctor_get(x_102, 1); -lean_inc(x_105); -lean_dec(x_102); -x_106 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_106, 0, x_99); -lean_ctor_set(x_106, 1, x_105); -return x_106; -} -} -} -} -else -{ -uint8_t x_119; lean_object* x_120; -lean_dec(x_1); -x_119 = 1; -x_120 = lean_box(x_119); -lean_ctor_set(x_5, 0, x_120); -return x_5; -} -} -else -{ -lean_object* x_121; lean_object* x_122; lean_object* x_123; uint8_t x_124; -x_121 = lean_ctor_get(x_5, 0); -x_122 = lean_ctor_get(x_5, 1); -lean_inc(x_122); -lean_inc(x_121); -lean_dec(x_5); -x_123 = lean_unsigned_to_nat(0u); -x_124 = lean_nat_dec_eq(x_121, x_123); -lean_dec(x_121); -if (x_124 == 0) -{ -uint8_t x_125; lean_object* x_126; lean_object* x_166; lean_object* x_167; uint8_t x_168; -x_166 = l___private_Init_Lean_TypeUtil_2__getTraceState___rarg(x_122); -x_167 = lean_ctor_get(x_166, 0); -lean_inc(x_167); -x_168 = lean_ctor_get_uint8(x_167, sizeof(void*)*1); -lean_dec(x_167); -if (x_168 == 0) -{ -lean_object* x_169; uint8_t x_170; -x_169 = lean_ctor_get(x_166, 1); -lean_inc(x_169); -lean_dec(x_166); -x_170 = 0; -x_125 = x_170; -x_126 = x_169; -goto block_165; -} -else -{ -lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; uint8_t x_176; -x_171 = lean_ctor_get(x_166, 1); -lean_inc(x_171); -lean_dec(x_166); -x_172 = l___private_Init_Lean_TypeUtil_22__processPostponed___rarg___closed__3; -x_173 = l___private_Init_Lean_Trace_5__checkTraceOption___at___private_Init_Lean_TypeUtil_22__processPostponed___spec__5___rarg(x_172, x_3, x_171); -x_174 = lean_ctor_get(x_173, 0); -lean_inc(x_174); -x_175 = lean_ctor_get(x_173, 1); -lean_inc(x_175); -lean_dec(x_173); -x_176 = lean_unbox(x_174); -lean_dec(x_174); -x_125 = x_176; -x_126 = x_175; -goto block_165; -} -block_165: -{ -if (x_125 == 0) -{ -lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; uint8_t x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; uint8_t x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; -x_127 = lean_ctor_get(x_126, 3); -lean_inc(x_127); -x_128 = lean_ctor_get(x_126, 0); -lean_inc(x_128); -x_129 = lean_ctor_get(x_126, 1); -lean_inc(x_129); -x_130 = lean_ctor_get(x_126, 2); -lean_inc(x_130); -x_131 = lean_ctor_get(x_126, 4); -lean_inc(x_131); -if (lean_is_exclusive(x_126)) { - lean_ctor_release(x_126, 0); - lean_ctor_release(x_126, 1); - lean_ctor_release(x_126, 2); - lean_ctor_release(x_126, 3); - lean_ctor_release(x_126, 4); - x_132 = x_126; -} else { - lean_dec_ref(x_126); - x_132 = lean_box(0); -} -x_133 = lean_ctor_get(x_127, 0); -lean_inc(x_133); -if (lean_is_exclusive(x_127)) { - lean_ctor_release(x_127, 0); - x_134 = x_127; -} else { - lean_dec_ref(x_127); - x_134 = lean_box(0); -} -x_135 = 1; -if (lean_is_scalar(x_134)) { - x_136 = lean_alloc_ctor(0, 1, 1); -} else { - x_136 = x_134; -} -lean_ctor_set(x_136, 0, x_133); -lean_ctor_set_uint8(x_136, sizeof(void*)*1, x_135); -if (lean_is_scalar(x_132)) { - x_137 = lean_alloc_ctor(0, 5, 0); -} else { - x_137 = x_132; -} -lean_ctor_set(x_137, 0, x_128); -lean_ctor_set(x_137, 1, x_129); -lean_ctor_set(x_137, 2, x_130); -lean_ctor_set(x_137, 3, x_136); -lean_ctor_set(x_137, 4, x_131); -x_138 = l___private_Init_Lean_TypeUtil_21__processPostponedAux___main___rarg(x_1, x_2, x_3, x_137); -x_139 = lean_ctor_get(x_138, 1); -lean_inc(x_139); -x_140 = lean_ctor_get(x_139, 3); -lean_inc(x_140); -x_141 = lean_ctor_get(x_138, 0); -lean_inc(x_141); -if (lean_is_exclusive(x_138)) { - lean_ctor_release(x_138, 0); - lean_ctor_release(x_138, 1); - x_142 = x_138; -} else { - lean_dec_ref(x_138); - x_142 = lean_box(0); -} -x_143 = lean_ctor_get(x_139, 0); -lean_inc(x_143); -x_144 = lean_ctor_get(x_139, 1); -lean_inc(x_144); -x_145 = lean_ctor_get(x_139, 2); -lean_inc(x_145); -x_146 = lean_ctor_get(x_139, 4); -lean_inc(x_146); -if (lean_is_exclusive(x_139)) { - lean_ctor_release(x_139, 0); - lean_ctor_release(x_139, 1); - lean_ctor_release(x_139, 2); - lean_ctor_release(x_139, 3); - lean_ctor_release(x_139, 4); - x_147 = x_139; -} else { - lean_dec_ref(x_139); - x_147 = lean_box(0); -} -x_148 = lean_ctor_get(x_140, 0); -lean_inc(x_148); -if (lean_is_exclusive(x_140)) { - lean_ctor_release(x_140, 0); - x_149 = x_140; -} else { - lean_dec_ref(x_140); - x_149 = lean_box(0); -} -x_150 = 0; -if (lean_is_scalar(x_149)) { - x_151 = lean_alloc_ctor(0, 1, 1); -} else { - x_151 = x_149; -} -lean_ctor_set(x_151, 0, x_148); -lean_ctor_set_uint8(x_151, sizeof(void*)*1, x_150); -if (lean_is_scalar(x_147)) { - x_152 = lean_alloc_ctor(0, 5, 0); -} else { - x_152 = x_147; -} -lean_ctor_set(x_152, 0, x_143); -lean_ctor_set(x_152, 1, x_144); -lean_ctor_set(x_152, 2, x_145); -lean_ctor_set(x_152, 3, x_151); -lean_ctor_set(x_152, 4, x_146); -if (lean_is_scalar(x_142)) { - x_153 = lean_alloc_ctor(0, 2, 0); -} else { - x_153 = x_142; -} -lean_ctor_set(x_153, 0, x_141); -lean_ctor_set(x_153, 1, x_152); -return x_153; -} -else -{ -lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; -x_154 = l___private_Init_Lean_Trace_2__getResetTraces___at___private_Init_Lean_TypeUtil_22__processPostponed___spec__1___rarg(x_126); -x_155 = lean_ctor_get(x_154, 0); -lean_inc(x_155); -x_156 = lean_ctor_get(x_154, 1); -lean_inc(x_156); -lean_dec(x_154); -x_157 = l___private_Init_Lean_TypeUtil_21__processPostponedAux___main___rarg(x_1, x_2, x_3, x_156); -x_158 = lean_ctor_get(x_157, 0); -lean_inc(x_158); -x_159 = lean_ctor_get(x_157, 1); -lean_inc(x_159); -lean_dec(x_157); -x_160 = l___private_Init_Lean_TypeUtil_22__processPostponed___rarg___closed__2; -x_161 = l___private_Init_Lean_Trace_1__addNode___at___private_Init_Lean_TypeUtil_22__processPostponed___spec__2___rarg(x_155, x_160, x_3, x_159); -x_162 = lean_ctor_get(x_161, 1); -lean_inc(x_162); -if (lean_is_exclusive(x_161)) { - lean_ctor_release(x_161, 0); - lean_ctor_release(x_161, 1); - x_163 = x_161; -} else { - lean_dec_ref(x_161); - x_163 = lean_box(0); -} -if (lean_is_scalar(x_163)) { - x_164 = lean_alloc_ctor(0, 2, 0); -} else { - x_164 = x_163; -} -lean_ctor_set(x_164, 0, x_158); -lean_ctor_set(x_164, 1, x_162); -return x_164; -} -} -} -else -{ -uint8_t x_177; lean_object* x_178; lean_object* x_179; -lean_dec(x_1); -x_177 = 1; -x_178 = lean_box(x_177); -x_179 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_179, 0, x_178); -lean_ctor_set(x_179, 1, x_122); -return x_179; -} -} -} -} -lean_object* l___private_Init_Lean_TypeUtil_22__processPostponed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l___private_Init_Lean_TypeUtil_22__processPostponed___rarg___boxed), 4, 0); -return x_3; -} -} -lean_object* l___private_Init_Lean_Trace_2__getResetTraces___at___private_Init_Lean_TypeUtil_22__processPostponed___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l___private_Init_Lean_Trace_2__getResetTraces___at___private_Init_Lean_TypeUtil_22__processPostponed___spec__1(x_1, x_2, x_3); -lean_dec(x_3); -return x_4; -} -} -lean_object* l___private_Init_Lean_Trace_1__addNode___at___private_Init_Lean_TypeUtil_22__processPostponed___spec__2___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = l___private_Init_Lean_Trace_1__addNode___at___private_Init_Lean_TypeUtil_22__processPostponed___spec__2___rarg(x_1, x_2, x_3, x_4); -lean_dec(x_3); -return x_5; -} -} -lean_object* l___private_Init_Lean_Trace_1__addNode___at___private_Init_Lean_TypeUtil_22__processPostponed___spec__3___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = l___private_Init_Lean_Trace_1__addNode___at___private_Init_Lean_TypeUtil_22__processPostponed___spec__3___rarg(x_1, x_2, x_3, x_4); -lean_dec(x_3); -return x_5; -} -} -lean_object* l___private_Init_Lean_Trace_1__addNode___at___private_Init_Lean_TypeUtil_22__processPostponed___spec__4___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = l___private_Init_Lean_Trace_1__addNode___at___private_Init_Lean_TypeUtil_22__processPostponed___spec__4___rarg(x_1, x_2, x_3, x_4); -lean_dec(x_3); -return x_5; -} -} -lean_object* l___private_Init_Lean_Trace_5__checkTraceOption___at___private_Init_Lean_TypeUtil_22__processPostponed___spec__5___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l___private_Init_Lean_Trace_5__checkTraceOption___at___private_Init_Lean_TypeUtil_22__processPostponed___spec__5___rarg(x_1, x_2, x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_4; -} -} -lean_object* l___private_Init_Lean_TypeUtil_22__processPostponed___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 = lean_unbox(x_2); -lean_dec(x_2); -x_6 = l___private_Init_Lean_TypeUtil_22__processPostponed___rarg(x_1, x_5, x_3, x_4); -lean_dec(x_3); -return x_6; -} -} -lean_object* l___private_Init_Lean_TypeUtil_23__restoreIfFalse___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, 0); -lean_inc(x_4); -x_5 = lean_ctor_get(x_3, 4); -lean_inc(x_5); -x_6 = lean_apply_2(x_1, x_2, x_3); -if (lean_obj_tag(x_6) == 0) -{ -lean_object* x_7; uint8_t x_8; -x_7 = lean_ctor_get(x_6, 0); -lean_inc(x_7); -x_8 = lean_unbox(x_7); -if (x_8 == 0) -{ -uint8_t x_9; -x_9 = !lean_is_exclusive(x_6); -if (x_9 == 0) -{ -lean_object* x_10; lean_object* x_11; uint8_t x_12; -x_10 = lean_ctor_get(x_6, 1); -x_11 = lean_ctor_get(x_6, 0); -lean_dec(x_11); -x_12 = !lean_is_exclusive(x_10); -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; -x_13 = lean_ctor_get(x_10, 4); -lean_dec(x_13); -x_14 = lean_ctor_get(x_10, 0); -lean_dec(x_14); -lean_ctor_set(x_10, 4, x_5); -lean_ctor_set(x_10, 0, x_4); -return x_6; -} -else -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_15 = lean_ctor_get(x_10, 1); -x_16 = lean_ctor_get(x_10, 2); -x_17 = lean_ctor_get(x_10, 3); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -lean_dec(x_10); -x_18 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_18, 0, x_4); -lean_ctor_set(x_18, 1, x_15); -lean_ctor_set(x_18, 2, x_16); -lean_ctor_set(x_18, 3, x_17); -lean_ctor_set(x_18, 4, x_5); -lean_ctor_set(x_6, 1, x_18); -return x_6; -} -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_19 = lean_ctor_get(x_6, 1); -lean_inc(x_19); -lean_dec(x_6); -x_20 = lean_ctor_get(x_19, 1); -lean_inc(x_20); -x_21 = lean_ctor_get(x_19, 2); -lean_inc(x_21); -x_22 = lean_ctor_get(x_19, 3); -lean_inc(x_22); -if (lean_is_exclusive(x_19)) { - lean_ctor_release(x_19, 0); - lean_ctor_release(x_19, 1); - lean_ctor_release(x_19, 2); - lean_ctor_release(x_19, 3); - lean_ctor_release(x_19, 4); - x_23 = x_19; -} else { - lean_dec_ref(x_19); - x_23 = lean_box(0); -} -if (lean_is_scalar(x_23)) { - x_24 = lean_alloc_ctor(0, 5, 0); -} else { - x_24 = x_23; -} -lean_ctor_set(x_24, 0, x_4); -lean_ctor_set(x_24, 1, x_20); -lean_ctor_set(x_24, 2, x_21); -lean_ctor_set(x_24, 3, x_22); -lean_ctor_set(x_24, 4, x_5); -x_25 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_25, 0, x_7); -lean_ctor_set(x_25, 1, x_24); -return x_25; -} -} -else -{ -uint8_t x_26; -lean_dec(x_5); -lean_dec(x_4); -x_26 = !lean_is_exclusive(x_6); -if (x_26 == 0) -{ -lean_object* x_27; -x_27 = lean_ctor_get(x_6, 0); -lean_dec(x_27); -return x_6; -} -else -{ -lean_object* x_28; lean_object* x_29; -x_28 = lean_ctor_get(x_6, 1); -lean_inc(x_28); -lean_dec(x_6); -x_29 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_29, 0, x_7); -lean_ctor_set(x_29, 1, x_28); -return x_29; -} -} -} -else -{ -uint8_t x_30; -x_30 = !lean_is_exclusive(x_6); -if (x_30 == 0) -{ -lean_object* x_31; uint8_t x_32; -x_31 = lean_ctor_get(x_6, 1); -x_32 = !lean_is_exclusive(x_31); -if (x_32 == 0) -{ -lean_object* x_33; lean_object* x_34; -x_33 = lean_ctor_get(x_31, 4); -lean_dec(x_33); -x_34 = lean_ctor_get(x_31, 0); -lean_dec(x_34); -lean_ctor_set(x_31, 4, x_5); -lean_ctor_set(x_31, 0, x_4); -return x_6; -} -else -{ -lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; -x_35 = lean_ctor_get(x_31, 1); -x_36 = lean_ctor_get(x_31, 2); -x_37 = lean_ctor_get(x_31, 3); -lean_inc(x_37); -lean_inc(x_36); -lean_inc(x_35); -lean_dec(x_31); -x_38 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_38, 0, x_4); -lean_ctor_set(x_38, 1, x_35); -lean_ctor_set(x_38, 2, x_36); -lean_ctor_set(x_38, 3, x_37); -lean_ctor_set(x_38, 4, x_5); -lean_ctor_set(x_6, 1, x_38); -return x_6; -} -} -else -{ -lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_39 = lean_ctor_get(x_6, 1); -x_40 = lean_ctor_get(x_6, 0); -lean_inc(x_39); -lean_inc(x_40); -lean_dec(x_6); -x_41 = lean_ctor_get(x_39, 1); -lean_inc(x_41); -x_42 = lean_ctor_get(x_39, 2); -lean_inc(x_42); -x_43 = lean_ctor_get(x_39, 3); -lean_inc(x_43); -if (lean_is_exclusive(x_39)) { - lean_ctor_release(x_39, 0); - lean_ctor_release(x_39, 1); - lean_ctor_release(x_39, 2); - lean_ctor_release(x_39, 3); - lean_ctor_release(x_39, 4); - x_44 = x_39; -} else { - lean_dec_ref(x_39); - x_44 = lean_box(0); -} -if (lean_is_scalar(x_44)) { - x_45 = lean_alloc_ctor(0, 5, 0); -} else { - x_45 = x_44; -} -lean_ctor_set(x_45, 0, x_4); -lean_ctor_set(x_45, 1, x_41); -lean_ctor_set(x_45, 2, x_42); -lean_ctor_set(x_45, 3, x_43); -lean_ctor_set(x_45, 4, x_5); -x_46 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_46, 0, x_40); -lean_ctor_set(x_46, 1, x_45); -return x_46; -} -} -} -} -lean_object* l___private_Init_Lean_TypeUtil_23__restoreIfFalse(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l___private_Init_Lean_TypeUtil_23__restoreIfFalse___rarg), 3, 0); -return x_3; -} -} -lean_object* l_Lean_TypeUtil_isLevelDefEq___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; lean_object* x_8; uint8_t x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; -x_7 = lean_ctor_get(x_6, 0); -lean_inc(x_7); -x_8 = lean_ctor_get(x_6, 4); -lean_inc(x_8); -x_9 = 1; -lean_inc(x_1); -x_10 = l___private_Init_Lean_TypeUtil_17__isLevelDefEqAux___main___rarg(x_1, x_9, x_9, x_2, x_3, x_5, x_6); -x_11 = lean_ctor_get(x_10, 0); -lean_inc(x_11); -x_12 = lean_unbox(x_11); -lean_dec(x_11); -if (x_12 == 0) -{ -uint8_t x_13; -lean_dec(x_1); -x_13 = !lean_is_exclusive(x_10); -if (x_13 == 0) -{ -lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_14 = lean_ctor_get(x_10, 1); -x_15 = lean_ctor_get(x_10, 0); -lean_dec(x_15); -x_16 = !lean_is_exclusive(x_14); -if (x_16 == 0) -{ -lean_object* x_17; lean_object* x_18; uint8_t x_19; lean_object* x_20; -x_17 = lean_ctor_get(x_14, 4); -lean_dec(x_17); -x_18 = lean_ctor_get(x_14, 0); -lean_dec(x_18); -lean_ctor_set(x_14, 4, x_8); -lean_ctor_set(x_14, 0, x_7); -x_19 = 0; -x_20 = lean_box(x_19); -lean_ctor_set(x_10, 0, x_20); -return x_10; -} -else -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; lean_object* x_26; -x_21 = lean_ctor_get(x_14, 1); -x_22 = lean_ctor_get(x_14, 2); -x_23 = lean_ctor_get(x_14, 3); -lean_inc(x_23); -lean_inc(x_22); -lean_inc(x_21); -lean_dec(x_14); -x_24 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_24, 0, x_7); -lean_ctor_set(x_24, 1, x_21); -lean_ctor_set(x_24, 2, x_22); -lean_ctor_set(x_24, 3, x_23); -lean_ctor_set(x_24, 4, x_8); -x_25 = 0; -x_26 = lean_box(x_25); -lean_ctor_set(x_10, 1, x_24); -lean_ctor_set(x_10, 0, x_26); -return x_10; -} -} -else -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; lean_object* x_34; lean_object* x_35; -x_27 = lean_ctor_get(x_10, 1); -lean_inc(x_27); -lean_dec(x_10); -x_28 = lean_ctor_get(x_27, 1); -lean_inc(x_28); -x_29 = lean_ctor_get(x_27, 2); -lean_inc(x_29); -x_30 = lean_ctor_get(x_27, 3); -lean_inc(x_30); -if (lean_is_exclusive(x_27)) { - lean_ctor_release(x_27, 0); - lean_ctor_release(x_27, 1); - lean_ctor_release(x_27, 2); - lean_ctor_release(x_27, 3); - lean_ctor_release(x_27, 4); - x_31 = x_27; -} else { - lean_dec_ref(x_27); - x_31 = lean_box(0); -} -if (lean_is_scalar(x_31)) { - x_32 = lean_alloc_ctor(0, 5, 0); -} else { - x_32 = x_31; -} -lean_ctor_set(x_32, 0, x_7); -lean_ctor_set(x_32, 1, x_28); -lean_ctor_set(x_32, 2, x_29); -lean_ctor_set(x_32, 3, x_30); -lean_ctor_set(x_32, 4, x_8); -x_33 = 0; -x_34 = lean_box(x_33); -x_35 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_35, 0, x_34); -lean_ctor_set(x_35, 1, x_32); -return x_35; -} -} -else -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; -x_36 = lean_ctor_get(x_10, 1); -lean_inc(x_36); -lean_dec(x_10); -x_37 = l___private_Init_Lean_TypeUtil_22__processPostponed___rarg(x_1, x_4, x_5, x_36); -x_38 = lean_ctor_get(x_37, 0); -lean_inc(x_38); -x_39 = lean_unbox(x_38); -if (x_39 == 0) -{ -uint8_t x_40; -x_40 = !lean_is_exclusive(x_37); -if (x_40 == 0) -{ -lean_object* x_41; lean_object* x_42; uint8_t x_43; -x_41 = lean_ctor_get(x_37, 1); -x_42 = lean_ctor_get(x_37, 0); -lean_dec(x_42); -x_43 = !lean_is_exclusive(x_41); -if (x_43 == 0) -{ -lean_object* x_44; lean_object* x_45; -x_44 = lean_ctor_get(x_41, 4); -lean_dec(x_44); -x_45 = lean_ctor_get(x_41, 0); -lean_dec(x_45); -lean_ctor_set(x_41, 4, x_8); -lean_ctor_set(x_41, 0, x_7); -return x_37; -} -else -{ -lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; -x_46 = lean_ctor_get(x_41, 1); -x_47 = lean_ctor_get(x_41, 2); -x_48 = lean_ctor_get(x_41, 3); -lean_inc(x_48); -lean_inc(x_47); -lean_inc(x_46); -lean_dec(x_41); -x_49 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_49, 0, x_7); -lean_ctor_set(x_49, 1, x_46); -lean_ctor_set(x_49, 2, x_47); -lean_ctor_set(x_49, 3, x_48); -lean_ctor_set(x_49, 4, x_8); -lean_ctor_set(x_37, 1, x_49); -return x_37; -} -} -else -{ -lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; -x_50 = lean_ctor_get(x_37, 1); -lean_inc(x_50); -lean_dec(x_37); -x_51 = lean_ctor_get(x_50, 1); -lean_inc(x_51); -x_52 = lean_ctor_get(x_50, 2); -lean_inc(x_52); -x_53 = lean_ctor_get(x_50, 3); -lean_inc(x_53); -if (lean_is_exclusive(x_50)) { - lean_ctor_release(x_50, 0); - lean_ctor_release(x_50, 1); - lean_ctor_release(x_50, 2); - lean_ctor_release(x_50, 3); - lean_ctor_release(x_50, 4); - x_54 = x_50; -} else { - lean_dec_ref(x_50); - x_54 = lean_box(0); -} -if (lean_is_scalar(x_54)) { - x_55 = lean_alloc_ctor(0, 5, 0); -} else { - x_55 = x_54; -} -lean_ctor_set(x_55, 0, x_7); -lean_ctor_set(x_55, 1, x_51); -lean_ctor_set(x_55, 2, x_52); -lean_ctor_set(x_55, 3, x_53); -lean_ctor_set(x_55, 4, x_8); -x_56 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_56, 0, x_38); -lean_ctor_set(x_56, 1, x_55); -return x_56; -} -} -else -{ -uint8_t x_57; -lean_dec(x_8); -lean_dec(x_7); -x_57 = !lean_is_exclusive(x_37); -if (x_57 == 0) -{ -lean_object* x_58; -x_58 = lean_ctor_get(x_37, 0); -lean_dec(x_58); -return x_37; -} -else -{ -lean_object* x_59; lean_object* x_60; -x_59 = lean_ctor_get(x_37, 1); -lean_inc(x_59); -lean_dec(x_37); -x_60 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_60, 0, x_38); -lean_ctor_set(x_60, 1, x_59); -return x_60; -} -} -} -} -} -lean_object* l_Lean_TypeUtil_isLevelDefEq(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Lean_TypeUtil_isLevelDefEq___rarg___boxed), 6, 0); -return x_3; -} -} -lean_object* l_Lean_TypeUtil_isLevelDefEq___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -uint8_t x_7; lean_object* x_8; -x_7 = lean_unbox(x_4); -lean_dec(x_4); -x_8 = l_Lean_TypeUtil_isLevelDefEq___rarg(x_1, x_2, x_3, x_7, x_5, x_6); -lean_dec(x_5); -return x_8; -} -} -lean_object* l_Lean_typeContextNoCacheIsAbstractTCCache___lambda__1(lean_object* x_1, uint8_t x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = lean_box(0); -return x_4; -} -} -lean_object* l_Lean_typeContextNoCacheIsAbstractTCCache___lambda__2(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_inc(x_1); -return x_1; -} -} -lean_object* _init_l_Lean_typeContextNoCacheIsAbstractTCCache___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_typeContextNoCacheIsAbstractTCCache___lambda__1___boxed), 3, 0); -return x_1; -} -} -lean_object* _init_l_Lean_typeContextNoCacheIsAbstractTCCache___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_typeContextNoCacheIsAbstractTCCache___lambda__2___boxed), 4, 0); -return x_1; -} -} -lean_object* _init_l_Lean_typeContextNoCacheIsAbstractTCCache___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_typeContextNoCacheIsAbstractTCCache___closed__1; -x_2 = l_Lean_typeContextNoCacheIsAbstractTCCache___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_typeContextNoCacheIsAbstractTCCache() { -_start: -{ -lean_object* x_1; -x_1 = l_Lean_typeContextNoCacheIsAbstractTCCache___closed__3; -return x_1; -} -} -lean_object* l_Lean_typeContextNoCacheIsAbstractTCCache___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -uint8_t x_4; lean_object* x_5; -x_4 = lean_unbox(x_2); -lean_dec(x_2); -x_5 = l_Lean_typeContextNoCacheIsAbstractTCCache___lambda__1(x_1, x_4, x_3); -lean_dec(x_3); -lean_dec(x_1); -return x_5; -} -} -lean_object* l_Lean_typeContextNoCacheIsAbstractTCCache___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -uint8_t x_5; lean_object* x_6; -x_5 = lean_unbox(x_2); -lean_dec(x_2); -x_6 = l_Lean_typeContextNoCacheIsAbstractTCCache___lambda__2(x_1, x_5, x_3, x_4); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -return x_6; -} -} 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_AbstractMetavarContext(lean_object*); lean_object* initialize_Init_Lean_Trace(lean_object*); lean_object* initialize_Init_Lean_InductiveUtil(lean_object*); lean_object* initialize_Init_Lean_QuotUtil(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; @@ -11684,9 +35,6 @@ 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_AbstractMetavarContext(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); @@ -11696,72 +44,12 @@ lean_dec_ref(res); res = initialize_Init_Lean_QuotUtil(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l_Lean_TypeUtil_tracer___closed__1 = _init_l_Lean_TypeUtil_tracer___closed__1(); -lean_mark_persistent(l_Lean_TypeUtil_tracer___closed__1); -l_Lean_TypeUtil_tracer___closed__2 = _init_l_Lean_TypeUtil_tracer___closed__2(); -lean_mark_persistent(l_Lean_TypeUtil_tracer___closed__2); -l_Lean_TypeUtil_tracer___closed__3 = _init_l_Lean_TypeUtil_tracer___closed__3(); -lean_mark_persistent(l_Lean_TypeUtil_tracer___closed__3); -l_Lean_TypeUtil_tracer___closed__4 = _init_l_Lean_TypeUtil_tracer___closed__4(); -lean_mark_persistent(l_Lean_TypeUtil_tracer___closed__4); -l_panicWithPos___at___private_Init_Lean_TypeUtil_7__whnfEasyCases___main___spec__1___rarg___closed__1 = _init_l_panicWithPos___at___private_Init_Lean_TypeUtil_7__whnfEasyCases___main___spec__1___rarg___closed__1(); -lean_mark_persistent(l_panicWithPos___at___private_Init_Lean_TypeUtil_7__whnfEasyCases___main___spec__1___rarg___closed__1); -l_panicWithPos___at___private_Init_Lean_TypeUtil_7__whnfEasyCases___main___spec__1___rarg___closed__2 = _init_l_panicWithPos___at___private_Init_Lean_TypeUtil_7__whnfEasyCases___main___spec__1___rarg___closed__2(); -lean_mark_persistent(l_panicWithPos___at___private_Init_Lean_TypeUtil_7__whnfEasyCases___main___spec__1___rarg___closed__2); -l___private_Init_Lean_TypeUtil_17__isLevelDefEqAux___main___rarg___closed__1 = _init_l___private_Init_Lean_TypeUtil_17__isLevelDefEqAux___main___rarg___closed__1(); -lean_mark_persistent(l___private_Init_Lean_TypeUtil_17__isLevelDefEqAux___main___rarg___closed__1); -l___private_Init_Lean_TypeUtil_17__isLevelDefEqAux___main___rarg___closed__2 = _init_l___private_Init_Lean_TypeUtil_17__isLevelDefEqAux___main___rarg___closed__2(); -lean_mark_persistent(l___private_Init_Lean_TypeUtil_17__isLevelDefEqAux___main___rarg___closed__2); -l___private_Init_Lean_TypeUtil_17__isLevelDefEqAux___main___rarg___closed__3 = _init_l___private_Init_Lean_TypeUtil_17__isLevelDefEqAux___main___rarg___closed__3(); -lean_mark_persistent(l___private_Init_Lean_TypeUtil_17__isLevelDefEqAux___main___rarg___closed__3); -l___private_Init_Lean_TypeUtil_17__isLevelDefEqAux___main___rarg___closed__4 = _init_l___private_Init_Lean_TypeUtil_17__isLevelDefEqAux___main___rarg___closed__4(); -lean_mark_persistent(l___private_Init_Lean_TypeUtil_17__isLevelDefEqAux___main___rarg___closed__4); -l___private_Init_Lean_TypeUtil_17__isLevelDefEqAux___main___rarg___closed__5 = _init_l___private_Init_Lean_TypeUtil_17__isLevelDefEqAux___main___rarg___closed__5(); -lean_mark_persistent(l___private_Init_Lean_TypeUtil_17__isLevelDefEqAux___main___rarg___closed__5); -l___private_Init_Lean_TypeUtil_17__isLevelDefEqAux___main___rarg___closed__6 = _init_l___private_Init_Lean_TypeUtil_17__isLevelDefEqAux___main___rarg___closed__6(); -lean_mark_persistent(l___private_Init_Lean_TypeUtil_17__isLevelDefEqAux___main___rarg___closed__6); -l___private_Init_Lean_TypeUtil_17__isLevelDefEqAux___main___rarg___closed__7 = _init_l___private_Init_Lean_TypeUtil_17__isLevelDefEqAux___main___rarg___closed__7(); -lean_mark_persistent(l___private_Init_Lean_TypeUtil_17__isLevelDefEqAux___main___rarg___closed__7); -l___private_Init_Lean_TypeUtil_17__isLevelDefEqAux___main___rarg___closed__8 = _init_l___private_Init_Lean_TypeUtil_17__isLevelDefEqAux___main___rarg___closed__8(); -lean_mark_persistent(l___private_Init_Lean_TypeUtil_17__isLevelDefEqAux___main___rarg___closed__8); -l___private_Init_Lean_TypeUtil_20__processPostponedStep___rarg___closed__1 = _init_l___private_Init_Lean_TypeUtil_20__processPostponedStep___rarg___closed__1(); -lean_mark_persistent(l___private_Init_Lean_TypeUtil_20__processPostponedStep___rarg___closed__1); -l___private_Init_Lean_TypeUtil_20__processPostponedStep___rarg___closed__2 = _init_l___private_Init_Lean_TypeUtil_20__processPostponedStep___rarg___closed__2(); -lean_mark_persistent(l___private_Init_Lean_TypeUtil_20__processPostponedStep___rarg___closed__2); -l___private_Init_Lean_TypeUtil_20__processPostponedStep___rarg___closed__3 = _init_l___private_Init_Lean_TypeUtil_20__processPostponedStep___rarg___closed__3(); -lean_mark_persistent(l___private_Init_Lean_TypeUtil_20__processPostponedStep___rarg___closed__3); -l___private_Init_Lean_TypeUtil_21__processPostponedAux___main___rarg___closed__1 = _init_l___private_Init_Lean_TypeUtil_21__processPostponedAux___main___rarg___closed__1(); -lean_mark_persistent(l___private_Init_Lean_TypeUtil_21__processPostponedAux___main___rarg___closed__1); -l___private_Init_Lean_TypeUtil_21__processPostponedAux___main___rarg___closed__2 = _init_l___private_Init_Lean_TypeUtil_21__processPostponedAux___main___rarg___closed__2(); -lean_mark_persistent(l___private_Init_Lean_TypeUtil_21__processPostponedAux___main___rarg___closed__2); -l___private_Init_Lean_TypeUtil_21__processPostponedAux___main___rarg___closed__3 = _init_l___private_Init_Lean_TypeUtil_21__processPostponedAux___main___rarg___closed__3(); -lean_mark_persistent(l___private_Init_Lean_TypeUtil_21__processPostponedAux___main___rarg___closed__3); -l___private_Init_Lean_TypeUtil_21__processPostponedAux___main___rarg___closed__4 = _init_l___private_Init_Lean_TypeUtil_21__processPostponedAux___main___rarg___closed__4(); -lean_mark_persistent(l___private_Init_Lean_TypeUtil_21__processPostponedAux___main___rarg___closed__4); -l___private_Init_Lean_TypeUtil_21__processPostponedAux___main___rarg___closed__5 = _init_l___private_Init_Lean_TypeUtil_21__processPostponedAux___main___rarg___closed__5(); -lean_mark_persistent(l___private_Init_Lean_TypeUtil_21__processPostponedAux___main___rarg___closed__5); -l___private_Init_Lean_TypeUtil_21__processPostponedAux___main___rarg___closed__6 = _init_l___private_Init_Lean_TypeUtil_21__processPostponedAux___main___rarg___closed__6(); -lean_mark_persistent(l___private_Init_Lean_TypeUtil_21__processPostponedAux___main___rarg___closed__6); -l___private_Init_Lean_TypeUtil_21__processPostponedAux___main___rarg___closed__7 = _init_l___private_Init_Lean_TypeUtil_21__processPostponedAux___main___rarg___closed__7(); -lean_mark_persistent(l___private_Init_Lean_TypeUtil_21__processPostponedAux___main___rarg___closed__7); -l___private_Init_Lean_TypeUtil_21__processPostponedAux___main___rarg___closed__8 = _init_l___private_Init_Lean_TypeUtil_21__processPostponedAux___main___rarg___closed__8(); -lean_mark_persistent(l___private_Init_Lean_TypeUtil_21__processPostponedAux___main___rarg___closed__8); -l___private_Init_Lean_TypeUtil_21__processPostponedAux___main___rarg___closed__9 = _init_l___private_Init_Lean_TypeUtil_21__processPostponedAux___main___rarg___closed__9(); -lean_mark_persistent(l___private_Init_Lean_TypeUtil_21__processPostponedAux___main___rarg___closed__9); -l___private_Init_Lean_TypeUtil_22__processPostponed___rarg___closed__1 = _init_l___private_Init_Lean_TypeUtil_22__processPostponed___rarg___closed__1(); -lean_mark_persistent(l___private_Init_Lean_TypeUtil_22__processPostponed___rarg___closed__1); -l___private_Init_Lean_TypeUtil_22__processPostponed___rarg___closed__2 = _init_l___private_Init_Lean_TypeUtil_22__processPostponed___rarg___closed__2(); -lean_mark_persistent(l___private_Init_Lean_TypeUtil_22__processPostponed___rarg___closed__2); -l___private_Init_Lean_TypeUtil_22__processPostponed___rarg___closed__3 = _init_l___private_Init_Lean_TypeUtil_22__processPostponed___rarg___closed__3(); -lean_mark_persistent(l___private_Init_Lean_TypeUtil_22__processPostponed___rarg___closed__3); -l_Lean_typeContextNoCacheIsAbstractTCCache___closed__1 = _init_l_Lean_typeContextNoCacheIsAbstractTCCache___closed__1(); -lean_mark_persistent(l_Lean_typeContextNoCacheIsAbstractTCCache___closed__1); -l_Lean_typeContextNoCacheIsAbstractTCCache___closed__2 = _init_l_Lean_typeContextNoCacheIsAbstractTCCache___closed__2(); -lean_mark_persistent(l_Lean_typeContextNoCacheIsAbstractTCCache___closed__2); -l_Lean_typeContextNoCacheIsAbstractTCCache___closed__3 = _init_l_Lean_typeContextNoCacheIsAbstractTCCache___closed__3(); -lean_mark_persistent(l_Lean_typeContextNoCacheIsAbstractTCCache___closed__3); -l_Lean_typeContextNoCacheIsAbstractTCCache = _init_l_Lean_typeContextNoCacheIsAbstractTCCache(); -lean_mark_persistent(l_Lean_typeContextNoCacheIsAbstractTCCache); +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 diff --git a/src/stage0/Init/System/IO.c b/src/stage0/Init/System/IO.c index ac318785bc..ca61db1476 100644 --- a/src/stage0/Init/System/IO.c +++ b/src/stage0/Init/System/IO.c @@ -21,7 +21,6 @@ lean_object* l_IO_Ref_set___boxed(lean_object*, lean_object*); lean_object* l_IO_Fs_handle_isEof___at_IO_Fs_handle_readToEnd___spec__1___boxed(lean_object*, lean_object*); lean_object* lean_io_error_to_string(lean_object*); lean_object* l_IO_Ref_get___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_EState_Monad(lean_object*, lean_object*); lean_object* l_IO_Ref_swap___boxed(lean_object*, lean_object*); lean_object* lean_io_realpath(lean_object*, lean_object*); lean_object* l_IO_HasEval(lean_object*); @@ -120,7 +119,7 @@ lean_object* l_IO_Prim_handle_close___boxed(lean_object*, lean_object*); lean_object* l_IO_Prim_handle_flush___boxed(lean_object*, lean_object*); lean_object* l_IO_readTextFile(lean_object*, lean_object*); lean_object* l_IO_println___boxed(lean_object*); -lean_object* l_EState_MonadExcept___rarg(lean_object*); +lean_object* l_EStateM_Monad(lean_object*, lean_object*); lean_object* l_IO_Fs_handle_flush___boxed(lean_object*, lean_object*); lean_object* l_IO_appPath___rarg___closed__1; lean_object* lean_io_prim_handle_close(lean_object*, lean_object*); @@ -136,7 +135,6 @@ lean_object* l_IO_Fs_handle_mk___boxed(lean_object*, lean_object*); lean_object* l_IO_mkRef___boxed(lean_object*, lean_object*); lean_object* l___private_Init_System_IO_1__putStr___boxed(lean_object*, lean_object*); lean_object* l_IO_Fs_readFile___boxed(lean_object*); -lean_object* l_EState_nonBacktrackable(lean_object*); lean_object* l_IO_Prim_fileExists___boxed(lean_object*, lean_object*); lean_object* l_IO_Ref_get___boxed(lean_object*, lean_object*); lean_object* l_IO_Fs_handle_getLine___at_IO_Fs_handle_readToEnd___spec__2(lean_object*, lean_object*); @@ -155,6 +153,7 @@ lean_object* l_IO_Fs_handle_getLine___rarg(lean_object*, lean_object*); lean_object* l_IO_Prim_handle_getLine___boxed(lean_object*, lean_object*); lean_object* l_IO_lazyPure(lean_object*); lean_object* l_IO_Prim_Ref_set___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_EStateM_nonBacktrackable(lean_object*); lean_object* l_IO_initializing___boxed(lean_object*); lean_object* l_IO_appDir___rarg___lambda__1(lean_object*, lean_object*); lean_object* l_IO_Fs_handle_close___boxed(lean_object*, lean_object*); @@ -163,6 +162,7 @@ lean_object* l_IOUnit_HasEval(lean_object*, lean_object*); lean_object* l_EIO_Monad___closed__1; lean_object* l_IO_Fs_handle_readToEnd___boxed(lean_object*, lean_object*); lean_object* l_IO_Prim_Ref_reset___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_EStateM_Inhabited___rarg(lean_object*, lean_object*); lean_object* l_IO_Fs_handle_isEof(lean_object*, lean_object*); lean_object* l_IO_getEnv(lean_object*, lean_object*); lean_object* l_IO_Prim_iterate___rarg(lean_object*, lean_object*, lean_object*); @@ -173,6 +173,7 @@ lean_object* l_IO_Fs_handle_readToEnd___rarg(lean_object*, lean_object*); lean_object* l_HasRepr_HasEval(lean_object*); lean_object* l_timeit___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_IO_isDir___rarg(lean_object*, lean_object*); +lean_object* l_EStateM_MonadExcept___rarg(lean_object*); lean_object* l_IO_Fs_handle_isEof___boxed(lean_object*, lean_object*); lean_object* l_IO_Prim_iterate___main(lean_object*, lean_object*); lean_object* l_unsafeIO___rarg(lean_object*); @@ -192,14 +193,13 @@ lean_object* l_IO_println___rarg___closed__1; lean_object* l_IO_Prim_mkRef___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_IO_lazyPure___rarg(lean_object*, lean_object*); lean_object* l_IO_Fs_readFile(lean_object*); -lean_object* l_EState_Inhabited___rarg(lean_object*, lean_object*); lean_object* lean_io_ref_reset(lean_object*, lean_object*); extern lean_object* l_String_splitAux___main___closed__1; lean_object* _init_l_EIO_Monad___closed__1() { _start: { lean_object* x_1; -x_1 = l_EState_Monad(lean_box(0), lean_box(0)); +x_1 = l_EStateM_Monad(lean_box(0), lean_box(0)); return x_1; } } @@ -215,7 +215,7 @@ lean_object* _init_l_EIO_MonadExcept___closed__1() { _start: { lean_object* x_1; -x_1 = l_EState_nonBacktrackable(lean_box(0)); +x_1 = l_EStateM_nonBacktrackable(lean_box(0)); return x_1; } } @@ -224,7 +224,7 @@ _start: { lean_object* x_1; lean_object* x_2; x_1 = l_EIO_MonadExcept___closed__1; -x_2 = l_EState_MonadExcept___rarg(x_1); +x_2 = l_EStateM_MonadExcept___rarg(x_1); return x_2; } } @@ -285,7 +285,7 @@ lean_object* l_EIO_Inhabited___rarg(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_EState_Inhabited___rarg), 2, 1); +x_2 = lean_alloc_closure((void*)(l_EStateM_Inhabited___rarg), 2, 1); lean_closure_set(x_2, 0, x_1); return x_2; }