diff --git a/stage0/src/Init/Lean/Elab/Tactic/Basic.lean b/stage0/src/Init/Lean/Elab/Tactic/Basic.lean index 73cc708c68..b77b2f8680 100644 --- a/stage0/src/Init/Lean/Elab/Tactic/Basic.lean +++ b/stage0/src/Init/Lean/Elab/Tactic/Basic.lean @@ -329,6 +329,21 @@ fun stx => match_syntax stx with pure [mvarId] | _ => throwUnsupportedSyntax +@[builtinTactic «revert»] def evalRevert : Tactic := +fun stx => match_syntax stx with + | `(tactic| revert $hs*) => do + (g, gs) ← getMainGoal stx; + withMVarContext g $ do + fvarIds ← hs.mapM $ fun h => do { + fvar? ← liftTermElabM $ Term.isLocalTermId? h true; + match fvar? with + | some fvar => pure fvar.fvarId! + | none => throwError h ("unknown variable '" ++ toString h.getId ++ "'") + }; + (_, g) ← liftMetaM stx $ Meta.revert g fvarIds; + setGoals (g :: gs) + | _ => throwUnsupportedSyntax + @[builtinTactic paren] def evalParen : Tactic := fun stx => evalTactic (stx.getArg 1) diff --git a/stage0/src/Init/Lean/Elab/Term.lean b/stage0/src/Init/Lean/Elab/Term.lean index de1ccd3c54..5baff5478e 100644 --- a/stage0/src/Init/Lean/Elab/Term.lean +++ b/stage0/src/Init/Lean/Elab/Term.lean @@ -913,8 +913,8 @@ lctx ← getLCtx; pure $ resolveLocalNameAux lctx n [] /- Return true iff `stx` is a `Term.id`, and it is local variable. -/ -def isLocalTermId? (stx : Syntax) : TermElabM (Option Expr) := -match stx.isTermId? with +def isLocalTermId? (stx : Syntax) (relaxed : Bool := false) : TermElabM (Option Expr) := +match stx.isTermId? relaxed with | some (Syntax.ident _ _ val _, _) => do r? ← resolveLocalName val; match r? with diff --git a/stage0/src/Init/Lean/Message.lean b/stage0/src/Init/Lean/Message.lean index 7df6f9502e..eb5faea33f 100644 --- a/stage0/src/Init/Lean/Message.lean +++ b/stage0/src/Init/Lean/Message.lean @@ -64,7 +64,7 @@ partial def formatAux : Option MessageDataContext → MessageData → Format | none, ofExpr e => format (toString e) | some ctx, ofExpr e => ppExpr ctx.env ctx.mctx ctx.lctx ctx.opts e | none, ofGoal mvarId => "goal " ++ format (mkMVar mvarId) -| some ctx, ofGoal mvarId => ppGoal ctx.env ctx.mctx ctx.lctx ctx.opts mvarId +| some ctx, ofGoal mvarId => ppGoal ctx.env ctx.mctx ctx.opts mvarId | _, withContext ctx d => formatAux (some ctx) d | ctx, tagged cls d => Format.sbracket (format cls) ++ " " ++ formatAux ctx d | ctx, nest n d => Format.nest n (formatAux ctx d) diff --git a/stage0/src/Init/Lean/Meta/AppBuilder.lean b/stage0/src/Init/Lean/Meta/AppBuilder.lean index dbe8b2dd30..11bf749986 100644 --- a/stage0/src/Init/Lean/Meta/AppBuilder.lean +++ b/stage0/src/Init/Lean/Meta/AppBuilder.lean @@ -168,5 +168,33 @@ traceCtx `Meta.appBuilder $ withNewMCtxDepth $ do let fType := cinfo.instantiateTypeLevelParams us; mkAppMAux f xs 0 #[] 0 #[] fType +def mkEqNDRec (motive h1 h2 : Expr) : MetaM Expr := +if h2.isAppOf `Eq.refl then pure h1 +else do + h2Type ← infer h2; + match h2Type.eq? with + | none => throwEx $ Exception.appBuilder `Eq.ndrec "equality proof expected" #[h2] + | some (α, a, b) => do + u2 ← getLevel α; + motiveType ← infer motive; + match motiveType with + | Expr.forallE _ _ (Expr.sort u1 _) _ => + pure $ mkAppN (mkConst `Eq.ndrec [u1, u2]) #[α, a, motive, h1, b, h2] + | _ => throwEx $ Exception.appBuilder `Eq.ndrec "invalid motive" #[motive] + +def mkEqRec (motive h1 h2 : Expr) : MetaM Expr := +if h2.isAppOf `Eq.refl then pure h1 +else do + h2Type ← infer h2; + match h2Type.eq? with + | none => throwEx $ Exception.appBuilder `Eq.rec "equality proof expected" #[h2] + | some (α, a, b) => do + u2 ← getLevel α; + motiveType ← infer motive; + match motiveType with + | Expr.forallE _ _ (Expr.forallE _ _ (Expr.sort u1 _) _) _ => + pure $ mkAppN (mkConst `Eq.rec [u1, u2]) #[α, a, motive, h1, b, h2] + | _ => throwEx $ Exception.appBuilder `Eq.rec "invalid motive" #[motive] + end Meta end Lean diff --git a/stage0/src/Init/Lean/Meta/Basic.lean b/stage0/src/Init/Lean/Meta/Basic.lean index 9100c24dcc..984627f591 100644 --- a/stage0/src/Init/Lean/Meta/Basic.lean +++ b/stage0/src/Init/Lean/Meta/Basic.lean @@ -294,6 +294,9 @@ match mctx.findDecl? mvarId with | some d => pure d | none => throwEx $ Exception.unknownExprMVar mvarId +def setMVarKind (mvarId : MVarId) (kind : MetavarKind) : MetaM Unit := +modify $ fun s => { mctx := s.mctx.setMVarKind mvarId kind, .. s} + def isReadOnlyExprMVar (mvarId : MVarId) : MetaM Bool := do mvarDecl ← getMVarDecl mvarId; mctx ← getMCtx; @@ -414,8 +417,8 @@ if xs.isEmpty then pure e else liftMkBindingM $ MetavarContext.mkLambda xs e def mkForallUsedOnly (xs : Array Expr) (e : Expr) : MetaM (Expr × Nat) := if xs.isEmpty then pure (e, 0) else liftMkBindingM $ MetavarContext.mkForallUsedOnly xs e -def elimMVarDeps (xs : Array Expr) (e : Expr) : MetaM Expr := -if xs.isEmpty then pure e else liftMkBindingM $ MetavarContext.elimMVarDeps xs e +def elimMVarDeps (xs : Array Expr) (e : Expr) (preserveOrder : Bool := false) : MetaM Expr := +if xs.isEmpty then pure e else liftMkBindingM $ MetavarContext.elimMVarDeps xs e preserveOrder /-- Save cache, execute `x`, restore cache -/ @[inline] def savingCache {α} (x : MetaM α) : MetaM α := do @@ -796,16 +799,6 @@ mctx' ← getMCtx; modify $ fun s => { mctx := mctx, .. s }; finally x (modify $ fun s => { mctx := mctx', .. s }) -instance MetaHasEval {α} [MetaHasEval α] : MetaHasEval (MetaM α) := -⟨fun env opts x => do - match x { config := { opts := opts }, currRecDepth := 0, maxRecDepth := getMaxRecDepth opts } { env := env } with - | EStateM.Result.ok a s => do - s.traceState.traces.forM $ fun m => IO.println $ format m; - MetaHasEval.eval s.env opts a - | EStateM.Result.error err s => do - s.traceState.traces.forM $ fun m => IO.println $ format m; - throw (IO.userError (toString err))⟩ - @[init] private def regTraceClasses : IO Unit := registerTraceClass `Meta diff --git a/stage0/src/Init/Lean/Meta/Message.lean b/stage0/src/Init/Lean/Meta/Message.lean index 436f87aef9..b908e67998 100644 --- a/stage0/src/Init/Lean/Meta/Message.lean +++ b/stage0/src/Init/Lean/Meta/Message.lean @@ -84,6 +84,16 @@ def toMessageData : Exception → MessageData end Exception +instance MetaHasEval {α} [MetaHasEval α] : MetaHasEval (MetaM α) := +⟨fun env opts x => do + match x { config := { opts := opts }, currRecDepth := 0, maxRecDepth := getMaxRecDepth opts } { env := env } with + | EStateM.Result.ok a s => do + s.traceState.traces.forM $ fun m => IO.println $ format m; + MetaHasEval.eval s.env opts a + | EStateM.Result.error err s => do + s.traceState.traces.forM $ fun m => IO.println $ format m; + throw (IO.userError (toString (format err.toMessageData)))⟩ + end Meta namespace KernelException diff --git a/stage0/src/Init/Lean/Meta/Tactic.lean b/stage0/src/Init/Lean/Meta/Tactic.lean index af6c31eb8b..7c971ff0eb 100644 --- a/stage0/src/Init/Lean/Meta/Tactic.lean +++ b/stage0/src/Init/Lean/Meta/Tactic.lean @@ -8,3 +8,4 @@ import Init.Lean.Meta.Tactic.Intro import Init.Lean.Meta.Tactic.Assumption import Init.Lean.Meta.Tactic.Apply import Init.Lean.Meta.Tactic.Revert +import Init.Lean.Meta.Tactic.Clear diff --git a/stage0/src/Init/Lean/Meta/Tactic/Clear.lean b/stage0/src/Init/Lean/Meta/Tactic/Clear.lean new file mode 100644 index 0000000000..9e2c9da06b --- /dev/null +++ b/stage0/src/Init/Lean/Meta/Tactic/Clear.lean @@ -0,0 +1,37 @@ +/- +Copyright (c) 2020 Microsoft Corporation. All rights reserved. +Released under Apache 2.0 license as described in the file LICENSE. +Authors: Leonardo de Moura +-/ +prelude +import Init.Lean.Meta.Tactic.Util + +namespace Lean +namespace Meta + +def clear (mvarId : MVarId) (fvarId : FVarId) : MetaM MVarId := +withMVarContext mvarId $ do + checkNotAssigned mvarId `clear; + lctx ← getLCtx; + unless (lctx.contains fvarId) $ + throwTacticEx `clear mvarId ("unknown hypothesis '" ++ mkFVar fvarId ++ "'"); + tag ← getMVarTag mvarId; + mctx ← getMCtx; + lctx.forM $ fun localDecl => + unless (localDecl.fvarId == fvarId) $ + when (mctx.localDeclDependsOn (fun fvarId' => fvarId' == fvarId) localDecl) $ + throwTacticEx `clear mvarId ("hypothesis '" ++ localDecl.value ++ "' depends on '" ++ mkFVar fvarId ++ "'"); + mvarDecl ← getMVarDecl mvarId; + when (mctx.exprDependsOn (fun fvarId' => fvarId' == fvarId) mvarDecl.type) $ + throwTacticEx `clear mvarId ("taget depends on '" ++ mkFVar fvarId ++ "'"); + let lctx := lctx.erase fvarId; + localInsts ← getLocalInstances; + let localInsts := match localInsts.findIdx? $ fun localInst => localInst.fvar.fvarId! == fvarId with + | none => localInsts + | some idx => localInsts.eraseIdx idx; + newMVar ← mkFreshExprMVarAt lctx localInsts mvarDecl.type tag MetavarKind.syntheticOpaque; + modify $ fun s => { mctx := s.mctx.assignExpr mvarId newMVar, .. s }; + pure newMVar.mvarId! + +end Meta +end Lean diff --git a/stage0/src/Init/Lean/Meta/Tactic/Intro.lean b/stage0/src/Init/Lean/Meta/Tactic/Intro.lean index 08233df1bf..5dcb20729e 100644 --- a/stage0/src/Init/Lean/Meta/Tactic/Intro.lean +++ b/stage0/src/Init/Lean/Meta/Tactic/Intro.lean @@ -49,27 +49,28 @@ def introNCoreAux {σ} (mvarId : MVarId) (mkName : LocalContext → Name → σ else throwTacticEx `introN mvarId "insufficient number of binders" -@[specialize] def introNCore {σ} (mvarId : MVarId) (n : Nat) (mkName : LocalContext → Name → σ → Name × σ) (s : σ) : MetaM (Array Expr × MVarId) := +@[specialize] def introNCore {σ} (mvarId : MVarId) (n : Nat) (mkName : LocalContext → Name → σ → Name × σ) (s : σ) : MetaM (Array FVarId × MVarId) := withMVarContext mvarId $ do checkNotAssigned mvarId `introN; mvarType ← getMVarType mvarId; lctx ← getLCtx; - introNCoreAux mvarId mkName n lctx #[] 0 s mvarType + (fvars, mvarId) ← introNCoreAux mvarId mkName n lctx #[] 0 s mvarType; + pure (fvars.map Expr.fvarId!, mvarId) def mkAuxName (lctx : LocalContext) (defaultName : Name) : List Name → Name × List Name | [] => (lctx.getUnusedName defaultName, []) | n :: rest => (if n == "_" then lctx.getUnusedName defaultName else n, rest) -def introN (mvarId : MVarId) (n : Nat) (givenNames : List Name := []) : MetaM (Array Expr × MVarId) := +def introN (mvarId : MVarId) (n : Nat) (givenNames : List Name := []) : MetaM (Array FVarId × MVarId) := introNCore mvarId n mkAuxName givenNames -def intro (mvarId : MVarId) (name : Name) : MetaM (Expr × MVarId) := do -(fvars, mvarId) ← introN mvarId 1 [name]; -pure (fvars.get! 0, mvarId) +def intro (mvarId : MVarId) (name : Name) : MetaM (FVarId × MVarId) := do +(fvarIds, mvarId) ← introN mvarId 1 [name]; +pure (fvarIds.get! 0, mvarId) -def intro1 (mvarId : MVarId) : MetaM (Expr × MVarId) := do -(fvars, mvarId) ← introN mvarId 1 []; -pure (fvars.get! 0, mvarId) +def intro1 (mvarId : MVarId) : MetaM (FVarId × MVarId) := do +(fvarIds, mvarId) ← introN mvarId 1 []; +pure (fvarIds.get! 0, mvarId) end Meta end Lean diff --git a/stage0/src/Init/Lean/Meta/Tactic/Revert.lean b/stage0/src/Init/Lean/Meta/Tactic/Revert.lean index a64fac75e4..bc221af7e5 100644 --- a/stage0/src/Init/Lean/Meta/Tactic/Revert.lean +++ b/stage0/src/Init/Lean/Meta/Tactic/Revert.lean @@ -9,11 +9,13 @@ import Init.Lean.Meta.Tactic.Util namespace Lean namespace Meta -def revert (mvarId : MVarId) (fvars : Array FVarId) : MetaM (Array FVarId × MVarId) := +def revert (mvarId : MVarId) (fvars : Array FVarId) (preserveOrder : Bool := false) : MetaM (Array FVarId × MVarId) := if fvars.isEmpty then pure (fvars, mvarId) else withMVarContext mvarId $ do checkNotAssigned mvarId `revert; - e ← elimMVarDeps (fvars.map mkFVar) (mkMVar mvarId); + -- Set metavariable kind to natural to make sure `elimMVarDeps` will assign it. + setMVarKind mvarId MetavarKind.natural; + e ← finally (elimMVarDeps (fvars.map mkFVar) (mkMVar mvarId) preserveOrder) (setMVarKind mvarId MetavarKind.syntheticOpaque); pure $ e.withApp $ fun mvar args => (args.map Expr.fvarId!, mvar.mvarId!) end Meta diff --git a/stage0/src/Init/Lean/Meta/Tactic/Util.lean b/stage0/src/Init/Lean/Meta/Tactic/Util.lean index cd8c55378e..cb8883fe83 100644 --- a/stage0/src/Init/Lean/Meta/Tactic/Util.lean +++ b/stage0/src/Init/Lean/Meta/Tactic/Util.lean @@ -30,9 +30,8 @@ pure mvarDecl.type def ppGoal (mvarId : MVarId) : MetaM Format := do env ← getEnv; mctx ← getMCtx; -lctx ← getLCtx; opts ← getOptions; -pure $ ppGoal env mctx lctx opts mvarId +pure $ ppGoal env mctx opts mvarId @[init] private def regTraceClasses : IO Unit := registerTraceClass `Meta.Tactic diff --git a/stage0/src/Init/Lean/MetavarContext.lean b/stage0/src/Init/Lean/MetavarContext.lean index e05698c0ff..6148e5d464 100644 --- a/stage0/src/Init/Lean/MetavarContext.lean +++ b/stage0/src/Init/Lean/MetavarContext.lean @@ -323,6 +323,10 @@ match mctx.decls.find? mvarId with | some decl => decl | none => panic! "unknown metavariable" +def setMVarKind (mctx : MetavarContext) (mvarId : MVarId) (kind : MetavarKind) : MetavarContext := +let decl := mctx.getDecl mvarId; +{ decls := mctx.decls.insert mvarId { kind := kind, .. decl }, .. mctx } + def findLevelDepth? (mctx : MetavarContext) (mvarId : MVarId) : Option Nat := mctx.lDepth.find? mvarId @@ -654,7 +658,10 @@ structure State := (ngen : NameGenerator) (cache : HashMap Expr Expr := {}) -- -abbrev M := EStateM Exception State +abbrev MCore := EStateM Exception State +abbrev M := ReaderT Bool (EStateM Exception State) + +def preserveOrder : M Bool := read instance : MonadHashMapCacheAdapter Expr Expr M := { getCache := do s ← get; pure s.cache, @@ -674,13 +681,30 @@ xs.foldlFrom in `lctx` that may depend on `toRevert`. Remark: the result is sorted by `LocalDecl` indices. -/ -private def collectDeps (mctx : MetavarContext) (lctx : LocalContext) (toRevert : Array Expr) : Except Exception (Array Expr) := +private def collectDeps (mctx : MetavarContext) (lctx : LocalContext) (toRevert : Array Expr) (preserveOrder : Bool) : Except Exception (Array Expr) := if toRevert.size == 0 then pure toRevert -else - let minDecl := getLocalDeclWithSmallestIdx lctx toRevert; +else do + when preserveOrder $ do { + -- Make sure none of `toRevert` is an AuxDecl + -- Make sure toRevert[j] does not depend on toRevert[i] for j > i + toRevert.size.forM $ fun i => do + let fvar := toRevert.get! i; + let decl := lctx.getFVar! fvar; + when decl.binderInfo.isAuxDecl $ + throw (Exception.revertFailure mctx lctx toRevert decl); + i.forM $ fun j => + let prevFVar := toRevert.get! j; + let prevDecl := lctx.getFVar! prevFVar; + when (localDeclDependsOn mctx (fun fvarId => fvarId == fvar.fvarId!) prevDecl) $ + throw (Exception.revertFailure mctx lctx toRevert prevDecl) + }; + let newToRevert := if preserveOrder then toRevert else Array.mkEmpty toRevert.size; + let firstDeclToVisit := if preserveOrder then lctx.getFVar! toRevert.back else getLocalDeclWithSmallestIdx lctx toRevert; + let skipFirst := preserveOrder; lctx.foldlFromM - (fun newToRevert decl => - if toRevert.any (fun x => decl.fvarId == x.fvarId!) then + (fun (newToRevert : Array Expr) decl => + if skipFirst && decl.index == firstDeclToVisit.index then pure newToRevert + else if toRevert.any (fun x => decl.fvarId == x.fvarId!) then pure (newToRevert.push decl.toExpr) else if localDeclDependsOn mctx (fun fvarId => newToRevert.any $ fun x => x.fvarId! == fvarId) decl then if decl.binderInfo.isAuxDecl then @@ -689,8 +713,8 @@ else pure (newToRevert.push decl.toExpr) else pure newToRevert) - (Array.mkEmpty toRevert.size) - minDecl + newToRevert + firstDeclToVisit /-- Create a new `LocalContext` by removing the free variables in `toRevert` from `lctx`. We use this function when we create auxiliary metavariables at `elimMVarDepsAux`. -/ @@ -806,7 +830,8 @@ private partial def elimMVarDepsApp (elimMVarDepsAux : Expr → M Expr) (xs : Ar -/ let continue (nestedFVars : Array Expr) : M Expr := do { args ← args.mapM (visit elimMVarDepsAux); - match collectDeps mctx mvarLCtx toRevert with + preserve ← preserveOrder; + match collectDeps mctx mvarLCtx toRevert preserve with | Except.error ex => throw ex | Except.ok toRevert => do let newMVarLCtx := reduceLocalContext mvarLCtx toRevert; @@ -888,13 +913,13 @@ xs.size.foldRevM end MkBinding -abbrev MkBindingM := ReaderT LocalContext MkBinding.M +abbrev MkBindingM := ReaderT LocalContext MkBinding.MCore -def elimMVarDeps (xs : Array Expr) (e : Expr) : MkBindingM Expr := -fun _ => MkBinding.elimMVarDeps xs e +def elimMVarDeps (xs : Array Expr) (e : Expr) (preserveOrder : Bool) : MkBindingM Expr := +fun _ => MkBinding.elimMVarDeps xs e preserveOrder def mkBinding (isLambda : Bool) (xs : Array Expr) (e : Expr) (usedOnly : Bool := false) : MkBindingM (Expr × Nat) := -fun lctx => MkBinding.mkBinding isLambda lctx xs e usedOnly +fun lctx => MkBinding.mkBinding isLambda lctx xs e usedOnly false @[inline] def mkLambda (xs : Array Expr) (e : Expr) : MkBindingM Expr := do (e, _) ← mkBinding true xs e; diff --git a/stage0/src/Init/Lean/Parser/Tactic.lean b/stage0/src/Init/Lean/Parser/Tactic.lean index 3cf8b773d3..74a6b35c2e 100644 --- a/stage0/src/Init/Lean/Parser/Tactic.lean +++ b/stage0/src/Init/Lean/Parser/Tactic.lean @@ -43,6 +43,8 @@ def nonEmptySeq : Parser := node `Lean.Parser.Tactic.seq $ sepBy1 tacticParser " @[builtinTacticParser] def «intro» := parser! nonReservedSymbol "intro " >> optional ident' @[builtinTacticParser] def «intros» := parser! nonReservedSymbol "intros " >> many ident' @[builtinTacticParser] def «revert» := parser! nonReservedSymbol "revert " >> many1 ident +@[builtinTacticParser] def «clear» := parser! nonReservedSymbol "clear " >> many1 ident +@[builtinTacticParser] def «subst» := parser! nonReservedSymbol "subst " >> many1 ident @[builtinTacticParser] def «assumption» := parser! nonReservedSymbol "assumption" @[builtinTacticParser] def «apply» := parser! nonReservedSymbol "apply " >> termParser @[builtinTacticParser] def «exact» := parser! nonReservedSymbol "exact " >> termParser diff --git a/stage0/src/Init/Lean/Util/PPGoal.lean b/stage0/src/Init/Lean/Util/PPGoal.lean index bd1d058966..1207f044b1 100644 --- a/stage0/src/Init/Lean/Util/PPGoal.lean +++ b/stage0/src/Init/Lean/Util/PPGoal.lean @@ -8,11 +8,12 @@ import Init.Lean.Util.PPExt namespace Lean -def ppGoal (env : Environment) (mctx : MetavarContext) (lctx : LocalContext) (opts : Options) (mvarId : MVarId) : Format := +def ppGoal (env : Environment) (mctx : MetavarContext) (opts : Options) (mvarId : MVarId) : Format := match mctx.findDecl? mvarId with | none => "unknown goal" | some mvarDecl => let indent := 2; -- Use option + let lctx := mvarDecl.lctx; let pp (e : Expr) : Format := ppExpr env mctx lctx opts e; let instMVars (e : Expr) : Expr := (mctx.instantiateMVars e).1; let addLine (fmt : Format) : Format := if fmt.isNil then fmt else fmt ++ Format.line; @@ -21,7 +22,7 @@ match mctx.findDecl? mvarId with match ids, type? with | [], _ => fmt | _, none => fmt - | _, some type => fmt ++ (Format.joinSep ids " " ++ " :" ++ Format.nest indent (Format.line ++ pp type)).group; + | _, some type => fmt ++ (Format.joinSep ids.reverse " " ++ " :" ++ Format.nest indent (Format.line ++ pp type)).group; let (varNames, type?, fmt) := mvarDecl.lctx.foldl (fun (acc : List Name × Option Expr × Format) (localDecl : LocalDecl) => let (varNames, prevType?, fmt) := acc; diff --git a/stage0/stdlib/CMakeLists.txt b/stage0/stdlib/CMakeLists.txt index 8f7d035b0c..d3d17c0c2c 100644 --- a/stage0/stdlib/CMakeLists.txt +++ b/stage0/stdlib/CMakeLists.txt @@ -1 +1 @@ -add_library (stage0 OBJECT Init/./Coe.c Init/./Control.c Init/./Control/Alternative.c Init/./Control/Applicative.c Init/./Control/Conditional.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.c Init/./Data/Array.c Init/./Data/Array/Basic.c Init/./Data/Array/BinSearch.c Init/./Data/Array/QSort.c Init/./Data/AssocList.c Init/./Data/Basic.c Init/./Data/BinomialHeap.c Init/./Data/BinomialHeap/Basic.c Init/./Data/ByteArray.c Init/./Data/ByteArray/Basic.c Init/./Data/Char.c Init/./Data/Char/Basic.c Init/./Data/DList.c Init/./Data/Fin.c Init/./Data/Fin/Basic.c Init/./Data/HashMap.c Init/./Data/HashMap/Basic.c Init/./Data/HashSet.c Init/./Data/Hashable.c Init/./Data/Int.c Init/./Data/Int/Basic.c Init/./Data/List.c Init/./Data/List/Basic.c Init/./Data/List/BasicAux.c Init/./Data/List/Control.c Init/./Data/List/Instances.c Init/./Data/Nat.c Init/./Data/Nat/Basic.c Init/./Data/Nat/Bitwise.c Init/./Data/Nat/Control.c Init/./Data/Nat/Div.c Init/./Data/Option.c Init/./Data/Option/Basic.c Init/./Data/Option/BasicAux.c Init/./Data/Option/Instances.c Init/./Data/PersistentArray.c Init/./Data/PersistentArray/Basic.c Init/./Data/PersistentHashMap.c Init/./Data/PersistentHashMap/Basic.c Init/./Data/PersistentHashSet.c Init/./Data/Queue.c Init/./Data/Queue/Basic.c Init/./Data/RBMap.c Init/./Data/RBMap/Basic.c Init/./Data/RBMap/BasicAux.c Init/./Data/RBTree.c Init/./Data/RBTree/Basic.c Init/./Data/Random.c Init/./Data/Repr.c Init/./Data/Stack.c Init/./Data/Stack/Basic.c Init/./Data/String.c Init/./Data/String/Basic.c Init/./Data/ToString.c Init/./Data/UInt.c Init/./Default.c Init/./Fix.c Init/./HasCoe.c Init/./Lean.c Init/./Lean/Attributes.c Init/./Lean/AuxRecursor.c Init/./Lean/Class.c Init/./Lean/Compiler.c Init/./Lean/Compiler/ClosedTermCache.c Init/./Lean/Compiler/ConstFolding.c Init/./Lean/Compiler/ExportAttr.c Init/./Lean/Compiler/ExternAttr.c Init/./Lean/Compiler/IR.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/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/Data/Format.c Init/./Lean/Data/KVMap.c Init/./Lean/Data/LBool.c Init/./Lean/Data/LOption.c Init/./Lean/Data/Name.c Init/./Lean/Data/Occurrences.c Init/./Lean/Data/Options.c Init/./Lean/Data/Position.c Init/./Lean/Data/SMap.c Init/./Lean/Data/Trie.c Init/./Lean/Declaration.c Init/./Lean/Elab.c Init/./Lean/Elab/Alias.c Init/./Lean/Elab/App.c Init/./Lean/Elab/Binders.c Init/./Lean/Elab/BuiltinNotation.c Init/./Lean/Elab/Command.c Init/./Lean/Elab/DeclModifiers.c Init/./Lean/Elab/Declaration.c Init/./Lean/Elab/Definition.c Init/./Lean/Elab/DoNotation.c Init/./Lean/Elab/Exception.c Init/./Lean/Elab/Frontend.c Init/./Lean/Elab/Import.c Init/./Lean/Elab/Level.c Init/./Lean/Elab/Log.c Init/./Lean/Elab/Match.c Init/./Lean/Elab/Quotation.c Init/./Lean/Elab/ResolveName.c Init/./Lean/Elab/StrategyAttrs.c Init/./Lean/Elab/StructInst.c Init/./Lean/Elab/Syntax.c Init/./Lean/Elab/SyntheticMVars.c Init/./Lean/Elab/Tactic.c Init/./Lean/Elab/Tactic/Basic.c Init/./Lean/Elab/Tactic/ElabTerm.c Init/./Lean/Elab/Term.c Init/./Lean/Elab/Util.c Init/./Lean/Environment.c Init/./Lean/EqnCompiler.c Init/./Lean/EqnCompiler/MatchPattern.c Init/./Lean/Eval.c Init/./Lean/Expr.c Init/./Lean/HeadIndex.c Init/./Lean/Hygiene.c Init/./Lean/Level.c Init/./Lean/Linter.c Init/./Lean/LocalContext.c Init/./Lean/Message.c Init/./Lean/Meta.c Init/./Lean/Meta/AbstractMVars.c Init/./Lean/Meta/AppBuilder.c Init/./Lean/Meta/Basic.c Init/./Lean/Meta/Check.c Init/./Lean/Meta/DiscrTree.c Init/./Lean/Meta/DiscrTreeTypes.c Init/./Lean/Meta/Exception.c Init/./Lean/Meta/ExprDefEq.c Init/./Lean/Meta/FunInfo.c Init/./Lean/Meta/InferType.c Init/./Lean/Meta/Instances.c Init/./Lean/Meta/KAbstract.c Init/./Lean/Meta/LevelDefEq.c Init/./Lean/Meta/Message.c Init/./Lean/Meta/Offset.c Init/./Lean/Meta/Reduce.c Init/./Lean/Meta/SynthInstance.c Init/./Lean/Meta/Tactic.c Init/./Lean/Meta/Tactic/Apply.c Init/./Lean/Meta/Tactic/Assumption.c Init/./Lean/Meta/Tactic/Intro.c Init/./Lean/Meta/Tactic/Revert.c Init/./Lean/Meta/Tactic/Util.c Init/./Lean/Meta/WHNF.c Init/./Lean/MetavarContext.c Init/./Lean/Modifiers.c Init/./Lean/Parser.c Init/./Lean/Parser/Command.c Init/./Lean/Parser/Level.c Init/./Lean/Parser/Module.c Init/./Lean/Parser/Parser.c Init/./Lean/Parser/Syntax.c Init/./Lean/Parser/Tactic.c Init/./Lean/Parser/Term.c Init/./Lean/Parser/Transform.c Init/./Lean/ProjFns.c Init/./Lean/ReducibilityAttrs.c Init/./Lean/ReplaceExpr.c Init/./Lean/Runtime.c Init/./Lean/Scopes.c Init/./Lean/Structure.c Init/./Lean/Syntax.c Init/./Lean/ToExpr.c Init/./Lean/Util/CollectFVars.c Init/./Lean/Util/CollectLevelParams.c Init/./Lean/Util/CollectMVars.c Init/./Lean/Util/FindMVar.c Init/./Lean/Util/MonadCache.c Init/./Lean/Util/PPExt.c Init/./Lean/Util/PPGoal.c Init/./Lean/Util/Path.c Init/./Lean/Util/Profile.c Init/./Lean/Util/RecDepth.c Init/./Lean/Util/Sorry.c Init/./Lean/Util/Trace.c Init/./Lean/Util/WHNF.c Init/./LeanInit.c Init/./MutQuot.c Init/./System.c Init/./System/FilePath.c Init/./System/IO.c Init/./System/IOError.c Init/./System/Platform.c Init/./Util.c Init/./WF.c) +add_library (stage0 OBJECT Init/./Coe.c Init/./Control.c Init/./Control/Alternative.c Init/./Control/Applicative.c Init/./Control/Conditional.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.c Init/./Data/Array.c Init/./Data/Array/Basic.c Init/./Data/Array/BinSearch.c Init/./Data/Array/QSort.c Init/./Data/AssocList.c Init/./Data/Basic.c Init/./Data/BinomialHeap.c Init/./Data/BinomialHeap/Basic.c Init/./Data/ByteArray.c Init/./Data/ByteArray/Basic.c Init/./Data/Char.c Init/./Data/Char/Basic.c Init/./Data/DList.c Init/./Data/Fin.c Init/./Data/Fin/Basic.c Init/./Data/HashMap.c Init/./Data/HashMap/Basic.c Init/./Data/HashSet.c Init/./Data/Hashable.c Init/./Data/Int.c Init/./Data/Int/Basic.c Init/./Data/List.c Init/./Data/List/Basic.c Init/./Data/List/BasicAux.c Init/./Data/List/Control.c Init/./Data/List/Instances.c Init/./Data/Nat.c Init/./Data/Nat/Basic.c Init/./Data/Nat/Bitwise.c Init/./Data/Nat/Control.c Init/./Data/Nat/Div.c Init/./Data/Option.c Init/./Data/Option/Basic.c Init/./Data/Option/BasicAux.c Init/./Data/Option/Instances.c Init/./Data/PersistentArray.c Init/./Data/PersistentArray/Basic.c Init/./Data/PersistentHashMap.c Init/./Data/PersistentHashMap/Basic.c Init/./Data/PersistentHashSet.c Init/./Data/Queue.c Init/./Data/Queue/Basic.c Init/./Data/RBMap.c Init/./Data/RBMap/Basic.c Init/./Data/RBMap/BasicAux.c Init/./Data/RBTree.c Init/./Data/RBTree/Basic.c Init/./Data/Random.c Init/./Data/Repr.c Init/./Data/Stack.c Init/./Data/Stack/Basic.c Init/./Data/String.c Init/./Data/String/Basic.c Init/./Data/ToString.c Init/./Data/UInt.c Init/./Default.c Init/./Fix.c Init/./HasCoe.c Init/./Lean.c Init/./Lean/Attributes.c Init/./Lean/AuxRecursor.c Init/./Lean/Class.c Init/./Lean/Compiler.c Init/./Lean/Compiler/ClosedTermCache.c Init/./Lean/Compiler/ConstFolding.c Init/./Lean/Compiler/ExportAttr.c Init/./Lean/Compiler/ExternAttr.c Init/./Lean/Compiler/IR.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/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/Data/Format.c Init/./Lean/Data/KVMap.c Init/./Lean/Data/LBool.c Init/./Lean/Data/LOption.c Init/./Lean/Data/Name.c Init/./Lean/Data/Occurrences.c Init/./Lean/Data/Options.c Init/./Lean/Data/Position.c Init/./Lean/Data/SMap.c Init/./Lean/Data/Trie.c Init/./Lean/Declaration.c Init/./Lean/Elab.c Init/./Lean/Elab/Alias.c Init/./Lean/Elab/App.c Init/./Lean/Elab/Binders.c Init/./Lean/Elab/BuiltinNotation.c Init/./Lean/Elab/Command.c Init/./Lean/Elab/DeclModifiers.c Init/./Lean/Elab/Declaration.c Init/./Lean/Elab/Definition.c Init/./Lean/Elab/DoNotation.c Init/./Lean/Elab/Exception.c Init/./Lean/Elab/Frontend.c Init/./Lean/Elab/Import.c Init/./Lean/Elab/Level.c Init/./Lean/Elab/Log.c Init/./Lean/Elab/Match.c Init/./Lean/Elab/Quotation.c Init/./Lean/Elab/ResolveName.c Init/./Lean/Elab/StrategyAttrs.c Init/./Lean/Elab/StructInst.c Init/./Lean/Elab/Syntax.c Init/./Lean/Elab/SyntheticMVars.c Init/./Lean/Elab/Tactic.c Init/./Lean/Elab/Tactic/Basic.c Init/./Lean/Elab/Tactic/ElabTerm.c Init/./Lean/Elab/Term.c Init/./Lean/Elab/Util.c Init/./Lean/Environment.c Init/./Lean/EqnCompiler.c Init/./Lean/EqnCompiler/MatchPattern.c Init/./Lean/Eval.c Init/./Lean/Expr.c Init/./Lean/HeadIndex.c Init/./Lean/Hygiene.c Init/./Lean/Level.c Init/./Lean/Linter.c Init/./Lean/LocalContext.c Init/./Lean/Message.c Init/./Lean/Meta.c Init/./Lean/Meta/AbstractMVars.c Init/./Lean/Meta/AppBuilder.c Init/./Lean/Meta/Basic.c Init/./Lean/Meta/Check.c Init/./Lean/Meta/DiscrTree.c Init/./Lean/Meta/DiscrTreeTypes.c Init/./Lean/Meta/Exception.c Init/./Lean/Meta/ExprDefEq.c Init/./Lean/Meta/FunInfo.c Init/./Lean/Meta/InferType.c Init/./Lean/Meta/Instances.c Init/./Lean/Meta/KAbstract.c Init/./Lean/Meta/LevelDefEq.c Init/./Lean/Meta/Message.c Init/./Lean/Meta/Offset.c Init/./Lean/Meta/Reduce.c Init/./Lean/Meta/SynthInstance.c Init/./Lean/Meta/Tactic.c Init/./Lean/Meta/Tactic/Apply.c Init/./Lean/Meta/Tactic/Assumption.c Init/./Lean/Meta/Tactic/Clear.c Init/./Lean/Meta/Tactic/Intro.c Init/./Lean/Meta/Tactic/Revert.c Init/./Lean/Meta/Tactic/Util.c Init/./Lean/Meta/WHNF.c Init/./Lean/MetavarContext.c Init/./Lean/Modifiers.c Init/./Lean/Parser.c Init/./Lean/Parser/Command.c Init/./Lean/Parser/Level.c Init/./Lean/Parser/Module.c Init/./Lean/Parser/Parser.c Init/./Lean/Parser/Syntax.c Init/./Lean/Parser/Tactic.c Init/./Lean/Parser/Term.c Init/./Lean/Parser/Transform.c Init/./Lean/ProjFns.c Init/./Lean/ReducibilityAttrs.c Init/./Lean/ReplaceExpr.c Init/./Lean/Runtime.c Init/./Lean/Scopes.c Init/./Lean/Structure.c Init/./Lean/Syntax.c Init/./Lean/ToExpr.c Init/./Lean/Util/CollectFVars.c Init/./Lean/Util/CollectLevelParams.c Init/./Lean/Util/CollectMVars.c Init/./Lean/Util/FindMVar.c Init/./Lean/Util/MonadCache.c Init/./Lean/Util/PPExt.c Init/./Lean/Util/PPGoal.c Init/./Lean/Util/Path.c Init/./Lean/Util/Profile.c Init/./Lean/Util/RecDepth.c Init/./Lean/Util/Sorry.c Init/./Lean/Util/Trace.c Init/./Lean/Util/WHNF.c Init/./LeanInit.c Init/./MutQuot.c Init/./System.c Init/./System/FilePath.c Init/./System/IO.c Init/./System/IOError.c Init/./System/Platform.c Init/./Util.c Init/./WF.c) diff --git a/stage0/stdlib/Init/Lean/Elab/App.c b/stage0/stdlib/Init/Lean/Elab/App.c index 6793948527..d0c335a5f3 100644 --- a/stage0/stdlib/Init/Lean/Elab/App.c +++ b/stage0/stdlib/Init/Lean/Elab/App.c @@ -160,7 +160,6 @@ lean_object* l___private_Init_Lean_Elab_App_7__hasTypeMVar___boxed(lean_object*, lean_object* l_Lean_Elab_Term_addNamedArg___closed__3; lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Elab_Term_mkConst___closed__4; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabArrayRef___closed__2; lean_object* l___private_Init_Lean_Elab_App_24__mergeFailures___rarg___closed__2; lean_object* l_ReaderT_pure___at___private_Init_Lean_Elab_App_26__expandApp___spec__2(lean_object*); @@ -267,6 +266,7 @@ lean_object* l_Lean_mkLevelSucc(lean_object*); lean_object* l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__9; lean_object* l_Lean_Elab_Term_getLCtx(lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_App_13__resolveLValAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Array_forMAux___main___at_Lean_Meta_clear___spec__41___closed__8; lean_object* l_Lean_Elab_Term_elabSortApp(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkApp(lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__27; @@ -5767,7 +5767,7 @@ lean_ctor_set(x_82, 0, x_65); x_83 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_83, 0, x_81); lean_ctor_set(x_83, 1, x_82); -x_84 = l_Lean_Elab_Term_mkConst___closed__4; +x_84 = l_Array_forMAux___main___at_Lean_Meta_clear___spec__41___closed__8; x_85 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_85, 0, x_83); lean_ctor_set(x_85, 1, x_84); @@ -5826,7 +5826,7 @@ lean_ctor_set(x_99, 0, x_65); x_100 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_100, 0, x_98); lean_ctor_set(x_100, 1, x_99); -x_101 = l_Lean_Elab_Term_mkConst___closed__4; +x_101 = l_Array_forMAux___main___at_Lean_Meta_clear___spec__41___closed__8; x_102 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_102, 0, x_100); lean_ctor_set(x_102, 1, x_101); @@ -5902,7 +5902,7 @@ lean_ctor_set(x_117, 0, x_65); x_118 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_118, 0, x_116); lean_ctor_set(x_118, 1, x_117); -x_119 = l_Lean_Elab_Term_mkConst___closed__4; +x_119 = l_Array_forMAux___main___at_Lean_Meta_clear___spec__41___closed__8; x_120 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_120, 0, x_118); lean_ctor_set(x_120, 1, x_119); @@ -5962,7 +5962,7 @@ lean_ctor_set(x_135, 0, x_65); x_136 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_136, 0, x_134); lean_ctor_set(x_136, 1, x_135); -x_137 = l_Lean_Elab_Term_mkConst___closed__4; +x_137 = l_Array_forMAux___main___at_Lean_Meta_clear___spec__41___closed__8; x_138 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_138, 0, x_136); lean_ctor_set(x_138, 1, x_137); @@ -6066,7 +6066,7 @@ lean_ctor_set(x_165, 0, x_148); x_166 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_166, 0, x_164); lean_ctor_set(x_166, 1, x_165); -x_167 = l_Lean_Elab_Term_mkConst___closed__4; +x_167 = l_Array_forMAux___main___at_Lean_Meta_clear___spec__41___closed__8; x_168 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_168, 0, x_166); lean_ctor_set(x_168, 1, x_167); @@ -6125,7 +6125,7 @@ lean_ctor_set(x_182, 0, x_148); x_183 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_183, 0, x_181); lean_ctor_set(x_183, 1, x_182); -x_184 = l_Lean_Elab_Term_mkConst___closed__4; +x_184 = l_Array_forMAux___main___at_Lean_Meta_clear___spec__41___closed__8; x_185 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_185, 0, x_183); lean_ctor_set(x_185, 1, x_184); @@ -6201,7 +6201,7 @@ lean_ctor_set(x_200, 0, x_148); x_201 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_201, 0, x_199); lean_ctor_set(x_201, 1, x_200); -x_202 = l_Lean_Elab_Term_mkConst___closed__4; +x_202 = l_Array_forMAux___main___at_Lean_Meta_clear___spec__41___closed__8; x_203 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_203, 0, x_201); lean_ctor_set(x_203, 1, x_202); @@ -6261,7 +6261,7 @@ lean_ctor_set(x_218, 0, x_148); x_219 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_219, 0, x_217); lean_ctor_set(x_219, 1, x_218); -x_220 = l_Lean_Elab_Term_mkConst___closed__4; +x_220 = l_Array_forMAux___main___at_Lean_Meta_clear___spec__41___closed__8; x_221 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_221, 0, x_219); lean_ctor_set(x_221, 1, x_220); @@ -6395,7 +6395,7 @@ lean_ctor_set(x_252, 0, x_235); x_253 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_253, 0, x_251); lean_ctor_set(x_253, 1, x_252); -x_254 = l_Lean_Elab_Term_mkConst___closed__4; +x_254 = l_Array_forMAux___main___at_Lean_Meta_clear___spec__41___closed__8; x_255 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_255, 0, x_253); lean_ctor_set(x_255, 1, x_254); @@ -6460,7 +6460,7 @@ lean_ctor_set(x_270, 0, x_235); x_271 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_271, 0, x_269); lean_ctor_set(x_271, 1, x_270); -x_272 = l_Lean_Elab_Term_mkConst___closed__4; +x_272 = l_Array_forMAux___main___at_Lean_Meta_clear___spec__41___closed__8; x_273 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_273, 0, x_271); lean_ctor_set(x_273, 1, x_272); @@ -6576,7 +6576,7 @@ lean_ctor_set(x_300, 0, x_283); x_301 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_301, 0, x_299); lean_ctor_set(x_301, 1, x_300); -x_302 = l_Lean_Elab_Term_mkConst___closed__4; +x_302 = l_Array_forMAux___main___at_Lean_Meta_clear___spec__41___closed__8; x_303 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_303, 0, x_301); lean_ctor_set(x_303, 1, x_302); @@ -6641,7 +6641,7 @@ lean_ctor_set(x_318, 0, x_283); x_319 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_319, 0, x_317); lean_ctor_set(x_319, 1, x_318); -x_320 = l_Lean_Elab_Term_mkConst___closed__4; +x_320 = l_Array_forMAux___main___at_Lean_Meta_clear___spec__41___closed__8; x_321 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_321, 0, x_319); lean_ctor_set(x_321, 1, x_320); @@ -6748,7 +6748,7 @@ x_341 = l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__28; x_342 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_342, 0, x_341); lean_ctor_set(x_342, 1, x_340); -x_343 = l_Lean_Elab_Term_mkConst___closed__4; +x_343 = l_Array_forMAux___main___at_Lean_Meta_clear___spec__41___closed__8; x_344 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_344, 0, x_342); lean_ctor_set(x_344, 1, x_343); @@ -6791,7 +6791,7 @@ x_353 = l___private_Init_Lean_Elab_App_13__resolveLValAux___closed__28; x_354 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_354, 0, x_353); lean_ctor_set(x_354, 1, x_352); -x_355 = l_Lean_Elab_Term_mkConst___closed__4; +x_355 = l_Array_forMAux___main___at_Lean_Meta_clear___spec__41___closed__8; x_356 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_356, 0, x_354); lean_ctor_set(x_356, 1, x_355); @@ -7644,7 +7644,7 @@ x_37 = l___private_Init_Lean_Elab_App_17__addLValArg___main___closed__12; x_38 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_38, 0, x_37); lean_ctor_set(x_38, 1, x_36); -x_39 = l_Lean_Elab_Term_mkConst___closed__4; +x_39 = l_Array_forMAux___main___at_Lean_Meta_clear___spec__41___closed__8; x_40 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_40, 0, x_38); lean_ctor_set(x_40, 1, x_39); diff --git a/stage0/stdlib/Init/Lean/Elab/Command.c b/stage0/stdlib/Init/Lean/Elab/Command.c index 390d65ab66..6f7d95ceb8 100644 --- a/stage0/stdlib/Init/Lean/Elab/Command.c +++ b/stage0/stdlib/Init/Lean/Elab/Command.c @@ -148,7 +148,6 @@ lean_object* l_Lean_Elab_getPos___at_Lean_Elab_Command_throwError___spec__2___bo extern lean_object* l_Lean_Elab_Exception_inhabited___closed__1; lean_object* l_Lean_Elab_Command_Scope_inhabited; extern lean_object* l_Lean_Parser_Command_section___elambda__1___closed__1; -extern lean_object* l_Lean_Meta_MetaHasEval___rarg___closed__4; lean_object* l_Lean_Name_getNumParts___main(lean_object*); lean_object* l_Lean_Elab_Command_elabOpen(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_mkMessageAt___at_Lean_Elab_Command_throwError___spec__3(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); @@ -259,7 +258,6 @@ uint8_t l_HashMapImp_contains___at_Lean_Elab_Command_addBuiltinCommandElab___spe lean_object* l_Lean_Elab_Command_expandDeclId___boxed(lean_object*); lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabSetOption(lean_object*); lean_object* l_Lean_Elab_Command_elabOpenRenaming(lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Elab_Term_mkConst___closed__4; lean_object* l_List_lengthAux___main___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_resolveNamespace(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_addBuiltinCommandElab___closed__1; @@ -356,6 +354,7 @@ lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabEnd(lean_object*); lean_object* l_Lean_Elab_Command_throwAlreadyDeclaredUniverseLevel___rarg___closed__1; extern lean_object* l_Lean_Elab_Term_elabTermAux___main___closed__3; lean_object* l___private_Init_Lean_Elab_Command_13__addNamespace___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_IO_runMeta___rarg___closed__4; extern lean_object* l_Lean_PersistentEnvExtension_inhabited___rarg___closed__3; lean_object* l_Lean_Elab_Command_withMacroExpansion(lean_object*); lean_object* l_Lean_Elab_Command_withDeclId___closed__3; @@ -405,6 +404,7 @@ lean_object* lean_environment_main_module(lean_object*); lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabOpen___closed__1; lean_object* l_Lean_Elab_Command_elabVariables___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabExport___closed__1; +extern lean_object* l_Array_forMAux___main___at_Lean_Meta_clear___spec__41___closed__8; lean_object* l_Lean_Elab_Command_getScope(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabEnd___closed__6; lean_object* l_Lean_Elab_Command_elabExport___boxed(lean_object*, lean_object*, lean_object*); @@ -7977,7 +7977,7 @@ x_2 = lean_ctor_get(x_1, 0); x_3 = lean_ctor_get(x_1, 1); x_4 = lean_ctor_get(x_1, 3); x_5 = l_Lean_MetavarContext_Inhabited___closed__1; -x_6 = l_Lean_Meta_MetaHasEval___rarg___closed__4; +x_6 = l_IO_runMeta___rarg___closed__4; x_7 = l_Lean_NameGenerator_Inhabited___closed__3; x_8 = l_Lean_TraceState_Inhabited___closed__1; x_9 = l_PersistentArray_empty___closed__3; @@ -12960,7 +12960,7 @@ x_9 = l_Lean_Elab_Command_logUnknownDecl___closed__2; x_10 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_10, 0, x_9); lean_ctor_set(x_10, 1, x_8); -x_11 = l_Lean_Elab_Term_mkConst___closed__4; +x_11 = l_Array_forMAux___main___at_Lean_Meta_clear___spec__41___closed__8; x_12 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_12, 0, x_10); lean_ctor_set(x_12, 1, x_11); diff --git a/stage0/stdlib/Init/Lean/Elab/Quotation.c b/stage0/stdlib/Init/Lean/Elab/Quotation.c index 18528ac5f7..281fcc77df 100644 --- a/stage0/stdlib/Init/Lean/Elab/Quotation.c +++ b/stage0/stdlib/Init/Lean/Elab/Quotation.c @@ -165,7 +165,6 @@ lean_object* l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___cl lean_object* l___private_Init_Lean_Elab_Quotation_8__explodeHeadPat___lambda__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_umapMAux___main___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__1___lambda__1___boxed(lean_object*); -extern lean_object* l_Lean_Meta_MetaHasEval___rarg___closed__4; lean_object* l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___elambda__1(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__47; lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___spec__1___closed__7; @@ -375,6 +374,7 @@ lean_object* l___private_Init_Lean_Elab_Quotation_11__letBindRhss___main___close lean_object* l_Lean_mkFVar(lean_object*); lean_object* l_List_head_x21___at___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___spec__2___closed__3; lean_object* l_Lean_Elab_Term_TermElabM_inhabited___boxed(lean_object*, lean_object*); +extern lean_object* l_IO_runMeta___rarg___closed__4; extern lean_object* l_Lean_nullKind___closed__1; lean_object* l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__8(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Quotation_8__explodeHeadPat___closed__3; @@ -25235,7 +25235,7 @@ lean_ctor_set_uint8(x_21, sizeof(void*)*10, x_20); lean_ctor_set_uint8(x_21, sizeof(void*)*10 + 1, x_20); lean_ctor_set_uint8(x_21, sizeof(void*)*10 + 2, x_20); x_22 = l_Lean_MetavarContext_Inhabited___closed__1; -x_23 = l_Lean_Meta_MetaHasEval___rarg___closed__4; +x_23 = l_IO_runMeta___rarg___closed__4; x_24 = l_Lean_NameGenerator_Inhabited___closed__3; x_25 = l_Lean_TraceState_Inhabited___closed__1; x_26 = l_PersistentArray_empty___closed__3; diff --git a/stage0/stdlib/Init/Lean/Elab/StructInst.c b/stage0/stdlib/Init/Lean/Elab/StructInst.c index 637603be83..bf7a2fc904 100644 --- a/stage0/stdlib/Init/Lean/Elab/StructInst.c +++ b/stage0/stdlib/Init/Lean/Elab/StructInst.c @@ -13,7 +13,6 @@ #ifdef __cplusplus extern "C" { #endif -extern lean_object* l___private_Init_Lean_Meta_Check_2__checkLambdaLet___lambda__2___closed__1; lean_object* l_Lean_Elab_Term_StructInst_formatStruct___main(lean_object*); lean_object* l___private_Init_Lean_Elab_StructInst_17__groupFields(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_StructInst_Struct_modifyFields(lean_object*, lean_object*); @@ -163,7 +162,6 @@ lean_object* l___private_Init_Lean_Elab_StructInst_14__getFieldIdx___boxed(lean_ extern lean_object* l_Lean_formatEntry___closed__2; lean_object* l___private_Init_Lean_Elab_StructInst_4__elabModifyOp___closed__3; lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Elab_Term_mkConst___closed__4; lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_StructInst_18__expandStruct___main___spec__8(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_AssocList_find___main___at___private_Init_Lean_Elab_StructInst_12__mkFieldMap___spec__2(lean_object*, lean_object*); lean_object* l_HashMapImp_find_x3f___at___private_Init_Lean_Elab_StructInst_12__mkFieldMap___spec__1(lean_object*, lean_object*); @@ -244,6 +242,7 @@ lean_object* l_Lean_Elab_Term_StructInst_formatField___closed__1; lean_object* l_List_map___main___at___private_Init_Lean_Elab_StructInst_7__mkStructView___spec__3(lean_object*); lean_object* l_Lean_Elab_Term_StructInst_Source_hasFormat___closed__1; lean_object* l_Lean_Syntax_setArg(lean_object*, lean_object*, lean_object*); +extern lean_object* l_Array_forMAux___main___at_Lean_Meta_clear___spec__41___closed__8; lean_object* l_Lean_Elab_Term_StructInst_Struct_modifyFieldsM___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_StructInst_Source_hasFormat___closed__4; lean_object* l_AssocList_find___main___at___private_Init_Lean_Elab_StructInst_12__mkFieldMap___spec__2___boxed(lean_object*, lean_object*); @@ -314,7 +313,7 @@ lean_object* l___private_Init_Lean_Elab_StructInst_5__getStructName___closed__1; lean_object* l_Lean_Elab_Term_StructInst_Field_inhabited___closed__2; uint8_t l_Lean_isStructureLike(lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_StructInst_5__getStructName___closed__2; -lean_object* l_Lean_Elab_Term_isLocalTermId_x3f(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_isLocalTermId_x3f(lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l_Lean_indentExpr(lean_object*); lean_object* l___private_Init_Lean_Elab_StructInst_19__elabStructInstAux___closed__9; lean_object* l___private_Init_Lean_Elab_StructInst_1__expandNonAtomicExplicitSource(lean_object*, lean_object*, lean_object*); @@ -334,6 +333,7 @@ lean_object* l___private_Init_Lean_Elab_StructInst_17__groupFields___lambda__2__ lean_object* l___private_Init_Lean_Elab_StructInst_5__getStructName___closed__4; extern lean_object* l_addParenHeuristic___closed__1; lean_object* l_Lean_Elab_Term_StructInst_elabStructInst___closed__2; +extern lean_object* l_Lean_MetavarContext_MkBinding_mkBinding___closed__1; lean_object* l___private_Init_Lean_Elab_StructInst_17__groupFields___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_StructInst_17__groupFields___lambda__3___closed__1; lean_object* l___private_Init_Lean_Elab_StructInst_19__elabStructInstAux___closed__4; @@ -468,206 +468,208 @@ x_34 = l_Lean_Syntax_getArg(x_12, x_33); x_35 = l_Lean_Syntax_isNone(x_34); if (x_35 == 0) { -lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +lean_object* x_36; lean_object* x_37; uint8_t x_38; lean_object* x_39; lean_object* x_40; x_36 = lean_unsigned_to_nat(0u); x_37 = l_Lean_Syntax_getArg(x_34, x_36); +x_38 = 0; lean_inc(x_37); -x_38 = l_Lean_Elab_Term_isLocalTermId_x3f(x_37, x_4, x_5); -x_39 = lean_ctor_get(x_38, 0); -lean_inc(x_39); -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; 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; uint8_t x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; -lean_dec(x_32); -x_40 = lean_ctor_get(x_38, 1); +x_39 = l_Lean_Elab_Term_isLocalTermId_x3f(x_37, x_38, x_4, x_5); +x_40 = lean_ctor_get(x_39, 0); lean_inc(x_40); -lean_dec(x_38); -x_41 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_40); -x_42 = lean_ctor_get(x_41, 0); -lean_inc(x_42); -x_43 = lean_ctor_get(x_41, 1); +if (lean_obj_tag(x_40) == 0) +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; uint8_t x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; +lean_dec(x_32); +x_41 = lean_ctor_get(x_39, 1); +lean_inc(x_41); +lean_dec(x_39); +x_42 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_41); +x_43 = lean_ctor_get(x_42, 0); lean_inc(x_43); -lean_dec(x_41); -x_44 = l_Lean_Elab_Term_getMainModule___rarg(x_43); -x_45 = lean_ctor_get(x_44, 0); -lean_inc(x_45); -x_46 = lean_ctor_get(x_44, 1); +x_44 = lean_ctor_get(x_42, 1); +lean_inc(x_44); +lean_dec(x_42); +x_45 = l_Lean_Elab_Term_getMainModule___rarg(x_44); +x_46 = lean_ctor_get(x_45, 0); lean_inc(x_46); -lean_dec(x_44); -x_47 = lean_box(0); -x_48 = l_Array_umapMAux___main___at_Lean_Elab_Term_StructInst_ExpandNonAtomicExplicitSource_main___spec__1___closed__3; -x_49 = l_Lean_addMacroScope(x_45, x_48, x_42); -x_50 = lean_box(0); -x_51 = l_Array_umapMAux___main___at_Lean_Elab_Term_StructInst_ExpandNonAtomicExplicitSource_main___spec__1___closed__2; -x_52 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_52, 0, x_47); -lean_ctor_set(x_52, 1, x_51); -lean_ctor_set(x_52, 2, x_49); -lean_ctor_set(x_52, 3, x_50); -x_53 = l_Array_empty___closed__1; -x_54 = lean_array_push(x_53, x_52); -x_55 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; -x_56 = lean_array_push(x_54, x_55); -x_57 = l_Lean_mkTermIdFromIdent___closed__2; -x_58 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_58, 0, x_57); -lean_ctor_set(x_58, 1, x_56); -x_59 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_59, 0, x_37); -x_60 = 1; -lean_ctor_set(x_3, 0, x_59); -lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_60); -x_61 = l_Lean_Syntax_setArg(x_34, x_36, x_58); +x_47 = lean_ctor_get(x_45, 1); +lean_inc(x_47); +lean_dec(x_45); +x_48 = lean_box(0); +x_49 = l_Array_umapMAux___main___at_Lean_Elab_Term_StructInst_ExpandNonAtomicExplicitSource_main___spec__1___closed__3; +x_50 = l_Lean_addMacroScope(x_46, x_49, x_43); +x_51 = lean_box(0); +x_52 = l_Array_umapMAux___main___at_Lean_Elab_Term_StructInst_ExpandNonAtomicExplicitSource_main___spec__1___closed__2; +x_53 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_53, 0, x_48); +lean_ctor_set(x_53, 1, x_52); +lean_ctor_set(x_53, 2, x_50); +lean_ctor_set(x_53, 3, x_51); +x_54 = l_Array_empty___closed__1; +x_55 = lean_array_push(x_54, x_53); +x_56 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; +x_57 = lean_array_push(x_55, x_56); +x_58 = l_Lean_mkTermIdFromIdent___closed__2; +x_59 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_59, 0, x_58); +lean_ctor_set(x_59, 1, x_57); +x_60 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_60, 0, x_37); +x_61 = 1; +lean_ctor_set(x_3, 0, x_60); +lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_61); +x_62 = l_Lean_Syntax_setArg(x_34, x_36, x_59); lean_inc(x_12); -x_62 = l_Lean_Syntax_setArg(x_12, x_33, x_61); -x_63 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_63, 0, x_62); -lean_ctor_set(x_63, 1, x_3); -x_16 = x_63; -x_17 = x_46; +x_63 = l_Lean_Syntax_setArg(x_12, x_33, x_62); +x_64 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_64, 0, x_63); +lean_ctor_set(x_64, 1, x_3); +x_16 = x_64; +x_17 = x_47; goto block_25; } else { -lean_object* x_64; uint8_t x_65; lean_object* x_66; -lean_dec(x_39); +lean_object* x_65; uint8_t x_66; lean_object* x_67; +lean_dec(x_40); lean_dec(x_37); lean_dec(x_34); -x_64 = lean_ctor_get(x_38, 1); -lean_inc(x_64); -lean_dec(x_38); -x_65 = 1; -lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_65); +x_65 = lean_ctor_get(x_39, 1); +lean_inc(x_65); +lean_dec(x_39); +x_66 = 1; +lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_66); lean_inc(x_12); -x_66 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_66, 0, x_12); -lean_ctor_set(x_66, 1, x_3); -x_16 = x_66; -x_17 = x_64; +x_67 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_67, 0, x_12); +lean_ctor_set(x_67, 1, x_3); +x_16 = x_67; +x_17 = x_65; goto block_25; } } else { -uint8_t x_67; lean_object* x_68; +uint8_t x_68; lean_object* x_69; lean_dec(x_34); -x_67 = 1; -lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_67); +x_68 = 1; +lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_68); lean_inc(x_12); -x_68 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_68, 0, x_12); -lean_ctor_set(x_68, 1, x_3); -x_16 = x_68; +x_69 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_69, 0, x_12); +lean_ctor_set(x_69, 1, x_3); +x_16 = x_69; x_17 = x_5; goto block_25; } } else { -lean_object* x_69; lean_object* x_70; lean_object* x_71; uint8_t x_72; -x_69 = lean_ctor_get(x_3, 0); -lean_inc(x_69); +lean_object* x_70; lean_object* x_71; lean_object* x_72; uint8_t x_73; +x_70 = lean_ctor_get(x_3, 0); +lean_inc(x_70); lean_dec(x_3); -x_70 = lean_unsigned_to_nat(1u); -x_71 = l_Lean_Syntax_getArg(x_12, x_70); -x_72 = l_Lean_Syntax_isNone(x_71); -if (x_72 == 0) +x_71 = lean_unsigned_to_nat(1u); +x_72 = l_Lean_Syntax_getArg(x_12, x_71); +x_73 = l_Lean_Syntax_isNone(x_72); +if (x_73 == 0) { -lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; -x_73 = lean_unsigned_to_nat(0u); -x_74 = l_Lean_Syntax_getArg(x_71, x_73); -lean_inc(x_74); -x_75 = l_Lean_Elab_Term_isLocalTermId_x3f(x_74, x_4, x_5); -x_76 = lean_ctor_get(x_75, 0); -lean_inc(x_76); -if (lean_obj_tag(x_76) == 0) +lean_object* x_74; lean_object* x_75; uint8_t x_76; lean_object* x_77; lean_object* x_78; +x_74 = lean_unsigned_to_nat(0u); +x_75 = l_Lean_Syntax_getArg(x_72, x_74); +x_76 = 0; +lean_inc(x_75); +x_77 = l_Lean_Elab_Term_isLocalTermId_x3f(x_75, x_76, x_4, x_5); +x_78 = lean_ctor_get(x_77, 0); +lean_inc(x_78); +if (lean_obj_tag(x_78) == 0) { -lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; uint8_t x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; -lean_dec(x_69); -x_77 = lean_ctor_get(x_75, 1); -lean_inc(x_77); -lean_dec(x_75); -x_78 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_77); -x_79 = lean_ctor_get(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; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; uint8_t x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; +lean_dec(x_70); +x_79 = lean_ctor_get(x_77, 1); lean_inc(x_79); -x_80 = lean_ctor_get(x_78, 1); -lean_inc(x_80); -lean_dec(x_78); -x_81 = l_Lean_Elab_Term_getMainModule___rarg(x_80); -x_82 = lean_ctor_get(x_81, 0); +lean_dec(x_77); +x_80 = l_Lean_Elab_Term_getCurrMacroScope(x_4, 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); -x_83 = lean_ctor_get(x_81, 1); -lean_inc(x_83); -lean_dec(x_81); -x_84 = lean_box(0); -x_85 = l_Array_umapMAux___main___at_Lean_Elab_Term_StructInst_ExpandNonAtomicExplicitSource_main___spec__1___closed__3; -x_86 = l_Lean_addMacroScope(x_82, x_85, x_79); -x_87 = lean_box(0); -x_88 = l_Array_umapMAux___main___at_Lean_Elab_Term_StructInst_ExpandNonAtomicExplicitSource_main___spec__1___closed__2; -x_89 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_89, 0, x_84); -lean_ctor_set(x_89, 1, x_88); -lean_ctor_set(x_89, 2, x_86); -lean_ctor_set(x_89, 3, x_87); -x_90 = l_Array_empty___closed__1; -x_91 = lean_array_push(x_90, x_89); -x_92 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; -x_93 = lean_array_push(x_91, x_92); -x_94 = l_Lean_mkTermIdFromIdent___closed__2; -x_95 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_95, 0, x_94); -lean_ctor_set(x_95, 1, x_93); -x_96 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_96, 0, x_74); -x_97 = 1; -x_98 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_98, 0, x_96); -lean_ctor_set_uint8(x_98, sizeof(void*)*1, x_97); -x_99 = l_Lean_Syntax_setArg(x_71, x_73, x_95); +lean_dec(x_80); +x_83 = l_Lean_Elab_Term_getMainModule___rarg(x_82); +x_84 = lean_ctor_get(x_83, 0); +lean_inc(x_84); +x_85 = lean_ctor_get(x_83, 1); +lean_inc(x_85); +lean_dec(x_83); +x_86 = lean_box(0); +x_87 = l_Array_umapMAux___main___at_Lean_Elab_Term_StructInst_ExpandNonAtomicExplicitSource_main___spec__1___closed__3; +x_88 = l_Lean_addMacroScope(x_84, x_87, x_81); +x_89 = lean_box(0); +x_90 = l_Array_umapMAux___main___at_Lean_Elab_Term_StructInst_ExpandNonAtomicExplicitSource_main___spec__1___closed__2; +x_91 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_91, 0, x_86); +lean_ctor_set(x_91, 1, x_90); +lean_ctor_set(x_91, 2, x_88); +lean_ctor_set(x_91, 3, x_89); +x_92 = l_Array_empty___closed__1; +x_93 = lean_array_push(x_92, x_91); +x_94 = l___private_Init_Lean_Elab_Term_5__expandCDot___main___closed__4; +x_95 = lean_array_push(x_93, x_94); +x_96 = l_Lean_mkTermIdFromIdent___closed__2; +x_97 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_97, 0, x_96); +lean_ctor_set(x_97, 1, x_95); +x_98 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_98, 0, x_75); +x_99 = 1; +x_100 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_100, 0, x_98); +lean_ctor_set_uint8(x_100, sizeof(void*)*1, x_99); +x_101 = l_Lean_Syntax_setArg(x_72, x_74, x_97); lean_inc(x_12); -x_100 = l_Lean_Syntax_setArg(x_12, x_70, x_99); -x_101 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_101, 0, x_100); -lean_ctor_set(x_101, 1, x_98); -x_16 = x_101; -x_17 = x_83; +x_102 = l_Lean_Syntax_setArg(x_12, x_71, x_101); +x_103 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_103, 0, x_102); +lean_ctor_set(x_103, 1, x_100); +x_16 = x_103; +x_17 = x_85; goto block_25; } else { -lean_object* x_102; uint8_t x_103; lean_object* x_104; lean_object* x_105; -lean_dec(x_76); -lean_dec(x_74); -lean_dec(x_71); -x_102 = lean_ctor_get(x_75, 1); -lean_inc(x_102); +lean_object* x_104; uint8_t x_105; lean_object* x_106; lean_object* x_107; +lean_dec(x_78); lean_dec(x_75); -x_103 = 1; -x_104 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_104, 0, x_69); -lean_ctor_set_uint8(x_104, sizeof(void*)*1, x_103); +lean_dec(x_72); +x_104 = lean_ctor_get(x_77, 1); +lean_inc(x_104); +lean_dec(x_77); +x_105 = 1; +x_106 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_106, 0, x_70); +lean_ctor_set_uint8(x_106, sizeof(void*)*1, x_105); lean_inc(x_12); -x_105 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_105, 0, x_12); -lean_ctor_set(x_105, 1, x_104); -x_16 = x_105; -x_17 = x_102; +x_107 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_107, 0, x_12); +lean_ctor_set(x_107, 1, x_106); +x_16 = x_107; +x_17 = x_104; goto block_25; } } else { -uint8_t x_106; lean_object* x_107; lean_object* x_108; -lean_dec(x_71); -x_106 = 1; -x_107 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_107, 0, x_69); -lean_ctor_set_uint8(x_107, sizeof(void*)*1, x_106); +uint8_t x_108; lean_object* x_109; lean_object* x_110; +lean_dec(x_72); +x_108 = 1; +x_109 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_109, 0, x_70); +lean_ctor_set_uint8(x_109, sizeof(void*)*1, x_108); lean_inc(x_12); -x_108 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_108, 0, x_12); -lean_ctor_set(x_108, 1, x_107); -x_16 = x_108; +x_110 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_110, 0, x_12); +lean_ctor_set(x_110, 1, x_109); +x_16 = x_110; x_17 = x_5; goto block_25; } @@ -675,30 +677,30 @@ goto block_25; } else { -lean_object* x_109; lean_object* x_110; uint8_t x_111; +lean_object* x_111; lean_object* x_112; uint8_t x_113; lean_dec(x_15); lean_dec(x_3); lean_dec(x_1); -x_109 = l_Array_umapMAux___main___at_Lean_Elab_Term_StructInst_ExpandNonAtomicExplicitSource_main___spec__1___closed__6; -x_110 = l_Lean_Elab_Term_throwError___rarg(x_12, x_109, x_4, x_5); +x_111 = l_Array_umapMAux___main___at_Lean_Elab_Term_StructInst_ExpandNonAtomicExplicitSource_main___spec__1___closed__6; +x_112 = l_Lean_Elab_Term_throwError___rarg(x_12, x_111, x_4, x_5); lean_dec(x_12); -x_111 = !lean_is_exclusive(x_110); -if (x_111 == 0) +x_113 = !lean_is_exclusive(x_112); +if (x_113 == 0) { -return x_110; +return x_112; } else { -lean_object* x_112; lean_object* x_113; lean_object* x_114; -x_112 = lean_ctor_get(x_110, 0); -x_113 = lean_ctor_get(x_110, 1); -lean_inc(x_113); -lean_inc(x_112); -lean_dec(x_110); -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; +lean_object* x_114; lean_object* x_115; lean_object* x_116; +x_114 = lean_ctor_get(x_112, 0); +x_115 = lean_ctor_get(x_112, 1); +lean_inc(x_115); +lean_inc(x_114); +lean_dec(x_112); +x_116 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_116, 0, x_114); +lean_ctor_set(x_116, 1, x_115); +return x_116; } } } @@ -1633,94 +1635,95 @@ x_24 = l_Lean_Syntax_getArg(x_10, x_23); x_25 = l_Lean_Syntax_isNone(x_24); if (x_25 == 0) { -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +lean_object* x_26; lean_object* x_27; uint8_t x_28; lean_object* x_29; lean_object* x_30; x_26 = lean_unsigned_to_nat(0u); x_27 = l_Lean_Syntax_getArg(x_24, x_26); lean_dec(x_24); -x_28 = l_Lean_Elab_Term_isLocalTermId_x3f(x_27, x_5, x_6); -x_29 = lean_ctor_get(x_28, 0); -lean_inc(x_29); -if (lean_obj_tag(x_29) == 0) -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; -lean_dec(x_10); -x_30 = lean_ctor_get(x_28, 1); +x_28 = 0; +x_29 = l_Lean_Elab_Term_isLocalTermId_x3f(x_27, x_28, x_5, x_6); +x_30 = lean_ctor_get(x_29, 0); lean_inc(x_30); -lean_dec(x_28); -x_31 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__1; -x_32 = l_unreachable_x21___rarg(x_31); -lean_inc(x_5); -x_33 = lean_apply_2(x_32, x_5, x_30); -if (lean_obj_tag(x_33) == 0) +if (lean_obj_tag(x_30) == 0) { -lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_34 = lean_ctor_get(x_33, 0); -lean_inc(x_34); -x_35 = lean_ctor_get(x_33, 1); +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +lean_dec(x_10); +x_31 = lean_ctor_get(x_29, 1); +lean_inc(x_31); +lean_dec(x_29); +x_32 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__1; +x_33 = l_unreachable_x21___rarg(x_32); +lean_inc(x_5); +x_34 = lean_apply_2(x_33, x_5, x_31); +if (lean_obj_tag(x_34) == 0) +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = lean_ctor_get(x_34, 0); lean_inc(x_35); -lean_dec(x_33); -x_36 = lean_nat_add(x_3, x_1); +x_36 = lean_ctor_get(x_34, 1); +lean_inc(x_36); +lean_dec(x_34); +x_37 = lean_nat_add(x_3, x_1); lean_dec(x_3); -x_3 = x_36; -x_4 = x_34; -x_6 = x_35; +x_3 = x_37; +x_4 = x_35; +x_6 = x_36; goto _start; } else { -uint8_t x_38; +uint8_t x_39; lean_dec(x_5); lean_dec(x_3); -x_38 = !lean_is_exclusive(x_33); -if (x_38 == 0) +x_39 = !lean_is_exclusive(x_34); +if (x_39 == 0) { -return x_33; +return x_34; } else { -lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_39 = lean_ctor_get(x_33, 0); -x_40 = lean_ctor_get(x_33, 1); +lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_40 = lean_ctor_get(x_34, 0); +x_41 = lean_ctor_get(x_34, 1); +lean_inc(x_41); lean_inc(x_40); -lean_inc(x_39); -lean_dec(x_33); -x_41 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_41, 0, x_39); -lean_ctor_set(x_41, 1, x_40); -return x_41; +lean_dec(x_34); +x_42 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_42, 0, x_40); +lean_ctor_set(x_42, 1, x_41); +return x_42; } } } else { -lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_42 = lean_ctor_get(x_28, 1); -lean_inc(x_42); -lean_dec(x_28); -x_43 = lean_ctor_get(x_29, 0); +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_43 = lean_ctor_get(x_29, 1); lean_inc(x_43); lean_dec(x_29); -x_44 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_44, 0, x_10); -lean_ctor_set(x_44, 1, x_43); -x_45 = lean_nat_add(x_3, x_1); +x_44 = lean_ctor_get(x_30, 0); +lean_inc(x_44); +lean_dec(x_30); +x_45 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_45, 0, x_10); +lean_ctor_set(x_45, 1, x_44); +x_46 = lean_nat_add(x_3, x_1); lean_dec(x_3); -x_3 = x_45; -x_4 = x_44; -x_6 = x_42; +x_3 = x_46; +x_4 = x_45; +x_6 = x_43; goto _start; } } else { -lean_object* x_47; lean_object* x_48; +lean_object* x_48; lean_object* x_49; lean_dec(x_24); -x_47 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_47, 0, x_10); -x_48 = lean_nat_add(x_3, x_1); +x_48 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_48, 0, x_10); +x_49 = lean_nat_add(x_3, x_1); lean_dec(x_3); -x_3 = x_48; -x_4 = x_47; +x_3 = x_49; +x_4 = x_48; goto _start; } } @@ -10000,7 +10003,7 @@ lean_dec(x_8); lean_dec(x_2); x_34 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_34, 0, x_31); -x_35 = l_Lean_Elab_Term_mkConst___closed__4; +x_35 = l_Array_forMAux___main___at_Lean_Meta_clear___spec__41___closed__8; x_36 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_36, 0, x_35); lean_ctor_set(x_36, 1, x_34); @@ -11409,7 +11412,7 @@ lean_ctor_set(x_14, 0, x_2); x_15 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_15, 0, x_13); lean_ctor_set(x_15, 1, x_14); -x_16 = l_Lean_Elab_Term_mkConst___closed__4; +x_16 = l_Array_forMAux___main___at_Lean_Meta_clear___spec__41___closed__8; x_17 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_17, 0, x_15); lean_ctor_set(x_17, 1, x_16); @@ -12905,7 +12908,7 @@ x_8 = l_Lean_Elab_Term_StructInst_Struct_structName(x_2); lean_inc(x_8); lean_inc(x_6); x_9 = l_Lean_getStructureFields(x_6, x_8); -x_10 = l___private_Init_Lean_Meta_Check_2__checkLambdaLet___lambda__2___closed__1; +x_10 = l_Lean_MetavarContext_MkBinding_mkBinding___closed__1; lean_inc(x_2); x_11 = lean_alloc_closure((void*)(l___private_Init_Lean_Elab_StructInst_17__groupFields___lambda__4), 9, 6); lean_closure_set(x_11, 0, x_2); diff --git a/stage0/stdlib/Init/Lean/Elab/Syntax.c b/stage0/stdlib/Init/Lean/Elab/Syntax.c index d15cdb1313..d30cef927a 100644 --- a/stage0/stdlib/Init/Lean/Elab/Syntax.c +++ b/stage0/stdlib/Init/Lean/Elab/Syntax.c @@ -244,7 +244,6 @@ lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__32; extern lean_object* l_Lean_Parser_Syntax_optional___elambda__1___closed__1; lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__10; -extern lean_object* l_Lean_Elab_Term_mkConst___closed__4; lean_object* l_Lean_Elab_Command_elabMacroRulesAux___lambda__1___closed__1; lean_object* l_Lean_Elab_Command_elabMacroRules___closed__1; extern lean_object* l_Lean_Unhygienic_MonadQuotation___closed__4; @@ -396,6 +395,7 @@ lean_object* l_Lean_Syntax_setArg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__18; lean_object* l_Lean_Elab_Command_elabNoKindMacroRulesAux___closed__3; lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__3; +extern lean_object* l_Array_forMAux___main___at_Lean_Meta_clear___spec__41___closed__8; extern lean_object* l_Lean_Parser_Syntax_sepBy1___elambda__1___closed__1; uint8_t l_Lean_Parser_isParserCategory(lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Syntax_5__withoutLeftRec___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -6717,7 +6717,7 @@ x_1633 = l_Lean_Elab_Term_toParserDescrAux___main___closed__118; x_1634 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_1634, 0, x_1633); lean_ctor_set(x_1634, 1, x_1632); -x_1635 = l_Lean_Elab_Term_mkConst___closed__4; +x_1635 = l_Array_forMAux___main___at_Lean_Meta_clear___spec__41___closed__8; x_1636 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_1636, 0, x_1634); lean_ctor_set(x_1636, 1, x_1635); @@ -8187,7 +8187,7 @@ x_378 = l_Lean_Elab_Term_toParserDescrAux___main___closed__118; x_379 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_379, 0, x_378); lean_ctor_set(x_379, 1, x_377); -x_380 = l_Lean_Elab_Term_mkConst___closed__4; +x_380 = l_Array_forMAux___main___at_Lean_Meta_clear___spec__41___closed__8; x_381 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_381, 0, x_379); lean_ctor_set(x_381, 1, x_380); @@ -9743,7 +9743,7 @@ x_19 = l_Lean_Elab_Command_elabMacroRulesAux___lambda__1___closed__3; x_20 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_20, 0, x_19); lean_ctor_set(x_20, 1, x_18); -x_21 = l_Lean_Elab_Term_mkConst___closed__4; +x_21 = l_Array_forMAux___main___at_Lean_Meta_clear___spec__41___closed__8; x_22 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_22, 0, x_20); lean_ctor_set(x_22, 1, x_21); @@ -9769,7 +9769,7 @@ x_27 = l_Lean_Elab_Command_elabMacroRulesAux___lambda__1___closed__6; x_28 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_28, 0, x_27); lean_ctor_set(x_28, 1, x_26); -x_29 = l_Lean_Elab_Term_mkConst___closed__4; +x_29 = l_Array_forMAux___main___at_Lean_Meta_clear___spec__41___closed__8; x_30 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_30, 0, x_28); lean_ctor_set(x_30, 1, x_29); diff --git a/stage0/stdlib/Init/Lean/Elab/Tactic/Basic.c b/stage0/stdlib/Init/Lean/Elab/Tactic/Basic.c index db14c23b05..34eca231ff 100644 --- a/stage0/stdlib/Init/Lean/Elab/Tactic/Basic.c +++ b/stage0/stdlib/Init/Lean/Elab/Tactic/Basic.c @@ -116,6 +116,7 @@ uint8_t l_PersistentHashMap_containsAux___main___at_Lean_Elab_Tactic_addBuiltinT lean_object* l_Lean_Elab_Tactic_getLocalInsts(lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_monadLog___closed__10; lean_object* l_Lean_Elab_Tactic_mkTacticAttribute___closed__1; +lean_object* l_Array_umapMAux___main___at_Lean_Elab_Tactic_evalRevert___spec__1___closed__1; lean_object* l_Lean_Elab_Tactic_registerBuiltinTacticAttr___closed__4; lean_object* l_Lean_Elab_Tactic_restore___boxed(lean_object*, lean_object*); lean_object* l___regBuiltinTactic_Lean_Elab_Tactic_evalNestedTacticBlock___closed__1; @@ -177,6 +178,7 @@ lean_object* l___regBuiltinTactic_Lean_Elab_Tactic_evalTraceState(lean_object*); lean_object* l_PersistentHashMap_contains___at_Lean_Elab_Tactic_addBuiltinTactic___spec__4___boxed(lean_object*, lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Tactic_Basic_4__regTraceClasses___closed__1; +lean_object* l_Lean_Expr_fvarId_x21(lean_object*); lean_object* l___regBuiltinTactic_Lean_Elab_Tactic_evalNestedTacticBlock___closed__3; lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_liftTermElabM(lean_object*); @@ -211,12 +213,14 @@ lean_object* lean_name_mk_string(lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_builtinTacticTable; lean_object* l_Lean_Elab_Tactic_tacticElabAttribute___closed__4; lean_object* l_Lean_Elab_Term_throwError___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_revert___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_monadLog___lambda__4___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_State_inhabited___closed__1; lean_object* l_Lean_collectMVars(lean_object*, lean_object*); lean_object* l___regBuiltinTactic_Lean_Elab_Tactic_evalSeq___closed__2; lean_object* l_Lean_Elab_Tactic_evalParen___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_monadLog___lambda__2___boxed(lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Meta_revert___closed__1; lean_object* l_Lean_Elab_Term_throwUnsupportedSyntax___boxed(lean_object*, lean_object*); lean_object* l___regBuiltinTactic_Lean_Elab_Tactic_evalTraceState___closed__3; lean_object* l_Lean_Elab_Tactic_getMainGoal(lean_object*, lean_object*, lean_object*); @@ -261,6 +265,7 @@ lean_object* l_Lean_Elab_Tactic_evalNestedTacticBlock(lean_object*, lean_object* lean_object* l_Lean_Elab_Tactic_tacticElabAttribute; lean_object* l_Lean_ConstantInfo_type(lean_object*); lean_object* l_Lean_MessageData_joinSep___main(lean_object*, lean_object*); +lean_object* l_Array_umapMAux___main___at_Lean_Elab_Tactic_evalRevert___spec__1___closed__2; lean_object* l_Lean_Elab_Tactic_State_inhabited; lean_object* l_HashMapImp_find_x3f___at_Lean_Elab_Tactic_evalTactic___main___spec__5(lean_object*, lean_object*); lean_object* l___regBuiltinTactic_Lean_Elab_Tactic_evalTraceState___closed__1; @@ -271,6 +276,7 @@ extern lean_object* l_Lean_Parser_Tactic_case___elambda__1___closed__2; extern lean_object* l_Lean_nullKind___closed__2; lean_object* l_Lean_Elab_Tactic_monadLog___lambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ParametricAttribute_setParam___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_evalRevert(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_evalAssumption___lambda__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_liftMetaTactic___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinTactic_Lean_Elab_Tactic_evalOrelse___closed__1; @@ -290,6 +296,7 @@ lean_object* l_Lean_Elab_goalsToMessageData(lean_object*); lean_object* l_Lean_Elab_Term_liftMetaM___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_MetavarContext_isAnonymousMVar(lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_registerBuiltinTacticAttr___lambda__1___closed__4; +lean_object* l___regBuiltinTactic_Lean_Elab_Tactic_evalRevert___closed__2; lean_object* l_Lean_Elab_Tactic_Lean_Elab_MonadMacroAdapter___closed__5; lean_object* l_Lean_Elab_Tactic_evalAssumption___lambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlStepMAux___main___at_Lean_Elab_Tactic_evalTactic___main___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -305,8 +312,10 @@ extern lean_object* l_Lean_Elab_macroAttribute; lean_object* l_Lean_Elab_Tactic_liftMetaTactic(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_evalTactic___main___closed__1; lean_object* lean_environment_main_module(lean_object*); +extern lean_object* l_Array_forMAux___main___at_Lean_Meta_clear___spec__41___closed__8; lean_object* l_Lean_Elab_Tactic_evalTactic___main___lambda__1___boxed(lean_object*, lean_object*); lean_object* l_PersistentHashMap_empty___at_Lean_Elab_Tactic_mkBuiltinTacticTable___spec__3; +lean_object* l_Lean_Elab_Tactic_evalRevert___closed__1; lean_object* l_Lean_Elab_Tactic_ensureHasNoMVars___closed__2; lean_object* l_Lean_Elab_Tactic_evalNestedTacticBlockCurly(lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_bind___at_Lean_Elab_Tactic_monadLog___spec__2(lean_object*, lean_object*); @@ -328,6 +337,7 @@ lean_object* l_Lean_Elab_Tactic_resettingSynthInstanceCache(lean_object*); lean_object* l_Lean_Elab_Tactic_evalAssumption(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_save(lean_object*); lean_object* l_Lean_Elab_Tactic_evalCase___closed__2; +lean_object* l___regBuiltinTactic_Lean_Elab_Tactic_evalRevert___closed__3; lean_object* l_Lean_Elab_Tactic_monadLog___closed__2; lean_object* l_Lean_Elab_Tactic_setGoals(lean_object*, lean_object*, lean_object*); uint8_t l_PersistentHashMap_containsAtAux___main___at_Lean_Parser_isValidSyntaxNodeKind___spec__3(lean_object*, lean_object*, lean_object*); @@ -337,10 +347,12 @@ lean_object* l_Lean_Elab_Tactic_tagUntaggedGoals(lean_object*, lean_object*, lea extern lean_object* l_Lean_Parser_Tactic_orelse___elambda__1___closed__1; lean_object* l_Lean_Elab_Tactic_getOptions___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_declareBuiltinTactic___closed__2; +lean_object* l_Array_umapMAux___main___at_Lean_Elab_Tactic_evalRevert___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_withMVarContext___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Name_isSuffixOf___main(lean_object*, lean_object*); lean_object* l___regBuiltinTactic_Lean_Elab_Tactic_evalParen___closed__3; lean_object* l_Lean_Elab_Tactic_logTrace(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltinTactic_Lean_Elab_Tactic_evalRevert___closed__1; lean_object* lean_io_ref_reset(lean_object*, lean_object*); lean_object* l_Lean_Meta_introNCore___at_Lean_Meta_introN___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_withFreshMacroScope___rarg(lean_object*, lean_object*, lean_object*); @@ -385,8 +397,10 @@ lean_object* l_Lean_PersistentEnvExtension_getState___rarg(lean_object*, lean_ob lean_object* l_Lean_Elab_Tactic_evalTraceState___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_tacticElabAttribute___closed__3; lean_object* l_Lean_Elab_Tactic_evalIntro___lambda__2(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_evalRevert___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinTactic_Lean_Elab_Tactic_evalNestedTacticBlock(lean_object*); lean_object* l_HashMapImp_contains___at_Lean_Elab_Tactic_addBuiltinTactic___spec__2___boxed(lean_object*, lean_object*); +lean_object* l_Array_umapMAux___main___at_Lean_Elab_Tactic_evalRevert___spec__1___closed__3; extern lean_object* l_Lean_Parser_regBuiltinTacticParserAttr___closed__3; lean_object* l_Lean_Elab_Tactic_throwUnsupportedSyntax___rarg(lean_object*, lean_object*); uint8_t l_AssocList_contains___main___at_Lean_Elab_Tactic_addBuiltinTactic___spec__3(lean_object*, lean_object*); @@ -462,12 +476,14 @@ lean_object* l_Lean_Elab_Tactic_getEnv___boxed(lean_object*); extern lean_object* l_Lean_Parser_Tactic_nestedTacticBlock___elambda__1___closed__2; lean_object* l___regBuiltinTactic_Lean_Elab_Tactic_evalParen___closed__2; lean_object* l_Lean_Elab_mkMessageAt___at_Lean_Elab_Tactic_evalTraceState___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___regBuiltinTactic_Lean_Elab_Tactic_evalRevert(lean_object*); lean_object* l___regBuiltinTactic_Lean_Elab_Tactic_evalIntro___closed__1; lean_object* l_AssocList_contains___main___at_Lean_Elab_Tactic_addBuiltinTactic___spec__3___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_Lean_Elab_MonadMacroAdapter___lambda__2___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_monadLog___closed__4; lean_object* l_Lean_Elab_Tactic_getMCtx(lean_object*); lean_object* l_Lean_Elab_Tactic_throwError___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_isLocalTermId_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_mkHashMap___at_Lean_Elab_Tactic_mkBuiltinTacticTable___spec__2(lean_object*); extern lean_object* l_Lean_Elab_declareBuiltinMacro___closed__3; lean_object* l_Lean_Elab_Tactic_monadLog___closed__9; @@ -15037,6 +15053,403 @@ x_5 = l_Lean_Elab_Tactic_addBuiltinTactic(x_2, x_3, x_4, x_1); return x_5; } } +lean_object* _init_l_Array_umapMAux___main___at_Lean_Elab_Tactic_evalRevert___spec__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("unknown variable '"); +return x_1; +} +} +lean_object* _init_l_Array_umapMAux___main___at_Lean_Elab_Tactic_evalRevert___spec__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Array_umapMAux___main___at_Lean_Elab_Tactic_evalRevert___spec__1___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_Array_umapMAux___main___at_Lean_Elab_Tactic_evalRevert___spec__1___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Array_umapMAux___main___at_Lean_Elab_Tactic_evalRevert___spec__1___closed__2; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* l_Array_umapMAux___main___at_Lean_Elab_Tactic_evalRevert___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; uint8_t x_6; +x_5 = lean_array_get_size(x_2); +x_6 = lean_nat_dec_lt(x_1, 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_3); +lean_dec(x_1); +x_7 = l_Array_empty___closed__1; +x_8 = x_2; +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; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_10 = lean_array_fget(x_2, x_1); +x_11 = lean_box(0); +x_12 = x_11; +x_13 = lean_array_fset(x_2, x_1, x_12); +x_14 = 1; +x_15 = lean_box(x_14); +lean_inc(x_10); +x_16 = lean_alloc_closure((void*)(l_Lean_Elab_Term_isLocalTermId_x3f___boxed), 4, 2); +lean_closure_set(x_16, 0, x_10); +lean_closure_set(x_16, 1, x_15); +lean_inc(x_3); +x_17 = l_Lean_Elab_Tactic_liftTermElabM___rarg(x_16, x_3, x_4); +if (lean_obj_tag(x_17) == 0) +{ +lean_object* x_18; +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +if (lean_obj_tag(x_18) == 0) +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +x_20 = l_Lean_Syntax_getId(x_10); +x_21 = l_System_FilePath_dirName___closed__1; +x_22 = l_Lean_Name_toStringWithSep___main(x_21, x_20); +x_23 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_23, 0, x_22); +x_24 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_24, 0, x_23); +x_25 = l_Array_umapMAux___main___at_Lean_Elab_Tactic_evalRevert___spec__1___closed__3; +x_26 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_24); +x_27 = l_Array_forMAux___main___at_Lean_Meta_clear___spec__41___closed__8; +x_28 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_28, 0, x_26); +lean_ctor_set(x_28, 1, x_27); +lean_inc(x_3); +lean_inc(x_10); +x_29 = l_Lean_Elab_Tactic_throwError___rarg(x_10, x_28, x_3, x_19); +if (lean_obj_tag(x_29) == 0) +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_29, 1); +lean_inc(x_31); +lean_dec(x_29); +x_32 = lean_unsigned_to_nat(1u); +x_33 = lean_nat_add(x_1, x_32); +x_34 = x_30; +lean_dec(x_10); +x_35 = lean_array_fset(x_13, x_1, x_34); +lean_dec(x_1); +x_1 = x_33; +x_2 = x_35; +x_4 = x_31; +goto _start; +} +else +{ +uint8_t x_37; +lean_dec(x_13); +lean_dec(x_10); +lean_dec(x_3); +lean_dec(x_1); +x_37 = !lean_is_exclusive(x_29); +if (x_37 == 0) +{ +return x_29; +} +else +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_38 = lean_ctor_get(x_29, 0); +x_39 = lean_ctor_get(x_29, 1); +lean_inc(x_39); +lean_inc(x_38); +lean_dec(x_29); +x_40 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_40, 0, x_38); +lean_ctor_set(x_40, 1, x_39); +return x_40; +} +} +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_41 = lean_ctor_get(x_17, 1); +lean_inc(x_41); +lean_dec(x_17); +x_42 = lean_ctor_get(x_18, 0); +lean_inc(x_42); +lean_dec(x_18); +x_43 = l_Lean_Expr_fvarId_x21(x_42); +lean_dec(x_42); +x_44 = lean_unsigned_to_nat(1u); +x_45 = lean_nat_add(x_1, x_44); +x_46 = x_43; +lean_dec(x_10); +x_47 = lean_array_fset(x_13, x_1, x_46); +lean_dec(x_1); +x_1 = x_45; +x_2 = x_47; +x_4 = x_41; +goto _start; +} +} +else +{ +uint8_t x_49; +lean_dec(x_13); +lean_dec(x_10); +lean_dec(x_3); +lean_dec(x_1); +x_49 = !lean_is_exclusive(x_17); +if (x_49 == 0) +{ +return x_17; +} +else +{ +lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_50 = lean_ctor_get(x_17, 0); +x_51 = lean_ctor_get(x_17, 1); +lean_inc(x_51); +lean_inc(x_50); +lean_dec(x_17); +x_52 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_52, 0, x_50); +lean_ctor_set(x_52, 1, x_51); +return x_52; +} +} +} +} +} +lean_object* l_Lean_Elab_Tactic_evalRevert___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +uint8_t x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_7 = 0; +x_8 = lean_box(x_7); +x_9 = lean_alloc_closure((void*)(l_Lean_Meta_revert___boxed), 5, 3); +lean_closure_set(x_9, 0, x_1); +lean_closure_set(x_9, 1, x_4); +lean_closure_set(x_9, 2, x_8); +lean_inc(x_5); +x_10 = l_Lean_Elab_Tactic_liftMetaM___rarg(x_2, x_9, x_5, x_6); +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; +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_10, 1); +lean_inc(x_12); +lean_dec(x_10); +x_13 = lean_ctor_get(x_11, 1); +lean_inc(x_13); +lean_dec(x_11); +x_14 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_3); +x_15 = l_Lean_Elab_Tactic_setGoals(x_14, x_5, x_12); +lean_dec(x_5); +return x_15; +} +else +{ +uint8_t x_16; +lean_dec(x_5); +lean_dec(x_3); +x_16 = !lean_is_exclusive(x_10); +if (x_16 == 0) +{ +return x_10; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_17 = lean_ctor_get(x_10, 0); +x_18 = lean_ctor_get(x_10, 1); +lean_inc(x_18); +lean_inc(x_17); +lean_dec(x_10); +x_19 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_19, 0, x_17); +lean_ctor_set(x_19, 1, x_18); +return x_19; +} +} +} +} +lean_object* _init_l_Lean_Elab_Tactic_evalRevert___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_seq___elambda__1___closed__2; +x_2 = l_Lean_Meta_revert___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* l_Lean_Elab_Tactic_evalRevert(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; lean_object* x_25; uint8_t x_26; +x_25 = l_Lean_Elab_Tactic_evalRevert___closed__1; +lean_inc(x_1); +x_26 = l_Lean_Syntax_isOfKind(x_1, x_25); +if (x_26 == 0) +{ +uint8_t x_27; +x_27 = 0; +x_4 = x_27; +goto block_24; +} +else +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; +x_28 = l_Lean_Syntax_getArgs(x_1); +x_29 = lean_array_get_size(x_28); +lean_dec(x_28); +x_30 = lean_unsigned_to_nat(2u); +x_31 = lean_nat_dec_eq(x_29, x_30); +lean_dec(x_29); +x_4 = x_31; +goto block_24; +} +block_24: +{ +uint8_t x_5; +x_5 = l_coeDecidableEq(x_4); +if (x_5 == 0) +{ +lean_object* x_6; +lean_dec(x_1); +x_6 = l_Lean_Elab_Tactic_throwUnsupportedSyntax___rarg(x_2, x_3); +return x_6; +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_7 = lean_unsigned_to_nat(1u); +x_8 = l_Lean_Syntax_getArg(x_1, x_7); +x_9 = l_Lean_Syntax_getArgs(x_8); +lean_dec(x_8); +lean_inc(x_2); +lean_inc(x_1); +x_10 = l_Lean_Elab_Tactic_getMainGoal(x_1, x_2, x_3); +if (lean_obj_tag(x_10) == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_10, 1); +lean_inc(x_12); +lean_dec(x_10); +x_13 = lean_ctor_get(x_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_unsigned_to_nat(0u); +x_16 = lean_alloc_closure((void*)(l_Array_umapMAux___main___at_Lean_Elab_Tactic_evalRevert___spec__1), 4, 2); +lean_closure_set(x_16, 0, x_15); +lean_closure_set(x_16, 1, x_9); +lean_inc(x_13); +x_17 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalRevert___lambda__1), 6, 3); +lean_closure_set(x_17, 0, x_13); +lean_closure_set(x_17, 1, x_1); +lean_closure_set(x_17, 2, x_14); +x_18 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_monadLog___spec__2___rarg), 4, 2); +lean_closure_set(x_18, 0, x_16); +lean_closure_set(x_18, 1, x_17); +x_19 = l_Lean_Elab_Tactic_withMVarContext___rarg(x_13, x_18, x_2, x_12); +lean_dec(x_13); +return x_19; +} +else +{ +uint8_t x_20; +lean_dec(x_9); +lean_dec(x_2); +lean_dec(x_1); +x_20 = !lean_is_exclusive(x_10); +if (x_20 == 0) +{ +return x_10; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_10, 0); +x_22 = lean_ctor_get(x_10, 1); +lean_inc(x_22); +lean_inc(x_21); +lean_dec(x_10); +x_23 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_23, 0, x_21); +lean_ctor_set(x_23, 1, x_22); +return x_23; +} +} +} +} +} +} +lean_object* _init_l___regBuiltinTactic_Lean_Elab_Tactic_evalRevert___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("evalRevert"); +return x_1; +} +} +lean_object* _init_l___regBuiltinTactic_Lean_Elab_Tactic_evalRevert___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Tactic_declareBuiltinTactic___closed__3; +x_2 = l___regBuiltinTactic_Lean_Elab_Tactic_evalRevert___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* _init_l___regBuiltinTactic_Lean_Elab_Tactic_evalRevert___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalRevert), 3, 0); +return x_1; +} +} +lean_object* l___regBuiltinTactic_Lean_Elab_Tactic_evalRevert(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_2 = l_Lean_Elab_Tactic_evalRevert___closed__1; +x_3 = l___regBuiltinTactic_Lean_Elab_Tactic_evalRevert___closed__2; +x_4 = l___regBuiltinTactic_Lean_Elab_Tactic_evalRevert___closed__3; +x_5 = l_Lean_Elab_Tactic_addBuiltinTactic(x_2, x_3, x_4, x_1); +return x_5; +} +} lean_object* l_Lean_Elab_Tactic_evalParen(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -16052,6 +16465,23 @@ lean_mark_persistent(l___regBuiltinTactic_Lean_Elab_Tactic_evalIntros___closed__ res = l___regBuiltinTactic_Lean_Elab_Tactic_evalIntros(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +l_Array_umapMAux___main___at_Lean_Elab_Tactic_evalRevert___spec__1___closed__1 = _init_l_Array_umapMAux___main___at_Lean_Elab_Tactic_evalRevert___spec__1___closed__1(); +lean_mark_persistent(l_Array_umapMAux___main___at_Lean_Elab_Tactic_evalRevert___spec__1___closed__1); +l_Array_umapMAux___main___at_Lean_Elab_Tactic_evalRevert___spec__1___closed__2 = _init_l_Array_umapMAux___main___at_Lean_Elab_Tactic_evalRevert___spec__1___closed__2(); +lean_mark_persistent(l_Array_umapMAux___main___at_Lean_Elab_Tactic_evalRevert___spec__1___closed__2); +l_Array_umapMAux___main___at_Lean_Elab_Tactic_evalRevert___spec__1___closed__3 = _init_l_Array_umapMAux___main___at_Lean_Elab_Tactic_evalRevert___spec__1___closed__3(); +lean_mark_persistent(l_Array_umapMAux___main___at_Lean_Elab_Tactic_evalRevert___spec__1___closed__3); +l_Lean_Elab_Tactic_evalRevert___closed__1 = _init_l_Lean_Elab_Tactic_evalRevert___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalRevert___closed__1); +l___regBuiltinTactic_Lean_Elab_Tactic_evalRevert___closed__1 = _init_l___regBuiltinTactic_Lean_Elab_Tactic_evalRevert___closed__1(); +lean_mark_persistent(l___regBuiltinTactic_Lean_Elab_Tactic_evalRevert___closed__1); +l___regBuiltinTactic_Lean_Elab_Tactic_evalRevert___closed__2 = _init_l___regBuiltinTactic_Lean_Elab_Tactic_evalRevert___closed__2(); +lean_mark_persistent(l___regBuiltinTactic_Lean_Elab_Tactic_evalRevert___closed__2); +l___regBuiltinTactic_Lean_Elab_Tactic_evalRevert___closed__3 = _init_l___regBuiltinTactic_Lean_Elab_Tactic_evalRevert___closed__3(); +lean_mark_persistent(l___regBuiltinTactic_Lean_Elab_Tactic_evalRevert___closed__3); +res = l___regBuiltinTactic_Lean_Elab_Tactic_evalRevert(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); l___regBuiltinTactic_Lean_Elab_Tactic_evalParen___closed__1 = _init_l___regBuiltinTactic_Lean_Elab_Tactic_evalParen___closed__1(); lean_mark_persistent(l___regBuiltinTactic_Lean_Elab_Tactic_evalParen___closed__1); l___regBuiltinTactic_Lean_Elab_Tactic_evalParen___closed__2 = _init_l___regBuiltinTactic_Lean_Elab_Tactic_evalParen___closed__2(); diff --git a/stage0/stdlib/Init/Lean/Elab/Term.c b/stage0/stdlib/Init/Lean/Elab/Term.c index 239df651c5..87b453b32e 100644 --- a/stage0/stdlib/Init/Lean/Elab/Term.c +++ b/stage0/stdlib/Init/Lean/Elab/Term.c @@ -216,7 +216,6 @@ extern lean_object* l_Lean_Parser_Term_cons___elambda__1___closed__1; lean_object* l_Lean_Elab_Term_dbgTrace___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabRawStrLit___closed__3; extern lean_object* l_Lean_Parser_Term_sort___elambda__1___closed__2; -extern lean_object* l_Lean_Meta_MetaHasEval___rarg___closed__4; lean_object* l_Lean_Elab_Term_assignExprMVar(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getMainModule___rarg(lean_object*); lean_object* l_Lean_Elab_Term_Exception_hasToString(lean_object*); @@ -272,7 +271,6 @@ lean_object* l_Lean_Elab_Term_withConfig___rarg(lean_object*, lean_object*, lean lean_object* l_Lean_Elab_Term_tryCoe___closed__4; lean_object* l_Lean_Elab_Term_mkFreshAnonymousName___boxed(lean_object*); extern lean_object* l_Lean_Meta_dbgTrace___rarg___closed__1; -lean_object* l_Lean_Elab_Term_mkConst___closed__6; lean_object* l_Lean_Elab_Term_monadLog___closed__5; extern lean_object* l_Lean_Parser_termParser___closed__1; lean_object* l___private_Init_Lean_Elab_Term_2__fromMetaException(lean_object*, lean_object*, lean_object*); @@ -455,7 +453,6 @@ extern lean_object* l_Lean_mkAppStx___closed__6; extern lean_object* l_Lean_Options_empty; lean_object* l___private_Init_Lean_Elab_Term_18__regTraceClasses(lean_object*); lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_Elab_Term_4__hasCDot___main___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_mkConst___closed__7; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabTypeStx___closed__3; lean_object* l_Lean_Elab_Term_elabTermAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabLevel___boxed(lean_object*, lean_object*, lean_object*); @@ -506,6 +503,7 @@ lean_object* l_Lean_Elab_Term_TermElabM_inhabited___boxed(lean_object*, lean_obj lean_object* l_Lean_Elab_Term_mkFreshAnonymousIdent___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabRawNumLit(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabTermAux___main___closed__3; +extern lean_object* l_IO_runMeta___rarg___closed__4; extern lean_object* l_Lean_PersistentEnvExtension_inhabited___rarg___closed__3; lean_object* l_Lean_Elab_Term_Lean_Elab_MonadMacroAdapter___lambda__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ConstantInfo_type(lean_object*); @@ -591,6 +589,7 @@ lean_object* l_Lean_Elab_Term_withReducible(lean_object*); lean_object* l_PersistentHashMap_contains___at_Lean_Elab_Term_addBuiltinTermElab___spec__4___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_TermElabM_inhabited___rarg(lean_object*); uint8_t l_Lean_Expr_isMVar(lean_object*); +extern lean_object* l_Array_forMAux___main___at_Lean_Meta_clear___spec__41___closed__8; lean_object* l_Lean_Elab_Term_monadLog___closed__9; lean_object* l_Lean_Meta_mkFreshExprMVar(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkConst___closed__5; @@ -795,7 +794,7 @@ lean_object* l_ReaderT_lift___at_Lean_Elab_Term_Lean_Elab_MonadMacroAdapter___sp lean_object* l_Lean_Message_toString(lean_object*); lean_object* l_Lean_mkAppB(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Term_char___elambda__1___closed__2; -lean_object* l_Lean_Elab_Term_isLocalTermId_x3f(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_isLocalTermId_x3f(lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l_Lean_indentExpr(lean_object*); lean_object* l_Lean_Elab_Term_Lean_Elab_MonadMacroAdapter___closed__8; lean_object* l_Lean_Elab_Term_trace(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -856,7 +855,7 @@ lean_object* l_Lean_Elab_Term_mkFreshInstanceName___rarg___closed__2; lean_object* l_Lean_mkApp3(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_decLevel_x3f(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_monadLog___lambda__2(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_isLocalTermId_x3f___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_isLocalTermId_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabTacticBlock___closed__1; lean_object* l_Lean_Elab_Term_expandCDot_x3f(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_NameGenerator_Inhabited___closed__3; @@ -877,7 +876,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; x_1 = l_Lean_EnvExtension_setState___closed__1; x_2 = l_Lean_MetavarContext_Inhabited___closed__1; -x_3 = l_Lean_Meta_MetaHasEval___rarg___closed__4; +x_3 = l_IO_runMeta___rarg___closed__4; x_4 = l_Lean_NameGenerator_Inhabited___closed__3; x_5 = l_Lean_TraceState_Inhabited___closed__1; x_6 = l_PersistentArray_empty___closed__3; @@ -23581,19 +23580,18 @@ lean_dec(x_2); return x_4; } } -lean_object* l_Lean_Elab_Term_isLocalTermId_x3f(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Elab_Term_isLocalTermId_x3f(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4) { _start: { -uint8_t x_4; lean_object* x_5; -x_4 = 0; -x_5 = l_Lean_Syntax_isTermId_x3f(x_1, x_4); +lean_object* x_5; +x_5 = l_Lean_Syntax_isTermId_x3f(x_1, x_2); if (lean_obj_tag(x_5) == 0) { lean_object* x_6; lean_object* x_7; 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_3); +lean_ctor_set(x_7, 1, x_4); return x_7; } else @@ -23611,7 +23609,7 @@ lean_object* x_10; lean_object* x_11; lean_object* x_12; x_10 = lean_ctor_get(x_9, 2); lean_inc(x_10); lean_dec(x_9); -x_11 = l___private_Init_Lean_Elab_Term_15__resolveLocalName(x_10, x_2, x_3); +x_11 = l___private_Init_Lean_Elab_Term_15__resolveLocalName(x_10, x_3, x_4); x_12 = lean_ctor_get(x_11, 0); lean_inc(x_12); if (lean_obj_tag(x_12) == 0) @@ -23781,19 +23779,21 @@ lean_dec(x_9); x_45 = lean_box(0); x_46 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_46, 0, x_45); -lean_ctor_set(x_46, 1, x_3); +lean_ctor_set(x_46, 1, x_4); return x_46; } } } } -lean_object* l_Lean_Elab_Term_isLocalTermId_x3f___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Elab_Term_isLocalTermId_x3f___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { -lean_object* x_4; -x_4 = l_Lean_Elab_Term_isLocalTermId_x3f(x_1, x_2, x_3); +uint8_t x_5; lean_object* x_6; +x_5 = lean_unbox(x_2); lean_dec(x_2); -return x_4; +x_6 = l_Lean_Elab_Term_isLocalTermId_x3f(x_1, x_5, x_3, x_4); +lean_dec(x_3); +return x_6; } } lean_object* l_Nat_foldMAux___main___at___private_Init_Lean_Elab_Term_16__mkFreshLevelMVars___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { @@ -23888,11 +23888,9 @@ return x_2; lean_object* _init_l_Lean_Elab_Term_mkConst___closed__3() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Char_HasRepr___closed__1; -x_2 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; +lean_object* x_1; +x_1 = lean_mk_string("too many explicit universe levels"); +return x_1; } } lean_object* _init_l_Lean_Elab_Term_mkConst___closed__4() { @@ -23900,7 +23898,7 @@ _start: { lean_object* x_1; lean_object* x_2; x_1 = l_Lean_Elab_Term_mkConst___closed__3; -x_2 = lean_alloc_ctor(0, 1, 0); +x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } @@ -23908,26 +23906,8 @@ return x_2; lean_object* _init_l_Lean_Elab_Term_mkConst___closed__5() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("too many explicit universe levels"); -return x_1; -} -} -lean_object* _init_l_Lean_Elab_Term_mkConst___closed__6() { -_start: -{ lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_mkConst___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_Lean_Elab_Term_mkConst___closed__7() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_mkConst___closed__6; +x_1 = l_Lean_Elab_Term_mkConst___closed__4; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; @@ -23955,7 +23935,7 @@ x_11 = l_Lean_Elab_Term_mkConst___closed__2; x_12 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_12, 0, x_11); lean_ctor_set(x_12, 1, x_10); -x_13 = l_Lean_Elab_Term_mkConst___closed__4; +x_13 = l_Array_forMAux___main___at_Lean_Meta_clear___spec__41___closed__8; x_14 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_14, 0, x_12); lean_ctor_set(x_14, 1, x_13); @@ -24015,7 +23995,7 @@ lean_dec(x_20); lean_dec(x_19); lean_dec(x_3); lean_dec(x_2); -x_33 = l_Lean_Elab_Term_mkConst___closed__7; +x_33 = l_Lean_Elab_Term_mkConst___closed__5; x_34 = l_Lean_Elab_Term_throwError___rarg(x_1, x_33, x_4, x_8); return x_34; } @@ -24439,7 +24419,7 @@ x_30 = l_Lean_Elab_Term_resolveName___closed__3; x_31 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_31, 0, x_30); lean_ctor_set(x_31, 1, x_29); -x_32 = l_Lean_Elab_Term_mkConst___closed__4; +x_32 = l_Array_forMAux___main___at_Lean_Meta_clear___spec__41___closed__8; x_33 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_33, 0, x_31); lean_ctor_set(x_33, 1, x_32); @@ -26038,10 +26018,6 @@ l_Lean_Elab_Term_mkConst___closed__4 = _init_l_Lean_Elab_Term_mkConst___closed__ lean_mark_persistent(l_Lean_Elab_Term_mkConst___closed__4); l_Lean_Elab_Term_mkConst___closed__5 = _init_l_Lean_Elab_Term_mkConst___closed__5(); lean_mark_persistent(l_Lean_Elab_Term_mkConst___closed__5); -l_Lean_Elab_Term_mkConst___closed__6 = _init_l_Lean_Elab_Term_mkConst___closed__6(); -lean_mark_persistent(l_Lean_Elab_Term_mkConst___closed__6); -l_Lean_Elab_Term_mkConst___closed__7 = _init_l_Lean_Elab_Term_mkConst___closed__7(); -lean_mark_persistent(l_Lean_Elab_Term_mkConst___closed__7); l_Lean_Elab_Term_resolveName___closed__1 = _init_l_Lean_Elab_Term_resolveName___closed__1(); lean_mark_persistent(l_Lean_Elab_Term_resolveName___closed__1); l_Lean_Elab_Term_resolveName___closed__2 = _init_l_Lean_Elab_Term_resolveName___closed__2(); diff --git a/stage0/stdlib/Init/Lean/Message.c b/stage0/stdlib/Init/Lean/Message.c index 8e2863072e..b3266e7dac 100644 --- a/stage0/stdlib/Init/Lean/Message.c +++ b/stage0/stdlib/Init/Lean/Message.c @@ -61,7 +61,7 @@ lean_object* lean_message_string(lean_object*); extern lean_object* l_EStateM_Result_toString___rarg___closed__2; lean_object* l_Lean_MessageLog_toList(lean_object*); lean_object* l_PersistentArray_foldlMAux___main___at_Lean_MessageLog_toList___spec__2(lean_object*, lean_object*); -lean_object* l_Lean_ppGoal(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_ppGoal(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_PersistentArray_anyM___at_Lean_MessageLog_hasErrors___spec__1___boxed(lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); lean_object* l_Lean_MessageLog_append(lean_object*, lean_object*); @@ -681,7 +681,7 @@ return x_87; } case 5: { -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_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; x_88 = lean_ctor_get(x_1, 0); lean_inc(x_88); lean_dec(x_1); @@ -692,145 +692,143 @@ x_90 = lean_ctor_get(x_88, 0); lean_inc(x_90); x_91 = lean_ctor_get(x_88, 1); lean_inc(x_91); -x_92 = lean_ctor_get(x_88, 2); +x_92 = lean_ctor_get(x_88, 3); lean_inc(x_92); -x_93 = lean_ctor_get(x_88, 3); -lean_inc(x_93); lean_dec(x_88); -x_94 = l_Lean_ppGoal(x_90, x_91, x_92, x_93, x_89); -return x_94; +x_93 = l_Lean_ppGoal(x_90, x_91, x_92, x_89); +return x_93; } case 6: { -uint8_t x_95; -x_95 = !lean_is_exclusive(x_1); -if (x_95 == 0) +uint8_t x_94; +x_94 = !lean_is_exclusive(x_1); +if (x_94 == 0) { -lean_object* x_96; lean_object* x_97; lean_object* x_98; -x_96 = lean_ctor_get(x_1, 0); -lean_dec(x_96); -x_97 = lean_ctor_get(x_2, 0); +lean_object* x_95; lean_object* x_96; lean_object* x_97; +x_95 = lean_ctor_get(x_1, 0); +lean_dec(x_95); +x_96 = lean_ctor_get(x_2, 0); +lean_inc(x_96); +x_97 = lean_ctor_get(x_2, 1); lean_inc(x_97); -x_98 = lean_ctor_get(x_2, 1); -lean_inc(x_98); lean_dec(x_2); -lean_ctor_set(x_1, 0, x_97); -x_2 = x_98; +lean_ctor_set(x_1, 0, x_96); +x_2 = x_97; goto _start; } else { -lean_object* x_100; lean_object* x_101; lean_object* x_102; +lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_dec(x_1); -x_100 = lean_ctor_get(x_2, 0); +x_99 = lean_ctor_get(x_2, 0); +lean_inc(x_99); +x_100 = lean_ctor_get(x_2, 1); lean_inc(x_100); -x_101 = lean_ctor_get(x_2, 1); -lean_inc(x_101); lean_dec(x_2); -x_102 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_102, 0, x_100); -x_1 = x_102; -x_2 = x_101; +x_101 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_101, 0, x_99); +x_1 = x_101; +x_2 = x_100; goto _start; } } case 7: { -lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; -x_104 = lean_ctor_get(x_2, 0); +lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; +x_103 = lean_ctor_get(x_2, 0); +lean_inc(x_103); +x_104 = lean_ctor_get(x_2, 1); lean_inc(x_104); -x_105 = lean_ctor_get(x_2, 1); -lean_inc(x_105); lean_dec(x_2); -x_106 = l_Lean_MessageData_formatAux___main(x_1, x_105); -x_107 = lean_alloc_ctor(3, 2, 0); -lean_ctor_set(x_107, 0, x_104); -lean_ctor_set(x_107, 1, x_106); -return x_107; +x_105 = l_Lean_MessageData_formatAux___main(x_1, x_104); +x_106 = lean_alloc_ctor(3, 2, 0); +lean_ctor_set(x_106, 0, x_103); +lean_ctor_set(x_106, 1, x_105); +return x_106; } case 8: { -lean_object* x_108; lean_object* x_109; lean_object* x_110; -x_108 = lean_ctor_get(x_2, 0); -lean_inc(x_108); +lean_object* x_107; lean_object* x_108; lean_object* x_109; +x_107 = lean_ctor_get(x_2, 0); +lean_inc(x_107); lean_dec(x_2); -x_109 = l_Lean_MessageData_formatAux___main(x_1, x_108); -x_110 = lean_format_group(x_109); -return x_110; +x_108 = l_Lean_MessageData_formatAux___main(x_1, x_107); +x_109 = lean_format_group(x_108); +return x_109; } case 9: { -lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; uint8_t x_115; lean_object* x_116; -x_111 = lean_ctor_get(x_2, 0); +lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; uint8_t x_114; lean_object* x_115; +x_110 = lean_ctor_get(x_2, 0); +lean_inc(x_110); +x_111 = lean_ctor_get(x_2, 1); lean_inc(x_111); -x_112 = lean_ctor_get(x_2, 1); -lean_inc(x_112); lean_dec(x_2); lean_inc(x_1); +x_112 = l_Lean_MessageData_formatAux___main(x_1, x_110); x_113 = l_Lean_MessageData_formatAux___main(x_1, x_111); -x_114 = l_Lean_MessageData_formatAux___main(x_1, x_112); -x_115 = 0; -x_116 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_116, 0, x_113); -lean_ctor_set(x_116, 1, x_114); -lean_ctor_set_uint8(x_116, sizeof(void*)*2, x_115); -return x_116; +x_114 = 0; +x_115 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_115, 0, x_112); +lean_ctor_set(x_115, 1, x_113); +lean_ctor_set_uint8(x_115, sizeof(void*)*2, x_114); +return x_115; } case 10: { -lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; uint8_t x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; -x_117 = lean_ctor_get(x_2, 0); +lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; uint8_t x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; +x_116 = lean_ctor_get(x_2, 0); +lean_inc(x_116); +x_117 = lean_ctor_get(x_2, 1); lean_inc(x_117); -x_118 = lean_ctor_get(x_2, 1); -lean_inc(x_118); lean_dec(x_2); -x_119 = l_Lean_Name_toString___closed__1; -x_120 = l_Lean_Name_toStringWithSep___main(x_119, x_117); -x_121 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_121, 0, x_120); -x_122 = 0; -x_123 = l_Lean_Format_sbracket___closed__2; -x_124 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_124, 0, x_123); -lean_ctor_set(x_124, 1, x_121); -lean_ctor_set_uint8(x_124, sizeof(void*)*2, x_122); -x_125 = l_Lean_Format_sbracket___closed__3; -x_126 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_126, 0, x_124); -lean_ctor_set(x_126, 1, x_125); -lean_ctor_set_uint8(x_126, sizeof(void*)*2, x_122); -x_127 = l_Lean_Format_sbracket___closed__1; -x_128 = lean_alloc_ctor(3, 2, 0); -lean_ctor_set(x_128, 0, x_127); -lean_ctor_set(x_128, 1, x_126); -x_129 = lean_format_group(x_128); -x_130 = l_Lean_Format_flatten___main___closed__1; -x_131 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_131, 0, x_129); -lean_ctor_set(x_131, 1, x_130); -lean_ctor_set_uint8(x_131, sizeof(void*)*2, x_122); -x_132 = l_Lean_MessageData_formatAux___main(x_1, x_118); -x_133 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_133, 0, x_131); -lean_ctor_set(x_133, 1, x_132); -lean_ctor_set_uint8(x_133, sizeof(void*)*2, x_122); -return x_133; +x_118 = l_Lean_Name_toString___closed__1; +x_119 = l_Lean_Name_toStringWithSep___main(x_118, x_116); +x_120 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_120, 0, x_119); +x_121 = 0; +x_122 = l_Lean_Format_sbracket___closed__2; +x_123 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_123, 0, x_122); +lean_ctor_set(x_123, 1, x_120); +lean_ctor_set_uint8(x_123, sizeof(void*)*2, x_121); +x_124 = l_Lean_Format_sbracket___closed__3; +x_125 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_125, 0, x_123); +lean_ctor_set(x_125, 1, x_124); +lean_ctor_set_uint8(x_125, sizeof(void*)*2, x_121); +x_126 = l_Lean_Format_sbracket___closed__1; +x_127 = lean_alloc_ctor(3, 2, 0); +lean_ctor_set(x_127, 0, x_126); +lean_ctor_set(x_127, 1, x_125); +x_128 = lean_format_group(x_127); +x_129 = l_Lean_Format_flatten___main___closed__1; +x_130 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_130, 0, x_128); +lean_ctor_set(x_130, 1, x_129); +lean_ctor_set_uint8(x_130, sizeof(void*)*2, x_121); +x_131 = l_Lean_MessageData_formatAux___main(x_1, x_117); +x_132 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_132, 0, x_130); +lean_ctor_set(x_132, 1, x_131); +lean_ctor_set_uint8(x_132, sizeof(void*)*2, x_121); +return x_132; } default: { -lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; -x_134 = lean_ctor_get(x_2, 0); -lean_inc(x_134); +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_2, 0); +lean_inc(x_133); lean_dec(x_2); -x_135 = lean_unsigned_to_nat(0u); -x_136 = lean_box(0); -x_137 = l_Array_iterateMAux___main___at_Lean_MessageData_formatAux___main___spec__3(x_1, x_134, x_134, x_135, x_136); -lean_dec(x_134); -x_138 = lean_unsigned_to_nat(2u); -x_139 = lean_alloc_ctor(3, 2, 0); -lean_ctor_set(x_139, 0, x_138); -lean_ctor_set(x_139, 1, x_137); -return x_139; +x_134 = lean_unsigned_to_nat(0u); +x_135 = lean_box(0); +x_136 = l_Array_iterateMAux___main___at_Lean_MessageData_formatAux___main___spec__3(x_1, x_133, x_133, x_134, x_135); +lean_dec(x_133); +x_137 = lean_unsigned_to_nat(2u); +x_138 = lean_alloc_ctor(3, 2, 0); +lean_ctor_set(x_138, 0, x_137); +lean_ctor_set(x_138, 1, x_136); +return x_138; } } } diff --git a/stage0/stdlib/Init/Lean/Meta/AppBuilder.c b/stage0/stdlib/Init/Lean/Meta/AppBuilder.c index d9822e6614..bb309e86cf 100644 --- a/stage0/stdlib/Init/Lean/Meta/AppBuilder.c +++ b/stage0/stdlib/Init/Lean/Meta/AppBuilder.c @@ -20,6 +20,7 @@ lean_object* l_Lean_Expr_mvarId_x21(lean_object*); lean_object* l_Lean_Expr_eq_x3f___boxed(lean_object*); lean_object* l___private_Init_Lean_Util_Trace_5__checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___main___spec__2(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkHEqSymm___closed__2; +lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* l_Lean_Meta_mkCongr___closed__1; lean_object* l_Lean_mkApp6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Meta_AppBuilder_2__mkAppMFinal___closed__3; @@ -32,11 +33,13 @@ extern lean_object* l_Array_empty___closed__1; lean_object* l_Lean_Meta_mkCongr(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkCongrFun(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Util_Trace_3__getResetTraces___at___private_Init_Lean_Meta_LevelDefEq_10__processPostponedStep___spec__6___rarg(lean_object*); +lean_object* l_Lean_Meta_mkEqRec(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isAppOf(lean_object*, lean_object*); lean_object* l___private_Init_Lean_Meta_AppBuilder_2__mkAppMFinal___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); lean_object* l_Lean_Meta_mkCongrArg___closed__2; +lean_object* l_Lean_Meta_mkEqNDRec___closed__3; lean_object* lean_nat_add(lean_object*, lean_object*); lean_object* l_Lean_Meta_mkEqRefl(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_getAppNumArgsAux___main(lean_object*, lean_object*); @@ -56,17 +59,21 @@ lean_object* l_Lean_Meta_mkCongrArg___closed__3; lean_object* l_Lean_Expr_heq_x3f___closed__2; lean_object* l_Lean_Expr_heq_x3f(lean_object*); lean_object* lean_instantiate_type_lparams(lean_object*, lean_object*); +lean_object* l_Lean_Meta_mkEqRec___closed__2; lean_object* l_Array_forMAux___main___at___private_Init_Lean_Meta_AppBuilder_2__mkAppMFinal___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkHEqRefl___closed__1; lean_object* l_Lean_Expr_eq_x3f(lean_object*); lean_object* l_Lean_Meta_mkEqTrans___closed__1; lean_object* l___private_Init_Lean_Meta_AppBuilder_2__mkAppMFinal(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_mkEqRec___closed__1; lean_object* lean_name_mk_string(lean_object*, lean_object*); +lean_object* l_Lean_Meta_mkEqNDRec(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkEqTrans___closed__2; lean_object* l_Lean_Meta_mkCongrFun___closed__1; lean_object* l_Lean_mkLambda(lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkCongrFun___closed__2; lean_object* l_Lean_Meta_mkEqSymm___closed__3; +lean_object* l_Lean_Meta_mkEqNDRec___closed__4; uint8_t l_Lean_Expr_isForall(lean_object*); lean_object* l_Lean_Meta_mkEqRefl___closed__1; lean_object* l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -74,12 +81,14 @@ uint8_t l_Lean_Expr_isAppOfArity___main(lean_object*, lean_object*, lean_object* uint8_t l_Lean_Expr_Data_binderInfo(uint64_t); lean_object* l_Lean_Meta_mkEqRefl___closed__2; lean_object* l_Lean_Expr_heq_x3f___closed__1; +lean_object* l_Lean_Meta_mkEqNDRec___closed__1; lean_object* l_Lean_Expr_heq_x3f___boxed(lean_object*); lean_object* l_Lean_ConstantInfo_lparams(lean_object*); lean_object* l_Lean_Meta_assignExprMVar(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_synthInstance(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_hasAssignableMVar(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_arrow_x3f(lean_object*); +lean_object* l_Lean_Meta_mkEqNDRec___closed__2; lean_object* l_List_mapM___main___at_Lean_Meta_mkAppM___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_getRevArg_x21___main(lean_object*, lean_object*); lean_object* l_Lean_Meta_mkFreshExprMVar(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); @@ -6873,6 +6882,1676 @@ lean_dec(x_2); return x_5; } } +lean_object* _init_l_Lean_Meta_mkEqNDRec___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("ndrec"); +return x_1; +} +} +lean_object* _init_l_Lean_Meta_mkEqNDRec___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Expr_eq_x3f___closed__2; +x_2 = l_Lean_Meta_mkEqNDRec___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_Meta_mkEqNDRec___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("invalid motive"); +return x_1; +} +} +lean_object* _init_l_Lean_Meta_mkEqNDRec___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(6u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +lean_object* l_Lean_Meta_mkEqNDRec(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 = l_Lean_Meta_mkEqRefl___closed__2; +x_7 = l_Lean_Expr_isAppOf(x_3, x_6); +if (x_7 == 0) +{ +lean_object* x_8; +lean_inc(x_4); +lean_inc(x_3); +x_8 = l___private_Init_Lean_Meta_AppBuilder_1__infer(x_3, x_4, x_5); +if (lean_obj_tag(x_8) == 0) +{ +uint8_t x_9; +x_9 = !lean_is_exclusive(x_8); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_10 = lean_ctor_get(x_8, 0); +x_11 = lean_ctor_get(x_8, 1); +x_12 = l_Lean_Expr_eq_x3f___closed__2; +x_13 = lean_unsigned_to_nat(3u); +x_14 = l_Lean_Expr_isAppOfArity___main(x_10, x_12, x_13); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +lean_dec(x_10); +lean_dec(x_2); +lean_dec(x_1); +x_15 = lean_ctor_get(x_11, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_11, 1); +lean_inc(x_16); +x_17 = lean_ctor_get(x_4, 1); +lean_inc(x_17); +x_18 = lean_ctor_get(x_4, 0); +lean_inc(x_18); +lean_dec(x_4); +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +lean_dec(x_18); +x_20 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_20, 0, x_15); +lean_ctor_set(x_20, 1, x_16); +lean_ctor_set(x_20, 2, x_17); +lean_ctor_set(x_20, 3, x_19); +x_21 = l_Lean_mkOptionalNode___closed__2; +x_22 = lean_array_push(x_21, x_3); +x_23 = l_Lean_Meta_mkEqNDRec___closed__2; +x_24 = l_Lean_Meta_mkEqSymm___closed__3; +x_25 = lean_alloc_ctor(16, 4, 0); +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set(x_25, 1, x_24); +lean_ctor_set(x_25, 2, x_22); +lean_ctor_set(x_25, 3, x_20); +lean_ctor_set_tag(x_8, 1); +lean_ctor_set(x_8, 0, x_25); +return x_8; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_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_free_object(x_8); +x_26 = lean_unsigned_to_nat(0u); +x_27 = l_Lean_Expr_getAppNumArgsAux___main(x_10, x_26); +x_28 = lean_nat_sub(x_27, x_26); +x_29 = lean_unsigned_to_nat(1u); +x_30 = lean_nat_sub(x_28, x_29); +lean_dec(x_28); +x_31 = l_Lean_Expr_getRevArg_x21___main(x_10, x_30); +x_32 = lean_nat_sub(x_27, x_29); +x_33 = lean_nat_sub(x_32, x_29); +lean_dec(x_32); +x_34 = l_Lean_Expr_getRevArg_x21___main(x_10, x_33); +x_35 = lean_unsigned_to_nat(2u); +x_36 = lean_nat_sub(x_27, x_35); +lean_dec(x_27); +x_37 = lean_nat_sub(x_36, x_29); +lean_dec(x_36); +x_38 = l_Lean_Expr_getRevArg_x21___main(x_10, x_37); +lean_dec(x_10); +lean_inc(x_4); +lean_inc(x_31); +x_39 = l_Lean_Meta_getLevel(x_31, x_4, x_11); +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; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_39, 0); +x_42 = lean_ctor_get(x_39, 1); +lean_inc(x_4); +lean_inc(x_1); +x_43 = l___private_Init_Lean_Meta_AppBuilder_1__infer(x_1, x_4, x_42); +if (lean_obj_tag(x_43) == 0) +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_44 = lean_ctor_get(x_43, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_43, 1); +lean_inc(x_45); +if (lean_is_exclusive(x_43)) { + lean_ctor_release(x_43, 0); + lean_ctor_release(x_43, 1); + x_46 = x_43; +} else { + lean_dec_ref(x_43); + x_46 = lean_box(0); +} +if (lean_obj_tag(x_44) == 7) +{ +lean_object* x_61; +x_61 = lean_ctor_get(x_44, 2); +lean_inc(x_61); +lean_dec(x_44); +if (lean_obj_tag(x_61) == 3) +{ +lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; +lean_dec(x_46); +lean_dec(x_4); +x_62 = lean_ctor_get(x_61, 0); +lean_inc(x_62); +lean_dec(x_61); +x_63 = lean_box(0); +x_64 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_64, 0, x_41); +lean_ctor_set(x_64, 1, x_63); +x_65 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_65, 0, x_62); +lean_ctor_set(x_65, 1, x_64); +x_66 = l_Lean_Meta_mkEqNDRec___closed__2; +x_67 = l_Lean_mkConst(x_66, x_65); +x_68 = l_Lean_Meta_mkEqNDRec___closed__4; +x_69 = lean_array_push(x_68, x_31); +x_70 = lean_array_push(x_69, x_34); +x_71 = lean_array_push(x_70, x_1); +x_72 = lean_array_push(x_71, x_2); +x_73 = lean_array_push(x_72, x_38); +x_74 = lean_array_push(x_73, x_3); +x_75 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_74, x_74, x_26, x_67); +lean_dec(x_74); +lean_ctor_set(x_39, 1, x_45); +lean_ctor_set(x_39, 0, x_75); +return x_39; +} +else +{ +lean_object* x_76; +lean_dec(x_61); +lean_free_object(x_39); +lean_dec(x_41); +lean_dec(x_38); +lean_dec(x_34); +lean_dec(x_31); +lean_dec(x_3); +lean_dec(x_2); +x_76 = lean_box(0); +x_47 = x_76; +goto block_60; +} +} +else +{ +lean_object* x_77; +lean_dec(x_44); +lean_free_object(x_39); +lean_dec(x_41); +lean_dec(x_38); +lean_dec(x_34); +lean_dec(x_31); +lean_dec(x_3); +lean_dec(x_2); +x_77 = lean_box(0); +x_47 = x_77; +goto block_60; +} +block_60: +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; +lean_dec(x_47); +x_48 = lean_ctor_get(x_45, 0); +lean_inc(x_48); +x_49 = lean_ctor_get(x_45, 1); +lean_inc(x_49); +x_50 = lean_ctor_get(x_4, 1); +lean_inc(x_50); +x_51 = lean_ctor_get(x_4, 0); +lean_inc(x_51); +lean_dec(x_4); +x_52 = lean_ctor_get(x_51, 0); +lean_inc(x_52); +lean_dec(x_51); +x_53 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_53, 0, x_48); +lean_ctor_set(x_53, 1, x_49); +lean_ctor_set(x_53, 2, x_50); +lean_ctor_set(x_53, 3, x_52); +x_54 = l_Lean_mkOptionalNode___closed__2; +x_55 = lean_array_push(x_54, x_1); +x_56 = l_Lean_Meta_mkEqNDRec___closed__2; +x_57 = l_Lean_Meta_mkEqNDRec___closed__3; +x_58 = lean_alloc_ctor(16, 4, 0); +lean_ctor_set(x_58, 0, x_56); +lean_ctor_set(x_58, 1, x_57); +lean_ctor_set(x_58, 2, x_55); +lean_ctor_set(x_58, 3, x_53); +if (lean_is_scalar(x_46)) { + x_59 = lean_alloc_ctor(1, 2, 0); +} else { + x_59 = x_46; + lean_ctor_set_tag(x_59, 1); +} +lean_ctor_set(x_59, 0, x_58); +lean_ctor_set(x_59, 1, x_45); +return x_59; +} +} +else +{ +uint8_t x_78; +lean_free_object(x_39); +lean_dec(x_41); +lean_dec(x_38); +lean_dec(x_34); +lean_dec(x_31); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_78 = !lean_is_exclusive(x_43); +if (x_78 == 0) +{ +return x_43; +} +else +{ +lean_object* x_79; lean_object* x_80; lean_object* x_81; +x_79 = lean_ctor_get(x_43, 0); +x_80 = lean_ctor_get(x_43, 1); +lean_inc(x_80); +lean_inc(x_79); +lean_dec(x_43); +x_81 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_81, 0, x_79); +lean_ctor_set(x_81, 1, x_80); +return x_81; +} +} +} +else +{ +lean_object* x_82; lean_object* x_83; lean_object* x_84; +x_82 = lean_ctor_get(x_39, 0); +x_83 = lean_ctor_get(x_39, 1); +lean_inc(x_83); +lean_inc(x_82); +lean_dec(x_39); +lean_inc(x_4); +lean_inc(x_1); +x_84 = l___private_Init_Lean_Meta_AppBuilder_1__infer(x_1, x_4, x_83); +if (lean_obj_tag(x_84) == 0) +{ +lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; +x_85 = lean_ctor_get(x_84, 0); +lean_inc(x_85); +x_86 = lean_ctor_get(x_84, 1); +lean_inc(x_86); +if (lean_is_exclusive(x_84)) { + lean_ctor_release(x_84, 0); + lean_ctor_release(x_84, 1); + x_87 = x_84; +} else { + lean_dec_ref(x_84); + x_87 = lean_box(0); +} +if (lean_obj_tag(x_85) == 7) +{ +lean_object* x_102; +x_102 = lean_ctor_get(x_85, 2); +lean_inc(x_102); +lean_dec(x_85); +if (lean_obj_tag(x_102) == 3) +{ +lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; +lean_dec(x_87); +lean_dec(x_4); +x_103 = lean_ctor_get(x_102, 0); +lean_inc(x_103); +lean_dec(x_102); +x_104 = lean_box(0); +x_105 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_105, 0, x_82); +lean_ctor_set(x_105, 1, x_104); +x_106 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_106, 0, x_103); +lean_ctor_set(x_106, 1, x_105); +x_107 = l_Lean_Meta_mkEqNDRec___closed__2; +x_108 = l_Lean_mkConst(x_107, x_106); +x_109 = l_Lean_Meta_mkEqNDRec___closed__4; +x_110 = lean_array_push(x_109, x_31); +x_111 = lean_array_push(x_110, x_34); +x_112 = lean_array_push(x_111, x_1); +x_113 = lean_array_push(x_112, x_2); +x_114 = lean_array_push(x_113, x_38); +x_115 = lean_array_push(x_114, x_3); +x_116 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_115, x_115, x_26, x_108); +lean_dec(x_115); +x_117 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_117, 0, x_116); +lean_ctor_set(x_117, 1, x_86); +return x_117; +} +else +{ +lean_object* x_118; +lean_dec(x_102); +lean_dec(x_82); +lean_dec(x_38); +lean_dec(x_34); +lean_dec(x_31); +lean_dec(x_3); +lean_dec(x_2); +x_118 = lean_box(0); +x_88 = x_118; +goto block_101; +} +} +else +{ +lean_object* x_119; +lean_dec(x_85); +lean_dec(x_82); +lean_dec(x_38); +lean_dec(x_34); +lean_dec(x_31); +lean_dec(x_3); +lean_dec(x_2); +x_119 = lean_box(0); +x_88 = x_119; +goto block_101; +} +block_101: +{ +lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; +lean_dec(x_88); +x_89 = lean_ctor_get(x_86, 0); +lean_inc(x_89); +x_90 = lean_ctor_get(x_86, 1); +lean_inc(x_90); +x_91 = lean_ctor_get(x_4, 1); +lean_inc(x_91); +x_92 = lean_ctor_get(x_4, 0); +lean_inc(x_92); +lean_dec(x_4); +x_93 = lean_ctor_get(x_92, 0); +lean_inc(x_93); +lean_dec(x_92); +x_94 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_94, 0, x_89); +lean_ctor_set(x_94, 1, x_90); +lean_ctor_set(x_94, 2, x_91); +lean_ctor_set(x_94, 3, x_93); +x_95 = l_Lean_mkOptionalNode___closed__2; +x_96 = lean_array_push(x_95, x_1); +x_97 = l_Lean_Meta_mkEqNDRec___closed__2; +x_98 = l_Lean_Meta_mkEqNDRec___closed__3; +x_99 = lean_alloc_ctor(16, 4, 0); +lean_ctor_set(x_99, 0, x_97); +lean_ctor_set(x_99, 1, x_98); +lean_ctor_set(x_99, 2, x_96); +lean_ctor_set(x_99, 3, x_94); +if (lean_is_scalar(x_87)) { + x_100 = lean_alloc_ctor(1, 2, 0); +} else { + x_100 = x_87; + lean_ctor_set_tag(x_100, 1); +} +lean_ctor_set(x_100, 0, x_99); +lean_ctor_set(x_100, 1, x_86); +return x_100; +} +} +else +{ +lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; +lean_dec(x_82); +lean_dec(x_38); +lean_dec(x_34); +lean_dec(x_31); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_120 = lean_ctor_get(x_84, 0); +lean_inc(x_120); +x_121 = lean_ctor_get(x_84, 1); +lean_inc(x_121); +if (lean_is_exclusive(x_84)) { + lean_ctor_release(x_84, 0); + lean_ctor_release(x_84, 1); + x_122 = x_84; +} else { + lean_dec_ref(x_84); + x_122 = lean_box(0); +} +if (lean_is_scalar(x_122)) { + x_123 = lean_alloc_ctor(1, 2, 0); +} else { + x_123 = x_122; +} +lean_ctor_set(x_123, 0, x_120); +lean_ctor_set(x_123, 1, x_121); +return x_123; +} +} +} +else +{ +uint8_t x_124; +lean_dec(x_38); +lean_dec(x_34); +lean_dec(x_31); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_124 = !lean_is_exclusive(x_39); +if (x_124 == 0) +{ +return x_39; +} +else +{ +lean_object* x_125; lean_object* x_126; lean_object* x_127; +x_125 = lean_ctor_get(x_39, 0); +x_126 = lean_ctor_get(x_39, 1); +lean_inc(x_126); +lean_inc(x_125); +lean_dec(x_39); +x_127 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_127, 0, x_125); +lean_ctor_set(x_127, 1, x_126); +return x_127; +} +} +} +} +else +{ +lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; uint8_t x_132; +x_128 = lean_ctor_get(x_8, 0); +x_129 = lean_ctor_get(x_8, 1); +lean_inc(x_129); +lean_inc(x_128); +lean_dec(x_8); +x_130 = l_Lean_Expr_eq_x3f___closed__2; +x_131 = lean_unsigned_to_nat(3u); +x_132 = l_Lean_Expr_isAppOfArity___main(x_128, x_130, x_131); +if (x_132 == 0) +{ +lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; +lean_dec(x_128); +lean_dec(x_2); +lean_dec(x_1); +x_133 = lean_ctor_get(x_129, 0); +lean_inc(x_133); +x_134 = lean_ctor_get(x_129, 1); +lean_inc(x_134); +x_135 = lean_ctor_get(x_4, 1); +lean_inc(x_135); +x_136 = lean_ctor_get(x_4, 0); +lean_inc(x_136); +lean_dec(x_4); +x_137 = lean_ctor_get(x_136, 0); +lean_inc(x_137); +lean_dec(x_136); +x_138 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_138, 0, x_133); +lean_ctor_set(x_138, 1, x_134); +lean_ctor_set(x_138, 2, x_135); +lean_ctor_set(x_138, 3, x_137); +x_139 = l_Lean_mkOptionalNode___closed__2; +x_140 = lean_array_push(x_139, x_3); +x_141 = l_Lean_Meta_mkEqNDRec___closed__2; +x_142 = l_Lean_Meta_mkEqSymm___closed__3; +x_143 = lean_alloc_ctor(16, 4, 0); +lean_ctor_set(x_143, 0, x_141); +lean_ctor_set(x_143, 1, x_142); +lean_ctor_set(x_143, 2, x_140); +lean_ctor_set(x_143, 3, x_138); +x_144 = lean_alloc_ctor(1, 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; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; +x_145 = lean_unsigned_to_nat(0u); +x_146 = l_Lean_Expr_getAppNumArgsAux___main(x_128, x_145); +x_147 = lean_nat_sub(x_146, x_145); +x_148 = lean_unsigned_to_nat(1u); +x_149 = lean_nat_sub(x_147, x_148); +lean_dec(x_147); +x_150 = l_Lean_Expr_getRevArg_x21___main(x_128, x_149); +x_151 = lean_nat_sub(x_146, x_148); +x_152 = lean_nat_sub(x_151, x_148); +lean_dec(x_151); +x_153 = l_Lean_Expr_getRevArg_x21___main(x_128, x_152); +x_154 = lean_unsigned_to_nat(2u); +x_155 = lean_nat_sub(x_146, x_154); +lean_dec(x_146); +x_156 = lean_nat_sub(x_155, x_148); +lean_dec(x_155); +x_157 = l_Lean_Expr_getRevArg_x21___main(x_128, x_156); +lean_dec(x_128); +lean_inc(x_4); +lean_inc(x_150); +x_158 = l_Lean_Meta_getLevel(x_150, x_4, x_129); +if (lean_obj_tag(x_158) == 0) +{ +lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; +x_159 = lean_ctor_get(x_158, 0); +lean_inc(x_159); +x_160 = lean_ctor_get(x_158, 1); +lean_inc(x_160); +if (lean_is_exclusive(x_158)) { + lean_ctor_release(x_158, 0); + lean_ctor_release(x_158, 1); + x_161 = x_158; +} else { + lean_dec_ref(x_158); + x_161 = lean_box(0); +} +lean_inc(x_4); +lean_inc(x_1); +x_162 = l___private_Init_Lean_Meta_AppBuilder_1__infer(x_1, x_4, x_160); +if (lean_obj_tag(x_162) == 0) +{ +lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; +x_163 = lean_ctor_get(x_162, 0); +lean_inc(x_163); +x_164 = lean_ctor_get(x_162, 1); +lean_inc(x_164); +if (lean_is_exclusive(x_162)) { + lean_ctor_release(x_162, 0); + lean_ctor_release(x_162, 1); + x_165 = x_162; +} else { + lean_dec_ref(x_162); + x_165 = lean_box(0); +} +if (lean_obj_tag(x_163) == 7) +{ +lean_object* x_180; +x_180 = lean_ctor_get(x_163, 2); +lean_inc(x_180); +lean_dec(x_163); +if (lean_obj_tag(x_180) == 3) +{ +lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; +lean_dec(x_165); +lean_dec(x_4); +x_181 = lean_ctor_get(x_180, 0); +lean_inc(x_181); +lean_dec(x_180); +x_182 = lean_box(0); +x_183 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_183, 0, x_159); +lean_ctor_set(x_183, 1, x_182); +x_184 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_184, 0, x_181); +lean_ctor_set(x_184, 1, x_183); +x_185 = l_Lean_Meta_mkEqNDRec___closed__2; +x_186 = l_Lean_mkConst(x_185, x_184); +x_187 = l_Lean_Meta_mkEqNDRec___closed__4; +x_188 = lean_array_push(x_187, x_150); +x_189 = lean_array_push(x_188, x_153); +x_190 = lean_array_push(x_189, x_1); +x_191 = lean_array_push(x_190, x_2); +x_192 = lean_array_push(x_191, x_157); +x_193 = lean_array_push(x_192, x_3); +x_194 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_193, x_193, x_145, x_186); +lean_dec(x_193); +if (lean_is_scalar(x_161)) { + x_195 = lean_alloc_ctor(0, 2, 0); +} else { + x_195 = x_161; +} +lean_ctor_set(x_195, 0, x_194); +lean_ctor_set(x_195, 1, x_164); +return x_195; +} +else +{ +lean_object* x_196; +lean_dec(x_180); +lean_dec(x_161); +lean_dec(x_159); +lean_dec(x_157); +lean_dec(x_153); +lean_dec(x_150); +lean_dec(x_3); +lean_dec(x_2); +x_196 = lean_box(0); +x_166 = x_196; +goto block_179; +} +} +else +{ +lean_object* x_197; +lean_dec(x_163); +lean_dec(x_161); +lean_dec(x_159); +lean_dec(x_157); +lean_dec(x_153); +lean_dec(x_150); +lean_dec(x_3); +lean_dec(x_2); +x_197 = lean_box(0); +x_166 = x_197; +goto block_179; +} +block_179: +{ +lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; +lean_dec(x_166); +x_167 = lean_ctor_get(x_164, 0); +lean_inc(x_167); +x_168 = lean_ctor_get(x_164, 1); +lean_inc(x_168); +x_169 = lean_ctor_get(x_4, 1); +lean_inc(x_169); +x_170 = lean_ctor_get(x_4, 0); +lean_inc(x_170); +lean_dec(x_4); +x_171 = lean_ctor_get(x_170, 0); +lean_inc(x_171); +lean_dec(x_170); +x_172 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_172, 0, x_167); +lean_ctor_set(x_172, 1, x_168); +lean_ctor_set(x_172, 2, x_169); +lean_ctor_set(x_172, 3, x_171); +x_173 = l_Lean_mkOptionalNode___closed__2; +x_174 = lean_array_push(x_173, x_1); +x_175 = l_Lean_Meta_mkEqNDRec___closed__2; +x_176 = l_Lean_Meta_mkEqNDRec___closed__3; +x_177 = lean_alloc_ctor(16, 4, 0); +lean_ctor_set(x_177, 0, x_175); +lean_ctor_set(x_177, 1, x_176); +lean_ctor_set(x_177, 2, x_174); +lean_ctor_set(x_177, 3, x_172); +if (lean_is_scalar(x_165)) { + x_178 = lean_alloc_ctor(1, 2, 0); +} else { + x_178 = x_165; + lean_ctor_set_tag(x_178, 1); +} +lean_ctor_set(x_178, 0, x_177); +lean_ctor_set(x_178, 1, x_164); +return x_178; +} +} +else +{ +lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; +lean_dec(x_161); +lean_dec(x_159); +lean_dec(x_157); +lean_dec(x_153); +lean_dec(x_150); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_198 = lean_ctor_get(x_162, 0); +lean_inc(x_198); +x_199 = lean_ctor_get(x_162, 1); +lean_inc(x_199); +if (lean_is_exclusive(x_162)) { + lean_ctor_release(x_162, 0); + lean_ctor_release(x_162, 1); + x_200 = x_162; +} else { + lean_dec_ref(x_162); + 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_object* x_204; lean_object* x_205; +lean_dec(x_157); +lean_dec(x_153); +lean_dec(x_150); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_202 = lean_ctor_get(x_158, 0); +lean_inc(x_202); +x_203 = lean_ctor_get(x_158, 1); +lean_inc(x_203); +if (lean_is_exclusive(x_158)) { + lean_ctor_release(x_158, 0); + lean_ctor_release(x_158, 1); + x_204 = x_158; +} else { + lean_dec_ref(x_158); + x_204 = lean_box(0); +} +if (lean_is_scalar(x_204)) { + x_205 = lean_alloc_ctor(1, 2, 0); +} else { + x_205 = x_204; +} +lean_ctor_set(x_205, 0, x_202); +lean_ctor_set(x_205, 1, x_203); +return x_205; +} +} +} +} +else +{ +uint8_t x_206; +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_206 = !lean_is_exclusive(x_8); +if (x_206 == 0) +{ +return x_8; +} +else +{ +lean_object* x_207; lean_object* x_208; lean_object* x_209; +x_207 = lean_ctor_get(x_8, 0); +x_208 = lean_ctor_get(x_8, 1); +lean_inc(x_208); +lean_inc(x_207); +lean_dec(x_8); +x_209 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_209, 0, x_207); +lean_ctor_set(x_209, 1, x_208); +return x_209; +} +} +} +else +{ +lean_object* x_210; +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_210 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_210, 0, x_2); +lean_ctor_set(x_210, 1, x_5); +return x_210; +} +} +} +lean_object* _init_l_Lean_Meta_mkEqRec___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("rec"); +return x_1; +} +} +lean_object* _init_l_Lean_Meta_mkEqRec___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Expr_eq_x3f___closed__2; +x_2 = l_Lean_Meta_mkEqRec___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* l_Lean_Meta_mkEqRec(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 = l_Lean_Meta_mkEqRefl___closed__2; +x_7 = l_Lean_Expr_isAppOf(x_3, x_6); +if (x_7 == 0) +{ +lean_object* x_8; +lean_inc(x_4); +lean_inc(x_3); +x_8 = l___private_Init_Lean_Meta_AppBuilder_1__infer(x_3, x_4, x_5); +if (lean_obj_tag(x_8) == 0) +{ +uint8_t x_9; +x_9 = !lean_is_exclusive(x_8); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_10 = lean_ctor_get(x_8, 0); +x_11 = lean_ctor_get(x_8, 1); +x_12 = l_Lean_Expr_eq_x3f___closed__2; +x_13 = lean_unsigned_to_nat(3u); +x_14 = l_Lean_Expr_isAppOfArity___main(x_10, x_12, x_13); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +lean_dec(x_10); +lean_dec(x_2); +lean_dec(x_1); +x_15 = lean_ctor_get(x_11, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_11, 1); +lean_inc(x_16); +x_17 = lean_ctor_get(x_4, 1); +lean_inc(x_17); +x_18 = lean_ctor_get(x_4, 0); +lean_inc(x_18); +lean_dec(x_4); +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +lean_dec(x_18); +x_20 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_20, 0, x_15); +lean_ctor_set(x_20, 1, x_16); +lean_ctor_set(x_20, 2, x_17); +lean_ctor_set(x_20, 3, x_19); +x_21 = l_Lean_mkOptionalNode___closed__2; +x_22 = lean_array_push(x_21, x_3); +x_23 = l_Lean_Meta_mkEqRec___closed__2; +x_24 = l_Lean_Meta_mkEqSymm___closed__3; +x_25 = lean_alloc_ctor(16, 4, 0); +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set(x_25, 1, x_24); +lean_ctor_set(x_25, 2, x_22); +lean_ctor_set(x_25, 3, x_20); +lean_ctor_set_tag(x_8, 1); +lean_ctor_set(x_8, 0, x_25); +return x_8; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_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_free_object(x_8); +x_26 = lean_unsigned_to_nat(0u); +x_27 = l_Lean_Expr_getAppNumArgsAux___main(x_10, x_26); +x_28 = lean_nat_sub(x_27, x_26); +x_29 = lean_unsigned_to_nat(1u); +x_30 = lean_nat_sub(x_28, x_29); +lean_dec(x_28); +x_31 = l_Lean_Expr_getRevArg_x21___main(x_10, x_30); +x_32 = lean_nat_sub(x_27, x_29); +x_33 = lean_nat_sub(x_32, x_29); +lean_dec(x_32); +x_34 = l_Lean_Expr_getRevArg_x21___main(x_10, x_33); +x_35 = lean_unsigned_to_nat(2u); +x_36 = lean_nat_sub(x_27, x_35); +lean_dec(x_27); +x_37 = lean_nat_sub(x_36, x_29); +lean_dec(x_36); +x_38 = l_Lean_Expr_getRevArg_x21___main(x_10, x_37); +lean_dec(x_10); +lean_inc(x_4); +lean_inc(x_31); +x_39 = l_Lean_Meta_getLevel(x_31, x_4, x_11); +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; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_39, 0); +x_42 = lean_ctor_get(x_39, 1); +lean_inc(x_4); +lean_inc(x_1); +x_43 = l___private_Init_Lean_Meta_AppBuilder_1__infer(x_1, x_4, x_42); +if (lean_obj_tag(x_43) == 0) +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_44 = lean_ctor_get(x_43, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_43, 1); +lean_inc(x_45); +if (lean_is_exclusive(x_43)) { + lean_ctor_release(x_43, 0); + lean_ctor_release(x_43, 1); + x_46 = x_43; +} else { + lean_dec_ref(x_43); + x_46 = lean_box(0); +} +if (lean_obj_tag(x_44) == 7) +{ +lean_object* x_61; +x_61 = lean_ctor_get(x_44, 2); +lean_inc(x_61); +lean_dec(x_44); +if (lean_obj_tag(x_61) == 7) +{ +lean_object* x_62; +x_62 = lean_ctor_get(x_61, 2); +lean_inc(x_62); +lean_dec(x_61); +if (lean_obj_tag(x_62) == 3) +{ +lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; +lean_dec(x_46); +lean_dec(x_4); +x_63 = lean_ctor_get(x_62, 0); +lean_inc(x_63); +lean_dec(x_62); +x_64 = lean_box(0); +x_65 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_65, 0, x_41); +lean_ctor_set(x_65, 1, x_64); +x_66 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_66, 0, x_63); +lean_ctor_set(x_66, 1, x_65); +x_67 = l_Lean_Meta_mkEqRec___closed__2; +x_68 = l_Lean_mkConst(x_67, x_66); +x_69 = l_Lean_Meta_mkEqNDRec___closed__4; +x_70 = lean_array_push(x_69, x_31); +x_71 = lean_array_push(x_70, x_34); +x_72 = lean_array_push(x_71, x_1); +x_73 = lean_array_push(x_72, x_2); +x_74 = lean_array_push(x_73, x_38); +x_75 = lean_array_push(x_74, x_3); +x_76 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_75, x_75, x_26, x_68); +lean_dec(x_75); +lean_ctor_set(x_39, 1, x_45); +lean_ctor_set(x_39, 0, x_76); +return x_39; +} +else +{ +lean_object* x_77; +lean_dec(x_62); +lean_free_object(x_39); +lean_dec(x_41); +lean_dec(x_38); +lean_dec(x_34); +lean_dec(x_31); +lean_dec(x_3); +lean_dec(x_2); +x_77 = lean_box(0); +x_47 = x_77; +goto block_60; +} +} +else +{ +lean_object* x_78; +lean_dec(x_61); +lean_free_object(x_39); +lean_dec(x_41); +lean_dec(x_38); +lean_dec(x_34); +lean_dec(x_31); +lean_dec(x_3); +lean_dec(x_2); +x_78 = lean_box(0); +x_47 = x_78; +goto block_60; +} +} +else +{ +lean_object* x_79; +lean_dec(x_44); +lean_free_object(x_39); +lean_dec(x_41); +lean_dec(x_38); +lean_dec(x_34); +lean_dec(x_31); +lean_dec(x_3); +lean_dec(x_2); +x_79 = lean_box(0); +x_47 = x_79; +goto block_60; +} +block_60: +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; +lean_dec(x_47); +x_48 = lean_ctor_get(x_45, 0); +lean_inc(x_48); +x_49 = lean_ctor_get(x_45, 1); +lean_inc(x_49); +x_50 = lean_ctor_get(x_4, 1); +lean_inc(x_50); +x_51 = lean_ctor_get(x_4, 0); +lean_inc(x_51); +lean_dec(x_4); +x_52 = lean_ctor_get(x_51, 0); +lean_inc(x_52); +lean_dec(x_51); +x_53 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_53, 0, x_48); +lean_ctor_set(x_53, 1, x_49); +lean_ctor_set(x_53, 2, x_50); +lean_ctor_set(x_53, 3, x_52); +x_54 = l_Lean_mkOptionalNode___closed__2; +x_55 = lean_array_push(x_54, x_1); +x_56 = l_Lean_Meta_mkEqRec___closed__2; +x_57 = l_Lean_Meta_mkEqNDRec___closed__3; +x_58 = lean_alloc_ctor(16, 4, 0); +lean_ctor_set(x_58, 0, x_56); +lean_ctor_set(x_58, 1, x_57); +lean_ctor_set(x_58, 2, x_55); +lean_ctor_set(x_58, 3, x_53); +if (lean_is_scalar(x_46)) { + x_59 = lean_alloc_ctor(1, 2, 0); +} else { + x_59 = x_46; + lean_ctor_set_tag(x_59, 1); +} +lean_ctor_set(x_59, 0, x_58); +lean_ctor_set(x_59, 1, x_45); +return x_59; +} +} +else +{ +uint8_t x_80; +lean_free_object(x_39); +lean_dec(x_41); +lean_dec(x_38); +lean_dec(x_34); +lean_dec(x_31); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_80 = !lean_is_exclusive(x_43); +if (x_80 == 0) +{ +return x_43; +} +else +{ +lean_object* x_81; lean_object* x_82; lean_object* x_83; +x_81 = lean_ctor_get(x_43, 0); +x_82 = lean_ctor_get(x_43, 1); +lean_inc(x_82); +lean_inc(x_81); +lean_dec(x_43); +x_83 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_83, 0, x_81); +lean_ctor_set(x_83, 1, x_82); +return x_83; +} +} +} +else +{ +lean_object* x_84; lean_object* x_85; lean_object* x_86; +x_84 = lean_ctor_get(x_39, 0); +x_85 = lean_ctor_get(x_39, 1); +lean_inc(x_85); +lean_inc(x_84); +lean_dec(x_39); +lean_inc(x_4); +lean_inc(x_1); +x_86 = l___private_Init_Lean_Meta_AppBuilder_1__infer(x_1, x_4, x_85); +if (lean_obj_tag(x_86) == 0) +{ +lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; +x_87 = lean_ctor_get(x_86, 0); +lean_inc(x_87); +x_88 = lean_ctor_get(x_86, 1); +lean_inc(x_88); +if (lean_is_exclusive(x_86)) { + lean_ctor_release(x_86, 0); + lean_ctor_release(x_86, 1); + x_89 = x_86; +} else { + lean_dec_ref(x_86); + x_89 = lean_box(0); +} +if (lean_obj_tag(x_87) == 7) +{ +lean_object* x_104; +x_104 = lean_ctor_get(x_87, 2); +lean_inc(x_104); +lean_dec(x_87); +if (lean_obj_tag(x_104) == 7) +{ +lean_object* x_105; +x_105 = lean_ctor_get(x_104, 2); +lean_inc(x_105); +lean_dec(x_104); +if (lean_obj_tag(x_105) == 3) +{ +lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; +lean_dec(x_89); +lean_dec(x_4); +x_106 = lean_ctor_get(x_105, 0); +lean_inc(x_106); +lean_dec(x_105); +x_107 = lean_box(0); +x_108 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_108, 0, x_84); +lean_ctor_set(x_108, 1, x_107); +x_109 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_109, 0, x_106); +lean_ctor_set(x_109, 1, x_108); +x_110 = l_Lean_Meta_mkEqRec___closed__2; +x_111 = l_Lean_mkConst(x_110, x_109); +x_112 = l_Lean_Meta_mkEqNDRec___closed__4; +x_113 = lean_array_push(x_112, x_31); +x_114 = lean_array_push(x_113, x_34); +x_115 = lean_array_push(x_114, x_1); +x_116 = lean_array_push(x_115, x_2); +x_117 = lean_array_push(x_116, x_38); +x_118 = lean_array_push(x_117, x_3); +x_119 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_118, x_118, x_26, x_111); +lean_dec(x_118); +x_120 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_120, 0, x_119); +lean_ctor_set(x_120, 1, x_88); +return x_120; +} +else +{ +lean_object* x_121; +lean_dec(x_105); +lean_dec(x_84); +lean_dec(x_38); +lean_dec(x_34); +lean_dec(x_31); +lean_dec(x_3); +lean_dec(x_2); +x_121 = lean_box(0); +x_90 = x_121; +goto block_103; +} +} +else +{ +lean_object* x_122; +lean_dec(x_104); +lean_dec(x_84); +lean_dec(x_38); +lean_dec(x_34); +lean_dec(x_31); +lean_dec(x_3); +lean_dec(x_2); +x_122 = lean_box(0); +x_90 = x_122; +goto block_103; +} +} +else +{ +lean_object* x_123; +lean_dec(x_87); +lean_dec(x_84); +lean_dec(x_38); +lean_dec(x_34); +lean_dec(x_31); +lean_dec(x_3); +lean_dec(x_2); +x_123 = lean_box(0); +x_90 = x_123; +goto block_103; +} +block_103: +{ +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_dec(x_90); +x_91 = lean_ctor_get(x_88, 0); +lean_inc(x_91); +x_92 = lean_ctor_get(x_88, 1); +lean_inc(x_92); +x_93 = lean_ctor_get(x_4, 1); +lean_inc(x_93); +x_94 = lean_ctor_get(x_4, 0); +lean_inc(x_94); +lean_dec(x_4); +x_95 = lean_ctor_get(x_94, 0); +lean_inc(x_95); +lean_dec(x_94); +x_96 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_96, 0, x_91); +lean_ctor_set(x_96, 1, x_92); +lean_ctor_set(x_96, 2, x_93); +lean_ctor_set(x_96, 3, x_95); +x_97 = l_Lean_mkOptionalNode___closed__2; +x_98 = lean_array_push(x_97, x_1); +x_99 = l_Lean_Meta_mkEqRec___closed__2; +x_100 = l_Lean_Meta_mkEqNDRec___closed__3; +x_101 = lean_alloc_ctor(16, 4, 0); +lean_ctor_set(x_101, 0, x_99); +lean_ctor_set(x_101, 1, x_100); +lean_ctor_set(x_101, 2, x_98); +lean_ctor_set(x_101, 3, x_96); +if (lean_is_scalar(x_89)) { + x_102 = lean_alloc_ctor(1, 2, 0); +} else { + x_102 = x_89; + lean_ctor_set_tag(x_102, 1); +} +lean_ctor_set(x_102, 0, x_101); +lean_ctor_set(x_102, 1, x_88); +return x_102; +} +} +else +{ +lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; +lean_dec(x_84); +lean_dec(x_38); +lean_dec(x_34); +lean_dec(x_31); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_124 = lean_ctor_get(x_86, 0); +lean_inc(x_124); +x_125 = lean_ctor_get(x_86, 1); +lean_inc(x_125); +if (lean_is_exclusive(x_86)) { + lean_ctor_release(x_86, 0); + lean_ctor_release(x_86, 1); + x_126 = x_86; +} else { + lean_dec_ref(x_86); + x_126 = lean_box(0); +} +if (lean_is_scalar(x_126)) { + x_127 = lean_alloc_ctor(1, 2, 0); +} else { + x_127 = x_126; +} +lean_ctor_set(x_127, 0, x_124); +lean_ctor_set(x_127, 1, x_125); +return x_127; +} +} +} +else +{ +uint8_t x_128; +lean_dec(x_38); +lean_dec(x_34); +lean_dec(x_31); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_128 = !lean_is_exclusive(x_39); +if (x_128 == 0) +{ +return x_39; +} +else +{ +lean_object* x_129; lean_object* x_130; lean_object* x_131; +x_129 = lean_ctor_get(x_39, 0); +x_130 = lean_ctor_get(x_39, 1); +lean_inc(x_130); +lean_inc(x_129); +lean_dec(x_39); +x_131 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_131, 0, x_129); +lean_ctor_set(x_131, 1, x_130); +return x_131; +} +} +} +} +else +{ +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_8, 0); +x_133 = lean_ctor_get(x_8, 1); +lean_inc(x_133); +lean_inc(x_132); +lean_dec(x_8); +x_134 = l_Lean_Expr_eq_x3f___closed__2; +x_135 = lean_unsigned_to_nat(3u); +x_136 = l_Lean_Expr_isAppOfArity___main(x_132, x_134, x_135); +if (x_136 == 0) +{ +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_dec(x_132); +lean_dec(x_2); +lean_dec(x_1); +x_137 = lean_ctor_get(x_133, 0); +lean_inc(x_137); +x_138 = lean_ctor_get(x_133, 1); +lean_inc(x_138); +x_139 = lean_ctor_get(x_4, 1); +lean_inc(x_139); +x_140 = lean_ctor_get(x_4, 0); +lean_inc(x_140); +lean_dec(x_4); +x_141 = lean_ctor_get(x_140, 0); +lean_inc(x_141); +lean_dec(x_140); +x_142 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_142, 0, x_137); +lean_ctor_set(x_142, 1, x_138); +lean_ctor_set(x_142, 2, x_139); +lean_ctor_set(x_142, 3, x_141); +x_143 = l_Lean_mkOptionalNode___closed__2; +x_144 = lean_array_push(x_143, x_3); +x_145 = l_Lean_Meta_mkEqRec___closed__2; +x_146 = l_Lean_Meta_mkEqSymm___closed__3; +x_147 = lean_alloc_ctor(16, 4, 0); +lean_ctor_set(x_147, 0, x_145); +lean_ctor_set(x_147, 1, x_146); +lean_ctor_set(x_147, 2, x_144); +lean_ctor_set(x_147, 3, x_142); +x_148 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_148, 0, x_147); +lean_ctor_set(x_148, 1, x_133); +return x_148; +} +else +{ +lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; +x_149 = lean_unsigned_to_nat(0u); +x_150 = l_Lean_Expr_getAppNumArgsAux___main(x_132, x_149); +x_151 = lean_nat_sub(x_150, x_149); +x_152 = lean_unsigned_to_nat(1u); +x_153 = lean_nat_sub(x_151, x_152); +lean_dec(x_151); +x_154 = l_Lean_Expr_getRevArg_x21___main(x_132, x_153); +x_155 = lean_nat_sub(x_150, x_152); +x_156 = lean_nat_sub(x_155, x_152); +lean_dec(x_155); +x_157 = l_Lean_Expr_getRevArg_x21___main(x_132, x_156); +x_158 = lean_unsigned_to_nat(2u); +x_159 = lean_nat_sub(x_150, x_158); +lean_dec(x_150); +x_160 = lean_nat_sub(x_159, x_152); +lean_dec(x_159); +x_161 = l_Lean_Expr_getRevArg_x21___main(x_132, x_160); +lean_dec(x_132); +lean_inc(x_4); +lean_inc(x_154); +x_162 = l_Lean_Meta_getLevel(x_154, x_4, x_133); +if (lean_obj_tag(x_162) == 0) +{ +lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; +x_163 = lean_ctor_get(x_162, 0); +lean_inc(x_163); +x_164 = lean_ctor_get(x_162, 1); +lean_inc(x_164); +if (lean_is_exclusive(x_162)) { + lean_ctor_release(x_162, 0); + lean_ctor_release(x_162, 1); + x_165 = x_162; +} else { + lean_dec_ref(x_162); + x_165 = lean_box(0); +} +lean_inc(x_4); +lean_inc(x_1); +x_166 = l___private_Init_Lean_Meta_AppBuilder_1__infer(x_1, x_4, x_164); +if (lean_obj_tag(x_166) == 0) +{ +lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; +x_167 = lean_ctor_get(x_166, 0); +lean_inc(x_167); +x_168 = lean_ctor_get(x_166, 1); +lean_inc(x_168); +if (lean_is_exclusive(x_166)) { + lean_ctor_release(x_166, 0); + lean_ctor_release(x_166, 1); + x_169 = x_166; +} else { + lean_dec_ref(x_166); + x_169 = lean_box(0); +} +if (lean_obj_tag(x_167) == 7) +{ +lean_object* x_184; +x_184 = lean_ctor_get(x_167, 2); +lean_inc(x_184); +lean_dec(x_167); +if (lean_obj_tag(x_184) == 7) +{ +lean_object* x_185; +x_185 = lean_ctor_get(x_184, 2); +lean_inc(x_185); +lean_dec(x_184); +if (lean_obj_tag(x_185) == 3) +{ +lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; +lean_dec(x_169); +lean_dec(x_4); +x_186 = lean_ctor_get(x_185, 0); +lean_inc(x_186); +lean_dec(x_185); +x_187 = lean_box(0); +x_188 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_188, 0, x_163); +lean_ctor_set(x_188, 1, x_187); +x_189 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_189, 0, x_186); +lean_ctor_set(x_189, 1, x_188); +x_190 = l_Lean_Meta_mkEqRec___closed__2; +x_191 = l_Lean_mkConst(x_190, x_189); +x_192 = l_Lean_Meta_mkEqNDRec___closed__4; +x_193 = lean_array_push(x_192, x_154); +x_194 = lean_array_push(x_193, x_157); +x_195 = lean_array_push(x_194, x_1); +x_196 = lean_array_push(x_195, x_2); +x_197 = lean_array_push(x_196, x_161); +x_198 = lean_array_push(x_197, x_3); +x_199 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_198, x_198, x_149, x_191); +lean_dec(x_198); +if (lean_is_scalar(x_165)) { + x_200 = lean_alloc_ctor(0, 2, 0); +} else { + x_200 = x_165; +} +lean_ctor_set(x_200, 0, x_199); +lean_ctor_set(x_200, 1, x_168); +return x_200; +} +else +{ +lean_object* x_201; +lean_dec(x_185); +lean_dec(x_165); +lean_dec(x_163); +lean_dec(x_161); +lean_dec(x_157); +lean_dec(x_154); +lean_dec(x_3); +lean_dec(x_2); +x_201 = lean_box(0); +x_170 = x_201; +goto block_183; +} +} +else +{ +lean_object* x_202; +lean_dec(x_184); +lean_dec(x_165); +lean_dec(x_163); +lean_dec(x_161); +lean_dec(x_157); +lean_dec(x_154); +lean_dec(x_3); +lean_dec(x_2); +x_202 = lean_box(0); +x_170 = x_202; +goto block_183; +} +} +else +{ +lean_object* x_203; +lean_dec(x_167); +lean_dec(x_165); +lean_dec(x_163); +lean_dec(x_161); +lean_dec(x_157); +lean_dec(x_154); +lean_dec(x_3); +lean_dec(x_2); +x_203 = lean_box(0); +x_170 = x_203; +goto block_183; +} +block_183: +{ +lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; +lean_dec(x_170); +x_171 = lean_ctor_get(x_168, 0); +lean_inc(x_171); +x_172 = lean_ctor_get(x_168, 1); +lean_inc(x_172); +x_173 = lean_ctor_get(x_4, 1); +lean_inc(x_173); +x_174 = lean_ctor_get(x_4, 0); +lean_inc(x_174); +lean_dec(x_4); +x_175 = lean_ctor_get(x_174, 0); +lean_inc(x_175); +lean_dec(x_174); +x_176 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_176, 0, x_171); +lean_ctor_set(x_176, 1, x_172); +lean_ctor_set(x_176, 2, x_173); +lean_ctor_set(x_176, 3, x_175); +x_177 = l_Lean_mkOptionalNode___closed__2; +x_178 = lean_array_push(x_177, x_1); +x_179 = l_Lean_Meta_mkEqRec___closed__2; +x_180 = l_Lean_Meta_mkEqNDRec___closed__3; +x_181 = lean_alloc_ctor(16, 4, 0); +lean_ctor_set(x_181, 0, x_179); +lean_ctor_set(x_181, 1, x_180); +lean_ctor_set(x_181, 2, x_178); +lean_ctor_set(x_181, 3, x_176); +if (lean_is_scalar(x_169)) { + x_182 = lean_alloc_ctor(1, 2, 0); +} else { + x_182 = x_169; + lean_ctor_set_tag(x_182, 1); +} +lean_ctor_set(x_182, 0, x_181); +lean_ctor_set(x_182, 1, x_168); +return x_182; +} +} +else +{ +lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; +lean_dec(x_165); +lean_dec(x_163); +lean_dec(x_161); +lean_dec(x_157); +lean_dec(x_154); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_204 = lean_ctor_get(x_166, 0); +lean_inc(x_204); +x_205 = lean_ctor_get(x_166, 1); +lean_inc(x_205); +if (lean_is_exclusive(x_166)) { + lean_ctor_release(x_166, 0); + lean_ctor_release(x_166, 1); + x_206 = x_166; +} else { + lean_dec_ref(x_166); + x_206 = lean_box(0); +} +if (lean_is_scalar(x_206)) { + x_207 = lean_alloc_ctor(1, 2, 0); +} else { + x_207 = x_206; +} +lean_ctor_set(x_207, 0, x_204); +lean_ctor_set(x_207, 1, x_205); +return x_207; +} +} +else +{ +lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; +lean_dec(x_161); +lean_dec(x_157); +lean_dec(x_154); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_208 = lean_ctor_get(x_162, 0); +lean_inc(x_208); +x_209 = lean_ctor_get(x_162, 1); +lean_inc(x_209); +if (lean_is_exclusive(x_162)) { + lean_ctor_release(x_162, 0); + lean_ctor_release(x_162, 1); + x_210 = x_162; +} else { + lean_dec_ref(x_162); + x_210 = lean_box(0); +} +if (lean_is_scalar(x_210)) { + x_211 = lean_alloc_ctor(1, 2, 0); +} else { + x_211 = x_210; +} +lean_ctor_set(x_211, 0, x_208); +lean_ctor_set(x_211, 1, x_209); +return x_211; +} +} +} +} +else +{ +uint8_t x_212; +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_212 = !lean_is_exclusive(x_8); +if (x_212 == 0) +{ +return x_8; +} +else +{ +lean_object* x_213; lean_object* x_214; lean_object* x_215; +x_213 = lean_ctor_get(x_8, 0); +x_214 = lean_ctor_get(x_8, 1); +lean_inc(x_214); +lean_inc(x_213); +lean_dec(x_8); +x_215 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_215, 0, x_213); +lean_ctor_set(x_215, 1, x_214); +return x_215; +} +} +} +else +{ +lean_object* x_216; +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_216 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_216, 0, x_2); +lean_ctor_set(x_216, 1, x_5); +return x_216; +} +} +} lean_object* initialize_Init_Default(lean_object*); lean_object* initialize_Init_Lean_Meta_SynthInstance(lean_object*); static bool _G_initialized = false; @@ -6942,6 +8621,18 @@ l___private_Init_Lean_Meta_AppBuilder_3__mkAppMAux___main___closed__1 = _init_l_ lean_mark_persistent(l___private_Init_Lean_Meta_AppBuilder_3__mkAppMAux___main___closed__1); l_Lean_Meta_mkAppM___closed__1 = _init_l_Lean_Meta_mkAppM___closed__1(); lean_mark_persistent(l_Lean_Meta_mkAppM___closed__1); +l_Lean_Meta_mkEqNDRec___closed__1 = _init_l_Lean_Meta_mkEqNDRec___closed__1(); +lean_mark_persistent(l_Lean_Meta_mkEqNDRec___closed__1); +l_Lean_Meta_mkEqNDRec___closed__2 = _init_l_Lean_Meta_mkEqNDRec___closed__2(); +lean_mark_persistent(l_Lean_Meta_mkEqNDRec___closed__2); +l_Lean_Meta_mkEqNDRec___closed__3 = _init_l_Lean_Meta_mkEqNDRec___closed__3(); +lean_mark_persistent(l_Lean_Meta_mkEqNDRec___closed__3); +l_Lean_Meta_mkEqNDRec___closed__4 = _init_l_Lean_Meta_mkEqNDRec___closed__4(); +lean_mark_persistent(l_Lean_Meta_mkEqNDRec___closed__4); +l_Lean_Meta_mkEqRec___closed__1 = _init_l_Lean_Meta_mkEqRec___closed__1(); +lean_mark_persistent(l_Lean_Meta_mkEqRec___closed__1); +l_Lean_Meta_mkEqRec___closed__2 = _init_l_Lean_Meta_mkEqRec___closed__2(); +lean_mark_persistent(l_Lean_Meta_mkEqRec___closed__2); return lean_mk_io_result(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Init/Lean/Meta/Basic.c b/stage0/stdlib/Init/Lean/Meta/Basic.c index 2a50bab4c9..1b87a02f79 100644 --- a/stage0/stdlib/Init/Lean/Meta/Basic.c +++ b/stage0/stdlib/Init/Lean/Meta/Basic.c @@ -25,7 +25,6 @@ lean_object* l_Lean_Meta_withNewLocalInstances___main___at_Lean_Meta_isClassExpe lean_object* l_Lean_Meta_mkFreshLevelMVar(lean_object*); lean_object* l_Lean_Meta_mkFreshId___boxed(lean_object*); lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*); -lean_object* l_PersistentHashMap_empty___at_Lean_Meta_MetaHasEval___spec__1; lean_object* l_Lean_Meta_withLetDecl(lean_object*); lean_object* l_Lean_Meta_MetaExtState_inhabited___closed__2; size_t l_Lean_Meta_TransparencyMode_hash(uint8_t); @@ -42,14 +41,12 @@ lean_object* l_Lean_Meta_throwBug(lean_object*); lean_object* l_Lean_Meta_whnfForall(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_instantiateMVars(lean_object*, lean_object*); lean_object* l_Lean_Meta_dbgTrace___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* lean_io_prim_put_str(lean_object*, lean_object*); lean_object* l_Lean_Meta_InfoCacheKey_Inhabited; lean_object* l_Lean_Meta_getEnv(lean_object*); lean_object* l_Lean_Meta_withNewLocalInstances___main___at_Lean_Meta_forallTelescope___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isReadOnlyExprMVar___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_addLevelMVarDecl(lean_object*, lean_object*); lean_object* l___private_Init_Lean_Meta_Basic_5__forallTelescopeReducingAux___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Format_pretty(lean_object*, lean_object*); extern lean_object* l_EIO_Monad___closed__1; lean_object* l_Lean_Meta_savingCache(lean_object*); lean_object* l_Lean_Meta_addContext___boxed(lean_object*, lean_object*, lean_object*); @@ -78,7 +75,8 @@ lean_object* l_Lean_Meta_isExprDefEqAux(lean_object*, lean_object*, lean_object* lean_object* l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_Basic_6__lambdaTelescopeAux___main___spec__1(lean_object*); lean_object* l_Lean_Meta_withNewLocalInstances___main___at_Lean_Meta_forallTelescopeReducing___spec__5___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_lambdaTelescope(lean_object*); -lean_object* l_Lean_Meta_elimMVarDeps(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_elimMVarDeps(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); +lean_object* l_Lean_MetavarContext_setMVarKind(lean_object*, lean_object*, uint8_t); lean_object* l_Lean_Meta_withNewLocalInstances___main___at_Lean_Meta_forallTelescopeReducing___spec__5___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_dbg_trace(lean_object*, lean_object*); lean_object* lean_io_mk_ref(lean_object*, lean_object*); @@ -91,17 +89,13 @@ lean_object* l_Option_hash___at_Lean_Meta_InfoCacheKey_Hashable___spec__1___boxe lean_object* l_Lean_Meta_lambdaMetaTelescope___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withLetDecl___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_instantiateLevelMVars(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_MetaHasEval(lean_object*); lean_object* l_Lean_Meta_forallBoundedTelescope(lean_object*); lean_object* l___private_Init_Lean_Meta_Basic_7__forallMetaTelescopeReducingAux___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); -lean_object* l_IO_println___at_Lean_Meta_MetaHasEval___spec__2(lean_object*, lean_object*); lean_object* l_Lean_Meta_getEnv___boxed(lean_object*); lean_object* l_Lean_Meta_hasAssignableMVar___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_MetaHasEval___rarg___closed__2; lean_object* l_Lean_Meta_isReducible___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_MessageData_formatAux___main(lean_object*, lean_object*); lean_object* l_Lean_Meta_MetaExtState_inhabited___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_instantiateLevelMVars___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_forallTelescope___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -120,12 +114,9 @@ lean_object* l___private_Init_Lean_Meta_Basic_4__forallTelescopeReducingAuxAux__ lean_object* l_Lean_Meta_mkInferTypeRef___lambda__1(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Meta_Basic_4__forallTelescopeReducingAuxAux___main___at_Lean_Meta_forallBoundedTelescope___spec__2(lean_object*); lean_object* l_Lean_Meta_isReadOnlyLevelMVar___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_PersistentArray_forMAux___main___at_Lean_Meta_MetaHasEval___spec__5(lean_object*, lean_object*); lean_object* l___private_Init_Lean_Meta_Basic_6__lambdaTelescopeAux(lean_object*); lean_object* l___private_Init_Lean_Meta_Basic_9__withNewFVar___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_isReducible(lean_object*, lean_object*); -lean_object* l_Lean_Meta_MetaHasEval___rarg___closed__4; -lean_object* l_Array_forMAux___main___at_Lean_Meta_MetaHasEval___spec__6___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_InfoCacheKey_Hashable___boxed(lean_object*); lean_object* l_Lean_Meta_getConstNoEx(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withMVarContext(lean_object*); @@ -180,13 +171,10 @@ lean_object* l_Lean_Meta_mkWHNFRef___lambda__1___closed__2; lean_object* l_Lean_Meta_mkInferTypeRef___lambda__1___closed__2; lean_object* l_Lean_Meta_withMCtx___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isClassQuickConst___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_PersistentArray_forM___at_Lean_Meta_MetaHasEval___spec__4(lean_object*, lean_object*); lean_object* l_Lean_Meta_getConstNoEx___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withNewMCtxDepth___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Meta_Basic_5__forallTelescopeReducingAux___at_Lean_Meta_isClassExpensive___main___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_MetaHasEval___rarg___closed__3; lean_object* l_Lean_Meta_mkMetaExtension___closed__2; -lean_object* l_Array_forMAux___main___at_Lean_Meta_MetaHasEval___spec__7(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkMetaExtension___closed__1; lean_object* l_Lean_Meta_getOptions___boxed(lean_object*, lean_object*); lean_object* l_Lean_Meta_mkInferTypeRef___lambda__1___boxed(lean_object*, lean_object*, lean_object*); @@ -200,9 +188,8 @@ lean_object* l_Lean_Meta_tracer___closed__5; lean_object* l_Lean_Meta_mkSynthPendingRef___lambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkForallUsedOnly(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Meta_Basic_2__getTraceState___rarg(lean_object*); -lean_object* l_Lean_Meta_MetaHasEval___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withNewLocalInstances___main___at_Lean_Meta_forallTelescopeReducing___spec__4(lean_object*); -lean_object* l_Lean_MetavarContext_MkBinding_elimMVarDeps(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_MetavarContext_MkBinding_elimMVarDeps(lean_object*, lean_object*, uint8_t, lean_object*); lean_object* l_Lean_Meta_ParamInfo_inhabited___closed__1; lean_object* l_Lean_Meta_mkFreshLevelMVarId(lean_object*); lean_object* l___private_Init_Lean_Meta_Basic_4__forallTelescopeReducingAuxAux___main___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -223,8 +210,9 @@ lean_object* lean_name_mk_string(lean_object*, lean_object*); lean_object* l_Lean_Meta_metaExt___closed__1; lean_object* l_ReaderT_pure___at_Lean_Meta_MetaExtState_inhabited___spec__1(lean_object*); lean_object* l_Lean_Meta_InfoCacheKey_HasBeq___boxed(lean_object*, lean_object*); -extern lean_object* l_IO_println___rarg___closed__1; +lean_object* l_Lean_Meta_setMVarKind(lean_object*, uint8_t, lean_object*, lean_object*); extern lean_object* l_PersistentArray_empty___closed__3; +lean_object* l_IO_runMeta___rarg___closed__3; lean_object* l_Lean_Meta_lambdaMetaTelescope(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_addContext(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkSynthPendingRef___closed__1; @@ -233,7 +221,6 @@ lean_object* l_Lean_Meta_TransparencyMode_HasBeq___closed__1; lean_object* l_Lean_Meta_withNewLocalInstances(lean_object*); lean_object* l_Lean_Meta_withNewLocalInstances___main(lean_object*); lean_object* l___private_Init_Lean_Meta_Basic_8__lambdaMetaTelescopeAux___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Options_empty; extern lean_object* l_IO_Error_Inhabited___closed__1; lean_object* l_Lean_Meta_approxDefEq___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withAtLeastTransparency___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -267,6 +254,7 @@ uint8_t l_Lean_Expr_Data_binderInfo(uint64_t); lean_object* l_Lean_Meta_liftStateMCtx___rarg(lean_object*, lean_object*, lean_object*); size_t lean_usize_of_nat(lean_object*); lean_object* l_Lean_Meta_mkMetaExtension___lambda__1(lean_object*, lean_object*); +lean_object* l_IO_runMeta___rarg___closed__4; lean_object* l_Lean_Meta_withLocalDecl___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withNewLocalInstances___main___at_Lean_Meta_forallTelescopeReducing___spec__4___rarg___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withNewLocalInstances___main___at_Lean_Meta_isClassExpensive___main___spec__5(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -289,7 +277,9 @@ lean_object* lean_local_ctx_mk_local_decl(lean_object*, lean_object*, lean_objec lean_object* l_Lean_Meta_mkIsExprDefEqAuxRef___lambda__1___closed__1; lean_object* l___private_Init_Lean_Meta_Basic_6__lambdaTelescopeAux___main(lean_object*); lean_object* l_Lean_Meta_withNewLocalInstances___main___at_Lean_Meta_forallTelescope___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentHashMap_empty___at_IO_runMeta___spec__1; lean_object* l_Lean_Meta_withIncRecDepth(lean_object*); +lean_object* l_IO_runMeta___rarg___closed__1; lean_object* l_Lean_Meta_assignExprMVar(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkIsExprDefEqAuxRef___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withNewLocalInstances___main___at_Lean_Meta_forallTelescopeReducing___spec__5(lean_object*); @@ -298,12 +288,11 @@ lean_object* l___private_Init_Lean_Meta_Basic_4__forallTelescopeReducingAuxAux(l lean_object* l_Lean_Meta_withNewLocalInstances___main___at_Lean_Meta_forallBoundedTelescope___spec__4___rarg___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkIsExprDefEqAuxRef___closed__1; lean_object* l___private_Init_Lean_Meta_Basic_4__forallTelescopeReducingAuxAux___main___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_IO_print___at_Lean_Meta_MetaHasEval___spec__3(lean_object*, lean_object*); lean_object* l_Lean_Meta_hasAssignableMVar(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkIsExprDefEqAuxRef___lambda__1___closed__2; lean_object* l_Lean_Meta_withNewLocalInstances___main___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_ParamInfo_inhabited; -lean_object* l_Lean_Meta_MetaHasEval___rarg___closed__1; +lean_object* l_Lean_Meta_setMVarKind___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getExprMVarAssignment_x3f(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_metaExt; lean_object* l_Lean_Meta_getLocalDecl(lean_object*, lean_object*, lean_object*); @@ -313,7 +302,6 @@ lean_object* l_Lean_Meta_liftStateMCtx___rarg___boxed(lean_object*, lean_object* lean_object* l_Lean_Meta_tracer___lambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_resettingSynthInstanceCache(lean_object*); lean_object* l_Lean_Meta_mkFreshExprMVar(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); -lean_object* l_Lean_getMaxRecDepth(lean_object*); uint8_t l_Lean_Expr_hasMVar(lean_object*); lean_object* l_Lean_Meta_tracer___closed__2; lean_object* l_Lean_Meta_withAtLeastTransparency___rarg(uint8_t, lean_object*, lean_object*, lean_object*); @@ -323,7 +311,8 @@ lean_object* l_Lean_Meta_synthPendingRef; lean_object* l_Lean_Meta_getConstAux(lean_object*, uint8_t, lean_object*, lean_object*); lean_object* lean_metavar_ctx_assign_level(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_throwEx___rarg___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_elimMVarDeps___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_IO_runMeta___rarg___closed__2; +lean_object* l_Lean_Meta_elimMVarDeps___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withMVarContext___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Meta_Basic_1__whenDebugging___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_incDepth(lean_object*); @@ -348,7 +337,6 @@ lean_object* l_Lean_Meta_isExprMVarAssigned(lean_object*, lean_object*, lean_obj lean_object* l_Lean_Meta_tracer___lambda__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkFreshExprMVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isReducible(lean_object*, lean_object*, lean_object*); -lean_object* l_Array_forMAux___main___at_Lean_Meta_MetaHasEval___spec__7___boxed(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Meta_Basic_4__forallTelescopeReducingAuxAux___main___at_Lean_Meta_forallTelescopeReducing___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_registerEnvExtensionUnsafe___rarg___closed__2; lean_object* l_Lean_Meta_withNewLocalInstances___main___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -357,6 +345,7 @@ lean_object* lean_metavar_ctx_find_decl(lean_object*, lean_object*); lean_object* l_Lean_Meta_dbgTrace(lean_object*); lean_object* l_Lean_Meta_mkFreshId(lean_object*); lean_object* l___private_Init_Lean_Meta_Basic_8__lambdaMetaTelescopeAux___main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentHashMap_empty___at_IO_runMeta___spec__1___closed__1; lean_object* l_Lean_Meta_withNewLocalInstances___main___at_Lean_Meta_forallTelescope___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* l_Lean_Meta_TransparencyMode_beq___boxed(lean_object*, lean_object*); lean_object* l_Lean_Meta_metaExt___elambda__1(lean_object*); @@ -378,7 +367,7 @@ lean_object* l_Lean_Meta_getConstInfo(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkLambda(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Meta_Basic_10__regTraceClasses(lean_object*); lean_object* l_Lean_Meta_getMVarDecl(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_MetavarContext_MkBinding_mkBinding(uint8_t, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); +lean_object* l_Lean_MetavarContext_MkBinding_mkBinding(uint8_t, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*); lean_object* l_Lean_Meta_getTransparency(lean_object*, lean_object*); lean_object* l_Lean_Meta_instantiateMVars(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Meta_Basic_4__forallTelescopeReducingAuxAux___main___at_Lean_Meta_forallTelescope___spec__1___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -402,10 +391,8 @@ lean_object* l_Lean_Meta_mkWHNFRef___closed__1; lean_object* l_Lean_Meta_mkFreshLevelMVar___rarg(lean_object*); extern lean_object* l_Lean_MetavarContext_Inhabited___closed__1; lean_object* l___private_Init_Lean_Meta_Basic_3__liftMkBindingM(lean_object*); -lean_object* l_PersistentHashMap_empty___at_Lean_Meta_MetaHasEval___spec__1___closed__1; lean_object* l_Lean_Meta_withNewLocalInstances___main___at_Lean_Meta_forallTelescope___spec__3(lean_object*); lean_object* l_Lean_Meta_mkMetaExtension___closed__3; -lean_object* l_PersistentArray_forMAux___main___at_Lean_Meta_MetaHasEval___spec__5___boxed(lean_object*, lean_object*); lean_object* l_Lean_Meta_isClassQuick___main___closed__1; uint8_t l_Lean_LocalInstance_beq(lean_object*, lean_object*); lean_object* l_Lean_registerEnvExtensionUnsafe___at_Lean_Meta_mkMetaExtension___spec__1___closed__2; @@ -420,7 +407,6 @@ lean_object* l___private_Init_Lean_Meta_Basic_2__getTraceState(lean_object*); lean_object* l_Lean_Meta_MetaExtState_inhabited___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_local_ctx_find(lean_object*, lean_object*); lean_object* l___private_Init_Lean_Meta_Basic_7__forallMetaTelescopeReducingAux___main(uint8_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_PersistentArray_forM___at_Lean_Meta_MetaHasEval___spec__4___boxed(lean_object*, lean_object*); lean_object* l_Lean_Meta_mkFreshLevelMVarId___boxed(lean_object*); extern lean_object* l_HashMap_Inhabited___closed__1; lean_object* l_Lean_Meta_mkInferTypeRef___closed__1; @@ -456,7 +442,6 @@ lean_object* l_Lean_registerEnvExtensionUnsafe___at_Lean_Meta_mkMetaExtension___ lean_object* l_Lean_Meta_getFVarLocalDecl___boxed(lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); lean_object* l___private_Init_Lean_Meta_Basic_4__forallTelescopeReducingAuxAux___main___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_forMAux___main___at_Lean_Meta_MetaHasEval___spec__6(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getConstAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withNewLocalInstances___main___at_Lean_Meta_isClassExpensive___main___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getFVarLocalDecl(lean_object*, lean_object*, lean_object*); @@ -3575,6 +3560,66 @@ lean_dec(x_2); return x_4; } } +lean_object* l_Lean_Meta_setMVarKind(lean_object* x_1, uint8_t 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; +x_6 = lean_ctor_get(x_4, 1); +x_7 = l_Lean_MetavarContext_setMVarKind(x_6, x_1, x_2); +lean_ctor_set(x_4, 1, x_7); +x_8 = lean_box(0); +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; 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_4, 0); +x_11 = lean_ctor_get(x_4, 1); +x_12 = lean_ctor_get(x_4, 2); +x_13 = lean_ctor_get(x_4, 3); +x_14 = lean_ctor_get(x_4, 4); +x_15 = lean_ctor_get(x_4, 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_4); +x_16 = l_Lean_MetavarContext_setMVarKind(x_11, x_1, x_2); +x_17 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_17, 0, x_10); +lean_ctor_set(x_17, 1, x_16); +lean_ctor_set(x_17, 2, x_12); +lean_ctor_set(x_17, 3, x_13); +lean_ctor_set(x_17, 4, x_14); +lean_ctor_set(x_17, 5, x_15); +x_18 = lean_box(0); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_17); +return x_19; +} +} +} +lean_object* l_Lean_Meta_setMVarKind___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_Meta_setMVarKind(x_1, x_5, x_3, x_4); +lean_dec(x_3); +return x_6; +} +} lean_object* l_Lean_Meta_isReadOnlyExprMVar(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -5069,7 +5114,7 @@ lean_ctor_set(x_12, 0, x_9); lean_ctor_set(x_12, 1, x_10); lean_ctor_set(x_12, 2, x_11); x_13 = 0; -x_14 = l_Lean_MetavarContext_MkBinding_mkBinding(x_13, x_6, x_1, x_2, x_13, x_12); +x_14 = l_Lean_MetavarContext_MkBinding_mkBinding(x_13, x_6, x_1, x_2, x_13, x_13, x_12); if (lean_obj_tag(x_14) == 0) { uint8_t x_15; @@ -5232,7 +5277,7 @@ lean_ctor_set(x_60, 0, x_54); lean_ctor_set(x_60, 1, x_56); lean_ctor_set(x_60, 2, x_59); x_61 = 0; -x_62 = l_Lean_MetavarContext_MkBinding_mkBinding(x_61, x_6, x_1, x_2, x_61, x_60); +x_62 = l_Lean_MetavarContext_MkBinding_mkBinding(x_61, x_6, x_1, x_2, x_61, x_61, x_60); if (lean_obj_tag(x_62) == 0) { lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; @@ -5372,7 +5417,7 @@ lean_ctor_set(x_12, 1, x_10); lean_ctor_set(x_12, 2, x_11); x_13 = 1; x_14 = 0; -x_15 = l_Lean_MetavarContext_MkBinding_mkBinding(x_13, x_6, x_1, x_2, x_14, x_12); +x_15 = l_Lean_MetavarContext_MkBinding_mkBinding(x_13, x_6, x_1, x_2, x_14, x_14, x_12); if (lean_obj_tag(x_15) == 0) { uint8_t x_16; @@ -5536,7 +5581,7 @@ lean_ctor_set(x_61, 1, x_57); lean_ctor_set(x_61, 2, x_60); x_62 = 1; x_63 = 0; -x_64 = l_Lean_MetavarContext_MkBinding_mkBinding(x_62, x_6, x_1, x_2, x_63, x_61); +x_64 = l_Lean_MetavarContext_MkBinding_mkBinding(x_62, x_6, x_1, x_2, x_63, x_63, x_61); if (lean_obj_tag(x_64) == 0) { lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; @@ -5676,7 +5721,7 @@ lean_ctor_set(x_12, 1, x_10); lean_ctor_set(x_12, 2, x_11); x_13 = 0; x_14 = 1; -x_15 = l_Lean_MetavarContext_MkBinding_mkBinding(x_13, x_6, x_1, x_2, x_14, x_12); +x_15 = l_Lean_MetavarContext_MkBinding_mkBinding(x_13, x_6, x_1, x_2, x_14, x_13, x_12); if (lean_obj_tag(x_15) == 0) { uint8_t x_16; @@ -5832,7 +5877,7 @@ lean_ctor_set(x_58, 1, x_54); lean_ctor_set(x_58, 2, x_57); x_59 = 0; x_60 = 1; -x_61 = l_Lean_MetavarContext_MkBinding_mkBinding(x_59, x_6, x_1, x_2, x_60, x_58); +x_61 = l_Lean_MetavarContext_MkBinding_mkBinding(x_59, x_6, x_1, x_2, x_60, x_59, x_58); if (lean_obj_tag(x_61) == 0) { lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; @@ -5949,288 +5994,290 @@ return x_86; } } } -lean_object* l_Lean_Meta_elimMVarDeps(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Meta_elimMVarDeps(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5) { _start: { -uint8_t x_5; -x_5 = l_Array_isEmpty___rarg(x_1); -if (x_5 == 0) -{ uint8_t x_6; -x_6 = !lean_is_exclusive(x_4); +x_6 = l_Array_isEmpty___rarg(x_1); if (x_6 == 0) { -lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_7 = lean_ctor_get(x_4, 0); -x_8 = lean_ctor_get(x_4, 1); -x_9 = lean_ctor_get(x_4, 3); -x_10 = l_HashMap_Inhabited___closed__1; -x_11 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_11, 0, x_8); -lean_ctor_set(x_11, 1, x_9); -lean_ctor_set(x_11, 2, x_10); -x_12 = l_Lean_MetavarContext_MkBinding_elimMVarDeps(x_1, x_2, x_11); -if (lean_obj_tag(x_12) == 0) +uint8_t x_7; +x_7 = !lean_is_exclusive(x_5); +if (x_7 == 0) { -uint8_t x_13; -x_13 = !lean_is_exclusive(x_12); -if (x_13 == 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_5, 0); +x_9 = lean_ctor_get(x_5, 1); +x_10 = lean_ctor_get(x_5, 3); +x_11 = l_HashMap_Inhabited___closed__1; +x_12 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_12, 0, x_9); +lean_ctor_set(x_12, 1, x_10); +lean_ctor_set(x_12, 2, x_11); +x_13 = l_Lean_MetavarContext_MkBinding_elimMVarDeps(x_1, x_2, x_3, x_12); +if (lean_obj_tag(x_13) == 0) { -lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_14 = lean_ctor_get(x_12, 1); -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_14, 1); +uint8_t x_14; +x_14 = !lean_is_exclusive(x_13); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_13, 1); +x_16 = lean_ctor_get(x_15, 0); lean_inc(x_16); -lean_dec(x_14); -lean_ctor_set(x_4, 3, x_16); -lean_ctor_set(x_4, 1, x_15); -lean_ctor_set(x_12, 1, x_4); -return x_12; -} -else -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_17 = lean_ctor_get(x_12, 0); -x_18 = lean_ctor_get(x_12, 1); -lean_inc(x_18); +x_17 = lean_ctor_get(x_15, 1); lean_inc(x_17); -lean_dec(x_12); -x_19 = lean_ctor_get(x_18, 0); +lean_dec(x_15); +lean_ctor_set(x_5, 3, x_17); +lean_ctor_set(x_5, 1, x_16); +lean_ctor_set(x_13, 1, x_5); +return x_13; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_18 = lean_ctor_get(x_13, 0); +x_19 = lean_ctor_get(x_13, 1); lean_inc(x_19); -x_20 = lean_ctor_get(x_18, 1); +lean_inc(x_18); +lean_dec(x_13); +x_20 = lean_ctor_get(x_19, 0); lean_inc(x_20); -lean_dec(x_18); -lean_ctor_set(x_4, 3, x_20); -lean_ctor_set(x_4, 1, x_19); -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_17); -lean_ctor_set(x_21, 1, x_4); -return x_21; +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +lean_ctor_set(x_5, 3, x_21); +lean_ctor_set(x_5, 1, x_20); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_18); +lean_ctor_set(x_22, 1, x_5); +return x_22; } } else { -uint8_t x_22; -x_22 = !lean_is_exclusive(x_12); -if (x_22 == 0) +uint8_t x_23; +x_23 = !lean_is_exclusive(x_13); +if (x_23 == 0) { -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_23 = lean_ctor_get(x_12, 0); -x_24 = lean_ctor_get(x_12, 1); -x_25 = lean_ctor_get(x_23, 0); -lean_inc(x_25); -x_26 = lean_ctor_get(x_23, 1); +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; 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_24 = lean_ctor_get(x_13, 0); +x_25 = lean_ctor_get(x_13, 1); +x_26 = lean_ctor_get(x_24, 0); lean_inc(x_26); -x_27 = lean_ctor_get(x_23, 2); +x_27 = lean_ctor_get(x_24, 1); lean_inc(x_27); -x_28 = lean_ctor_get(x_23, 3); +x_28 = lean_ctor_get(x_24, 2); lean_inc(x_28); -lean_dec(x_23); -x_29 = lean_ctor_get(x_3, 0); -x_30 = lean_ctor_get(x_29, 0); -lean_inc(x_30); -lean_inc(x_7); -x_31 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_31, 0, x_7); -lean_ctor_set(x_31, 1, x_25); -lean_ctor_set(x_31, 2, x_26); -lean_ctor_set(x_31, 3, x_30); -x_32 = lean_alloc_ctor(9, 3, 0); -lean_ctor_set(x_32, 0, x_27); -lean_ctor_set(x_32, 1, x_28); -lean_ctor_set(x_32, 2, x_31); -x_33 = lean_ctor_get(x_24, 0); -lean_inc(x_33); -x_34 = lean_ctor_get(x_24, 1); -lean_inc(x_34); +x_29 = lean_ctor_get(x_24, 3); +lean_inc(x_29); lean_dec(x_24); -lean_ctor_set(x_4, 3, x_34); -lean_ctor_set(x_4, 1, x_33); -lean_ctor_set(x_12, 1, x_4); -lean_ctor_set(x_12, 0, x_32); -return x_12; -} -else -{ -lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_35 = lean_ctor_get(x_12, 0); -x_36 = lean_ctor_get(x_12, 1); -lean_inc(x_36); +x_30 = lean_ctor_get(x_4, 0); +x_31 = lean_ctor_get(x_30, 0); +lean_inc(x_31); +lean_inc(x_8); +x_32 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_32, 0, x_8); +lean_ctor_set(x_32, 1, x_26); +lean_ctor_set(x_32, 2, x_27); +lean_ctor_set(x_32, 3, x_31); +x_33 = lean_alloc_ctor(9, 3, 0); +lean_ctor_set(x_33, 0, x_28); +lean_ctor_set(x_33, 1, x_29); +lean_ctor_set(x_33, 2, x_32); +x_34 = lean_ctor_get(x_25, 0); +lean_inc(x_34); +x_35 = lean_ctor_get(x_25, 1); lean_inc(x_35); -lean_dec(x_12); -x_37 = lean_ctor_get(x_35, 0); +lean_dec(x_25); +lean_ctor_set(x_5, 3, x_35); +lean_ctor_set(x_5, 1, x_34); +lean_ctor_set(x_13, 1, x_5); +lean_ctor_set(x_13, 0, x_33); +return x_13; +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; 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_36 = lean_ctor_get(x_13, 0); +x_37 = lean_ctor_get(x_13, 1); lean_inc(x_37); -x_38 = lean_ctor_get(x_35, 1); +lean_inc(x_36); +lean_dec(x_13); +x_38 = lean_ctor_get(x_36, 0); lean_inc(x_38); -x_39 = lean_ctor_get(x_35, 2); +x_39 = lean_ctor_get(x_36, 1); lean_inc(x_39); -x_40 = lean_ctor_get(x_35, 3); +x_40 = lean_ctor_get(x_36, 2); lean_inc(x_40); -lean_dec(x_35); -x_41 = lean_ctor_get(x_3, 0); -x_42 = lean_ctor_get(x_41, 0); -lean_inc(x_42); -lean_inc(x_7); -x_43 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_43, 0, x_7); -lean_ctor_set(x_43, 1, x_37); -lean_ctor_set(x_43, 2, x_38); -lean_ctor_set(x_43, 3, x_42); -x_44 = lean_alloc_ctor(9, 3, 0); -lean_ctor_set(x_44, 0, x_39); -lean_ctor_set(x_44, 1, x_40); -lean_ctor_set(x_44, 2, x_43); -x_45 = lean_ctor_get(x_36, 0); -lean_inc(x_45); -x_46 = lean_ctor_get(x_36, 1); -lean_inc(x_46); +x_41 = lean_ctor_get(x_36, 3); +lean_inc(x_41); lean_dec(x_36); -lean_ctor_set(x_4, 3, x_46); -lean_ctor_set(x_4, 1, x_45); -x_47 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_47, 0, x_44); -lean_ctor_set(x_47, 1, x_4); -return x_47; +x_42 = lean_ctor_get(x_4, 0); +x_43 = lean_ctor_get(x_42, 0); +lean_inc(x_43); +lean_inc(x_8); +x_44 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_44, 0, x_8); +lean_ctor_set(x_44, 1, x_38); +lean_ctor_set(x_44, 2, x_39); +lean_ctor_set(x_44, 3, x_43); +x_45 = lean_alloc_ctor(9, 3, 0); +lean_ctor_set(x_45, 0, x_40); +lean_ctor_set(x_45, 1, x_41); +lean_ctor_set(x_45, 2, x_44); +x_46 = lean_ctor_get(x_37, 0); +lean_inc(x_46); +x_47 = lean_ctor_get(x_37, 1); +lean_inc(x_47); +lean_dec(x_37); +lean_ctor_set(x_5, 3, x_47); +lean_ctor_set(x_5, 1, x_46); +x_48 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_48, 0, x_45); +lean_ctor_set(x_48, 1, x_5); +return x_48; } } } else { -lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; -x_48 = lean_ctor_get(x_4, 0); -x_49 = lean_ctor_get(x_4, 1); -x_50 = lean_ctor_get(x_4, 2); -x_51 = lean_ctor_get(x_4, 3); -x_52 = lean_ctor_get(x_4, 4); -x_53 = lean_ctor_get(x_4, 5); +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_5, 0); +x_50 = lean_ctor_get(x_5, 1); +x_51 = lean_ctor_get(x_5, 2); +x_52 = lean_ctor_get(x_5, 3); +x_53 = lean_ctor_get(x_5, 4); +x_54 = lean_ctor_get(x_5, 5); +lean_inc(x_54); lean_inc(x_53); lean_inc(x_52); lean_inc(x_51); lean_inc(x_50); lean_inc(x_49); -lean_inc(x_48); -lean_dec(x_4); -x_54 = l_HashMap_Inhabited___closed__1; -x_55 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_55, 0, x_49); -lean_ctor_set(x_55, 1, x_51); -lean_ctor_set(x_55, 2, x_54); -x_56 = l_Lean_MetavarContext_MkBinding_elimMVarDeps(x_1, x_2, x_55); -if (lean_obj_tag(x_56) == 0) +lean_dec(x_5); +x_55 = l_HashMap_Inhabited___closed__1; +x_56 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_56, 0, x_50); +lean_ctor_set(x_56, 1, x_52); +lean_ctor_set(x_56, 2, x_55); +x_57 = l_Lean_MetavarContext_MkBinding_elimMVarDeps(x_1, x_2, x_3, x_56); +if (lean_obj_tag(x_57) == 0) { -lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; -x_57 = lean_ctor_get(x_56, 0); -lean_inc(x_57); -x_58 = lean_ctor_get(x_56, 1); +lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_58 = lean_ctor_get(x_57, 0); lean_inc(x_58); -if (lean_is_exclusive(x_56)) { - lean_ctor_release(x_56, 0); - lean_ctor_release(x_56, 1); - x_59 = x_56; +x_59 = lean_ctor_get(x_57, 1); +lean_inc(x_59); +if (lean_is_exclusive(x_57)) { + lean_ctor_release(x_57, 0); + lean_ctor_release(x_57, 1); + x_60 = x_57; } else { - lean_dec_ref(x_56); - x_59 = lean_box(0); + lean_dec_ref(x_57); + x_60 = lean_box(0); } -x_60 = lean_ctor_get(x_58, 0); -lean_inc(x_60); -x_61 = lean_ctor_get(x_58, 1); +x_61 = lean_ctor_get(x_59, 0); lean_inc(x_61); -lean_dec(x_58); -x_62 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_62, 0, x_48); -lean_ctor_set(x_62, 1, x_60); -lean_ctor_set(x_62, 2, x_50); -lean_ctor_set(x_62, 3, x_61); -lean_ctor_set(x_62, 4, x_52); -lean_ctor_set(x_62, 5, x_53); -if (lean_is_scalar(x_59)) { - x_63 = lean_alloc_ctor(0, 2, 0); +x_62 = lean_ctor_get(x_59, 1); +lean_inc(x_62); +lean_dec(x_59); +x_63 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_63, 0, x_49); +lean_ctor_set(x_63, 1, x_61); +lean_ctor_set(x_63, 2, x_51); +lean_ctor_set(x_63, 3, x_62); +lean_ctor_set(x_63, 4, x_53); +lean_ctor_set(x_63, 5, x_54); +if (lean_is_scalar(x_60)) { + x_64 = lean_alloc_ctor(0, 2, 0); } else { - x_63 = x_59; + x_64 = x_60; } -lean_ctor_set(x_63, 0, x_57); -lean_ctor_set(x_63, 1, x_62); -return x_63; +lean_ctor_set(x_64, 0, x_58); +lean_ctor_set(x_64, 1, x_63); +return x_64; } else { -lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; -x_64 = lean_ctor_get(x_56, 0); -lean_inc(x_64); -x_65 = lean_ctor_get(x_56, 1); +lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; +x_65 = lean_ctor_get(x_57, 0); lean_inc(x_65); -if (lean_is_exclusive(x_56)) { - lean_ctor_release(x_56, 0); - lean_ctor_release(x_56, 1); - x_66 = x_56; +x_66 = lean_ctor_get(x_57, 1); +lean_inc(x_66); +if (lean_is_exclusive(x_57)) { + lean_ctor_release(x_57, 0); + lean_ctor_release(x_57, 1); + x_67 = x_57; } else { - lean_dec_ref(x_56); - x_66 = lean_box(0); + lean_dec_ref(x_57); + x_67 = lean_box(0); } -x_67 = lean_ctor_get(x_64, 0); -lean_inc(x_67); -x_68 = lean_ctor_get(x_64, 1); +x_68 = lean_ctor_get(x_65, 0); lean_inc(x_68); -x_69 = lean_ctor_get(x_64, 2); +x_69 = lean_ctor_get(x_65, 1); lean_inc(x_69); -x_70 = lean_ctor_get(x_64, 3); +x_70 = lean_ctor_get(x_65, 2); lean_inc(x_70); -lean_dec(x_64); -x_71 = lean_ctor_get(x_3, 0); -x_72 = lean_ctor_get(x_71, 0); -lean_inc(x_72); -lean_inc(x_48); -x_73 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_73, 0, x_48); -lean_ctor_set(x_73, 1, x_67); -lean_ctor_set(x_73, 2, x_68); -lean_ctor_set(x_73, 3, x_72); -x_74 = lean_alloc_ctor(9, 3, 0); -lean_ctor_set(x_74, 0, x_69); -lean_ctor_set(x_74, 1, x_70); -lean_ctor_set(x_74, 2, x_73); -x_75 = lean_ctor_get(x_65, 0); -lean_inc(x_75); -x_76 = lean_ctor_get(x_65, 1); -lean_inc(x_76); +x_71 = lean_ctor_get(x_65, 3); +lean_inc(x_71); lean_dec(x_65); -x_77 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_77, 0, x_48); -lean_ctor_set(x_77, 1, x_75); -lean_ctor_set(x_77, 2, x_50); -lean_ctor_set(x_77, 3, x_76); -lean_ctor_set(x_77, 4, x_52); -lean_ctor_set(x_77, 5, x_53); -if (lean_is_scalar(x_66)) { - x_78 = lean_alloc_ctor(1, 2, 0); +x_72 = lean_ctor_get(x_4, 0); +x_73 = lean_ctor_get(x_72, 0); +lean_inc(x_73); +lean_inc(x_49); +x_74 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_74, 0, x_49); +lean_ctor_set(x_74, 1, x_68); +lean_ctor_set(x_74, 2, x_69); +lean_ctor_set(x_74, 3, x_73); +x_75 = lean_alloc_ctor(9, 3, 0); +lean_ctor_set(x_75, 0, x_70); +lean_ctor_set(x_75, 1, x_71); +lean_ctor_set(x_75, 2, x_74); +x_76 = lean_ctor_get(x_66, 0); +lean_inc(x_76); +x_77 = lean_ctor_get(x_66, 1); +lean_inc(x_77); +lean_dec(x_66); +x_78 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_78, 0, x_49); +lean_ctor_set(x_78, 1, x_76); +lean_ctor_set(x_78, 2, x_51); +lean_ctor_set(x_78, 3, x_77); +lean_ctor_set(x_78, 4, x_53); +lean_ctor_set(x_78, 5, x_54); +if (lean_is_scalar(x_67)) { + x_79 = lean_alloc_ctor(1, 2, 0); } else { - x_78 = x_66; + x_79 = x_67; } -lean_ctor_set(x_78, 0, x_74); -lean_ctor_set(x_78, 1, x_77); -return x_78; -} -} -} -else -{ -lean_object* x_79; -lean_dec(x_1); -x_79 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_79, 0, x_2); -lean_ctor_set(x_79, 1, x_4); +lean_ctor_set(x_79, 0, x_75); +lean_ctor_set(x_79, 1, x_78); return x_79; } } } -lean_object* l_Lean_Meta_elimMVarDeps___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +else +{ +lean_object* x_80; +lean_dec(x_1); +x_80 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_80, 0, x_2); +lean_ctor_set(x_80, 1, x_5); +return x_80; +} +} +} +lean_object* l_Lean_Meta_elimMVarDeps___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { -lean_object* x_5; -x_5 = l_Lean_Meta_elimMVarDeps(x_1, x_2, x_3, x_4); +uint8_t x_6; lean_object* x_7; +x_6 = lean_unbox(x_3); lean_dec(x_3); -return x_5; +x_7 = l_Lean_Meta_elimMVarDeps(x_1, x_2, x_6, x_4, x_5); +lean_dec(x_4); +return x_7; } } lean_object* l_Lean_Meta_savingCache___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { @@ -47733,517 +47780,6 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Meta_withMCtx___rarg), 4, 0); return x_2; } } -lean_object* _init_l_PersistentHashMap_empty___at_Lean_Meta_MetaHasEval___spec__1___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_PersistentHashMap_empty___rarg___closed__2; -x_2 = lean_unsigned_to_nat(0u); -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -lean_object* _init_l_PersistentHashMap_empty___at_Lean_Meta_MetaHasEval___spec__1() { -_start: -{ -lean_object* x_1; -x_1 = l_PersistentHashMap_empty___at_Lean_Meta_MetaHasEval___spec__1___closed__1; -return x_1; -} -} -lean_object* l_IO_print___at_Lean_Meta_MetaHasEval___spec__3(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_3 = l_Lean_Options_empty; -x_4 = l_Lean_Format_pretty(x_1, x_3); -x_5 = lean_io_prim_put_str(x_4, x_2); -lean_dec(x_4); -return x_5; -} -} -lean_object* l_IO_println___at_Lean_Meta_MetaHasEval___spec__2(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_IO_print___at_Lean_Meta_MetaHasEval___spec__3(x_1, x_2); -if (lean_obj_tag(x_3) == 0) -{ -lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_4 = lean_ctor_get(x_3, 1); -lean_inc(x_4); -lean_dec(x_3); -x_5 = l_IO_println___rarg___closed__1; -x_6 = lean_io_prim_put_str(x_5, x_4); -return x_6; -} -else -{ -uint8_t x_7; -x_7 = !lean_is_exclusive(x_3); -if (x_7 == 0) -{ -return x_3; -} -else -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; -x_8 = lean_ctor_get(x_3, 0); -x_9 = lean_ctor_get(x_3, 1); -lean_inc(x_9); -lean_inc(x_8); -lean_dec(x_3); -x_10 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_10, 0, x_8); -lean_ctor_set(x_10, 1, x_9); -return x_10; -} -} -} -} -lean_object* l_Array_forMAux___main___at_Lean_Meta_MetaHasEval___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_1); -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); -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_3); -return x_7; -} -else -{ -lean_object* x_8; lean_object* x_9; -x_8 = lean_array_fget(x_1, x_2); -x_9 = l_PersistentArray_forMAux___main___at_Lean_Meta_MetaHasEval___spec__5(x_8, x_3); -lean_dec(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, 1); -lean_inc(x_10); -lean_dec(x_9); -x_11 = lean_unsigned_to_nat(1u); -x_12 = lean_nat_add(x_2, x_11); -lean_dec(x_2); -x_2 = x_12; -x_3 = x_10; -goto _start; -} -else -{ -uint8_t x_14; -lean_dec(x_2); -x_14 = !lean_is_exclusive(x_9); -if (x_14 == 0) -{ -return x_9; -} -else -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_15 = lean_ctor_get(x_9, 0); -x_16 = lean_ctor_get(x_9, 1); -lean_inc(x_16); -lean_inc(x_15); -lean_dec(x_9); -x_17 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_17, 0, x_15); -lean_ctor_set(x_17, 1, x_16); -return x_17; -} -} -} -} -} -lean_object* l_Array_forMAux___main___at_Lean_Meta_MetaHasEval___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_1); -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); -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_3); -return x_7; -} -else -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; -x_8 = lean_array_fget(x_1, x_2); -x_9 = lean_box(0); -x_10 = l_Lean_MessageData_formatAux___main(x_9, x_8); -x_11 = l_IO_println___at_Lean_Meta_MetaHasEval___spec__2(x_10, x_3); -if (lean_obj_tag(x_11) == 0) -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_12 = lean_ctor_get(x_11, 1); -lean_inc(x_12); -lean_dec(x_11); -x_13 = lean_unsigned_to_nat(1u); -x_14 = lean_nat_add(x_2, x_13); -lean_dec(x_2); -x_2 = x_14; -x_3 = x_12; -goto _start; -} -else -{ -uint8_t x_16; -lean_dec(x_2); -x_16 = !lean_is_exclusive(x_11); -if (x_16 == 0) -{ -return x_11; -} -else -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_17 = lean_ctor_get(x_11, 0); -x_18 = lean_ctor_get(x_11, 1); -lean_inc(x_18); -lean_inc(x_17); -lean_dec(x_11); -x_19 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_19, 0, x_17); -lean_ctor_set(x_19, 1, x_18); -return x_19; -} -} -} -} -} -lean_object* l_PersistentArray_forMAux___main___at_Lean_Meta_MetaHasEval___spec__5(lean_object* x_1, lean_object* x_2) { -_start: -{ -if (lean_obj_tag(x_1) == 0) -{ -lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_3 = lean_ctor_get(x_1, 0); -x_4 = lean_unsigned_to_nat(0u); -x_5 = l_Array_forMAux___main___at_Lean_Meta_MetaHasEval___spec__6(x_3, x_4, x_2); -return x_5; -} -else -{ -lean_object* x_6; lean_object* x_7; lean_object* x_8; -x_6 = lean_ctor_get(x_1, 0); -x_7 = lean_unsigned_to_nat(0u); -x_8 = l_Array_forMAux___main___at_Lean_Meta_MetaHasEval___spec__7(x_6, x_7, x_2); -return x_8; -} -} -} -lean_object* l_PersistentArray_forM___at_Lean_Meta_MetaHasEval___spec__4(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_3 = lean_ctor_get(x_1, 0); -x_4 = lean_ctor_get(x_1, 1); -x_5 = l_PersistentArray_forMAux___main___at_Lean_Meta_MetaHasEval___spec__5(x_3, x_2); -if (lean_obj_tag(x_5) == 0) -{ -lean_object* x_6; lean_object* x_7; lean_object* x_8; -x_6 = lean_ctor_get(x_5, 1); -lean_inc(x_6); -lean_dec(x_5); -x_7 = lean_unsigned_to_nat(0u); -x_8 = l_Array_forMAux___main___at_Lean_Meta_MetaHasEval___spec__7(x_4, x_7, x_6); -return x_8; -} -else -{ -uint8_t x_9; -x_9 = !lean_is_exclusive(x_5); -if (x_9 == 0) -{ -return x_5; -} -else -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; -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); -x_12 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_12, 0, x_10); -lean_ctor_set(x_12, 1, x_11); -return x_12; -} -} -} -} -lean_object* _init_l_Lean_Meta_MetaHasEval___rarg___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Meta_InfoCacheKey_Hashable___boxed), 1, 0); -return x_1; -} -} -lean_object* _init_l_Lean_Meta_MetaHasEval___rarg___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Meta_InfoCacheKey_HasBeq___boxed), 2, 0); -return x_1; -} -} -lean_object* _init_l_Lean_Meta_MetaHasEval___rarg___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_PersistentHashMap_empty___rarg___closed__2; -x_2 = lean_unsigned_to_nat(0u); -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -lean_object* _init_l_Lean_Meta_MetaHasEval___rarg___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_PersistentHashMap_empty___at_Lean_Meta_MetaHasEval___spec__1; -x_2 = l_Lean_Meta_MetaHasEval___rarg___closed__3; -x_3 = l_Lean_Meta_resettingSynthInstanceCache___rarg___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_Meta_MetaHasEval___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; uint8_t x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_6 = 0; -x_7 = 1; -lean_inc(x_3); -x_8 = lean_alloc_ctor(0, 1, 7); -lean_ctor_set(x_8, 0, x_3); -lean_ctor_set_uint8(x_8, sizeof(void*)*1, x_6); -lean_ctor_set_uint8(x_8, sizeof(void*)*1 + 1, x_6); -lean_ctor_set_uint8(x_8, sizeof(void*)*1 + 2, x_6); -lean_ctor_set_uint8(x_8, sizeof(void*)*1 + 3, x_6); -lean_ctor_set_uint8(x_8, sizeof(void*)*1 + 4, x_6); -lean_ctor_set_uint8(x_8, sizeof(void*)*1 + 5, x_6); -lean_ctor_set_uint8(x_8, sizeof(void*)*1 + 6, x_7); -x_9 = l_Lean_getMaxRecDepth(x_3); -x_10 = l_Lean_LocalContext_Inhabited___closed__2; -x_11 = l_Array_empty___closed__1; -x_12 = lean_unsigned_to_nat(0u); -x_13 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_13, 0, x_8); -lean_ctor_set(x_13, 1, x_10); -lean_ctor_set(x_13, 2, x_11); -lean_ctor_set(x_13, 3, x_12); -lean_ctor_set(x_13, 4, x_9); -x_14 = l_Lean_MetavarContext_Inhabited___closed__1; -x_15 = l_Lean_Meta_MetaHasEval___rarg___closed__4; -x_16 = l_Lean_NameGenerator_Inhabited___closed__3; -x_17 = l_Lean_TraceState_Inhabited___closed__1; -x_18 = l_PersistentArray_empty___closed__3; -x_19 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_19, 0, x_2); -lean_ctor_set(x_19, 1, x_14); -lean_ctor_set(x_19, 2, x_15); -lean_ctor_set(x_19, 3, x_16); -lean_ctor_set(x_19, 4, x_17); -lean_ctor_set(x_19, 5, x_18); -x_20 = lean_apply_2(x_4, x_13, x_19); -if (lean_obj_tag(x_20) == 0) -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_21 = lean_ctor_get(x_20, 0); -lean_inc(x_21); -x_22 = lean_ctor_get(x_20, 1); -lean_inc(x_22); -lean_dec(x_20); -x_23 = lean_ctor_get(x_22, 4); -lean_inc(x_23); -x_24 = lean_ctor_get(x_23, 0); -lean_inc(x_24); -lean_dec(x_23); -x_25 = l_PersistentArray_forM___at_Lean_Meta_MetaHasEval___spec__4(x_24, x_5); -lean_dec(x_24); -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, 1); -lean_inc(x_26); -lean_dec(x_25); -x_27 = lean_ctor_get(x_22, 0); -lean_inc(x_27); -lean_dec(x_22); -x_28 = lean_apply_4(x_1, x_27, x_3, x_21, x_26); -return x_28; -} -else -{ -uint8_t x_29; -lean_dec(x_22); -lean_dec(x_21); -lean_dec(x_3); -lean_dec(x_1); -x_29 = !lean_is_exclusive(x_25); -if (x_29 == 0) -{ -return x_25; -} -else -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_30 = lean_ctor_get(x_25, 0); -x_31 = lean_ctor_get(x_25, 1); -lean_inc(x_31); -lean_inc(x_30); -lean_dec(x_25); -x_32 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_32, 0, x_30); -lean_ctor_set(x_32, 1, x_31); -return x_32; -} -} -} -else -{ -lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; -lean_dec(x_3); -lean_dec(x_1); -x_33 = lean_ctor_get(x_20, 0); -lean_inc(x_33); -x_34 = lean_ctor_get(x_20, 1); -lean_inc(x_34); -lean_dec(x_20); -x_35 = lean_ctor_get(x_34, 4); -lean_inc(x_35); -lean_dec(x_34); -x_36 = lean_ctor_get(x_35, 0); -lean_inc(x_36); -lean_dec(x_35); -x_37 = l_PersistentArray_forM___at_Lean_Meta_MetaHasEval___spec__4(x_36, x_5); -lean_dec(x_36); -if (lean_obj_tag(x_37) == 0) -{ -uint8_t x_38; -x_38 = !lean_is_exclusive(x_37); -if (x_38 == 0) -{ -lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_39 = lean_ctor_get(x_37, 0); -lean_dec(x_39); -x_40 = l_Lean_Meta_Exception_toStr(x_33); -x_41 = lean_alloc_ctor(18, 1, 0); -lean_ctor_set(x_41, 0, x_40); -lean_ctor_set_tag(x_37, 1); -lean_ctor_set(x_37, 0, x_41); -return x_37; -} -else -{ -lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_42 = lean_ctor_get(x_37, 1); -lean_inc(x_42); -lean_dec(x_37); -x_43 = l_Lean_Meta_Exception_toStr(x_33); -x_44 = lean_alloc_ctor(18, 1, 0); -lean_ctor_set(x_44, 0, x_43); -x_45 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_45, 0, x_44); -lean_ctor_set(x_45, 1, x_42); -return x_45; -} -} -else -{ -uint8_t x_46; -lean_dec(x_33); -x_46 = !lean_is_exclusive(x_37); -if (x_46 == 0) -{ -return x_37; -} -else -{ -lean_object* x_47; lean_object* x_48; lean_object* x_49; -x_47 = lean_ctor_get(x_37, 0); -x_48 = lean_ctor_get(x_37, 1); -lean_inc(x_48); -lean_inc(x_47); -lean_dec(x_37); -x_49 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_49, 0, x_47); -lean_ctor_set(x_49, 1, x_48); -return x_49; -} -} -} -} -} -lean_object* l_Lean_Meta_MetaHasEval(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Meta_MetaHasEval___rarg), 5, 0); -return x_2; -} -} -lean_object* l_Array_forMAux___main___at_Lean_Meta_MetaHasEval___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l_Array_forMAux___main___at_Lean_Meta_MetaHasEval___spec__6(x_1, x_2, x_3); -lean_dec(x_1); -return x_4; -} -} -lean_object* l_Array_forMAux___main___at_Lean_Meta_MetaHasEval___spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l_Array_forMAux___main___at_Lean_Meta_MetaHasEval___spec__7(x_1, x_2, x_3); -lean_dec(x_1); -return x_4; -} -} -lean_object* l_PersistentArray_forMAux___main___at_Lean_Meta_MetaHasEval___spec__5___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_PersistentArray_forMAux___main___at_Lean_Meta_MetaHasEval___spec__5(x_1, x_2); -lean_dec(x_1); -return x_3; -} -} -lean_object* l_PersistentArray_forM___at_Lean_Meta_MetaHasEval___spec__4___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_PersistentArray_forM___at_Lean_Meta_MetaHasEval___spec__4(x_1, x_2); -lean_dec(x_1); -return x_3; -} -} lean_object* _init_l___private_Init_Lean_Meta_Basic_10__regTraceClasses___closed__1() { _start: { @@ -48271,6 +47807,68 @@ x_3 = l_Lean_registerTraceClass(x_2, x_1); return x_3; } } +lean_object* _init_l_PersistentHashMap_empty___at_IO_runMeta___spec__1___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_PersistentHashMap_empty___rarg___closed__2; +x_2 = lean_unsigned_to_nat(0u); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* _init_l_PersistentHashMap_empty___at_IO_runMeta___spec__1() { +_start: +{ +lean_object* x_1; +x_1 = l_PersistentHashMap_empty___at_IO_runMeta___spec__1___closed__1; +return x_1; +} +} +lean_object* _init_l_IO_runMeta___rarg___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Meta_InfoCacheKey_Hashable___boxed), 1, 0); +return x_1; +} +} +lean_object* _init_l_IO_runMeta___rarg___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Meta_InfoCacheKey_HasBeq___boxed), 2, 0); +return x_1; +} +} +lean_object* _init_l_IO_runMeta___rarg___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_PersistentHashMap_empty___rarg___closed__2; +x_2 = lean_unsigned_to_nat(0u); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* _init_l_IO_runMeta___rarg___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_PersistentHashMap_empty___at_IO_runMeta___spec__1; +x_2 = l_IO_runMeta___rarg___closed__3; +x_3 = l_Lean_Meta_resettingSynthInstanceCache___rarg___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_IO_runMeta___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { @@ -48286,7 +47884,7 @@ lean_ctor_set(x_9, 2, x_6); lean_ctor_set(x_9, 3, x_7); lean_ctor_set(x_9, 4, x_8); x_10 = l_Lean_MetavarContext_Inhabited___closed__1; -x_11 = l_Lean_Meta_MetaHasEval___rarg___closed__4; +x_11 = l_IO_runMeta___rarg___closed__4; x_12 = l_Lean_NameGenerator_Inhabited___closed__3; x_13 = l_Lean_TraceState_Inhabited___closed__1; x_14 = l_PersistentArray_empty___closed__3; @@ -48530,18 +48128,6 @@ l_Lean_Meta_isClassQuick___main___closed__1 = _init_l_Lean_Meta_isClassQuick___m lean_mark_persistent(l_Lean_Meta_isClassQuick___main___closed__1); l_Lean_Meta_resettingSynthInstanceCache___rarg___closed__1 = _init_l_Lean_Meta_resettingSynthInstanceCache___rarg___closed__1(); lean_mark_persistent(l_Lean_Meta_resettingSynthInstanceCache___rarg___closed__1); -l_PersistentHashMap_empty___at_Lean_Meta_MetaHasEval___spec__1___closed__1 = _init_l_PersistentHashMap_empty___at_Lean_Meta_MetaHasEval___spec__1___closed__1(); -lean_mark_persistent(l_PersistentHashMap_empty___at_Lean_Meta_MetaHasEval___spec__1___closed__1); -l_PersistentHashMap_empty___at_Lean_Meta_MetaHasEval___spec__1 = _init_l_PersistentHashMap_empty___at_Lean_Meta_MetaHasEval___spec__1(); -lean_mark_persistent(l_PersistentHashMap_empty___at_Lean_Meta_MetaHasEval___spec__1); -l_Lean_Meta_MetaHasEval___rarg___closed__1 = _init_l_Lean_Meta_MetaHasEval___rarg___closed__1(); -lean_mark_persistent(l_Lean_Meta_MetaHasEval___rarg___closed__1); -l_Lean_Meta_MetaHasEval___rarg___closed__2 = _init_l_Lean_Meta_MetaHasEval___rarg___closed__2(); -lean_mark_persistent(l_Lean_Meta_MetaHasEval___rarg___closed__2); -l_Lean_Meta_MetaHasEval___rarg___closed__3 = _init_l_Lean_Meta_MetaHasEval___rarg___closed__3(); -lean_mark_persistent(l_Lean_Meta_MetaHasEval___rarg___closed__3); -l_Lean_Meta_MetaHasEval___rarg___closed__4 = _init_l_Lean_Meta_MetaHasEval___rarg___closed__4(); -lean_mark_persistent(l_Lean_Meta_MetaHasEval___rarg___closed__4); l___private_Init_Lean_Meta_Basic_10__regTraceClasses___closed__1 = _init_l___private_Init_Lean_Meta_Basic_10__regTraceClasses___closed__1(); lean_mark_persistent(l___private_Init_Lean_Meta_Basic_10__regTraceClasses___closed__1); l___private_Init_Lean_Meta_Basic_10__regTraceClasses___closed__2 = _init_l___private_Init_Lean_Meta_Basic_10__regTraceClasses___closed__2(); @@ -48549,6 +48135,18 @@ lean_mark_persistent(l___private_Init_Lean_Meta_Basic_10__regTraceClasses___clos res = l___private_Init_Lean_Meta_Basic_10__regTraceClasses(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +l_PersistentHashMap_empty___at_IO_runMeta___spec__1___closed__1 = _init_l_PersistentHashMap_empty___at_IO_runMeta___spec__1___closed__1(); +lean_mark_persistent(l_PersistentHashMap_empty___at_IO_runMeta___spec__1___closed__1); +l_PersistentHashMap_empty___at_IO_runMeta___spec__1 = _init_l_PersistentHashMap_empty___at_IO_runMeta___spec__1(); +lean_mark_persistent(l_PersistentHashMap_empty___at_IO_runMeta___spec__1); +l_IO_runMeta___rarg___closed__1 = _init_l_IO_runMeta___rarg___closed__1(); +lean_mark_persistent(l_IO_runMeta___rarg___closed__1); +l_IO_runMeta___rarg___closed__2 = _init_l_IO_runMeta___rarg___closed__2(); +lean_mark_persistent(l_IO_runMeta___rarg___closed__2); +l_IO_runMeta___rarg___closed__3 = _init_l_IO_runMeta___rarg___closed__3(); +lean_mark_persistent(l_IO_runMeta___rarg___closed__3); +l_IO_runMeta___rarg___closed__4 = _init_l_IO_runMeta___rarg___closed__4(); +lean_mark_persistent(l_IO_runMeta___rarg___closed__4); return lean_mk_io_result(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Init/Lean/Meta/Check.c b/stage0/stdlib/Init/Lean/Meta/Check.c index 99e4330fd0..af3781ee20 100644 --- a/stage0/stdlib/Init/Lean/Meta/Check.c +++ b/stage0/stdlib/Init/Lean/Meta/Check.c @@ -13,7 +13,6 @@ #ifdef __cplusplus extern "C" { #endif -lean_object* l___private_Init_Lean_Meta_Check_2__checkLambdaLet___lambda__2___closed__1; lean_object* l_Array_forMAux___main___at___private_Init_Lean_Meta_Check_6__checkAux___main___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Util_Trace_3__getResetTraces___at_Lean_Meta_check___spec__1___boxed(lean_object*); lean_object* l___private_Init_Lean_Meta_Check_3__checkForall___at___private_Init_Lean_Meta_Check_6__checkAux___main___spec__4___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -22,13 +21,11 @@ lean_object* l_Lean_Meta_check___closed__1; lean_object* l___private_Init_Lean_Meta_Check_4__checkConstant(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Meta_Check_1__ensureType(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Util_Trace_2__addNode___at_Lean_Meta_check___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_EIO_Monad___closed__1; extern lean_object* l___private_Init_Lean_Meta_Basic_10__regTraceClasses___closed__2; lean_object* l___private_Init_Lean_Meta_Check_6__checkAux(lean_object*, lean_object*, lean_object*); lean_object* lean_environment_find(lean_object*, lean_object*); lean_object* l_Lean_Meta_isExprDefEqAux(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_checkTraceOption(lean_object*, lean_object*); -lean_object* l_ReaderT_Monad___rarg(lean_object*); lean_object* l___private_Init_Lean_Meta_Check_7__regTraceClasses(lean_object*); lean_object* l_Array_forMAux___main___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); @@ -82,6 +79,7 @@ lean_object* l___private_Init_Lean_Meta_Check_4__checkConstant___boxed(lean_obje lean_object* l___private_Init_Lean_Meta_Check_3__checkForall___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Exception_toTraceMessageData(lean_object*); lean_object* l___private_Init_Lean_Meta_Check_5__checkApp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_MetavarContext_MkBinding_mkBinding___closed__1; lean_object* l_Lean_Meta_check(lean_object*, lean_object*, lean_object*); lean_object* l_PersistentArray_toArray___rarg(lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); @@ -463,15 +461,6 @@ return x_71; } } } -lean_object* _init_l___private_Init_Lean_Meta_Check_2__checkLambdaLet___lambda__2___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_EIO_Monad___closed__1; -x_2 = l_ReaderT_Monad___rarg(x_1); -return x_2; -} -} lean_object* l___private_Init_Lean_Meta_Check_2__checkLambdaLet___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { @@ -479,7 +468,7 @@ lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_obj lean_inc(x_1); x_6 = lean_alloc_closure((void*)(l___private_Init_Lean_Meta_Check_2__checkLambdaLet___lambda__1___boxed), 4, 1); lean_closure_set(x_6, 0, x_1); -x_7 = l___private_Init_Lean_Meta_Check_2__checkLambdaLet___lambda__2___closed__1; +x_7 = l_Lean_MetavarContext_MkBinding_mkBinding___closed__1; x_8 = lean_unsigned_to_nat(0u); x_9 = l_Array_forMAux___main___rarg(x_7, lean_box(0), lean_box(0), x_6, x_2, x_8); lean_inc(x_4); @@ -626,7 +615,7 @@ lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_obj lean_inc(x_1); x_6 = lean_alloc_closure((void*)(l___private_Init_Lean_Meta_Check_3__checkForall___lambda__1___boxed), 4, 1); lean_closure_set(x_6, 0, x_1); -x_7 = l___private_Init_Lean_Meta_Check_2__checkLambdaLet___lambda__2___closed__1; +x_7 = l_Lean_MetavarContext_MkBinding_mkBinding___closed__1; x_8 = lean_unsigned_to_nat(0u); x_9 = l_Array_forMAux___main___rarg(x_7, lean_box(0), lean_box(0), x_6, x_2, x_8); lean_inc(x_4); @@ -5134,8 +5123,6 @@ _G_initialized = true; res = initialize_Init_Lean_Meta_InferType(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l___private_Init_Lean_Meta_Check_2__checkLambdaLet___lambda__2___closed__1 = _init_l___private_Init_Lean_Meta_Check_2__checkLambdaLet___lambda__2___closed__1(); -lean_mark_persistent(l___private_Init_Lean_Meta_Check_2__checkLambdaLet___lambda__2___closed__1); l___private_Init_Lean_Meta_Check_2__checkLambdaLet___at___private_Init_Lean_Meta_Check_6__checkAux___main___spec__2___closed__1 = _init_l___private_Init_Lean_Meta_Check_2__checkLambdaLet___at___private_Init_Lean_Meta_Check_6__checkAux___main___spec__2___closed__1(); lean_mark_persistent(l___private_Init_Lean_Meta_Check_2__checkLambdaLet___at___private_Init_Lean_Meta_Check_6__checkAux___main___spec__2___closed__1); l___private_Init_Lean_Meta_Check_3__checkForall___at___private_Init_Lean_Meta_Check_6__checkAux___main___spec__4___closed__1 = _init_l___private_Init_Lean_Meta_Check_3__checkForall___at___private_Init_Lean_Meta_Check_6__checkAux___main___spec__4___closed__1(); diff --git a/stage0/stdlib/Init/Lean/Meta/DiscrTree.c b/stage0/stdlib/Init/Lean/Meta/DiscrTree.c index 76752e8586..4735c335fd 100644 --- a/stage0/stdlib/Init/Lean/Meta/DiscrTree.c +++ b/stage0/stdlib/Init/Lean/Meta/DiscrTree.c @@ -123,7 +123,6 @@ lean_object* l_Array_binSearchAux___main___at___private_Init_Lean_Meta_DiscrTree lean_object* l_Lean_Meta_DiscrTree_mkPathAux(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Meta_DiscrTree_4__pushArgsAux___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_binSearchAux___main___at___private_Init_Lean_Meta_DiscrTree_15__getMatchAux___main___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_back___at_Lean_Meta_DiscrTree_mkPathAux___main___spec__1___boxed(lean_object*); lean_object* l___private_Init_Lean_Meta_DiscrTree_6__shouldAddAsStar___boxed(lean_object*); lean_object* l_Lean_Meta_DiscrTree_Key_hasFormat___closed__1; lean_object* l_PersistentHashMap_findAtAux___main___at_Lean_Meta_DiscrTree_insertCore___spec__3(lean_object*); @@ -180,7 +179,6 @@ lean_object* l___private_Init_Lean_Meta_DiscrTree_6__shouldAddAsStar___closed__6 lean_object* l_Lean_Meta_DiscrTree_format___rarg(lean_object*, lean_object*); lean_object* l_PersistentHashMap_findAtAux___main___at_Lean_Meta_DiscrTree_getUnify___spec__3___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_findAtAux___main___at_Lean_Meta_DiscrTree_getUnify___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_back___at_Lean_Meta_DiscrTree_mkPathAux___main___spec__1(lean_object*); lean_object* l_PersistentHashMap_insertAtCollisionNodeAux___main___at_Lean_Meta_DiscrTree_insertCore___spec__10___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_binInsertM___at___private_Init_Lean_Meta_DiscrTree_11__insertAux___main___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_DiscrTree_mkPath___closed__1; @@ -256,7 +254,6 @@ lean_object* l_Array_iterateMAux___main___at_Lean_Meta_DiscrTree_format___spec__ lean_object* l___private_Init_Lean_Meta_DiscrTree_11__insertAux___main___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_binInsertM___at___private_Init_Lean_Meta_DiscrTree_11__insertAux___main___spec__1(lean_object*); lean_object* l_Array_toList___rarg(lean_object*); -extern lean_object* l_Lean_Expr_Inhabited; lean_object* l___private_Init_Lean_Meta_DiscrTree_17__getUnifyAux(lean_object*); lean_object* lean_array_pop(lean_object*); lean_object* l_Lean_Meta_DiscrTree_Trie_format___main___rarg(lean_object*, lean_object*); @@ -303,6 +300,7 @@ lean_object* l_Array_binSearchAux___main___at___private_Init_Lean_Meta_DiscrTree lean_object* l_PersistentHashMap_findAtAux___main___at_Lean_Meta_DiscrTree_insertCore___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_findAux___main___at_Lean_Meta_DiscrTree_getUnify___spec__2(lean_object*); lean_object* l_Array_back___at___private_Init_Lean_Meta_DiscrTree_11__insertAux___main___spec__2___rarg___closed__1; +lean_object* l_Array_back___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__50(lean_object*); uint8_t l_Lean_Literal_lt(lean_object*, lean_object*); lean_object* l___private_Init_Lean_Meta_DiscrTree_11__insertAux___main(lean_object*); lean_object* l_PersistentHashMap_foldlM___at_Lean_Meta_DiscrTree_getUnify___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -2139,20 +2137,6 @@ return x_186; } } } -lean_object* l_Array_back___at_Lean_Meta_DiscrTree_mkPathAux___main___spec__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_2 = lean_array_get_size(x_1); -x_3 = lean_unsigned_to_nat(1u); -x_4 = lean_nat_sub(x_2, x_3); -lean_dec(x_2); -x_5 = l_Lean_Expr_Inhabited; -x_6 = lean_array_get(x_5, x_1, x_4); -lean_dec(x_4); -return x_6; -} -} lean_object* l_Lean_Meta_DiscrTree_mkPathAux___main(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { @@ -2161,7 +2145,7 @@ x_5 = l_Array_isEmpty___rarg(x_1); if (x_5 == 0) { lean_object* x_6; lean_object* x_7; lean_object* x_8; -x_6 = l_Array_back___at_Lean_Meta_DiscrTree_mkPathAux___main___spec__1(x_1); +x_6 = l_Array_back___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__50(x_1); x_7 = lean_array_pop(x_1); lean_inc(x_3); x_8 = l___private_Init_Lean_Meta_DiscrTree_7__pushArgs(x_7, x_6, x_3, x_4); @@ -2221,15 +2205,6 @@ return x_19; } } } -lean_object* l_Array_back___at_Lean_Meta_DiscrTree_mkPathAux___main___spec__1___boxed(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = l_Array_back___at_Lean_Meta_DiscrTree_mkPathAux___main___spec__1(x_1); -lean_dec(x_1); -return x_2; -} -} lean_object* l_Lean_Meta_DiscrTree_mkPathAux(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { @@ -6254,7 +6229,7 @@ x_9 = l_Array_isEmpty___rarg(x_7); if (x_9 == 0) { lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16; -x_10 = l_Array_back___at_Lean_Meta_DiscrTree_mkPathAux___main___spec__1(x_1); +x_10 = l_Array_back___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__50(x_1); x_11 = lean_array_pop(x_1); x_12 = l_Array_back___at___private_Init_Lean_Meta_DiscrTree_11__insertAux___main___spec__2___rarg___closed__2; x_13 = lean_unsigned_to_nat(0u); @@ -9541,7 +9516,7 @@ x_18 = l_Array_isEmpty___rarg(x_16); if (x_18 == 0) { lean_object* x_19; lean_object* x_20; uint8_t x_21; lean_object* x_22; -x_19 = l_Array_back___at_Lean_Meta_DiscrTree_mkPathAux___main___spec__1(x_2); +x_19 = l_Array_back___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__50(x_2); x_20 = lean_array_pop(x_2); x_21 = 0; lean_inc(x_5); diff --git a/stage0/stdlib/Init/Lean/Meta/ExprDefEq.c b/stage0/stdlib/Init/Lean/Meta/ExprDefEq.c index 27a9aa1715..d087756a6a 100644 --- a/stage0/stdlib/Init/Lean/Meta/ExprDefEq.c +++ b/stage0/stdlib/Init/Lean/Meta/ExprDefEq.c @@ -15,7 +15,6 @@ extern "C" { #endif lean_object* l_Lean_Meta_CheckAssignmentQuick_check___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_HashMapImp_find_x3f___at___private_Init_Lean_Meta_ExprDefEq_8__findCached_x3f___spec__1___boxed(lean_object*, lean_object*); -extern lean_object* l___private_Init_Lean_Meta_Check_2__checkLambdaLet___lambda__2___closed__1; lean_object* l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_18__processConstApprox___spec__4___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Meta_Exception_toTraceMessageData___closed__51; lean_object* lean_expr_update_forall(lean_object*, uint8_t, lean_object*, lean_object*); @@ -324,6 +323,7 @@ lean_object* lean_metavar_ctx_find_decl(lean_object*, lean_object*); uint8_t l_Lean_Expr_isFVar(lean_object*); lean_object* l___private_Init_Lean_Meta_ExprDefEq_17__simpAssignmentArg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Meta_ExprDefEq_44__unstuckMVar___at___private_Init_Lean_Meta_ExprDefEq_45__isDefEqOnFailure___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_WHNF_whnfEasyCases___main___at_Lean_Meta_whnfImpl___main___spec__1___closed__1; extern lean_object* l_Lean_Expr_updateLet_x21___closed__1; lean_object* lean_expr_update_lambda(lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Meta_inferType(lean_object*, lean_object*, lean_object*); @@ -362,7 +362,6 @@ lean_object* l_Lean_Meta_CheckAssignment_getMCtx___boxed(lean_object*); lean_object* l_Lean_Meta_setIsExprDefEqAuxRef___closed__1; lean_object* l___private_Init_Lean_Expr_9__etaExpandedAux___main(lean_object*, lean_object*); lean_object* l___private_Init_Lean_Meta_ExprDefEq_35__isAssigned___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_CheckAssignment_check___main___closed__1; lean_object* l___private_Init_Lean_Meta_ExprDefEq_11__checkAssignmentFailure___closed__4; lean_object* l___private_Init_Lean_Meta_ExprDefEq_46__consumeLet___main___boxed(lean_object*); lean_object* l_HashMapImp_moveEntries___main___at___private_Init_Lean_Meta_ExprDefEq_9__cache___spec__4(lean_object*, lean_object*, lean_object*); @@ -402,13 +401,13 @@ uint8_t l_Lean_LocalContext_isSubPrefixOf(lean_object*, lean_object*); lean_object* l_Lean_Meta_CheckAssignment_getMCtx___rarg(lean_object*); uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_CheckAssignment_check___main___spec__6(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_ReducibilityHints_lt(lean_object*, lean_object*); +extern lean_object* l_Lean_MetavarContext_MkBinding_mkBinding___closed__1; lean_object* l___private_Init_Lean_Meta_ExprDefEq_11__checkAssignmentFailure(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Meta_ExprDefEq_8__findCached_x3f___boxed(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Meta_ExprDefEq_14__processAssignmentFOApproxAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_LocalDecl_isLet(lean_object*); lean_object* l_Lean_Meta_withNewLocalInstances___main___at___private_Init_Lean_Meta_ExprDefEq_18__processConstApprox___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); -lean_object* l_monadInhabited___rarg(lean_object*, lean_object*); lean_object* l_Lean_Meta_getFVarLocalDecl(lean_object*, lean_object*, lean_object*); lean_object* _init_l_Lean_Meta_try___at___private_Init_Lean_Meta_ExprDefEq_1__isDefEqEta___spec__1___closed__1() { _start: @@ -24347,16 +24346,6 @@ return x_1496; } } } -lean_object* _init_l_Lean_Meta_CheckAssignment_check___main___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_Meta_Check_2__checkLambdaLet___lambda__2___closed__1; -x_2 = l_Lean_Expr_Inhabited; -x_3 = l_monadInhabited___rarg(x_1, x_2); -return x_3; -} -} lean_object* l_Lean_Meta_CheckAssignment_check___main(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -25721,7 +25710,7 @@ case 12: { lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_dec(x_1); -x_317 = l_Lean_Meta_CheckAssignment_check___main___closed__1; +x_317 = l_Lean_WHNF_whnfEasyCases___main___at_Lean_Meta_whnfImpl___main___spec__1___closed__1; x_318 = l_unreachable_x21___rarg(x_317); x_319 = lean_apply_2(x_318, x_2, x_3); return x_319; @@ -47344,7 +47333,7 @@ lean_object* l___private_Init_Lean_Meta_ExprDefEq_44__unstuckMVar(lean_object* x _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_Meta_Check_2__checkLambdaLet___lambda__2___closed__1; +x_6 = l_Lean_MetavarContext_MkBinding_mkBinding___closed__1; x_7 = l___private_Init_Lean_Meta_ExprDefEq_44__unstuckMVar___closed__1; x_8 = l___private_Init_Lean_Meta_ExprDefEq_44__unstuckMVar___closed__2; lean_inc(x_1); @@ -51045,8 +51034,6 @@ l_Lean_Meta_CheckAssignment_Lean_MonadCache___closed__3 = _init_l_Lean_Meta_Chec lean_mark_persistent(l_Lean_Meta_CheckAssignment_Lean_MonadCache___closed__3); l_Lean_Meta_CheckAssignment_Lean_MonadCache = _init_l_Lean_Meta_CheckAssignment_Lean_MonadCache(); lean_mark_persistent(l_Lean_Meta_CheckAssignment_Lean_MonadCache); -l_Lean_Meta_CheckAssignment_check___main___closed__1 = _init_l_Lean_Meta_CheckAssignment_check___main___closed__1(); -lean_mark_persistent(l_Lean_Meta_CheckAssignment_check___main___closed__1); l___private_Init_Lean_Meta_ExprDefEq_11__checkAssignmentFailure___closed__1 = _init_l___private_Init_Lean_Meta_ExprDefEq_11__checkAssignmentFailure___closed__1(); lean_mark_persistent(l___private_Init_Lean_Meta_ExprDefEq_11__checkAssignmentFailure___closed__1); l___private_Init_Lean_Meta_ExprDefEq_11__checkAssignmentFailure___closed__2 = _init_l___private_Init_Lean_Meta_ExprDefEq_11__checkAssignmentFailure___closed__2(); diff --git a/stage0/stdlib/Init/Lean/Meta/Instances.c b/stage0/stdlib/Init/Lean/Meta/Instances.c index 6ee2e8aa59..f05709da63 100644 --- a/stage0/stdlib/Init/Lean/Meta/Instances.c +++ b/stage0/stdlib/Init/Lean/Meta/Instances.c @@ -53,7 +53,6 @@ size_t l_USize_shiftRight(size_t, size_t); lean_object* l_Array_iterateMAux___main___at_Lean_Meta_mkInstanceExtension___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_findAux___main___at_Lean_Meta_addInstanceEntry___spec__3___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_instanceExtension___elambda__3___boxed(lean_object*, lean_object*); -extern lean_object* l_Lean_Meta_MetaHasEval___rarg___closed__4; uint8_t l_Lean_Meta_DiscrTree_Key_beq(lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); lean_object* l_IO_ofExcept___at_Lean_registerClassAttr___spec__1(lean_object*, lean_object*); @@ -103,6 +102,7 @@ size_t l_USize_mul(size_t, size_t); lean_object* l_PersistentHashMap_find_x3f___at_Lean_Meta_addInstanceEntry___spec__2___boxed(lean_object*, lean_object*); lean_object* l_Lean_Meta_instanceExtension___closed__1; lean_object* l_Lean_Meta_instanceExtension___closed__2; +extern lean_object* l_IO_runMeta___rarg___closed__4; lean_object* l_Lean_Meta_registerInstanceAttr___lambda__1___closed__2; lean_object* l_Lean_Meta_addGlobalInstance___closed__4; lean_object* lean_add_instance_old(lean_object*, lean_object*); @@ -3275,7 +3275,7 @@ lean_dec(x_7); x_9 = l_List_map___main___at_Lean_Meta_addGlobalInstance___spec__1(x_8); x_10 = l_Lean_mkConst(x_2, x_9); x_11 = l_Lean_MetavarContext_Inhabited___closed__1; -x_12 = l_Lean_Meta_MetaHasEval___rarg___closed__4; +x_12 = l_IO_runMeta___rarg___closed__4; x_13 = l_Lean_NameGenerator_Inhabited___closed__3; x_14 = l_Lean_TraceState_Inhabited___closed__1; x_15 = l_PersistentArray_empty___closed__3; diff --git a/stage0/stdlib/Init/Lean/Meta/Message.c b/stage0/stdlib/Init/Lean/Meta/Message.c index 92d25a6bf9..66b51db17a 100644 --- a/stage0/stdlib/Init/Lean/Meta/Message.c +++ b/stage0/stdlib/Init/Lean/Meta/Message.c @@ -23,12 +23,15 @@ lean_object* l_Lean_KernelException_toMessageData___closed__19; lean_object* l_unreachable_x21___rarg(lean_object*); lean_object* l_Lean_Meta_Exception_toMessageData___closed__51; lean_object* l___private_Init_Lean_Meta_Message_3__inferDomain_x3f___boxed(lean_object*, lean_object*); +lean_object* lean_io_prim_put_str(lean_object*, lean_object*); extern lean_object* l_Lean_MessageData_ofList___closed__3; lean_object* l___private_Init_Lean_Meta_Message_3__inferDomain_x3f___lambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_KernelException_toMessageData___closed__7; +lean_object* l_Lean_Format_pretty(lean_object*, lean_object*); lean_object* l_Lean_Meta_Exception_toMessageData___closed__39; lean_object* l_Lean_Meta_Exception_toMessageData___closed__35; lean_object* l_Lean_KernelException_toMessageData___closed__24; +lean_object* l_PersistentArray_forM___at_Lean_Meta_MetaHasEval___spec__3___boxed(lean_object*, lean_object*); lean_object* l_Lean_Meta_Exception_toMessageData___closed__36; lean_object* l_Lean_Meta_Exception_toMessageData(lean_object*); lean_object* l_Lean_Meta_Exception_toMessageData___closed__31; @@ -41,13 +44,19 @@ lean_object* l_Lean_MessageData_arrayExpr_toMessageData___main(lean_object*, lea lean_object* l_Lean_Meta_Exception_toMessageData___closed__43; extern lean_object* l_Lean_Meta_Exception_toTraceMessageData___closed__82; lean_object* l___private_Init_Lean_Meta_Message_3__inferDomain_x3f(lean_object*, lean_object*); +lean_object* l_Lean_Meta_MetaHasEval(lean_object*); lean_object* l_Lean_Meta_Exception_mkAppTypeMismatchMessage___closed__7; +lean_object* lean_array_get_size(lean_object*); +lean_object* l_Lean_MessageData_formatAux___main(lean_object*, lean_object*); lean_object* l_Lean_Meta_Exception_toMessageData___closed__26; lean_object* l_Lean_KernelException_toMessageData___closed__16; +lean_object* l_IO_print___at_Lean_Meta_MetaHasEval___spec__2(lean_object*, lean_object*); lean_object* l_Lean_Meta_Exception_mkLetTypeMismatchMessage(lean_object*, lean_object*); lean_object* l_Lean_KernelException_toMessageData___closed__20; -extern lean_object* l_Lean_Meta_MetaHasEval___rarg___closed__4; +lean_object* l_Array_forMAux___main___at_Lean_Meta_MetaHasEval___spec__5___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forMAux___main___at_Lean_Meta_MetaHasEval___spec__6___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Exception_toMessageData___closed__40; +lean_object* lean_nat_add(lean_object*, lean_object*); lean_object* l_Lean_KernelException_toMessageData___closed__22; lean_object* l_Lean_Meta_Exception_toMessageData___closed__9; lean_object* l_Lean_KernelException_toMessageData___closed__37; @@ -60,6 +69,7 @@ lean_object* l_Lean_Meta_Exception_toMessageData___closed__8; lean_object* l_Lean_KernelException_toMessageData___closed__6; lean_object* l_Lean_Meta_Exception_toMessageData___closed__17; lean_object* l_Lean_Meta_Exception_toMessageData___closed__23; +lean_object* lean_array_fget(lean_object*, lean_object*); lean_object* l_Lean_Meta_Exception_toMessageData___closed__4; lean_object* l_Lean_mkProj(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Exception_mkLetTypeMismatchMessage___closed__1; @@ -72,6 +82,7 @@ lean_object* l_Lean_KernelException_toMessageData___closed__29; lean_object* l_Lean_KernelException_toMessageData(lean_object*, lean_object*); lean_object* l_Lean_Meta_Exception_mkLetTypeMismatchMessage___closed__9; lean_object* l_Lean_Meta_Exception_toMessageData___closed__11; +lean_object* l_Lean_Meta_MetaHasEval___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_KernelException_toMessageData___closed__25; lean_object* l_Lean_KernelException_toMessageData___closed__30; lean_object* l_Lean_Meta_Exception_mkLetTypeMismatchMessage___closed__8; @@ -80,6 +91,7 @@ lean_object* l_Lean_Meta_Exception_toMessageData___closed__19; extern lean_object* l_Lean_MessageData_coeOfArrayExpr___closed__2; lean_object* l_Lean_Meta_Exception_mkLetTypeMismatchMessage___closed__4; lean_object* l_Lean_KernelException_toMessageData___closed__18; +lean_object* l_Array_forMAux___main___at_Lean_Meta_MetaHasEval___spec__5(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_KernelException_toMessageData___closed__5; lean_object* l_Lean_Meta_Exception_toMessageData___closed__44; lean_object* l_Lean_Meta_Exception_toMessageData___closed__1; @@ -87,6 +99,7 @@ lean_object* l_Lean_KernelException_toMessageData___closed__33; lean_object* lean_name_mk_string(lean_object*, lean_object*); lean_object* l_Lean_KernelException_toMessageData___closed__14; lean_object* l_Lean_KernelException_toMessageData___closed__28; +extern lean_object* l_IO_println___rarg___closed__1; extern lean_object* l_PersistentArray_empty___closed__3; extern lean_object* l_Lean_Meta_Exception_toStr___closed__11; extern lean_object* l_Lean_Meta_Exception_toTraceMessageData___closed__4; @@ -107,6 +120,7 @@ lean_object* l_Lean_Meta_Exception_toMessageData___closed__25; lean_object* l_Lean_Meta_whnf(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Meta_Message_4__whnf_x3f___boxed(lean_object*, lean_object*); lean_object* l_Lean_KernelException_toMessageData___closed__3; +extern lean_object* l_IO_runMeta___rarg___closed__4; lean_object* l_Lean_KernelException_toMessageData___closed__40; lean_object* l_Lean_KernelException_toMessageData___closed__9; lean_object* l_Lean_Meta_Exception_toMessageData___closed__3; @@ -115,6 +129,7 @@ lean_object* l_Lean_KernelException_toMessageData___closed__36; lean_object* l_Lean_Meta_Exception_toMessageData___closed__37; lean_object* l___private_Init_Lean_Meta_Message_1__run_x3f___rarg___closed__1; lean_object* l_Lean_Meta_Exception_toMessageData___closed__42; +lean_object* l_IO_println___at_Lean_Meta_MetaHasEval___spec__1(lean_object*, lean_object*); lean_object* l___private_Init_Lean_Meta_Message_5__mkCtx(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_KernelException_toMessageData___closed__1; lean_object* l___private_Init_Lean_Meta_Message_1__run_x3f___rarg___closed__2; @@ -135,6 +150,7 @@ lean_object* l_Lean_mkApp(lean_object*, lean_object*); lean_object* l_Lean_getMaxRecDepth(lean_object*); lean_object* l_Lean_Meta_Exception_toMessageData___closed__13; lean_object* l_Lean_Meta_Exception_mkAppTypeMismatchMessage___closed__2; +lean_object* l_PersistentArray_forMAux___main___at_Lean_Meta_MetaHasEval___spec__4___boxed(lean_object*, lean_object*); lean_object* l_Lean_Meta_Exception_mkAppTypeMismatchMessage___closed__4; lean_object* l_Lean_Meta_Exception_toMessageData___closed__29; lean_object* l_Lean_KernelException_toMessageData___closed__2; @@ -147,6 +163,7 @@ lean_object* l_Lean_KernelException_toMessageData___closed__41; lean_object* l_Lean_KernelException_toMessageData___closed__23; lean_object* l_Lean_Meta_Exception_toMessageData___closed__7; lean_object* l_Lean_Meta_Exception_toMessageData___closed__49; +lean_object* l_PersistentArray_forM___at_Lean_Meta_MetaHasEval___spec__3(lean_object*, lean_object*); lean_object* l_Lean_Meta_Exception_mkAppTypeMismatchMessage___closed__5; extern lean_object* l_Lean_TraceState_Inhabited___closed__1; lean_object* l_Lean_Meta_inferType(lean_object*, lean_object*, lean_object*); @@ -173,11 +190,15 @@ lean_object* l_Lean_mkBVar(lean_object*); lean_object* l___private_Init_Lean_Meta_Message_2__inferType_x3f(lean_object*, lean_object*); lean_object* l_Lean_Meta_Exception_mkAppTypeMismatchMessage___closed__6; lean_object* l_Lean_mkConst(lean_object*, lean_object*); +lean_object* l_PersistentArray_forMAux___main___at_Lean_Meta_MetaHasEval___spec__4(lean_object*, lean_object*); lean_object* l_Lean_Meta_Exception_toMessageData___closed__15; lean_object* l_Lean_Meta_Exception_toMessageData___closed__16; lean_object* l___private_Init_Lean_Meta_Message_1__run_x3f___rarg___closed__4; lean_object* l_Lean_KernelException_toMessageData___closed__11; +extern lean_object* l_Lean_NameGenerator_Inhabited___closed__3; lean_object* l_Lean_Meta_Exception_toMessageData___closed__20; +uint8_t lean_nat_dec_lt(lean_object*, lean_object*); +lean_object* l_Array_forMAux___main___at_Lean_Meta_MetaHasEval___spec__6(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_KernelException_toMessageData___closed__39; lean_object* l_Lean_indentExpr(lean_object* x_1) { _start: @@ -262,7 +283,7 @@ lean_ctor_set(x_11, 1, x_5); lean_ctor_set(x_11, 2, x_9); lean_ctor_set(x_11, 3, x_10); lean_ctor_set(x_11, 4, x_7); -x_12 = l_Lean_Meta_MetaHasEval___rarg___closed__4; +x_12 = l_IO_runMeta___rarg___closed__4; x_13 = l___private_Init_Lean_Meta_Message_1__run_x3f___rarg___closed__4; x_14 = l_Lean_TraceState_Inhabited___closed__1; x_15 = l_PersistentArray_empty___closed__3; @@ -1826,6 +1847,463 @@ return x_151; } } } +lean_object* l_IO_print___at_Lean_Meta_MetaHasEval___spec__2(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_3 = l_Lean_Options_empty; +x_4 = l_Lean_Format_pretty(x_1, x_3); +x_5 = lean_io_prim_put_str(x_4, x_2); +lean_dec(x_4); +return x_5; +} +} +lean_object* l_IO_println___at_Lean_Meta_MetaHasEval___spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_IO_print___at_Lean_Meta_MetaHasEval___spec__2(x_1, x_2); +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_4 = lean_ctor_get(x_3, 1); +lean_inc(x_4); +lean_dec(x_3); +x_5 = l_IO_println___rarg___closed__1; +x_6 = lean_io_prim_put_str(x_5, x_4); +return x_6; +} +else +{ +uint8_t x_7; +x_7 = !lean_is_exclusive(x_3); +if (x_7 == 0) +{ +return x_3; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_8 = lean_ctor_get(x_3, 0); +x_9 = lean_ctor_get(x_3, 1); +lean_inc(x_9); +lean_inc(x_8); +lean_dec(x_3); +x_10 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_10, 0, x_8); +lean_ctor_set(x_10, 1, x_9); +return x_10; +} +} +} +} +lean_object* l_Array_forMAux___main___at_Lean_Meta_MetaHasEval___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_1); +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); +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_3); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; +x_8 = lean_array_fget(x_1, x_2); +x_9 = l_PersistentArray_forMAux___main___at_Lean_Meta_MetaHasEval___spec__4(x_8, x_3); +lean_dec(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, 1); +lean_inc(x_10); +lean_dec(x_9); +x_11 = lean_unsigned_to_nat(1u); +x_12 = lean_nat_add(x_2, x_11); +lean_dec(x_2); +x_2 = x_12; +x_3 = x_10; +goto _start; +} +else +{ +uint8_t x_14; +lean_dec(x_2); +x_14 = !lean_is_exclusive(x_9); +if (x_14 == 0) +{ +return x_9; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_9, 0); +x_16 = lean_ctor_get(x_9, 1); +lean_inc(x_16); +lean_inc(x_15); +lean_dec(x_9); +x_17 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_17, 0, x_15); +lean_ctor_set(x_17, 1, x_16); +return x_17; +} +} +} +} +} +lean_object* l_Array_forMAux___main___at_Lean_Meta_MetaHasEval___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_1); +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); +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_3); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_8 = lean_array_fget(x_1, x_2); +x_9 = lean_box(0); +x_10 = l_Lean_MessageData_formatAux___main(x_9, x_8); +x_11 = l_IO_println___at_Lean_Meta_MetaHasEval___spec__1(x_10, x_3); +if (lean_obj_tag(x_11) == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_11, 1); +lean_inc(x_12); +lean_dec(x_11); +x_13 = lean_unsigned_to_nat(1u); +x_14 = lean_nat_add(x_2, x_13); +lean_dec(x_2); +x_2 = x_14; +x_3 = x_12; +goto _start; +} +else +{ +uint8_t x_16; +lean_dec(x_2); +x_16 = !lean_is_exclusive(x_11); +if (x_16 == 0) +{ +return x_11; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_17 = lean_ctor_get(x_11, 0); +x_18 = lean_ctor_get(x_11, 1); +lean_inc(x_18); +lean_inc(x_17); +lean_dec(x_11); +x_19 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_19, 0, x_17); +lean_ctor_set(x_19, 1, x_18); +return x_19; +} +} +} +} +} +lean_object* l_PersistentArray_forMAux___main___at_Lean_Meta_MetaHasEval___spec__4(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_3 = lean_ctor_get(x_1, 0); +x_4 = lean_unsigned_to_nat(0u); +x_5 = l_Array_forMAux___main___at_Lean_Meta_MetaHasEval___spec__5(x_3, x_4, x_2); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_6 = lean_ctor_get(x_1, 0); +x_7 = lean_unsigned_to_nat(0u); +x_8 = l_Array_forMAux___main___at_Lean_Meta_MetaHasEval___spec__6(x_6, x_7, x_2); +return x_8; +} +} +} +lean_object* l_PersistentArray_forM___at_Lean_Meta_MetaHasEval___spec__3(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_3 = lean_ctor_get(x_1, 0); +x_4 = lean_ctor_get(x_1, 1); +x_5 = l_PersistentArray_forMAux___main___at_Lean_Meta_MetaHasEval___spec__4(x_3, x_2); +if (lean_obj_tag(x_5) == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_6 = lean_ctor_get(x_5, 1); +lean_inc(x_6); +lean_dec(x_5); +x_7 = lean_unsigned_to_nat(0u); +x_8 = l_Array_forMAux___main___at_Lean_Meta_MetaHasEval___spec__6(x_4, x_7, x_6); +return x_8; +} +else +{ +uint8_t x_9; +x_9 = !lean_is_exclusive(x_5); +if (x_9 == 0) +{ +return x_5; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; +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); +x_12 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_12, 0, x_10); +lean_ctor_set(x_12, 1, x_11); +return x_12; +} +} +} +} +lean_object* l_Lean_Meta_MetaHasEval___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; uint8_t x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_6 = 0; +x_7 = 1; +lean_inc(x_3); +x_8 = lean_alloc_ctor(0, 1, 7); +lean_ctor_set(x_8, 0, x_3); +lean_ctor_set_uint8(x_8, sizeof(void*)*1, x_6); +lean_ctor_set_uint8(x_8, sizeof(void*)*1 + 1, x_6); +lean_ctor_set_uint8(x_8, sizeof(void*)*1 + 2, x_6); +lean_ctor_set_uint8(x_8, sizeof(void*)*1 + 3, x_6); +lean_ctor_set_uint8(x_8, sizeof(void*)*1 + 4, x_6); +lean_ctor_set_uint8(x_8, sizeof(void*)*1 + 5, x_6); +lean_ctor_set_uint8(x_8, sizeof(void*)*1 + 6, x_7); +x_9 = l_Lean_getMaxRecDepth(x_3); +x_10 = l_Lean_LocalContext_Inhabited___closed__2; +x_11 = l_Array_empty___closed__1; +x_12 = lean_unsigned_to_nat(0u); +x_13 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_13, 0, x_8); +lean_ctor_set(x_13, 1, x_10); +lean_ctor_set(x_13, 2, x_11); +lean_ctor_set(x_13, 3, x_12); +lean_ctor_set(x_13, 4, x_9); +x_14 = l_Lean_MetavarContext_Inhabited___closed__1; +x_15 = l_IO_runMeta___rarg___closed__4; +x_16 = l_Lean_NameGenerator_Inhabited___closed__3; +x_17 = l_Lean_TraceState_Inhabited___closed__1; +x_18 = l_PersistentArray_empty___closed__3; +x_19 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_19, 0, x_2); +lean_ctor_set(x_19, 1, x_14); +lean_ctor_set(x_19, 2, x_15); +lean_ctor_set(x_19, 3, x_16); +lean_ctor_set(x_19, 4, x_17); +lean_ctor_set(x_19, 5, x_18); +x_20 = lean_apply_2(x_4, x_13, x_19); +if (lean_obj_tag(x_20) == 0) +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +x_23 = lean_ctor_get(x_22, 4); +lean_inc(x_23); +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +lean_dec(x_23); +x_25 = l_PersistentArray_forM___at_Lean_Meta_MetaHasEval___spec__3(x_24, x_5); +lean_dec(x_24); +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, 1); +lean_inc(x_26); +lean_dec(x_25); +x_27 = lean_ctor_get(x_22, 0); +lean_inc(x_27); +lean_dec(x_22); +x_28 = lean_apply_4(x_1, x_27, x_3, x_21, x_26); +return x_28; +} +else +{ +uint8_t x_29; +lean_dec(x_22); +lean_dec(x_21); +lean_dec(x_3); +lean_dec(x_1); +x_29 = !lean_is_exclusive(x_25); +if (x_29 == 0) +{ +return x_25; +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_25, 0); +x_31 = lean_ctor_get(x_25, 1); +lean_inc(x_31); +lean_inc(x_30); +lean_dec(x_25); +x_32 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_32, 0, x_30); +lean_ctor_set(x_32, 1, x_31); +return x_32; +} +} +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; +lean_dec(x_3); +lean_dec(x_1); +x_33 = lean_ctor_get(x_20, 0); +lean_inc(x_33); +x_34 = lean_ctor_get(x_20, 1); +lean_inc(x_34); +lean_dec(x_20); +x_35 = lean_ctor_get(x_34, 4); +lean_inc(x_35); +lean_dec(x_34); +x_36 = lean_ctor_get(x_35, 0); +lean_inc(x_36); +lean_dec(x_35); +x_37 = l_PersistentArray_forM___at_Lean_Meta_MetaHasEval___spec__3(x_36, x_5); +lean_dec(x_36); +if (lean_obj_tag(x_37) == 0) +{ +uint8_t x_38; +x_38 = !lean_is_exclusive(x_37); +if (x_38 == 0) +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_39 = lean_ctor_get(x_37, 0); +lean_dec(x_39); +x_40 = l_Lean_Meta_Exception_toMessageData(x_33); +x_41 = lean_box(0); +x_42 = l_Lean_MessageData_formatAux___main(x_41, x_40); +x_43 = l_Lean_Options_empty; +x_44 = l_Lean_Format_pretty(x_42, x_43); +x_45 = lean_alloc_ctor(18, 1, 0); +lean_ctor_set(x_45, 0, x_44); +lean_ctor_set_tag(x_37, 1); +lean_ctor_set(x_37, 0, x_45); +return x_37; +} +else +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_46 = lean_ctor_get(x_37, 1); +lean_inc(x_46); +lean_dec(x_37); +x_47 = l_Lean_Meta_Exception_toMessageData(x_33); +x_48 = lean_box(0); +x_49 = l_Lean_MessageData_formatAux___main(x_48, x_47); +x_50 = l_Lean_Options_empty; +x_51 = l_Lean_Format_pretty(x_49, x_50); +x_52 = lean_alloc_ctor(18, 1, 0); +lean_ctor_set(x_52, 0, x_51); +x_53 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_53, 0, x_52); +lean_ctor_set(x_53, 1, x_46); +return x_53; +} +} +else +{ +uint8_t x_54; +lean_dec(x_33); +x_54 = !lean_is_exclusive(x_37); +if (x_54 == 0) +{ +return x_37; +} +else +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_55 = lean_ctor_get(x_37, 0); +x_56 = lean_ctor_get(x_37, 1); +lean_inc(x_56); +lean_inc(x_55); +lean_dec(x_37); +x_57 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_57, 0, x_55); +lean_ctor_set(x_57, 1, x_56); +return x_57; +} +} +} +} +} +lean_object* l_Lean_Meta_MetaHasEval(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Meta_MetaHasEval___rarg), 5, 0); +return x_2; +} +} +lean_object* l_Array_forMAux___main___at_Lean_Meta_MetaHasEval___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Array_forMAux___main___at_Lean_Meta_MetaHasEval___spec__5(x_1, x_2, x_3); +lean_dec(x_1); +return x_4; +} +} +lean_object* l_Array_forMAux___main___at_Lean_Meta_MetaHasEval___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Array_forMAux___main___at_Lean_Meta_MetaHasEval___spec__6(x_1, x_2, x_3); +lean_dec(x_1); +return x_4; +} +} +lean_object* l_PersistentArray_forMAux___main___at_Lean_Meta_MetaHasEval___spec__4___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_PersistentArray_forMAux___main___at_Lean_Meta_MetaHasEval___spec__4(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} +lean_object* l_PersistentArray_forM___at_Lean_Meta_MetaHasEval___spec__3___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_PersistentArray_forM___at_Lean_Meta_MetaHasEval___spec__3(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} lean_object* l___private_Init_Lean_Meta_Message_5__mkCtx(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { diff --git a/stage0/stdlib/Init/Lean/Meta/SynthInstance.c b/stage0/stdlib/Init/Lean/Meta/SynthInstance.c index f528e52904..a36080f213 100644 --- a/stage0/stdlib/Init/Lean/Meta/SynthInstance.c +++ b/stage0/stdlib/Init/Lean/Meta/SynthInstance.c @@ -182,7 +182,6 @@ extern lean_object* l_PersistentHashMap_insertAux___main___rarg___closed__3; lean_object* l_Lean_Meta_SynthInstance_Consumernode_inhabited___closed__1; lean_object* l_Array_iterateMAux___main___at_Lean_Meta_SynthInstance_getInstances___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_AssocList_foldlM___main___at_Lean_Meta_SynthInstance_newSubgoal___spec__5(lean_object*, lean_object*); -extern lean_object* l_Lean_mkReducibilityAttrs___lambda__1___closed__1; size_t l_Lean_Expr_hash(lean_object*); lean_object* lean_name_mk_string(lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_Lean_Meta_SynthInstance_getInstances___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -282,6 +281,7 @@ lean_object* l_Lean_mkApp(lean_object*, lean_object*); lean_object* l_Lean_Meta_SynthInstance_newSubgoal___closed__2; uint8_t l_Lean_Expr_hasMVar(lean_object*); lean_object* l_Lean_Meta_SynthInstance_synth___main___closed__8; +extern lean_object* l_Nat_forMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__87___closed__1; lean_object* l_Array_umapMAux___main___at_Lean_Meta_SynthInstance_getInstances___spec__2___closed__1; lean_object* l_List_foldlM___main___at___private_Init_Lean_Meta_SynthInstance_3__preprocessLevels___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_SynthInstance_addContext___boxed(lean_object*, lean_object*, lean_object*); @@ -398,7 +398,7 @@ lean_object* l_Lean_Meta_SynthInstance_mkInferTCGoalsLRAttr___lambda__1(lean_obj _start: { lean_object* x_3; -x_3 = l_Lean_mkReducibilityAttrs___lambda__1___closed__1; +x_3 = l_Nat_forMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__87___closed__1; return x_3; } } diff --git a/stage0/stdlib/Init/Lean/Meta/Tactic.c b/stage0/stdlib/Init/Lean/Meta/Tactic.c index 741c196e5f..b9592356d3 100644 --- a/stage0/stdlib/Init/Lean/Meta/Tactic.c +++ b/stage0/stdlib/Init/Lean/Meta/Tactic.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Init.Lean.Meta.Tactic -// Imports: Init.Lean.Meta.Tactic.Intro Init.Lean.Meta.Tactic.Assumption Init.Lean.Meta.Tactic.Apply Init.Lean.Meta.Tactic.Revert +// Imports: Init.Lean.Meta.Tactic.Intro Init.Lean.Meta.Tactic.Assumption Init.Lean.Meta.Tactic.Apply Init.Lean.Meta.Tactic.Revert Init.Lean.Meta.Tactic.Clear #include "runtime/lean.h" #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -17,6 +17,7 @@ lean_object* initialize_Init_Lean_Meta_Tactic_Intro(lean_object*); lean_object* initialize_Init_Lean_Meta_Tactic_Assumption(lean_object*); lean_object* initialize_Init_Lean_Meta_Tactic_Apply(lean_object*); lean_object* initialize_Init_Lean_Meta_Tactic_Revert(lean_object*); +lean_object* initialize_Init_Lean_Meta_Tactic_Clear(lean_object*); static bool _G_initialized = false; lean_object* initialize_Init_Lean_Meta_Tactic(lean_object* w) { lean_object * res; @@ -34,6 +35,9 @@ lean_dec_ref(res); res = initialize_Init_Lean_Meta_Tactic_Revert(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +res = initialize_Init_Lean_Meta_Tactic_Clear(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/stage0/stdlib/Init/Lean/Meta/Tactic/Clear.c b/stage0/stdlib/Init/Lean/Meta/Tactic/Clear.c new file mode 100644 index 0000000000..f39585b1bd --- /dev/null +++ b/stage0/stdlib/Init/Lean/Meta/Tactic/Clear.c @@ -0,0 +1,23150 @@ +// Lean compiler output +// Module: Init.Lean.Meta.Tactic.Clear +// Imports: Init.Lean.Meta.Tactic.Util +#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_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__53___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__73___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__68(lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_PersistentArray_anyM___at_Lean_Meta_clear___spec__51(lean_object*, lean_object*); +uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__84(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__47___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Expr_mvarId_x21(lean_object*); +lean_object* l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__77___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__61(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentArray_anyM___at_Lean_Meta_clear___spec__57___boxed(lean_object*, lean_object*); +uint8_t l_PersistentArray_anyMAux___main___at_Lean_Meta_clear___spec__9(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__86___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forMAux___main___at_Lean_Meta_clear___spec__95(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_PersistentArray_anyM___at_Lean_Meta_clear___spec__45(lean_object*, lean_object*); +lean_object* l_Lean_Meta_clear___closed__5; +uint8_t l_PersistentArray_anyM___at_Lean_Meta_clear___spec__57(lean_object*, lean_object*); +uint8_t l_PersistentArray_anyMAux___main___at_Lean_Meta_clear___spec__70(lean_object*, lean_object*); +lean_object* l_PersistentArray_anyM___at_Lean_Meta_clear___spec__51___boxed(lean_object*, lean_object*); +lean_object* l_PersistentArray_anyMAux___main___at_Lean_Meta_clear___spec__76___boxed(lean_object*, lean_object*); +lean_object* l_PersistentArray_forM___at_Lean_Meta_clear___spec__38___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_eraseIdx___rarg(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__99(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__72___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forMAux___main___at_Lean_Meta_clear___spec__41___closed__6; +uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__30(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t lean_name_eq(lean_object*, lean_object*); +uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_PersistentArray_anyMAux___main___at_Lean_Meta_clear___spec__101(lean_object*, lean_object*); +uint8_t l_PersistentArray_anyMAux___main___at_Lean_Meta_clear___spec__15(lean_object*, lean_object*); +lean_object* l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__71___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_metavar_ctx_get_expr_assignment(lean_object*, lean_object*); +lean_object* lean_local_ctx_erase(lean_object*, lean_object*); +lean_object* l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentArray_anyMAux___main___at_Lean_Meta_clear___spec__88___boxed(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_PersistentArray_anyM___at_Lean_Meta_clear___spec__8(lean_object*, lean_object*); +uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__16(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__99___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__44(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_getMVarTag(lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentArray_anyMAux___main___at_Lean_Meta_clear___spec__33___boxed(lean_object*, lean_object*); +lean_object* l_Lean_Meta_clear___closed__3; +lean_object* l_PersistentArray_forMAux___main___at_Lean_Meta_clear___spec__94(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentArray_anyM___at_Lean_Meta_clear___spec__2___boxed(lean_object*, lean_object*); +uint8_t l_Lean_Expr_isApp(lean_object*); +uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__29(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__74___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_LocalContext_forM___at_Lean_Meta_clear___spec__92___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__77(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_PersistentArray_anyMAux___main___at_Lean_Meta_clear___spec__27(lean_object*, lean_object*); +lean_object* lean_array_get_size(lean_object*); +uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__23(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__48(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Array_isEqvAux___main___at_Lean_Meta_clear___spec__111(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_PersistentArray_anyMAux___main___at_Lean_Meta_clear___spec__52(lean_object*, lean_object*); +lean_object* l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__65___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_PersistentArray_anyMAux___main___at_Lean_Meta_clear___spec__46(lean_object*, lean_object*); +uint8_t l_PersistentArray_anyM___at_Lean_Meta_clear___spec__106(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__50(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_PersistentArray_anyMAux___main___at_Lean_Meta_clear___spec__58(lean_object*, lean_object*); +lean_object* l_PersistentArray_anyMAux___main___at_Lean_Meta_clear___spec__70___boxed(lean_object*, lean_object*); +lean_object* l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__60___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__49(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_PersistentArray_anyMAux___main___at_Lean_Meta_clear___spec__76(lean_object*, lean_object*); +lean_object* l_PersistentArray_anyM___at_Lean_Meta_clear___spec__8___boxed(lean_object*, lean_object*); +lean_object* l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__24___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__44___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_LocalContext_contains(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__68___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__28(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__60(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_PersistentArray_anyMAux___main___at_Lean_Meta_clear___spec__21(lean_object*, lean_object*); +uint8_t l_PersistentArray_anyM___at_Lean_Meta_clear___spec__100(lean_object*, lean_object*); +lean_object* l_PersistentArray_anyM___at_Lean_Meta_clear___spec__106___boxed(lean_object*, lean_object*); +lean_object* l_Lean_Meta_clear___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_nat_add(lean_object*, lean_object*); +lean_object* l_PersistentArray_anyMAux___main___at_Lean_Meta_clear___spec__46___boxed(lean_object*, lean_object*); +lean_object* l_PersistentArray_anyM___at_Lean_Meta_clear___spec__45___boxed(lean_object*, lean_object*); +lean_object* l_PersistentArray_anyM___at_Lean_Meta_clear___spec__81___boxed(lean_object*, lean_object*); +lean_object* l_PersistentArray_anyMAux___main___at_Lean_Meta_clear___spec__15___boxed(lean_object*, lean_object*); +lean_object* l_PersistentArray_forM___at_Lean_Meta_clear___spec__93(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentArray_anyM___at_Lean_Meta_clear___spec__63___boxed(lean_object*, lean_object*); +lean_object* l_Array_forMAux___main___at_Lean_Meta_clear___spec__96(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__86(lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_LocalDecl_value(lean_object*); +lean_object* l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__55___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__29___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__59___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_array_fget(lean_object*, lean_object*); +lean_object* l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__89___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_PersistentArray_anyM___at_Lean_Meta_clear___spec__20(lean_object*, lean_object*); +uint8_t lean_nat_dec_eq(lean_object*, lean_object*); +lean_object* l_Array_forMAux___main___at_Lean_Meta_clear___spec__41___closed__7; +lean_object* l_PersistentArray_anyM___at_Lean_Meta_clear___spec__14___boxed(lean_object*, lean_object*); +lean_object* l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__104___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_clear___closed__1; +uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__109(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__47(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forMAux___main___at_Lean_Meta_clear___spec__97___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__34___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_clear___closed__7; +lean_object* l_PersistentArray_forM___at_Lean_Meta_clear___spec__93___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentArray_anyMAux___main___at_Lean_Meta_clear___spec__82___boxed(lean_object*, lean_object*); +uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__73(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_clear___closed__2; +lean_object* l_PersistentArray_anyMAux___main___at_Lean_Meta_clear___spec__58___boxed(lean_object*, lean_object*); +lean_object* l_Array_forMAux___main___at_Lean_Meta_clear___spec__41(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_PersistentArray_anyMAux___main___at_Lean_Meta_clear___spec__64(lean_object*, lean_object*); +lean_object* l_Array_forMAux___main___at_Lean_Meta_clear___spec__42___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__108(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__13(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forMAux___main___at_Lean_Meta_clear___spec__97(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentArray_anyMAux___main___at_Lean_Meta_clear___spec__107___boxed(lean_object*, lean_object*); +lean_object* l_Lean_LocalContext_forM___at_Lean_Meta_clear___spec__37(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Expr_fvarId_x21(lean_object*); +lean_object* l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__30___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_clear(lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__103(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__56(lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_PersistentArray_anyM___at_Lean_Meta_clear___spec__87(lean_object*, lean_object*); +uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__110(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__66___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forMAux___main___at_Lean_Meta_clear___spec__96___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentArray_forMAux___main___at_Lean_Meta_clear___spec__94___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Char_HasRepr___closed__1; +lean_object* l_PersistentArray_anyMAux___main___at_Lean_Meta_clear___spec__27___boxed(lean_object*, lean_object*); +lean_object* l_Lean_Meta_clear___closed__8; +lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__19(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__49___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__24(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_name_mk_string(lean_object*, lean_object*); +uint8_t l_PersistentArray_anyM___at_Lean_Meta_clear___spec__26(lean_object*, lean_object*); +lean_object* l_Lean_MetavarContext_assignExpr(lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentArray_anyM___at_Lean_Meta_clear___spec__20___boxed(lean_object*, lean_object*); +lean_object* l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__17___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_LocalContext_forM___at_Lean_Meta_clear___spec__37___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentArray_anyM___at_Lean_Meta_clear___spec__26___boxed(lean_object*, lean_object*); +uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__34(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_PersistentArray_anyM___at_Lean_Meta_clear___spec__75(lean_object*, lean_object*); +lean_object* l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__31___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__109___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__59(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_findIdxAux___main___at_Lean_Meta_clear___spec__43(lean_object*, lean_object*, lean_object*); +uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__83(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentArray_anyM___at_Lean_Meta_clear___spec__87___boxed(lean_object*, lean_object*); +lean_object* l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__54___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__67___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_PersistentArray_anyM___at_Lean_Meta_clear___spec__32(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__31(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_mkFVar(lean_object*); +lean_object* l_PersistentArray_anyMAux___main___at_Lean_Meta_clear___spec__9___boxed(lean_object*, lean_object*); +uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__36(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentArray_forMAux___main___at_Lean_Meta_clear___spec__39___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentArray_anyMAux___main___at_Lean_Meta_clear___spec__64___boxed(lean_object*, lean_object*); +lean_object* l_PersistentArray_anyM___at_Lean_Meta_clear___spec__100___boxed(lean_object*, lean_object*); +uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__104(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__22___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__18(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_LocalDecl_fvarId(lean_object*); +uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__105(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentArray_anyM___at_Lean_Meta_clear___spec__75___boxed(lean_object*, lean_object*); +uint8_t l_PersistentArray_anyMAux___main___at_Lean_Meta_clear___spec__3(lean_object*, lean_object*); +uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__54(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__36___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentArray_anyMAux___main___at_Lean_Meta_clear___spec__101___boxed(lean_object*, lean_object*); +lean_object* l_Array_findIdxAux___main___at_Lean_Meta_clear___spec__43___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_mkFreshExprMVarAt(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); +uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__89(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_throwTacticEx___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__66(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_clear___closed__6; +uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__53(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__102___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forMAux___main___at_Lean_Meta_clear___spec__41___closed__1; +uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__90(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentArray_anyM___at_Lean_Meta_clear___spec__32___boxed(lean_object*, lean_object*); +lean_object* l_PersistentArray_anyM___at_Lean_Meta_clear___spec__69___boxed(lean_object*, lean_object*); +lean_object* l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__35___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__55(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__85(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_LocalContext_forM___at_Lean_Meta_clear___spec__92(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__83___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentArray_forMAux___main___at_Lean_Meta_clear___spec__39(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_checkNotAssigned(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forMAux___main___at_Lean_Meta_clear___spec__95___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__7(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forMAux___main___at_Lean_Meta_clear___spec__41___closed__8; +lean_object* l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__28___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentArray_anyMAux___main___at_Lean_Meta_clear___spec__52___boxed(lean_object*, lean_object*); +lean_object* l_Array_forMAux___main___at_Lean_Meta_clear___spec__41___closed__4; +uint8_t l_Lean_Expr_hasMVar(lean_object*); +lean_object* l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__48___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forMAux___main___at_Lean_Meta_clear___spec__41___closed__2; +lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_findIdxAux___main___at_Lean_Meta_clear___spec__98(lean_object*, lean_object*, lean_object*); +uint8_t l_PersistentArray_anyM___at_Lean_Meta_clear___spec__2(lean_object*, lean_object*); +lean_object* l_PersistentArray_forM___at_Lean_Meta_clear___spec__38(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__62(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__110___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__79___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__65(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__19___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forMAux___main___at_Lean_Meta_clear___spec__41___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__72(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__16___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_PersistentArray_anyM___at_Lean_Meta_clear___spec__81(lean_object*, lean_object*); +uint8_t l_PersistentArray_anyM___at_Lean_Meta_clear___spec__63(lean_object*, lean_object*); +uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__102(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__50___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentArray_anyMAux___main___at_Lean_Meta_clear___spec__3___boxed(lean_object*, lean_object*); +uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__17(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forMAux___main___at_Lean_Meta_clear___spec__41___closed__3; +lean_object* l_Lean_Meta_clear___closed__4; +lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__62___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__85___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__78___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forMAux___main___at_Lean_Meta_clear___spec__41___closed__5; +uint8_t l_PersistentArray_anyM___at_Lean_Meta_clear___spec__69(lean_object*, lean_object*); +lean_object* l_Lean_Meta_getMVarDecl(lean_object*, lean_object*, lean_object*); +uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__78(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_PersistentArray_anyMAux___main___at_Lean_Meta_clear___spec__88(lean_object*, lean_object*); +lean_object* l_Array_isEqvAux___main___at_Lean_Meta_clear___spec__111___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__108___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__105___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__22(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__80___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__79(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__80(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__61___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_LocalInstance_beq(lean_object*, lean_object*); +lean_object* l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__90___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Meta_resettingSynthInstanceCache___rarg___closed__1; +lean_object* l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__103___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_MetavarContext_getDecl(lean_object*, lean_object*); +lean_object* l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__18___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_PersistentArray_anyMAux___main___at_Lean_Meta_clear___spec__82(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__74(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__91___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__91(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_HashMap_Inhabited___closed__1; +lean_object* l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__23___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_Expr_hasFVar(lean_object*); +lean_object* l_Array_forMAux___main___at_Lean_Meta_clear___spec__42(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_PersistentArray_anyMAux___main___at_Lean_Meta_clear___spec__107(lean_object*, lean_object*); +lean_object* l_Array_forMAux___main___at_Lean_Meta_clear___spec__40(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__67(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_PersistentArray_anyM___at_Lean_Meta_clear___spec__14(lean_object*, lean_object*); +lean_object* l_PersistentArray_anyMAux___main___at_Lean_Meta_clear___spec__21___boxed(lean_object*, lean_object*); +lean_object* l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__84___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_6__visit_x3f(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__25___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__56___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__71(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__35(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_PersistentArray_anyMAux___main___at_Lean_Meta_clear___spec__33(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__25(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_findIdxAux___main___at_Lean_Meta_clear___spec__98___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forMAux___main___at_Lean_Meta_clear___spec__40___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t lean_nat_dec_lt(lean_object*, lean_object*); +uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__4(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_nat_dec_lt(x_5, x_4); +if (x_6 == 0) +{ +uint8_t x_7; +lean_dec(x_5); +x_7 = 0; +return x_7; +} +else +{ +lean_object* x_8; uint8_t x_9; +x_8 = lean_array_fget(x_3, x_5); +x_9 = l_PersistentArray_anyMAux___main___at_Lean_Meta_clear___spec__3(x_1, x_8); +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_5, x_10); +lean_dec(x_5); +x_5 = x_11; +goto _start; +} +else +{ +lean_dec(x_5); +return x_9; +} +} +} +} +uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__5(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_nat_dec_lt(x_5, x_4); +if (x_6 == 0) +{ +uint8_t x_7; +lean_dec(x_5); +x_7 = 0; +return x_7; +} +else +{ +lean_object* x_8; +x_8 = lean_array_fget(x_3, x_5); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_unsigned_to_nat(1u); +x_10 = lean_nat_add(x_5, x_9); +lean_dec(x_5); +x_5 = x_10; +goto _start; +} +else +{ +lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_12 = lean_ctor_get(x_8, 0); +lean_inc(x_12); +lean_dec(x_8); +x_13 = l_Lean_LocalDecl_fvarId(x_12); +lean_dec(x_12); +x_14 = lean_name_eq(x_13, x_1); +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_5, x_15); +lean_dec(x_5); +x_5 = x_16; +goto _start; +} +else +{ +lean_dec(x_5); +return x_14; +} +} +} +} +} +uint8_t l_PersistentArray_anyMAux___main___at_Lean_Meta_clear___spec__3(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; +x_3 = lean_ctor_get(x_2, 0); +x_4 = lean_array_get_size(x_3); +x_5 = lean_unsigned_to_nat(0u); +x_6 = l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__4(x_1, x_3, x_3, x_4, x_5); +lean_dec(x_4); +return x_6; +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_7 = lean_ctor_get(x_2, 0); +x_8 = lean_array_get_size(x_7); +x_9 = lean_unsigned_to_nat(0u); +x_10 = l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__5(x_1, x_7, x_7, x_8, x_9); +lean_dec(x_8); +return x_10; +} +} +} +uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__6(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_nat_dec_lt(x_5, x_4); +if (x_6 == 0) +{ +uint8_t x_7; +lean_dec(x_5); +x_7 = 0; +return x_7; +} +else +{ +lean_object* x_8; +x_8 = lean_array_fget(x_3, x_5); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_unsigned_to_nat(1u); +x_10 = lean_nat_add(x_5, x_9); +lean_dec(x_5); +x_5 = x_10; +goto _start; +} +else +{ +lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_12 = lean_ctor_get(x_8, 0); +lean_inc(x_12); +lean_dec(x_8); +x_13 = l_Lean_LocalDecl_fvarId(x_12); +lean_dec(x_12); +x_14 = lean_name_eq(x_13, x_1); +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_5, x_15); +lean_dec(x_5); +x_5 = x_16; +goto _start; +} +else +{ +lean_dec(x_5); +return x_14; +} +} +} +} +} +uint8_t l_PersistentArray_anyM___at_Lean_Meta_clear___spec__2(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_Meta_clear___spec__3(x_1, x_3); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; +x_5 = lean_ctor_get(x_2, 1); +x_6 = lean_array_get_size(x_5); +x_7 = lean_unsigned_to_nat(0u); +x_8 = l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__6(x_1, x_2, x_5, x_6, x_7); +lean_dec(x_6); +return x_8; +} +else +{ +return x_4; +} +} +} +lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__1(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; uint8_t x_6; lean_object* x_7; lean_object* x_8; +lean_dec(x_2); +x_5 = lean_ctor_get(x_3, 0); +lean_inc(x_5); +lean_dec(x_3); +x_6 = lean_name_eq(x_5, x_1); +lean_dec(x_5); +x_7 = lean_box(x_6); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_4); +return x_8; +} +case 2: +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_ctor_get(x_3, 0); +lean_inc(x_9); +lean_dec(x_3); +lean_inc(x_9); +lean_inc(x_2); +x_10 = lean_metavar_ctx_get_expr_assignment(x_2, x_9); +if (lean_obj_tag(x_10) == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_object* x_15; lean_object* x_16; +x_11 = l_Lean_MetavarContext_getDecl(x_2, x_9); +lean_dec(x_9); +x_12 = lean_ctor_get(x_11, 1); +lean_inc(x_12); +lean_dec(x_11); +x_13 = lean_ctor_get(x_12, 1); +lean_inc(x_13); +lean_dec(x_12); +x_14 = l_PersistentArray_anyM___at_Lean_Meta_clear___spec__2(x_1, x_13); +lean_dec(x_13); +x_15 = lean_box(x_14); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_4); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; +lean_dec(x_9); +x_17 = lean_ctor_get(x_10, 0); +lean_inc(x_17); +lean_dec(x_10); +lean_inc(x_17); +x_18 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_17, x_4); +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +x_20 = lean_unbox(x_19); +if (x_20 == 0) +{ +uint8_t x_21; +lean_dec(x_17); +lean_dec(x_2); +x_21 = !lean_is_exclusive(x_18); +if (x_21 == 0) +{ +lean_object* x_22; +x_22 = lean_ctor_get(x_18, 0); +lean_dec(x_22); +return x_18; +} +else +{ +lean_object* x_23; lean_object* x_24; +x_23 = lean_ctor_get(x_18, 1); +lean_inc(x_23); +lean_dec(x_18); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_19); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +else +{ +lean_object* x_25; +lean_dec(x_19); +x_25 = lean_ctor_get(x_18, 1); +lean_inc(x_25); +lean_dec(x_18); +x_3 = x_17; +x_4 = x_25; +goto _start; +} +} +} +case 5: +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; +x_27 = lean_ctor_get(x_3, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_3, 1); +lean_inc(x_28); +lean_dec(x_3); +lean_inc(x_28); +x_29 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_28, x_4); +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_unbox(x_30); +lean_dec(x_30); +if (x_31 == 0) +{ +lean_object* x_32; uint8_t x_33; +lean_dec(x_28); +x_32 = lean_ctor_get(x_29, 1); +lean_inc(x_32); +lean_dec(x_29); +x_33 = l_Lean_Expr_isApp(x_27); +if (x_33 == 0) +{ +lean_object* x_34; lean_object* x_35; uint8_t x_36; +lean_inc(x_27); +x_34 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_27, x_32); +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +x_36 = lean_unbox(x_35); +if (x_36 == 0) +{ +uint8_t x_37; +lean_dec(x_27); +lean_dec(x_2); +x_37 = !lean_is_exclusive(x_34); +if (x_37 == 0) +{ +lean_object* x_38; +x_38 = lean_ctor_get(x_34, 0); +lean_dec(x_38); +return x_34; +} +else +{ +lean_object* x_39; lean_object* x_40; +x_39 = lean_ctor_get(x_34, 1); +lean_inc(x_39); +lean_dec(x_34); +x_40 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_40, 0, x_35); +lean_ctor_set(x_40, 1, x_39); +return x_40; +} +} +else +{ +lean_object* x_41; +lean_dec(x_35); +x_41 = lean_ctor_get(x_34, 1); +lean_inc(x_41); +lean_dec(x_34); +x_3 = x_27; +x_4 = x_41; +goto _start; +} +} +else +{ +x_3 = x_27; +x_4 = x_32; +goto _start; +} +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; +x_44 = lean_ctor_get(x_29, 1); +lean_inc(x_44); +lean_dec(x_29); +lean_inc(x_2); +x_45 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__1(x_1, x_2, x_28, x_44); +x_46 = lean_ctor_get(x_45, 0); +lean_inc(x_46); +x_47 = lean_unbox(x_46); +if (x_47 == 0) +{ +lean_object* x_48; uint8_t x_49; +lean_dec(x_46); +x_48 = lean_ctor_get(x_45, 1); +lean_inc(x_48); +lean_dec(x_45); +x_49 = l_Lean_Expr_isApp(x_27); +if (x_49 == 0) +{ +lean_object* x_50; lean_object* x_51; uint8_t x_52; +lean_inc(x_27); +x_50 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_27, x_48); +x_51 = lean_ctor_get(x_50, 0); +lean_inc(x_51); +x_52 = lean_unbox(x_51); +if (x_52 == 0) +{ +uint8_t x_53; +lean_dec(x_27); +lean_dec(x_2); +x_53 = !lean_is_exclusive(x_50); +if (x_53 == 0) +{ +lean_object* x_54; +x_54 = lean_ctor_get(x_50, 0); +lean_dec(x_54); +return x_50; +} +else +{ +lean_object* x_55; lean_object* x_56; +x_55 = lean_ctor_get(x_50, 1); +lean_inc(x_55); +lean_dec(x_50); +x_56 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_56, 0, x_51); +lean_ctor_set(x_56, 1, x_55); +return x_56; +} +} +else +{ +lean_object* x_57; +lean_dec(x_51); +x_57 = lean_ctor_get(x_50, 1); +lean_inc(x_57); +lean_dec(x_50); +x_3 = x_27; +x_4 = x_57; +goto _start; +} +} +else +{ +x_3 = x_27; +x_4 = x_48; +goto _start; +} +} +else +{ +uint8_t x_60; +lean_dec(x_27); +lean_dec(x_2); +x_60 = !lean_is_exclusive(x_45); +if (x_60 == 0) +{ +lean_object* x_61; +x_61 = lean_ctor_get(x_45, 0); +lean_dec(x_61); +return x_45; +} +else +{ +lean_object* x_62; lean_object* x_63; +x_62 = lean_ctor_get(x_45, 1); +lean_inc(x_62); +lean_dec(x_45); +x_63 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_63, 0, x_46); +lean_ctor_set(x_63, 1, x_62); +return x_63; +} +} +} +} +case 6: +{ +lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; uint8_t x_68; +x_64 = lean_ctor_get(x_3, 1); +lean_inc(x_64); +x_65 = lean_ctor_get(x_3, 2); +lean_inc(x_65); +lean_dec(x_3); +lean_inc(x_64); +x_66 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_64, x_4); +x_67 = lean_ctor_get(x_66, 0); +lean_inc(x_67); +x_68 = lean_unbox(x_67); +lean_dec(x_67); +if (x_68 == 0) +{ +lean_object* x_69; lean_object* x_70; lean_object* x_71; uint8_t x_72; +lean_dec(x_64); +x_69 = lean_ctor_get(x_66, 1); +lean_inc(x_69); +lean_dec(x_66); +lean_inc(x_65); +x_70 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_65, x_69); +x_71 = lean_ctor_get(x_70, 0); +lean_inc(x_71); +x_72 = lean_unbox(x_71); +if (x_72 == 0) +{ +uint8_t x_73; +lean_dec(x_65); +lean_dec(x_2); +x_73 = !lean_is_exclusive(x_70); +if (x_73 == 0) +{ +lean_object* x_74; +x_74 = lean_ctor_get(x_70, 0); +lean_dec(x_74); +return x_70; +} +else +{ +lean_object* x_75; lean_object* x_76; +x_75 = lean_ctor_get(x_70, 1); +lean_inc(x_75); +lean_dec(x_70); +x_76 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_76, 0, x_71); +lean_ctor_set(x_76, 1, x_75); +return x_76; +} +} +else +{ +lean_object* x_77; +lean_dec(x_71); +x_77 = lean_ctor_get(x_70, 1); +lean_inc(x_77); +lean_dec(x_70); +x_3 = x_65; +x_4 = x_77; +goto _start; +} +} +else +{ +lean_object* x_79; lean_object* x_80; lean_object* x_81; uint8_t x_82; +x_79 = lean_ctor_get(x_66, 1); +lean_inc(x_79); +lean_dec(x_66); +lean_inc(x_2); +x_80 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__1(x_1, x_2, x_64, x_79); +x_81 = lean_ctor_get(x_80, 0); +lean_inc(x_81); +x_82 = lean_unbox(x_81); +if (x_82 == 0) +{ +lean_object* x_83; lean_object* x_84; lean_object* x_85; uint8_t x_86; +lean_dec(x_81); +x_83 = lean_ctor_get(x_80, 1); +lean_inc(x_83); +lean_dec(x_80); +lean_inc(x_65); +x_84 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_65, x_83); +x_85 = lean_ctor_get(x_84, 0); +lean_inc(x_85); +x_86 = lean_unbox(x_85); +if (x_86 == 0) +{ +uint8_t x_87; +lean_dec(x_65); +lean_dec(x_2); +x_87 = !lean_is_exclusive(x_84); +if (x_87 == 0) +{ +lean_object* x_88; +x_88 = lean_ctor_get(x_84, 0); +lean_dec(x_88); +return x_84; +} +else +{ +lean_object* x_89; lean_object* x_90; +x_89 = lean_ctor_get(x_84, 1); +lean_inc(x_89); +lean_dec(x_84); +x_90 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_90, 0, x_85); +lean_ctor_set(x_90, 1, x_89); +return x_90; +} +} +else +{ +lean_object* x_91; +lean_dec(x_85); +x_91 = lean_ctor_get(x_84, 1); +lean_inc(x_91); +lean_dec(x_84); +x_3 = x_65; +x_4 = x_91; +goto _start; +} +} +else +{ +uint8_t x_93; +lean_dec(x_65); +lean_dec(x_2); +x_93 = !lean_is_exclusive(x_80); +if (x_93 == 0) +{ +lean_object* x_94; +x_94 = lean_ctor_get(x_80, 0); +lean_dec(x_94); +return x_80; +} +else +{ +lean_object* x_95; lean_object* x_96; +x_95 = lean_ctor_get(x_80, 1); +lean_inc(x_95); +lean_dec(x_80); +x_96 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_96, 0, x_81); +lean_ctor_set(x_96, 1, x_95); +return x_96; +} +} +} +} +case 7: +{ +lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; uint8_t x_101; +x_97 = lean_ctor_get(x_3, 1); +lean_inc(x_97); +x_98 = lean_ctor_get(x_3, 2); +lean_inc(x_98); +lean_dec(x_3); +lean_inc(x_97); +x_99 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_97, x_4); +x_100 = lean_ctor_get(x_99, 0); +lean_inc(x_100); +x_101 = lean_unbox(x_100); +lean_dec(x_100); +if (x_101 == 0) +{ +lean_object* x_102; lean_object* x_103; lean_object* x_104; uint8_t x_105; +lean_dec(x_97); +x_102 = lean_ctor_get(x_99, 1); +lean_inc(x_102); +lean_dec(x_99); +lean_inc(x_98); +x_103 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_98, x_102); +x_104 = lean_ctor_get(x_103, 0); +lean_inc(x_104); +x_105 = lean_unbox(x_104); +if (x_105 == 0) +{ +uint8_t x_106; +lean_dec(x_98); +lean_dec(x_2); +x_106 = !lean_is_exclusive(x_103); +if (x_106 == 0) +{ +lean_object* x_107; +x_107 = lean_ctor_get(x_103, 0); +lean_dec(x_107); +return x_103; +} +else +{ +lean_object* x_108; lean_object* x_109; +x_108 = lean_ctor_get(x_103, 1); +lean_inc(x_108); +lean_dec(x_103); +x_109 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_109, 0, x_104); +lean_ctor_set(x_109, 1, x_108); +return x_109; +} +} +else +{ +lean_object* x_110; +lean_dec(x_104); +x_110 = lean_ctor_get(x_103, 1); +lean_inc(x_110); +lean_dec(x_103); +x_3 = x_98; +x_4 = x_110; +goto _start; +} +} +else +{ +lean_object* x_112; lean_object* x_113; lean_object* x_114; uint8_t x_115; +x_112 = lean_ctor_get(x_99, 1); +lean_inc(x_112); +lean_dec(x_99); +lean_inc(x_2); +x_113 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__1(x_1, x_2, x_97, x_112); +x_114 = lean_ctor_get(x_113, 0); +lean_inc(x_114); +x_115 = lean_unbox(x_114); +if (x_115 == 0) +{ +lean_object* x_116; lean_object* x_117; lean_object* x_118; uint8_t x_119; +lean_dec(x_114); +x_116 = lean_ctor_get(x_113, 1); +lean_inc(x_116); +lean_dec(x_113); +lean_inc(x_98); +x_117 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_98, x_116); +x_118 = lean_ctor_get(x_117, 0); +lean_inc(x_118); +x_119 = lean_unbox(x_118); +if (x_119 == 0) +{ +uint8_t x_120; +lean_dec(x_98); +lean_dec(x_2); +x_120 = !lean_is_exclusive(x_117); +if (x_120 == 0) +{ +lean_object* x_121; +x_121 = lean_ctor_get(x_117, 0); +lean_dec(x_121); +return x_117; +} +else +{ +lean_object* x_122; lean_object* x_123; +x_122 = lean_ctor_get(x_117, 1); +lean_inc(x_122); +lean_dec(x_117); +x_123 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_123, 0, x_118); +lean_ctor_set(x_123, 1, x_122); +return x_123; +} +} +else +{ +lean_object* x_124; +lean_dec(x_118); +x_124 = lean_ctor_get(x_117, 1); +lean_inc(x_124); +lean_dec(x_117); +x_3 = x_98; +x_4 = x_124; +goto _start; +} +} +else +{ +uint8_t x_126; +lean_dec(x_98); +lean_dec(x_2); +x_126 = !lean_is_exclusive(x_113); +if (x_126 == 0) +{ +lean_object* x_127; +x_127 = lean_ctor_get(x_113, 0); +lean_dec(x_127); +return x_113; +} +else +{ +lean_object* x_128; lean_object* x_129; +x_128 = lean_ctor_get(x_113, 1); +lean_inc(x_128); +lean_dec(x_113); +x_129 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_129, 0, x_114); +lean_ctor_set(x_129, 1, x_128); +return x_129; +} +} +} +} +case 8: +{ +lean_object* x_130; lean_object* x_131; lean_object* x_132; uint8_t x_133; lean_object* x_134; lean_object* x_169; lean_object* x_170; uint8_t x_171; +x_130 = lean_ctor_get(x_3, 1); +lean_inc(x_130); +x_131 = lean_ctor_get(x_3, 2); +lean_inc(x_131); +x_132 = lean_ctor_get(x_3, 3); +lean_inc(x_132); +lean_dec(x_3); +lean_inc(x_130); +x_169 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_130, x_4); +x_170 = lean_ctor_get(x_169, 0); +lean_inc(x_170); +x_171 = lean_unbox(x_170); +if (x_171 == 0) +{ +lean_object* x_172; uint8_t x_173; +lean_dec(x_130); +x_172 = lean_ctor_get(x_169, 1); +lean_inc(x_172); +lean_dec(x_169); +x_173 = lean_unbox(x_170); +lean_dec(x_170); +x_133 = x_173; +x_134 = x_172; +goto block_168; +} +else +{ +lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; uint8_t x_178; +lean_dec(x_170); +x_174 = lean_ctor_get(x_169, 1); +lean_inc(x_174); +lean_dec(x_169); +lean_inc(x_2); +x_175 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__1(x_1, x_2, x_130, x_174); +x_176 = lean_ctor_get(x_175, 0); +lean_inc(x_176); +x_177 = lean_ctor_get(x_175, 1); +lean_inc(x_177); +lean_dec(x_175); +x_178 = lean_unbox(x_176); +lean_dec(x_176); +x_133 = x_178; +x_134 = x_177; +goto block_168; +} +block_168: +{ +if (x_133 == 0) +{ +lean_object* x_135; lean_object* x_136; uint8_t x_137; +lean_inc(x_131); +x_135 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_131, x_134); +x_136 = lean_ctor_get(x_135, 0); +lean_inc(x_136); +x_137 = lean_unbox(x_136); +lean_dec(x_136); +if (x_137 == 0) +{ +lean_object* x_138; lean_object* x_139; lean_object* x_140; uint8_t x_141; +lean_dec(x_131); +x_138 = lean_ctor_get(x_135, 1); +lean_inc(x_138); +lean_dec(x_135); +lean_inc(x_132); +x_139 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_132, x_138); +x_140 = lean_ctor_get(x_139, 0); +lean_inc(x_140); +x_141 = lean_unbox(x_140); +if (x_141 == 0) +{ +uint8_t x_142; +lean_dec(x_132); +lean_dec(x_2); +x_142 = !lean_is_exclusive(x_139); +if (x_142 == 0) +{ +lean_object* x_143; +x_143 = lean_ctor_get(x_139, 0); +lean_dec(x_143); +return x_139; +} +else +{ +lean_object* x_144; lean_object* x_145; +x_144 = lean_ctor_get(x_139, 1); +lean_inc(x_144); +lean_dec(x_139); +x_145 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_145, 0, x_140); +lean_ctor_set(x_145, 1, x_144); +return x_145; +} +} +else +{ +lean_object* x_146; +lean_dec(x_140); +x_146 = lean_ctor_get(x_139, 1); +lean_inc(x_146); +lean_dec(x_139); +x_3 = x_132; +x_4 = x_146; +goto _start; +} +} +else +{ +lean_object* x_148; lean_object* x_149; lean_object* x_150; uint8_t x_151; +x_148 = lean_ctor_get(x_135, 1); +lean_inc(x_148); +lean_dec(x_135); +lean_inc(x_2); +x_149 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__1(x_1, x_2, x_131, x_148); +x_150 = lean_ctor_get(x_149, 0); +lean_inc(x_150); +x_151 = lean_unbox(x_150); +if (x_151 == 0) +{ +lean_object* x_152; lean_object* x_153; lean_object* x_154; uint8_t x_155; +lean_dec(x_150); +x_152 = lean_ctor_get(x_149, 1); +lean_inc(x_152); +lean_dec(x_149); +lean_inc(x_132); +x_153 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_132, x_152); +x_154 = lean_ctor_get(x_153, 0); +lean_inc(x_154); +x_155 = lean_unbox(x_154); +if (x_155 == 0) +{ +uint8_t x_156; +lean_dec(x_132); +lean_dec(x_2); +x_156 = !lean_is_exclusive(x_153); +if (x_156 == 0) +{ +lean_object* x_157; +x_157 = lean_ctor_get(x_153, 0); +lean_dec(x_157); +return x_153; +} +else +{ +lean_object* x_158; lean_object* x_159; +x_158 = lean_ctor_get(x_153, 1); +lean_inc(x_158); +lean_dec(x_153); +x_159 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_159, 0, x_154); +lean_ctor_set(x_159, 1, x_158); +return x_159; +} +} +else +{ +lean_object* x_160; +lean_dec(x_154); +x_160 = lean_ctor_get(x_153, 1); +lean_inc(x_160); +lean_dec(x_153); +x_3 = x_132; +x_4 = x_160; +goto _start; +} +} +else +{ +uint8_t x_162; +lean_dec(x_132); +lean_dec(x_2); +x_162 = !lean_is_exclusive(x_149); +if (x_162 == 0) +{ +lean_object* x_163; +x_163 = lean_ctor_get(x_149, 0); +lean_dec(x_163); +return x_149; +} +else +{ +lean_object* x_164; lean_object* x_165; +x_164 = lean_ctor_get(x_149, 1); +lean_inc(x_164); +lean_dec(x_149); +x_165 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_165, 0, x_150); +lean_ctor_set(x_165, 1, x_164); +return x_165; +} +} +} +} +else +{ +lean_object* x_166; lean_object* x_167; +lean_dec(x_132); +lean_dec(x_131); +lean_dec(x_2); +x_166 = lean_box(x_133); +x_167 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_167, 0, x_166); +lean_ctor_set(x_167, 1, x_134); +return x_167; +} +} +} +case 10: +{ +lean_object* x_179; lean_object* x_180; lean_object* x_181; uint8_t x_182; +x_179 = lean_ctor_get(x_3, 1); +lean_inc(x_179); +lean_dec(x_3); +lean_inc(x_179); +x_180 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_179, x_4); +x_181 = lean_ctor_get(x_180, 0); +lean_inc(x_181); +x_182 = lean_unbox(x_181); +if (x_182 == 0) +{ +uint8_t x_183; +lean_dec(x_179); +lean_dec(x_2); +x_183 = !lean_is_exclusive(x_180); +if (x_183 == 0) +{ +lean_object* x_184; +x_184 = lean_ctor_get(x_180, 0); +lean_dec(x_184); +return x_180; +} +else +{ +lean_object* x_185; lean_object* x_186; +x_185 = lean_ctor_get(x_180, 1); +lean_inc(x_185); +lean_dec(x_180); +x_186 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_186, 0, x_181); +lean_ctor_set(x_186, 1, x_185); +return x_186; +} +} +else +{ +lean_object* x_187; +lean_dec(x_181); +x_187 = lean_ctor_get(x_180, 1); +lean_inc(x_187); +lean_dec(x_180); +x_3 = x_179; +x_4 = x_187; +goto _start; +} +} +case 11: +{ +lean_object* x_189; lean_object* x_190; lean_object* x_191; uint8_t x_192; +x_189 = lean_ctor_get(x_3, 2); +lean_inc(x_189); +lean_dec(x_3); +lean_inc(x_189); +x_190 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_189, x_4); +x_191 = lean_ctor_get(x_190, 0); +lean_inc(x_191); +x_192 = lean_unbox(x_191); +if (x_192 == 0) +{ +uint8_t x_193; +lean_dec(x_189); +lean_dec(x_2); +x_193 = !lean_is_exclusive(x_190); +if (x_193 == 0) +{ +lean_object* x_194; +x_194 = lean_ctor_get(x_190, 0); +lean_dec(x_194); +return x_190; +} +else +{ +lean_object* x_195; lean_object* x_196; +x_195 = lean_ctor_get(x_190, 1); +lean_inc(x_195); +lean_dec(x_190); +x_196 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_196, 0, x_191); +lean_ctor_set(x_196, 1, x_195); +return x_196; +} +} +else +{ +lean_object* x_197; +lean_dec(x_191); +x_197 = lean_ctor_get(x_190, 1); +lean_inc(x_197); +lean_dec(x_190); +x_3 = x_189; +x_4 = x_197; +goto _start; +} +} +default: +{ +uint8_t x_199; lean_object* x_200; lean_object* x_201; +lean_dec(x_3); +lean_dec(x_2); +x_199 = 0; +x_200 = lean_box(x_199); +x_201 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_201, 0, x_200); +lean_ctor_set(x_201, 1, x_4); +return x_201; +} +} +} +} +uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__10(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_nat_dec_lt(x_5, x_4); +if (x_6 == 0) +{ +uint8_t x_7; +lean_dec(x_5); +x_7 = 0; +return x_7; +} +else +{ +lean_object* x_8; uint8_t x_9; +x_8 = lean_array_fget(x_3, x_5); +x_9 = l_PersistentArray_anyMAux___main___at_Lean_Meta_clear___spec__9(x_1, x_8); +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_5, x_10); +lean_dec(x_5); +x_5 = x_11; +goto _start; +} +else +{ +lean_dec(x_5); +return x_9; +} +} +} +} +uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__11(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_nat_dec_lt(x_5, x_4); +if (x_6 == 0) +{ +uint8_t x_7; +lean_dec(x_5); +x_7 = 0; +return x_7; +} +else +{ +lean_object* x_8; +x_8 = lean_array_fget(x_3, x_5); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_unsigned_to_nat(1u); +x_10 = lean_nat_add(x_5, x_9); +lean_dec(x_5); +x_5 = x_10; +goto _start; +} +else +{ +lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_12 = lean_ctor_get(x_8, 0); +lean_inc(x_12); +lean_dec(x_8); +x_13 = l_Lean_LocalDecl_fvarId(x_12); +lean_dec(x_12); +x_14 = lean_name_eq(x_13, x_1); +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_5, x_15); +lean_dec(x_5); +x_5 = x_16; +goto _start; +} +else +{ +lean_dec(x_5); +return x_14; +} +} +} +} +} +uint8_t l_PersistentArray_anyMAux___main___at_Lean_Meta_clear___spec__9(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; +x_3 = lean_ctor_get(x_2, 0); +x_4 = lean_array_get_size(x_3); +x_5 = lean_unsigned_to_nat(0u); +x_6 = l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__10(x_1, x_3, x_3, x_4, x_5); +lean_dec(x_4); +return x_6; +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_7 = lean_ctor_get(x_2, 0); +x_8 = lean_array_get_size(x_7); +x_9 = lean_unsigned_to_nat(0u); +x_10 = l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__11(x_1, x_7, x_7, x_8, x_9); +lean_dec(x_8); +return x_10; +} +} +} +uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__12(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_nat_dec_lt(x_5, x_4); +if (x_6 == 0) +{ +uint8_t x_7; +lean_dec(x_5); +x_7 = 0; +return x_7; +} +else +{ +lean_object* x_8; +x_8 = lean_array_fget(x_3, x_5); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_unsigned_to_nat(1u); +x_10 = lean_nat_add(x_5, x_9); +lean_dec(x_5); +x_5 = x_10; +goto _start; +} +else +{ +lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_12 = lean_ctor_get(x_8, 0); +lean_inc(x_12); +lean_dec(x_8); +x_13 = l_Lean_LocalDecl_fvarId(x_12); +lean_dec(x_12); +x_14 = lean_name_eq(x_13, x_1); +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_5, x_15); +lean_dec(x_5); +x_5 = x_16; +goto _start; +} +else +{ +lean_dec(x_5); +return x_14; +} +} +} +} +} +uint8_t l_PersistentArray_anyM___at_Lean_Meta_clear___spec__8(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_Meta_clear___spec__9(x_1, x_3); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; +x_5 = lean_ctor_get(x_2, 1); +x_6 = lean_array_get_size(x_5); +x_7 = lean_unsigned_to_nat(0u); +x_8 = l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__12(x_1, x_2, x_5, x_6, x_7); +lean_dec(x_6); +return x_8; +} +else +{ +return x_4; +} +} +} +lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__7(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; uint8_t x_6; lean_object* x_7; lean_object* x_8; +lean_dec(x_2); +x_5 = lean_ctor_get(x_3, 0); +lean_inc(x_5); +lean_dec(x_3); +x_6 = lean_name_eq(x_5, x_1); +lean_dec(x_5); +x_7 = lean_box(x_6); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_4); +return x_8; +} +case 2: +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_ctor_get(x_3, 0); +lean_inc(x_9); +lean_dec(x_3); +lean_inc(x_9); +lean_inc(x_2); +x_10 = lean_metavar_ctx_get_expr_assignment(x_2, x_9); +if (lean_obj_tag(x_10) == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_object* x_15; lean_object* x_16; +x_11 = l_Lean_MetavarContext_getDecl(x_2, x_9); +lean_dec(x_9); +x_12 = lean_ctor_get(x_11, 1); +lean_inc(x_12); +lean_dec(x_11); +x_13 = lean_ctor_get(x_12, 1); +lean_inc(x_13); +lean_dec(x_12); +x_14 = l_PersistentArray_anyM___at_Lean_Meta_clear___spec__8(x_1, x_13); +lean_dec(x_13); +x_15 = lean_box(x_14); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_4); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; +lean_dec(x_9); +x_17 = lean_ctor_get(x_10, 0); +lean_inc(x_17); +lean_dec(x_10); +lean_inc(x_17); +x_18 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_17, x_4); +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +x_20 = lean_unbox(x_19); +if (x_20 == 0) +{ +uint8_t x_21; +lean_dec(x_17); +lean_dec(x_2); +x_21 = !lean_is_exclusive(x_18); +if (x_21 == 0) +{ +lean_object* x_22; +x_22 = lean_ctor_get(x_18, 0); +lean_dec(x_22); +return x_18; +} +else +{ +lean_object* x_23; lean_object* x_24; +x_23 = lean_ctor_get(x_18, 1); +lean_inc(x_23); +lean_dec(x_18); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_19); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +else +{ +lean_object* x_25; +lean_dec(x_19); +x_25 = lean_ctor_get(x_18, 1); +lean_inc(x_25); +lean_dec(x_18); +x_3 = x_17; +x_4 = x_25; +goto _start; +} +} +} +case 5: +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; +x_27 = lean_ctor_get(x_3, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_3, 1); +lean_inc(x_28); +lean_dec(x_3); +lean_inc(x_28); +x_29 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_28, x_4); +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_unbox(x_30); +lean_dec(x_30); +if (x_31 == 0) +{ +lean_object* x_32; uint8_t x_33; +lean_dec(x_28); +x_32 = lean_ctor_get(x_29, 1); +lean_inc(x_32); +lean_dec(x_29); +x_33 = l_Lean_Expr_isApp(x_27); +if (x_33 == 0) +{ +lean_object* x_34; lean_object* x_35; uint8_t x_36; +lean_inc(x_27); +x_34 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_27, x_32); +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +x_36 = lean_unbox(x_35); +if (x_36 == 0) +{ +uint8_t x_37; +lean_dec(x_27); +lean_dec(x_2); +x_37 = !lean_is_exclusive(x_34); +if (x_37 == 0) +{ +lean_object* x_38; +x_38 = lean_ctor_get(x_34, 0); +lean_dec(x_38); +return x_34; +} +else +{ +lean_object* x_39; lean_object* x_40; +x_39 = lean_ctor_get(x_34, 1); +lean_inc(x_39); +lean_dec(x_34); +x_40 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_40, 0, x_35); +lean_ctor_set(x_40, 1, x_39); +return x_40; +} +} +else +{ +lean_object* x_41; +lean_dec(x_35); +x_41 = lean_ctor_get(x_34, 1); +lean_inc(x_41); +lean_dec(x_34); +x_3 = x_27; +x_4 = x_41; +goto _start; +} +} +else +{ +x_3 = x_27; +x_4 = x_32; +goto _start; +} +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; +x_44 = lean_ctor_get(x_29, 1); +lean_inc(x_44); +lean_dec(x_29); +lean_inc(x_2); +x_45 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__7(x_1, x_2, x_28, x_44); +x_46 = lean_ctor_get(x_45, 0); +lean_inc(x_46); +x_47 = lean_unbox(x_46); +if (x_47 == 0) +{ +lean_object* x_48; uint8_t x_49; +lean_dec(x_46); +x_48 = lean_ctor_get(x_45, 1); +lean_inc(x_48); +lean_dec(x_45); +x_49 = l_Lean_Expr_isApp(x_27); +if (x_49 == 0) +{ +lean_object* x_50; lean_object* x_51; uint8_t x_52; +lean_inc(x_27); +x_50 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_27, x_48); +x_51 = lean_ctor_get(x_50, 0); +lean_inc(x_51); +x_52 = lean_unbox(x_51); +if (x_52 == 0) +{ +uint8_t x_53; +lean_dec(x_27); +lean_dec(x_2); +x_53 = !lean_is_exclusive(x_50); +if (x_53 == 0) +{ +lean_object* x_54; +x_54 = lean_ctor_get(x_50, 0); +lean_dec(x_54); +return x_50; +} +else +{ +lean_object* x_55; lean_object* x_56; +x_55 = lean_ctor_get(x_50, 1); +lean_inc(x_55); +lean_dec(x_50); +x_56 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_56, 0, x_51); +lean_ctor_set(x_56, 1, x_55); +return x_56; +} +} +else +{ +lean_object* x_57; +lean_dec(x_51); +x_57 = lean_ctor_get(x_50, 1); +lean_inc(x_57); +lean_dec(x_50); +x_3 = x_27; +x_4 = x_57; +goto _start; +} +} +else +{ +x_3 = x_27; +x_4 = x_48; +goto _start; +} +} +else +{ +uint8_t x_60; +lean_dec(x_27); +lean_dec(x_2); +x_60 = !lean_is_exclusive(x_45); +if (x_60 == 0) +{ +lean_object* x_61; +x_61 = lean_ctor_get(x_45, 0); +lean_dec(x_61); +return x_45; +} +else +{ +lean_object* x_62; lean_object* x_63; +x_62 = lean_ctor_get(x_45, 1); +lean_inc(x_62); +lean_dec(x_45); +x_63 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_63, 0, x_46); +lean_ctor_set(x_63, 1, x_62); +return x_63; +} +} +} +} +case 6: +{ +lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; uint8_t x_68; +x_64 = lean_ctor_get(x_3, 1); +lean_inc(x_64); +x_65 = lean_ctor_get(x_3, 2); +lean_inc(x_65); +lean_dec(x_3); +lean_inc(x_64); +x_66 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_64, x_4); +x_67 = lean_ctor_get(x_66, 0); +lean_inc(x_67); +x_68 = lean_unbox(x_67); +lean_dec(x_67); +if (x_68 == 0) +{ +lean_object* x_69; lean_object* x_70; lean_object* x_71; uint8_t x_72; +lean_dec(x_64); +x_69 = lean_ctor_get(x_66, 1); +lean_inc(x_69); +lean_dec(x_66); +lean_inc(x_65); +x_70 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_65, x_69); +x_71 = lean_ctor_get(x_70, 0); +lean_inc(x_71); +x_72 = lean_unbox(x_71); +if (x_72 == 0) +{ +uint8_t x_73; +lean_dec(x_65); +lean_dec(x_2); +x_73 = !lean_is_exclusive(x_70); +if (x_73 == 0) +{ +lean_object* x_74; +x_74 = lean_ctor_get(x_70, 0); +lean_dec(x_74); +return x_70; +} +else +{ +lean_object* x_75; lean_object* x_76; +x_75 = lean_ctor_get(x_70, 1); +lean_inc(x_75); +lean_dec(x_70); +x_76 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_76, 0, x_71); +lean_ctor_set(x_76, 1, x_75); +return x_76; +} +} +else +{ +lean_object* x_77; +lean_dec(x_71); +x_77 = lean_ctor_get(x_70, 1); +lean_inc(x_77); +lean_dec(x_70); +x_3 = x_65; +x_4 = x_77; +goto _start; +} +} +else +{ +lean_object* x_79; lean_object* x_80; lean_object* x_81; uint8_t x_82; +x_79 = lean_ctor_get(x_66, 1); +lean_inc(x_79); +lean_dec(x_66); +lean_inc(x_2); +x_80 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__7(x_1, x_2, x_64, x_79); +x_81 = lean_ctor_get(x_80, 0); +lean_inc(x_81); +x_82 = lean_unbox(x_81); +if (x_82 == 0) +{ +lean_object* x_83; lean_object* x_84; lean_object* x_85; uint8_t x_86; +lean_dec(x_81); +x_83 = lean_ctor_get(x_80, 1); +lean_inc(x_83); +lean_dec(x_80); +lean_inc(x_65); +x_84 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_65, x_83); +x_85 = lean_ctor_get(x_84, 0); +lean_inc(x_85); +x_86 = lean_unbox(x_85); +if (x_86 == 0) +{ +uint8_t x_87; +lean_dec(x_65); +lean_dec(x_2); +x_87 = !lean_is_exclusive(x_84); +if (x_87 == 0) +{ +lean_object* x_88; +x_88 = lean_ctor_get(x_84, 0); +lean_dec(x_88); +return x_84; +} +else +{ +lean_object* x_89; lean_object* x_90; +x_89 = lean_ctor_get(x_84, 1); +lean_inc(x_89); +lean_dec(x_84); +x_90 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_90, 0, x_85); +lean_ctor_set(x_90, 1, x_89); +return x_90; +} +} +else +{ +lean_object* x_91; +lean_dec(x_85); +x_91 = lean_ctor_get(x_84, 1); +lean_inc(x_91); +lean_dec(x_84); +x_3 = x_65; +x_4 = x_91; +goto _start; +} +} +else +{ +uint8_t x_93; +lean_dec(x_65); +lean_dec(x_2); +x_93 = !lean_is_exclusive(x_80); +if (x_93 == 0) +{ +lean_object* x_94; +x_94 = lean_ctor_get(x_80, 0); +lean_dec(x_94); +return x_80; +} +else +{ +lean_object* x_95; lean_object* x_96; +x_95 = lean_ctor_get(x_80, 1); +lean_inc(x_95); +lean_dec(x_80); +x_96 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_96, 0, x_81); +lean_ctor_set(x_96, 1, x_95); +return x_96; +} +} +} +} +case 7: +{ +lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; uint8_t x_101; +x_97 = lean_ctor_get(x_3, 1); +lean_inc(x_97); +x_98 = lean_ctor_get(x_3, 2); +lean_inc(x_98); +lean_dec(x_3); +lean_inc(x_97); +x_99 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_97, x_4); +x_100 = lean_ctor_get(x_99, 0); +lean_inc(x_100); +x_101 = lean_unbox(x_100); +lean_dec(x_100); +if (x_101 == 0) +{ +lean_object* x_102; lean_object* x_103; lean_object* x_104; uint8_t x_105; +lean_dec(x_97); +x_102 = lean_ctor_get(x_99, 1); +lean_inc(x_102); +lean_dec(x_99); +lean_inc(x_98); +x_103 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_98, x_102); +x_104 = lean_ctor_get(x_103, 0); +lean_inc(x_104); +x_105 = lean_unbox(x_104); +if (x_105 == 0) +{ +uint8_t x_106; +lean_dec(x_98); +lean_dec(x_2); +x_106 = !lean_is_exclusive(x_103); +if (x_106 == 0) +{ +lean_object* x_107; +x_107 = lean_ctor_get(x_103, 0); +lean_dec(x_107); +return x_103; +} +else +{ +lean_object* x_108; lean_object* x_109; +x_108 = lean_ctor_get(x_103, 1); +lean_inc(x_108); +lean_dec(x_103); +x_109 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_109, 0, x_104); +lean_ctor_set(x_109, 1, x_108); +return x_109; +} +} +else +{ +lean_object* x_110; +lean_dec(x_104); +x_110 = lean_ctor_get(x_103, 1); +lean_inc(x_110); +lean_dec(x_103); +x_3 = x_98; +x_4 = x_110; +goto _start; +} +} +else +{ +lean_object* x_112; lean_object* x_113; lean_object* x_114; uint8_t x_115; +x_112 = lean_ctor_get(x_99, 1); +lean_inc(x_112); +lean_dec(x_99); +lean_inc(x_2); +x_113 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__7(x_1, x_2, x_97, x_112); +x_114 = lean_ctor_get(x_113, 0); +lean_inc(x_114); +x_115 = lean_unbox(x_114); +if (x_115 == 0) +{ +lean_object* x_116; lean_object* x_117; lean_object* x_118; uint8_t x_119; +lean_dec(x_114); +x_116 = lean_ctor_get(x_113, 1); +lean_inc(x_116); +lean_dec(x_113); +lean_inc(x_98); +x_117 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_98, x_116); +x_118 = lean_ctor_get(x_117, 0); +lean_inc(x_118); +x_119 = lean_unbox(x_118); +if (x_119 == 0) +{ +uint8_t x_120; +lean_dec(x_98); +lean_dec(x_2); +x_120 = !lean_is_exclusive(x_117); +if (x_120 == 0) +{ +lean_object* x_121; +x_121 = lean_ctor_get(x_117, 0); +lean_dec(x_121); +return x_117; +} +else +{ +lean_object* x_122; lean_object* x_123; +x_122 = lean_ctor_get(x_117, 1); +lean_inc(x_122); +lean_dec(x_117); +x_123 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_123, 0, x_118); +lean_ctor_set(x_123, 1, x_122); +return x_123; +} +} +else +{ +lean_object* x_124; +lean_dec(x_118); +x_124 = lean_ctor_get(x_117, 1); +lean_inc(x_124); +lean_dec(x_117); +x_3 = x_98; +x_4 = x_124; +goto _start; +} +} +else +{ +uint8_t x_126; +lean_dec(x_98); +lean_dec(x_2); +x_126 = !lean_is_exclusive(x_113); +if (x_126 == 0) +{ +lean_object* x_127; +x_127 = lean_ctor_get(x_113, 0); +lean_dec(x_127); +return x_113; +} +else +{ +lean_object* x_128; lean_object* x_129; +x_128 = lean_ctor_get(x_113, 1); +lean_inc(x_128); +lean_dec(x_113); +x_129 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_129, 0, x_114); +lean_ctor_set(x_129, 1, x_128); +return x_129; +} +} +} +} +case 8: +{ +lean_object* x_130; lean_object* x_131; lean_object* x_132; uint8_t x_133; lean_object* x_134; lean_object* x_169; lean_object* x_170; uint8_t x_171; +x_130 = lean_ctor_get(x_3, 1); +lean_inc(x_130); +x_131 = lean_ctor_get(x_3, 2); +lean_inc(x_131); +x_132 = lean_ctor_get(x_3, 3); +lean_inc(x_132); +lean_dec(x_3); +lean_inc(x_130); +x_169 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_130, x_4); +x_170 = lean_ctor_get(x_169, 0); +lean_inc(x_170); +x_171 = lean_unbox(x_170); +if (x_171 == 0) +{ +lean_object* x_172; uint8_t x_173; +lean_dec(x_130); +x_172 = lean_ctor_get(x_169, 1); +lean_inc(x_172); +lean_dec(x_169); +x_173 = lean_unbox(x_170); +lean_dec(x_170); +x_133 = x_173; +x_134 = x_172; +goto block_168; +} +else +{ +lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; uint8_t x_178; +lean_dec(x_170); +x_174 = lean_ctor_get(x_169, 1); +lean_inc(x_174); +lean_dec(x_169); +lean_inc(x_2); +x_175 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__7(x_1, x_2, x_130, x_174); +x_176 = lean_ctor_get(x_175, 0); +lean_inc(x_176); +x_177 = lean_ctor_get(x_175, 1); +lean_inc(x_177); +lean_dec(x_175); +x_178 = lean_unbox(x_176); +lean_dec(x_176); +x_133 = x_178; +x_134 = x_177; +goto block_168; +} +block_168: +{ +if (x_133 == 0) +{ +lean_object* x_135; lean_object* x_136; uint8_t x_137; +lean_inc(x_131); +x_135 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_131, x_134); +x_136 = lean_ctor_get(x_135, 0); +lean_inc(x_136); +x_137 = lean_unbox(x_136); +lean_dec(x_136); +if (x_137 == 0) +{ +lean_object* x_138; lean_object* x_139; lean_object* x_140; uint8_t x_141; +lean_dec(x_131); +x_138 = lean_ctor_get(x_135, 1); +lean_inc(x_138); +lean_dec(x_135); +lean_inc(x_132); +x_139 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_132, x_138); +x_140 = lean_ctor_get(x_139, 0); +lean_inc(x_140); +x_141 = lean_unbox(x_140); +if (x_141 == 0) +{ +uint8_t x_142; +lean_dec(x_132); +lean_dec(x_2); +x_142 = !lean_is_exclusive(x_139); +if (x_142 == 0) +{ +lean_object* x_143; +x_143 = lean_ctor_get(x_139, 0); +lean_dec(x_143); +return x_139; +} +else +{ +lean_object* x_144; lean_object* x_145; +x_144 = lean_ctor_get(x_139, 1); +lean_inc(x_144); +lean_dec(x_139); +x_145 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_145, 0, x_140); +lean_ctor_set(x_145, 1, x_144); +return x_145; +} +} +else +{ +lean_object* x_146; +lean_dec(x_140); +x_146 = lean_ctor_get(x_139, 1); +lean_inc(x_146); +lean_dec(x_139); +x_3 = x_132; +x_4 = x_146; +goto _start; +} +} +else +{ +lean_object* x_148; lean_object* x_149; lean_object* x_150; uint8_t x_151; +x_148 = lean_ctor_get(x_135, 1); +lean_inc(x_148); +lean_dec(x_135); +lean_inc(x_2); +x_149 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__7(x_1, x_2, x_131, x_148); +x_150 = lean_ctor_get(x_149, 0); +lean_inc(x_150); +x_151 = lean_unbox(x_150); +if (x_151 == 0) +{ +lean_object* x_152; lean_object* x_153; lean_object* x_154; uint8_t x_155; +lean_dec(x_150); +x_152 = lean_ctor_get(x_149, 1); +lean_inc(x_152); +lean_dec(x_149); +lean_inc(x_132); +x_153 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_132, x_152); +x_154 = lean_ctor_get(x_153, 0); +lean_inc(x_154); +x_155 = lean_unbox(x_154); +if (x_155 == 0) +{ +uint8_t x_156; +lean_dec(x_132); +lean_dec(x_2); +x_156 = !lean_is_exclusive(x_153); +if (x_156 == 0) +{ +lean_object* x_157; +x_157 = lean_ctor_get(x_153, 0); +lean_dec(x_157); +return x_153; +} +else +{ +lean_object* x_158; lean_object* x_159; +x_158 = lean_ctor_get(x_153, 1); +lean_inc(x_158); +lean_dec(x_153); +x_159 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_159, 0, x_154); +lean_ctor_set(x_159, 1, x_158); +return x_159; +} +} +else +{ +lean_object* x_160; +lean_dec(x_154); +x_160 = lean_ctor_get(x_153, 1); +lean_inc(x_160); +lean_dec(x_153); +x_3 = x_132; +x_4 = x_160; +goto _start; +} +} +else +{ +uint8_t x_162; +lean_dec(x_132); +lean_dec(x_2); +x_162 = !lean_is_exclusive(x_149); +if (x_162 == 0) +{ +lean_object* x_163; +x_163 = lean_ctor_get(x_149, 0); +lean_dec(x_163); +return x_149; +} +else +{ +lean_object* x_164; lean_object* x_165; +x_164 = lean_ctor_get(x_149, 1); +lean_inc(x_164); +lean_dec(x_149); +x_165 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_165, 0, x_150); +lean_ctor_set(x_165, 1, x_164); +return x_165; +} +} +} +} +else +{ +lean_object* x_166; lean_object* x_167; +lean_dec(x_132); +lean_dec(x_131); +lean_dec(x_2); +x_166 = lean_box(x_133); +x_167 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_167, 0, x_166); +lean_ctor_set(x_167, 1, x_134); +return x_167; +} +} +} +case 10: +{ +lean_object* x_179; lean_object* x_180; lean_object* x_181; uint8_t x_182; +x_179 = lean_ctor_get(x_3, 1); +lean_inc(x_179); +lean_dec(x_3); +lean_inc(x_179); +x_180 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_179, x_4); +x_181 = lean_ctor_get(x_180, 0); +lean_inc(x_181); +x_182 = lean_unbox(x_181); +if (x_182 == 0) +{ +uint8_t x_183; +lean_dec(x_179); +lean_dec(x_2); +x_183 = !lean_is_exclusive(x_180); +if (x_183 == 0) +{ +lean_object* x_184; +x_184 = lean_ctor_get(x_180, 0); +lean_dec(x_184); +return x_180; +} +else +{ +lean_object* x_185; lean_object* x_186; +x_185 = lean_ctor_get(x_180, 1); +lean_inc(x_185); +lean_dec(x_180); +x_186 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_186, 0, x_181); +lean_ctor_set(x_186, 1, x_185); +return x_186; +} +} +else +{ +lean_object* x_187; +lean_dec(x_181); +x_187 = lean_ctor_get(x_180, 1); +lean_inc(x_187); +lean_dec(x_180); +x_3 = x_179; +x_4 = x_187; +goto _start; +} +} +case 11: +{ +lean_object* x_189; lean_object* x_190; lean_object* x_191; uint8_t x_192; +x_189 = lean_ctor_get(x_3, 2); +lean_inc(x_189); +lean_dec(x_3); +lean_inc(x_189); +x_190 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_189, x_4); +x_191 = lean_ctor_get(x_190, 0); +lean_inc(x_191); +x_192 = lean_unbox(x_191); +if (x_192 == 0) +{ +uint8_t x_193; +lean_dec(x_189); +lean_dec(x_2); +x_193 = !lean_is_exclusive(x_190); +if (x_193 == 0) +{ +lean_object* x_194; +x_194 = lean_ctor_get(x_190, 0); +lean_dec(x_194); +return x_190; +} +else +{ +lean_object* x_195; lean_object* x_196; +x_195 = lean_ctor_get(x_190, 1); +lean_inc(x_195); +lean_dec(x_190); +x_196 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_196, 0, x_191); +lean_ctor_set(x_196, 1, x_195); +return x_196; +} +} +else +{ +lean_object* x_197; +lean_dec(x_191); +x_197 = lean_ctor_get(x_190, 1); +lean_inc(x_197); +lean_dec(x_190); +x_3 = x_189; +x_4 = x_197; +goto _start; +} +} +default: +{ +uint8_t x_199; lean_object* x_200; lean_object* x_201; +lean_dec(x_3); +lean_dec(x_2); +x_199 = 0; +x_200 = lean_box(x_199); +x_201 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_201, 0, x_200); +lean_ctor_set(x_201, 1, x_4); +return x_201; +} +} +} +} +uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__16(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_nat_dec_lt(x_5, x_4); +if (x_6 == 0) +{ +uint8_t x_7; +lean_dec(x_5); +x_7 = 0; +return x_7; +} +else +{ +lean_object* x_8; uint8_t x_9; +x_8 = lean_array_fget(x_3, x_5); +x_9 = l_PersistentArray_anyMAux___main___at_Lean_Meta_clear___spec__15(x_1, x_8); +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_5, x_10); +lean_dec(x_5); +x_5 = x_11; +goto _start; +} +else +{ +lean_dec(x_5); +return x_9; +} +} +} +} +uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__17(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_nat_dec_lt(x_5, x_4); +if (x_6 == 0) +{ +uint8_t x_7; +lean_dec(x_5); +x_7 = 0; +return x_7; +} +else +{ +lean_object* x_8; +x_8 = lean_array_fget(x_3, x_5); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_unsigned_to_nat(1u); +x_10 = lean_nat_add(x_5, x_9); +lean_dec(x_5); +x_5 = x_10; +goto _start; +} +else +{ +lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_12 = lean_ctor_get(x_8, 0); +lean_inc(x_12); +lean_dec(x_8); +x_13 = l_Lean_LocalDecl_fvarId(x_12); +lean_dec(x_12); +x_14 = lean_name_eq(x_13, x_1); +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_5, x_15); +lean_dec(x_5); +x_5 = x_16; +goto _start; +} +else +{ +lean_dec(x_5); +return x_14; +} +} +} +} +} +uint8_t l_PersistentArray_anyMAux___main___at_Lean_Meta_clear___spec__15(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; +x_3 = lean_ctor_get(x_2, 0); +x_4 = lean_array_get_size(x_3); +x_5 = lean_unsigned_to_nat(0u); +x_6 = l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__16(x_1, x_3, x_3, x_4, x_5); +lean_dec(x_4); +return x_6; +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_7 = lean_ctor_get(x_2, 0); +x_8 = lean_array_get_size(x_7); +x_9 = lean_unsigned_to_nat(0u); +x_10 = l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__17(x_1, x_7, x_7, x_8, x_9); +lean_dec(x_8); +return x_10; +} +} +} +uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__18(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_nat_dec_lt(x_5, x_4); +if (x_6 == 0) +{ +uint8_t x_7; +lean_dec(x_5); +x_7 = 0; +return x_7; +} +else +{ +lean_object* x_8; +x_8 = lean_array_fget(x_3, x_5); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_unsigned_to_nat(1u); +x_10 = lean_nat_add(x_5, x_9); +lean_dec(x_5); +x_5 = x_10; +goto _start; +} +else +{ +lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_12 = lean_ctor_get(x_8, 0); +lean_inc(x_12); +lean_dec(x_8); +x_13 = l_Lean_LocalDecl_fvarId(x_12); +lean_dec(x_12); +x_14 = lean_name_eq(x_13, x_1); +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_5, x_15); +lean_dec(x_5); +x_5 = x_16; +goto _start; +} +else +{ +lean_dec(x_5); +return x_14; +} +} +} +} +} +uint8_t l_PersistentArray_anyM___at_Lean_Meta_clear___spec__14(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_Meta_clear___spec__15(x_1, x_3); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; +x_5 = lean_ctor_get(x_2, 1); +x_6 = lean_array_get_size(x_5); +x_7 = lean_unsigned_to_nat(0u); +x_8 = l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__18(x_1, x_2, x_5, x_6, x_7); +lean_dec(x_6); +return x_8; +} +else +{ +return x_4; +} +} +} +lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__13(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; uint8_t x_6; lean_object* x_7; lean_object* x_8; +lean_dec(x_2); +x_5 = lean_ctor_get(x_3, 0); +lean_inc(x_5); +lean_dec(x_3); +x_6 = lean_name_eq(x_5, x_1); +lean_dec(x_5); +x_7 = lean_box(x_6); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_4); +return x_8; +} +case 2: +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_ctor_get(x_3, 0); +lean_inc(x_9); +lean_dec(x_3); +lean_inc(x_9); +lean_inc(x_2); +x_10 = lean_metavar_ctx_get_expr_assignment(x_2, x_9); +if (lean_obj_tag(x_10) == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_object* x_15; lean_object* x_16; +x_11 = l_Lean_MetavarContext_getDecl(x_2, x_9); +lean_dec(x_9); +x_12 = lean_ctor_get(x_11, 1); +lean_inc(x_12); +lean_dec(x_11); +x_13 = lean_ctor_get(x_12, 1); +lean_inc(x_13); +lean_dec(x_12); +x_14 = l_PersistentArray_anyM___at_Lean_Meta_clear___spec__14(x_1, x_13); +lean_dec(x_13); +x_15 = lean_box(x_14); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_4); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; +lean_dec(x_9); +x_17 = lean_ctor_get(x_10, 0); +lean_inc(x_17); +lean_dec(x_10); +lean_inc(x_17); +x_18 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_17, x_4); +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +x_20 = lean_unbox(x_19); +if (x_20 == 0) +{ +uint8_t x_21; +lean_dec(x_17); +lean_dec(x_2); +x_21 = !lean_is_exclusive(x_18); +if (x_21 == 0) +{ +lean_object* x_22; +x_22 = lean_ctor_get(x_18, 0); +lean_dec(x_22); +return x_18; +} +else +{ +lean_object* x_23; lean_object* x_24; +x_23 = lean_ctor_get(x_18, 1); +lean_inc(x_23); +lean_dec(x_18); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_19); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +else +{ +lean_object* x_25; +lean_dec(x_19); +x_25 = lean_ctor_get(x_18, 1); +lean_inc(x_25); +lean_dec(x_18); +x_3 = x_17; +x_4 = x_25; +goto _start; +} +} +} +case 5: +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; +x_27 = lean_ctor_get(x_3, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_3, 1); +lean_inc(x_28); +lean_dec(x_3); +lean_inc(x_28); +x_29 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_28, x_4); +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_unbox(x_30); +lean_dec(x_30); +if (x_31 == 0) +{ +lean_object* x_32; uint8_t x_33; +lean_dec(x_28); +x_32 = lean_ctor_get(x_29, 1); +lean_inc(x_32); +lean_dec(x_29); +x_33 = l_Lean_Expr_isApp(x_27); +if (x_33 == 0) +{ +lean_object* x_34; lean_object* x_35; uint8_t x_36; +lean_inc(x_27); +x_34 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_27, x_32); +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +x_36 = lean_unbox(x_35); +if (x_36 == 0) +{ +uint8_t x_37; +lean_dec(x_27); +lean_dec(x_2); +x_37 = !lean_is_exclusive(x_34); +if (x_37 == 0) +{ +lean_object* x_38; +x_38 = lean_ctor_get(x_34, 0); +lean_dec(x_38); +return x_34; +} +else +{ +lean_object* x_39; lean_object* x_40; +x_39 = lean_ctor_get(x_34, 1); +lean_inc(x_39); +lean_dec(x_34); +x_40 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_40, 0, x_35); +lean_ctor_set(x_40, 1, x_39); +return x_40; +} +} +else +{ +lean_object* x_41; +lean_dec(x_35); +x_41 = lean_ctor_get(x_34, 1); +lean_inc(x_41); +lean_dec(x_34); +x_3 = x_27; +x_4 = x_41; +goto _start; +} +} +else +{ +x_3 = x_27; +x_4 = x_32; +goto _start; +} +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; +x_44 = lean_ctor_get(x_29, 1); +lean_inc(x_44); +lean_dec(x_29); +lean_inc(x_2); +x_45 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__13(x_1, x_2, x_28, x_44); +x_46 = lean_ctor_get(x_45, 0); +lean_inc(x_46); +x_47 = lean_unbox(x_46); +if (x_47 == 0) +{ +lean_object* x_48; uint8_t x_49; +lean_dec(x_46); +x_48 = lean_ctor_get(x_45, 1); +lean_inc(x_48); +lean_dec(x_45); +x_49 = l_Lean_Expr_isApp(x_27); +if (x_49 == 0) +{ +lean_object* x_50; lean_object* x_51; uint8_t x_52; +lean_inc(x_27); +x_50 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_27, x_48); +x_51 = lean_ctor_get(x_50, 0); +lean_inc(x_51); +x_52 = lean_unbox(x_51); +if (x_52 == 0) +{ +uint8_t x_53; +lean_dec(x_27); +lean_dec(x_2); +x_53 = !lean_is_exclusive(x_50); +if (x_53 == 0) +{ +lean_object* x_54; +x_54 = lean_ctor_get(x_50, 0); +lean_dec(x_54); +return x_50; +} +else +{ +lean_object* x_55; lean_object* x_56; +x_55 = lean_ctor_get(x_50, 1); +lean_inc(x_55); +lean_dec(x_50); +x_56 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_56, 0, x_51); +lean_ctor_set(x_56, 1, x_55); +return x_56; +} +} +else +{ +lean_object* x_57; +lean_dec(x_51); +x_57 = lean_ctor_get(x_50, 1); +lean_inc(x_57); +lean_dec(x_50); +x_3 = x_27; +x_4 = x_57; +goto _start; +} +} +else +{ +x_3 = x_27; +x_4 = x_48; +goto _start; +} +} +else +{ +uint8_t x_60; +lean_dec(x_27); +lean_dec(x_2); +x_60 = !lean_is_exclusive(x_45); +if (x_60 == 0) +{ +lean_object* x_61; +x_61 = lean_ctor_get(x_45, 0); +lean_dec(x_61); +return x_45; +} +else +{ +lean_object* x_62; lean_object* x_63; +x_62 = lean_ctor_get(x_45, 1); +lean_inc(x_62); +lean_dec(x_45); +x_63 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_63, 0, x_46); +lean_ctor_set(x_63, 1, x_62); +return x_63; +} +} +} +} +case 6: +{ +lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; uint8_t x_68; +x_64 = lean_ctor_get(x_3, 1); +lean_inc(x_64); +x_65 = lean_ctor_get(x_3, 2); +lean_inc(x_65); +lean_dec(x_3); +lean_inc(x_64); +x_66 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_64, x_4); +x_67 = lean_ctor_get(x_66, 0); +lean_inc(x_67); +x_68 = lean_unbox(x_67); +lean_dec(x_67); +if (x_68 == 0) +{ +lean_object* x_69; lean_object* x_70; lean_object* x_71; uint8_t x_72; +lean_dec(x_64); +x_69 = lean_ctor_get(x_66, 1); +lean_inc(x_69); +lean_dec(x_66); +lean_inc(x_65); +x_70 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_65, x_69); +x_71 = lean_ctor_get(x_70, 0); +lean_inc(x_71); +x_72 = lean_unbox(x_71); +if (x_72 == 0) +{ +uint8_t x_73; +lean_dec(x_65); +lean_dec(x_2); +x_73 = !lean_is_exclusive(x_70); +if (x_73 == 0) +{ +lean_object* x_74; +x_74 = lean_ctor_get(x_70, 0); +lean_dec(x_74); +return x_70; +} +else +{ +lean_object* x_75; lean_object* x_76; +x_75 = lean_ctor_get(x_70, 1); +lean_inc(x_75); +lean_dec(x_70); +x_76 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_76, 0, x_71); +lean_ctor_set(x_76, 1, x_75); +return x_76; +} +} +else +{ +lean_object* x_77; +lean_dec(x_71); +x_77 = lean_ctor_get(x_70, 1); +lean_inc(x_77); +lean_dec(x_70); +x_3 = x_65; +x_4 = x_77; +goto _start; +} +} +else +{ +lean_object* x_79; lean_object* x_80; lean_object* x_81; uint8_t x_82; +x_79 = lean_ctor_get(x_66, 1); +lean_inc(x_79); +lean_dec(x_66); +lean_inc(x_2); +x_80 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__13(x_1, x_2, x_64, x_79); +x_81 = lean_ctor_get(x_80, 0); +lean_inc(x_81); +x_82 = lean_unbox(x_81); +if (x_82 == 0) +{ +lean_object* x_83; lean_object* x_84; lean_object* x_85; uint8_t x_86; +lean_dec(x_81); +x_83 = lean_ctor_get(x_80, 1); +lean_inc(x_83); +lean_dec(x_80); +lean_inc(x_65); +x_84 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_65, x_83); +x_85 = lean_ctor_get(x_84, 0); +lean_inc(x_85); +x_86 = lean_unbox(x_85); +if (x_86 == 0) +{ +uint8_t x_87; +lean_dec(x_65); +lean_dec(x_2); +x_87 = !lean_is_exclusive(x_84); +if (x_87 == 0) +{ +lean_object* x_88; +x_88 = lean_ctor_get(x_84, 0); +lean_dec(x_88); +return x_84; +} +else +{ +lean_object* x_89; lean_object* x_90; +x_89 = lean_ctor_get(x_84, 1); +lean_inc(x_89); +lean_dec(x_84); +x_90 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_90, 0, x_85); +lean_ctor_set(x_90, 1, x_89); +return x_90; +} +} +else +{ +lean_object* x_91; +lean_dec(x_85); +x_91 = lean_ctor_get(x_84, 1); +lean_inc(x_91); +lean_dec(x_84); +x_3 = x_65; +x_4 = x_91; +goto _start; +} +} +else +{ +uint8_t x_93; +lean_dec(x_65); +lean_dec(x_2); +x_93 = !lean_is_exclusive(x_80); +if (x_93 == 0) +{ +lean_object* x_94; +x_94 = lean_ctor_get(x_80, 0); +lean_dec(x_94); +return x_80; +} +else +{ +lean_object* x_95; lean_object* x_96; +x_95 = lean_ctor_get(x_80, 1); +lean_inc(x_95); +lean_dec(x_80); +x_96 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_96, 0, x_81); +lean_ctor_set(x_96, 1, x_95); +return x_96; +} +} +} +} +case 7: +{ +lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; uint8_t x_101; +x_97 = lean_ctor_get(x_3, 1); +lean_inc(x_97); +x_98 = lean_ctor_get(x_3, 2); +lean_inc(x_98); +lean_dec(x_3); +lean_inc(x_97); +x_99 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_97, x_4); +x_100 = lean_ctor_get(x_99, 0); +lean_inc(x_100); +x_101 = lean_unbox(x_100); +lean_dec(x_100); +if (x_101 == 0) +{ +lean_object* x_102; lean_object* x_103; lean_object* x_104; uint8_t x_105; +lean_dec(x_97); +x_102 = lean_ctor_get(x_99, 1); +lean_inc(x_102); +lean_dec(x_99); +lean_inc(x_98); +x_103 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_98, x_102); +x_104 = lean_ctor_get(x_103, 0); +lean_inc(x_104); +x_105 = lean_unbox(x_104); +if (x_105 == 0) +{ +uint8_t x_106; +lean_dec(x_98); +lean_dec(x_2); +x_106 = !lean_is_exclusive(x_103); +if (x_106 == 0) +{ +lean_object* x_107; +x_107 = lean_ctor_get(x_103, 0); +lean_dec(x_107); +return x_103; +} +else +{ +lean_object* x_108; lean_object* x_109; +x_108 = lean_ctor_get(x_103, 1); +lean_inc(x_108); +lean_dec(x_103); +x_109 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_109, 0, x_104); +lean_ctor_set(x_109, 1, x_108); +return x_109; +} +} +else +{ +lean_object* x_110; +lean_dec(x_104); +x_110 = lean_ctor_get(x_103, 1); +lean_inc(x_110); +lean_dec(x_103); +x_3 = x_98; +x_4 = x_110; +goto _start; +} +} +else +{ +lean_object* x_112; lean_object* x_113; lean_object* x_114; uint8_t x_115; +x_112 = lean_ctor_get(x_99, 1); +lean_inc(x_112); +lean_dec(x_99); +lean_inc(x_2); +x_113 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__13(x_1, x_2, x_97, x_112); +x_114 = lean_ctor_get(x_113, 0); +lean_inc(x_114); +x_115 = lean_unbox(x_114); +if (x_115 == 0) +{ +lean_object* x_116; lean_object* x_117; lean_object* x_118; uint8_t x_119; +lean_dec(x_114); +x_116 = lean_ctor_get(x_113, 1); +lean_inc(x_116); +lean_dec(x_113); +lean_inc(x_98); +x_117 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_98, x_116); +x_118 = lean_ctor_get(x_117, 0); +lean_inc(x_118); +x_119 = lean_unbox(x_118); +if (x_119 == 0) +{ +uint8_t x_120; +lean_dec(x_98); +lean_dec(x_2); +x_120 = !lean_is_exclusive(x_117); +if (x_120 == 0) +{ +lean_object* x_121; +x_121 = lean_ctor_get(x_117, 0); +lean_dec(x_121); +return x_117; +} +else +{ +lean_object* x_122; lean_object* x_123; +x_122 = lean_ctor_get(x_117, 1); +lean_inc(x_122); +lean_dec(x_117); +x_123 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_123, 0, x_118); +lean_ctor_set(x_123, 1, x_122); +return x_123; +} +} +else +{ +lean_object* x_124; +lean_dec(x_118); +x_124 = lean_ctor_get(x_117, 1); +lean_inc(x_124); +lean_dec(x_117); +x_3 = x_98; +x_4 = x_124; +goto _start; +} +} +else +{ +uint8_t x_126; +lean_dec(x_98); +lean_dec(x_2); +x_126 = !lean_is_exclusive(x_113); +if (x_126 == 0) +{ +lean_object* x_127; +x_127 = lean_ctor_get(x_113, 0); +lean_dec(x_127); +return x_113; +} +else +{ +lean_object* x_128; lean_object* x_129; +x_128 = lean_ctor_get(x_113, 1); +lean_inc(x_128); +lean_dec(x_113); +x_129 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_129, 0, x_114); +lean_ctor_set(x_129, 1, x_128); +return x_129; +} +} +} +} +case 8: +{ +lean_object* x_130; lean_object* x_131; lean_object* x_132; uint8_t x_133; lean_object* x_134; lean_object* x_169; lean_object* x_170; uint8_t x_171; +x_130 = lean_ctor_get(x_3, 1); +lean_inc(x_130); +x_131 = lean_ctor_get(x_3, 2); +lean_inc(x_131); +x_132 = lean_ctor_get(x_3, 3); +lean_inc(x_132); +lean_dec(x_3); +lean_inc(x_130); +x_169 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_130, x_4); +x_170 = lean_ctor_get(x_169, 0); +lean_inc(x_170); +x_171 = lean_unbox(x_170); +if (x_171 == 0) +{ +lean_object* x_172; uint8_t x_173; +lean_dec(x_130); +x_172 = lean_ctor_get(x_169, 1); +lean_inc(x_172); +lean_dec(x_169); +x_173 = lean_unbox(x_170); +lean_dec(x_170); +x_133 = x_173; +x_134 = x_172; +goto block_168; +} +else +{ +lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; uint8_t x_178; +lean_dec(x_170); +x_174 = lean_ctor_get(x_169, 1); +lean_inc(x_174); +lean_dec(x_169); +lean_inc(x_2); +x_175 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__13(x_1, x_2, x_130, x_174); +x_176 = lean_ctor_get(x_175, 0); +lean_inc(x_176); +x_177 = lean_ctor_get(x_175, 1); +lean_inc(x_177); +lean_dec(x_175); +x_178 = lean_unbox(x_176); +lean_dec(x_176); +x_133 = x_178; +x_134 = x_177; +goto block_168; +} +block_168: +{ +if (x_133 == 0) +{ +lean_object* x_135; lean_object* x_136; uint8_t x_137; +lean_inc(x_131); +x_135 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_131, x_134); +x_136 = lean_ctor_get(x_135, 0); +lean_inc(x_136); +x_137 = lean_unbox(x_136); +lean_dec(x_136); +if (x_137 == 0) +{ +lean_object* x_138; lean_object* x_139; lean_object* x_140; uint8_t x_141; +lean_dec(x_131); +x_138 = lean_ctor_get(x_135, 1); +lean_inc(x_138); +lean_dec(x_135); +lean_inc(x_132); +x_139 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_132, x_138); +x_140 = lean_ctor_get(x_139, 0); +lean_inc(x_140); +x_141 = lean_unbox(x_140); +if (x_141 == 0) +{ +uint8_t x_142; +lean_dec(x_132); +lean_dec(x_2); +x_142 = !lean_is_exclusive(x_139); +if (x_142 == 0) +{ +lean_object* x_143; +x_143 = lean_ctor_get(x_139, 0); +lean_dec(x_143); +return x_139; +} +else +{ +lean_object* x_144; lean_object* x_145; +x_144 = lean_ctor_get(x_139, 1); +lean_inc(x_144); +lean_dec(x_139); +x_145 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_145, 0, x_140); +lean_ctor_set(x_145, 1, x_144); +return x_145; +} +} +else +{ +lean_object* x_146; +lean_dec(x_140); +x_146 = lean_ctor_get(x_139, 1); +lean_inc(x_146); +lean_dec(x_139); +x_3 = x_132; +x_4 = x_146; +goto _start; +} +} +else +{ +lean_object* x_148; lean_object* x_149; lean_object* x_150; uint8_t x_151; +x_148 = lean_ctor_get(x_135, 1); +lean_inc(x_148); +lean_dec(x_135); +lean_inc(x_2); +x_149 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__13(x_1, x_2, x_131, x_148); +x_150 = lean_ctor_get(x_149, 0); +lean_inc(x_150); +x_151 = lean_unbox(x_150); +if (x_151 == 0) +{ +lean_object* x_152; lean_object* x_153; lean_object* x_154; uint8_t x_155; +lean_dec(x_150); +x_152 = lean_ctor_get(x_149, 1); +lean_inc(x_152); +lean_dec(x_149); +lean_inc(x_132); +x_153 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_132, x_152); +x_154 = lean_ctor_get(x_153, 0); +lean_inc(x_154); +x_155 = lean_unbox(x_154); +if (x_155 == 0) +{ +uint8_t x_156; +lean_dec(x_132); +lean_dec(x_2); +x_156 = !lean_is_exclusive(x_153); +if (x_156 == 0) +{ +lean_object* x_157; +x_157 = lean_ctor_get(x_153, 0); +lean_dec(x_157); +return x_153; +} +else +{ +lean_object* x_158; lean_object* x_159; +x_158 = lean_ctor_get(x_153, 1); +lean_inc(x_158); +lean_dec(x_153); +x_159 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_159, 0, x_154); +lean_ctor_set(x_159, 1, x_158); +return x_159; +} +} +else +{ +lean_object* x_160; +lean_dec(x_154); +x_160 = lean_ctor_get(x_153, 1); +lean_inc(x_160); +lean_dec(x_153); +x_3 = x_132; +x_4 = x_160; +goto _start; +} +} +else +{ +uint8_t x_162; +lean_dec(x_132); +lean_dec(x_2); +x_162 = !lean_is_exclusive(x_149); +if (x_162 == 0) +{ +lean_object* x_163; +x_163 = lean_ctor_get(x_149, 0); +lean_dec(x_163); +return x_149; +} +else +{ +lean_object* x_164; lean_object* x_165; +x_164 = lean_ctor_get(x_149, 1); +lean_inc(x_164); +lean_dec(x_149); +x_165 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_165, 0, x_150); +lean_ctor_set(x_165, 1, x_164); +return x_165; +} +} +} +} +else +{ +lean_object* x_166; lean_object* x_167; +lean_dec(x_132); +lean_dec(x_131); +lean_dec(x_2); +x_166 = lean_box(x_133); +x_167 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_167, 0, x_166); +lean_ctor_set(x_167, 1, x_134); +return x_167; +} +} +} +case 10: +{ +lean_object* x_179; lean_object* x_180; lean_object* x_181; uint8_t x_182; +x_179 = lean_ctor_get(x_3, 1); +lean_inc(x_179); +lean_dec(x_3); +lean_inc(x_179); +x_180 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_179, x_4); +x_181 = lean_ctor_get(x_180, 0); +lean_inc(x_181); +x_182 = lean_unbox(x_181); +if (x_182 == 0) +{ +uint8_t x_183; +lean_dec(x_179); +lean_dec(x_2); +x_183 = !lean_is_exclusive(x_180); +if (x_183 == 0) +{ +lean_object* x_184; +x_184 = lean_ctor_get(x_180, 0); +lean_dec(x_184); +return x_180; +} +else +{ +lean_object* x_185; lean_object* x_186; +x_185 = lean_ctor_get(x_180, 1); +lean_inc(x_185); +lean_dec(x_180); +x_186 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_186, 0, x_181); +lean_ctor_set(x_186, 1, x_185); +return x_186; +} +} +else +{ +lean_object* x_187; +lean_dec(x_181); +x_187 = lean_ctor_get(x_180, 1); +lean_inc(x_187); +lean_dec(x_180); +x_3 = x_179; +x_4 = x_187; +goto _start; +} +} +case 11: +{ +lean_object* x_189; lean_object* x_190; lean_object* x_191; uint8_t x_192; +x_189 = lean_ctor_get(x_3, 2); +lean_inc(x_189); +lean_dec(x_3); +lean_inc(x_189); +x_190 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_189, x_4); +x_191 = lean_ctor_get(x_190, 0); +lean_inc(x_191); +x_192 = lean_unbox(x_191); +if (x_192 == 0) +{ +uint8_t x_193; +lean_dec(x_189); +lean_dec(x_2); +x_193 = !lean_is_exclusive(x_190); +if (x_193 == 0) +{ +lean_object* x_194; +x_194 = lean_ctor_get(x_190, 0); +lean_dec(x_194); +return x_190; +} +else +{ +lean_object* x_195; lean_object* x_196; +x_195 = lean_ctor_get(x_190, 1); +lean_inc(x_195); +lean_dec(x_190); +x_196 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_196, 0, x_191); +lean_ctor_set(x_196, 1, x_195); +return x_196; +} +} +else +{ +lean_object* x_197; +lean_dec(x_191); +x_197 = lean_ctor_get(x_190, 1); +lean_inc(x_197); +lean_dec(x_190); +x_3 = x_189; +x_4 = x_197; +goto _start; +} +} +default: +{ +uint8_t x_199; lean_object* x_200; lean_object* x_201; +lean_dec(x_3); +lean_dec(x_2); +x_199 = 0; +x_200 = lean_box(x_199); +x_201 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_201, 0, x_200); +lean_ctor_set(x_201, 1, x_4); +return x_201; +} +} +} +} +uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__22(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_nat_dec_lt(x_5, x_4); +if (x_6 == 0) +{ +uint8_t x_7; +lean_dec(x_5); +x_7 = 0; +return x_7; +} +else +{ +lean_object* x_8; uint8_t x_9; +x_8 = lean_array_fget(x_3, x_5); +x_9 = l_PersistentArray_anyMAux___main___at_Lean_Meta_clear___spec__21(x_1, x_8); +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_5, x_10); +lean_dec(x_5); +x_5 = x_11; +goto _start; +} +else +{ +lean_dec(x_5); +return x_9; +} +} +} +} +uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__23(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_nat_dec_lt(x_5, x_4); +if (x_6 == 0) +{ +uint8_t x_7; +lean_dec(x_5); +x_7 = 0; +return x_7; +} +else +{ +lean_object* x_8; +x_8 = lean_array_fget(x_3, x_5); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_unsigned_to_nat(1u); +x_10 = lean_nat_add(x_5, x_9); +lean_dec(x_5); +x_5 = x_10; +goto _start; +} +else +{ +lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_12 = lean_ctor_get(x_8, 0); +lean_inc(x_12); +lean_dec(x_8); +x_13 = l_Lean_LocalDecl_fvarId(x_12); +lean_dec(x_12); +x_14 = lean_name_eq(x_13, x_1); +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_5, x_15); +lean_dec(x_5); +x_5 = x_16; +goto _start; +} +else +{ +lean_dec(x_5); +return x_14; +} +} +} +} +} +uint8_t l_PersistentArray_anyMAux___main___at_Lean_Meta_clear___spec__21(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; +x_3 = lean_ctor_get(x_2, 0); +x_4 = lean_array_get_size(x_3); +x_5 = lean_unsigned_to_nat(0u); +x_6 = l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__22(x_1, x_3, x_3, x_4, x_5); +lean_dec(x_4); +return x_6; +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_7 = lean_ctor_get(x_2, 0); +x_8 = lean_array_get_size(x_7); +x_9 = lean_unsigned_to_nat(0u); +x_10 = l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__23(x_1, x_7, x_7, x_8, x_9); +lean_dec(x_8); +return x_10; +} +} +} +uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__24(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_nat_dec_lt(x_5, x_4); +if (x_6 == 0) +{ +uint8_t x_7; +lean_dec(x_5); +x_7 = 0; +return x_7; +} +else +{ +lean_object* x_8; +x_8 = lean_array_fget(x_3, x_5); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_unsigned_to_nat(1u); +x_10 = lean_nat_add(x_5, x_9); +lean_dec(x_5); +x_5 = x_10; +goto _start; +} +else +{ +lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_12 = lean_ctor_get(x_8, 0); +lean_inc(x_12); +lean_dec(x_8); +x_13 = l_Lean_LocalDecl_fvarId(x_12); +lean_dec(x_12); +x_14 = lean_name_eq(x_13, x_1); +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_5, x_15); +lean_dec(x_5); +x_5 = x_16; +goto _start; +} +else +{ +lean_dec(x_5); +return x_14; +} +} +} +} +} +uint8_t l_PersistentArray_anyM___at_Lean_Meta_clear___spec__20(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_Meta_clear___spec__21(x_1, x_3); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; +x_5 = lean_ctor_get(x_2, 1); +x_6 = lean_array_get_size(x_5); +x_7 = lean_unsigned_to_nat(0u); +x_8 = l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__24(x_1, x_2, x_5, x_6, x_7); +lean_dec(x_6); +return x_8; +} +else +{ +return x_4; +} +} +} +lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__19(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; uint8_t x_6; lean_object* x_7; lean_object* x_8; +lean_dec(x_2); +x_5 = lean_ctor_get(x_3, 0); +lean_inc(x_5); +lean_dec(x_3); +x_6 = lean_name_eq(x_5, x_1); +lean_dec(x_5); +x_7 = lean_box(x_6); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_4); +return x_8; +} +case 2: +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_ctor_get(x_3, 0); +lean_inc(x_9); +lean_dec(x_3); +lean_inc(x_9); +lean_inc(x_2); +x_10 = lean_metavar_ctx_get_expr_assignment(x_2, x_9); +if (lean_obj_tag(x_10) == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_object* x_15; lean_object* x_16; +x_11 = l_Lean_MetavarContext_getDecl(x_2, x_9); +lean_dec(x_9); +x_12 = lean_ctor_get(x_11, 1); +lean_inc(x_12); +lean_dec(x_11); +x_13 = lean_ctor_get(x_12, 1); +lean_inc(x_13); +lean_dec(x_12); +x_14 = l_PersistentArray_anyM___at_Lean_Meta_clear___spec__20(x_1, x_13); +lean_dec(x_13); +x_15 = lean_box(x_14); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_4); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; +lean_dec(x_9); +x_17 = lean_ctor_get(x_10, 0); +lean_inc(x_17); +lean_dec(x_10); +lean_inc(x_17); +x_18 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_17, x_4); +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +x_20 = lean_unbox(x_19); +if (x_20 == 0) +{ +uint8_t x_21; +lean_dec(x_17); +lean_dec(x_2); +x_21 = !lean_is_exclusive(x_18); +if (x_21 == 0) +{ +lean_object* x_22; +x_22 = lean_ctor_get(x_18, 0); +lean_dec(x_22); +return x_18; +} +else +{ +lean_object* x_23; lean_object* x_24; +x_23 = lean_ctor_get(x_18, 1); +lean_inc(x_23); +lean_dec(x_18); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_19); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +else +{ +lean_object* x_25; +lean_dec(x_19); +x_25 = lean_ctor_get(x_18, 1); +lean_inc(x_25); +lean_dec(x_18); +x_3 = x_17; +x_4 = x_25; +goto _start; +} +} +} +case 5: +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; +x_27 = lean_ctor_get(x_3, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_3, 1); +lean_inc(x_28); +lean_dec(x_3); +lean_inc(x_28); +x_29 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_28, x_4); +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_unbox(x_30); +lean_dec(x_30); +if (x_31 == 0) +{ +lean_object* x_32; uint8_t x_33; +lean_dec(x_28); +x_32 = lean_ctor_get(x_29, 1); +lean_inc(x_32); +lean_dec(x_29); +x_33 = l_Lean_Expr_isApp(x_27); +if (x_33 == 0) +{ +lean_object* x_34; lean_object* x_35; uint8_t x_36; +lean_inc(x_27); +x_34 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_27, x_32); +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +x_36 = lean_unbox(x_35); +if (x_36 == 0) +{ +uint8_t x_37; +lean_dec(x_27); +lean_dec(x_2); +x_37 = !lean_is_exclusive(x_34); +if (x_37 == 0) +{ +lean_object* x_38; +x_38 = lean_ctor_get(x_34, 0); +lean_dec(x_38); +return x_34; +} +else +{ +lean_object* x_39; lean_object* x_40; +x_39 = lean_ctor_get(x_34, 1); +lean_inc(x_39); +lean_dec(x_34); +x_40 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_40, 0, x_35); +lean_ctor_set(x_40, 1, x_39); +return x_40; +} +} +else +{ +lean_object* x_41; +lean_dec(x_35); +x_41 = lean_ctor_get(x_34, 1); +lean_inc(x_41); +lean_dec(x_34); +x_3 = x_27; +x_4 = x_41; +goto _start; +} +} +else +{ +x_3 = x_27; +x_4 = x_32; +goto _start; +} +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; +x_44 = lean_ctor_get(x_29, 1); +lean_inc(x_44); +lean_dec(x_29); +lean_inc(x_2); +x_45 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__19(x_1, x_2, x_28, x_44); +x_46 = lean_ctor_get(x_45, 0); +lean_inc(x_46); +x_47 = lean_unbox(x_46); +if (x_47 == 0) +{ +lean_object* x_48; uint8_t x_49; +lean_dec(x_46); +x_48 = lean_ctor_get(x_45, 1); +lean_inc(x_48); +lean_dec(x_45); +x_49 = l_Lean_Expr_isApp(x_27); +if (x_49 == 0) +{ +lean_object* x_50; lean_object* x_51; uint8_t x_52; +lean_inc(x_27); +x_50 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_27, x_48); +x_51 = lean_ctor_get(x_50, 0); +lean_inc(x_51); +x_52 = lean_unbox(x_51); +if (x_52 == 0) +{ +uint8_t x_53; +lean_dec(x_27); +lean_dec(x_2); +x_53 = !lean_is_exclusive(x_50); +if (x_53 == 0) +{ +lean_object* x_54; +x_54 = lean_ctor_get(x_50, 0); +lean_dec(x_54); +return x_50; +} +else +{ +lean_object* x_55; lean_object* x_56; +x_55 = lean_ctor_get(x_50, 1); +lean_inc(x_55); +lean_dec(x_50); +x_56 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_56, 0, x_51); +lean_ctor_set(x_56, 1, x_55); +return x_56; +} +} +else +{ +lean_object* x_57; +lean_dec(x_51); +x_57 = lean_ctor_get(x_50, 1); +lean_inc(x_57); +lean_dec(x_50); +x_3 = x_27; +x_4 = x_57; +goto _start; +} +} +else +{ +x_3 = x_27; +x_4 = x_48; +goto _start; +} +} +else +{ +uint8_t x_60; +lean_dec(x_27); +lean_dec(x_2); +x_60 = !lean_is_exclusive(x_45); +if (x_60 == 0) +{ +lean_object* x_61; +x_61 = lean_ctor_get(x_45, 0); +lean_dec(x_61); +return x_45; +} +else +{ +lean_object* x_62; lean_object* x_63; +x_62 = lean_ctor_get(x_45, 1); +lean_inc(x_62); +lean_dec(x_45); +x_63 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_63, 0, x_46); +lean_ctor_set(x_63, 1, x_62); +return x_63; +} +} +} +} +case 6: +{ +lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; uint8_t x_68; +x_64 = lean_ctor_get(x_3, 1); +lean_inc(x_64); +x_65 = lean_ctor_get(x_3, 2); +lean_inc(x_65); +lean_dec(x_3); +lean_inc(x_64); +x_66 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_64, x_4); +x_67 = lean_ctor_get(x_66, 0); +lean_inc(x_67); +x_68 = lean_unbox(x_67); +lean_dec(x_67); +if (x_68 == 0) +{ +lean_object* x_69; lean_object* x_70; lean_object* x_71; uint8_t x_72; +lean_dec(x_64); +x_69 = lean_ctor_get(x_66, 1); +lean_inc(x_69); +lean_dec(x_66); +lean_inc(x_65); +x_70 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_65, x_69); +x_71 = lean_ctor_get(x_70, 0); +lean_inc(x_71); +x_72 = lean_unbox(x_71); +if (x_72 == 0) +{ +uint8_t x_73; +lean_dec(x_65); +lean_dec(x_2); +x_73 = !lean_is_exclusive(x_70); +if (x_73 == 0) +{ +lean_object* x_74; +x_74 = lean_ctor_get(x_70, 0); +lean_dec(x_74); +return x_70; +} +else +{ +lean_object* x_75; lean_object* x_76; +x_75 = lean_ctor_get(x_70, 1); +lean_inc(x_75); +lean_dec(x_70); +x_76 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_76, 0, x_71); +lean_ctor_set(x_76, 1, x_75); +return x_76; +} +} +else +{ +lean_object* x_77; +lean_dec(x_71); +x_77 = lean_ctor_get(x_70, 1); +lean_inc(x_77); +lean_dec(x_70); +x_3 = x_65; +x_4 = x_77; +goto _start; +} +} +else +{ +lean_object* x_79; lean_object* x_80; lean_object* x_81; uint8_t x_82; +x_79 = lean_ctor_get(x_66, 1); +lean_inc(x_79); +lean_dec(x_66); +lean_inc(x_2); +x_80 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__19(x_1, x_2, x_64, x_79); +x_81 = lean_ctor_get(x_80, 0); +lean_inc(x_81); +x_82 = lean_unbox(x_81); +if (x_82 == 0) +{ +lean_object* x_83; lean_object* x_84; lean_object* x_85; uint8_t x_86; +lean_dec(x_81); +x_83 = lean_ctor_get(x_80, 1); +lean_inc(x_83); +lean_dec(x_80); +lean_inc(x_65); +x_84 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_65, x_83); +x_85 = lean_ctor_get(x_84, 0); +lean_inc(x_85); +x_86 = lean_unbox(x_85); +if (x_86 == 0) +{ +uint8_t x_87; +lean_dec(x_65); +lean_dec(x_2); +x_87 = !lean_is_exclusive(x_84); +if (x_87 == 0) +{ +lean_object* x_88; +x_88 = lean_ctor_get(x_84, 0); +lean_dec(x_88); +return x_84; +} +else +{ +lean_object* x_89; lean_object* x_90; +x_89 = lean_ctor_get(x_84, 1); +lean_inc(x_89); +lean_dec(x_84); +x_90 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_90, 0, x_85); +lean_ctor_set(x_90, 1, x_89); +return x_90; +} +} +else +{ +lean_object* x_91; +lean_dec(x_85); +x_91 = lean_ctor_get(x_84, 1); +lean_inc(x_91); +lean_dec(x_84); +x_3 = x_65; +x_4 = x_91; +goto _start; +} +} +else +{ +uint8_t x_93; +lean_dec(x_65); +lean_dec(x_2); +x_93 = !lean_is_exclusive(x_80); +if (x_93 == 0) +{ +lean_object* x_94; +x_94 = lean_ctor_get(x_80, 0); +lean_dec(x_94); +return x_80; +} +else +{ +lean_object* x_95; lean_object* x_96; +x_95 = lean_ctor_get(x_80, 1); +lean_inc(x_95); +lean_dec(x_80); +x_96 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_96, 0, x_81); +lean_ctor_set(x_96, 1, x_95); +return x_96; +} +} +} +} +case 7: +{ +lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; uint8_t x_101; +x_97 = lean_ctor_get(x_3, 1); +lean_inc(x_97); +x_98 = lean_ctor_get(x_3, 2); +lean_inc(x_98); +lean_dec(x_3); +lean_inc(x_97); +x_99 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_97, x_4); +x_100 = lean_ctor_get(x_99, 0); +lean_inc(x_100); +x_101 = lean_unbox(x_100); +lean_dec(x_100); +if (x_101 == 0) +{ +lean_object* x_102; lean_object* x_103; lean_object* x_104; uint8_t x_105; +lean_dec(x_97); +x_102 = lean_ctor_get(x_99, 1); +lean_inc(x_102); +lean_dec(x_99); +lean_inc(x_98); +x_103 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_98, x_102); +x_104 = lean_ctor_get(x_103, 0); +lean_inc(x_104); +x_105 = lean_unbox(x_104); +if (x_105 == 0) +{ +uint8_t x_106; +lean_dec(x_98); +lean_dec(x_2); +x_106 = !lean_is_exclusive(x_103); +if (x_106 == 0) +{ +lean_object* x_107; +x_107 = lean_ctor_get(x_103, 0); +lean_dec(x_107); +return x_103; +} +else +{ +lean_object* x_108; lean_object* x_109; +x_108 = lean_ctor_get(x_103, 1); +lean_inc(x_108); +lean_dec(x_103); +x_109 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_109, 0, x_104); +lean_ctor_set(x_109, 1, x_108); +return x_109; +} +} +else +{ +lean_object* x_110; +lean_dec(x_104); +x_110 = lean_ctor_get(x_103, 1); +lean_inc(x_110); +lean_dec(x_103); +x_3 = x_98; +x_4 = x_110; +goto _start; +} +} +else +{ +lean_object* x_112; lean_object* x_113; lean_object* x_114; uint8_t x_115; +x_112 = lean_ctor_get(x_99, 1); +lean_inc(x_112); +lean_dec(x_99); +lean_inc(x_2); +x_113 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__19(x_1, x_2, x_97, x_112); +x_114 = lean_ctor_get(x_113, 0); +lean_inc(x_114); +x_115 = lean_unbox(x_114); +if (x_115 == 0) +{ +lean_object* x_116; lean_object* x_117; lean_object* x_118; uint8_t x_119; +lean_dec(x_114); +x_116 = lean_ctor_get(x_113, 1); +lean_inc(x_116); +lean_dec(x_113); +lean_inc(x_98); +x_117 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_98, x_116); +x_118 = lean_ctor_get(x_117, 0); +lean_inc(x_118); +x_119 = lean_unbox(x_118); +if (x_119 == 0) +{ +uint8_t x_120; +lean_dec(x_98); +lean_dec(x_2); +x_120 = !lean_is_exclusive(x_117); +if (x_120 == 0) +{ +lean_object* x_121; +x_121 = lean_ctor_get(x_117, 0); +lean_dec(x_121); +return x_117; +} +else +{ +lean_object* x_122; lean_object* x_123; +x_122 = lean_ctor_get(x_117, 1); +lean_inc(x_122); +lean_dec(x_117); +x_123 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_123, 0, x_118); +lean_ctor_set(x_123, 1, x_122); +return x_123; +} +} +else +{ +lean_object* x_124; +lean_dec(x_118); +x_124 = lean_ctor_get(x_117, 1); +lean_inc(x_124); +lean_dec(x_117); +x_3 = x_98; +x_4 = x_124; +goto _start; +} +} +else +{ +uint8_t x_126; +lean_dec(x_98); +lean_dec(x_2); +x_126 = !lean_is_exclusive(x_113); +if (x_126 == 0) +{ +lean_object* x_127; +x_127 = lean_ctor_get(x_113, 0); +lean_dec(x_127); +return x_113; +} +else +{ +lean_object* x_128; lean_object* x_129; +x_128 = lean_ctor_get(x_113, 1); +lean_inc(x_128); +lean_dec(x_113); +x_129 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_129, 0, x_114); +lean_ctor_set(x_129, 1, x_128); +return x_129; +} +} +} +} +case 8: +{ +lean_object* x_130; lean_object* x_131; lean_object* x_132; uint8_t x_133; lean_object* x_134; lean_object* x_169; lean_object* x_170; uint8_t x_171; +x_130 = lean_ctor_get(x_3, 1); +lean_inc(x_130); +x_131 = lean_ctor_get(x_3, 2); +lean_inc(x_131); +x_132 = lean_ctor_get(x_3, 3); +lean_inc(x_132); +lean_dec(x_3); +lean_inc(x_130); +x_169 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_130, x_4); +x_170 = lean_ctor_get(x_169, 0); +lean_inc(x_170); +x_171 = lean_unbox(x_170); +if (x_171 == 0) +{ +lean_object* x_172; uint8_t x_173; +lean_dec(x_130); +x_172 = lean_ctor_get(x_169, 1); +lean_inc(x_172); +lean_dec(x_169); +x_173 = lean_unbox(x_170); +lean_dec(x_170); +x_133 = x_173; +x_134 = x_172; +goto block_168; +} +else +{ +lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; uint8_t x_178; +lean_dec(x_170); +x_174 = lean_ctor_get(x_169, 1); +lean_inc(x_174); +lean_dec(x_169); +lean_inc(x_2); +x_175 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__19(x_1, x_2, x_130, x_174); +x_176 = lean_ctor_get(x_175, 0); +lean_inc(x_176); +x_177 = lean_ctor_get(x_175, 1); +lean_inc(x_177); +lean_dec(x_175); +x_178 = lean_unbox(x_176); +lean_dec(x_176); +x_133 = x_178; +x_134 = x_177; +goto block_168; +} +block_168: +{ +if (x_133 == 0) +{ +lean_object* x_135; lean_object* x_136; uint8_t x_137; +lean_inc(x_131); +x_135 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_131, x_134); +x_136 = lean_ctor_get(x_135, 0); +lean_inc(x_136); +x_137 = lean_unbox(x_136); +lean_dec(x_136); +if (x_137 == 0) +{ +lean_object* x_138; lean_object* x_139; lean_object* x_140; uint8_t x_141; +lean_dec(x_131); +x_138 = lean_ctor_get(x_135, 1); +lean_inc(x_138); +lean_dec(x_135); +lean_inc(x_132); +x_139 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_132, x_138); +x_140 = lean_ctor_get(x_139, 0); +lean_inc(x_140); +x_141 = lean_unbox(x_140); +if (x_141 == 0) +{ +uint8_t x_142; +lean_dec(x_132); +lean_dec(x_2); +x_142 = !lean_is_exclusive(x_139); +if (x_142 == 0) +{ +lean_object* x_143; +x_143 = lean_ctor_get(x_139, 0); +lean_dec(x_143); +return x_139; +} +else +{ +lean_object* x_144; lean_object* x_145; +x_144 = lean_ctor_get(x_139, 1); +lean_inc(x_144); +lean_dec(x_139); +x_145 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_145, 0, x_140); +lean_ctor_set(x_145, 1, x_144); +return x_145; +} +} +else +{ +lean_object* x_146; +lean_dec(x_140); +x_146 = lean_ctor_get(x_139, 1); +lean_inc(x_146); +lean_dec(x_139); +x_3 = x_132; +x_4 = x_146; +goto _start; +} +} +else +{ +lean_object* x_148; lean_object* x_149; lean_object* x_150; uint8_t x_151; +x_148 = lean_ctor_get(x_135, 1); +lean_inc(x_148); +lean_dec(x_135); +lean_inc(x_2); +x_149 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__19(x_1, x_2, x_131, x_148); +x_150 = lean_ctor_get(x_149, 0); +lean_inc(x_150); +x_151 = lean_unbox(x_150); +if (x_151 == 0) +{ +lean_object* x_152; lean_object* x_153; lean_object* x_154; uint8_t x_155; +lean_dec(x_150); +x_152 = lean_ctor_get(x_149, 1); +lean_inc(x_152); +lean_dec(x_149); +lean_inc(x_132); +x_153 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_132, x_152); +x_154 = lean_ctor_get(x_153, 0); +lean_inc(x_154); +x_155 = lean_unbox(x_154); +if (x_155 == 0) +{ +uint8_t x_156; +lean_dec(x_132); +lean_dec(x_2); +x_156 = !lean_is_exclusive(x_153); +if (x_156 == 0) +{ +lean_object* x_157; +x_157 = lean_ctor_get(x_153, 0); +lean_dec(x_157); +return x_153; +} +else +{ +lean_object* x_158; lean_object* x_159; +x_158 = lean_ctor_get(x_153, 1); +lean_inc(x_158); +lean_dec(x_153); +x_159 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_159, 0, x_154); +lean_ctor_set(x_159, 1, x_158); +return x_159; +} +} +else +{ +lean_object* x_160; +lean_dec(x_154); +x_160 = lean_ctor_get(x_153, 1); +lean_inc(x_160); +lean_dec(x_153); +x_3 = x_132; +x_4 = x_160; +goto _start; +} +} +else +{ +uint8_t x_162; +lean_dec(x_132); +lean_dec(x_2); +x_162 = !lean_is_exclusive(x_149); +if (x_162 == 0) +{ +lean_object* x_163; +x_163 = lean_ctor_get(x_149, 0); +lean_dec(x_163); +return x_149; +} +else +{ +lean_object* x_164; lean_object* x_165; +x_164 = lean_ctor_get(x_149, 1); +lean_inc(x_164); +lean_dec(x_149); +x_165 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_165, 0, x_150); +lean_ctor_set(x_165, 1, x_164); +return x_165; +} +} +} +} +else +{ +lean_object* x_166; lean_object* x_167; +lean_dec(x_132); +lean_dec(x_131); +lean_dec(x_2); +x_166 = lean_box(x_133); +x_167 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_167, 0, x_166); +lean_ctor_set(x_167, 1, x_134); +return x_167; +} +} +} +case 10: +{ +lean_object* x_179; lean_object* x_180; lean_object* x_181; uint8_t x_182; +x_179 = lean_ctor_get(x_3, 1); +lean_inc(x_179); +lean_dec(x_3); +lean_inc(x_179); +x_180 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_179, x_4); +x_181 = lean_ctor_get(x_180, 0); +lean_inc(x_181); +x_182 = lean_unbox(x_181); +if (x_182 == 0) +{ +uint8_t x_183; +lean_dec(x_179); +lean_dec(x_2); +x_183 = !lean_is_exclusive(x_180); +if (x_183 == 0) +{ +lean_object* x_184; +x_184 = lean_ctor_get(x_180, 0); +lean_dec(x_184); +return x_180; +} +else +{ +lean_object* x_185; lean_object* x_186; +x_185 = lean_ctor_get(x_180, 1); +lean_inc(x_185); +lean_dec(x_180); +x_186 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_186, 0, x_181); +lean_ctor_set(x_186, 1, x_185); +return x_186; +} +} +else +{ +lean_object* x_187; +lean_dec(x_181); +x_187 = lean_ctor_get(x_180, 1); +lean_inc(x_187); +lean_dec(x_180); +x_3 = x_179; +x_4 = x_187; +goto _start; +} +} +case 11: +{ +lean_object* x_189; lean_object* x_190; lean_object* x_191; uint8_t x_192; +x_189 = lean_ctor_get(x_3, 2); +lean_inc(x_189); +lean_dec(x_3); +lean_inc(x_189); +x_190 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_189, x_4); +x_191 = lean_ctor_get(x_190, 0); +lean_inc(x_191); +x_192 = lean_unbox(x_191); +if (x_192 == 0) +{ +uint8_t x_193; +lean_dec(x_189); +lean_dec(x_2); +x_193 = !lean_is_exclusive(x_190); +if (x_193 == 0) +{ +lean_object* x_194; +x_194 = lean_ctor_get(x_190, 0); +lean_dec(x_194); +return x_190; +} +else +{ +lean_object* x_195; lean_object* x_196; +x_195 = lean_ctor_get(x_190, 1); +lean_inc(x_195); +lean_dec(x_190); +x_196 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_196, 0, x_191); +lean_ctor_set(x_196, 1, x_195); +return x_196; +} +} +else +{ +lean_object* x_197; +lean_dec(x_191); +x_197 = lean_ctor_get(x_190, 1); +lean_inc(x_197); +lean_dec(x_190); +x_3 = x_189; +x_4 = x_197; +goto _start; +} +} +default: +{ +uint8_t x_199; lean_object* x_200; lean_object* x_201; +lean_dec(x_3); +lean_dec(x_2); +x_199 = 0; +x_200 = lean_box(x_199); +x_201 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_201, 0, x_200); +lean_ctor_set(x_201, 1, x_4); +return x_201; +} +} +} +} +uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__28(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_nat_dec_lt(x_5, x_4); +if (x_6 == 0) +{ +uint8_t x_7; +lean_dec(x_5); +x_7 = 0; +return x_7; +} +else +{ +lean_object* x_8; uint8_t x_9; +x_8 = lean_array_fget(x_3, x_5); +x_9 = l_PersistentArray_anyMAux___main___at_Lean_Meta_clear___spec__27(x_1, x_8); +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_5, x_10); +lean_dec(x_5); +x_5 = x_11; +goto _start; +} +else +{ +lean_dec(x_5); +return x_9; +} +} +} +} +uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__29(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_nat_dec_lt(x_5, x_4); +if (x_6 == 0) +{ +uint8_t x_7; +lean_dec(x_5); +x_7 = 0; +return x_7; +} +else +{ +lean_object* x_8; +x_8 = lean_array_fget(x_3, x_5); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_unsigned_to_nat(1u); +x_10 = lean_nat_add(x_5, x_9); +lean_dec(x_5); +x_5 = x_10; +goto _start; +} +else +{ +lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_12 = lean_ctor_get(x_8, 0); +lean_inc(x_12); +lean_dec(x_8); +x_13 = l_Lean_LocalDecl_fvarId(x_12); +lean_dec(x_12); +x_14 = lean_name_eq(x_13, x_1); +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_5, x_15); +lean_dec(x_5); +x_5 = x_16; +goto _start; +} +else +{ +lean_dec(x_5); +return x_14; +} +} +} +} +} +uint8_t l_PersistentArray_anyMAux___main___at_Lean_Meta_clear___spec__27(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; +x_3 = lean_ctor_get(x_2, 0); +x_4 = lean_array_get_size(x_3); +x_5 = lean_unsigned_to_nat(0u); +x_6 = l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__28(x_1, x_3, x_3, x_4, x_5); +lean_dec(x_4); +return x_6; +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_7 = lean_ctor_get(x_2, 0); +x_8 = lean_array_get_size(x_7); +x_9 = lean_unsigned_to_nat(0u); +x_10 = l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__29(x_1, x_7, x_7, x_8, x_9); +lean_dec(x_8); +return x_10; +} +} +} +uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__30(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_nat_dec_lt(x_5, x_4); +if (x_6 == 0) +{ +uint8_t x_7; +lean_dec(x_5); +x_7 = 0; +return x_7; +} +else +{ +lean_object* x_8; +x_8 = lean_array_fget(x_3, x_5); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_unsigned_to_nat(1u); +x_10 = lean_nat_add(x_5, x_9); +lean_dec(x_5); +x_5 = x_10; +goto _start; +} +else +{ +lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_12 = lean_ctor_get(x_8, 0); +lean_inc(x_12); +lean_dec(x_8); +x_13 = l_Lean_LocalDecl_fvarId(x_12); +lean_dec(x_12); +x_14 = lean_name_eq(x_13, x_1); +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_5, x_15); +lean_dec(x_5); +x_5 = x_16; +goto _start; +} +else +{ +lean_dec(x_5); +return x_14; +} +} +} +} +} +uint8_t l_PersistentArray_anyM___at_Lean_Meta_clear___spec__26(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_Meta_clear___spec__27(x_1, x_3); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; +x_5 = lean_ctor_get(x_2, 1); +x_6 = lean_array_get_size(x_5); +x_7 = lean_unsigned_to_nat(0u); +x_8 = l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__30(x_1, x_2, x_5, x_6, x_7); +lean_dec(x_6); +return x_8; +} +else +{ +return x_4; +} +} +} +lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__25(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; uint8_t x_6; lean_object* x_7; lean_object* x_8; +lean_dec(x_2); +x_5 = lean_ctor_get(x_3, 0); +lean_inc(x_5); +lean_dec(x_3); +x_6 = lean_name_eq(x_5, x_1); +lean_dec(x_5); +x_7 = lean_box(x_6); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_4); +return x_8; +} +case 2: +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_ctor_get(x_3, 0); +lean_inc(x_9); +lean_dec(x_3); +lean_inc(x_9); +lean_inc(x_2); +x_10 = lean_metavar_ctx_get_expr_assignment(x_2, x_9); +if (lean_obj_tag(x_10) == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_object* x_15; lean_object* x_16; +x_11 = l_Lean_MetavarContext_getDecl(x_2, x_9); +lean_dec(x_9); +x_12 = lean_ctor_get(x_11, 1); +lean_inc(x_12); +lean_dec(x_11); +x_13 = lean_ctor_get(x_12, 1); +lean_inc(x_13); +lean_dec(x_12); +x_14 = l_PersistentArray_anyM___at_Lean_Meta_clear___spec__26(x_1, x_13); +lean_dec(x_13); +x_15 = lean_box(x_14); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_4); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; +lean_dec(x_9); +x_17 = lean_ctor_get(x_10, 0); +lean_inc(x_17); +lean_dec(x_10); +lean_inc(x_17); +x_18 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_17, x_4); +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +x_20 = lean_unbox(x_19); +if (x_20 == 0) +{ +uint8_t x_21; +lean_dec(x_17); +lean_dec(x_2); +x_21 = !lean_is_exclusive(x_18); +if (x_21 == 0) +{ +lean_object* x_22; +x_22 = lean_ctor_get(x_18, 0); +lean_dec(x_22); +return x_18; +} +else +{ +lean_object* x_23; lean_object* x_24; +x_23 = lean_ctor_get(x_18, 1); +lean_inc(x_23); +lean_dec(x_18); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_19); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +else +{ +lean_object* x_25; +lean_dec(x_19); +x_25 = lean_ctor_get(x_18, 1); +lean_inc(x_25); +lean_dec(x_18); +x_3 = x_17; +x_4 = x_25; +goto _start; +} +} +} +case 5: +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; +x_27 = lean_ctor_get(x_3, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_3, 1); +lean_inc(x_28); +lean_dec(x_3); +lean_inc(x_28); +x_29 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_28, x_4); +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_unbox(x_30); +lean_dec(x_30); +if (x_31 == 0) +{ +lean_object* x_32; uint8_t x_33; +lean_dec(x_28); +x_32 = lean_ctor_get(x_29, 1); +lean_inc(x_32); +lean_dec(x_29); +x_33 = l_Lean_Expr_isApp(x_27); +if (x_33 == 0) +{ +lean_object* x_34; lean_object* x_35; uint8_t x_36; +lean_inc(x_27); +x_34 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_27, x_32); +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +x_36 = lean_unbox(x_35); +if (x_36 == 0) +{ +uint8_t x_37; +lean_dec(x_27); +lean_dec(x_2); +x_37 = !lean_is_exclusive(x_34); +if (x_37 == 0) +{ +lean_object* x_38; +x_38 = lean_ctor_get(x_34, 0); +lean_dec(x_38); +return x_34; +} +else +{ +lean_object* x_39; lean_object* x_40; +x_39 = lean_ctor_get(x_34, 1); +lean_inc(x_39); +lean_dec(x_34); +x_40 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_40, 0, x_35); +lean_ctor_set(x_40, 1, x_39); +return x_40; +} +} +else +{ +lean_object* x_41; +lean_dec(x_35); +x_41 = lean_ctor_get(x_34, 1); +lean_inc(x_41); +lean_dec(x_34); +x_3 = x_27; +x_4 = x_41; +goto _start; +} +} +else +{ +x_3 = x_27; +x_4 = x_32; +goto _start; +} +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; +x_44 = lean_ctor_get(x_29, 1); +lean_inc(x_44); +lean_dec(x_29); +lean_inc(x_2); +x_45 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__25(x_1, x_2, x_28, x_44); +x_46 = lean_ctor_get(x_45, 0); +lean_inc(x_46); +x_47 = lean_unbox(x_46); +if (x_47 == 0) +{ +lean_object* x_48; uint8_t x_49; +lean_dec(x_46); +x_48 = lean_ctor_get(x_45, 1); +lean_inc(x_48); +lean_dec(x_45); +x_49 = l_Lean_Expr_isApp(x_27); +if (x_49 == 0) +{ +lean_object* x_50; lean_object* x_51; uint8_t x_52; +lean_inc(x_27); +x_50 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_27, x_48); +x_51 = lean_ctor_get(x_50, 0); +lean_inc(x_51); +x_52 = lean_unbox(x_51); +if (x_52 == 0) +{ +uint8_t x_53; +lean_dec(x_27); +lean_dec(x_2); +x_53 = !lean_is_exclusive(x_50); +if (x_53 == 0) +{ +lean_object* x_54; +x_54 = lean_ctor_get(x_50, 0); +lean_dec(x_54); +return x_50; +} +else +{ +lean_object* x_55; lean_object* x_56; +x_55 = lean_ctor_get(x_50, 1); +lean_inc(x_55); +lean_dec(x_50); +x_56 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_56, 0, x_51); +lean_ctor_set(x_56, 1, x_55); +return x_56; +} +} +else +{ +lean_object* x_57; +lean_dec(x_51); +x_57 = lean_ctor_get(x_50, 1); +lean_inc(x_57); +lean_dec(x_50); +x_3 = x_27; +x_4 = x_57; +goto _start; +} +} +else +{ +x_3 = x_27; +x_4 = x_48; +goto _start; +} +} +else +{ +uint8_t x_60; +lean_dec(x_27); +lean_dec(x_2); +x_60 = !lean_is_exclusive(x_45); +if (x_60 == 0) +{ +lean_object* x_61; +x_61 = lean_ctor_get(x_45, 0); +lean_dec(x_61); +return x_45; +} +else +{ +lean_object* x_62; lean_object* x_63; +x_62 = lean_ctor_get(x_45, 1); +lean_inc(x_62); +lean_dec(x_45); +x_63 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_63, 0, x_46); +lean_ctor_set(x_63, 1, x_62); +return x_63; +} +} +} +} +case 6: +{ +lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; uint8_t x_68; +x_64 = lean_ctor_get(x_3, 1); +lean_inc(x_64); +x_65 = lean_ctor_get(x_3, 2); +lean_inc(x_65); +lean_dec(x_3); +lean_inc(x_64); +x_66 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_64, x_4); +x_67 = lean_ctor_get(x_66, 0); +lean_inc(x_67); +x_68 = lean_unbox(x_67); +lean_dec(x_67); +if (x_68 == 0) +{ +lean_object* x_69; lean_object* x_70; lean_object* x_71; uint8_t x_72; +lean_dec(x_64); +x_69 = lean_ctor_get(x_66, 1); +lean_inc(x_69); +lean_dec(x_66); +lean_inc(x_65); +x_70 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_65, x_69); +x_71 = lean_ctor_get(x_70, 0); +lean_inc(x_71); +x_72 = lean_unbox(x_71); +if (x_72 == 0) +{ +uint8_t x_73; +lean_dec(x_65); +lean_dec(x_2); +x_73 = !lean_is_exclusive(x_70); +if (x_73 == 0) +{ +lean_object* x_74; +x_74 = lean_ctor_get(x_70, 0); +lean_dec(x_74); +return x_70; +} +else +{ +lean_object* x_75; lean_object* x_76; +x_75 = lean_ctor_get(x_70, 1); +lean_inc(x_75); +lean_dec(x_70); +x_76 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_76, 0, x_71); +lean_ctor_set(x_76, 1, x_75); +return x_76; +} +} +else +{ +lean_object* x_77; +lean_dec(x_71); +x_77 = lean_ctor_get(x_70, 1); +lean_inc(x_77); +lean_dec(x_70); +x_3 = x_65; +x_4 = x_77; +goto _start; +} +} +else +{ +lean_object* x_79; lean_object* x_80; lean_object* x_81; uint8_t x_82; +x_79 = lean_ctor_get(x_66, 1); +lean_inc(x_79); +lean_dec(x_66); +lean_inc(x_2); +x_80 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__25(x_1, x_2, x_64, x_79); +x_81 = lean_ctor_get(x_80, 0); +lean_inc(x_81); +x_82 = lean_unbox(x_81); +if (x_82 == 0) +{ +lean_object* x_83; lean_object* x_84; lean_object* x_85; uint8_t x_86; +lean_dec(x_81); +x_83 = lean_ctor_get(x_80, 1); +lean_inc(x_83); +lean_dec(x_80); +lean_inc(x_65); +x_84 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_65, x_83); +x_85 = lean_ctor_get(x_84, 0); +lean_inc(x_85); +x_86 = lean_unbox(x_85); +if (x_86 == 0) +{ +uint8_t x_87; +lean_dec(x_65); +lean_dec(x_2); +x_87 = !lean_is_exclusive(x_84); +if (x_87 == 0) +{ +lean_object* x_88; +x_88 = lean_ctor_get(x_84, 0); +lean_dec(x_88); +return x_84; +} +else +{ +lean_object* x_89; lean_object* x_90; +x_89 = lean_ctor_get(x_84, 1); +lean_inc(x_89); +lean_dec(x_84); +x_90 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_90, 0, x_85); +lean_ctor_set(x_90, 1, x_89); +return x_90; +} +} +else +{ +lean_object* x_91; +lean_dec(x_85); +x_91 = lean_ctor_get(x_84, 1); +lean_inc(x_91); +lean_dec(x_84); +x_3 = x_65; +x_4 = x_91; +goto _start; +} +} +else +{ +uint8_t x_93; +lean_dec(x_65); +lean_dec(x_2); +x_93 = !lean_is_exclusive(x_80); +if (x_93 == 0) +{ +lean_object* x_94; +x_94 = lean_ctor_get(x_80, 0); +lean_dec(x_94); +return x_80; +} +else +{ +lean_object* x_95; lean_object* x_96; +x_95 = lean_ctor_get(x_80, 1); +lean_inc(x_95); +lean_dec(x_80); +x_96 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_96, 0, x_81); +lean_ctor_set(x_96, 1, x_95); +return x_96; +} +} +} +} +case 7: +{ +lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; uint8_t x_101; +x_97 = lean_ctor_get(x_3, 1); +lean_inc(x_97); +x_98 = lean_ctor_get(x_3, 2); +lean_inc(x_98); +lean_dec(x_3); +lean_inc(x_97); +x_99 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_97, x_4); +x_100 = lean_ctor_get(x_99, 0); +lean_inc(x_100); +x_101 = lean_unbox(x_100); +lean_dec(x_100); +if (x_101 == 0) +{ +lean_object* x_102; lean_object* x_103; lean_object* x_104; uint8_t x_105; +lean_dec(x_97); +x_102 = lean_ctor_get(x_99, 1); +lean_inc(x_102); +lean_dec(x_99); +lean_inc(x_98); +x_103 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_98, x_102); +x_104 = lean_ctor_get(x_103, 0); +lean_inc(x_104); +x_105 = lean_unbox(x_104); +if (x_105 == 0) +{ +uint8_t x_106; +lean_dec(x_98); +lean_dec(x_2); +x_106 = !lean_is_exclusive(x_103); +if (x_106 == 0) +{ +lean_object* x_107; +x_107 = lean_ctor_get(x_103, 0); +lean_dec(x_107); +return x_103; +} +else +{ +lean_object* x_108; lean_object* x_109; +x_108 = lean_ctor_get(x_103, 1); +lean_inc(x_108); +lean_dec(x_103); +x_109 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_109, 0, x_104); +lean_ctor_set(x_109, 1, x_108); +return x_109; +} +} +else +{ +lean_object* x_110; +lean_dec(x_104); +x_110 = lean_ctor_get(x_103, 1); +lean_inc(x_110); +lean_dec(x_103); +x_3 = x_98; +x_4 = x_110; +goto _start; +} +} +else +{ +lean_object* x_112; lean_object* x_113; lean_object* x_114; uint8_t x_115; +x_112 = lean_ctor_get(x_99, 1); +lean_inc(x_112); +lean_dec(x_99); +lean_inc(x_2); +x_113 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__25(x_1, x_2, x_97, x_112); +x_114 = lean_ctor_get(x_113, 0); +lean_inc(x_114); +x_115 = lean_unbox(x_114); +if (x_115 == 0) +{ +lean_object* x_116; lean_object* x_117; lean_object* x_118; uint8_t x_119; +lean_dec(x_114); +x_116 = lean_ctor_get(x_113, 1); +lean_inc(x_116); +lean_dec(x_113); +lean_inc(x_98); +x_117 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_98, x_116); +x_118 = lean_ctor_get(x_117, 0); +lean_inc(x_118); +x_119 = lean_unbox(x_118); +if (x_119 == 0) +{ +uint8_t x_120; +lean_dec(x_98); +lean_dec(x_2); +x_120 = !lean_is_exclusive(x_117); +if (x_120 == 0) +{ +lean_object* x_121; +x_121 = lean_ctor_get(x_117, 0); +lean_dec(x_121); +return x_117; +} +else +{ +lean_object* x_122; lean_object* x_123; +x_122 = lean_ctor_get(x_117, 1); +lean_inc(x_122); +lean_dec(x_117); +x_123 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_123, 0, x_118); +lean_ctor_set(x_123, 1, x_122); +return x_123; +} +} +else +{ +lean_object* x_124; +lean_dec(x_118); +x_124 = lean_ctor_get(x_117, 1); +lean_inc(x_124); +lean_dec(x_117); +x_3 = x_98; +x_4 = x_124; +goto _start; +} +} +else +{ +uint8_t x_126; +lean_dec(x_98); +lean_dec(x_2); +x_126 = !lean_is_exclusive(x_113); +if (x_126 == 0) +{ +lean_object* x_127; +x_127 = lean_ctor_get(x_113, 0); +lean_dec(x_127); +return x_113; +} +else +{ +lean_object* x_128; lean_object* x_129; +x_128 = lean_ctor_get(x_113, 1); +lean_inc(x_128); +lean_dec(x_113); +x_129 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_129, 0, x_114); +lean_ctor_set(x_129, 1, x_128); +return x_129; +} +} +} +} +case 8: +{ +lean_object* x_130; lean_object* x_131; lean_object* x_132; uint8_t x_133; lean_object* x_134; lean_object* x_169; lean_object* x_170; uint8_t x_171; +x_130 = lean_ctor_get(x_3, 1); +lean_inc(x_130); +x_131 = lean_ctor_get(x_3, 2); +lean_inc(x_131); +x_132 = lean_ctor_get(x_3, 3); +lean_inc(x_132); +lean_dec(x_3); +lean_inc(x_130); +x_169 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_130, x_4); +x_170 = lean_ctor_get(x_169, 0); +lean_inc(x_170); +x_171 = lean_unbox(x_170); +if (x_171 == 0) +{ +lean_object* x_172; uint8_t x_173; +lean_dec(x_130); +x_172 = lean_ctor_get(x_169, 1); +lean_inc(x_172); +lean_dec(x_169); +x_173 = lean_unbox(x_170); +lean_dec(x_170); +x_133 = x_173; +x_134 = x_172; +goto block_168; +} +else +{ +lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; uint8_t x_178; +lean_dec(x_170); +x_174 = lean_ctor_get(x_169, 1); +lean_inc(x_174); +lean_dec(x_169); +lean_inc(x_2); +x_175 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__25(x_1, x_2, x_130, x_174); +x_176 = lean_ctor_get(x_175, 0); +lean_inc(x_176); +x_177 = lean_ctor_get(x_175, 1); +lean_inc(x_177); +lean_dec(x_175); +x_178 = lean_unbox(x_176); +lean_dec(x_176); +x_133 = x_178; +x_134 = x_177; +goto block_168; +} +block_168: +{ +if (x_133 == 0) +{ +lean_object* x_135; lean_object* x_136; uint8_t x_137; +lean_inc(x_131); +x_135 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_131, x_134); +x_136 = lean_ctor_get(x_135, 0); +lean_inc(x_136); +x_137 = lean_unbox(x_136); +lean_dec(x_136); +if (x_137 == 0) +{ +lean_object* x_138; lean_object* x_139; lean_object* x_140; uint8_t x_141; +lean_dec(x_131); +x_138 = lean_ctor_get(x_135, 1); +lean_inc(x_138); +lean_dec(x_135); +lean_inc(x_132); +x_139 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_132, x_138); +x_140 = lean_ctor_get(x_139, 0); +lean_inc(x_140); +x_141 = lean_unbox(x_140); +if (x_141 == 0) +{ +uint8_t x_142; +lean_dec(x_132); +lean_dec(x_2); +x_142 = !lean_is_exclusive(x_139); +if (x_142 == 0) +{ +lean_object* x_143; +x_143 = lean_ctor_get(x_139, 0); +lean_dec(x_143); +return x_139; +} +else +{ +lean_object* x_144; lean_object* x_145; +x_144 = lean_ctor_get(x_139, 1); +lean_inc(x_144); +lean_dec(x_139); +x_145 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_145, 0, x_140); +lean_ctor_set(x_145, 1, x_144); +return x_145; +} +} +else +{ +lean_object* x_146; +lean_dec(x_140); +x_146 = lean_ctor_get(x_139, 1); +lean_inc(x_146); +lean_dec(x_139); +x_3 = x_132; +x_4 = x_146; +goto _start; +} +} +else +{ +lean_object* x_148; lean_object* x_149; lean_object* x_150; uint8_t x_151; +x_148 = lean_ctor_get(x_135, 1); +lean_inc(x_148); +lean_dec(x_135); +lean_inc(x_2); +x_149 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__25(x_1, x_2, x_131, x_148); +x_150 = lean_ctor_get(x_149, 0); +lean_inc(x_150); +x_151 = lean_unbox(x_150); +if (x_151 == 0) +{ +lean_object* x_152; lean_object* x_153; lean_object* x_154; uint8_t x_155; +lean_dec(x_150); +x_152 = lean_ctor_get(x_149, 1); +lean_inc(x_152); +lean_dec(x_149); +lean_inc(x_132); +x_153 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_132, x_152); +x_154 = lean_ctor_get(x_153, 0); +lean_inc(x_154); +x_155 = lean_unbox(x_154); +if (x_155 == 0) +{ +uint8_t x_156; +lean_dec(x_132); +lean_dec(x_2); +x_156 = !lean_is_exclusive(x_153); +if (x_156 == 0) +{ +lean_object* x_157; +x_157 = lean_ctor_get(x_153, 0); +lean_dec(x_157); +return x_153; +} +else +{ +lean_object* x_158; lean_object* x_159; +x_158 = lean_ctor_get(x_153, 1); +lean_inc(x_158); +lean_dec(x_153); +x_159 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_159, 0, x_154); +lean_ctor_set(x_159, 1, x_158); +return x_159; +} +} +else +{ +lean_object* x_160; +lean_dec(x_154); +x_160 = lean_ctor_get(x_153, 1); +lean_inc(x_160); +lean_dec(x_153); +x_3 = x_132; +x_4 = x_160; +goto _start; +} +} +else +{ +uint8_t x_162; +lean_dec(x_132); +lean_dec(x_2); +x_162 = !lean_is_exclusive(x_149); +if (x_162 == 0) +{ +lean_object* x_163; +x_163 = lean_ctor_get(x_149, 0); +lean_dec(x_163); +return x_149; +} +else +{ +lean_object* x_164; lean_object* x_165; +x_164 = lean_ctor_get(x_149, 1); +lean_inc(x_164); +lean_dec(x_149); +x_165 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_165, 0, x_150); +lean_ctor_set(x_165, 1, x_164); +return x_165; +} +} +} +} +else +{ +lean_object* x_166; lean_object* x_167; +lean_dec(x_132); +lean_dec(x_131); +lean_dec(x_2); +x_166 = lean_box(x_133); +x_167 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_167, 0, x_166); +lean_ctor_set(x_167, 1, x_134); +return x_167; +} +} +} +case 10: +{ +lean_object* x_179; lean_object* x_180; lean_object* x_181; uint8_t x_182; +x_179 = lean_ctor_get(x_3, 1); +lean_inc(x_179); +lean_dec(x_3); +lean_inc(x_179); +x_180 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_179, x_4); +x_181 = lean_ctor_get(x_180, 0); +lean_inc(x_181); +x_182 = lean_unbox(x_181); +if (x_182 == 0) +{ +uint8_t x_183; +lean_dec(x_179); +lean_dec(x_2); +x_183 = !lean_is_exclusive(x_180); +if (x_183 == 0) +{ +lean_object* x_184; +x_184 = lean_ctor_get(x_180, 0); +lean_dec(x_184); +return x_180; +} +else +{ +lean_object* x_185; lean_object* x_186; +x_185 = lean_ctor_get(x_180, 1); +lean_inc(x_185); +lean_dec(x_180); +x_186 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_186, 0, x_181); +lean_ctor_set(x_186, 1, x_185); +return x_186; +} +} +else +{ +lean_object* x_187; +lean_dec(x_181); +x_187 = lean_ctor_get(x_180, 1); +lean_inc(x_187); +lean_dec(x_180); +x_3 = x_179; +x_4 = x_187; +goto _start; +} +} +case 11: +{ +lean_object* x_189; lean_object* x_190; lean_object* x_191; uint8_t x_192; +x_189 = lean_ctor_get(x_3, 2); +lean_inc(x_189); +lean_dec(x_3); +lean_inc(x_189); +x_190 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_189, x_4); +x_191 = lean_ctor_get(x_190, 0); +lean_inc(x_191); +x_192 = lean_unbox(x_191); +if (x_192 == 0) +{ +uint8_t x_193; +lean_dec(x_189); +lean_dec(x_2); +x_193 = !lean_is_exclusive(x_190); +if (x_193 == 0) +{ +lean_object* x_194; +x_194 = lean_ctor_get(x_190, 0); +lean_dec(x_194); +return x_190; +} +else +{ +lean_object* x_195; lean_object* x_196; +x_195 = lean_ctor_get(x_190, 1); +lean_inc(x_195); +lean_dec(x_190); +x_196 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_196, 0, x_191); +lean_ctor_set(x_196, 1, x_195); +return x_196; +} +} +else +{ +lean_object* x_197; +lean_dec(x_191); +x_197 = lean_ctor_get(x_190, 1); +lean_inc(x_197); +lean_dec(x_190); +x_3 = x_189; +x_4 = x_197; +goto _start; +} +} +default: +{ +uint8_t x_199; lean_object* x_200; lean_object* x_201; +lean_dec(x_3); +lean_dec(x_2); +x_199 = 0; +x_200 = lean_box(x_199); +x_201 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_201, 0, x_200); +lean_ctor_set(x_201, 1, x_4); +return x_201; +} +} +} +} +uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__34(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_nat_dec_lt(x_5, x_4); +if (x_6 == 0) +{ +uint8_t x_7; +lean_dec(x_5); +x_7 = 0; +return x_7; +} +else +{ +lean_object* x_8; uint8_t x_9; +x_8 = lean_array_fget(x_3, x_5); +x_9 = l_PersistentArray_anyMAux___main___at_Lean_Meta_clear___spec__33(x_1, x_8); +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_5, x_10); +lean_dec(x_5); +x_5 = x_11; +goto _start; +} +else +{ +lean_dec(x_5); +return x_9; +} +} +} +} +uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__35(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_nat_dec_lt(x_5, x_4); +if (x_6 == 0) +{ +uint8_t x_7; +lean_dec(x_5); +x_7 = 0; +return x_7; +} +else +{ +lean_object* x_8; +x_8 = lean_array_fget(x_3, x_5); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_unsigned_to_nat(1u); +x_10 = lean_nat_add(x_5, x_9); +lean_dec(x_5); +x_5 = x_10; +goto _start; +} +else +{ +lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_12 = lean_ctor_get(x_8, 0); +lean_inc(x_12); +lean_dec(x_8); +x_13 = l_Lean_LocalDecl_fvarId(x_12); +lean_dec(x_12); +x_14 = lean_name_eq(x_13, x_1); +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_5, x_15); +lean_dec(x_5); +x_5 = x_16; +goto _start; +} +else +{ +lean_dec(x_5); +return x_14; +} +} +} +} +} +uint8_t l_PersistentArray_anyMAux___main___at_Lean_Meta_clear___spec__33(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; +x_3 = lean_ctor_get(x_2, 0); +x_4 = lean_array_get_size(x_3); +x_5 = lean_unsigned_to_nat(0u); +x_6 = l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__34(x_1, x_3, x_3, x_4, x_5); +lean_dec(x_4); +return x_6; +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_7 = lean_ctor_get(x_2, 0); +x_8 = lean_array_get_size(x_7); +x_9 = lean_unsigned_to_nat(0u); +x_10 = l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__35(x_1, x_7, x_7, x_8, x_9); +lean_dec(x_8); +return x_10; +} +} +} +uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__36(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_nat_dec_lt(x_5, x_4); +if (x_6 == 0) +{ +uint8_t x_7; +lean_dec(x_5); +x_7 = 0; +return x_7; +} +else +{ +lean_object* x_8; +x_8 = lean_array_fget(x_3, x_5); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_unsigned_to_nat(1u); +x_10 = lean_nat_add(x_5, x_9); +lean_dec(x_5); +x_5 = x_10; +goto _start; +} +else +{ +lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_12 = lean_ctor_get(x_8, 0); +lean_inc(x_12); +lean_dec(x_8); +x_13 = l_Lean_LocalDecl_fvarId(x_12); +lean_dec(x_12); +x_14 = lean_name_eq(x_13, x_1); +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_5, x_15); +lean_dec(x_5); +x_5 = x_16; +goto _start; +} +else +{ +lean_dec(x_5); +return x_14; +} +} +} +} +} +uint8_t l_PersistentArray_anyM___at_Lean_Meta_clear___spec__32(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_Meta_clear___spec__33(x_1, x_3); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; +x_5 = lean_ctor_get(x_2, 1); +x_6 = lean_array_get_size(x_5); +x_7 = lean_unsigned_to_nat(0u); +x_8 = l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__36(x_1, x_2, x_5, x_6, x_7); +lean_dec(x_6); +return x_8; +} +else +{ +return x_4; +} +} +} +lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__31(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; uint8_t x_6; lean_object* x_7; lean_object* x_8; +lean_dec(x_2); +x_5 = lean_ctor_get(x_3, 0); +lean_inc(x_5); +lean_dec(x_3); +x_6 = lean_name_eq(x_5, x_1); +lean_dec(x_5); +x_7 = lean_box(x_6); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_4); +return x_8; +} +case 2: +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_ctor_get(x_3, 0); +lean_inc(x_9); +lean_dec(x_3); +lean_inc(x_9); +lean_inc(x_2); +x_10 = lean_metavar_ctx_get_expr_assignment(x_2, x_9); +if (lean_obj_tag(x_10) == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_object* x_15; lean_object* x_16; +x_11 = l_Lean_MetavarContext_getDecl(x_2, x_9); +lean_dec(x_9); +x_12 = lean_ctor_get(x_11, 1); +lean_inc(x_12); +lean_dec(x_11); +x_13 = lean_ctor_get(x_12, 1); +lean_inc(x_13); +lean_dec(x_12); +x_14 = l_PersistentArray_anyM___at_Lean_Meta_clear___spec__32(x_1, x_13); +lean_dec(x_13); +x_15 = lean_box(x_14); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_4); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; +lean_dec(x_9); +x_17 = lean_ctor_get(x_10, 0); +lean_inc(x_17); +lean_dec(x_10); +lean_inc(x_17); +x_18 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_17, x_4); +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +x_20 = lean_unbox(x_19); +if (x_20 == 0) +{ +uint8_t x_21; +lean_dec(x_17); +lean_dec(x_2); +x_21 = !lean_is_exclusive(x_18); +if (x_21 == 0) +{ +lean_object* x_22; +x_22 = lean_ctor_get(x_18, 0); +lean_dec(x_22); +return x_18; +} +else +{ +lean_object* x_23; lean_object* x_24; +x_23 = lean_ctor_get(x_18, 1); +lean_inc(x_23); +lean_dec(x_18); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_19); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +else +{ +lean_object* x_25; +lean_dec(x_19); +x_25 = lean_ctor_get(x_18, 1); +lean_inc(x_25); +lean_dec(x_18); +x_3 = x_17; +x_4 = x_25; +goto _start; +} +} +} +case 5: +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; +x_27 = lean_ctor_get(x_3, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_3, 1); +lean_inc(x_28); +lean_dec(x_3); +lean_inc(x_28); +x_29 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_28, x_4); +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_unbox(x_30); +lean_dec(x_30); +if (x_31 == 0) +{ +lean_object* x_32; uint8_t x_33; +lean_dec(x_28); +x_32 = lean_ctor_get(x_29, 1); +lean_inc(x_32); +lean_dec(x_29); +x_33 = l_Lean_Expr_isApp(x_27); +if (x_33 == 0) +{ +lean_object* x_34; lean_object* x_35; uint8_t x_36; +lean_inc(x_27); +x_34 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_27, x_32); +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +x_36 = lean_unbox(x_35); +if (x_36 == 0) +{ +uint8_t x_37; +lean_dec(x_27); +lean_dec(x_2); +x_37 = !lean_is_exclusive(x_34); +if (x_37 == 0) +{ +lean_object* x_38; +x_38 = lean_ctor_get(x_34, 0); +lean_dec(x_38); +return x_34; +} +else +{ +lean_object* x_39; lean_object* x_40; +x_39 = lean_ctor_get(x_34, 1); +lean_inc(x_39); +lean_dec(x_34); +x_40 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_40, 0, x_35); +lean_ctor_set(x_40, 1, x_39); +return x_40; +} +} +else +{ +lean_object* x_41; +lean_dec(x_35); +x_41 = lean_ctor_get(x_34, 1); +lean_inc(x_41); +lean_dec(x_34); +x_3 = x_27; +x_4 = x_41; +goto _start; +} +} +else +{ +x_3 = x_27; +x_4 = x_32; +goto _start; +} +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; +x_44 = lean_ctor_get(x_29, 1); +lean_inc(x_44); +lean_dec(x_29); +lean_inc(x_2); +x_45 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__31(x_1, x_2, x_28, x_44); +x_46 = lean_ctor_get(x_45, 0); +lean_inc(x_46); +x_47 = lean_unbox(x_46); +if (x_47 == 0) +{ +lean_object* x_48; uint8_t x_49; +lean_dec(x_46); +x_48 = lean_ctor_get(x_45, 1); +lean_inc(x_48); +lean_dec(x_45); +x_49 = l_Lean_Expr_isApp(x_27); +if (x_49 == 0) +{ +lean_object* x_50; lean_object* x_51; uint8_t x_52; +lean_inc(x_27); +x_50 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_27, x_48); +x_51 = lean_ctor_get(x_50, 0); +lean_inc(x_51); +x_52 = lean_unbox(x_51); +if (x_52 == 0) +{ +uint8_t x_53; +lean_dec(x_27); +lean_dec(x_2); +x_53 = !lean_is_exclusive(x_50); +if (x_53 == 0) +{ +lean_object* x_54; +x_54 = lean_ctor_get(x_50, 0); +lean_dec(x_54); +return x_50; +} +else +{ +lean_object* x_55; lean_object* x_56; +x_55 = lean_ctor_get(x_50, 1); +lean_inc(x_55); +lean_dec(x_50); +x_56 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_56, 0, x_51); +lean_ctor_set(x_56, 1, x_55); +return x_56; +} +} +else +{ +lean_object* x_57; +lean_dec(x_51); +x_57 = lean_ctor_get(x_50, 1); +lean_inc(x_57); +lean_dec(x_50); +x_3 = x_27; +x_4 = x_57; +goto _start; +} +} +else +{ +x_3 = x_27; +x_4 = x_48; +goto _start; +} +} +else +{ +uint8_t x_60; +lean_dec(x_27); +lean_dec(x_2); +x_60 = !lean_is_exclusive(x_45); +if (x_60 == 0) +{ +lean_object* x_61; +x_61 = lean_ctor_get(x_45, 0); +lean_dec(x_61); +return x_45; +} +else +{ +lean_object* x_62; lean_object* x_63; +x_62 = lean_ctor_get(x_45, 1); +lean_inc(x_62); +lean_dec(x_45); +x_63 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_63, 0, x_46); +lean_ctor_set(x_63, 1, x_62); +return x_63; +} +} +} +} +case 6: +{ +lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; uint8_t x_68; +x_64 = lean_ctor_get(x_3, 1); +lean_inc(x_64); +x_65 = lean_ctor_get(x_3, 2); +lean_inc(x_65); +lean_dec(x_3); +lean_inc(x_64); +x_66 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_64, x_4); +x_67 = lean_ctor_get(x_66, 0); +lean_inc(x_67); +x_68 = lean_unbox(x_67); +lean_dec(x_67); +if (x_68 == 0) +{ +lean_object* x_69; lean_object* x_70; lean_object* x_71; uint8_t x_72; +lean_dec(x_64); +x_69 = lean_ctor_get(x_66, 1); +lean_inc(x_69); +lean_dec(x_66); +lean_inc(x_65); +x_70 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_65, x_69); +x_71 = lean_ctor_get(x_70, 0); +lean_inc(x_71); +x_72 = lean_unbox(x_71); +if (x_72 == 0) +{ +uint8_t x_73; +lean_dec(x_65); +lean_dec(x_2); +x_73 = !lean_is_exclusive(x_70); +if (x_73 == 0) +{ +lean_object* x_74; +x_74 = lean_ctor_get(x_70, 0); +lean_dec(x_74); +return x_70; +} +else +{ +lean_object* x_75; lean_object* x_76; +x_75 = lean_ctor_get(x_70, 1); +lean_inc(x_75); +lean_dec(x_70); +x_76 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_76, 0, x_71); +lean_ctor_set(x_76, 1, x_75); +return x_76; +} +} +else +{ +lean_object* x_77; +lean_dec(x_71); +x_77 = lean_ctor_get(x_70, 1); +lean_inc(x_77); +lean_dec(x_70); +x_3 = x_65; +x_4 = x_77; +goto _start; +} +} +else +{ +lean_object* x_79; lean_object* x_80; lean_object* x_81; uint8_t x_82; +x_79 = lean_ctor_get(x_66, 1); +lean_inc(x_79); +lean_dec(x_66); +lean_inc(x_2); +x_80 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__31(x_1, x_2, x_64, x_79); +x_81 = lean_ctor_get(x_80, 0); +lean_inc(x_81); +x_82 = lean_unbox(x_81); +if (x_82 == 0) +{ +lean_object* x_83; lean_object* x_84; lean_object* x_85; uint8_t x_86; +lean_dec(x_81); +x_83 = lean_ctor_get(x_80, 1); +lean_inc(x_83); +lean_dec(x_80); +lean_inc(x_65); +x_84 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_65, x_83); +x_85 = lean_ctor_get(x_84, 0); +lean_inc(x_85); +x_86 = lean_unbox(x_85); +if (x_86 == 0) +{ +uint8_t x_87; +lean_dec(x_65); +lean_dec(x_2); +x_87 = !lean_is_exclusive(x_84); +if (x_87 == 0) +{ +lean_object* x_88; +x_88 = lean_ctor_get(x_84, 0); +lean_dec(x_88); +return x_84; +} +else +{ +lean_object* x_89; lean_object* x_90; +x_89 = lean_ctor_get(x_84, 1); +lean_inc(x_89); +lean_dec(x_84); +x_90 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_90, 0, x_85); +lean_ctor_set(x_90, 1, x_89); +return x_90; +} +} +else +{ +lean_object* x_91; +lean_dec(x_85); +x_91 = lean_ctor_get(x_84, 1); +lean_inc(x_91); +lean_dec(x_84); +x_3 = x_65; +x_4 = x_91; +goto _start; +} +} +else +{ +uint8_t x_93; +lean_dec(x_65); +lean_dec(x_2); +x_93 = !lean_is_exclusive(x_80); +if (x_93 == 0) +{ +lean_object* x_94; +x_94 = lean_ctor_get(x_80, 0); +lean_dec(x_94); +return x_80; +} +else +{ +lean_object* x_95; lean_object* x_96; +x_95 = lean_ctor_get(x_80, 1); +lean_inc(x_95); +lean_dec(x_80); +x_96 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_96, 0, x_81); +lean_ctor_set(x_96, 1, x_95); +return x_96; +} +} +} +} +case 7: +{ +lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; uint8_t x_101; +x_97 = lean_ctor_get(x_3, 1); +lean_inc(x_97); +x_98 = lean_ctor_get(x_3, 2); +lean_inc(x_98); +lean_dec(x_3); +lean_inc(x_97); +x_99 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_97, x_4); +x_100 = lean_ctor_get(x_99, 0); +lean_inc(x_100); +x_101 = lean_unbox(x_100); +lean_dec(x_100); +if (x_101 == 0) +{ +lean_object* x_102; lean_object* x_103; lean_object* x_104; uint8_t x_105; +lean_dec(x_97); +x_102 = lean_ctor_get(x_99, 1); +lean_inc(x_102); +lean_dec(x_99); +lean_inc(x_98); +x_103 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_98, x_102); +x_104 = lean_ctor_get(x_103, 0); +lean_inc(x_104); +x_105 = lean_unbox(x_104); +if (x_105 == 0) +{ +uint8_t x_106; +lean_dec(x_98); +lean_dec(x_2); +x_106 = !lean_is_exclusive(x_103); +if (x_106 == 0) +{ +lean_object* x_107; +x_107 = lean_ctor_get(x_103, 0); +lean_dec(x_107); +return x_103; +} +else +{ +lean_object* x_108; lean_object* x_109; +x_108 = lean_ctor_get(x_103, 1); +lean_inc(x_108); +lean_dec(x_103); +x_109 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_109, 0, x_104); +lean_ctor_set(x_109, 1, x_108); +return x_109; +} +} +else +{ +lean_object* x_110; +lean_dec(x_104); +x_110 = lean_ctor_get(x_103, 1); +lean_inc(x_110); +lean_dec(x_103); +x_3 = x_98; +x_4 = x_110; +goto _start; +} +} +else +{ +lean_object* x_112; lean_object* x_113; lean_object* x_114; uint8_t x_115; +x_112 = lean_ctor_get(x_99, 1); +lean_inc(x_112); +lean_dec(x_99); +lean_inc(x_2); +x_113 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__31(x_1, x_2, x_97, x_112); +x_114 = lean_ctor_get(x_113, 0); +lean_inc(x_114); +x_115 = lean_unbox(x_114); +if (x_115 == 0) +{ +lean_object* x_116; lean_object* x_117; lean_object* x_118; uint8_t x_119; +lean_dec(x_114); +x_116 = lean_ctor_get(x_113, 1); +lean_inc(x_116); +lean_dec(x_113); +lean_inc(x_98); +x_117 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_98, x_116); +x_118 = lean_ctor_get(x_117, 0); +lean_inc(x_118); +x_119 = lean_unbox(x_118); +if (x_119 == 0) +{ +uint8_t x_120; +lean_dec(x_98); +lean_dec(x_2); +x_120 = !lean_is_exclusive(x_117); +if (x_120 == 0) +{ +lean_object* x_121; +x_121 = lean_ctor_get(x_117, 0); +lean_dec(x_121); +return x_117; +} +else +{ +lean_object* x_122; lean_object* x_123; +x_122 = lean_ctor_get(x_117, 1); +lean_inc(x_122); +lean_dec(x_117); +x_123 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_123, 0, x_118); +lean_ctor_set(x_123, 1, x_122); +return x_123; +} +} +else +{ +lean_object* x_124; +lean_dec(x_118); +x_124 = lean_ctor_get(x_117, 1); +lean_inc(x_124); +lean_dec(x_117); +x_3 = x_98; +x_4 = x_124; +goto _start; +} +} +else +{ +uint8_t x_126; +lean_dec(x_98); +lean_dec(x_2); +x_126 = !lean_is_exclusive(x_113); +if (x_126 == 0) +{ +lean_object* x_127; +x_127 = lean_ctor_get(x_113, 0); +lean_dec(x_127); +return x_113; +} +else +{ +lean_object* x_128; lean_object* x_129; +x_128 = lean_ctor_get(x_113, 1); +lean_inc(x_128); +lean_dec(x_113); +x_129 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_129, 0, x_114); +lean_ctor_set(x_129, 1, x_128); +return x_129; +} +} +} +} +case 8: +{ +lean_object* x_130; lean_object* x_131; lean_object* x_132; uint8_t x_133; lean_object* x_134; lean_object* x_169; lean_object* x_170; uint8_t x_171; +x_130 = lean_ctor_get(x_3, 1); +lean_inc(x_130); +x_131 = lean_ctor_get(x_3, 2); +lean_inc(x_131); +x_132 = lean_ctor_get(x_3, 3); +lean_inc(x_132); +lean_dec(x_3); +lean_inc(x_130); +x_169 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_130, x_4); +x_170 = lean_ctor_get(x_169, 0); +lean_inc(x_170); +x_171 = lean_unbox(x_170); +if (x_171 == 0) +{ +lean_object* x_172; uint8_t x_173; +lean_dec(x_130); +x_172 = lean_ctor_get(x_169, 1); +lean_inc(x_172); +lean_dec(x_169); +x_173 = lean_unbox(x_170); +lean_dec(x_170); +x_133 = x_173; +x_134 = x_172; +goto block_168; +} +else +{ +lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; uint8_t x_178; +lean_dec(x_170); +x_174 = lean_ctor_get(x_169, 1); +lean_inc(x_174); +lean_dec(x_169); +lean_inc(x_2); +x_175 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__31(x_1, x_2, x_130, x_174); +x_176 = lean_ctor_get(x_175, 0); +lean_inc(x_176); +x_177 = lean_ctor_get(x_175, 1); +lean_inc(x_177); +lean_dec(x_175); +x_178 = lean_unbox(x_176); +lean_dec(x_176); +x_133 = x_178; +x_134 = x_177; +goto block_168; +} +block_168: +{ +if (x_133 == 0) +{ +lean_object* x_135; lean_object* x_136; uint8_t x_137; +lean_inc(x_131); +x_135 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_131, x_134); +x_136 = lean_ctor_get(x_135, 0); +lean_inc(x_136); +x_137 = lean_unbox(x_136); +lean_dec(x_136); +if (x_137 == 0) +{ +lean_object* x_138; lean_object* x_139; lean_object* x_140; uint8_t x_141; +lean_dec(x_131); +x_138 = lean_ctor_get(x_135, 1); +lean_inc(x_138); +lean_dec(x_135); +lean_inc(x_132); +x_139 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_132, x_138); +x_140 = lean_ctor_get(x_139, 0); +lean_inc(x_140); +x_141 = lean_unbox(x_140); +if (x_141 == 0) +{ +uint8_t x_142; +lean_dec(x_132); +lean_dec(x_2); +x_142 = !lean_is_exclusive(x_139); +if (x_142 == 0) +{ +lean_object* x_143; +x_143 = lean_ctor_get(x_139, 0); +lean_dec(x_143); +return x_139; +} +else +{ +lean_object* x_144; lean_object* x_145; +x_144 = lean_ctor_get(x_139, 1); +lean_inc(x_144); +lean_dec(x_139); +x_145 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_145, 0, x_140); +lean_ctor_set(x_145, 1, x_144); +return x_145; +} +} +else +{ +lean_object* x_146; +lean_dec(x_140); +x_146 = lean_ctor_get(x_139, 1); +lean_inc(x_146); +lean_dec(x_139); +x_3 = x_132; +x_4 = x_146; +goto _start; +} +} +else +{ +lean_object* x_148; lean_object* x_149; lean_object* x_150; uint8_t x_151; +x_148 = lean_ctor_get(x_135, 1); +lean_inc(x_148); +lean_dec(x_135); +lean_inc(x_2); +x_149 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__31(x_1, x_2, x_131, x_148); +x_150 = lean_ctor_get(x_149, 0); +lean_inc(x_150); +x_151 = lean_unbox(x_150); +if (x_151 == 0) +{ +lean_object* x_152; lean_object* x_153; lean_object* x_154; uint8_t x_155; +lean_dec(x_150); +x_152 = lean_ctor_get(x_149, 1); +lean_inc(x_152); +lean_dec(x_149); +lean_inc(x_132); +x_153 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_132, x_152); +x_154 = lean_ctor_get(x_153, 0); +lean_inc(x_154); +x_155 = lean_unbox(x_154); +if (x_155 == 0) +{ +uint8_t x_156; +lean_dec(x_132); +lean_dec(x_2); +x_156 = !lean_is_exclusive(x_153); +if (x_156 == 0) +{ +lean_object* x_157; +x_157 = lean_ctor_get(x_153, 0); +lean_dec(x_157); +return x_153; +} +else +{ +lean_object* x_158; lean_object* x_159; +x_158 = lean_ctor_get(x_153, 1); +lean_inc(x_158); +lean_dec(x_153); +x_159 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_159, 0, x_154); +lean_ctor_set(x_159, 1, x_158); +return x_159; +} +} +else +{ +lean_object* x_160; +lean_dec(x_154); +x_160 = lean_ctor_get(x_153, 1); +lean_inc(x_160); +lean_dec(x_153); +x_3 = x_132; +x_4 = x_160; +goto _start; +} +} +else +{ +uint8_t x_162; +lean_dec(x_132); +lean_dec(x_2); +x_162 = !lean_is_exclusive(x_149); +if (x_162 == 0) +{ +lean_object* x_163; +x_163 = lean_ctor_get(x_149, 0); +lean_dec(x_163); +return x_149; +} +else +{ +lean_object* x_164; lean_object* x_165; +x_164 = lean_ctor_get(x_149, 1); +lean_inc(x_164); +lean_dec(x_149); +x_165 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_165, 0, x_150); +lean_ctor_set(x_165, 1, x_164); +return x_165; +} +} +} +} +else +{ +lean_object* x_166; lean_object* x_167; +lean_dec(x_132); +lean_dec(x_131); +lean_dec(x_2); +x_166 = lean_box(x_133); +x_167 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_167, 0, x_166); +lean_ctor_set(x_167, 1, x_134); +return x_167; +} +} +} +case 10: +{ +lean_object* x_179; lean_object* x_180; lean_object* x_181; uint8_t x_182; +x_179 = lean_ctor_get(x_3, 1); +lean_inc(x_179); +lean_dec(x_3); +lean_inc(x_179); +x_180 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_179, x_4); +x_181 = lean_ctor_get(x_180, 0); +lean_inc(x_181); +x_182 = lean_unbox(x_181); +if (x_182 == 0) +{ +uint8_t x_183; +lean_dec(x_179); +lean_dec(x_2); +x_183 = !lean_is_exclusive(x_180); +if (x_183 == 0) +{ +lean_object* x_184; +x_184 = lean_ctor_get(x_180, 0); +lean_dec(x_184); +return x_180; +} +else +{ +lean_object* x_185; lean_object* x_186; +x_185 = lean_ctor_get(x_180, 1); +lean_inc(x_185); +lean_dec(x_180); +x_186 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_186, 0, x_181); +lean_ctor_set(x_186, 1, x_185); +return x_186; +} +} +else +{ +lean_object* x_187; +lean_dec(x_181); +x_187 = lean_ctor_get(x_180, 1); +lean_inc(x_187); +lean_dec(x_180); +x_3 = x_179; +x_4 = x_187; +goto _start; +} +} +case 11: +{ +lean_object* x_189; lean_object* x_190; lean_object* x_191; uint8_t x_192; +x_189 = lean_ctor_get(x_3, 2); +lean_inc(x_189); +lean_dec(x_3); +lean_inc(x_189); +x_190 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_189, x_4); +x_191 = lean_ctor_get(x_190, 0); +lean_inc(x_191); +x_192 = lean_unbox(x_191); +if (x_192 == 0) +{ +uint8_t x_193; +lean_dec(x_189); +lean_dec(x_2); +x_193 = !lean_is_exclusive(x_190); +if (x_193 == 0) +{ +lean_object* x_194; +x_194 = lean_ctor_get(x_190, 0); +lean_dec(x_194); +return x_190; +} +else +{ +lean_object* x_195; lean_object* x_196; +x_195 = lean_ctor_get(x_190, 1); +lean_inc(x_195); +lean_dec(x_190); +x_196 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_196, 0, x_191); +lean_ctor_set(x_196, 1, x_195); +return x_196; +} +} +else +{ +lean_object* x_197; +lean_dec(x_191); +x_197 = lean_ctor_get(x_190, 1); +lean_inc(x_197); +lean_dec(x_190); +x_3 = x_189; +x_4 = x_197; +goto _start; +} +} +default: +{ +uint8_t x_199; lean_object* x_200; lean_object* x_201; +lean_dec(x_3); +lean_dec(x_2); +x_199 = 0; +x_200 = lean_box(x_199); +x_201 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_201, 0, x_200); +lean_ctor_set(x_201, 1, x_4); +return x_201; +} +} +} +} +lean_object* l_Array_forMAux___main___at_Lean_Meta_clear___spec__40(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; uint8_t x_10; +x_9 = lean_array_get_size(x_5); +x_10 = lean_nat_dec_lt(x_6, x_9); +lean_dec(x_9); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +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_8); +return x_12; +} +else +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_array_fget(x_5, x_6); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +x_14 = l_PersistentArray_forMAux___main___at_Lean_Meta_clear___spec__39(x_1, x_2, x_3, x_4, x_13, x_7, x_8); +lean_dec(x_13); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_14, 1); +lean_inc(x_15); +lean_dec(x_14); +x_16 = lean_unsigned_to_nat(1u); +x_17 = lean_nat_add(x_6, x_16); +lean_dec(x_6); +x_6 = x_17; +x_8 = x_15; +goto _start; +} +else +{ +uint8_t x_19; +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_19 = !lean_is_exclusive(x_14); +if (x_19 == 0) +{ +return x_14; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_14, 0); +x_21 = lean_ctor_get(x_14, 1); +lean_inc(x_21); +lean_inc(x_20); +lean_dec(x_14); +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_20); +lean_ctor_set(x_22, 1, x_21); +return x_22; +} +} +} +} +} +lean_object* _init_l_Array_forMAux___main___at_Lean_Meta_clear___spec__41___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("hypothesis '"); +return x_1; +} +} +lean_object* _init_l_Array_forMAux___main___at_Lean_Meta_clear___spec__41___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Array_forMAux___main___at_Lean_Meta_clear___spec__41___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_Array_forMAux___main___at_Lean_Meta_clear___spec__41___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Array_forMAux___main___at_Lean_Meta_clear___spec__41___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_Array_forMAux___main___at_Lean_Meta_clear___spec__41___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("' depends on '"); +return x_1; +} +} +lean_object* _init_l_Array_forMAux___main___at_Lean_Meta_clear___spec__41___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Array_forMAux___main___at_Lean_Meta_clear___spec__41___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_Array_forMAux___main___at_Lean_Meta_clear___spec__41___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Array_forMAux___main___at_Lean_Meta_clear___spec__41___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_Array_forMAux___main___at_Lean_Meta_clear___spec__41___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Char_HasRepr___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_Array_forMAux___main___at_Lean_Meta_clear___spec__41___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Array_forMAux___main___at_Lean_Meta_clear___spec__41___closed__7; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* l_Array_forMAux___main___at_Lean_Meta_clear___spec__41(lean_object* x_1, lean_object* x_2, 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_array_get_size(x_5); +x_10 = lean_nat_dec_lt(x_6, x_9); +lean_dec(x_9); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +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_8); +return x_12; +} +else +{ +lean_object* x_13; +x_13 = lean_array_fget(x_5, x_6); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_unsigned_to_nat(1u); +x_15 = lean_nat_add(x_6, x_14); +lean_dec(x_6); +x_6 = x_15; +goto _start; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_36; uint8_t x_37; +x_17 = lean_ctor_get(x_13, 0); +lean_inc(x_17); +lean_dec(x_13); +x_36 = l_Lean_LocalDecl_fvarId(x_17); +x_37 = lean_name_eq(x_36, x_2); +lean_dec(x_36); +if (x_37 == 0) +{ +if (lean_obj_tag(x_17) == 0) +{ +lean_object* x_38; uint8_t x_39; +x_38 = lean_ctor_get(x_17, 3); +lean_inc(x_38); +x_39 = l_Lean_Expr_hasFVar(x_38); +if (x_39 == 0) +{ +uint8_t x_40; +x_40 = l_Lean_Expr_hasMVar(x_38); +if (x_40 == 0) +{ +lean_object* x_41; lean_object* x_42; +lean_dec(x_38); +lean_dec(x_17); +x_41 = lean_unsigned_to_nat(1u); +x_42 = lean_nat_add(x_6, x_41); +lean_dec(x_6); +x_6 = x_42; +goto _start; +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; +x_44 = l_HashMap_Inhabited___closed__1; +lean_inc(x_4); +x_45 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__1(x_2, x_4, x_38, x_44); +x_46 = lean_ctor_get(x_45, 0); +lean_inc(x_46); +lean_dec(x_45); +x_47 = lean_unbox(x_46); +lean_dec(x_46); +if (x_47 == 0) +{ +lean_object* x_48; lean_object* x_49; +lean_dec(x_17); +x_48 = lean_unsigned_to_nat(1u); +x_49 = lean_nat_add(x_6, x_48); +lean_dec(x_6); +x_6 = x_49; +goto _start; +} +else +{ +lean_object* x_51; +lean_dec(x_6); +lean_dec(x_4); +x_51 = lean_box(0); +x_18 = x_51; +goto block_35; +} +} +} +else +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; uint8_t x_55; +x_52 = l_HashMap_Inhabited___closed__1; +lean_inc(x_4); +x_53 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__7(x_2, x_4, x_38, x_52); +x_54 = lean_ctor_get(x_53, 0); +lean_inc(x_54); +lean_dec(x_53); +x_55 = lean_unbox(x_54); +lean_dec(x_54); +if (x_55 == 0) +{ +lean_object* x_56; lean_object* x_57; +lean_dec(x_17); +x_56 = lean_unsigned_to_nat(1u); +x_57 = lean_nat_add(x_6, x_56); +lean_dec(x_6); +x_6 = x_57; +goto _start; +} +else +{ +lean_object* x_59; +lean_dec(x_6); +lean_dec(x_4); +x_59 = lean_box(0); +x_18 = x_59; +goto block_35; +} +} +} +else +{ +lean_object* x_60; lean_object* x_61; uint8_t x_62; lean_object* x_63; uint8_t x_85; +x_60 = lean_ctor_get(x_17, 3); +lean_inc(x_60); +x_61 = lean_ctor_get(x_17, 4); +lean_inc(x_61); +x_85 = l_Lean_Expr_hasFVar(x_60); +if (x_85 == 0) +{ +uint8_t x_86; +x_86 = l_Lean_Expr_hasMVar(x_60); +if (x_86 == 0) +{ +uint8_t x_87; lean_object* x_88; +lean_dec(x_60); +x_87 = 0; +x_88 = l_HashMap_Inhabited___closed__1; +x_62 = x_87; +x_63 = x_88; +goto block_84; +} +else +{ +lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; uint8_t x_93; +x_89 = l_HashMap_Inhabited___closed__1; +lean_inc(x_4); +x_90 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__25(x_2, x_4, x_60, x_89); +x_91 = lean_ctor_get(x_90, 0); +lean_inc(x_91); +x_92 = lean_ctor_get(x_90, 1); +lean_inc(x_92); +lean_dec(x_90); +x_93 = lean_unbox(x_91); +lean_dec(x_91); +x_62 = x_93; +x_63 = x_92; +goto block_84; +} +} +else +{ +lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; uint8_t x_98; +x_94 = l_HashMap_Inhabited___closed__1; +lean_inc(x_4); +x_95 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__31(x_2, x_4, x_60, x_94); +x_96 = lean_ctor_get(x_95, 0); +lean_inc(x_96); +x_97 = lean_ctor_get(x_95, 1); +lean_inc(x_97); +lean_dec(x_95); +x_98 = lean_unbox(x_96); +lean_dec(x_96); +x_62 = x_98; +x_63 = x_97; +goto block_84; +} +block_84: +{ +if (x_62 == 0) +{ +uint8_t x_64; +x_64 = l_Lean_Expr_hasFVar(x_61); +if (x_64 == 0) +{ +uint8_t x_65; +x_65 = l_Lean_Expr_hasMVar(x_61); +if (x_65 == 0) +{ +lean_object* x_66; lean_object* x_67; +lean_dec(x_63); +lean_dec(x_61); +lean_dec(x_17); +x_66 = lean_unsigned_to_nat(1u); +x_67 = lean_nat_add(x_6, x_66); +lean_dec(x_6); +x_6 = x_67; +goto _start; +} +else +{ +lean_object* x_69; lean_object* x_70; uint8_t x_71; +lean_inc(x_4); +x_69 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__13(x_2, x_4, x_61, x_63); +x_70 = lean_ctor_get(x_69, 0); +lean_inc(x_70); +lean_dec(x_69); +x_71 = lean_unbox(x_70); +lean_dec(x_70); +if (x_71 == 0) +{ +lean_object* x_72; lean_object* x_73; +lean_dec(x_17); +x_72 = lean_unsigned_to_nat(1u); +x_73 = lean_nat_add(x_6, x_72); +lean_dec(x_6); +x_6 = x_73; +goto _start; +} +else +{ +lean_object* x_75; +lean_dec(x_6); +lean_dec(x_4); +x_75 = lean_box(0); +x_18 = x_75; +goto block_35; +} +} +} +else +{ +lean_object* x_76; lean_object* x_77; uint8_t x_78; +lean_inc(x_4); +x_76 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__19(x_2, x_4, x_61, x_63); +x_77 = lean_ctor_get(x_76, 0); +lean_inc(x_77); +lean_dec(x_76); +x_78 = lean_unbox(x_77); +lean_dec(x_77); +if (x_78 == 0) +{ +lean_object* x_79; lean_object* x_80; +lean_dec(x_17); +x_79 = lean_unsigned_to_nat(1u); +x_80 = lean_nat_add(x_6, x_79); +lean_dec(x_6); +x_6 = x_80; +goto _start; +} +else +{ +lean_object* x_82; +lean_dec(x_6); +lean_dec(x_4); +x_82 = lean_box(0); +x_18 = x_82; +goto block_35; +} +} +} +else +{ +lean_object* x_83; +lean_dec(x_63); +lean_dec(x_61); +lean_dec(x_6); +lean_dec(x_4); +x_83 = lean_box(0); +x_18 = x_83; +goto block_35; +} +} +} +} +else +{ +lean_object* x_99; lean_object* x_100; +lean_dec(x_17); +x_99 = lean_unsigned_to_nat(1u); +x_100 = lean_nat_add(x_6, x_99); +lean_dec(x_6); +x_6 = x_100; +goto _start; +} +block_35: +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; +lean_dec(x_18); +x_19 = l_Lean_LocalDecl_value(x_17); +lean_dec(x_17); +x_20 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_20, 0, x_19); +x_21 = l_Array_forMAux___main___at_Lean_Meta_clear___spec__41___closed__3; +x_22 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_20); +x_23 = l_Array_forMAux___main___at_Lean_Meta_clear___spec__41___closed__6; +x_24 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +x_25 = l_Lean_mkFVar(x_2); +x_26 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_26, 0, x_25); +x_27 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_27, 0, x_24); +lean_ctor_set(x_27, 1, x_26); +x_28 = l_Array_forMAux___main___at_Lean_Meta_clear___spec__41___closed__8; +x_29 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +x_30 = l_Lean_Meta_throwTacticEx___rarg(x_3, x_1, x_29, x_7, x_8); +x_31 = !lean_is_exclusive(x_30); +if (x_31 == 0) +{ +return x_30; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_30, 0); +x_33 = lean_ctor_get(x_30, 1); +lean_inc(x_33); +lean_inc(x_32); +lean_dec(x_30); +x_34 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_34, 0, x_32); +lean_ctor_set(x_34, 1, x_33); +return x_34; +} +} +} +} +} +} +lean_object* l_PersistentArray_forMAux___main___at_Lean_Meta_clear___spec__39(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +if (lean_obj_tag(x_5) == 0) +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_8 = lean_ctor_get(x_5, 0); +x_9 = lean_unsigned_to_nat(0u); +x_10 = l_Array_forMAux___main___at_Lean_Meta_clear___spec__40(x_1, x_2, x_3, x_4, x_8, x_9, x_6, x_7); +return x_10; +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_11 = lean_ctor_get(x_5, 0); +x_12 = lean_unsigned_to_nat(0u); +x_13 = l_Array_forMAux___main___at_Lean_Meta_clear___spec__41(x_1, x_2, x_3, x_4, x_11, x_12, x_6, x_7); +return x_13; +} +} +} +lean_object* l_Array_forMAux___main___at_Lean_Meta_clear___spec__42(lean_object* x_1, lean_object* x_2, 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_array_get_size(x_5); +x_10 = lean_nat_dec_lt(x_6, x_9); +lean_dec(x_9); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +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_8); +return x_12; +} +else +{ +lean_object* x_13; +x_13 = lean_array_fget(x_5, x_6); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_unsigned_to_nat(1u); +x_15 = lean_nat_add(x_6, x_14); +lean_dec(x_6); +x_6 = x_15; +goto _start; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_36; uint8_t x_37; +x_17 = lean_ctor_get(x_13, 0); +lean_inc(x_17); +lean_dec(x_13); +x_36 = l_Lean_LocalDecl_fvarId(x_17); +x_37 = lean_name_eq(x_36, x_2); +lean_dec(x_36); +if (x_37 == 0) +{ +if (lean_obj_tag(x_17) == 0) +{ +lean_object* x_38; uint8_t x_39; +x_38 = lean_ctor_get(x_17, 3); +lean_inc(x_38); +x_39 = l_Lean_Expr_hasFVar(x_38); +if (x_39 == 0) +{ +uint8_t x_40; +x_40 = l_Lean_Expr_hasMVar(x_38); +if (x_40 == 0) +{ +lean_object* x_41; lean_object* x_42; +lean_dec(x_38); +lean_dec(x_17); +x_41 = lean_unsigned_to_nat(1u); +x_42 = lean_nat_add(x_6, x_41); +lean_dec(x_6); +x_6 = x_42; +goto _start; +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; +x_44 = l_HashMap_Inhabited___closed__1; +lean_inc(x_4); +x_45 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__1(x_2, x_4, x_38, x_44); +x_46 = lean_ctor_get(x_45, 0); +lean_inc(x_46); +lean_dec(x_45); +x_47 = lean_unbox(x_46); +lean_dec(x_46); +if (x_47 == 0) +{ +lean_object* x_48; lean_object* x_49; +lean_dec(x_17); +x_48 = lean_unsigned_to_nat(1u); +x_49 = lean_nat_add(x_6, x_48); +lean_dec(x_6); +x_6 = x_49; +goto _start; +} +else +{ +lean_object* x_51; +lean_dec(x_6); +lean_dec(x_4); +x_51 = lean_box(0); +x_18 = x_51; +goto block_35; +} +} +} +else +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; uint8_t x_55; +x_52 = l_HashMap_Inhabited___closed__1; +lean_inc(x_4); +x_53 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__7(x_2, x_4, x_38, x_52); +x_54 = lean_ctor_get(x_53, 0); +lean_inc(x_54); +lean_dec(x_53); +x_55 = lean_unbox(x_54); +lean_dec(x_54); +if (x_55 == 0) +{ +lean_object* x_56; lean_object* x_57; +lean_dec(x_17); +x_56 = lean_unsigned_to_nat(1u); +x_57 = lean_nat_add(x_6, x_56); +lean_dec(x_6); +x_6 = x_57; +goto _start; +} +else +{ +lean_object* x_59; +lean_dec(x_6); +lean_dec(x_4); +x_59 = lean_box(0); +x_18 = x_59; +goto block_35; +} +} +} +else +{ +lean_object* x_60; lean_object* x_61; uint8_t x_62; lean_object* x_63; uint8_t x_85; +x_60 = lean_ctor_get(x_17, 3); +lean_inc(x_60); +x_61 = lean_ctor_get(x_17, 4); +lean_inc(x_61); +x_85 = l_Lean_Expr_hasFVar(x_60); +if (x_85 == 0) +{ +uint8_t x_86; +x_86 = l_Lean_Expr_hasMVar(x_60); +if (x_86 == 0) +{ +uint8_t x_87; lean_object* x_88; +lean_dec(x_60); +x_87 = 0; +x_88 = l_HashMap_Inhabited___closed__1; +x_62 = x_87; +x_63 = x_88; +goto block_84; +} +else +{ +lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; uint8_t x_93; +x_89 = l_HashMap_Inhabited___closed__1; +lean_inc(x_4); +x_90 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__25(x_2, x_4, x_60, x_89); +x_91 = lean_ctor_get(x_90, 0); +lean_inc(x_91); +x_92 = lean_ctor_get(x_90, 1); +lean_inc(x_92); +lean_dec(x_90); +x_93 = lean_unbox(x_91); +lean_dec(x_91); +x_62 = x_93; +x_63 = x_92; +goto block_84; +} +} +else +{ +lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; uint8_t x_98; +x_94 = l_HashMap_Inhabited___closed__1; +lean_inc(x_4); +x_95 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__31(x_2, x_4, x_60, x_94); +x_96 = lean_ctor_get(x_95, 0); +lean_inc(x_96); +x_97 = lean_ctor_get(x_95, 1); +lean_inc(x_97); +lean_dec(x_95); +x_98 = lean_unbox(x_96); +lean_dec(x_96); +x_62 = x_98; +x_63 = x_97; +goto block_84; +} +block_84: +{ +if (x_62 == 0) +{ +uint8_t x_64; +x_64 = l_Lean_Expr_hasFVar(x_61); +if (x_64 == 0) +{ +uint8_t x_65; +x_65 = l_Lean_Expr_hasMVar(x_61); +if (x_65 == 0) +{ +lean_object* x_66; lean_object* x_67; +lean_dec(x_63); +lean_dec(x_61); +lean_dec(x_17); +x_66 = lean_unsigned_to_nat(1u); +x_67 = lean_nat_add(x_6, x_66); +lean_dec(x_6); +x_6 = x_67; +goto _start; +} +else +{ +lean_object* x_69; lean_object* x_70; uint8_t x_71; +lean_inc(x_4); +x_69 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__13(x_2, x_4, x_61, x_63); +x_70 = lean_ctor_get(x_69, 0); +lean_inc(x_70); +lean_dec(x_69); +x_71 = lean_unbox(x_70); +lean_dec(x_70); +if (x_71 == 0) +{ +lean_object* x_72; lean_object* x_73; +lean_dec(x_17); +x_72 = lean_unsigned_to_nat(1u); +x_73 = lean_nat_add(x_6, x_72); +lean_dec(x_6); +x_6 = x_73; +goto _start; +} +else +{ +lean_object* x_75; +lean_dec(x_6); +lean_dec(x_4); +x_75 = lean_box(0); +x_18 = x_75; +goto block_35; +} +} +} +else +{ +lean_object* x_76; lean_object* x_77; uint8_t x_78; +lean_inc(x_4); +x_76 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__19(x_2, x_4, x_61, x_63); +x_77 = lean_ctor_get(x_76, 0); +lean_inc(x_77); +lean_dec(x_76); +x_78 = lean_unbox(x_77); +lean_dec(x_77); +if (x_78 == 0) +{ +lean_object* x_79; lean_object* x_80; +lean_dec(x_17); +x_79 = lean_unsigned_to_nat(1u); +x_80 = lean_nat_add(x_6, x_79); +lean_dec(x_6); +x_6 = x_80; +goto _start; +} +else +{ +lean_object* x_82; +lean_dec(x_6); +lean_dec(x_4); +x_82 = lean_box(0); +x_18 = x_82; +goto block_35; +} +} +} +else +{ +lean_object* x_83; +lean_dec(x_63); +lean_dec(x_61); +lean_dec(x_6); +lean_dec(x_4); +x_83 = lean_box(0); +x_18 = x_83; +goto block_35; +} +} +} +} +else +{ +lean_object* x_99; lean_object* x_100; +lean_dec(x_17); +x_99 = lean_unsigned_to_nat(1u); +x_100 = lean_nat_add(x_6, x_99); +lean_dec(x_6); +x_6 = x_100; +goto _start; +} +block_35: +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; +lean_dec(x_18); +x_19 = l_Lean_LocalDecl_value(x_17); +lean_dec(x_17); +x_20 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_20, 0, x_19); +x_21 = l_Array_forMAux___main___at_Lean_Meta_clear___spec__41___closed__3; +x_22 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_20); +x_23 = l_Array_forMAux___main___at_Lean_Meta_clear___spec__41___closed__6; +x_24 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +x_25 = l_Lean_mkFVar(x_2); +x_26 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_26, 0, x_25); +x_27 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_27, 0, x_24); +lean_ctor_set(x_27, 1, x_26); +x_28 = l_Array_forMAux___main___at_Lean_Meta_clear___spec__41___closed__8; +x_29 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +x_30 = l_Lean_Meta_throwTacticEx___rarg(x_3, x_1, x_29, x_7, x_8); +x_31 = !lean_is_exclusive(x_30); +if (x_31 == 0) +{ +return x_30; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_30, 0); +x_33 = lean_ctor_get(x_30, 1); +lean_inc(x_33); +lean_inc(x_32); +lean_dec(x_30); +x_34 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_34, 0, x_32); +lean_ctor_set(x_34, 1, x_33); +return x_34; +} +} +} +} +} +} +lean_object* l_PersistentArray_forM___at_Lean_Meta_clear___spec__38(lean_object* x_1, 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; +x_8 = lean_ctor_get(x_5, 0); +x_9 = lean_ctor_get(x_5, 1); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +x_10 = l_PersistentArray_forMAux___main___at_Lean_Meta_clear___spec__39(x_1, x_2, x_3, x_4, x_8, x_6, x_7); +if (lean_obj_tag(x_10) == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_11 = lean_ctor_get(x_10, 1); +lean_inc(x_11); +lean_dec(x_10); +x_12 = lean_unsigned_to_nat(0u); +x_13 = l_Array_forMAux___main___at_Lean_Meta_clear___spec__42(x_1, x_2, x_3, x_4, x_9, x_12, x_6, x_11); +return x_13; +} +else +{ +uint8_t x_14; +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_14 = !lean_is_exclusive(x_10); +if (x_14 == 0) +{ +return x_10; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_10, 0); +x_16 = lean_ctor_get(x_10, 1); +lean_inc(x_16); +lean_inc(x_15); +lean_dec(x_10); +x_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_LocalContext_forM___at_Lean_Meta_clear___spec__37(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; lean_object* x_9; +x_8 = lean_ctor_get(x_5, 1); +x_9 = l_PersistentArray_forM___at_Lean_Meta_clear___spec__38(x_1, x_2, x_3, x_4, x_8, x_6, x_7); +return x_9; +} +} +lean_object* l_Array_findIdxAux___main___at_Lean_Meta_clear___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) +{ +lean_object* x_6; +lean_dec(x_3); +x_6 = lean_box(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 = lean_ctor_get(x_7, 1); +lean_inc(x_8); +lean_dec(x_7); +x_9 = l_Lean_Expr_fvarId_x21(x_8); +lean_dec(x_8); +x_10 = lean_name_eq(x_9, x_1); +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_3, x_11); +lean_dec(x_3); +x_3 = x_12; +goto _start; +} +else +{ +lean_object* x_14; +x_14 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_14, 0, x_3); +return x_14; +} +} +} +} +uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__47(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_nat_dec_lt(x_5, x_4); +if (x_6 == 0) +{ +uint8_t x_7; +lean_dec(x_5); +x_7 = 0; +return x_7; +} +else +{ +lean_object* x_8; uint8_t x_9; +x_8 = lean_array_fget(x_3, x_5); +x_9 = l_PersistentArray_anyMAux___main___at_Lean_Meta_clear___spec__46(x_1, x_8); +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_5, x_10); +lean_dec(x_5); +x_5 = x_11; +goto _start; +} +else +{ +lean_dec(x_5); +return x_9; +} +} +} +} +uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__48(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_nat_dec_lt(x_5, x_4); +if (x_6 == 0) +{ +uint8_t x_7; +lean_dec(x_5); +x_7 = 0; +return x_7; +} +else +{ +lean_object* x_8; +x_8 = lean_array_fget(x_3, x_5); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_unsigned_to_nat(1u); +x_10 = lean_nat_add(x_5, x_9); +lean_dec(x_5); +x_5 = x_10; +goto _start; +} +else +{ +lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_12 = lean_ctor_get(x_8, 0); +lean_inc(x_12); +lean_dec(x_8); +x_13 = l_Lean_LocalDecl_fvarId(x_12); +lean_dec(x_12); +x_14 = lean_name_eq(x_13, x_1); +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_5, x_15); +lean_dec(x_5); +x_5 = x_16; +goto _start; +} +else +{ +lean_dec(x_5); +return x_14; +} +} +} +} +} +uint8_t l_PersistentArray_anyMAux___main___at_Lean_Meta_clear___spec__46(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; +x_3 = lean_ctor_get(x_2, 0); +x_4 = lean_array_get_size(x_3); +x_5 = lean_unsigned_to_nat(0u); +x_6 = l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__47(x_1, x_3, x_3, x_4, x_5); +lean_dec(x_4); +return x_6; +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_7 = lean_ctor_get(x_2, 0); +x_8 = lean_array_get_size(x_7); +x_9 = lean_unsigned_to_nat(0u); +x_10 = l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__48(x_1, x_7, x_7, x_8, x_9); +lean_dec(x_8); +return x_10; +} +} +} +uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__49(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_nat_dec_lt(x_5, x_4); +if (x_6 == 0) +{ +uint8_t x_7; +lean_dec(x_5); +x_7 = 0; +return x_7; +} +else +{ +lean_object* x_8; +x_8 = lean_array_fget(x_3, x_5); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_unsigned_to_nat(1u); +x_10 = lean_nat_add(x_5, x_9); +lean_dec(x_5); +x_5 = x_10; +goto _start; +} +else +{ +lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_12 = lean_ctor_get(x_8, 0); +lean_inc(x_12); +lean_dec(x_8); +x_13 = l_Lean_LocalDecl_fvarId(x_12); +lean_dec(x_12); +x_14 = lean_name_eq(x_13, x_1); +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_5, x_15); +lean_dec(x_5); +x_5 = x_16; +goto _start; +} +else +{ +lean_dec(x_5); +return x_14; +} +} +} +} +} +uint8_t l_PersistentArray_anyM___at_Lean_Meta_clear___spec__45(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_Meta_clear___spec__46(x_1, x_3); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; +x_5 = lean_ctor_get(x_2, 1); +x_6 = lean_array_get_size(x_5); +x_7 = lean_unsigned_to_nat(0u); +x_8 = l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__49(x_1, x_2, x_5, x_6, x_7); +lean_dec(x_6); +return x_8; +} +else +{ +return x_4; +} +} +} +lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__44(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; uint8_t x_6; lean_object* x_7; lean_object* x_8; +lean_dec(x_2); +x_5 = lean_ctor_get(x_3, 0); +lean_inc(x_5); +lean_dec(x_3); +x_6 = lean_name_eq(x_5, x_1); +lean_dec(x_5); +x_7 = lean_box(x_6); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_4); +return x_8; +} +case 2: +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_ctor_get(x_3, 0); +lean_inc(x_9); +lean_dec(x_3); +lean_inc(x_9); +lean_inc(x_2); +x_10 = lean_metavar_ctx_get_expr_assignment(x_2, x_9); +if (lean_obj_tag(x_10) == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_object* x_15; lean_object* x_16; +x_11 = l_Lean_MetavarContext_getDecl(x_2, x_9); +lean_dec(x_9); +x_12 = lean_ctor_get(x_11, 1); +lean_inc(x_12); +lean_dec(x_11); +x_13 = lean_ctor_get(x_12, 1); +lean_inc(x_13); +lean_dec(x_12); +x_14 = l_PersistentArray_anyM___at_Lean_Meta_clear___spec__45(x_1, x_13); +lean_dec(x_13); +x_15 = lean_box(x_14); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_4); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; +lean_dec(x_9); +x_17 = lean_ctor_get(x_10, 0); +lean_inc(x_17); +lean_dec(x_10); +lean_inc(x_17); +x_18 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_17, x_4); +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +x_20 = lean_unbox(x_19); +if (x_20 == 0) +{ +uint8_t x_21; +lean_dec(x_17); +lean_dec(x_2); +x_21 = !lean_is_exclusive(x_18); +if (x_21 == 0) +{ +lean_object* x_22; +x_22 = lean_ctor_get(x_18, 0); +lean_dec(x_22); +return x_18; +} +else +{ +lean_object* x_23; lean_object* x_24; +x_23 = lean_ctor_get(x_18, 1); +lean_inc(x_23); +lean_dec(x_18); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_19); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +else +{ +lean_object* x_25; +lean_dec(x_19); +x_25 = lean_ctor_get(x_18, 1); +lean_inc(x_25); +lean_dec(x_18); +x_3 = x_17; +x_4 = x_25; +goto _start; +} +} +} +case 5: +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; +x_27 = lean_ctor_get(x_3, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_3, 1); +lean_inc(x_28); +lean_dec(x_3); +lean_inc(x_28); +x_29 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_28, x_4); +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_unbox(x_30); +lean_dec(x_30); +if (x_31 == 0) +{ +lean_object* x_32; uint8_t x_33; +lean_dec(x_28); +x_32 = lean_ctor_get(x_29, 1); +lean_inc(x_32); +lean_dec(x_29); +x_33 = l_Lean_Expr_isApp(x_27); +if (x_33 == 0) +{ +lean_object* x_34; lean_object* x_35; uint8_t x_36; +lean_inc(x_27); +x_34 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_27, x_32); +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +x_36 = lean_unbox(x_35); +if (x_36 == 0) +{ +uint8_t x_37; +lean_dec(x_27); +lean_dec(x_2); +x_37 = !lean_is_exclusive(x_34); +if (x_37 == 0) +{ +lean_object* x_38; +x_38 = lean_ctor_get(x_34, 0); +lean_dec(x_38); +return x_34; +} +else +{ +lean_object* x_39; lean_object* x_40; +x_39 = lean_ctor_get(x_34, 1); +lean_inc(x_39); +lean_dec(x_34); +x_40 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_40, 0, x_35); +lean_ctor_set(x_40, 1, x_39); +return x_40; +} +} +else +{ +lean_object* x_41; +lean_dec(x_35); +x_41 = lean_ctor_get(x_34, 1); +lean_inc(x_41); +lean_dec(x_34); +x_3 = x_27; +x_4 = x_41; +goto _start; +} +} +else +{ +x_3 = x_27; +x_4 = x_32; +goto _start; +} +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; +x_44 = lean_ctor_get(x_29, 1); +lean_inc(x_44); +lean_dec(x_29); +lean_inc(x_2); +x_45 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__44(x_1, x_2, x_28, x_44); +x_46 = lean_ctor_get(x_45, 0); +lean_inc(x_46); +x_47 = lean_unbox(x_46); +if (x_47 == 0) +{ +lean_object* x_48; uint8_t x_49; +lean_dec(x_46); +x_48 = lean_ctor_get(x_45, 1); +lean_inc(x_48); +lean_dec(x_45); +x_49 = l_Lean_Expr_isApp(x_27); +if (x_49 == 0) +{ +lean_object* x_50; lean_object* x_51; uint8_t x_52; +lean_inc(x_27); +x_50 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_27, x_48); +x_51 = lean_ctor_get(x_50, 0); +lean_inc(x_51); +x_52 = lean_unbox(x_51); +if (x_52 == 0) +{ +uint8_t x_53; +lean_dec(x_27); +lean_dec(x_2); +x_53 = !lean_is_exclusive(x_50); +if (x_53 == 0) +{ +lean_object* x_54; +x_54 = lean_ctor_get(x_50, 0); +lean_dec(x_54); +return x_50; +} +else +{ +lean_object* x_55; lean_object* x_56; +x_55 = lean_ctor_get(x_50, 1); +lean_inc(x_55); +lean_dec(x_50); +x_56 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_56, 0, x_51); +lean_ctor_set(x_56, 1, x_55); +return x_56; +} +} +else +{ +lean_object* x_57; +lean_dec(x_51); +x_57 = lean_ctor_get(x_50, 1); +lean_inc(x_57); +lean_dec(x_50); +x_3 = x_27; +x_4 = x_57; +goto _start; +} +} +else +{ +x_3 = x_27; +x_4 = x_48; +goto _start; +} +} +else +{ +uint8_t x_60; +lean_dec(x_27); +lean_dec(x_2); +x_60 = !lean_is_exclusive(x_45); +if (x_60 == 0) +{ +lean_object* x_61; +x_61 = lean_ctor_get(x_45, 0); +lean_dec(x_61); +return x_45; +} +else +{ +lean_object* x_62; lean_object* x_63; +x_62 = lean_ctor_get(x_45, 1); +lean_inc(x_62); +lean_dec(x_45); +x_63 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_63, 0, x_46); +lean_ctor_set(x_63, 1, x_62); +return x_63; +} +} +} +} +case 6: +{ +lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; uint8_t x_68; +x_64 = lean_ctor_get(x_3, 1); +lean_inc(x_64); +x_65 = lean_ctor_get(x_3, 2); +lean_inc(x_65); +lean_dec(x_3); +lean_inc(x_64); +x_66 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_64, x_4); +x_67 = lean_ctor_get(x_66, 0); +lean_inc(x_67); +x_68 = lean_unbox(x_67); +lean_dec(x_67); +if (x_68 == 0) +{ +lean_object* x_69; lean_object* x_70; lean_object* x_71; uint8_t x_72; +lean_dec(x_64); +x_69 = lean_ctor_get(x_66, 1); +lean_inc(x_69); +lean_dec(x_66); +lean_inc(x_65); +x_70 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_65, x_69); +x_71 = lean_ctor_get(x_70, 0); +lean_inc(x_71); +x_72 = lean_unbox(x_71); +if (x_72 == 0) +{ +uint8_t x_73; +lean_dec(x_65); +lean_dec(x_2); +x_73 = !lean_is_exclusive(x_70); +if (x_73 == 0) +{ +lean_object* x_74; +x_74 = lean_ctor_get(x_70, 0); +lean_dec(x_74); +return x_70; +} +else +{ +lean_object* x_75; lean_object* x_76; +x_75 = lean_ctor_get(x_70, 1); +lean_inc(x_75); +lean_dec(x_70); +x_76 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_76, 0, x_71); +lean_ctor_set(x_76, 1, x_75); +return x_76; +} +} +else +{ +lean_object* x_77; +lean_dec(x_71); +x_77 = lean_ctor_get(x_70, 1); +lean_inc(x_77); +lean_dec(x_70); +x_3 = x_65; +x_4 = x_77; +goto _start; +} +} +else +{ +lean_object* x_79; lean_object* x_80; lean_object* x_81; uint8_t x_82; +x_79 = lean_ctor_get(x_66, 1); +lean_inc(x_79); +lean_dec(x_66); +lean_inc(x_2); +x_80 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__44(x_1, x_2, x_64, x_79); +x_81 = lean_ctor_get(x_80, 0); +lean_inc(x_81); +x_82 = lean_unbox(x_81); +if (x_82 == 0) +{ +lean_object* x_83; lean_object* x_84; lean_object* x_85; uint8_t x_86; +lean_dec(x_81); +x_83 = lean_ctor_get(x_80, 1); +lean_inc(x_83); +lean_dec(x_80); +lean_inc(x_65); +x_84 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_65, x_83); +x_85 = lean_ctor_get(x_84, 0); +lean_inc(x_85); +x_86 = lean_unbox(x_85); +if (x_86 == 0) +{ +uint8_t x_87; +lean_dec(x_65); +lean_dec(x_2); +x_87 = !lean_is_exclusive(x_84); +if (x_87 == 0) +{ +lean_object* x_88; +x_88 = lean_ctor_get(x_84, 0); +lean_dec(x_88); +return x_84; +} +else +{ +lean_object* x_89; lean_object* x_90; +x_89 = lean_ctor_get(x_84, 1); +lean_inc(x_89); +lean_dec(x_84); +x_90 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_90, 0, x_85); +lean_ctor_set(x_90, 1, x_89); +return x_90; +} +} +else +{ +lean_object* x_91; +lean_dec(x_85); +x_91 = lean_ctor_get(x_84, 1); +lean_inc(x_91); +lean_dec(x_84); +x_3 = x_65; +x_4 = x_91; +goto _start; +} +} +else +{ +uint8_t x_93; +lean_dec(x_65); +lean_dec(x_2); +x_93 = !lean_is_exclusive(x_80); +if (x_93 == 0) +{ +lean_object* x_94; +x_94 = lean_ctor_get(x_80, 0); +lean_dec(x_94); +return x_80; +} +else +{ +lean_object* x_95; lean_object* x_96; +x_95 = lean_ctor_get(x_80, 1); +lean_inc(x_95); +lean_dec(x_80); +x_96 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_96, 0, x_81); +lean_ctor_set(x_96, 1, x_95); +return x_96; +} +} +} +} +case 7: +{ +lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; uint8_t x_101; +x_97 = lean_ctor_get(x_3, 1); +lean_inc(x_97); +x_98 = lean_ctor_get(x_3, 2); +lean_inc(x_98); +lean_dec(x_3); +lean_inc(x_97); +x_99 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_97, x_4); +x_100 = lean_ctor_get(x_99, 0); +lean_inc(x_100); +x_101 = lean_unbox(x_100); +lean_dec(x_100); +if (x_101 == 0) +{ +lean_object* x_102; lean_object* x_103; lean_object* x_104; uint8_t x_105; +lean_dec(x_97); +x_102 = lean_ctor_get(x_99, 1); +lean_inc(x_102); +lean_dec(x_99); +lean_inc(x_98); +x_103 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_98, x_102); +x_104 = lean_ctor_get(x_103, 0); +lean_inc(x_104); +x_105 = lean_unbox(x_104); +if (x_105 == 0) +{ +uint8_t x_106; +lean_dec(x_98); +lean_dec(x_2); +x_106 = !lean_is_exclusive(x_103); +if (x_106 == 0) +{ +lean_object* x_107; +x_107 = lean_ctor_get(x_103, 0); +lean_dec(x_107); +return x_103; +} +else +{ +lean_object* x_108; lean_object* x_109; +x_108 = lean_ctor_get(x_103, 1); +lean_inc(x_108); +lean_dec(x_103); +x_109 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_109, 0, x_104); +lean_ctor_set(x_109, 1, x_108); +return x_109; +} +} +else +{ +lean_object* x_110; +lean_dec(x_104); +x_110 = lean_ctor_get(x_103, 1); +lean_inc(x_110); +lean_dec(x_103); +x_3 = x_98; +x_4 = x_110; +goto _start; +} +} +else +{ +lean_object* x_112; lean_object* x_113; lean_object* x_114; uint8_t x_115; +x_112 = lean_ctor_get(x_99, 1); +lean_inc(x_112); +lean_dec(x_99); +lean_inc(x_2); +x_113 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__44(x_1, x_2, x_97, x_112); +x_114 = lean_ctor_get(x_113, 0); +lean_inc(x_114); +x_115 = lean_unbox(x_114); +if (x_115 == 0) +{ +lean_object* x_116; lean_object* x_117; lean_object* x_118; uint8_t x_119; +lean_dec(x_114); +x_116 = lean_ctor_get(x_113, 1); +lean_inc(x_116); +lean_dec(x_113); +lean_inc(x_98); +x_117 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_98, x_116); +x_118 = lean_ctor_get(x_117, 0); +lean_inc(x_118); +x_119 = lean_unbox(x_118); +if (x_119 == 0) +{ +uint8_t x_120; +lean_dec(x_98); +lean_dec(x_2); +x_120 = !lean_is_exclusive(x_117); +if (x_120 == 0) +{ +lean_object* x_121; +x_121 = lean_ctor_get(x_117, 0); +lean_dec(x_121); +return x_117; +} +else +{ +lean_object* x_122; lean_object* x_123; +x_122 = lean_ctor_get(x_117, 1); +lean_inc(x_122); +lean_dec(x_117); +x_123 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_123, 0, x_118); +lean_ctor_set(x_123, 1, x_122); +return x_123; +} +} +else +{ +lean_object* x_124; +lean_dec(x_118); +x_124 = lean_ctor_get(x_117, 1); +lean_inc(x_124); +lean_dec(x_117); +x_3 = x_98; +x_4 = x_124; +goto _start; +} +} +else +{ +uint8_t x_126; +lean_dec(x_98); +lean_dec(x_2); +x_126 = !lean_is_exclusive(x_113); +if (x_126 == 0) +{ +lean_object* x_127; +x_127 = lean_ctor_get(x_113, 0); +lean_dec(x_127); +return x_113; +} +else +{ +lean_object* x_128; lean_object* x_129; +x_128 = lean_ctor_get(x_113, 1); +lean_inc(x_128); +lean_dec(x_113); +x_129 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_129, 0, x_114); +lean_ctor_set(x_129, 1, x_128); +return x_129; +} +} +} +} +case 8: +{ +lean_object* x_130; lean_object* x_131; lean_object* x_132; uint8_t x_133; lean_object* x_134; lean_object* x_169; lean_object* x_170; uint8_t x_171; +x_130 = lean_ctor_get(x_3, 1); +lean_inc(x_130); +x_131 = lean_ctor_get(x_3, 2); +lean_inc(x_131); +x_132 = lean_ctor_get(x_3, 3); +lean_inc(x_132); +lean_dec(x_3); +lean_inc(x_130); +x_169 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_130, x_4); +x_170 = lean_ctor_get(x_169, 0); +lean_inc(x_170); +x_171 = lean_unbox(x_170); +if (x_171 == 0) +{ +lean_object* x_172; uint8_t x_173; +lean_dec(x_130); +x_172 = lean_ctor_get(x_169, 1); +lean_inc(x_172); +lean_dec(x_169); +x_173 = lean_unbox(x_170); +lean_dec(x_170); +x_133 = x_173; +x_134 = x_172; +goto block_168; +} +else +{ +lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; uint8_t x_178; +lean_dec(x_170); +x_174 = lean_ctor_get(x_169, 1); +lean_inc(x_174); +lean_dec(x_169); +lean_inc(x_2); +x_175 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__44(x_1, x_2, x_130, x_174); +x_176 = lean_ctor_get(x_175, 0); +lean_inc(x_176); +x_177 = lean_ctor_get(x_175, 1); +lean_inc(x_177); +lean_dec(x_175); +x_178 = lean_unbox(x_176); +lean_dec(x_176); +x_133 = x_178; +x_134 = x_177; +goto block_168; +} +block_168: +{ +if (x_133 == 0) +{ +lean_object* x_135; lean_object* x_136; uint8_t x_137; +lean_inc(x_131); +x_135 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_131, x_134); +x_136 = lean_ctor_get(x_135, 0); +lean_inc(x_136); +x_137 = lean_unbox(x_136); +lean_dec(x_136); +if (x_137 == 0) +{ +lean_object* x_138; lean_object* x_139; lean_object* x_140; uint8_t x_141; +lean_dec(x_131); +x_138 = lean_ctor_get(x_135, 1); +lean_inc(x_138); +lean_dec(x_135); +lean_inc(x_132); +x_139 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_132, x_138); +x_140 = lean_ctor_get(x_139, 0); +lean_inc(x_140); +x_141 = lean_unbox(x_140); +if (x_141 == 0) +{ +uint8_t x_142; +lean_dec(x_132); +lean_dec(x_2); +x_142 = !lean_is_exclusive(x_139); +if (x_142 == 0) +{ +lean_object* x_143; +x_143 = lean_ctor_get(x_139, 0); +lean_dec(x_143); +return x_139; +} +else +{ +lean_object* x_144; lean_object* x_145; +x_144 = lean_ctor_get(x_139, 1); +lean_inc(x_144); +lean_dec(x_139); +x_145 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_145, 0, x_140); +lean_ctor_set(x_145, 1, x_144); +return x_145; +} +} +else +{ +lean_object* x_146; +lean_dec(x_140); +x_146 = lean_ctor_get(x_139, 1); +lean_inc(x_146); +lean_dec(x_139); +x_3 = x_132; +x_4 = x_146; +goto _start; +} +} +else +{ +lean_object* x_148; lean_object* x_149; lean_object* x_150; uint8_t x_151; +x_148 = lean_ctor_get(x_135, 1); +lean_inc(x_148); +lean_dec(x_135); +lean_inc(x_2); +x_149 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__44(x_1, x_2, x_131, x_148); +x_150 = lean_ctor_get(x_149, 0); +lean_inc(x_150); +x_151 = lean_unbox(x_150); +if (x_151 == 0) +{ +lean_object* x_152; lean_object* x_153; lean_object* x_154; uint8_t x_155; +lean_dec(x_150); +x_152 = lean_ctor_get(x_149, 1); +lean_inc(x_152); +lean_dec(x_149); +lean_inc(x_132); +x_153 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_132, x_152); +x_154 = lean_ctor_get(x_153, 0); +lean_inc(x_154); +x_155 = lean_unbox(x_154); +if (x_155 == 0) +{ +uint8_t x_156; +lean_dec(x_132); +lean_dec(x_2); +x_156 = !lean_is_exclusive(x_153); +if (x_156 == 0) +{ +lean_object* x_157; +x_157 = lean_ctor_get(x_153, 0); +lean_dec(x_157); +return x_153; +} +else +{ +lean_object* x_158; lean_object* x_159; +x_158 = lean_ctor_get(x_153, 1); +lean_inc(x_158); +lean_dec(x_153); +x_159 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_159, 0, x_154); +lean_ctor_set(x_159, 1, x_158); +return x_159; +} +} +else +{ +lean_object* x_160; +lean_dec(x_154); +x_160 = lean_ctor_get(x_153, 1); +lean_inc(x_160); +lean_dec(x_153); +x_3 = x_132; +x_4 = x_160; +goto _start; +} +} +else +{ +uint8_t x_162; +lean_dec(x_132); +lean_dec(x_2); +x_162 = !lean_is_exclusive(x_149); +if (x_162 == 0) +{ +lean_object* x_163; +x_163 = lean_ctor_get(x_149, 0); +lean_dec(x_163); +return x_149; +} +else +{ +lean_object* x_164; lean_object* x_165; +x_164 = lean_ctor_get(x_149, 1); +lean_inc(x_164); +lean_dec(x_149); +x_165 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_165, 0, x_150); +lean_ctor_set(x_165, 1, x_164); +return x_165; +} +} +} +} +else +{ +lean_object* x_166; lean_object* x_167; +lean_dec(x_132); +lean_dec(x_131); +lean_dec(x_2); +x_166 = lean_box(x_133); +x_167 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_167, 0, x_166); +lean_ctor_set(x_167, 1, x_134); +return x_167; +} +} +} +case 10: +{ +lean_object* x_179; lean_object* x_180; lean_object* x_181; uint8_t x_182; +x_179 = lean_ctor_get(x_3, 1); +lean_inc(x_179); +lean_dec(x_3); +lean_inc(x_179); +x_180 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_179, x_4); +x_181 = lean_ctor_get(x_180, 0); +lean_inc(x_181); +x_182 = lean_unbox(x_181); +if (x_182 == 0) +{ +uint8_t x_183; +lean_dec(x_179); +lean_dec(x_2); +x_183 = !lean_is_exclusive(x_180); +if (x_183 == 0) +{ +lean_object* x_184; +x_184 = lean_ctor_get(x_180, 0); +lean_dec(x_184); +return x_180; +} +else +{ +lean_object* x_185; lean_object* x_186; +x_185 = lean_ctor_get(x_180, 1); +lean_inc(x_185); +lean_dec(x_180); +x_186 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_186, 0, x_181); +lean_ctor_set(x_186, 1, x_185); +return x_186; +} +} +else +{ +lean_object* x_187; +lean_dec(x_181); +x_187 = lean_ctor_get(x_180, 1); +lean_inc(x_187); +lean_dec(x_180); +x_3 = x_179; +x_4 = x_187; +goto _start; +} +} +case 11: +{ +lean_object* x_189; lean_object* x_190; lean_object* x_191; uint8_t x_192; +x_189 = lean_ctor_get(x_3, 2); +lean_inc(x_189); +lean_dec(x_3); +lean_inc(x_189); +x_190 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_189, x_4); +x_191 = lean_ctor_get(x_190, 0); +lean_inc(x_191); +x_192 = lean_unbox(x_191); +if (x_192 == 0) +{ +uint8_t x_193; +lean_dec(x_189); +lean_dec(x_2); +x_193 = !lean_is_exclusive(x_190); +if (x_193 == 0) +{ +lean_object* x_194; +x_194 = lean_ctor_get(x_190, 0); +lean_dec(x_194); +return x_190; +} +else +{ +lean_object* x_195; lean_object* x_196; +x_195 = lean_ctor_get(x_190, 1); +lean_inc(x_195); +lean_dec(x_190); +x_196 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_196, 0, x_191); +lean_ctor_set(x_196, 1, x_195); +return x_196; +} +} +else +{ +lean_object* x_197; +lean_dec(x_191); +x_197 = lean_ctor_get(x_190, 1); +lean_inc(x_197); +lean_dec(x_190); +x_3 = x_189; +x_4 = x_197; +goto _start; +} +} +default: +{ +uint8_t x_199; lean_object* x_200; lean_object* x_201; +lean_dec(x_3); +lean_dec(x_2); +x_199 = 0; +x_200 = lean_box(x_199); +x_201 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_201, 0, x_200); +lean_ctor_set(x_201, 1, x_4); +return x_201; +} +} +} +} +uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__53(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_nat_dec_lt(x_5, x_4); +if (x_6 == 0) +{ +uint8_t x_7; +lean_dec(x_5); +x_7 = 0; +return x_7; +} +else +{ +lean_object* x_8; uint8_t x_9; +x_8 = lean_array_fget(x_3, x_5); +x_9 = l_PersistentArray_anyMAux___main___at_Lean_Meta_clear___spec__52(x_1, x_8); +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_5, x_10); +lean_dec(x_5); +x_5 = x_11; +goto _start; +} +else +{ +lean_dec(x_5); +return x_9; +} +} +} +} +uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__54(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_nat_dec_lt(x_5, x_4); +if (x_6 == 0) +{ +uint8_t x_7; +lean_dec(x_5); +x_7 = 0; +return x_7; +} +else +{ +lean_object* x_8; +x_8 = lean_array_fget(x_3, x_5); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_unsigned_to_nat(1u); +x_10 = lean_nat_add(x_5, x_9); +lean_dec(x_5); +x_5 = x_10; +goto _start; +} +else +{ +lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_12 = lean_ctor_get(x_8, 0); +lean_inc(x_12); +lean_dec(x_8); +x_13 = l_Lean_LocalDecl_fvarId(x_12); +lean_dec(x_12); +x_14 = lean_name_eq(x_13, x_1); +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_5, x_15); +lean_dec(x_5); +x_5 = x_16; +goto _start; +} +else +{ +lean_dec(x_5); +return x_14; +} +} +} +} +} +uint8_t l_PersistentArray_anyMAux___main___at_Lean_Meta_clear___spec__52(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; +x_3 = lean_ctor_get(x_2, 0); +x_4 = lean_array_get_size(x_3); +x_5 = lean_unsigned_to_nat(0u); +x_6 = l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__53(x_1, x_3, x_3, x_4, x_5); +lean_dec(x_4); +return x_6; +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_7 = lean_ctor_get(x_2, 0); +x_8 = lean_array_get_size(x_7); +x_9 = lean_unsigned_to_nat(0u); +x_10 = l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__54(x_1, x_7, x_7, x_8, x_9); +lean_dec(x_8); +return x_10; +} +} +} +uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__55(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_nat_dec_lt(x_5, x_4); +if (x_6 == 0) +{ +uint8_t x_7; +lean_dec(x_5); +x_7 = 0; +return x_7; +} +else +{ +lean_object* x_8; +x_8 = lean_array_fget(x_3, x_5); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_unsigned_to_nat(1u); +x_10 = lean_nat_add(x_5, x_9); +lean_dec(x_5); +x_5 = x_10; +goto _start; +} +else +{ +lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_12 = lean_ctor_get(x_8, 0); +lean_inc(x_12); +lean_dec(x_8); +x_13 = l_Lean_LocalDecl_fvarId(x_12); +lean_dec(x_12); +x_14 = lean_name_eq(x_13, x_1); +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_5, x_15); +lean_dec(x_5); +x_5 = x_16; +goto _start; +} +else +{ +lean_dec(x_5); +return x_14; +} +} +} +} +} +uint8_t l_PersistentArray_anyM___at_Lean_Meta_clear___spec__51(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_Meta_clear___spec__52(x_1, x_3); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; +x_5 = lean_ctor_get(x_2, 1); +x_6 = lean_array_get_size(x_5); +x_7 = lean_unsigned_to_nat(0u); +x_8 = l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__55(x_1, x_2, x_5, x_6, x_7); +lean_dec(x_6); +return x_8; +} +else +{ +return x_4; +} +} +} +lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__50(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; uint8_t x_6; lean_object* x_7; lean_object* x_8; +lean_dec(x_2); +x_5 = lean_ctor_get(x_3, 0); +lean_inc(x_5); +lean_dec(x_3); +x_6 = lean_name_eq(x_5, x_1); +lean_dec(x_5); +x_7 = lean_box(x_6); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_4); +return x_8; +} +case 2: +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_ctor_get(x_3, 0); +lean_inc(x_9); +lean_dec(x_3); +lean_inc(x_9); +lean_inc(x_2); +x_10 = lean_metavar_ctx_get_expr_assignment(x_2, x_9); +if (lean_obj_tag(x_10) == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_object* x_15; lean_object* x_16; +x_11 = l_Lean_MetavarContext_getDecl(x_2, x_9); +lean_dec(x_9); +x_12 = lean_ctor_get(x_11, 1); +lean_inc(x_12); +lean_dec(x_11); +x_13 = lean_ctor_get(x_12, 1); +lean_inc(x_13); +lean_dec(x_12); +x_14 = l_PersistentArray_anyM___at_Lean_Meta_clear___spec__51(x_1, x_13); +lean_dec(x_13); +x_15 = lean_box(x_14); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_4); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; +lean_dec(x_9); +x_17 = lean_ctor_get(x_10, 0); +lean_inc(x_17); +lean_dec(x_10); +lean_inc(x_17); +x_18 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_17, x_4); +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +x_20 = lean_unbox(x_19); +if (x_20 == 0) +{ +uint8_t x_21; +lean_dec(x_17); +lean_dec(x_2); +x_21 = !lean_is_exclusive(x_18); +if (x_21 == 0) +{ +lean_object* x_22; +x_22 = lean_ctor_get(x_18, 0); +lean_dec(x_22); +return x_18; +} +else +{ +lean_object* x_23; lean_object* x_24; +x_23 = lean_ctor_get(x_18, 1); +lean_inc(x_23); +lean_dec(x_18); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_19); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +else +{ +lean_object* x_25; +lean_dec(x_19); +x_25 = lean_ctor_get(x_18, 1); +lean_inc(x_25); +lean_dec(x_18); +x_3 = x_17; +x_4 = x_25; +goto _start; +} +} +} +case 5: +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; +x_27 = lean_ctor_get(x_3, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_3, 1); +lean_inc(x_28); +lean_dec(x_3); +lean_inc(x_28); +x_29 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_28, x_4); +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_unbox(x_30); +lean_dec(x_30); +if (x_31 == 0) +{ +lean_object* x_32; uint8_t x_33; +lean_dec(x_28); +x_32 = lean_ctor_get(x_29, 1); +lean_inc(x_32); +lean_dec(x_29); +x_33 = l_Lean_Expr_isApp(x_27); +if (x_33 == 0) +{ +lean_object* x_34; lean_object* x_35; uint8_t x_36; +lean_inc(x_27); +x_34 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_27, x_32); +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +x_36 = lean_unbox(x_35); +if (x_36 == 0) +{ +uint8_t x_37; +lean_dec(x_27); +lean_dec(x_2); +x_37 = !lean_is_exclusive(x_34); +if (x_37 == 0) +{ +lean_object* x_38; +x_38 = lean_ctor_get(x_34, 0); +lean_dec(x_38); +return x_34; +} +else +{ +lean_object* x_39; lean_object* x_40; +x_39 = lean_ctor_get(x_34, 1); +lean_inc(x_39); +lean_dec(x_34); +x_40 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_40, 0, x_35); +lean_ctor_set(x_40, 1, x_39); +return x_40; +} +} +else +{ +lean_object* x_41; +lean_dec(x_35); +x_41 = lean_ctor_get(x_34, 1); +lean_inc(x_41); +lean_dec(x_34); +x_3 = x_27; +x_4 = x_41; +goto _start; +} +} +else +{ +x_3 = x_27; +x_4 = x_32; +goto _start; +} +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; +x_44 = lean_ctor_get(x_29, 1); +lean_inc(x_44); +lean_dec(x_29); +lean_inc(x_2); +x_45 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__50(x_1, x_2, x_28, x_44); +x_46 = lean_ctor_get(x_45, 0); +lean_inc(x_46); +x_47 = lean_unbox(x_46); +if (x_47 == 0) +{ +lean_object* x_48; uint8_t x_49; +lean_dec(x_46); +x_48 = lean_ctor_get(x_45, 1); +lean_inc(x_48); +lean_dec(x_45); +x_49 = l_Lean_Expr_isApp(x_27); +if (x_49 == 0) +{ +lean_object* x_50; lean_object* x_51; uint8_t x_52; +lean_inc(x_27); +x_50 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_27, x_48); +x_51 = lean_ctor_get(x_50, 0); +lean_inc(x_51); +x_52 = lean_unbox(x_51); +if (x_52 == 0) +{ +uint8_t x_53; +lean_dec(x_27); +lean_dec(x_2); +x_53 = !lean_is_exclusive(x_50); +if (x_53 == 0) +{ +lean_object* x_54; +x_54 = lean_ctor_get(x_50, 0); +lean_dec(x_54); +return x_50; +} +else +{ +lean_object* x_55; lean_object* x_56; +x_55 = lean_ctor_get(x_50, 1); +lean_inc(x_55); +lean_dec(x_50); +x_56 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_56, 0, x_51); +lean_ctor_set(x_56, 1, x_55); +return x_56; +} +} +else +{ +lean_object* x_57; +lean_dec(x_51); +x_57 = lean_ctor_get(x_50, 1); +lean_inc(x_57); +lean_dec(x_50); +x_3 = x_27; +x_4 = x_57; +goto _start; +} +} +else +{ +x_3 = x_27; +x_4 = x_48; +goto _start; +} +} +else +{ +uint8_t x_60; +lean_dec(x_27); +lean_dec(x_2); +x_60 = !lean_is_exclusive(x_45); +if (x_60 == 0) +{ +lean_object* x_61; +x_61 = lean_ctor_get(x_45, 0); +lean_dec(x_61); +return x_45; +} +else +{ +lean_object* x_62; lean_object* x_63; +x_62 = lean_ctor_get(x_45, 1); +lean_inc(x_62); +lean_dec(x_45); +x_63 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_63, 0, x_46); +lean_ctor_set(x_63, 1, x_62); +return x_63; +} +} +} +} +case 6: +{ +lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; uint8_t x_68; +x_64 = lean_ctor_get(x_3, 1); +lean_inc(x_64); +x_65 = lean_ctor_get(x_3, 2); +lean_inc(x_65); +lean_dec(x_3); +lean_inc(x_64); +x_66 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_64, x_4); +x_67 = lean_ctor_get(x_66, 0); +lean_inc(x_67); +x_68 = lean_unbox(x_67); +lean_dec(x_67); +if (x_68 == 0) +{ +lean_object* x_69; lean_object* x_70; lean_object* x_71; uint8_t x_72; +lean_dec(x_64); +x_69 = lean_ctor_get(x_66, 1); +lean_inc(x_69); +lean_dec(x_66); +lean_inc(x_65); +x_70 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_65, x_69); +x_71 = lean_ctor_get(x_70, 0); +lean_inc(x_71); +x_72 = lean_unbox(x_71); +if (x_72 == 0) +{ +uint8_t x_73; +lean_dec(x_65); +lean_dec(x_2); +x_73 = !lean_is_exclusive(x_70); +if (x_73 == 0) +{ +lean_object* x_74; +x_74 = lean_ctor_get(x_70, 0); +lean_dec(x_74); +return x_70; +} +else +{ +lean_object* x_75; lean_object* x_76; +x_75 = lean_ctor_get(x_70, 1); +lean_inc(x_75); +lean_dec(x_70); +x_76 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_76, 0, x_71); +lean_ctor_set(x_76, 1, x_75); +return x_76; +} +} +else +{ +lean_object* x_77; +lean_dec(x_71); +x_77 = lean_ctor_get(x_70, 1); +lean_inc(x_77); +lean_dec(x_70); +x_3 = x_65; +x_4 = x_77; +goto _start; +} +} +else +{ +lean_object* x_79; lean_object* x_80; lean_object* x_81; uint8_t x_82; +x_79 = lean_ctor_get(x_66, 1); +lean_inc(x_79); +lean_dec(x_66); +lean_inc(x_2); +x_80 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__50(x_1, x_2, x_64, x_79); +x_81 = lean_ctor_get(x_80, 0); +lean_inc(x_81); +x_82 = lean_unbox(x_81); +if (x_82 == 0) +{ +lean_object* x_83; lean_object* x_84; lean_object* x_85; uint8_t x_86; +lean_dec(x_81); +x_83 = lean_ctor_get(x_80, 1); +lean_inc(x_83); +lean_dec(x_80); +lean_inc(x_65); +x_84 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_65, x_83); +x_85 = lean_ctor_get(x_84, 0); +lean_inc(x_85); +x_86 = lean_unbox(x_85); +if (x_86 == 0) +{ +uint8_t x_87; +lean_dec(x_65); +lean_dec(x_2); +x_87 = !lean_is_exclusive(x_84); +if (x_87 == 0) +{ +lean_object* x_88; +x_88 = lean_ctor_get(x_84, 0); +lean_dec(x_88); +return x_84; +} +else +{ +lean_object* x_89; lean_object* x_90; +x_89 = lean_ctor_get(x_84, 1); +lean_inc(x_89); +lean_dec(x_84); +x_90 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_90, 0, x_85); +lean_ctor_set(x_90, 1, x_89); +return x_90; +} +} +else +{ +lean_object* x_91; +lean_dec(x_85); +x_91 = lean_ctor_get(x_84, 1); +lean_inc(x_91); +lean_dec(x_84); +x_3 = x_65; +x_4 = x_91; +goto _start; +} +} +else +{ +uint8_t x_93; +lean_dec(x_65); +lean_dec(x_2); +x_93 = !lean_is_exclusive(x_80); +if (x_93 == 0) +{ +lean_object* x_94; +x_94 = lean_ctor_get(x_80, 0); +lean_dec(x_94); +return x_80; +} +else +{ +lean_object* x_95; lean_object* x_96; +x_95 = lean_ctor_get(x_80, 1); +lean_inc(x_95); +lean_dec(x_80); +x_96 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_96, 0, x_81); +lean_ctor_set(x_96, 1, x_95); +return x_96; +} +} +} +} +case 7: +{ +lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; uint8_t x_101; +x_97 = lean_ctor_get(x_3, 1); +lean_inc(x_97); +x_98 = lean_ctor_get(x_3, 2); +lean_inc(x_98); +lean_dec(x_3); +lean_inc(x_97); +x_99 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_97, x_4); +x_100 = lean_ctor_get(x_99, 0); +lean_inc(x_100); +x_101 = lean_unbox(x_100); +lean_dec(x_100); +if (x_101 == 0) +{ +lean_object* x_102; lean_object* x_103; lean_object* x_104; uint8_t x_105; +lean_dec(x_97); +x_102 = lean_ctor_get(x_99, 1); +lean_inc(x_102); +lean_dec(x_99); +lean_inc(x_98); +x_103 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_98, x_102); +x_104 = lean_ctor_get(x_103, 0); +lean_inc(x_104); +x_105 = lean_unbox(x_104); +if (x_105 == 0) +{ +uint8_t x_106; +lean_dec(x_98); +lean_dec(x_2); +x_106 = !lean_is_exclusive(x_103); +if (x_106 == 0) +{ +lean_object* x_107; +x_107 = lean_ctor_get(x_103, 0); +lean_dec(x_107); +return x_103; +} +else +{ +lean_object* x_108; lean_object* x_109; +x_108 = lean_ctor_get(x_103, 1); +lean_inc(x_108); +lean_dec(x_103); +x_109 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_109, 0, x_104); +lean_ctor_set(x_109, 1, x_108); +return x_109; +} +} +else +{ +lean_object* x_110; +lean_dec(x_104); +x_110 = lean_ctor_get(x_103, 1); +lean_inc(x_110); +lean_dec(x_103); +x_3 = x_98; +x_4 = x_110; +goto _start; +} +} +else +{ +lean_object* x_112; lean_object* x_113; lean_object* x_114; uint8_t x_115; +x_112 = lean_ctor_get(x_99, 1); +lean_inc(x_112); +lean_dec(x_99); +lean_inc(x_2); +x_113 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__50(x_1, x_2, x_97, x_112); +x_114 = lean_ctor_get(x_113, 0); +lean_inc(x_114); +x_115 = lean_unbox(x_114); +if (x_115 == 0) +{ +lean_object* x_116; lean_object* x_117; lean_object* x_118; uint8_t x_119; +lean_dec(x_114); +x_116 = lean_ctor_get(x_113, 1); +lean_inc(x_116); +lean_dec(x_113); +lean_inc(x_98); +x_117 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_98, x_116); +x_118 = lean_ctor_get(x_117, 0); +lean_inc(x_118); +x_119 = lean_unbox(x_118); +if (x_119 == 0) +{ +uint8_t x_120; +lean_dec(x_98); +lean_dec(x_2); +x_120 = !lean_is_exclusive(x_117); +if (x_120 == 0) +{ +lean_object* x_121; +x_121 = lean_ctor_get(x_117, 0); +lean_dec(x_121); +return x_117; +} +else +{ +lean_object* x_122; lean_object* x_123; +x_122 = lean_ctor_get(x_117, 1); +lean_inc(x_122); +lean_dec(x_117); +x_123 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_123, 0, x_118); +lean_ctor_set(x_123, 1, x_122); +return x_123; +} +} +else +{ +lean_object* x_124; +lean_dec(x_118); +x_124 = lean_ctor_get(x_117, 1); +lean_inc(x_124); +lean_dec(x_117); +x_3 = x_98; +x_4 = x_124; +goto _start; +} +} +else +{ +uint8_t x_126; +lean_dec(x_98); +lean_dec(x_2); +x_126 = !lean_is_exclusive(x_113); +if (x_126 == 0) +{ +lean_object* x_127; +x_127 = lean_ctor_get(x_113, 0); +lean_dec(x_127); +return x_113; +} +else +{ +lean_object* x_128; lean_object* x_129; +x_128 = lean_ctor_get(x_113, 1); +lean_inc(x_128); +lean_dec(x_113); +x_129 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_129, 0, x_114); +lean_ctor_set(x_129, 1, x_128); +return x_129; +} +} +} +} +case 8: +{ +lean_object* x_130; lean_object* x_131; lean_object* x_132; uint8_t x_133; lean_object* x_134; lean_object* x_169; lean_object* x_170; uint8_t x_171; +x_130 = lean_ctor_get(x_3, 1); +lean_inc(x_130); +x_131 = lean_ctor_get(x_3, 2); +lean_inc(x_131); +x_132 = lean_ctor_get(x_3, 3); +lean_inc(x_132); +lean_dec(x_3); +lean_inc(x_130); +x_169 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_130, x_4); +x_170 = lean_ctor_get(x_169, 0); +lean_inc(x_170); +x_171 = lean_unbox(x_170); +if (x_171 == 0) +{ +lean_object* x_172; uint8_t x_173; +lean_dec(x_130); +x_172 = lean_ctor_get(x_169, 1); +lean_inc(x_172); +lean_dec(x_169); +x_173 = lean_unbox(x_170); +lean_dec(x_170); +x_133 = x_173; +x_134 = x_172; +goto block_168; +} +else +{ +lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; uint8_t x_178; +lean_dec(x_170); +x_174 = lean_ctor_get(x_169, 1); +lean_inc(x_174); +lean_dec(x_169); +lean_inc(x_2); +x_175 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__50(x_1, x_2, x_130, x_174); +x_176 = lean_ctor_get(x_175, 0); +lean_inc(x_176); +x_177 = lean_ctor_get(x_175, 1); +lean_inc(x_177); +lean_dec(x_175); +x_178 = lean_unbox(x_176); +lean_dec(x_176); +x_133 = x_178; +x_134 = x_177; +goto block_168; +} +block_168: +{ +if (x_133 == 0) +{ +lean_object* x_135; lean_object* x_136; uint8_t x_137; +lean_inc(x_131); +x_135 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_131, x_134); +x_136 = lean_ctor_get(x_135, 0); +lean_inc(x_136); +x_137 = lean_unbox(x_136); +lean_dec(x_136); +if (x_137 == 0) +{ +lean_object* x_138; lean_object* x_139; lean_object* x_140; uint8_t x_141; +lean_dec(x_131); +x_138 = lean_ctor_get(x_135, 1); +lean_inc(x_138); +lean_dec(x_135); +lean_inc(x_132); +x_139 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_132, x_138); +x_140 = lean_ctor_get(x_139, 0); +lean_inc(x_140); +x_141 = lean_unbox(x_140); +if (x_141 == 0) +{ +uint8_t x_142; +lean_dec(x_132); +lean_dec(x_2); +x_142 = !lean_is_exclusive(x_139); +if (x_142 == 0) +{ +lean_object* x_143; +x_143 = lean_ctor_get(x_139, 0); +lean_dec(x_143); +return x_139; +} +else +{ +lean_object* x_144; lean_object* x_145; +x_144 = lean_ctor_get(x_139, 1); +lean_inc(x_144); +lean_dec(x_139); +x_145 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_145, 0, x_140); +lean_ctor_set(x_145, 1, x_144); +return x_145; +} +} +else +{ +lean_object* x_146; +lean_dec(x_140); +x_146 = lean_ctor_get(x_139, 1); +lean_inc(x_146); +lean_dec(x_139); +x_3 = x_132; +x_4 = x_146; +goto _start; +} +} +else +{ +lean_object* x_148; lean_object* x_149; lean_object* x_150; uint8_t x_151; +x_148 = lean_ctor_get(x_135, 1); +lean_inc(x_148); +lean_dec(x_135); +lean_inc(x_2); +x_149 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__50(x_1, x_2, x_131, x_148); +x_150 = lean_ctor_get(x_149, 0); +lean_inc(x_150); +x_151 = lean_unbox(x_150); +if (x_151 == 0) +{ +lean_object* x_152; lean_object* x_153; lean_object* x_154; uint8_t x_155; +lean_dec(x_150); +x_152 = lean_ctor_get(x_149, 1); +lean_inc(x_152); +lean_dec(x_149); +lean_inc(x_132); +x_153 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_132, x_152); +x_154 = lean_ctor_get(x_153, 0); +lean_inc(x_154); +x_155 = lean_unbox(x_154); +if (x_155 == 0) +{ +uint8_t x_156; +lean_dec(x_132); +lean_dec(x_2); +x_156 = !lean_is_exclusive(x_153); +if (x_156 == 0) +{ +lean_object* x_157; +x_157 = lean_ctor_get(x_153, 0); +lean_dec(x_157); +return x_153; +} +else +{ +lean_object* x_158; lean_object* x_159; +x_158 = lean_ctor_get(x_153, 1); +lean_inc(x_158); +lean_dec(x_153); +x_159 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_159, 0, x_154); +lean_ctor_set(x_159, 1, x_158); +return x_159; +} +} +else +{ +lean_object* x_160; +lean_dec(x_154); +x_160 = lean_ctor_get(x_153, 1); +lean_inc(x_160); +lean_dec(x_153); +x_3 = x_132; +x_4 = x_160; +goto _start; +} +} +else +{ +uint8_t x_162; +lean_dec(x_132); +lean_dec(x_2); +x_162 = !lean_is_exclusive(x_149); +if (x_162 == 0) +{ +lean_object* x_163; +x_163 = lean_ctor_get(x_149, 0); +lean_dec(x_163); +return x_149; +} +else +{ +lean_object* x_164; lean_object* x_165; +x_164 = lean_ctor_get(x_149, 1); +lean_inc(x_164); +lean_dec(x_149); +x_165 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_165, 0, x_150); +lean_ctor_set(x_165, 1, x_164); +return x_165; +} +} +} +} +else +{ +lean_object* x_166; lean_object* x_167; +lean_dec(x_132); +lean_dec(x_131); +lean_dec(x_2); +x_166 = lean_box(x_133); +x_167 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_167, 0, x_166); +lean_ctor_set(x_167, 1, x_134); +return x_167; +} +} +} +case 10: +{ +lean_object* x_179; lean_object* x_180; lean_object* x_181; uint8_t x_182; +x_179 = lean_ctor_get(x_3, 1); +lean_inc(x_179); +lean_dec(x_3); +lean_inc(x_179); +x_180 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_179, x_4); +x_181 = lean_ctor_get(x_180, 0); +lean_inc(x_181); +x_182 = lean_unbox(x_181); +if (x_182 == 0) +{ +uint8_t x_183; +lean_dec(x_179); +lean_dec(x_2); +x_183 = !lean_is_exclusive(x_180); +if (x_183 == 0) +{ +lean_object* x_184; +x_184 = lean_ctor_get(x_180, 0); +lean_dec(x_184); +return x_180; +} +else +{ +lean_object* x_185; lean_object* x_186; +x_185 = lean_ctor_get(x_180, 1); +lean_inc(x_185); +lean_dec(x_180); +x_186 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_186, 0, x_181); +lean_ctor_set(x_186, 1, x_185); +return x_186; +} +} +else +{ +lean_object* x_187; +lean_dec(x_181); +x_187 = lean_ctor_get(x_180, 1); +lean_inc(x_187); +lean_dec(x_180); +x_3 = x_179; +x_4 = x_187; +goto _start; +} +} +case 11: +{ +lean_object* x_189; lean_object* x_190; lean_object* x_191; uint8_t x_192; +x_189 = lean_ctor_get(x_3, 2); +lean_inc(x_189); +lean_dec(x_3); +lean_inc(x_189); +x_190 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_189, x_4); +x_191 = lean_ctor_get(x_190, 0); +lean_inc(x_191); +x_192 = lean_unbox(x_191); +if (x_192 == 0) +{ +uint8_t x_193; +lean_dec(x_189); +lean_dec(x_2); +x_193 = !lean_is_exclusive(x_190); +if (x_193 == 0) +{ +lean_object* x_194; +x_194 = lean_ctor_get(x_190, 0); +lean_dec(x_194); +return x_190; +} +else +{ +lean_object* x_195; lean_object* x_196; +x_195 = lean_ctor_get(x_190, 1); +lean_inc(x_195); +lean_dec(x_190); +x_196 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_196, 0, x_191); +lean_ctor_set(x_196, 1, x_195); +return x_196; +} +} +else +{ +lean_object* x_197; +lean_dec(x_191); +x_197 = lean_ctor_get(x_190, 1); +lean_inc(x_197); +lean_dec(x_190); +x_3 = x_189; +x_4 = x_197; +goto _start; +} +} +default: +{ +uint8_t x_199; lean_object* x_200; lean_object* x_201; +lean_dec(x_3); +lean_dec(x_2); +x_199 = 0; +x_200 = lean_box(x_199); +x_201 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_201, 0, x_200); +lean_ctor_set(x_201, 1, x_4); +return x_201; +} +} +} +} +uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__59(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_nat_dec_lt(x_5, x_4); +if (x_6 == 0) +{ +uint8_t x_7; +lean_dec(x_5); +x_7 = 0; +return x_7; +} +else +{ +lean_object* x_8; uint8_t x_9; +x_8 = lean_array_fget(x_3, x_5); +x_9 = l_PersistentArray_anyMAux___main___at_Lean_Meta_clear___spec__58(x_1, x_8); +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_5, x_10); +lean_dec(x_5); +x_5 = x_11; +goto _start; +} +else +{ +lean_dec(x_5); +return x_9; +} +} +} +} +uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__60(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_nat_dec_lt(x_5, x_4); +if (x_6 == 0) +{ +uint8_t x_7; +lean_dec(x_5); +x_7 = 0; +return x_7; +} +else +{ +lean_object* x_8; +x_8 = lean_array_fget(x_3, x_5); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_unsigned_to_nat(1u); +x_10 = lean_nat_add(x_5, x_9); +lean_dec(x_5); +x_5 = x_10; +goto _start; +} +else +{ +lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_12 = lean_ctor_get(x_8, 0); +lean_inc(x_12); +lean_dec(x_8); +x_13 = l_Lean_LocalDecl_fvarId(x_12); +lean_dec(x_12); +x_14 = lean_name_eq(x_13, x_1); +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_5, x_15); +lean_dec(x_5); +x_5 = x_16; +goto _start; +} +else +{ +lean_dec(x_5); +return x_14; +} +} +} +} +} +uint8_t l_PersistentArray_anyMAux___main___at_Lean_Meta_clear___spec__58(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; +x_3 = lean_ctor_get(x_2, 0); +x_4 = lean_array_get_size(x_3); +x_5 = lean_unsigned_to_nat(0u); +x_6 = l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__59(x_1, x_3, x_3, x_4, x_5); +lean_dec(x_4); +return x_6; +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_7 = lean_ctor_get(x_2, 0); +x_8 = lean_array_get_size(x_7); +x_9 = lean_unsigned_to_nat(0u); +x_10 = l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__60(x_1, x_7, x_7, x_8, x_9); +lean_dec(x_8); +return x_10; +} +} +} +uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__61(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_nat_dec_lt(x_5, x_4); +if (x_6 == 0) +{ +uint8_t x_7; +lean_dec(x_5); +x_7 = 0; +return x_7; +} +else +{ +lean_object* x_8; +x_8 = lean_array_fget(x_3, x_5); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_unsigned_to_nat(1u); +x_10 = lean_nat_add(x_5, x_9); +lean_dec(x_5); +x_5 = x_10; +goto _start; +} +else +{ +lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_12 = lean_ctor_get(x_8, 0); +lean_inc(x_12); +lean_dec(x_8); +x_13 = l_Lean_LocalDecl_fvarId(x_12); +lean_dec(x_12); +x_14 = lean_name_eq(x_13, x_1); +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_5, x_15); +lean_dec(x_5); +x_5 = x_16; +goto _start; +} +else +{ +lean_dec(x_5); +return x_14; +} +} +} +} +} +uint8_t l_PersistentArray_anyM___at_Lean_Meta_clear___spec__57(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_Meta_clear___spec__58(x_1, x_3); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; +x_5 = lean_ctor_get(x_2, 1); +x_6 = lean_array_get_size(x_5); +x_7 = lean_unsigned_to_nat(0u); +x_8 = l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__61(x_1, x_2, x_5, x_6, x_7); +lean_dec(x_6); +return x_8; +} +else +{ +return x_4; +} +} +} +lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__56(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; uint8_t x_6; lean_object* x_7; lean_object* x_8; +lean_dec(x_2); +x_5 = lean_ctor_get(x_3, 0); +lean_inc(x_5); +lean_dec(x_3); +x_6 = lean_name_eq(x_5, x_1); +lean_dec(x_5); +x_7 = lean_box(x_6); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_4); +return x_8; +} +case 2: +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_ctor_get(x_3, 0); +lean_inc(x_9); +lean_dec(x_3); +lean_inc(x_9); +lean_inc(x_2); +x_10 = lean_metavar_ctx_get_expr_assignment(x_2, x_9); +if (lean_obj_tag(x_10) == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_object* x_15; lean_object* x_16; +x_11 = l_Lean_MetavarContext_getDecl(x_2, x_9); +lean_dec(x_9); +x_12 = lean_ctor_get(x_11, 1); +lean_inc(x_12); +lean_dec(x_11); +x_13 = lean_ctor_get(x_12, 1); +lean_inc(x_13); +lean_dec(x_12); +x_14 = l_PersistentArray_anyM___at_Lean_Meta_clear___spec__57(x_1, x_13); +lean_dec(x_13); +x_15 = lean_box(x_14); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_4); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; +lean_dec(x_9); +x_17 = lean_ctor_get(x_10, 0); +lean_inc(x_17); +lean_dec(x_10); +lean_inc(x_17); +x_18 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_17, x_4); +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +x_20 = lean_unbox(x_19); +if (x_20 == 0) +{ +uint8_t x_21; +lean_dec(x_17); +lean_dec(x_2); +x_21 = !lean_is_exclusive(x_18); +if (x_21 == 0) +{ +lean_object* x_22; +x_22 = lean_ctor_get(x_18, 0); +lean_dec(x_22); +return x_18; +} +else +{ +lean_object* x_23; lean_object* x_24; +x_23 = lean_ctor_get(x_18, 1); +lean_inc(x_23); +lean_dec(x_18); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_19); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +else +{ +lean_object* x_25; +lean_dec(x_19); +x_25 = lean_ctor_get(x_18, 1); +lean_inc(x_25); +lean_dec(x_18); +x_3 = x_17; +x_4 = x_25; +goto _start; +} +} +} +case 5: +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; +x_27 = lean_ctor_get(x_3, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_3, 1); +lean_inc(x_28); +lean_dec(x_3); +lean_inc(x_28); +x_29 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_28, x_4); +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_unbox(x_30); +lean_dec(x_30); +if (x_31 == 0) +{ +lean_object* x_32; uint8_t x_33; +lean_dec(x_28); +x_32 = lean_ctor_get(x_29, 1); +lean_inc(x_32); +lean_dec(x_29); +x_33 = l_Lean_Expr_isApp(x_27); +if (x_33 == 0) +{ +lean_object* x_34; lean_object* x_35; uint8_t x_36; +lean_inc(x_27); +x_34 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_27, x_32); +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +x_36 = lean_unbox(x_35); +if (x_36 == 0) +{ +uint8_t x_37; +lean_dec(x_27); +lean_dec(x_2); +x_37 = !lean_is_exclusive(x_34); +if (x_37 == 0) +{ +lean_object* x_38; +x_38 = lean_ctor_get(x_34, 0); +lean_dec(x_38); +return x_34; +} +else +{ +lean_object* x_39; lean_object* x_40; +x_39 = lean_ctor_get(x_34, 1); +lean_inc(x_39); +lean_dec(x_34); +x_40 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_40, 0, x_35); +lean_ctor_set(x_40, 1, x_39); +return x_40; +} +} +else +{ +lean_object* x_41; +lean_dec(x_35); +x_41 = lean_ctor_get(x_34, 1); +lean_inc(x_41); +lean_dec(x_34); +x_3 = x_27; +x_4 = x_41; +goto _start; +} +} +else +{ +x_3 = x_27; +x_4 = x_32; +goto _start; +} +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; +x_44 = lean_ctor_get(x_29, 1); +lean_inc(x_44); +lean_dec(x_29); +lean_inc(x_2); +x_45 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__56(x_1, x_2, x_28, x_44); +x_46 = lean_ctor_get(x_45, 0); +lean_inc(x_46); +x_47 = lean_unbox(x_46); +if (x_47 == 0) +{ +lean_object* x_48; uint8_t x_49; +lean_dec(x_46); +x_48 = lean_ctor_get(x_45, 1); +lean_inc(x_48); +lean_dec(x_45); +x_49 = l_Lean_Expr_isApp(x_27); +if (x_49 == 0) +{ +lean_object* x_50; lean_object* x_51; uint8_t x_52; +lean_inc(x_27); +x_50 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_27, x_48); +x_51 = lean_ctor_get(x_50, 0); +lean_inc(x_51); +x_52 = lean_unbox(x_51); +if (x_52 == 0) +{ +uint8_t x_53; +lean_dec(x_27); +lean_dec(x_2); +x_53 = !lean_is_exclusive(x_50); +if (x_53 == 0) +{ +lean_object* x_54; +x_54 = lean_ctor_get(x_50, 0); +lean_dec(x_54); +return x_50; +} +else +{ +lean_object* x_55; lean_object* x_56; +x_55 = lean_ctor_get(x_50, 1); +lean_inc(x_55); +lean_dec(x_50); +x_56 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_56, 0, x_51); +lean_ctor_set(x_56, 1, x_55); +return x_56; +} +} +else +{ +lean_object* x_57; +lean_dec(x_51); +x_57 = lean_ctor_get(x_50, 1); +lean_inc(x_57); +lean_dec(x_50); +x_3 = x_27; +x_4 = x_57; +goto _start; +} +} +else +{ +x_3 = x_27; +x_4 = x_48; +goto _start; +} +} +else +{ +uint8_t x_60; +lean_dec(x_27); +lean_dec(x_2); +x_60 = !lean_is_exclusive(x_45); +if (x_60 == 0) +{ +lean_object* x_61; +x_61 = lean_ctor_get(x_45, 0); +lean_dec(x_61); +return x_45; +} +else +{ +lean_object* x_62; lean_object* x_63; +x_62 = lean_ctor_get(x_45, 1); +lean_inc(x_62); +lean_dec(x_45); +x_63 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_63, 0, x_46); +lean_ctor_set(x_63, 1, x_62); +return x_63; +} +} +} +} +case 6: +{ +lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; uint8_t x_68; +x_64 = lean_ctor_get(x_3, 1); +lean_inc(x_64); +x_65 = lean_ctor_get(x_3, 2); +lean_inc(x_65); +lean_dec(x_3); +lean_inc(x_64); +x_66 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_64, x_4); +x_67 = lean_ctor_get(x_66, 0); +lean_inc(x_67); +x_68 = lean_unbox(x_67); +lean_dec(x_67); +if (x_68 == 0) +{ +lean_object* x_69; lean_object* x_70; lean_object* x_71; uint8_t x_72; +lean_dec(x_64); +x_69 = lean_ctor_get(x_66, 1); +lean_inc(x_69); +lean_dec(x_66); +lean_inc(x_65); +x_70 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_65, x_69); +x_71 = lean_ctor_get(x_70, 0); +lean_inc(x_71); +x_72 = lean_unbox(x_71); +if (x_72 == 0) +{ +uint8_t x_73; +lean_dec(x_65); +lean_dec(x_2); +x_73 = !lean_is_exclusive(x_70); +if (x_73 == 0) +{ +lean_object* x_74; +x_74 = lean_ctor_get(x_70, 0); +lean_dec(x_74); +return x_70; +} +else +{ +lean_object* x_75; lean_object* x_76; +x_75 = lean_ctor_get(x_70, 1); +lean_inc(x_75); +lean_dec(x_70); +x_76 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_76, 0, x_71); +lean_ctor_set(x_76, 1, x_75); +return x_76; +} +} +else +{ +lean_object* x_77; +lean_dec(x_71); +x_77 = lean_ctor_get(x_70, 1); +lean_inc(x_77); +lean_dec(x_70); +x_3 = x_65; +x_4 = x_77; +goto _start; +} +} +else +{ +lean_object* x_79; lean_object* x_80; lean_object* x_81; uint8_t x_82; +x_79 = lean_ctor_get(x_66, 1); +lean_inc(x_79); +lean_dec(x_66); +lean_inc(x_2); +x_80 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__56(x_1, x_2, x_64, x_79); +x_81 = lean_ctor_get(x_80, 0); +lean_inc(x_81); +x_82 = lean_unbox(x_81); +if (x_82 == 0) +{ +lean_object* x_83; lean_object* x_84; lean_object* x_85; uint8_t x_86; +lean_dec(x_81); +x_83 = lean_ctor_get(x_80, 1); +lean_inc(x_83); +lean_dec(x_80); +lean_inc(x_65); +x_84 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_65, x_83); +x_85 = lean_ctor_get(x_84, 0); +lean_inc(x_85); +x_86 = lean_unbox(x_85); +if (x_86 == 0) +{ +uint8_t x_87; +lean_dec(x_65); +lean_dec(x_2); +x_87 = !lean_is_exclusive(x_84); +if (x_87 == 0) +{ +lean_object* x_88; +x_88 = lean_ctor_get(x_84, 0); +lean_dec(x_88); +return x_84; +} +else +{ +lean_object* x_89; lean_object* x_90; +x_89 = lean_ctor_get(x_84, 1); +lean_inc(x_89); +lean_dec(x_84); +x_90 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_90, 0, x_85); +lean_ctor_set(x_90, 1, x_89); +return x_90; +} +} +else +{ +lean_object* x_91; +lean_dec(x_85); +x_91 = lean_ctor_get(x_84, 1); +lean_inc(x_91); +lean_dec(x_84); +x_3 = x_65; +x_4 = x_91; +goto _start; +} +} +else +{ +uint8_t x_93; +lean_dec(x_65); +lean_dec(x_2); +x_93 = !lean_is_exclusive(x_80); +if (x_93 == 0) +{ +lean_object* x_94; +x_94 = lean_ctor_get(x_80, 0); +lean_dec(x_94); +return x_80; +} +else +{ +lean_object* x_95; lean_object* x_96; +x_95 = lean_ctor_get(x_80, 1); +lean_inc(x_95); +lean_dec(x_80); +x_96 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_96, 0, x_81); +lean_ctor_set(x_96, 1, x_95); +return x_96; +} +} +} +} +case 7: +{ +lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; uint8_t x_101; +x_97 = lean_ctor_get(x_3, 1); +lean_inc(x_97); +x_98 = lean_ctor_get(x_3, 2); +lean_inc(x_98); +lean_dec(x_3); +lean_inc(x_97); +x_99 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_97, x_4); +x_100 = lean_ctor_get(x_99, 0); +lean_inc(x_100); +x_101 = lean_unbox(x_100); +lean_dec(x_100); +if (x_101 == 0) +{ +lean_object* x_102; lean_object* x_103; lean_object* x_104; uint8_t x_105; +lean_dec(x_97); +x_102 = lean_ctor_get(x_99, 1); +lean_inc(x_102); +lean_dec(x_99); +lean_inc(x_98); +x_103 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_98, x_102); +x_104 = lean_ctor_get(x_103, 0); +lean_inc(x_104); +x_105 = lean_unbox(x_104); +if (x_105 == 0) +{ +uint8_t x_106; +lean_dec(x_98); +lean_dec(x_2); +x_106 = !lean_is_exclusive(x_103); +if (x_106 == 0) +{ +lean_object* x_107; +x_107 = lean_ctor_get(x_103, 0); +lean_dec(x_107); +return x_103; +} +else +{ +lean_object* x_108; lean_object* x_109; +x_108 = lean_ctor_get(x_103, 1); +lean_inc(x_108); +lean_dec(x_103); +x_109 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_109, 0, x_104); +lean_ctor_set(x_109, 1, x_108); +return x_109; +} +} +else +{ +lean_object* x_110; +lean_dec(x_104); +x_110 = lean_ctor_get(x_103, 1); +lean_inc(x_110); +lean_dec(x_103); +x_3 = x_98; +x_4 = x_110; +goto _start; +} +} +else +{ +lean_object* x_112; lean_object* x_113; lean_object* x_114; uint8_t x_115; +x_112 = lean_ctor_get(x_99, 1); +lean_inc(x_112); +lean_dec(x_99); +lean_inc(x_2); +x_113 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__56(x_1, x_2, x_97, x_112); +x_114 = lean_ctor_get(x_113, 0); +lean_inc(x_114); +x_115 = lean_unbox(x_114); +if (x_115 == 0) +{ +lean_object* x_116; lean_object* x_117; lean_object* x_118; uint8_t x_119; +lean_dec(x_114); +x_116 = lean_ctor_get(x_113, 1); +lean_inc(x_116); +lean_dec(x_113); +lean_inc(x_98); +x_117 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_98, x_116); +x_118 = lean_ctor_get(x_117, 0); +lean_inc(x_118); +x_119 = lean_unbox(x_118); +if (x_119 == 0) +{ +uint8_t x_120; +lean_dec(x_98); +lean_dec(x_2); +x_120 = !lean_is_exclusive(x_117); +if (x_120 == 0) +{ +lean_object* x_121; +x_121 = lean_ctor_get(x_117, 0); +lean_dec(x_121); +return x_117; +} +else +{ +lean_object* x_122; lean_object* x_123; +x_122 = lean_ctor_get(x_117, 1); +lean_inc(x_122); +lean_dec(x_117); +x_123 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_123, 0, x_118); +lean_ctor_set(x_123, 1, x_122); +return x_123; +} +} +else +{ +lean_object* x_124; +lean_dec(x_118); +x_124 = lean_ctor_get(x_117, 1); +lean_inc(x_124); +lean_dec(x_117); +x_3 = x_98; +x_4 = x_124; +goto _start; +} +} +else +{ +uint8_t x_126; +lean_dec(x_98); +lean_dec(x_2); +x_126 = !lean_is_exclusive(x_113); +if (x_126 == 0) +{ +lean_object* x_127; +x_127 = lean_ctor_get(x_113, 0); +lean_dec(x_127); +return x_113; +} +else +{ +lean_object* x_128; lean_object* x_129; +x_128 = lean_ctor_get(x_113, 1); +lean_inc(x_128); +lean_dec(x_113); +x_129 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_129, 0, x_114); +lean_ctor_set(x_129, 1, x_128); +return x_129; +} +} +} +} +case 8: +{ +lean_object* x_130; lean_object* x_131; lean_object* x_132; uint8_t x_133; lean_object* x_134; lean_object* x_169; lean_object* x_170; uint8_t x_171; +x_130 = lean_ctor_get(x_3, 1); +lean_inc(x_130); +x_131 = lean_ctor_get(x_3, 2); +lean_inc(x_131); +x_132 = lean_ctor_get(x_3, 3); +lean_inc(x_132); +lean_dec(x_3); +lean_inc(x_130); +x_169 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_130, x_4); +x_170 = lean_ctor_get(x_169, 0); +lean_inc(x_170); +x_171 = lean_unbox(x_170); +if (x_171 == 0) +{ +lean_object* x_172; uint8_t x_173; +lean_dec(x_130); +x_172 = lean_ctor_get(x_169, 1); +lean_inc(x_172); +lean_dec(x_169); +x_173 = lean_unbox(x_170); +lean_dec(x_170); +x_133 = x_173; +x_134 = x_172; +goto block_168; +} +else +{ +lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; uint8_t x_178; +lean_dec(x_170); +x_174 = lean_ctor_get(x_169, 1); +lean_inc(x_174); +lean_dec(x_169); +lean_inc(x_2); +x_175 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__56(x_1, x_2, x_130, x_174); +x_176 = lean_ctor_get(x_175, 0); +lean_inc(x_176); +x_177 = lean_ctor_get(x_175, 1); +lean_inc(x_177); +lean_dec(x_175); +x_178 = lean_unbox(x_176); +lean_dec(x_176); +x_133 = x_178; +x_134 = x_177; +goto block_168; +} +block_168: +{ +if (x_133 == 0) +{ +lean_object* x_135; lean_object* x_136; uint8_t x_137; +lean_inc(x_131); +x_135 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_131, x_134); +x_136 = lean_ctor_get(x_135, 0); +lean_inc(x_136); +x_137 = lean_unbox(x_136); +lean_dec(x_136); +if (x_137 == 0) +{ +lean_object* x_138; lean_object* x_139; lean_object* x_140; uint8_t x_141; +lean_dec(x_131); +x_138 = lean_ctor_get(x_135, 1); +lean_inc(x_138); +lean_dec(x_135); +lean_inc(x_132); +x_139 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_132, x_138); +x_140 = lean_ctor_get(x_139, 0); +lean_inc(x_140); +x_141 = lean_unbox(x_140); +if (x_141 == 0) +{ +uint8_t x_142; +lean_dec(x_132); +lean_dec(x_2); +x_142 = !lean_is_exclusive(x_139); +if (x_142 == 0) +{ +lean_object* x_143; +x_143 = lean_ctor_get(x_139, 0); +lean_dec(x_143); +return x_139; +} +else +{ +lean_object* x_144; lean_object* x_145; +x_144 = lean_ctor_get(x_139, 1); +lean_inc(x_144); +lean_dec(x_139); +x_145 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_145, 0, x_140); +lean_ctor_set(x_145, 1, x_144); +return x_145; +} +} +else +{ +lean_object* x_146; +lean_dec(x_140); +x_146 = lean_ctor_get(x_139, 1); +lean_inc(x_146); +lean_dec(x_139); +x_3 = x_132; +x_4 = x_146; +goto _start; +} +} +else +{ +lean_object* x_148; lean_object* x_149; lean_object* x_150; uint8_t x_151; +x_148 = lean_ctor_get(x_135, 1); +lean_inc(x_148); +lean_dec(x_135); +lean_inc(x_2); +x_149 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__56(x_1, x_2, x_131, x_148); +x_150 = lean_ctor_get(x_149, 0); +lean_inc(x_150); +x_151 = lean_unbox(x_150); +if (x_151 == 0) +{ +lean_object* x_152; lean_object* x_153; lean_object* x_154; uint8_t x_155; +lean_dec(x_150); +x_152 = lean_ctor_get(x_149, 1); +lean_inc(x_152); +lean_dec(x_149); +lean_inc(x_132); +x_153 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_132, x_152); +x_154 = lean_ctor_get(x_153, 0); +lean_inc(x_154); +x_155 = lean_unbox(x_154); +if (x_155 == 0) +{ +uint8_t x_156; +lean_dec(x_132); +lean_dec(x_2); +x_156 = !lean_is_exclusive(x_153); +if (x_156 == 0) +{ +lean_object* x_157; +x_157 = lean_ctor_get(x_153, 0); +lean_dec(x_157); +return x_153; +} +else +{ +lean_object* x_158; lean_object* x_159; +x_158 = lean_ctor_get(x_153, 1); +lean_inc(x_158); +lean_dec(x_153); +x_159 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_159, 0, x_154); +lean_ctor_set(x_159, 1, x_158); +return x_159; +} +} +else +{ +lean_object* x_160; +lean_dec(x_154); +x_160 = lean_ctor_get(x_153, 1); +lean_inc(x_160); +lean_dec(x_153); +x_3 = x_132; +x_4 = x_160; +goto _start; +} +} +else +{ +uint8_t x_162; +lean_dec(x_132); +lean_dec(x_2); +x_162 = !lean_is_exclusive(x_149); +if (x_162 == 0) +{ +lean_object* x_163; +x_163 = lean_ctor_get(x_149, 0); +lean_dec(x_163); +return x_149; +} +else +{ +lean_object* x_164; lean_object* x_165; +x_164 = lean_ctor_get(x_149, 1); +lean_inc(x_164); +lean_dec(x_149); +x_165 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_165, 0, x_150); +lean_ctor_set(x_165, 1, x_164); +return x_165; +} +} +} +} +else +{ +lean_object* x_166; lean_object* x_167; +lean_dec(x_132); +lean_dec(x_131); +lean_dec(x_2); +x_166 = lean_box(x_133); +x_167 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_167, 0, x_166); +lean_ctor_set(x_167, 1, x_134); +return x_167; +} +} +} +case 10: +{ +lean_object* x_179; lean_object* x_180; lean_object* x_181; uint8_t x_182; +x_179 = lean_ctor_get(x_3, 1); +lean_inc(x_179); +lean_dec(x_3); +lean_inc(x_179); +x_180 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_179, x_4); +x_181 = lean_ctor_get(x_180, 0); +lean_inc(x_181); +x_182 = lean_unbox(x_181); +if (x_182 == 0) +{ +uint8_t x_183; +lean_dec(x_179); +lean_dec(x_2); +x_183 = !lean_is_exclusive(x_180); +if (x_183 == 0) +{ +lean_object* x_184; +x_184 = lean_ctor_get(x_180, 0); +lean_dec(x_184); +return x_180; +} +else +{ +lean_object* x_185; lean_object* x_186; +x_185 = lean_ctor_get(x_180, 1); +lean_inc(x_185); +lean_dec(x_180); +x_186 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_186, 0, x_181); +lean_ctor_set(x_186, 1, x_185); +return x_186; +} +} +else +{ +lean_object* x_187; +lean_dec(x_181); +x_187 = lean_ctor_get(x_180, 1); +lean_inc(x_187); +lean_dec(x_180); +x_3 = x_179; +x_4 = x_187; +goto _start; +} +} +case 11: +{ +lean_object* x_189; lean_object* x_190; lean_object* x_191; uint8_t x_192; +x_189 = lean_ctor_get(x_3, 2); +lean_inc(x_189); +lean_dec(x_3); +lean_inc(x_189); +x_190 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_189, x_4); +x_191 = lean_ctor_get(x_190, 0); +lean_inc(x_191); +x_192 = lean_unbox(x_191); +if (x_192 == 0) +{ +uint8_t x_193; +lean_dec(x_189); +lean_dec(x_2); +x_193 = !lean_is_exclusive(x_190); +if (x_193 == 0) +{ +lean_object* x_194; +x_194 = lean_ctor_get(x_190, 0); +lean_dec(x_194); +return x_190; +} +else +{ +lean_object* x_195; lean_object* x_196; +x_195 = lean_ctor_get(x_190, 1); +lean_inc(x_195); +lean_dec(x_190); +x_196 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_196, 0, x_191); +lean_ctor_set(x_196, 1, x_195); +return x_196; +} +} +else +{ +lean_object* x_197; +lean_dec(x_191); +x_197 = lean_ctor_get(x_190, 1); +lean_inc(x_197); +lean_dec(x_190); +x_3 = x_189; +x_4 = x_197; +goto _start; +} +} +default: +{ +uint8_t x_199; lean_object* x_200; lean_object* x_201; +lean_dec(x_3); +lean_dec(x_2); +x_199 = 0; +x_200 = lean_box(x_199); +x_201 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_201, 0, x_200); +lean_ctor_set(x_201, 1, x_4); +return x_201; +} +} +} +} +uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__65(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_nat_dec_lt(x_5, x_4); +if (x_6 == 0) +{ +uint8_t x_7; +lean_dec(x_5); +x_7 = 0; +return x_7; +} +else +{ +lean_object* x_8; uint8_t x_9; +x_8 = lean_array_fget(x_3, x_5); +x_9 = l_PersistentArray_anyMAux___main___at_Lean_Meta_clear___spec__64(x_1, x_8); +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_5, x_10); +lean_dec(x_5); +x_5 = x_11; +goto _start; +} +else +{ +lean_dec(x_5); +return x_9; +} +} +} +} +uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__66(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_nat_dec_lt(x_5, x_4); +if (x_6 == 0) +{ +uint8_t x_7; +lean_dec(x_5); +x_7 = 0; +return x_7; +} +else +{ +lean_object* x_8; +x_8 = lean_array_fget(x_3, x_5); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_unsigned_to_nat(1u); +x_10 = lean_nat_add(x_5, x_9); +lean_dec(x_5); +x_5 = x_10; +goto _start; +} +else +{ +lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_12 = lean_ctor_get(x_8, 0); +lean_inc(x_12); +lean_dec(x_8); +x_13 = l_Lean_LocalDecl_fvarId(x_12); +lean_dec(x_12); +x_14 = lean_name_eq(x_13, x_1); +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_5, x_15); +lean_dec(x_5); +x_5 = x_16; +goto _start; +} +else +{ +lean_dec(x_5); +return x_14; +} +} +} +} +} +uint8_t l_PersistentArray_anyMAux___main___at_Lean_Meta_clear___spec__64(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; +x_3 = lean_ctor_get(x_2, 0); +x_4 = lean_array_get_size(x_3); +x_5 = lean_unsigned_to_nat(0u); +x_6 = l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__65(x_1, x_3, x_3, x_4, x_5); +lean_dec(x_4); +return x_6; +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_7 = lean_ctor_get(x_2, 0); +x_8 = lean_array_get_size(x_7); +x_9 = lean_unsigned_to_nat(0u); +x_10 = l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__66(x_1, x_7, x_7, x_8, x_9); +lean_dec(x_8); +return x_10; +} +} +} +uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__67(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_nat_dec_lt(x_5, x_4); +if (x_6 == 0) +{ +uint8_t x_7; +lean_dec(x_5); +x_7 = 0; +return x_7; +} +else +{ +lean_object* x_8; +x_8 = lean_array_fget(x_3, x_5); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_unsigned_to_nat(1u); +x_10 = lean_nat_add(x_5, x_9); +lean_dec(x_5); +x_5 = x_10; +goto _start; +} +else +{ +lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_12 = lean_ctor_get(x_8, 0); +lean_inc(x_12); +lean_dec(x_8); +x_13 = l_Lean_LocalDecl_fvarId(x_12); +lean_dec(x_12); +x_14 = lean_name_eq(x_13, x_1); +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_5, x_15); +lean_dec(x_5); +x_5 = x_16; +goto _start; +} +else +{ +lean_dec(x_5); +return x_14; +} +} +} +} +} +uint8_t l_PersistentArray_anyM___at_Lean_Meta_clear___spec__63(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_Meta_clear___spec__64(x_1, x_3); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; +x_5 = lean_ctor_get(x_2, 1); +x_6 = lean_array_get_size(x_5); +x_7 = lean_unsigned_to_nat(0u); +x_8 = l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__67(x_1, x_2, x_5, x_6, x_7); +lean_dec(x_6); +return x_8; +} +else +{ +return x_4; +} +} +} +lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__62(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; uint8_t x_6; lean_object* x_7; lean_object* x_8; +lean_dec(x_2); +x_5 = lean_ctor_get(x_3, 0); +lean_inc(x_5); +lean_dec(x_3); +x_6 = lean_name_eq(x_5, x_1); +lean_dec(x_5); +x_7 = lean_box(x_6); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_4); +return x_8; +} +case 2: +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_ctor_get(x_3, 0); +lean_inc(x_9); +lean_dec(x_3); +lean_inc(x_9); +lean_inc(x_2); +x_10 = lean_metavar_ctx_get_expr_assignment(x_2, x_9); +if (lean_obj_tag(x_10) == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_object* x_15; lean_object* x_16; +x_11 = l_Lean_MetavarContext_getDecl(x_2, x_9); +lean_dec(x_9); +x_12 = lean_ctor_get(x_11, 1); +lean_inc(x_12); +lean_dec(x_11); +x_13 = lean_ctor_get(x_12, 1); +lean_inc(x_13); +lean_dec(x_12); +x_14 = l_PersistentArray_anyM___at_Lean_Meta_clear___spec__63(x_1, x_13); +lean_dec(x_13); +x_15 = lean_box(x_14); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_4); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; +lean_dec(x_9); +x_17 = lean_ctor_get(x_10, 0); +lean_inc(x_17); +lean_dec(x_10); +lean_inc(x_17); +x_18 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_17, x_4); +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +x_20 = lean_unbox(x_19); +if (x_20 == 0) +{ +uint8_t x_21; +lean_dec(x_17); +lean_dec(x_2); +x_21 = !lean_is_exclusive(x_18); +if (x_21 == 0) +{ +lean_object* x_22; +x_22 = lean_ctor_get(x_18, 0); +lean_dec(x_22); +return x_18; +} +else +{ +lean_object* x_23; lean_object* x_24; +x_23 = lean_ctor_get(x_18, 1); +lean_inc(x_23); +lean_dec(x_18); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_19); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +else +{ +lean_object* x_25; +lean_dec(x_19); +x_25 = lean_ctor_get(x_18, 1); +lean_inc(x_25); +lean_dec(x_18); +x_3 = x_17; +x_4 = x_25; +goto _start; +} +} +} +case 5: +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; +x_27 = lean_ctor_get(x_3, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_3, 1); +lean_inc(x_28); +lean_dec(x_3); +lean_inc(x_28); +x_29 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_28, x_4); +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_unbox(x_30); +lean_dec(x_30); +if (x_31 == 0) +{ +lean_object* x_32; uint8_t x_33; +lean_dec(x_28); +x_32 = lean_ctor_get(x_29, 1); +lean_inc(x_32); +lean_dec(x_29); +x_33 = l_Lean_Expr_isApp(x_27); +if (x_33 == 0) +{ +lean_object* x_34; lean_object* x_35; uint8_t x_36; +lean_inc(x_27); +x_34 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_27, x_32); +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +x_36 = lean_unbox(x_35); +if (x_36 == 0) +{ +uint8_t x_37; +lean_dec(x_27); +lean_dec(x_2); +x_37 = !lean_is_exclusive(x_34); +if (x_37 == 0) +{ +lean_object* x_38; +x_38 = lean_ctor_get(x_34, 0); +lean_dec(x_38); +return x_34; +} +else +{ +lean_object* x_39; lean_object* x_40; +x_39 = lean_ctor_get(x_34, 1); +lean_inc(x_39); +lean_dec(x_34); +x_40 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_40, 0, x_35); +lean_ctor_set(x_40, 1, x_39); +return x_40; +} +} +else +{ +lean_object* x_41; +lean_dec(x_35); +x_41 = lean_ctor_get(x_34, 1); +lean_inc(x_41); +lean_dec(x_34); +x_3 = x_27; +x_4 = x_41; +goto _start; +} +} +else +{ +x_3 = x_27; +x_4 = x_32; +goto _start; +} +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; +x_44 = lean_ctor_get(x_29, 1); +lean_inc(x_44); +lean_dec(x_29); +lean_inc(x_2); +x_45 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__62(x_1, x_2, x_28, x_44); +x_46 = lean_ctor_get(x_45, 0); +lean_inc(x_46); +x_47 = lean_unbox(x_46); +if (x_47 == 0) +{ +lean_object* x_48; uint8_t x_49; +lean_dec(x_46); +x_48 = lean_ctor_get(x_45, 1); +lean_inc(x_48); +lean_dec(x_45); +x_49 = l_Lean_Expr_isApp(x_27); +if (x_49 == 0) +{ +lean_object* x_50; lean_object* x_51; uint8_t x_52; +lean_inc(x_27); +x_50 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_27, x_48); +x_51 = lean_ctor_get(x_50, 0); +lean_inc(x_51); +x_52 = lean_unbox(x_51); +if (x_52 == 0) +{ +uint8_t x_53; +lean_dec(x_27); +lean_dec(x_2); +x_53 = !lean_is_exclusive(x_50); +if (x_53 == 0) +{ +lean_object* x_54; +x_54 = lean_ctor_get(x_50, 0); +lean_dec(x_54); +return x_50; +} +else +{ +lean_object* x_55; lean_object* x_56; +x_55 = lean_ctor_get(x_50, 1); +lean_inc(x_55); +lean_dec(x_50); +x_56 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_56, 0, x_51); +lean_ctor_set(x_56, 1, x_55); +return x_56; +} +} +else +{ +lean_object* x_57; +lean_dec(x_51); +x_57 = lean_ctor_get(x_50, 1); +lean_inc(x_57); +lean_dec(x_50); +x_3 = x_27; +x_4 = x_57; +goto _start; +} +} +else +{ +x_3 = x_27; +x_4 = x_48; +goto _start; +} +} +else +{ +uint8_t x_60; +lean_dec(x_27); +lean_dec(x_2); +x_60 = !lean_is_exclusive(x_45); +if (x_60 == 0) +{ +lean_object* x_61; +x_61 = lean_ctor_get(x_45, 0); +lean_dec(x_61); +return x_45; +} +else +{ +lean_object* x_62; lean_object* x_63; +x_62 = lean_ctor_get(x_45, 1); +lean_inc(x_62); +lean_dec(x_45); +x_63 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_63, 0, x_46); +lean_ctor_set(x_63, 1, x_62); +return x_63; +} +} +} +} +case 6: +{ +lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; uint8_t x_68; +x_64 = lean_ctor_get(x_3, 1); +lean_inc(x_64); +x_65 = lean_ctor_get(x_3, 2); +lean_inc(x_65); +lean_dec(x_3); +lean_inc(x_64); +x_66 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_64, x_4); +x_67 = lean_ctor_get(x_66, 0); +lean_inc(x_67); +x_68 = lean_unbox(x_67); +lean_dec(x_67); +if (x_68 == 0) +{ +lean_object* x_69; lean_object* x_70; lean_object* x_71; uint8_t x_72; +lean_dec(x_64); +x_69 = lean_ctor_get(x_66, 1); +lean_inc(x_69); +lean_dec(x_66); +lean_inc(x_65); +x_70 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_65, x_69); +x_71 = lean_ctor_get(x_70, 0); +lean_inc(x_71); +x_72 = lean_unbox(x_71); +if (x_72 == 0) +{ +uint8_t x_73; +lean_dec(x_65); +lean_dec(x_2); +x_73 = !lean_is_exclusive(x_70); +if (x_73 == 0) +{ +lean_object* x_74; +x_74 = lean_ctor_get(x_70, 0); +lean_dec(x_74); +return x_70; +} +else +{ +lean_object* x_75; lean_object* x_76; +x_75 = lean_ctor_get(x_70, 1); +lean_inc(x_75); +lean_dec(x_70); +x_76 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_76, 0, x_71); +lean_ctor_set(x_76, 1, x_75); +return x_76; +} +} +else +{ +lean_object* x_77; +lean_dec(x_71); +x_77 = lean_ctor_get(x_70, 1); +lean_inc(x_77); +lean_dec(x_70); +x_3 = x_65; +x_4 = x_77; +goto _start; +} +} +else +{ +lean_object* x_79; lean_object* x_80; lean_object* x_81; uint8_t x_82; +x_79 = lean_ctor_get(x_66, 1); +lean_inc(x_79); +lean_dec(x_66); +lean_inc(x_2); +x_80 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__62(x_1, x_2, x_64, x_79); +x_81 = lean_ctor_get(x_80, 0); +lean_inc(x_81); +x_82 = lean_unbox(x_81); +if (x_82 == 0) +{ +lean_object* x_83; lean_object* x_84; lean_object* x_85; uint8_t x_86; +lean_dec(x_81); +x_83 = lean_ctor_get(x_80, 1); +lean_inc(x_83); +lean_dec(x_80); +lean_inc(x_65); +x_84 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_65, x_83); +x_85 = lean_ctor_get(x_84, 0); +lean_inc(x_85); +x_86 = lean_unbox(x_85); +if (x_86 == 0) +{ +uint8_t x_87; +lean_dec(x_65); +lean_dec(x_2); +x_87 = !lean_is_exclusive(x_84); +if (x_87 == 0) +{ +lean_object* x_88; +x_88 = lean_ctor_get(x_84, 0); +lean_dec(x_88); +return x_84; +} +else +{ +lean_object* x_89; lean_object* x_90; +x_89 = lean_ctor_get(x_84, 1); +lean_inc(x_89); +lean_dec(x_84); +x_90 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_90, 0, x_85); +lean_ctor_set(x_90, 1, x_89); +return x_90; +} +} +else +{ +lean_object* x_91; +lean_dec(x_85); +x_91 = lean_ctor_get(x_84, 1); +lean_inc(x_91); +lean_dec(x_84); +x_3 = x_65; +x_4 = x_91; +goto _start; +} +} +else +{ +uint8_t x_93; +lean_dec(x_65); +lean_dec(x_2); +x_93 = !lean_is_exclusive(x_80); +if (x_93 == 0) +{ +lean_object* x_94; +x_94 = lean_ctor_get(x_80, 0); +lean_dec(x_94); +return x_80; +} +else +{ +lean_object* x_95; lean_object* x_96; +x_95 = lean_ctor_get(x_80, 1); +lean_inc(x_95); +lean_dec(x_80); +x_96 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_96, 0, x_81); +lean_ctor_set(x_96, 1, x_95); +return x_96; +} +} +} +} +case 7: +{ +lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; uint8_t x_101; +x_97 = lean_ctor_get(x_3, 1); +lean_inc(x_97); +x_98 = lean_ctor_get(x_3, 2); +lean_inc(x_98); +lean_dec(x_3); +lean_inc(x_97); +x_99 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_97, x_4); +x_100 = lean_ctor_get(x_99, 0); +lean_inc(x_100); +x_101 = lean_unbox(x_100); +lean_dec(x_100); +if (x_101 == 0) +{ +lean_object* x_102; lean_object* x_103; lean_object* x_104; uint8_t x_105; +lean_dec(x_97); +x_102 = lean_ctor_get(x_99, 1); +lean_inc(x_102); +lean_dec(x_99); +lean_inc(x_98); +x_103 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_98, x_102); +x_104 = lean_ctor_get(x_103, 0); +lean_inc(x_104); +x_105 = lean_unbox(x_104); +if (x_105 == 0) +{ +uint8_t x_106; +lean_dec(x_98); +lean_dec(x_2); +x_106 = !lean_is_exclusive(x_103); +if (x_106 == 0) +{ +lean_object* x_107; +x_107 = lean_ctor_get(x_103, 0); +lean_dec(x_107); +return x_103; +} +else +{ +lean_object* x_108; lean_object* x_109; +x_108 = lean_ctor_get(x_103, 1); +lean_inc(x_108); +lean_dec(x_103); +x_109 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_109, 0, x_104); +lean_ctor_set(x_109, 1, x_108); +return x_109; +} +} +else +{ +lean_object* x_110; +lean_dec(x_104); +x_110 = lean_ctor_get(x_103, 1); +lean_inc(x_110); +lean_dec(x_103); +x_3 = x_98; +x_4 = x_110; +goto _start; +} +} +else +{ +lean_object* x_112; lean_object* x_113; lean_object* x_114; uint8_t x_115; +x_112 = lean_ctor_get(x_99, 1); +lean_inc(x_112); +lean_dec(x_99); +lean_inc(x_2); +x_113 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__62(x_1, x_2, x_97, x_112); +x_114 = lean_ctor_get(x_113, 0); +lean_inc(x_114); +x_115 = lean_unbox(x_114); +if (x_115 == 0) +{ +lean_object* x_116; lean_object* x_117; lean_object* x_118; uint8_t x_119; +lean_dec(x_114); +x_116 = lean_ctor_get(x_113, 1); +lean_inc(x_116); +lean_dec(x_113); +lean_inc(x_98); +x_117 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_98, x_116); +x_118 = lean_ctor_get(x_117, 0); +lean_inc(x_118); +x_119 = lean_unbox(x_118); +if (x_119 == 0) +{ +uint8_t x_120; +lean_dec(x_98); +lean_dec(x_2); +x_120 = !lean_is_exclusive(x_117); +if (x_120 == 0) +{ +lean_object* x_121; +x_121 = lean_ctor_get(x_117, 0); +lean_dec(x_121); +return x_117; +} +else +{ +lean_object* x_122; lean_object* x_123; +x_122 = lean_ctor_get(x_117, 1); +lean_inc(x_122); +lean_dec(x_117); +x_123 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_123, 0, x_118); +lean_ctor_set(x_123, 1, x_122); +return x_123; +} +} +else +{ +lean_object* x_124; +lean_dec(x_118); +x_124 = lean_ctor_get(x_117, 1); +lean_inc(x_124); +lean_dec(x_117); +x_3 = x_98; +x_4 = x_124; +goto _start; +} +} +else +{ +uint8_t x_126; +lean_dec(x_98); +lean_dec(x_2); +x_126 = !lean_is_exclusive(x_113); +if (x_126 == 0) +{ +lean_object* x_127; +x_127 = lean_ctor_get(x_113, 0); +lean_dec(x_127); +return x_113; +} +else +{ +lean_object* x_128; lean_object* x_129; +x_128 = lean_ctor_get(x_113, 1); +lean_inc(x_128); +lean_dec(x_113); +x_129 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_129, 0, x_114); +lean_ctor_set(x_129, 1, x_128); +return x_129; +} +} +} +} +case 8: +{ +lean_object* x_130; lean_object* x_131; lean_object* x_132; uint8_t x_133; lean_object* x_134; lean_object* x_169; lean_object* x_170; uint8_t x_171; +x_130 = lean_ctor_get(x_3, 1); +lean_inc(x_130); +x_131 = lean_ctor_get(x_3, 2); +lean_inc(x_131); +x_132 = lean_ctor_get(x_3, 3); +lean_inc(x_132); +lean_dec(x_3); +lean_inc(x_130); +x_169 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_130, x_4); +x_170 = lean_ctor_get(x_169, 0); +lean_inc(x_170); +x_171 = lean_unbox(x_170); +if (x_171 == 0) +{ +lean_object* x_172; uint8_t x_173; +lean_dec(x_130); +x_172 = lean_ctor_get(x_169, 1); +lean_inc(x_172); +lean_dec(x_169); +x_173 = lean_unbox(x_170); +lean_dec(x_170); +x_133 = x_173; +x_134 = x_172; +goto block_168; +} +else +{ +lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; uint8_t x_178; +lean_dec(x_170); +x_174 = lean_ctor_get(x_169, 1); +lean_inc(x_174); +lean_dec(x_169); +lean_inc(x_2); +x_175 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__62(x_1, x_2, x_130, x_174); +x_176 = lean_ctor_get(x_175, 0); +lean_inc(x_176); +x_177 = lean_ctor_get(x_175, 1); +lean_inc(x_177); +lean_dec(x_175); +x_178 = lean_unbox(x_176); +lean_dec(x_176); +x_133 = x_178; +x_134 = x_177; +goto block_168; +} +block_168: +{ +if (x_133 == 0) +{ +lean_object* x_135; lean_object* x_136; uint8_t x_137; +lean_inc(x_131); +x_135 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_131, x_134); +x_136 = lean_ctor_get(x_135, 0); +lean_inc(x_136); +x_137 = lean_unbox(x_136); +lean_dec(x_136); +if (x_137 == 0) +{ +lean_object* x_138; lean_object* x_139; lean_object* x_140; uint8_t x_141; +lean_dec(x_131); +x_138 = lean_ctor_get(x_135, 1); +lean_inc(x_138); +lean_dec(x_135); +lean_inc(x_132); +x_139 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_132, x_138); +x_140 = lean_ctor_get(x_139, 0); +lean_inc(x_140); +x_141 = lean_unbox(x_140); +if (x_141 == 0) +{ +uint8_t x_142; +lean_dec(x_132); +lean_dec(x_2); +x_142 = !lean_is_exclusive(x_139); +if (x_142 == 0) +{ +lean_object* x_143; +x_143 = lean_ctor_get(x_139, 0); +lean_dec(x_143); +return x_139; +} +else +{ +lean_object* x_144; lean_object* x_145; +x_144 = lean_ctor_get(x_139, 1); +lean_inc(x_144); +lean_dec(x_139); +x_145 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_145, 0, x_140); +lean_ctor_set(x_145, 1, x_144); +return x_145; +} +} +else +{ +lean_object* x_146; +lean_dec(x_140); +x_146 = lean_ctor_get(x_139, 1); +lean_inc(x_146); +lean_dec(x_139); +x_3 = x_132; +x_4 = x_146; +goto _start; +} +} +else +{ +lean_object* x_148; lean_object* x_149; lean_object* x_150; uint8_t x_151; +x_148 = lean_ctor_get(x_135, 1); +lean_inc(x_148); +lean_dec(x_135); +lean_inc(x_2); +x_149 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__62(x_1, x_2, x_131, x_148); +x_150 = lean_ctor_get(x_149, 0); +lean_inc(x_150); +x_151 = lean_unbox(x_150); +if (x_151 == 0) +{ +lean_object* x_152; lean_object* x_153; lean_object* x_154; uint8_t x_155; +lean_dec(x_150); +x_152 = lean_ctor_get(x_149, 1); +lean_inc(x_152); +lean_dec(x_149); +lean_inc(x_132); +x_153 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_132, x_152); +x_154 = lean_ctor_get(x_153, 0); +lean_inc(x_154); +x_155 = lean_unbox(x_154); +if (x_155 == 0) +{ +uint8_t x_156; +lean_dec(x_132); +lean_dec(x_2); +x_156 = !lean_is_exclusive(x_153); +if (x_156 == 0) +{ +lean_object* x_157; +x_157 = lean_ctor_get(x_153, 0); +lean_dec(x_157); +return x_153; +} +else +{ +lean_object* x_158; lean_object* x_159; +x_158 = lean_ctor_get(x_153, 1); +lean_inc(x_158); +lean_dec(x_153); +x_159 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_159, 0, x_154); +lean_ctor_set(x_159, 1, x_158); +return x_159; +} +} +else +{ +lean_object* x_160; +lean_dec(x_154); +x_160 = lean_ctor_get(x_153, 1); +lean_inc(x_160); +lean_dec(x_153); +x_3 = x_132; +x_4 = x_160; +goto _start; +} +} +else +{ +uint8_t x_162; +lean_dec(x_132); +lean_dec(x_2); +x_162 = !lean_is_exclusive(x_149); +if (x_162 == 0) +{ +lean_object* x_163; +x_163 = lean_ctor_get(x_149, 0); +lean_dec(x_163); +return x_149; +} +else +{ +lean_object* x_164; lean_object* x_165; +x_164 = lean_ctor_get(x_149, 1); +lean_inc(x_164); +lean_dec(x_149); +x_165 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_165, 0, x_150); +lean_ctor_set(x_165, 1, x_164); +return x_165; +} +} +} +} +else +{ +lean_object* x_166; lean_object* x_167; +lean_dec(x_132); +lean_dec(x_131); +lean_dec(x_2); +x_166 = lean_box(x_133); +x_167 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_167, 0, x_166); +lean_ctor_set(x_167, 1, x_134); +return x_167; +} +} +} +case 10: +{ +lean_object* x_179; lean_object* x_180; lean_object* x_181; uint8_t x_182; +x_179 = lean_ctor_get(x_3, 1); +lean_inc(x_179); +lean_dec(x_3); +lean_inc(x_179); +x_180 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_179, x_4); +x_181 = lean_ctor_get(x_180, 0); +lean_inc(x_181); +x_182 = lean_unbox(x_181); +if (x_182 == 0) +{ +uint8_t x_183; +lean_dec(x_179); +lean_dec(x_2); +x_183 = !lean_is_exclusive(x_180); +if (x_183 == 0) +{ +lean_object* x_184; +x_184 = lean_ctor_get(x_180, 0); +lean_dec(x_184); +return x_180; +} +else +{ +lean_object* x_185; lean_object* x_186; +x_185 = lean_ctor_get(x_180, 1); +lean_inc(x_185); +lean_dec(x_180); +x_186 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_186, 0, x_181); +lean_ctor_set(x_186, 1, x_185); +return x_186; +} +} +else +{ +lean_object* x_187; +lean_dec(x_181); +x_187 = lean_ctor_get(x_180, 1); +lean_inc(x_187); +lean_dec(x_180); +x_3 = x_179; +x_4 = x_187; +goto _start; +} +} +case 11: +{ +lean_object* x_189; lean_object* x_190; lean_object* x_191; uint8_t x_192; +x_189 = lean_ctor_get(x_3, 2); +lean_inc(x_189); +lean_dec(x_3); +lean_inc(x_189); +x_190 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_189, x_4); +x_191 = lean_ctor_get(x_190, 0); +lean_inc(x_191); +x_192 = lean_unbox(x_191); +if (x_192 == 0) +{ +uint8_t x_193; +lean_dec(x_189); +lean_dec(x_2); +x_193 = !lean_is_exclusive(x_190); +if (x_193 == 0) +{ +lean_object* x_194; +x_194 = lean_ctor_get(x_190, 0); +lean_dec(x_194); +return x_190; +} +else +{ +lean_object* x_195; lean_object* x_196; +x_195 = lean_ctor_get(x_190, 1); +lean_inc(x_195); +lean_dec(x_190); +x_196 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_196, 0, x_191); +lean_ctor_set(x_196, 1, x_195); +return x_196; +} +} +else +{ +lean_object* x_197; +lean_dec(x_191); +x_197 = lean_ctor_get(x_190, 1); +lean_inc(x_197); +lean_dec(x_190); +x_3 = x_189; +x_4 = x_197; +goto _start; +} +} +default: +{ +uint8_t x_199; lean_object* x_200; lean_object* x_201; +lean_dec(x_3); +lean_dec(x_2); +x_199 = 0; +x_200 = lean_box(x_199); +x_201 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_201, 0, x_200); +lean_ctor_set(x_201, 1, x_4); +return x_201; +} +} +} +} +uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__71(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_nat_dec_lt(x_5, x_4); +if (x_6 == 0) +{ +uint8_t x_7; +lean_dec(x_5); +x_7 = 0; +return x_7; +} +else +{ +lean_object* x_8; uint8_t x_9; +x_8 = lean_array_fget(x_3, x_5); +x_9 = l_PersistentArray_anyMAux___main___at_Lean_Meta_clear___spec__70(x_1, x_8); +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_5, x_10); +lean_dec(x_5); +x_5 = x_11; +goto _start; +} +else +{ +lean_dec(x_5); +return x_9; +} +} +} +} +uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__72(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_nat_dec_lt(x_5, x_4); +if (x_6 == 0) +{ +uint8_t x_7; +lean_dec(x_5); +x_7 = 0; +return x_7; +} +else +{ +lean_object* x_8; +x_8 = lean_array_fget(x_3, x_5); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_unsigned_to_nat(1u); +x_10 = lean_nat_add(x_5, x_9); +lean_dec(x_5); +x_5 = x_10; +goto _start; +} +else +{ +lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_12 = lean_ctor_get(x_8, 0); +lean_inc(x_12); +lean_dec(x_8); +x_13 = l_Lean_LocalDecl_fvarId(x_12); +lean_dec(x_12); +x_14 = lean_name_eq(x_13, x_1); +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_5, x_15); +lean_dec(x_5); +x_5 = x_16; +goto _start; +} +else +{ +lean_dec(x_5); +return x_14; +} +} +} +} +} +uint8_t l_PersistentArray_anyMAux___main___at_Lean_Meta_clear___spec__70(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; +x_3 = lean_ctor_get(x_2, 0); +x_4 = lean_array_get_size(x_3); +x_5 = lean_unsigned_to_nat(0u); +x_6 = l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__71(x_1, x_3, x_3, x_4, x_5); +lean_dec(x_4); +return x_6; +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_7 = lean_ctor_get(x_2, 0); +x_8 = lean_array_get_size(x_7); +x_9 = lean_unsigned_to_nat(0u); +x_10 = l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__72(x_1, x_7, x_7, x_8, x_9); +lean_dec(x_8); +return x_10; +} +} +} +uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__73(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_nat_dec_lt(x_5, x_4); +if (x_6 == 0) +{ +uint8_t x_7; +lean_dec(x_5); +x_7 = 0; +return x_7; +} +else +{ +lean_object* x_8; +x_8 = lean_array_fget(x_3, x_5); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_unsigned_to_nat(1u); +x_10 = lean_nat_add(x_5, x_9); +lean_dec(x_5); +x_5 = x_10; +goto _start; +} +else +{ +lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_12 = lean_ctor_get(x_8, 0); +lean_inc(x_12); +lean_dec(x_8); +x_13 = l_Lean_LocalDecl_fvarId(x_12); +lean_dec(x_12); +x_14 = lean_name_eq(x_13, x_1); +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_5, x_15); +lean_dec(x_5); +x_5 = x_16; +goto _start; +} +else +{ +lean_dec(x_5); +return x_14; +} +} +} +} +} +uint8_t l_PersistentArray_anyM___at_Lean_Meta_clear___spec__69(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_Meta_clear___spec__70(x_1, x_3); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; +x_5 = lean_ctor_get(x_2, 1); +x_6 = lean_array_get_size(x_5); +x_7 = lean_unsigned_to_nat(0u); +x_8 = l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__73(x_1, x_2, x_5, x_6, x_7); +lean_dec(x_6); +return x_8; +} +else +{ +return x_4; +} +} +} +lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__68(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; uint8_t x_6; lean_object* x_7; lean_object* x_8; +lean_dec(x_2); +x_5 = lean_ctor_get(x_3, 0); +lean_inc(x_5); +lean_dec(x_3); +x_6 = lean_name_eq(x_5, x_1); +lean_dec(x_5); +x_7 = lean_box(x_6); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_4); +return x_8; +} +case 2: +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_ctor_get(x_3, 0); +lean_inc(x_9); +lean_dec(x_3); +lean_inc(x_9); +lean_inc(x_2); +x_10 = lean_metavar_ctx_get_expr_assignment(x_2, x_9); +if (lean_obj_tag(x_10) == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_object* x_15; lean_object* x_16; +x_11 = l_Lean_MetavarContext_getDecl(x_2, x_9); +lean_dec(x_9); +x_12 = lean_ctor_get(x_11, 1); +lean_inc(x_12); +lean_dec(x_11); +x_13 = lean_ctor_get(x_12, 1); +lean_inc(x_13); +lean_dec(x_12); +x_14 = l_PersistentArray_anyM___at_Lean_Meta_clear___spec__69(x_1, x_13); +lean_dec(x_13); +x_15 = lean_box(x_14); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_4); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; +lean_dec(x_9); +x_17 = lean_ctor_get(x_10, 0); +lean_inc(x_17); +lean_dec(x_10); +lean_inc(x_17); +x_18 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_17, x_4); +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +x_20 = lean_unbox(x_19); +if (x_20 == 0) +{ +uint8_t x_21; +lean_dec(x_17); +lean_dec(x_2); +x_21 = !lean_is_exclusive(x_18); +if (x_21 == 0) +{ +lean_object* x_22; +x_22 = lean_ctor_get(x_18, 0); +lean_dec(x_22); +return x_18; +} +else +{ +lean_object* x_23; lean_object* x_24; +x_23 = lean_ctor_get(x_18, 1); +lean_inc(x_23); +lean_dec(x_18); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_19); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +else +{ +lean_object* x_25; +lean_dec(x_19); +x_25 = lean_ctor_get(x_18, 1); +lean_inc(x_25); +lean_dec(x_18); +x_3 = x_17; +x_4 = x_25; +goto _start; +} +} +} +case 5: +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; +x_27 = lean_ctor_get(x_3, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_3, 1); +lean_inc(x_28); +lean_dec(x_3); +lean_inc(x_28); +x_29 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_28, x_4); +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_unbox(x_30); +lean_dec(x_30); +if (x_31 == 0) +{ +lean_object* x_32; uint8_t x_33; +lean_dec(x_28); +x_32 = lean_ctor_get(x_29, 1); +lean_inc(x_32); +lean_dec(x_29); +x_33 = l_Lean_Expr_isApp(x_27); +if (x_33 == 0) +{ +lean_object* x_34; lean_object* x_35; uint8_t x_36; +lean_inc(x_27); +x_34 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_27, x_32); +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +x_36 = lean_unbox(x_35); +if (x_36 == 0) +{ +uint8_t x_37; +lean_dec(x_27); +lean_dec(x_2); +x_37 = !lean_is_exclusive(x_34); +if (x_37 == 0) +{ +lean_object* x_38; +x_38 = lean_ctor_get(x_34, 0); +lean_dec(x_38); +return x_34; +} +else +{ +lean_object* x_39; lean_object* x_40; +x_39 = lean_ctor_get(x_34, 1); +lean_inc(x_39); +lean_dec(x_34); +x_40 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_40, 0, x_35); +lean_ctor_set(x_40, 1, x_39); +return x_40; +} +} +else +{ +lean_object* x_41; +lean_dec(x_35); +x_41 = lean_ctor_get(x_34, 1); +lean_inc(x_41); +lean_dec(x_34); +x_3 = x_27; +x_4 = x_41; +goto _start; +} +} +else +{ +x_3 = x_27; +x_4 = x_32; +goto _start; +} +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; +x_44 = lean_ctor_get(x_29, 1); +lean_inc(x_44); +lean_dec(x_29); +lean_inc(x_2); +x_45 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__68(x_1, x_2, x_28, x_44); +x_46 = lean_ctor_get(x_45, 0); +lean_inc(x_46); +x_47 = lean_unbox(x_46); +if (x_47 == 0) +{ +lean_object* x_48; uint8_t x_49; +lean_dec(x_46); +x_48 = lean_ctor_get(x_45, 1); +lean_inc(x_48); +lean_dec(x_45); +x_49 = l_Lean_Expr_isApp(x_27); +if (x_49 == 0) +{ +lean_object* x_50; lean_object* x_51; uint8_t x_52; +lean_inc(x_27); +x_50 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_27, x_48); +x_51 = lean_ctor_get(x_50, 0); +lean_inc(x_51); +x_52 = lean_unbox(x_51); +if (x_52 == 0) +{ +uint8_t x_53; +lean_dec(x_27); +lean_dec(x_2); +x_53 = !lean_is_exclusive(x_50); +if (x_53 == 0) +{ +lean_object* x_54; +x_54 = lean_ctor_get(x_50, 0); +lean_dec(x_54); +return x_50; +} +else +{ +lean_object* x_55; lean_object* x_56; +x_55 = lean_ctor_get(x_50, 1); +lean_inc(x_55); +lean_dec(x_50); +x_56 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_56, 0, x_51); +lean_ctor_set(x_56, 1, x_55); +return x_56; +} +} +else +{ +lean_object* x_57; +lean_dec(x_51); +x_57 = lean_ctor_get(x_50, 1); +lean_inc(x_57); +lean_dec(x_50); +x_3 = x_27; +x_4 = x_57; +goto _start; +} +} +else +{ +x_3 = x_27; +x_4 = x_48; +goto _start; +} +} +else +{ +uint8_t x_60; +lean_dec(x_27); +lean_dec(x_2); +x_60 = !lean_is_exclusive(x_45); +if (x_60 == 0) +{ +lean_object* x_61; +x_61 = lean_ctor_get(x_45, 0); +lean_dec(x_61); +return x_45; +} +else +{ +lean_object* x_62; lean_object* x_63; +x_62 = lean_ctor_get(x_45, 1); +lean_inc(x_62); +lean_dec(x_45); +x_63 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_63, 0, x_46); +lean_ctor_set(x_63, 1, x_62); +return x_63; +} +} +} +} +case 6: +{ +lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; uint8_t x_68; +x_64 = lean_ctor_get(x_3, 1); +lean_inc(x_64); +x_65 = lean_ctor_get(x_3, 2); +lean_inc(x_65); +lean_dec(x_3); +lean_inc(x_64); +x_66 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_64, x_4); +x_67 = lean_ctor_get(x_66, 0); +lean_inc(x_67); +x_68 = lean_unbox(x_67); +lean_dec(x_67); +if (x_68 == 0) +{ +lean_object* x_69; lean_object* x_70; lean_object* x_71; uint8_t x_72; +lean_dec(x_64); +x_69 = lean_ctor_get(x_66, 1); +lean_inc(x_69); +lean_dec(x_66); +lean_inc(x_65); +x_70 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_65, x_69); +x_71 = lean_ctor_get(x_70, 0); +lean_inc(x_71); +x_72 = lean_unbox(x_71); +if (x_72 == 0) +{ +uint8_t x_73; +lean_dec(x_65); +lean_dec(x_2); +x_73 = !lean_is_exclusive(x_70); +if (x_73 == 0) +{ +lean_object* x_74; +x_74 = lean_ctor_get(x_70, 0); +lean_dec(x_74); +return x_70; +} +else +{ +lean_object* x_75; lean_object* x_76; +x_75 = lean_ctor_get(x_70, 1); +lean_inc(x_75); +lean_dec(x_70); +x_76 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_76, 0, x_71); +lean_ctor_set(x_76, 1, x_75); +return x_76; +} +} +else +{ +lean_object* x_77; +lean_dec(x_71); +x_77 = lean_ctor_get(x_70, 1); +lean_inc(x_77); +lean_dec(x_70); +x_3 = x_65; +x_4 = x_77; +goto _start; +} +} +else +{ +lean_object* x_79; lean_object* x_80; lean_object* x_81; uint8_t x_82; +x_79 = lean_ctor_get(x_66, 1); +lean_inc(x_79); +lean_dec(x_66); +lean_inc(x_2); +x_80 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__68(x_1, x_2, x_64, x_79); +x_81 = lean_ctor_get(x_80, 0); +lean_inc(x_81); +x_82 = lean_unbox(x_81); +if (x_82 == 0) +{ +lean_object* x_83; lean_object* x_84; lean_object* x_85; uint8_t x_86; +lean_dec(x_81); +x_83 = lean_ctor_get(x_80, 1); +lean_inc(x_83); +lean_dec(x_80); +lean_inc(x_65); +x_84 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_65, x_83); +x_85 = lean_ctor_get(x_84, 0); +lean_inc(x_85); +x_86 = lean_unbox(x_85); +if (x_86 == 0) +{ +uint8_t x_87; +lean_dec(x_65); +lean_dec(x_2); +x_87 = !lean_is_exclusive(x_84); +if (x_87 == 0) +{ +lean_object* x_88; +x_88 = lean_ctor_get(x_84, 0); +lean_dec(x_88); +return x_84; +} +else +{ +lean_object* x_89; lean_object* x_90; +x_89 = lean_ctor_get(x_84, 1); +lean_inc(x_89); +lean_dec(x_84); +x_90 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_90, 0, x_85); +lean_ctor_set(x_90, 1, x_89); +return x_90; +} +} +else +{ +lean_object* x_91; +lean_dec(x_85); +x_91 = lean_ctor_get(x_84, 1); +lean_inc(x_91); +lean_dec(x_84); +x_3 = x_65; +x_4 = x_91; +goto _start; +} +} +else +{ +uint8_t x_93; +lean_dec(x_65); +lean_dec(x_2); +x_93 = !lean_is_exclusive(x_80); +if (x_93 == 0) +{ +lean_object* x_94; +x_94 = lean_ctor_get(x_80, 0); +lean_dec(x_94); +return x_80; +} +else +{ +lean_object* x_95; lean_object* x_96; +x_95 = lean_ctor_get(x_80, 1); +lean_inc(x_95); +lean_dec(x_80); +x_96 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_96, 0, x_81); +lean_ctor_set(x_96, 1, x_95); +return x_96; +} +} +} +} +case 7: +{ +lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; uint8_t x_101; +x_97 = lean_ctor_get(x_3, 1); +lean_inc(x_97); +x_98 = lean_ctor_get(x_3, 2); +lean_inc(x_98); +lean_dec(x_3); +lean_inc(x_97); +x_99 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_97, x_4); +x_100 = lean_ctor_get(x_99, 0); +lean_inc(x_100); +x_101 = lean_unbox(x_100); +lean_dec(x_100); +if (x_101 == 0) +{ +lean_object* x_102; lean_object* x_103; lean_object* x_104; uint8_t x_105; +lean_dec(x_97); +x_102 = lean_ctor_get(x_99, 1); +lean_inc(x_102); +lean_dec(x_99); +lean_inc(x_98); +x_103 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_98, x_102); +x_104 = lean_ctor_get(x_103, 0); +lean_inc(x_104); +x_105 = lean_unbox(x_104); +if (x_105 == 0) +{ +uint8_t x_106; +lean_dec(x_98); +lean_dec(x_2); +x_106 = !lean_is_exclusive(x_103); +if (x_106 == 0) +{ +lean_object* x_107; +x_107 = lean_ctor_get(x_103, 0); +lean_dec(x_107); +return x_103; +} +else +{ +lean_object* x_108; lean_object* x_109; +x_108 = lean_ctor_get(x_103, 1); +lean_inc(x_108); +lean_dec(x_103); +x_109 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_109, 0, x_104); +lean_ctor_set(x_109, 1, x_108); +return x_109; +} +} +else +{ +lean_object* x_110; +lean_dec(x_104); +x_110 = lean_ctor_get(x_103, 1); +lean_inc(x_110); +lean_dec(x_103); +x_3 = x_98; +x_4 = x_110; +goto _start; +} +} +else +{ +lean_object* x_112; lean_object* x_113; lean_object* x_114; uint8_t x_115; +x_112 = lean_ctor_get(x_99, 1); +lean_inc(x_112); +lean_dec(x_99); +lean_inc(x_2); +x_113 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__68(x_1, x_2, x_97, x_112); +x_114 = lean_ctor_get(x_113, 0); +lean_inc(x_114); +x_115 = lean_unbox(x_114); +if (x_115 == 0) +{ +lean_object* x_116; lean_object* x_117; lean_object* x_118; uint8_t x_119; +lean_dec(x_114); +x_116 = lean_ctor_get(x_113, 1); +lean_inc(x_116); +lean_dec(x_113); +lean_inc(x_98); +x_117 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_98, x_116); +x_118 = lean_ctor_get(x_117, 0); +lean_inc(x_118); +x_119 = lean_unbox(x_118); +if (x_119 == 0) +{ +uint8_t x_120; +lean_dec(x_98); +lean_dec(x_2); +x_120 = !lean_is_exclusive(x_117); +if (x_120 == 0) +{ +lean_object* x_121; +x_121 = lean_ctor_get(x_117, 0); +lean_dec(x_121); +return x_117; +} +else +{ +lean_object* x_122; lean_object* x_123; +x_122 = lean_ctor_get(x_117, 1); +lean_inc(x_122); +lean_dec(x_117); +x_123 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_123, 0, x_118); +lean_ctor_set(x_123, 1, x_122); +return x_123; +} +} +else +{ +lean_object* x_124; +lean_dec(x_118); +x_124 = lean_ctor_get(x_117, 1); +lean_inc(x_124); +lean_dec(x_117); +x_3 = x_98; +x_4 = x_124; +goto _start; +} +} +else +{ +uint8_t x_126; +lean_dec(x_98); +lean_dec(x_2); +x_126 = !lean_is_exclusive(x_113); +if (x_126 == 0) +{ +lean_object* x_127; +x_127 = lean_ctor_get(x_113, 0); +lean_dec(x_127); +return x_113; +} +else +{ +lean_object* x_128; lean_object* x_129; +x_128 = lean_ctor_get(x_113, 1); +lean_inc(x_128); +lean_dec(x_113); +x_129 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_129, 0, x_114); +lean_ctor_set(x_129, 1, x_128); +return x_129; +} +} +} +} +case 8: +{ +lean_object* x_130; lean_object* x_131; lean_object* x_132; uint8_t x_133; lean_object* x_134; lean_object* x_169; lean_object* x_170; uint8_t x_171; +x_130 = lean_ctor_get(x_3, 1); +lean_inc(x_130); +x_131 = lean_ctor_get(x_3, 2); +lean_inc(x_131); +x_132 = lean_ctor_get(x_3, 3); +lean_inc(x_132); +lean_dec(x_3); +lean_inc(x_130); +x_169 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_130, x_4); +x_170 = lean_ctor_get(x_169, 0); +lean_inc(x_170); +x_171 = lean_unbox(x_170); +if (x_171 == 0) +{ +lean_object* x_172; uint8_t x_173; +lean_dec(x_130); +x_172 = lean_ctor_get(x_169, 1); +lean_inc(x_172); +lean_dec(x_169); +x_173 = lean_unbox(x_170); +lean_dec(x_170); +x_133 = x_173; +x_134 = x_172; +goto block_168; +} +else +{ +lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; uint8_t x_178; +lean_dec(x_170); +x_174 = lean_ctor_get(x_169, 1); +lean_inc(x_174); +lean_dec(x_169); +lean_inc(x_2); +x_175 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__68(x_1, x_2, x_130, x_174); +x_176 = lean_ctor_get(x_175, 0); +lean_inc(x_176); +x_177 = lean_ctor_get(x_175, 1); +lean_inc(x_177); +lean_dec(x_175); +x_178 = lean_unbox(x_176); +lean_dec(x_176); +x_133 = x_178; +x_134 = x_177; +goto block_168; +} +block_168: +{ +if (x_133 == 0) +{ +lean_object* x_135; lean_object* x_136; uint8_t x_137; +lean_inc(x_131); +x_135 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_131, x_134); +x_136 = lean_ctor_get(x_135, 0); +lean_inc(x_136); +x_137 = lean_unbox(x_136); +lean_dec(x_136); +if (x_137 == 0) +{ +lean_object* x_138; lean_object* x_139; lean_object* x_140; uint8_t x_141; +lean_dec(x_131); +x_138 = lean_ctor_get(x_135, 1); +lean_inc(x_138); +lean_dec(x_135); +lean_inc(x_132); +x_139 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_132, x_138); +x_140 = lean_ctor_get(x_139, 0); +lean_inc(x_140); +x_141 = lean_unbox(x_140); +if (x_141 == 0) +{ +uint8_t x_142; +lean_dec(x_132); +lean_dec(x_2); +x_142 = !lean_is_exclusive(x_139); +if (x_142 == 0) +{ +lean_object* x_143; +x_143 = lean_ctor_get(x_139, 0); +lean_dec(x_143); +return x_139; +} +else +{ +lean_object* x_144; lean_object* x_145; +x_144 = lean_ctor_get(x_139, 1); +lean_inc(x_144); +lean_dec(x_139); +x_145 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_145, 0, x_140); +lean_ctor_set(x_145, 1, x_144); +return x_145; +} +} +else +{ +lean_object* x_146; +lean_dec(x_140); +x_146 = lean_ctor_get(x_139, 1); +lean_inc(x_146); +lean_dec(x_139); +x_3 = x_132; +x_4 = x_146; +goto _start; +} +} +else +{ +lean_object* x_148; lean_object* x_149; lean_object* x_150; uint8_t x_151; +x_148 = lean_ctor_get(x_135, 1); +lean_inc(x_148); +lean_dec(x_135); +lean_inc(x_2); +x_149 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__68(x_1, x_2, x_131, x_148); +x_150 = lean_ctor_get(x_149, 0); +lean_inc(x_150); +x_151 = lean_unbox(x_150); +if (x_151 == 0) +{ +lean_object* x_152; lean_object* x_153; lean_object* x_154; uint8_t x_155; +lean_dec(x_150); +x_152 = lean_ctor_get(x_149, 1); +lean_inc(x_152); +lean_dec(x_149); +lean_inc(x_132); +x_153 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_132, x_152); +x_154 = lean_ctor_get(x_153, 0); +lean_inc(x_154); +x_155 = lean_unbox(x_154); +if (x_155 == 0) +{ +uint8_t x_156; +lean_dec(x_132); +lean_dec(x_2); +x_156 = !lean_is_exclusive(x_153); +if (x_156 == 0) +{ +lean_object* x_157; +x_157 = lean_ctor_get(x_153, 0); +lean_dec(x_157); +return x_153; +} +else +{ +lean_object* x_158; lean_object* x_159; +x_158 = lean_ctor_get(x_153, 1); +lean_inc(x_158); +lean_dec(x_153); +x_159 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_159, 0, x_154); +lean_ctor_set(x_159, 1, x_158); +return x_159; +} +} +else +{ +lean_object* x_160; +lean_dec(x_154); +x_160 = lean_ctor_get(x_153, 1); +lean_inc(x_160); +lean_dec(x_153); +x_3 = x_132; +x_4 = x_160; +goto _start; +} +} +else +{ +uint8_t x_162; +lean_dec(x_132); +lean_dec(x_2); +x_162 = !lean_is_exclusive(x_149); +if (x_162 == 0) +{ +lean_object* x_163; +x_163 = lean_ctor_get(x_149, 0); +lean_dec(x_163); +return x_149; +} +else +{ +lean_object* x_164; lean_object* x_165; +x_164 = lean_ctor_get(x_149, 1); +lean_inc(x_164); +lean_dec(x_149); +x_165 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_165, 0, x_150); +lean_ctor_set(x_165, 1, x_164); +return x_165; +} +} +} +} +else +{ +lean_object* x_166; lean_object* x_167; +lean_dec(x_132); +lean_dec(x_131); +lean_dec(x_2); +x_166 = lean_box(x_133); +x_167 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_167, 0, x_166); +lean_ctor_set(x_167, 1, x_134); +return x_167; +} +} +} +case 10: +{ +lean_object* x_179; lean_object* x_180; lean_object* x_181; uint8_t x_182; +x_179 = lean_ctor_get(x_3, 1); +lean_inc(x_179); +lean_dec(x_3); +lean_inc(x_179); +x_180 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_179, x_4); +x_181 = lean_ctor_get(x_180, 0); +lean_inc(x_181); +x_182 = lean_unbox(x_181); +if (x_182 == 0) +{ +uint8_t x_183; +lean_dec(x_179); +lean_dec(x_2); +x_183 = !lean_is_exclusive(x_180); +if (x_183 == 0) +{ +lean_object* x_184; +x_184 = lean_ctor_get(x_180, 0); +lean_dec(x_184); +return x_180; +} +else +{ +lean_object* x_185; lean_object* x_186; +x_185 = lean_ctor_get(x_180, 1); +lean_inc(x_185); +lean_dec(x_180); +x_186 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_186, 0, x_181); +lean_ctor_set(x_186, 1, x_185); +return x_186; +} +} +else +{ +lean_object* x_187; +lean_dec(x_181); +x_187 = lean_ctor_get(x_180, 1); +lean_inc(x_187); +lean_dec(x_180); +x_3 = x_179; +x_4 = x_187; +goto _start; +} +} +case 11: +{ +lean_object* x_189; lean_object* x_190; lean_object* x_191; uint8_t x_192; +x_189 = lean_ctor_get(x_3, 2); +lean_inc(x_189); +lean_dec(x_3); +lean_inc(x_189); +x_190 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_189, x_4); +x_191 = lean_ctor_get(x_190, 0); +lean_inc(x_191); +x_192 = lean_unbox(x_191); +if (x_192 == 0) +{ +uint8_t x_193; +lean_dec(x_189); +lean_dec(x_2); +x_193 = !lean_is_exclusive(x_190); +if (x_193 == 0) +{ +lean_object* x_194; +x_194 = lean_ctor_get(x_190, 0); +lean_dec(x_194); +return x_190; +} +else +{ +lean_object* x_195; lean_object* x_196; +x_195 = lean_ctor_get(x_190, 1); +lean_inc(x_195); +lean_dec(x_190); +x_196 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_196, 0, x_191); +lean_ctor_set(x_196, 1, x_195); +return x_196; +} +} +else +{ +lean_object* x_197; +lean_dec(x_191); +x_197 = lean_ctor_get(x_190, 1); +lean_inc(x_197); +lean_dec(x_190); +x_3 = x_189; +x_4 = x_197; +goto _start; +} +} +default: +{ +uint8_t x_199; lean_object* x_200; lean_object* x_201; +lean_dec(x_3); +lean_dec(x_2); +x_199 = 0; +x_200 = lean_box(x_199); +x_201 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_201, 0, x_200); +lean_ctor_set(x_201, 1, x_4); +return x_201; +} +} +} +} +uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__77(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_nat_dec_lt(x_5, x_4); +if (x_6 == 0) +{ +uint8_t x_7; +lean_dec(x_5); +x_7 = 0; +return x_7; +} +else +{ +lean_object* x_8; uint8_t x_9; +x_8 = lean_array_fget(x_3, x_5); +x_9 = l_PersistentArray_anyMAux___main___at_Lean_Meta_clear___spec__76(x_1, x_8); +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_5, x_10); +lean_dec(x_5); +x_5 = x_11; +goto _start; +} +else +{ +lean_dec(x_5); +return x_9; +} +} +} +} +uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__78(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_nat_dec_lt(x_5, x_4); +if (x_6 == 0) +{ +uint8_t x_7; +lean_dec(x_5); +x_7 = 0; +return x_7; +} +else +{ +lean_object* x_8; +x_8 = lean_array_fget(x_3, x_5); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_unsigned_to_nat(1u); +x_10 = lean_nat_add(x_5, x_9); +lean_dec(x_5); +x_5 = x_10; +goto _start; +} +else +{ +lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_12 = lean_ctor_get(x_8, 0); +lean_inc(x_12); +lean_dec(x_8); +x_13 = l_Lean_LocalDecl_fvarId(x_12); +lean_dec(x_12); +x_14 = lean_name_eq(x_13, x_1); +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_5, x_15); +lean_dec(x_5); +x_5 = x_16; +goto _start; +} +else +{ +lean_dec(x_5); +return x_14; +} +} +} +} +} +uint8_t l_PersistentArray_anyMAux___main___at_Lean_Meta_clear___spec__76(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; +x_3 = lean_ctor_get(x_2, 0); +x_4 = lean_array_get_size(x_3); +x_5 = lean_unsigned_to_nat(0u); +x_6 = l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__77(x_1, x_3, x_3, x_4, x_5); +lean_dec(x_4); +return x_6; +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_7 = lean_ctor_get(x_2, 0); +x_8 = lean_array_get_size(x_7); +x_9 = lean_unsigned_to_nat(0u); +x_10 = l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__78(x_1, x_7, x_7, x_8, x_9); +lean_dec(x_8); +return x_10; +} +} +} +uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__79(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_nat_dec_lt(x_5, x_4); +if (x_6 == 0) +{ +uint8_t x_7; +lean_dec(x_5); +x_7 = 0; +return x_7; +} +else +{ +lean_object* x_8; +x_8 = lean_array_fget(x_3, x_5); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_unsigned_to_nat(1u); +x_10 = lean_nat_add(x_5, x_9); +lean_dec(x_5); +x_5 = x_10; +goto _start; +} +else +{ +lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_12 = lean_ctor_get(x_8, 0); +lean_inc(x_12); +lean_dec(x_8); +x_13 = l_Lean_LocalDecl_fvarId(x_12); +lean_dec(x_12); +x_14 = lean_name_eq(x_13, x_1); +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_5, x_15); +lean_dec(x_5); +x_5 = x_16; +goto _start; +} +else +{ +lean_dec(x_5); +return x_14; +} +} +} +} +} +uint8_t l_PersistentArray_anyM___at_Lean_Meta_clear___spec__75(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_Meta_clear___spec__76(x_1, x_3); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; +x_5 = lean_ctor_get(x_2, 1); +x_6 = lean_array_get_size(x_5); +x_7 = lean_unsigned_to_nat(0u); +x_8 = l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__79(x_1, x_2, x_5, x_6, x_7); +lean_dec(x_6); +return x_8; +} +else +{ +return x_4; +} +} +} +lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__74(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; uint8_t x_6; lean_object* x_7; lean_object* x_8; +lean_dec(x_2); +x_5 = lean_ctor_get(x_3, 0); +lean_inc(x_5); +lean_dec(x_3); +x_6 = lean_name_eq(x_5, x_1); +lean_dec(x_5); +x_7 = lean_box(x_6); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_4); +return x_8; +} +case 2: +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_ctor_get(x_3, 0); +lean_inc(x_9); +lean_dec(x_3); +lean_inc(x_9); +lean_inc(x_2); +x_10 = lean_metavar_ctx_get_expr_assignment(x_2, x_9); +if (lean_obj_tag(x_10) == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_object* x_15; lean_object* x_16; +x_11 = l_Lean_MetavarContext_getDecl(x_2, x_9); +lean_dec(x_9); +x_12 = lean_ctor_get(x_11, 1); +lean_inc(x_12); +lean_dec(x_11); +x_13 = lean_ctor_get(x_12, 1); +lean_inc(x_13); +lean_dec(x_12); +x_14 = l_PersistentArray_anyM___at_Lean_Meta_clear___spec__75(x_1, x_13); +lean_dec(x_13); +x_15 = lean_box(x_14); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_4); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; +lean_dec(x_9); +x_17 = lean_ctor_get(x_10, 0); +lean_inc(x_17); +lean_dec(x_10); +lean_inc(x_17); +x_18 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_17, x_4); +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +x_20 = lean_unbox(x_19); +if (x_20 == 0) +{ +uint8_t x_21; +lean_dec(x_17); +lean_dec(x_2); +x_21 = !lean_is_exclusive(x_18); +if (x_21 == 0) +{ +lean_object* x_22; +x_22 = lean_ctor_get(x_18, 0); +lean_dec(x_22); +return x_18; +} +else +{ +lean_object* x_23; lean_object* x_24; +x_23 = lean_ctor_get(x_18, 1); +lean_inc(x_23); +lean_dec(x_18); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_19); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +else +{ +lean_object* x_25; +lean_dec(x_19); +x_25 = lean_ctor_get(x_18, 1); +lean_inc(x_25); +lean_dec(x_18); +x_3 = x_17; +x_4 = x_25; +goto _start; +} +} +} +case 5: +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; +x_27 = lean_ctor_get(x_3, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_3, 1); +lean_inc(x_28); +lean_dec(x_3); +lean_inc(x_28); +x_29 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_28, x_4); +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_unbox(x_30); +lean_dec(x_30); +if (x_31 == 0) +{ +lean_object* x_32; uint8_t x_33; +lean_dec(x_28); +x_32 = lean_ctor_get(x_29, 1); +lean_inc(x_32); +lean_dec(x_29); +x_33 = l_Lean_Expr_isApp(x_27); +if (x_33 == 0) +{ +lean_object* x_34; lean_object* x_35; uint8_t x_36; +lean_inc(x_27); +x_34 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_27, x_32); +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +x_36 = lean_unbox(x_35); +if (x_36 == 0) +{ +uint8_t x_37; +lean_dec(x_27); +lean_dec(x_2); +x_37 = !lean_is_exclusive(x_34); +if (x_37 == 0) +{ +lean_object* x_38; +x_38 = lean_ctor_get(x_34, 0); +lean_dec(x_38); +return x_34; +} +else +{ +lean_object* x_39; lean_object* x_40; +x_39 = lean_ctor_get(x_34, 1); +lean_inc(x_39); +lean_dec(x_34); +x_40 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_40, 0, x_35); +lean_ctor_set(x_40, 1, x_39); +return x_40; +} +} +else +{ +lean_object* x_41; +lean_dec(x_35); +x_41 = lean_ctor_get(x_34, 1); +lean_inc(x_41); +lean_dec(x_34); +x_3 = x_27; +x_4 = x_41; +goto _start; +} +} +else +{ +x_3 = x_27; +x_4 = x_32; +goto _start; +} +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; +x_44 = lean_ctor_get(x_29, 1); +lean_inc(x_44); +lean_dec(x_29); +lean_inc(x_2); +x_45 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__74(x_1, x_2, x_28, x_44); +x_46 = lean_ctor_get(x_45, 0); +lean_inc(x_46); +x_47 = lean_unbox(x_46); +if (x_47 == 0) +{ +lean_object* x_48; uint8_t x_49; +lean_dec(x_46); +x_48 = lean_ctor_get(x_45, 1); +lean_inc(x_48); +lean_dec(x_45); +x_49 = l_Lean_Expr_isApp(x_27); +if (x_49 == 0) +{ +lean_object* x_50; lean_object* x_51; uint8_t x_52; +lean_inc(x_27); +x_50 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_27, x_48); +x_51 = lean_ctor_get(x_50, 0); +lean_inc(x_51); +x_52 = lean_unbox(x_51); +if (x_52 == 0) +{ +uint8_t x_53; +lean_dec(x_27); +lean_dec(x_2); +x_53 = !lean_is_exclusive(x_50); +if (x_53 == 0) +{ +lean_object* x_54; +x_54 = lean_ctor_get(x_50, 0); +lean_dec(x_54); +return x_50; +} +else +{ +lean_object* x_55; lean_object* x_56; +x_55 = lean_ctor_get(x_50, 1); +lean_inc(x_55); +lean_dec(x_50); +x_56 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_56, 0, x_51); +lean_ctor_set(x_56, 1, x_55); +return x_56; +} +} +else +{ +lean_object* x_57; +lean_dec(x_51); +x_57 = lean_ctor_get(x_50, 1); +lean_inc(x_57); +lean_dec(x_50); +x_3 = x_27; +x_4 = x_57; +goto _start; +} +} +else +{ +x_3 = x_27; +x_4 = x_48; +goto _start; +} +} +else +{ +uint8_t x_60; +lean_dec(x_27); +lean_dec(x_2); +x_60 = !lean_is_exclusive(x_45); +if (x_60 == 0) +{ +lean_object* x_61; +x_61 = lean_ctor_get(x_45, 0); +lean_dec(x_61); +return x_45; +} +else +{ +lean_object* x_62; lean_object* x_63; +x_62 = lean_ctor_get(x_45, 1); +lean_inc(x_62); +lean_dec(x_45); +x_63 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_63, 0, x_46); +lean_ctor_set(x_63, 1, x_62); +return x_63; +} +} +} +} +case 6: +{ +lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; uint8_t x_68; +x_64 = lean_ctor_get(x_3, 1); +lean_inc(x_64); +x_65 = lean_ctor_get(x_3, 2); +lean_inc(x_65); +lean_dec(x_3); +lean_inc(x_64); +x_66 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_64, x_4); +x_67 = lean_ctor_get(x_66, 0); +lean_inc(x_67); +x_68 = lean_unbox(x_67); +lean_dec(x_67); +if (x_68 == 0) +{ +lean_object* x_69; lean_object* x_70; lean_object* x_71; uint8_t x_72; +lean_dec(x_64); +x_69 = lean_ctor_get(x_66, 1); +lean_inc(x_69); +lean_dec(x_66); +lean_inc(x_65); +x_70 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_65, x_69); +x_71 = lean_ctor_get(x_70, 0); +lean_inc(x_71); +x_72 = lean_unbox(x_71); +if (x_72 == 0) +{ +uint8_t x_73; +lean_dec(x_65); +lean_dec(x_2); +x_73 = !lean_is_exclusive(x_70); +if (x_73 == 0) +{ +lean_object* x_74; +x_74 = lean_ctor_get(x_70, 0); +lean_dec(x_74); +return x_70; +} +else +{ +lean_object* x_75; lean_object* x_76; +x_75 = lean_ctor_get(x_70, 1); +lean_inc(x_75); +lean_dec(x_70); +x_76 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_76, 0, x_71); +lean_ctor_set(x_76, 1, x_75); +return x_76; +} +} +else +{ +lean_object* x_77; +lean_dec(x_71); +x_77 = lean_ctor_get(x_70, 1); +lean_inc(x_77); +lean_dec(x_70); +x_3 = x_65; +x_4 = x_77; +goto _start; +} +} +else +{ +lean_object* x_79; lean_object* x_80; lean_object* x_81; uint8_t x_82; +x_79 = lean_ctor_get(x_66, 1); +lean_inc(x_79); +lean_dec(x_66); +lean_inc(x_2); +x_80 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__74(x_1, x_2, x_64, x_79); +x_81 = lean_ctor_get(x_80, 0); +lean_inc(x_81); +x_82 = lean_unbox(x_81); +if (x_82 == 0) +{ +lean_object* x_83; lean_object* x_84; lean_object* x_85; uint8_t x_86; +lean_dec(x_81); +x_83 = lean_ctor_get(x_80, 1); +lean_inc(x_83); +lean_dec(x_80); +lean_inc(x_65); +x_84 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_65, x_83); +x_85 = lean_ctor_get(x_84, 0); +lean_inc(x_85); +x_86 = lean_unbox(x_85); +if (x_86 == 0) +{ +uint8_t x_87; +lean_dec(x_65); +lean_dec(x_2); +x_87 = !lean_is_exclusive(x_84); +if (x_87 == 0) +{ +lean_object* x_88; +x_88 = lean_ctor_get(x_84, 0); +lean_dec(x_88); +return x_84; +} +else +{ +lean_object* x_89; lean_object* x_90; +x_89 = lean_ctor_get(x_84, 1); +lean_inc(x_89); +lean_dec(x_84); +x_90 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_90, 0, x_85); +lean_ctor_set(x_90, 1, x_89); +return x_90; +} +} +else +{ +lean_object* x_91; +lean_dec(x_85); +x_91 = lean_ctor_get(x_84, 1); +lean_inc(x_91); +lean_dec(x_84); +x_3 = x_65; +x_4 = x_91; +goto _start; +} +} +else +{ +uint8_t x_93; +lean_dec(x_65); +lean_dec(x_2); +x_93 = !lean_is_exclusive(x_80); +if (x_93 == 0) +{ +lean_object* x_94; +x_94 = lean_ctor_get(x_80, 0); +lean_dec(x_94); +return x_80; +} +else +{ +lean_object* x_95; lean_object* x_96; +x_95 = lean_ctor_get(x_80, 1); +lean_inc(x_95); +lean_dec(x_80); +x_96 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_96, 0, x_81); +lean_ctor_set(x_96, 1, x_95); +return x_96; +} +} +} +} +case 7: +{ +lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; uint8_t x_101; +x_97 = lean_ctor_get(x_3, 1); +lean_inc(x_97); +x_98 = lean_ctor_get(x_3, 2); +lean_inc(x_98); +lean_dec(x_3); +lean_inc(x_97); +x_99 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_97, x_4); +x_100 = lean_ctor_get(x_99, 0); +lean_inc(x_100); +x_101 = lean_unbox(x_100); +lean_dec(x_100); +if (x_101 == 0) +{ +lean_object* x_102; lean_object* x_103; lean_object* x_104; uint8_t x_105; +lean_dec(x_97); +x_102 = lean_ctor_get(x_99, 1); +lean_inc(x_102); +lean_dec(x_99); +lean_inc(x_98); +x_103 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_98, x_102); +x_104 = lean_ctor_get(x_103, 0); +lean_inc(x_104); +x_105 = lean_unbox(x_104); +if (x_105 == 0) +{ +uint8_t x_106; +lean_dec(x_98); +lean_dec(x_2); +x_106 = !lean_is_exclusive(x_103); +if (x_106 == 0) +{ +lean_object* x_107; +x_107 = lean_ctor_get(x_103, 0); +lean_dec(x_107); +return x_103; +} +else +{ +lean_object* x_108; lean_object* x_109; +x_108 = lean_ctor_get(x_103, 1); +lean_inc(x_108); +lean_dec(x_103); +x_109 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_109, 0, x_104); +lean_ctor_set(x_109, 1, x_108); +return x_109; +} +} +else +{ +lean_object* x_110; +lean_dec(x_104); +x_110 = lean_ctor_get(x_103, 1); +lean_inc(x_110); +lean_dec(x_103); +x_3 = x_98; +x_4 = x_110; +goto _start; +} +} +else +{ +lean_object* x_112; lean_object* x_113; lean_object* x_114; uint8_t x_115; +x_112 = lean_ctor_get(x_99, 1); +lean_inc(x_112); +lean_dec(x_99); +lean_inc(x_2); +x_113 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__74(x_1, x_2, x_97, x_112); +x_114 = lean_ctor_get(x_113, 0); +lean_inc(x_114); +x_115 = lean_unbox(x_114); +if (x_115 == 0) +{ +lean_object* x_116; lean_object* x_117; lean_object* x_118; uint8_t x_119; +lean_dec(x_114); +x_116 = lean_ctor_get(x_113, 1); +lean_inc(x_116); +lean_dec(x_113); +lean_inc(x_98); +x_117 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_98, x_116); +x_118 = lean_ctor_get(x_117, 0); +lean_inc(x_118); +x_119 = lean_unbox(x_118); +if (x_119 == 0) +{ +uint8_t x_120; +lean_dec(x_98); +lean_dec(x_2); +x_120 = !lean_is_exclusive(x_117); +if (x_120 == 0) +{ +lean_object* x_121; +x_121 = lean_ctor_get(x_117, 0); +lean_dec(x_121); +return x_117; +} +else +{ +lean_object* x_122; lean_object* x_123; +x_122 = lean_ctor_get(x_117, 1); +lean_inc(x_122); +lean_dec(x_117); +x_123 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_123, 0, x_118); +lean_ctor_set(x_123, 1, x_122); +return x_123; +} +} +else +{ +lean_object* x_124; +lean_dec(x_118); +x_124 = lean_ctor_get(x_117, 1); +lean_inc(x_124); +lean_dec(x_117); +x_3 = x_98; +x_4 = x_124; +goto _start; +} +} +else +{ +uint8_t x_126; +lean_dec(x_98); +lean_dec(x_2); +x_126 = !lean_is_exclusive(x_113); +if (x_126 == 0) +{ +lean_object* x_127; +x_127 = lean_ctor_get(x_113, 0); +lean_dec(x_127); +return x_113; +} +else +{ +lean_object* x_128; lean_object* x_129; +x_128 = lean_ctor_get(x_113, 1); +lean_inc(x_128); +lean_dec(x_113); +x_129 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_129, 0, x_114); +lean_ctor_set(x_129, 1, x_128); +return x_129; +} +} +} +} +case 8: +{ +lean_object* x_130; lean_object* x_131; lean_object* x_132; uint8_t x_133; lean_object* x_134; lean_object* x_169; lean_object* x_170; uint8_t x_171; +x_130 = lean_ctor_get(x_3, 1); +lean_inc(x_130); +x_131 = lean_ctor_get(x_3, 2); +lean_inc(x_131); +x_132 = lean_ctor_get(x_3, 3); +lean_inc(x_132); +lean_dec(x_3); +lean_inc(x_130); +x_169 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_130, x_4); +x_170 = lean_ctor_get(x_169, 0); +lean_inc(x_170); +x_171 = lean_unbox(x_170); +if (x_171 == 0) +{ +lean_object* x_172; uint8_t x_173; +lean_dec(x_130); +x_172 = lean_ctor_get(x_169, 1); +lean_inc(x_172); +lean_dec(x_169); +x_173 = lean_unbox(x_170); +lean_dec(x_170); +x_133 = x_173; +x_134 = x_172; +goto block_168; +} +else +{ +lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; uint8_t x_178; +lean_dec(x_170); +x_174 = lean_ctor_get(x_169, 1); +lean_inc(x_174); +lean_dec(x_169); +lean_inc(x_2); +x_175 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__74(x_1, x_2, x_130, x_174); +x_176 = lean_ctor_get(x_175, 0); +lean_inc(x_176); +x_177 = lean_ctor_get(x_175, 1); +lean_inc(x_177); +lean_dec(x_175); +x_178 = lean_unbox(x_176); +lean_dec(x_176); +x_133 = x_178; +x_134 = x_177; +goto block_168; +} +block_168: +{ +if (x_133 == 0) +{ +lean_object* x_135; lean_object* x_136; uint8_t x_137; +lean_inc(x_131); +x_135 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_131, x_134); +x_136 = lean_ctor_get(x_135, 0); +lean_inc(x_136); +x_137 = lean_unbox(x_136); +lean_dec(x_136); +if (x_137 == 0) +{ +lean_object* x_138; lean_object* x_139; lean_object* x_140; uint8_t x_141; +lean_dec(x_131); +x_138 = lean_ctor_get(x_135, 1); +lean_inc(x_138); +lean_dec(x_135); +lean_inc(x_132); +x_139 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_132, x_138); +x_140 = lean_ctor_get(x_139, 0); +lean_inc(x_140); +x_141 = lean_unbox(x_140); +if (x_141 == 0) +{ +uint8_t x_142; +lean_dec(x_132); +lean_dec(x_2); +x_142 = !lean_is_exclusive(x_139); +if (x_142 == 0) +{ +lean_object* x_143; +x_143 = lean_ctor_get(x_139, 0); +lean_dec(x_143); +return x_139; +} +else +{ +lean_object* x_144; lean_object* x_145; +x_144 = lean_ctor_get(x_139, 1); +lean_inc(x_144); +lean_dec(x_139); +x_145 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_145, 0, x_140); +lean_ctor_set(x_145, 1, x_144); +return x_145; +} +} +else +{ +lean_object* x_146; +lean_dec(x_140); +x_146 = lean_ctor_get(x_139, 1); +lean_inc(x_146); +lean_dec(x_139); +x_3 = x_132; +x_4 = x_146; +goto _start; +} +} +else +{ +lean_object* x_148; lean_object* x_149; lean_object* x_150; uint8_t x_151; +x_148 = lean_ctor_get(x_135, 1); +lean_inc(x_148); +lean_dec(x_135); +lean_inc(x_2); +x_149 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__74(x_1, x_2, x_131, x_148); +x_150 = lean_ctor_get(x_149, 0); +lean_inc(x_150); +x_151 = lean_unbox(x_150); +if (x_151 == 0) +{ +lean_object* x_152; lean_object* x_153; lean_object* x_154; uint8_t x_155; +lean_dec(x_150); +x_152 = lean_ctor_get(x_149, 1); +lean_inc(x_152); +lean_dec(x_149); +lean_inc(x_132); +x_153 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_132, x_152); +x_154 = lean_ctor_get(x_153, 0); +lean_inc(x_154); +x_155 = lean_unbox(x_154); +if (x_155 == 0) +{ +uint8_t x_156; +lean_dec(x_132); +lean_dec(x_2); +x_156 = !lean_is_exclusive(x_153); +if (x_156 == 0) +{ +lean_object* x_157; +x_157 = lean_ctor_get(x_153, 0); +lean_dec(x_157); +return x_153; +} +else +{ +lean_object* x_158; lean_object* x_159; +x_158 = lean_ctor_get(x_153, 1); +lean_inc(x_158); +lean_dec(x_153); +x_159 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_159, 0, x_154); +lean_ctor_set(x_159, 1, x_158); +return x_159; +} +} +else +{ +lean_object* x_160; +lean_dec(x_154); +x_160 = lean_ctor_get(x_153, 1); +lean_inc(x_160); +lean_dec(x_153); +x_3 = x_132; +x_4 = x_160; +goto _start; +} +} +else +{ +uint8_t x_162; +lean_dec(x_132); +lean_dec(x_2); +x_162 = !lean_is_exclusive(x_149); +if (x_162 == 0) +{ +lean_object* x_163; +x_163 = lean_ctor_get(x_149, 0); +lean_dec(x_163); +return x_149; +} +else +{ +lean_object* x_164; lean_object* x_165; +x_164 = lean_ctor_get(x_149, 1); +lean_inc(x_164); +lean_dec(x_149); +x_165 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_165, 0, x_150); +lean_ctor_set(x_165, 1, x_164); +return x_165; +} +} +} +} +else +{ +lean_object* x_166; lean_object* x_167; +lean_dec(x_132); +lean_dec(x_131); +lean_dec(x_2); +x_166 = lean_box(x_133); +x_167 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_167, 0, x_166); +lean_ctor_set(x_167, 1, x_134); +return x_167; +} +} +} +case 10: +{ +lean_object* x_179; lean_object* x_180; lean_object* x_181; uint8_t x_182; +x_179 = lean_ctor_get(x_3, 1); +lean_inc(x_179); +lean_dec(x_3); +lean_inc(x_179); +x_180 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_179, x_4); +x_181 = lean_ctor_get(x_180, 0); +lean_inc(x_181); +x_182 = lean_unbox(x_181); +if (x_182 == 0) +{ +uint8_t x_183; +lean_dec(x_179); +lean_dec(x_2); +x_183 = !lean_is_exclusive(x_180); +if (x_183 == 0) +{ +lean_object* x_184; +x_184 = lean_ctor_get(x_180, 0); +lean_dec(x_184); +return x_180; +} +else +{ +lean_object* x_185; lean_object* x_186; +x_185 = lean_ctor_get(x_180, 1); +lean_inc(x_185); +lean_dec(x_180); +x_186 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_186, 0, x_181); +lean_ctor_set(x_186, 1, x_185); +return x_186; +} +} +else +{ +lean_object* x_187; +lean_dec(x_181); +x_187 = lean_ctor_get(x_180, 1); +lean_inc(x_187); +lean_dec(x_180); +x_3 = x_179; +x_4 = x_187; +goto _start; +} +} +case 11: +{ +lean_object* x_189; lean_object* x_190; lean_object* x_191; uint8_t x_192; +x_189 = lean_ctor_get(x_3, 2); +lean_inc(x_189); +lean_dec(x_3); +lean_inc(x_189); +x_190 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_189, x_4); +x_191 = lean_ctor_get(x_190, 0); +lean_inc(x_191); +x_192 = lean_unbox(x_191); +if (x_192 == 0) +{ +uint8_t x_193; +lean_dec(x_189); +lean_dec(x_2); +x_193 = !lean_is_exclusive(x_190); +if (x_193 == 0) +{ +lean_object* x_194; +x_194 = lean_ctor_get(x_190, 0); +lean_dec(x_194); +return x_190; +} +else +{ +lean_object* x_195; lean_object* x_196; +x_195 = lean_ctor_get(x_190, 1); +lean_inc(x_195); +lean_dec(x_190); +x_196 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_196, 0, x_191); +lean_ctor_set(x_196, 1, x_195); +return x_196; +} +} +else +{ +lean_object* x_197; +lean_dec(x_191); +x_197 = lean_ctor_get(x_190, 1); +lean_inc(x_197); +lean_dec(x_190); +x_3 = x_189; +x_4 = x_197; +goto _start; +} +} +default: +{ +uint8_t x_199; lean_object* x_200; lean_object* x_201; +lean_dec(x_3); +lean_dec(x_2); +x_199 = 0; +x_200 = lean_box(x_199); +x_201 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_201, 0, x_200); +lean_ctor_set(x_201, 1, x_4); +return x_201; +} +} +} +} +uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__83(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_nat_dec_lt(x_5, x_4); +if (x_6 == 0) +{ +uint8_t x_7; +lean_dec(x_5); +x_7 = 0; +return x_7; +} +else +{ +lean_object* x_8; uint8_t x_9; +x_8 = lean_array_fget(x_3, x_5); +x_9 = l_PersistentArray_anyMAux___main___at_Lean_Meta_clear___spec__82(x_1, x_8); +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_5, x_10); +lean_dec(x_5); +x_5 = x_11; +goto _start; +} +else +{ +lean_dec(x_5); +return x_9; +} +} +} +} +uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__84(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_nat_dec_lt(x_5, x_4); +if (x_6 == 0) +{ +uint8_t x_7; +lean_dec(x_5); +x_7 = 0; +return x_7; +} +else +{ +lean_object* x_8; +x_8 = lean_array_fget(x_3, x_5); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_unsigned_to_nat(1u); +x_10 = lean_nat_add(x_5, x_9); +lean_dec(x_5); +x_5 = x_10; +goto _start; +} +else +{ +lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_12 = lean_ctor_get(x_8, 0); +lean_inc(x_12); +lean_dec(x_8); +x_13 = l_Lean_LocalDecl_fvarId(x_12); +lean_dec(x_12); +x_14 = lean_name_eq(x_13, x_1); +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_5, x_15); +lean_dec(x_5); +x_5 = x_16; +goto _start; +} +else +{ +lean_dec(x_5); +return x_14; +} +} +} +} +} +uint8_t l_PersistentArray_anyMAux___main___at_Lean_Meta_clear___spec__82(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; +x_3 = lean_ctor_get(x_2, 0); +x_4 = lean_array_get_size(x_3); +x_5 = lean_unsigned_to_nat(0u); +x_6 = l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__83(x_1, x_3, x_3, x_4, x_5); +lean_dec(x_4); +return x_6; +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_7 = lean_ctor_get(x_2, 0); +x_8 = lean_array_get_size(x_7); +x_9 = lean_unsigned_to_nat(0u); +x_10 = l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__84(x_1, x_7, x_7, x_8, x_9); +lean_dec(x_8); +return x_10; +} +} +} +uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__85(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_nat_dec_lt(x_5, x_4); +if (x_6 == 0) +{ +uint8_t x_7; +lean_dec(x_5); +x_7 = 0; +return x_7; +} +else +{ +lean_object* x_8; +x_8 = lean_array_fget(x_3, x_5); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_unsigned_to_nat(1u); +x_10 = lean_nat_add(x_5, x_9); +lean_dec(x_5); +x_5 = x_10; +goto _start; +} +else +{ +lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_12 = lean_ctor_get(x_8, 0); +lean_inc(x_12); +lean_dec(x_8); +x_13 = l_Lean_LocalDecl_fvarId(x_12); +lean_dec(x_12); +x_14 = lean_name_eq(x_13, x_1); +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_5, x_15); +lean_dec(x_5); +x_5 = x_16; +goto _start; +} +else +{ +lean_dec(x_5); +return x_14; +} +} +} +} +} +uint8_t l_PersistentArray_anyM___at_Lean_Meta_clear___spec__81(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_Meta_clear___spec__82(x_1, x_3); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; +x_5 = lean_ctor_get(x_2, 1); +x_6 = lean_array_get_size(x_5); +x_7 = lean_unsigned_to_nat(0u); +x_8 = l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__85(x_1, x_2, x_5, x_6, x_7); +lean_dec(x_6); +return x_8; +} +else +{ +return x_4; +} +} +} +lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__80(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; uint8_t x_6; lean_object* x_7; lean_object* x_8; +lean_dec(x_2); +x_5 = lean_ctor_get(x_3, 0); +lean_inc(x_5); +lean_dec(x_3); +x_6 = lean_name_eq(x_5, x_1); +lean_dec(x_5); +x_7 = lean_box(x_6); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_4); +return x_8; +} +case 2: +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_ctor_get(x_3, 0); +lean_inc(x_9); +lean_dec(x_3); +lean_inc(x_9); +lean_inc(x_2); +x_10 = lean_metavar_ctx_get_expr_assignment(x_2, x_9); +if (lean_obj_tag(x_10) == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_object* x_15; lean_object* x_16; +x_11 = l_Lean_MetavarContext_getDecl(x_2, x_9); +lean_dec(x_9); +x_12 = lean_ctor_get(x_11, 1); +lean_inc(x_12); +lean_dec(x_11); +x_13 = lean_ctor_get(x_12, 1); +lean_inc(x_13); +lean_dec(x_12); +x_14 = l_PersistentArray_anyM___at_Lean_Meta_clear___spec__81(x_1, x_13); +lean_dec(x_13); +x_15 = lean_box(x_14); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_4); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; +lean_dec(x_9); +x_17 = lean_ctor_get(x_10, 0); +lean_inc(x_17); +lean_dec(x_10); +lean_inc(x_17); +x_18 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_17, x_4); +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +x_20 = lean_unbox(x_19); +if (x_20 == 0) +{ +uint8_t x_21; +lean_dec(x_17); +lean_dec(x_2); +x_21 = !lean_is_exclusive(x_18); +if (x_21 == 0) +{ +lean_object* x_22; +x_22 = lean_ctor_get(x_18, 0); +lean_dec(x_22); +return x_18; +} +else +{ +lean_object* x_23; lean_object* x_24; +x_23 = lean_ctor_get(x_18, 1); +lean_inc(x_23); +lean_dec(x_18); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_19); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +else +{ +lean_object* x_25; +lean_dec(x_19); +x_25 = lean_ctor_get(x_18, 1); +lean_inc(x_25); +lean_dec(x_18); +x_3 = x_17; +x_4 = x_25; +goto _start; +} +} +} +case 5: +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; +x_27 = lean_ctor_get(x_3, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_3, 1); +lean_inc(x_28); +lean_dec(x_3); +lean_inc(x_28); +x_29 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_28, x_4); +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_unbox(x_30); +lean_dec(x_30); +if (x_31 == 0) +{ +lean_object* x_32; uint8_t x_33; +lean_dec(x_28); +x_32 = lean_ctor_get(x_29, 1); +lean_inc(x_32); +lean_dec(x_29); +x_33 = l_Lean_Expr_isApp(x_27); +if (x_33 == 0) +{ +lean_object* x_34; lean_object* x_35; uint8_t x_36; +lean_inc(x_27); +x_34 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_27, x_32); +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +x_36 = lean_unbox(x_35); +if (x_36 == 0) +{ +uint8_t x_37; +lean_dec(x_27); +lean_dec(x_2); +x_37 = !lean_is_exclusive(x_34); +if (x_37 == 0) +{ +lean_object* x_38; +x_38 = lean_ctor_get(x_34, 0); +lean_dec(x_38); +return x_34; +} +else +{ +lean_object* x_39; lean_object* x_40; +x_39 = lean_ctor_get(x_34, 1); +lean_inc(x_39); +lean_dec(x_34); +x_40 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_40, 0, x_35); +lean_ctor_set(x_40, 1, x_39); +return x_40; +} +} +else +{ +lean_object* x_41; +lean_dec(x_35); +x_41 = lean_ctor_get(x_34, 1); +lean_inc(x_41); +lean_dec(x_34); +x_3 = x_27; +x_4 = x_41; +goto _start; +} +} +else +{ +x_3 = x_27; +x_4 = x_32; +goto _start; +} +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; +x_44 = lean_ctor_get(x_29, 1); +lean_inc(x_44); +lean_dec(x_29); +lean_inc(x_2); +x_45 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__80(x_1, x_2, x_28, x_44); +x_46 = lean_ctor_get(x_45, 0); +lean_inc(x_46); +x_47 = lean_unbox(x_46); +if (x_47 == 0) +{ +lean_object* x_48; uint8_t x_49; +lean_dec(x_46); +x_48 = lean_ctor_get(x_45, 1); +lean_inc(x_48); +lean_dec(x_45); +x_49 = l_Lean_Expr_isApp(x_27); +if (x_49 == 0) +{ +lean_object* x_50; lean_object* x_51; uint8_t x_52; +lean_inc(x_27); +x_50 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_27, x_48); +x_51 = lean_ctor_get(x_50, 0); +lean_inc(x_51); +x_52 = lean_unbox(x_51); +if (x_52 == 0) +{ +uint8_t x_53; +lean_dec(x_27); +lean_dec(x_2); +x_53 = !lean_is_exclusive(x_50); +if (x_53 == 0) +{ +lean_object* x_54; +x_54 = lean_ctor_get(x_50, 0); +lean_dec(x_54); +return x_50; +} +else +{ +lean_object* x_55; lean_object* x_56; +x_55 = lean_ctor_get(x_50, 1); +lean_inc(x_55); +lean_dec(x_50); +x_56 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_56, 0, x_51); +lean_ctor_set(x_56, 1, x_55); +return x_56; +} +} +else +{ +lean_object* x_57; +lean_dec(x_51); +x_57 = lean_ctor_get(x_50, 1); +lean_inc(x_57); +lean_dec(x_50); +x_3 = x_27; +x_4 = x_57; +goto _start; +} +} +else +{ +x_3 = x_27; +x_4 = x_48; +goto _start; +} +} +else +{ +uint8_t x_60; +lean_dec(x_27); +lean_dec(x_2); +x_60 = !lean_is_exclusive(x_45); +if (x_60 == 0) +{ +lean_object* x_61; +x_61 = lean_ctor_get(x_45, 0); +lean_dec(x_61); +return x_45; +} +else +{ +lean_object* x_62; lean_object* x_63; +x_62 = lean_ctor_get(x_45, 1); +lean_inc(x_62); +lean_dec(x_45); +x_63 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_63, 0, x_46); +lean_ctor_set(x_63, 1, x_62); +return x_63; +} +} +} +} +case 6: +{ +lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; uint8_t x_68; +x_64 = lean_ctor_get(x_3, 1); +lean_inc(x_64); +x_65 = lean_ctor_get(x_3, 2); +lean_inc(x_65); +lean_dec(x_3); +lean_inc(x_64); +x_66 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_64, x_4); +x_67 = lean_ctor_get(x_66, 0); +lean_inc(x_67); +x_68 = lean_unbox(x_67); +lean_dec(x_67); +if (x_68 == 0) +{ +lean_object* x_69; lean_object* x_70; lean_object* x_71; uint8_t x_72; +lean_dec(x_64); +x_69 = lean_ctor_get(x_66, 1); +lean_inc(x_69); +lean_dec(x_66); +lean_inc(x_65); +x_70 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_65, x_69); +x_71 = lean_ctor_get(x_70, 0); +lean_inc(x_71); +x_72 = lean_unbox(x_71); +if (x_72 == 0) +{ +uint8_t x_73; +lean_dec(x_65); +lean_dec(x_2); +x_73 = !lean_is_exclusive(x_70); +if (x_73 == 0) +{ +lean_object* x_74; +x_74 = lean_ctor_get(x_70, 0); +lean_dec(x_74); +return x_70; +} +else +{ +lean_object* x_75; lean_object* x_76; +x_75 = lean_ctor_get(x_70, 1); +lean_inc(x_75); +lean_dec(x_70); +x_76 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_76, 0, x_71); +lean_ctor_set(x_76, 1, x_75); +return x_76; +} +} +else +{ +lean_object* x_77; +lean_dec(x_71); +x_77 = lean_ctor_get(x_70, 1); +lean_inc(x_77); +lean_dec(x_70); +x_3 = x_65; +x_4 = x_77; +goto _start; +} +} +else +{ +lean_object* x_79; lean_object* x_80; lean_object* x_81; uint8_t x_82; +x_79 = lean_ctor_get(x_66, 1); +lean_inc(x_79); +lean_dec(x_66); +lean_inc(x_2); +x_80 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__80(x_1, x_2, x_64, x_79); +x_81 = lean_ctor_get(x_80, 0); +lean_inc(x_81); +x_82 = lean_unbox(x_81); +if (x_82 == 0) +{ +lean_object* x_83; lean_object* x_84; lean_object* x_85; uint8_t x_86; +lean_dec(x_81); +x_83 = lean_ctor_get(x_80, 1); +lean_inc(x_83); +lean_dec(x_80); +lean_inc(x_65); +x_84 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_65, x_83); +x_85 = lean_ctor_get(x_84, 0); +lean_inc(x_85); +x_86 = lean_unbox(x_85); +if (x_86 == 0) +{ +uint8_t x_87; +lean_dec(x_65); +lean_dec(x_2); +x_87 = !lean_is_exclusive(x_84); +if (x_87 == 0) +{ +lean_object* x_88; +x_88 = lean_ctor_get(x_84, 0); +lean_dec(x_88); +return x_84; +} +else +{ +lean_object* x_89; lean_object* x_90; +x_89 = lean_ctor_get(x_84, 1); +lean_inc(x_89); +lean_dec(x_84); +x_90 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_90, 0, x_85); +lean_ctor_set(x_90, 1, x_89); +return x_90; +} +} +else +{ +lean_object* x_91; +lean_dec(x_85); +x_91 = lean_ctor_get(x_84, 1); +lean_inc(x_91); +lean_dec(x_84); +x_3 = x_65; +x_4 = x_91; +goto _start; +} +} +else +{ +uint8_t x_93; +lean_dec(x_65); +lean_dec(x_2); +x_93 = !lean_is_exclusive(x_80); +if (x_93 == 0) +{ +lean_object* x_94; +x_94 = lean_ctor_get(x_80, 0); +lean_dec(x_94); +return x_80; +} +else +{ +lean_object* x_95; lean_object* x_96; +x_95 = lean_ctor_get(x_80, 1); +lean_inc(x_95); +lean_dec(x_80); +x_96 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_96, 0, x_81); +lean_ctor_set(x_96, 1, x_95); +return x_96; +} +} +} +} +case 7: +{ +lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; uint8_t x_101; +x_97 = lean_ctor_get(x_3, 1); +lean_inc(x_97); +x_98 = lean_ctor_get(x_3, 2); +lean_inc(x_98); +lean_dec(x_3); +lean_inc(x_97); +x_99 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_97, x_4); +x_100 = lean_ctor_get(x_99, 0); +lean_inc(x_100); +x_101 = lean_unbox(x_100); +lean_dec(x_100); +if (x_101 == 0) +{ +lean_object* x_102; lean_object* x_103; lean_object* x_104; uint8_t x_105; +lean_dec(x_97); +x_102 = lean_ctor_get(x_99, 1); +lean_inc(x_102); +lean_dec(x_99); +lean_inc(x_98); +x_103 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_98, x_102); +x_104 = lean_ctor_get(x_103, 0); +lean_inc(x_104); +x_105 = lean_unbox(x_104); +if (x_105 == 0) +{ +uint8_t x_106; +lean_dec(x_98); +lean_dec(x_2); +x_106 = !lean_is_exclusive(x_103); +if (x_106 == 0) +{ +lean_object* x_107; +x_107 = lean_ctor_get(x_103, 0); +lean_dec(x_107); +return x_103; +} +else +{ +lean_object* x_108; lean_object* x_109; +x_108 = lean_ctor_get(x_103, 1); +lean_inc(x_108); +lean_dec(x_103); +x_109 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_109, 0, x_104); +lean_ctor_set(x_109, 1, x_108); +return x_109; +} +} +else +{ +lean_object* x_110; +lean_dec(x_104); +x_110 = lean_ctor_get(x_103, 1); +lean_inc(x_110); +lean_dec(x_103); +x_3 = x_98; +x_4 = x_110; +goto _start; +} +} +else +{ +lean_object* x_112; lean_object* x_113; lean_object* x_114; uint8_t x_115; +x_112 = lean_ctor_get(x_99, 1); +lean_inc(x_112); +lean_dec(x_99); +lean_inc(x_2); +x_113 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__80(x_1, x_2, x_97, x_112); +x_114 = lean_ctor_get(x_113, 0); +lean_inc(x_114); +x_115 = lean_unbox(x_114); +if (x_115 == 0) +{ +lean_object* x_116; lean_object* x_117; lean_object* x_118; uint8_t x_119; +lean_dec(x_114); +x_116 = lean_ctor_get(x_113, 1); +lean_inc(x_116); +lean_dec(x_113); +lean_inc(x_98); +x_117 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_98, x_116); +x_118 = lean_ctor_get(x_117, 0); +lean_inc(x_118); +x_119 = lean_unbox(x_118); +if (x_119 == 0) +{ +uint8_t x_120; +lean_dec(x_98); +lean_dec(x_2); +x_120 = !lean_is_exclusive(x_117); +if (x_120 == 0) +{ +lean_object* x_121; +x_121 = lean_ctor_get(x_117, 0); +lean_dec(x_121); +return x_117; +} +else +{ +lean_object* x_122; lean_object* x_123; +x_122 = lean_ctor_get(x_117, 1); +lean_inc(x_122); +lean_dec(x_117); +x_123 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_123, 0, x_118); +lean_ctor_set(x_123, 1, x_122); +return x_123; +} +} +else +{ +lean_object* x_124; +lean_dec(x_118); +x_124 = lean_ctor_get(x_117, 1); +lean_inc(x_124); +lean_dec(x_117); +x_3 = x_98; +x_4 = x_124; +goto _start; +} +} +else +{ +uint8_t x_126; +lean_dec(x_98); +lean_dec(x_2); +x_126 = !lean_is_exclusive(x_113); +if (x_126 == 0) +{ +lean_object* x_127; +x_127 = lean_ctor_get(x_113, 0); +lean_dec(x_127); +return x_113; +} +else +{ +lean_object* x_128; lean_object* x_129; +x_128 = lean_ctor_get(x_113, 1); +lean_inc(x_128); +lean_dec(x_113); +x_129 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_129, 0, x_114); +lean_ctor_set(x_129, 1, x_128); +return x_129; +} +} +} +} +case 8: +{ +lean_object* x_130; lean_object* x_131; lean_object* x_132; uint8_t x_133; lean_object* x_134; lean_object* x_169; lean_object* x_170; uint8_t x_171; +x_130 = lean_ctor_get(x_3, 1); +lean_inc(x_130); +x_131 = lean_ctor_get(x_3, 2); +lean_inc(x_131); +x_132 = lean_ctor_get(x_3, 3); +lean_inc(x_132); +lean_dec(x_3); +lean_inc(x_130); +x_169 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_130, x_4); +x_170 = lean_ctor_get(x_169, 0); +lean_inc(x_170); +x_171 = lean_unbox(x_170); +if (x_171 == 0) +{ +lean_object* x_172; uint8_t x_173; +lean_dec(x_130); +x_172 = lean_ctor_get(x_169, 1); +lean_inc(x_172); +lean_dec(x_169); +x_173 = lean_unbox(x_170); +lean_dec(x_170); +x_133 = x_173; +x_134 = x_172; +goto block_168; +} +else +{ +lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; uint8_t x_178; +lean_dec(x_170); +x_174 = lean_ctor_get(x_169, 1); +lean_inc(x_174); +lean_dec(x_169); +lean_inc(x_2); +x_175 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__80(x_1, x_2, x_130, x_174); +x_176 = lean_ctor_get(x_175, 0); +lean_inc(x_176); +x_177 = lean_ctor_get(x_175, 1); +lean_inc(x_177); +lean_dec(x_175); +x_178 = lean_unbox(x_176); +lean_dec(x_176); +x_133 = x_178; +x_134 = x_177; +goto block_168; +} +block_168: +{ +if (x_133 == 0) +{ +lean_object* x_135; lean_object* x_136; uint8_t x_137; +lean_inc(x_131); +x_135 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_131, x_134); +x_136 = lean_ctor_get(x_135, 0); +lean_inc(x_136); +x_137 = lean_unbox(x_136); +lean_dec(x_136); +if (x_137 == 0) +{ +lean_object* x_138; lean_object* x_139; lean_object* x_140; uint8_t x_141; +lean_dec(x_131); +x_138 = lean_ctor_get(x_135, 1); +lean_inc(x_138); +lean_dec(x_135); +lean_inc(x_132); +x_139 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_132, x_138); +x_140 = lean_ctor_get(x_139, 0); +lean_inc(x_140); +x_141 = lean_unbox(x_140); +if (x_141 == 0) +{ +uint8_t x_142; +lean_dec(x_132); +lean_dec(x_2); +x_142 = !lean_is_exclusive(x_139); +if (x_142 == 0) +{ +lean_object* x_143; +x_143 = lean_ctor_get(x_139, 0); +lean_dec(x_143); +return x_139; +} +else +{ +lean_object* x_144; lean_object* x_145; +x_144 = lean_ctor_get(x_139, 1); +lean_inc(x_144); +lean_dec(x_139); +x_145 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_145, 0, x_140); +lean_ctor_set(x_145, 1, x_144); +return x_145; +} +} +else +{ +lean_object* x_146; +lean_dec(x_140); +x_146 = lean_ctor_get(x_139, 1); +lean_inc(x_146); +lean_dec(x_139); +x_3 = x_132; +x_4 = x_146; +goto _start; +} +} +else +{ +lean_object* x_148; lean_object* x_149; lean_object* x_150; uint8_t x_151; +x_148 = lean_ctor_get(x_135, 1); +lean_inc(x_148); +lean_dec(x_135); +lean_inc(x_2); +x_149 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__80(x_1, x_2, x_131, x_148); +x_150 = lean_ctor_get(x_149, 0); +lean_inc(x_150); +x_151 = lean_unbox(x_150); +if (x_151 == 0) +{ +lean_object* x_152; lean_object* x_153; lean_object* x_154; uint8_t x_155; +lean_dec(x_150); +x_152 = lean_ctor_get(x_149, 1); +lean_inc(x_152); +lean_dec(x_149); +lean_inc(x_132); +x_153 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_132, x_152); +x_154 = lean_ctor_get(x_153, 0); +lean_inc(x_154); +x_155 = lean_unbox(x_154); +if (x_155 == 0) +{ +uint8_t x_156; +lean_dec(x_132); +lean_dec(x_2); +x_156 = !lean_is_exclusive(x_153); +if (x_156 == 0) +{ +lean_object* x_157; +x_157 = lean_ctor_get(x_153, 0); +lean_dec(x_157); +return x_153; +} +else +{ +lean_object* x_158; lean_object* x_159; +x_158 = lean_ctor_get(x_153, 1); +lean_inc(x_158); +lean_dec(x_153); +x_159 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_159, 0, x_154); +lean_ctor_set(x_159, 1, x_158); +return x_159; +} +} +else +{ +lean_object* x_160; +lean_dec(x_154); +x_160 = lean_ctor_get(x_153, 1); +lean_inc(x_160); +lean_dec(x_153); +x_3 = x_132; +x_4 = x_160; +goto _start; +} +} +else +{ +uint8_t x_162; +lean_dec(x_132); +lean_dec(x_2); +x_162 = !lean_is_exclusive(x_149); +if (x_162 == 0) +{ +lean_object* x_163; +x_163 = lean_ctor_get(x_149, 0); +lean_dec(x_163); +return x_149; +} +else +{ +lean_object* x_164; lean_object* x_165; +x_164 = lean_ctor_get(x_149, 1); +lean_inc(x_164); +lean_dec(x_149); +x_165 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_165, 0, x_150); +lean_ctor_set(x_165, 1, x_164); +return x_165; +} +} +} +} +else +{ +lean_object* x_166; lean_object* x_167; +lean_dec(x_132); +lean_dec(x_131); +lean_dec(x_2); +x_166 = lean_box(x_133); +x_167 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_167, 0, x_166); +lean_ctor_set(x_167, 1, x_134); +return x_167; +} +} +} +case 10: +{ +lean_object* x_179; lean_object* x_180; lean_object* x_181; uint8_t x_182; +x_179 = lean_ctor_get(x_3, 1); +lean_inc(x_179); +lean_dec(x_3); +lean_inc(x_179); +x_180 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_179, x_4); +x_181 = lean_ctor_get(x_180, 0); +lean_inc(x_181); +x_182 = lean_unbox(x_181); +if (x_182 == 0) +{ +uint8_t x_183; +lean_dec(x_179); +lean_dec(x_2); +x_183 = !lean_is_exclusive(x_180); +if (x_183 == 0) +{ +lean_object* x_184; +x_184 = lean_ctor_get(x_180, 0); +lean_dec(x_184); +return x_180; +} +else +{ +lean_object* x_185; lean_object* x_186; +x_185 = lean_ctor_get(x_180, 1); +lean_inc(x_185); +lean_dec(x_180); +x_186 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_186, 0, x_181); +lean_ctor_set(x_186, 1, x_185); +return x_186; +} +} +else +{ +lean_object* x_187; +lean_dec(x_181); +x_187 = lean_ctor_get(x_180, 1); +lean_inc(x_187); +lean_dec(x_180); +x_3 = x_179; +x_4 = x_187; +goto _start; +} +} +case 11: +{ +lean_object* x_189; lean_object* x_190; lean_object* x_191; uint8_t x_192; +x_189 = lean_ctor_get(x_3, 2); +lean_inc(x_189); +lean_dec(x_3); +lean_inc(x_189); +x_190 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_189, x_4); +x_191 = lean_ctor_get(x_190, 0); +lean_inc(x_191); +x_192 = lean_unbox(x_191); +if (x_192 == 0) +{ +uint8_t x_193; +lean_dec(x_189); +lean_dec(x_2); +x_193 = !lean_is_exclusive(x_190); +if (x_193 == 0) +{ +lean_object* x_194; +x_194 = lean_ctor_get(x_190, 0); +lean_dec(x_194); +return x_190; +} +else +{ +lean_object* x_195; lean_object* x_196; +x_195 = lean_ctor_get(x_190, 1); +lean_inc(x_195); +lean_dec(x_190); +x_196 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_196, 0, x_191); +lean_ctor_set(x_196, 1, x_195); +return x_196; +} +} +else +{ +lean_object* x_197; +lean_dec(x_191); +x_197 = lean_ctor_get(x_190, 1); +lean_inc(x_197); +lean_dec(x_190); +x_3 = x_189; +x_4 = x_197; +goto _start; +} +} +default: +{ +uint8_t x_199; lean_object* x_200; lean_object* x_201; +lean_dec(x_3); +lean_dec(x_2); +x_199 = 0; +x_200 = lean_box(x_199); +x_201 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_201, 0, x_200); +lean_ctor_set(x_201, 1, x_4); +return x_201; +} +} +} +} +uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__89(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_nat_dec_lt(x_5, x_4); +if (x_6 == 0) +{ +uint8_t x_7; +lean_dec(x_5); +x_7 = 0; +return x_7; +} +else +{ +lean_object* x_8; uint8_t x_9; +x_8 = lean_array_fget(x_3, x_5); +x_9 = l_PersistentArray_anyMAux___main___at_Lean_Meta_clear___spec__88(x_1, x_8); +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_5, x_10); +lean_dec(x_5); +x_5 = x_11; +goto _start; +} +else +{ +lean_dec(x_5); +return x_9; +} +} +} +} +uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__90(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_nat_dec_lt(x_5, x_4); +if (x_6 == 0) +{ +uint8_t x_7; +lean_dec(x_5); +x_7 = 0; +return x_7; +} +else +{ +lean_object* x_8; +x_8 = lean_array_fget(x_3, x_5); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_unsigned_to_nat(1u); +x_10 = lean_nat_add(x_5, x_9); +lean_dec(x_5); +x_5 = x_10; +goto _start; +} +else +{ +lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_12 = lean_ctor_get(x_8, 0); +lean_inc(x_12); +lean_dec(x_8); +x_13 = l_Lean_LocalDecl_fvarId(x_12); +lean_dec(x_12); +x_14 = lean_name_eq(x_13, x_1); +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_5, x_15); +lean_dec(x_5); +x_5 = x_16; +goto _start; +} +else +{ +lean_dec(x_5); +return x_14; +} +} +} +} +} +uint8_t l_PersistentArray_anyMAux___main___at_Lean_Meta_clear___spec__88(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; +x_3 = lean_ctor_get(x_2, 0); +x_4 = lean_array_get_size(x_3); +x_5 = lean_unsigned_to_nat(0u); +x_6 = l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__89(x_1, x_3, x_3, x_4, x_5); +lean_dec(x_4); +return x_6; +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_7 = lean_ctor_get(x_2, 0); +x_8 = lean_array_get_size(x_7); +x_9 = lean_unsigned_to_nat(0u); +x_10 = l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__90(x_1, x_7, x_7, x_8, x_9); +lean_dec(x_8); +return x_10; +} +} +} +uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__91(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_nat_dec_lt(x_5, x_4); +if (x_6 == 0) +{ +uint8_t x_7; +lean_dec(x_5); +x_7 = 0; +return x_7; +} +else +{ +lean_object* x_8; +x_8 = lean_array_fget(x_3, x_5); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_unsigned_to_nat(1u); +x_10 = lean_nat_add(x_5, x_9); +lean_dec(x_5); +x_5 = x_10; +goto _start; +} +else +{ +lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_12 = lean_ctor_get(x_8, 0); +lean_inc(x_12); +lean_dec(x_8); +x_13 = l_Lean_LocalDecl_fvarId(x_12); +lean_dec(x_12); +x_14 = lean_name_eq(x_13, x_1); +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_5, x_15); +lean_dec(x_5); +x_5 = x_16; +goto _start; +} +else +{ +lean_dec(x_5); +return x_14; +} +} +} +} +} +uint8_t l_PersistentArray_anyM___at_Lean_Meta_clear___spec__87(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_Meta_clear___spec__88(x_1, x_3); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; +x_5 = lean_ctor_get(x_2, 1); +x_6 = lean_array_get_size(x_5); +x_7 = lean_unsigned_to_nat(0u); +x_8 = l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__91(x_1, x_2, x_5, x_6, x_7); +lean_dec(x_6); +return x_8; +} +else +{ +return x_4; +} +} +} +lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__86(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; uint8_t x_6; lean_object* x_7; lean_object* x_8; +lean_dec(x_2); +x_5 = lean_ctor_get(x_3, 0); +lean_inc(x_5); +lean_dec(x_3); +x_6 = lean_name_eq(x_5, x_1); +lean_dec(x_5); +x_7 = lean_box(x_6); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_4); +return x_8; +} +case 2: +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_ctor_get(x_3, 0); +lean_inc(x_9); +lean_dec(x_3); +lean_inc(x_9); +lean_inc(x_2); +x_10 = lean_metavar_ctx_get_expr_assignment(x_2, x_9); +if (lean_obj_tag(x_10) == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_object* x_15; lean_object* x_16; +x_11 = l_Lean_MetavarContext_getDecl(x_2, x_9); +lean_dec(x_9); +x_12 = lean_ctor_get(x_11, 1); +lean_inc(x_12); +lean_dec(x_11); +x_13 = lean_ctor_get(x_12, 1); +lean_inc(x_13); +lean_dec(x_12); +x_14 = l_PersistentArray_anyM___at_Lean_Meta_clear___spec__87(x_1, x_13); +lean_dec(x_13); +x_15 = lean_box(x_14); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_4); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; +lean_dec(x_9); +x_17 = lean_ctor_get(x_10, 0); +lean_inc(x_17); +lean_dec(x_10); +lean_inc(x_17); +x_18 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_17, x_4); +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +x_20 = lean_unbox(x_19); +if (x_20 == 0) +{ +uint8_t x_21; +lean_dec(x_17); +lean_dec(x_2); +x_21 = !lean_is_exclusive(x_18); +if (x_21 == 0) +{ +lean_object* x_22; +x_22 = lean_ctor_get(x_18, 0); +lean_dec(x_22); +return x_18; +} +else +{ +lean_object* x_23; lean_object* x_24; +x_23 = lean_ctor_get(x_18, 1); +lean_inc(x_23); +lean_dec(x_18); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_19); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +else +{ +lean_object* x_25; +lean_dec(x_19); +x_25 = lean_ctor_get(x_18, 1); +lean_inc(x_25); +lean_dec(x_18); +x_3 = x_17; +x_4 = x_25; +goto _start; +} +} +} +case 5: +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; +x_27 = lean_ctor_get(x_3, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_3, 1); +lean_inc(x_28); +lean_dec(x_3); +lean_inc(x_28); +x_29 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_28, x_4); +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_unbox(x_30); +lean_dec(x_30); +if (x_31 == 0) +{ +lean_object* x_32; uint8_t x_33; +lean_dec(x_28); +x_32 = lean_ctor_get(x_29, 1); +lean_inc(x_32); +lean_dec(x_29); +x_33 = l_Lean_Expr_isApp(x_27); +if (x_33 == 0) +{ +lean_object* x_34; lean_object* x_35; uint8_t x_36; +lean_inc(x_27); +x_34 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_27, x_32); +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +x_36 = lean_unbox(x_35); +if (x_36 == 0) +{ +uint8_t x_37; +lean_dec(x_27); +lean_dec(x_2); +x_37 = !lean_is_exclusive(x_34); +if (x_37 == 0) +{ +lean_object* x_38; +x_38 = lean_ctor_get(x_34, 0); +lean_dec(x_38); +return x_34; +} +else +{ +lean_object* x_39; lean_object* x_40; +x_39 = lean_ctor_get(x_34, 1); +lean_inc(x_39); +lean_dec(x_34); +x_40 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_40, 0, x_35); +lean_ctor_set(x_40, 1, x_39); +return x_40; +} +} +else +{ +lean_object* x_41; +lean_dec(x_35); +x_41 = lean_ctor_get(x_34, 1); +lean_inc(x_41); +lean_dec(x_34); +x_3 = x_27; +x_4 = x_41; +goto _start; +} +} +else +{ +x_3 = x_27; +x_4 = x_32; +goto _start; +} +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; +x_44 = lean_ctor_get(x_29, 1); +lean_inc(x_44); +lean_dec(x_29); +lean_inc(x_2); +x_45 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__86(x_1, x_2, x_28, x_44); +x_46 = lean_ctor_get(x_45, 0); +lean_inc(x_46); +x_47 = lean_unbox(x_46); +if (x_47 == 0) +{ +lean_object* x_48; uint8_t x_49; +lean_dec(x_46); +x_48 = lean_ctor_get(x_45, 1); +lean_inc(x_48); +lean_dec(x_45); +x_49 = l_Lean_Expr_isApp(x_27); +if (x_49 == 0) +{ +lean_object* x_50; lean_object* x_51; uint8_t x_52; +lean_inc(x_27); +x_50 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_27, x_48); +x_51 = lean_ctor_get(x_50, 0); +lean_inc(x_51); +x_52 = lean_unbox(x_51); +if (x_52 == 0) +{ +uint8_t x_53; +lean_dec(x_27); +lean_dec(x_2); +x_53 = !lean_is_exclusive(x_50); +if (x_53 == 0) +{ +lean_object* x_54; +x_54 = lean_ctor_get(x_50, 0); +lean_dec(x_54); +return x_50; +} +else +{ +lean_object* x_55; lean_object* x_56; +x_55 = lean_ctor_get(x_50, 1); +lean_inc(x_55); +lean_dec(x_50); +x_56 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_56, 0, x_51); +lean_ctor_set(x_56, 1, x_55); +return x_56; +} +} +else +{ +lean_object* x_57; +lean_dec(x_51); +x_57 = lean_ctor_get(x_50, 1); +lean_inc(x_57); +lean_dec(x_50); +x_3 = x_27; +x_4 = x_57; +goto _start; +} +} +else +{ +x_3 = x_27; +x_4 = x_48; +goto _start; +} +} +else +{ +uint8_t x_60; +lean_dec(x_27); +lean_dec(x_2); +x_60 = !lean_is_exclusive(x_45); +if (x_60 == 0) +{ +lean_object* x_61; +x_61 = lean_ctor_get(x_45, 0); +lean_dec(x_61); +return x_45; +} +else +{ +lean_object* x_62; lean_object* x_63; +x_62 = lean_ctor_get(x_45, 1); +lean_inc(x_62); +lean_dec(x_45); +x_63 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_63, 0, x_46); +lean_ctor_set(x_63, 1, x_62); +return x_63; +} +} +} +} +case 6: +{ +lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; uint8_t x_68; +x_64 = lean_ctor_get(x_3, 1); +lean_inc(x_64); +x_65 = lean_ctor_get(x_3, 2); +lean_inc(x_65); +lean_dec(x_3); +lean_inc(x_64); +x_66 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_64, x_4); +x_67 = lean_ctor_get(x_66, 0); +lean_inc(x_67); +x_68 = lean_unbox(x_67); +lean_dec(x_67); +if (x_68 == 0) +{ +lean_object* x_69; lean_object* x_70; lean_object* x_71; uint8_t x_72; +lean_dec(x_64); +x_69 = lean_ctor_get(x_66, 1); +lean_inc(x_69); +lean_dec(x_66); +lean_inc(x_65); +x_70 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_65, x_69); +x_71 = lean_ctor_get(x_70, 0); +lean_inc(x_71); +x_72 = lean_unbox(x_71); +if (x_72 == 0) +{ +uint8_t x_73; +lean_dec(x_65); +lean_dec(x_2); +x_73 = !lean_is_exclusive(x_70); +if (x_73 == 0) +{ +lean_object* x_74; +x_74 = lean_ctor_get(x_70, 0); +lean_dec(x_74); +return x_70; +} +else +{ +lean_object* x_75; lean_object* x_76; +x_75 = lean_ctor_get(x_70, 1); +lean_inc(x_75); +lean_dec(x_70); +x_76 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_76, 0, x_71); +lean_ctor_set(x_76, 1, x_75); +return x_76; +} +} +else +{ +lean_object* x_77; +lean_dec(x_71); +x_77 = lean_ctor_get(x_70, 1); +lean_inc(x_77); +lean_dec(x_70); +x_3 = x_65; +x_4 = x_77; +goto _start; +} +} +else +{ +lean_object* x_79; lean_object* x_80; lean_object* x_81; uint8_t x_82; +x_79 = lean_ctor_get(x_66, 1); +lean_inc(x_79); +lean_dec(x_66); +lean_inc(x_2); +x_80 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__86(x_1, x_2, x_64, x_79); +x_81 = lean_ctor_get(x_80, 0); +lean_inc(x_81); +x_82 = lean_unbox(x_81); +if (x_82 == 0) +{ +lean_object* x_83; lean_object* x_84; lean_object* x_85; uint8_t x_86; +lean_dec(x_81); +x_83 = lean_ctor_get(x_80, 1); +lean_inc(x_83); +lean_dec(x_80); +lean_inc(x_65); +x_84 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_65, x_83); +x_85 = lean_ctor_get(x_84, 0); +lean_inc(x_85); +x_86 = lean_unbox(x_85); +if (x_86 == 0) +{ +uint8_t x_87; +lean_dec(x_65); +lean_dec(x_2); +x_87 = !lean_is_exclusive(x_84); +if (x_87 == 0) +{ +lean_object* x_88; +x_88 = lean_ctor_get(x_84, 0); +lean_dec(x_88); +return x_84; +} +else +{ +lean_object* x_89; lean_object* x_90; +x_89 = lean_ctor_get(x_84, 1); +lean_inc(x_89); +lean_dec(x_84); +x_90 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_90, 0, x_85); +lean_ctor_set(x_90, 1, x_89); +return x_90; +} +} +else +{ +lean_object* x_91; +lean_dec(x_85); +x_91 = lean_ctor_get(x_84, 1); +lean_inc(x_91); +lean_dec(x_84); +x_3 = x_65; +x_4 = x_91; +goto _start; +} +} +else +{ +uint8_t x_93; +lean_dec(x_65); +lean_dec(x_2); +x_93 = !lean_is_exclusive(x_80); +if (x_93 == 0) +{ +lean_object* x_94; +x_94 = lean_ctor_get(x_80, 0); +lean_dec(x_94); +return x_80; +} +else +{ +lean_object* x_95; lean_object* x_96; +x_95 = lean_ctor_get(x_80, 1); +lean_inc(x_95); +lean_dec(x_80); +x_96 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_96, 0, x_81); +lean_ctor_set(x_96, 1, x_95); +return x_96; +} +} +} +} +case 7: +{ +lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; uint8_t x_101; +x_97 = lean_ctor_get(x_3, 1); +lean_inc(x_97); +x_98 = lean_ctor_get(x_3, 2); +lean_inc(x_98); +lean_dec(x_3); +lean_inc(x_97); +x_99 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_97, x_4); +x_100 = lean_ctor_get(x_99, 0); +lean_inc(x_100); +x_101 = lean_unbox(x_100); +lean_dec(x_100); +if (x_101 == 0) +{ +lean_object* x_102; lean_object* x_103; lean_object* x_104; uint8_t x_105; +lean_dec(x_97); +x_102 = lean_ctor_get(x_99, 1); +lean_inc(x_102); +lean_dec(x_99); +lean_inc(x_98); +x_103 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_98, x_102); +x_104 = lean_ctor_get(x_103, 0); +lean_inc(x_104); +x_105 = lean_unbox(x_104); +if (x_105 == 0) +{ +uint8_t x_106; +lean_dec(x_98); +lean_dec(x_2); +x_106 = !lean_is_exclusive(x_103); +if (x_106 == 0) +{ +lean_object* x_107; +x_107 = lean_ctor_get(x_103, 0); +lean_dec(x_107); +return x_103; +} +else +{ +lean_object* x_108; lean_object* x_109; +x_108 = lean_ctor_get(x_103, 1); +lean_inc(x_108); +lean_dec(x_103); +x_109 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_109, 0, x_104); +lean_ctor_set(x_109, 1, x_108); +return x_109; +} +} +else +{ +lean_object* x_110; +lean_dec(x_104); +x_110 = lean_ctor_get(x_103, 1); +lean_inc(x_110); +lean_dec(x_103); +x_3 = x_98; +x_4 = x_110; +goto _start; +} +} +else +{ +lean_object* x_112; lean_object* x_113; lean_object* x_114; uint8_t x_115; +x_112 = lean_ctor_get(x_99, 1); +lean_inc(x_112); +lean_dec(x_99); +lean_inc(x_2); +x_113 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__86(x_1, x_2, x_97, x_112); +x_114 = lean_ctor_get(x_113, 0); +lean_inc(x_114); +x_115 = lean_unbox(x_114); +if (x_115 == 0) +{ +lean_object* x_116; lean_object* x_117; lean_object* x_118; uint8_t x_119; +lean_dec(x_114); +x_116 = lean_ctor_get(x_113, 1); +lean_inc(x_116); +lean_dec(x_113); +lean_inc(x_98); +x_117 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_98, x_116); +x_118 = lean_ctor_get(x_117, 0); +lean_inc(x_118); +x_119 = lean_unbox(x_118); +if (x_119 == 0) +{ +uint8_t x_120; +lean_dec(x_98); +lean_dec(x_2); +x_120 = !lean_is_exclusive(x_117); +if (x_120 == 0) +{ +lean_object* x_121; +x_121 = lean_ctor_get(x_117, 0); +lean_dec(x_121); +return x_117; +} +else +{ +lean_object* x_122; lean_object* x_123; +x_122 = lean_ctor_get(x_117, 1); +lean_inc(x_122); +lean_dec(x_117); +x_123 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_123, 0, x_118); +lean_ctor_set(x_123, 1, x_122); +return x_123; +} +} +else +{ +lean_object* x_124; +lean_dec(x_118); +x_124 = lean_ctor_get(x_117, 1); +lean_inc(x_124); +lean_dec(x_117); +x_3 = x_98; +x_4 = x_124; +goto _start; +} +} +else +{ +uint8_t x_126; +lean_dec(x_98); +lean_dec(x_2); +x_126 = !lean_is_exclusive(x_113); +if (x_126 == 0) +{ +lean_object* x_127; +x_127 = lean_ctor_get(x_113, 0); +lean_dec(x_127); +return x_113; +} +else +{ +lean_object* x_128; lean_object* x_129; +x_128 = lean_ctor_get(x_113, 1); +lean_inc(x_128); +lean_dec(x_113); +x_129 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_129, 0, x_114); +lean_ctor_set(x_129, 1, x_128); +return x_129; +} +} +} +} +case 8: +{ +lean_object* x_130; lean_object* x_131; lean_object* x_132; uint8_t x_133; lean_object* x_134; lean_object* x_169; lean_object* x_170; uint8_t x_171; +x_130 = lean_ctor_get(x_3, 1); +lean_inc(x_130); +x_131 = lean_ctor_get(x_3, 2); +lean_inc(x_131); +x_132 = lean_ctor_get(x_3, 3); +lean_inc(x_132); +lean_dec(x_3); +lean_inc(x_130); +x_169 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_130, x_4); +x_170 = lean_ctor_get(x_169, 0); +lean_inc(x_170); +x_171 = lean_unbox(x_170); +if (x_171 == 0) +{ +lean_object* x_172; uint8_t x_173; +lean_dec(x_130); +x_172 = lean_ctor_get(x_169, 1); +lean_inc(x_172); +lean_dec(x_169); +x_173 = lean_unbox(x_170); +lean_dec(x_170); +x_133 = x_173; +x_134 = x_172; +goto block_168; +} +else +{ +lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; uint8_t x_178; +lean_dec(x_170); +x_174 = lean_ctor_get(x_169, 1); +lean_inc(x_174); +lean_dec(x_169); +lean_inc(x_2); +x_175 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__86(x_1, x_2, x_130, x_174); +x_176 = lean_ctor_get(x_175, 0); +lean_inc(x_176); +x_177 = lean_ctor_get(x_175, 1); +lean_inc(x_177); +lean_dec(x_175); +x_178 = lean_unbox(x_176); +lean_dec(x_176); +x_133 = x_178; +x_134 = x_177; +goto block_168; +} +block_168: +{ +if (x_133 == 0) +{ +lean_object* x_135; lean_object* x_136; uint8_t x_137; +lean_inc(x_131); +x_135 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_131, x_134); +x_136 = lean_ctor_get(x_135, 0); +lean_inc(x_136); +x_137 = lean_unbox(x_136); +lean_dec(x_136); +if (x_137 == 0) +{ +lean_object* x_138; lean_object* x_139; lean_object* x_140; uint8_t x_141; +lean_dec(x_131); +x_138 = lean_ctor_get(x_135, 1); +lean_inc(x_138); +lean_dec(x_135); +lean_inc(x_132); +x_139 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_132, x_138); +x_140 = lean_ctor_get(x_139, 0); +lean_inc(x_140); +x_141 = lean_unbox(x_140); +if (x_141 == 0) +{ +uint8_t x_142; +lean_dec(x_132); +lean_dec(x_2); +x_142 = !lean_is_exclusive(x_139); +if (x_142 == 0) +{ +lean_object* x_143; +x_143 = lean_ctor_get(x_139, 0); +lean_dec(x_143); +return x_139; +} +else +{ +lean_object* x_144; lean_object* x_145; +x_144 = lean_ctor_get(x_139, 1); +lean_inc(x_144); +lean_dec(x_139); +x_145 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_145, 0, x_140); +lean_ctor_set(x_145, 1, x_144); +return x_145; +} +} +else +{ +lean_object* x_146; +lean_dec(x_140); +x_146 = lean_ctor_get(x_139, 1); +lean_inc(x_146); +lean_dec(x_139); +x_3 = x_132; +x_4 = x_146; +goto _start; +} +} +else +{ +lean_object* x_148; lean_object* x_149; lean_object* x_150; uint8_t x_151; +x_148 = lean_ctor_get(x_135, 1); +lean_inc(x_148); +lean_dec(x_135); +lean_inc(x_2); +x_149 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__86(x_1, x_2, x_131, x_148); +x_150 = lean_ctor_get(x_149, 0); +lean_inc(x_150); +x_151 = lean_unbox(x_150); +if (x_151 == 0) +{ +lean_object* x_152; lean_object* x_153; lean_object* x_154; uint8_t x_155; +lean_dec(x_150); +x_152 = lean_ctor_get(x_149, 1); +lean_inc(x_152); +lean_dec(x_149); +lean_inc(x_132); +x_153 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_132, x_152); +x_154 = lean_ctor_get(x_153, 0); +lean_inc(x_154); +x_155 = lean_unbox(x_154); +if (x_155 == 0) +{ +uint8_t x_156; +lean_dec(x_132); +lean_dec(x_2); +x_156 = !lean_is_exclusive(x_153); +if (x_156 == 0) +{ +lean_object* x_157; +x_157 = lean_ctor_get(x_153, 0); +lean_dec(x_157); +return x_153; +} +else +{ +lean_object* x_158; lean_object* x_159; +x_158 = lean_ctor_get(x_153, 1); +lean_inc(x_158); +lean_dec(x_153); +x_159 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_159, 0, x_154); +lean_ctor_set(x_159, 1, x_158); +return x_159; +} +} +else +{ +lean_object* x_160; +lean_dec(x_154); +x_160 = lean_ctor_get(x_153, 1); +lean_inc(x_160); +lean_dec(x_153); +x_3 = x_132; +x_4 = x_160; +goto _start; +} +} +else +{ +uint8_t x_162; +lean_dec(x_132); +lean_dec(x_2); +x_162 = !lean_is_exclusive(x_149); +if (x_162 == 0) +{ +lean_object* x_163; +x_163 = lean_ctor_get(x_149, 0); +lean_dec(x_163); +return x_149; +} +else +{ +lean_object* x_164; lean_object* x_165; +x_164 = lean_ctor_get(x_149, 1); +lean_inc(x_164); +lean_dec(x_149); +x_165 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_165, 0, x_150); +lean_ctor_set(x_165, 1, x_164); +return x_165; +} +} +} +} +else +{ +lean_object* x_166; lean_object* x_167; +lean_dec(x_132); +lean_dec(x_131); +lean_dec(x_2); +x_166 = lean_box(x_133); +x_167 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_167, 0, x_166); +lean_ctor_set(x_167, 1, x_134); +return x_167; +} +} +} +case 10: +{ +lean_object* x_179; lean_object* x_180; lean_object* x_181; uint8_t x_182; +x_179 = lean_ctor_get(x_3, 1); +lean_inc(x_179); +lean_dec(x_3); +lean_inc(x_179); +x_180 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_179, x_4); +x_181 = lean_ctor_get(x_180, 0); +lean_inc(x_181); +x_182 = lean_unbox(x_181); +if (x_182 == 0) +{ +uint8_t x_183; +lean_dec(x_179); +lean_dec(x_2); +x_183 = !lean_is_exclusive(x_180); +if (x_183 == 0) +{ +lean_object* x_184; +x_184 = lean_ctor_get(x_180, 0); +lean_dec(x_184); +return x_180; +} +else +{ +lean_object* x_185; lean_object* x_186; +x_185 = lean_ctor_get(x_180, 1); +lean_inc(x_185); +lean_dec(x_180); +x_186 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_186, 0, x_181); +lean_ctor_set(x_186, 1, x_185); +return x_186; +} +} +else +{ +lean_object* x_187; +lean_dec(x_181); +x_187 = lean_ctor_get(x_180, 1); +lean_inc(x_187); +lean_dec(x_180); +x_3 = x_179; +x_4 = x_187; +goto _start; +} +} +case 11: +{ +lean_object* x_189; lean_object* x_190; lean_object* x_191; uint8_t x_192; +x_189 = lean_ctor_get(x_3, 2); +lean_inc(x_189); +lean_dec(x_3); +lean_inc(x_189); +x_190 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_189, x_4); +x_191 = lean_ctor_get(x_190, 0); +lean_inc(x_191); +x_192 = lean_unbox(x_191); +if (x_192 == 0) +{ +uint8_t x_193; +lean_dec(x_189); +lean_dec(x_2); +x_193 = !lean_is_exclusive(x_190); +if (x_193 == 0) +{ +lean_object* x_194; +x_194 = lean_ctor_get(x_190, 0); +lean_dec(x_194); +return x_190; +} +else +{ +lean_object* x_195; lean_object* x_196; +x_195 = lean_ctor_get(x_190, 1); +lean_inc(x_195); +lean_dec(x_190); +x_196 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_196, 0, x_191); +lean_ctor_set(x_196, 1, x_195); +return x_196; +} +} +else +{ +lean_object* x_197; +lean_dec(x_191); +x_197 = lean_ctor_get(x_190, 1); +lean_inc(x_197); +lean_dec(x_190); +x_3 = x_189; +x_4 = x_197; +goto _start; +} +} +default: +{ +uint8_t x_199; lean_object* x_200; lean_object* x_201; +lean_dec(x_3); +lean_dec(x_2); +x_199 = 0; +x_200 = lean_box(x_199); +x_201 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_201, 0, x_200); +lean_ctor_set(x_201, 1, x_4); +return x_201; +} +} +} +} +lean_object* l_Array_forMAux___main___at_Lean_Meta_clear___spec__95(lean_object* x_1, lean_object* x_2, 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_array_get_size(x_5); +x_10 = lean_nat_dec_lt(x_6, x_9); +lean_dec(x_9); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +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_8); +return x_12; +} +else +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_array_fget(x_5, x_6); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +x_14 = l_PersistentArray_forMAux___main___at_Lean_Meta_clear___spec__94(x_1, x_2, x_3, x_4, x_13, x_7, x_8); +lean_dec(x_13); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_14, 1); +lean_inc(x_15); +lean_dec(x_14); +x_16 = lean_unsigned_to_nat(1u); +x_17 = lean_nat_add(x_6, x_16); +lean_dec(x_6); +x_6 = x_17; +x_8 = x_15; +goto _start; +} +else +{ +uint8_t x_19; +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_19 = !lean_is_exclusive(x_14); +if (x_19 == 0) +{ +return x_14; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_14, 0); +x_21 = lean_ctor_get(x_14, 1); +lean_inc(x_21); +lean_inc(x_20); +lean_dec(x_14); +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_20); +lean_ctor_set(x_22, 1, x_21); +return x_22; +} +} +} +} +} +lean_object* l_Array_forMAux___main___at_Lean_Meta_clear___spec__96(lean_object* x_1, lean_object* x_2, 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_array_get_size(x_5); +x_10 = lean_nat_dec_lt(x_6, x_9); +lean_dec(x_9); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +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_8); +return x_12; +} +else +{ +lean_object* x_13; +x_13 = lean_array_fget(x_5, x_6); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_unsigned_to_nat(1u); +x_15 = lean_nat_add(x_6, x_14); +lean_dec(x_6); +x_6 = x_15; +goto _start; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_36; uint8_t x_37; +x_17 = lean_ctor_get(x_13, 0); +lean_inc(x_17); +lean_dec(x_13); +x_36 = l_Lean_LocalDecl_fvarId(x_17); +x_37 = lean_name_eq(x_36, x_2); +lean_dec(x_36); +if (x_37 == 0) +{ +if (lean_obj_tag(x_17) == 0) +{ +lean_object* x_38; uint8_t x_39; +x_38 = lean_ctor_get(x_17, 3); +lean_inc(x_38); +x_39 = l_Lean_Expr_hasFVar(x_38); +if (x_39 == 0) +{ +uint8_t x_40; +x_40 = l_Lean_Expr_hasMVar(x_38); +if (x_40 == 0) +{ +lean_object* x_41; lean_object* x_42; +lean_dec(x_38); +lean_dec(x_17); +x_41 = lean_unsigned_to_nat(1u); +x_42 = lean_nat_add(x_6, x_41); +lean_dec(x_6); +x_6 = x_42; +goto _start; +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; +x_44 = l_HashMap_Inhabited___closed__1; +lean_inc(x_4); +x_45 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__56(x_2, x_4, x_38, x_44); +x_46 = lean_ctor_get(x_45, 0); +lean_inc(x_46); +lean_dec(x_45); +x_47 = lean_unbox(x_46); +lean_dec(x_46); +if (x_47 == 0) +{ +lean_object* x_48; lean_object* x_49; +lean_dec(x_17); +x_48 = lean_unsigned_to_nat(1u); +x_49 = lean_nat_add(x_6, x_48); +lean_dec(x_6); +x_6 = x_49; +goto _start; +} +else +{ +lean_object* x_51; +lean_dec(x_6); +lean_dec(x_4); +x_51 = lean_box(0); +x_18 = x_51; +goto block_35; +} +} +} +else +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; uint8_t x_55; +x_52 = l_HashMap_Inhabited___closed__1; +lean_inc(x_4); +x_53 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__62(x_2, x_4, x_38, x_52); +x_54 = lean_ctor_get(x_53, 0); +lean_inc(x_54); +lean_dec(x_53); +x_55 = lean_unbox(x_54); +lean_dec(x_54); +if (x_55 == 0) +{ +lean_object* x_56; lean_object* x_57; +lean_dec(x_17); +x_56 = lean_unsigned_to_nat(1u); +x_57 = lean_nat_add(x_6, x_56); +lean_dec(x_6); +x_6 = x_57; +goto _start; +} +else +{ +lean_object* x_59; +lean_dec(x_6); +lean_dec(x_4); +x_59 = lean_box(0); +x_18 = x_59; +goto block_35; +} +} +} +else +{ +lean_object* x_60; lean_object* x_61; uint8_t x_62; lean_object* x_63; uint8_t x_85; +x_60 = lean_ctor_get(x_17, 3); +lean_inc(x_60); +x_61 = lean_ctor_get(x_17, 4); +lean_inc(x_61); +x_85 = l_Lean_Expr_hasFVar(x_60); +if (x_85 == 0) +{ +uint8_t x_86; +x_86 = l_Lean_Expr_hasMVar(x_60); +if (x_86 == 0) +{ +uint8_t x_87; lean_object* x_88; +lean_dec(x_60); +x_87 = 0; +x_88 = l_HashMap_Inhabited___closed__1; +x_62 = x_87; +x_63 = x_88; +goto block_84; +} +else +{ +lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; uint8_t x_93; +x_89 = l_HashMap_Inhabited___closed__1; +lean_inc(x_4); +x_90 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__80(x_2, x_4, x_60, x_89); +x_91 = lean_ctor_get(x_90, 0); +lean_inc(x_91); +x_92 = lean_ctor_get(x_90, 1); +lean_inc(x_92); +lean_dec(x_90); +x_93 = lean_unbox(x_91); +lean_dec(x_91); +x_62 = x_93; +x_63 = x_92; +goto block_84; +} +} +else +{ +lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; uint8_t x_98; +x_94 = l_HashMap_Inhabited___closed__1; +lean_inc(x_4); +x_95 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__86(x_2, x_4, x_60, x_94); +x_96 = lean_ctor_get(x_95, 0); +lean_inc(x_96); +x_97 = lean_ctor_get(x_95, 1); +lean_inc(x_97); +lean_dec(x_95); +x_98 = lean_unbox(x_96); +lean_dec(x_96); +x_62 = x_98; +x_63 = x_97; +goto block_84; +} +block_84: +{ +if (x_62 == 0) +{ +uint8_t x_64; +x_64 = l_Lean_Expr_hasFVar(x_61); +if (x_64 == 0) +{ +uint8_t x_65; +x_65 = l_Lean_Expr_hasMVar(x_61); +if (x_65 == 0) +{ +lean_object* x_66; lean_object* x_67; +lean_dec(x_63); +lean_dec(x_61); +lean_dec(x_17); +x_66 = lean_unsigned_to_nat(1u); +x_67 = lean_nat_add(x_6, x_66); +lean_dec(x_6); +x_6 = x_67; +goto _start; +} +else +{ +lean_object* x_69; lean_object* x_70; uint8_t x_71; +lean_inc(x_4); +x_69 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__68(x_2, x_4, x_61, x_63); +x_70 = lean_ctor_get(x_69, 0); +lean_inc(x_70); +lean_dec(x_69); +x_71 = lean_unbox(x_70); +lean_dec(x_70); +if (x_71 == 0) +{ +lean_object* x_72; lean_object* x_73; +lean_dec(x_17); +x_72 = lean_unsigned_to_nat(1u); +x_73 = lean_nat_add(x_6, x_72); +lean_dec(x_6); +x_6 = x_73; +goto _start; +} +else +{ +lean_object* x_75; +lean_dec(x_6); +lean_dec(x_4); +x_75 = lean_box(0); +x_18 = x_75; +goto block_35; +} +} +} +else +{ +lean_object* x_76; lean_object* x_77; uint8_t x_78; +lean_inc(x_4); +x_76 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__74(x_2, x_4, x_61, x_63); +x_77 = lean_ctor_get(x_76, 0); +lean_inc(x_77); +lean_dec(x_76); +x_78 = lean_unbox(x_77); +lean_dec(x_77); +if (x_78 == 0) +{ +lean_object* x_79; lean_object* x_80; +lean_dec(x_17); +x_79 = lean_unsigned_to_nat(1u); +x_80 = lean_nat_add(x_6, x_79); +lean_dec(x_6); +x_6 = x_80; +goto _start; +} +else +{ +lean_object* x_82; +lean_dec(x_6); +lean_dec(x_4); +x_82 = lean_box(0); +x_18 = x_82; +goto block_35; +} +} +} +else +{ +lean_object* x_83; +lean_dec(x_63); +lean_dec(x_61); +lean_dec(x_6); +lean_dec(x_4); +x_83 = lean_box(0); +x_18 = x_83; +goto block_35; +} +} +} +} +else +{ +lean_object* x_99; lean_object* x_100; +lean_dec(x_17); +x_99 = lean_unsigned_to_nat(1u); +x_100 = lean_nat_add(x_6, x_99); +lean_dec(x_6); +x_6 = x_100; +goto _start; +} +block_35: +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; +lean_dec(x_18); +x_19 = l_Lean_LocalDecl_value(x_17); +lean_dec(x_17); +x_20 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_20, 0, x_19); +x_21 = l_Array_forMAux___main___at_Lean_Meta_clear___spec__41___closed__3; +x_22 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_20); +x_23 = l_Array_forMAux___main___at_Lean_Meta_clear___spec__41___closed__6; +x_24 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +x_25 = l_Lean_mkFVar(x_2); +x_26 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_26, 0, x_25); +x_27 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_27, 0, x_24); +lean_ctor_set(x_27, 1, x_26); +x_28 = l_Array_forMAux___main___at_Lean_Meta_clear___spec__41___closed__8; +x_29 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +x_30 = l_Lean_Meta_throwTacticEx___rarg(x_3, x_1, x_29, x_7, x_8); +x_31 = !lean_is_exclusive(x_30); +if (x_31 == 0) +{ +return x_30; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_30, 0); +x_33 = lean_ctor_get(x_30, 1); +lean_inc(x_33); +lean_inc(x_32); +lean_dec(x_30); +x_34 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_34, 0, x_32); +lean_ctor_set(x_34, 1, x_33); +return x_34; +} +} +} +} +} +} +lean_object* l_PersistentArray_forMAux___main___at_Lean_Meta_clear___spec__94(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +if (lean_obj_tag(x_5) == 0) +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_8 = lean_ctor_get(x_5, 0); +x_9 = lean_unsigned_to_nat(0u); +x_10 = l_Array_forMAux___main___at_Lean_Meta_clear___spec__95(x_1, x_2, x_3, x_4, x_8, x_9, x_6, x_7); +return x_10; +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_11 = lean_ctor_get(x_5, 0); +x_12 = lean_unsigned_to_nat(0u); +x_13 = l_Array_forMAux___main___at_Lean_Meta_clear___spec__96(x_1, x_2, x_3, x_4, x_11, x_12, x_6, x_7); +return x_13; +} +} +} +lean_object* l_Array_forMAux___main___at_Lean_Meta_clear___spec__97(lean_object* x_1, lean_object* x_2, 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_array_get_size(x_5); +x_10 = lean_nat_dec_lt(x_6, x_9); +lean_dec(x_9); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +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_8); +return x_12; +} +else +{ +lean_object* x_13; +x_13 = lean_array_fget(x_5, x_6); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_unsigned_to_nat(1u); +x_15 = lean_nat_add(x_6, x_14); +lean_dec(x_6); +x_6 = x_15; +goto _start; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_36; uint8_t x_37; +x_17 = lean_ctor_get(x_13, 0); +lean_inc(x_17); +lean_dec(x_13); +x_36 = l_Lean_LocalDecl_fvarId(x_17); +x_37 = lean_name_eq(x_36, x_2); +lean_dec(x_36); +if (x_37 == 0) +{ +if (lean_obj_tag(x_17) == 0) +{ +lean_object* x_38; uint8_t x_39; +x_38 = lean_ctor_get(x_17, 3); +lean_inc(x_38); +x_39 = l_Lean_Expr_hasFVar(x_38); +if (x_39 == 0) +{ +uint8_t x_40; +x_40 = l_Lean_Expr_hasMVar(x_38); +if (x_40 == 0) +{ +lean_object* x_41; lean_object* x_42; +lean_dec(x_38); +lean_dec(x_17); +x_41 = lean_unsigned_to_nat(1u); +x_42 = lean_nat_add(x_6, x_41); +lean_dec(x_6); +x_6 = x_42; +goto _start; +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; +x_44 = l_HashMap_Inhabited___closed__1; +lean_inc(x_4); +x_45 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__56(x_2, x_4, x_38, x_44); +x_46 = lean_ctor_get(x_45, 0); +lean_inc(x_46); +lean_dec(x_45); +x_47 = lean_unbox(x_46); +lean_dec(x_46); +if (x_47 == 0) +{ +lean_object* x_48; lean_object* x_49; +lean_dec(x_17); +x_48 = lean_unsigned_to_nat(1u); +x_49 = lean_nat_add(x_6, x_48); +lean_dec(x_6); +x_6 = x_49; +goto _start; +} +else +{ +lean_object* x_51; +lean_dec(x_6); +lean_dec(x_4); +x_51 = lean_box(0); +x_18 = x_51; +goto block_35; +} +} +} +else +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; uint8_t x_55; +x_52 = l_HashMap_Inhabited___closed__1; +lean_inc(x_4); +x_53 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__62(x_2, x_4, x_38, x_52); +x_54 = lean_ctor_get(x_53, 0); +lean_inc(x_54); +lean_dec(x_53); +x_55 = lean_unbox(x_54); +lean_dec(x_54); +if (x_55 == 0) +{ +lean_object* x_56; lean_object* x_57; +lean_dec(x_17); +x_56 = lean_unsigned_to_nat(1u); +x_57 = lean_nat_add(x_6, x_56); +lean_dec(x_6); +x_6 = x_57; +goto _start; +} +else +{ +lean_object* x_59; +lean_dec(x_6); +lean_dec(x_4); +x_59 = lean_box(0); +x_18 = x_59; +goto block_35; +} +} +} +else +{ +lean_object* x_60; lean_object* x_61; uint8_t x_62; lean_object* x_63; uint8_t x_85; +x_60 = lean_ctor_get(x_17, 3); +lean_inc(x_60); +x_61 = lean_ctor_get(x_17, 4); +lean_inc(x_61); +x_85 = l_Lean_Expr_hasFVar(x_60); +if (x_85 == 0) +{ +uint8_t x_86; +x_86 = l_Lean_Expr_hasMVar(x_60); +if (x_86 == 0) +{ +uint8_t x_87; lean_object* x_88; +lean_dec(x_60); +x_87 = 0; +x_88 = l_HashMap_Inhabited___closed__1; +x_62 = x_87; +x_63 = x_88; +goto block_84; +} +else +{ +lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; uint8_t x_93; +x_89 = l_HashMap_Inhabited___closed__1; +lean_inc(x_4); +x_90 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__80(x_2, x_4, x_60, x_89); +x_91 = lean_ctor_get(x_90, 0); +lean_inc(x_91); +x_92 = lean_ctor_get(x_90, 1); +lean_inc(x_92); +lean_dec(x_90); +x_93 = lean_unbox(x_91); +lean_dec(x_91); +x_62 = x_93; +x_63 = x_92; +goto block_84; +} +} +else +{ +lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; uint8_t x_98; +x_94 = l_HashMap_Inhabited___closed__1; +lean_inc(x_4); +x_95 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__86(x_2, x_4, x_60, x_94); +x_96 = lean_ctor_get(x_95, 0); +lean_inc(x_96); +x_97 = lean_ctor_get(x_95, 1); +lean_inc(x_97); +lean_dec(x_95); +x_98 = lean_unbox(x_96); +lean_dec(x_96); +x_62 = x_98; +x_63 = x_97; +goto block_84; +} +block_84: +{ +if (x_62 == 0) +{ +uint8_t x_64; +x_64 = l_Lean_Expr_hasFVar(x_61); +if (x_64 == 0) +{ +uint8_t x_65; +x_65 = l_Lean_Expr_hasMVar(x_61); +if (x_65 == 0) +{ +lean_object* x_66; lean_object* x_67; +lean_dec(x_63); +lean_dec(x_61); +lean_dec(x_17); +x_66 = lean_unsigned_to_nat(1u); +x_67 = lean_nat_add(x_6, x_66); +lean_dec(x_6); +x_6 = x_67; +goto _start; +} +else +{ +lean_object* x_69; lean_object* x_70; uint8_t x_71; +lean_inc(x_4); +x_69 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__68(x_2, x_4, x_61, x_63); +x_70 = lean_ctor_get(x_69, 0); +lean_inc(x_70); +lean_dec(x_69); +x_71 = lean_unbox(x_70); +lean_dec(x_70); +if (x_71 == 0) +{ +lean_object* x_72; lean_object* x_73; +lean_dec(x_17); +x_72 = lean_unsigned_to_nat(1u); +x_73 = lean_nat_add(x_6, x_72); +lean_dec(x_6); +x_6 = x_73; +goto _start; +} +else +{ +lean_object* x_75; +lean_dec(x_6); +lean_dec(x_4); +x_75 = lean_box(0); +x_18 = x_75; +goto block_35; +} +} +} +else +{ +lean_object* x_76; lean_object* x_77; uint8_t x_78; +lean_inc(x_4); +x_76 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__74(x_2, x_4, x_61, x_63); +x_77 = lean_ctor_get(x_76, 0); +lean_inc(x_77); +lean_dec(x_76); +x_78 = lean_unbox(x_77); +lean_dec(x_77); +if (x_78 == 0) +{ +lean_object* x_79; lean_object* x_80; +lean_dec(x_17); +x_79 = lean_unsigned_to_nat(1u); +x_80 = lean_nat_add(x_6, x_79); +lean_dec(x_6); +x_6 = x_80; +goto _start; +} +else +{ +lean_object* x_82; +lean_dec(x_6); +lean_dec(x_4); +x_82 = lean_box(0); +x_18 = x_82; +goto block_35; +} +} +} +else +{ +lean_object* x_83; +lean_dec(x_63); +lean_dec(x_61); +lean_dec(x_6); +lean_dec(x_4); +x_83 = lean_box(0); +x_18 = x_83; +goto block_35; +} +} +} +} +else +{ +lean_object* x_99; lean_object* x_100; +lean_dec(x_17); +x_99 = lean_unsigned_to_nat(1u); +x_100 = lean_nat_add(x_6, x_99); +lean_dec(x_6); +x_6 = x_100; +goto _start; +} +block_35: +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; +lean_dec(x_18); +x_19 = l_Lean_LocalDecl_value(x_17); +lean_dec(x_17); +x_20 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_20, 0, x_19); +x_21 = l_Array_forMAux___main___at_Lean_Meta_clear___spec__41___closed__3; +x_22 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_20); +x_23 = l_Array_forMAux___main___at_Lean_Meta_clear___spec__41___closed__6; +x_24 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +x_25 = l_Lean_mkFVar(x_2); +x_26 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_26, 0, x_25); +x_27 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_27, 0, x_24); +lean_ctor_set(x_27, 1, x_26); +x_28 = l_Array_forMAux___main___at_Lean_Meta_clear___spec__41___closed__8; +x_29 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +x_30 = l_Lean_Meta_throwTacticEx___rarg(x_3, x_1, x_29, x_7, x_8); +x_31 = !lean_is_exclusive(x_30); +if (x_31 == 0) +{ +return x_30; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_30, 0); +x_33 = lean_ctor_get(x_30, 1); +lean_inc(x_33); +lean_inc(x_32); +lean_dec(x_30); +x_34 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_34, 0, x_32); +lean_ctor_set(x_34, 1, x_33); +return x_34; +} +} +} +} +} +} +lean_object* l_PersistentArray_forM___at_Lean_Meta_clear___spec__93(lean_object* x_1, 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; +x_8 = lean_ctor_get(x_5, 0); +x_9 = lean_ctor_get(x_5, 1); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +x_10 = l_PersistentArray_forMAux___main___at_Lean_Meta_clear___spec__94(x_1, x_2, x_3, x_4, x_8, x_6, x_7); +if (lean_obj_tag(x_10) == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_11 = lean_ctor_get(x_10, 1); +lean_inc(x_11); +lean_dec(x_10); +x_12 = lean_unsigned_to_nat(0u); +x_13 = l_Array_forMAux___main___at_Lean_Meta_clear___spec__97(x_1, x_2, x_3, x_4, x_9, x_12, x_6, x_11); +return x_13; +} +else +{ +uint8_t x_14; +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_14 = !lean_is_exclusive(x_10); +if (x_14 == 0) +{ +return x_10; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_10, 0); +x_16 = lean_ctor_get(x_10, 1); +lean_inc(x_16); +lean_inc(x_15); +lean_dec(x_10); +x_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_LocalContext_forM___at_Lean_Meta_clear___spec__92(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; lean_object* x_9; +x_8 = lean_ctor_get(x_5, 1); +x_9 = l_PersistentArray_forM___at_Lean_Meta_clear___spec__93(x_1, x_2, x_3, x_4, x_8, x_6, x_7); +return x_9; +} +} +lean_object* l_Array_findIdxAux___main___at_Lean_Meta_clear___spec__98(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) +{ +lean_object* x_6; +lean_dec(x_3); +x_6 = lean_box(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 = lean_ctor_get(x_7, 1); +lean_inc(x_8); +lean_dec(x_7); +x_9 = l_Lean_Expr_fvarId_x21(x_8); +lean_dec(x_8); +x_10 = lean_name_eq(x_9, x_1); +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_3, x_11); +lean_dec(x_3); +x_3 = x_12; +goto _start; +} +else +{ +lean_object* x_14; +x_14 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_14, 0, x_3); +return x_14; +} +} +} +} +uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__102(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_nat_dec_lt(x_5, x_4); +if (x_6 == 0) +{ +uint8_t x_7; +lean_dec(x_5); +x_7 = 0; +return x_7; +} +else +{ +lean_object* x_8; uint8_t x_9; +x_8 = lean_array_fget(x_3, x_5); +x_9 = l_PersistentArray_anyMAux___main___at_Lean_Meta_clear___spec__101(x_1, x_8); +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_5, x_10); +lean_dec(x_5); +x_5 = x_11; +goto _start; +} +else +{ +lean_dec(x_5); +return x_9; +} +} +} +} +uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__103(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_nat_dec_lt(x_5, x_4); +if (x_6 == 0) +{ +uint8_t x_7; +lean_dec(x_5); +x_7 = 0; +return x_7; +} +else +{ +lean_object* x_8; +x_8 = lean_array_fget(x_3, x_5); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_unsigned_to_nat(1u); +x_10 = lean_nat_add(x_5, x_9); +lean_dec(x_5); +x_5 = x_10; +goto _start; +} +else +{ +lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_12 = lean_ctor_get(x_8, 0); +lean_inc(x_12); +lean_dec(x_8); +x_13 = l_Lean_LocalDecl_fvarId(x_12); +lean_dec(x_12); +x_14 = lean_name_eq(x_13, x_1); +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_5, x_15); +lean_dec(x_5); +x_5 = x_16; +goto _start; +} +else +{ +lean_dec(x_5); +return x_14; +} +} +} +} +} +uint8_t l_PersistentArray_anyMAux___main___at_Lean_Meta_clear___spec__101(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; +x_3 = lean_ctor_get(x_2, 0); +x_4 = lean_array_get_size(x_3); +x_5 = lean_unsigned_to_nat(0u); +x_6 = l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__102(x_1, x_3, x_3, x_4, x_5); +lean_dec(x_4); +return x_6; +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_7 = lean_ctor_get(x_2, 0); +x_8 = lean_array_get_size(x_7); +x_9 = lean_unsigned_to_nat(0u); +x_10 = l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__103(x_1, x_7, x_7, x_8, x_9); +lean_dec(x_8); +return x_10; +} +} +} +uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__104(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_nat_dec_lt(x_5, x_4); +if (x_6 == 0) +{ +uint8_t x_7; +lean_dec(x_5); +x_7 = 0; +return x_7; +} +else +{ +lean_object* x_8; +x_8 = lean_array_fget(x_3, x_5); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_unsigned_to_nat(1u); +x_10 = lean_nat_add(x_5, x_9); +lean_dec(x_5); +x_5 = x_10; +goto _start; +} +else +{ +lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_12 = lean_ctor_get(x_8, 0); +lean_inc(x_12); +lean_dec(x_8); +x_13 = l_Lean_LocalDecl_fvarId(x_12); +lean_dec(x_12); +x_14 = lean_name_eq(x_13, x_1); +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_5, x_15); +lean_dec(x_5); +x_5 = x_16; +goto _start; +} +else +{ +lean_dec(x_5); +return x_14; +} +} +} +} +} +uint8_t l_PersistentArray_anyM___at_Lean_Meta_clear___spec__100(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_Meta_clear___spec__101(x_1, x_3); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; +x_5 = lean_ctor_get(x_2, 1); +x_6 = lean_array_get_size(x_5); +x_7 = lean_unsigned_to_nat(0u); +x_8 = l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__104(x_1, x_2, x_5, x_6, x_7); +lean_dec(x_6); +return x_8; +} +else +{ +return x_4; +} +} +} +lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__99(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; uint8_t x_6; lean_object* x_7; lean_object* x_8; +lean_dec(x_2); +x_5 = lean_ctor_get(x_3, 0); +lean_inc(x_5); +lean_dec(x_3); +x_6 = lean_name_eq(x_5, x_1); +lean_dec(x_5); +x_7 = lean_box(x_6); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_4); +return x_8; +} +case 2: +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_ctor_get(x_3, 0); +lean_inc(x_9); +lean_dec(x_3); +lean_inc(x_9); +lean_inc(x_2); +x_10 = lean_metavar_ctx_get_expr_assignment(x_2, x_9); +if (lean_obj_tag(x_10) == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_object* x_15; lean_object* x_16; +x_11 = l_Lean_MetavarContext_getDecl(x_2, x_9); +lean_dec(x_9); +x_12 = lean_ctor_get(x_11, 1); +lean_inc(x_12); +lean_dec(x_11); +x_13 = lean_ctor_get(x_12, 1); +lean_inc(x_13); +lean_dec(x_12); +x_14 = l_PersistentArray_anyM___at_Lean_Meta_clear___spec__100(x_1, x_13); +lean_dec(x_13); +x_15 = lean_box(x_14); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_4); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; +lean_dec(x_9); +x_17 = lean_ctor_get(x_10, 0); +lean_inc(x_17); +lean_dec(x_10); +lean_inc(x_17); +x_18 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_17, x_4); +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +x_20 = lean_unbox(x_19); +if (x_20 == 0) +{ +uint8_t x_21; +lean_dec(x_17); +lean_dec(x_2); +x_21 = !lean_is_exclusive(x_18); +if (x_21 == 0) +{ +lean_object* x_22; +x_22 = lean_ctor_get(x_18, 0); +lean_dec(x_22); +return x_18; +} +else +{ +lean_object* x_23; lean_object* x_24; +x_23 = lean_ctor_get(x_18, 1); +lean_inc(x_23); +lean_dec(x_18); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_19); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +else +{ +lean_object* x_25; +lean_dec(x_19); +x_25 = lean_ctor_get(x_18, 1); +lean_inc(x_25); +lean_dec(x_18); +x_3 = x_17; +x_4 = x_25; +goto _start; +} +} +} +case 5: +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; +x_27 = lean_ctor_get(x_3, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_3, 1); +lean_inc(x_28); +lean_dec(x_3); +lean_inc(x_28); +x_29 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_28, x_4); +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_unbox(x_30); +lean_dec(x_30); +if (x_31 == 0) +{ +lean_object* x_32; uint8_t x_33; +lean_dec(x_28); +x_32 = lean_ctor_get(x_29, 1); +lean_inc(x_32); +lean_dec(x_29); +x_33 = l_Lean_Expr_isApp(x_27); +if (x_33 == 0) +{ +lean_object* x_34; lean_object* x_35; uint8_t x_36; +lean_inc(x_27); +x_34 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_27, x_32); +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +x_36 = lean_unbox(x_35); +if (x_36 == 0) +{ +uint8_t x_37; +lean_dec(x_27); +lean_dec(x_2); +x_37 = !lean_is_exclusive(x_34); +if (x_37 == 0) +{ +lean_object* x_38; +x_38 = lean_ctor_get(x_34, 0); +lean_dec(x_38); +return x_34; +} +else +{ +lean_object* x_39; lean_object* x_40; +x_39 = lean_ctor_get(x_34, 1); +lean_inc(x_39); +lean_dec(x_34); +x_40 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_40, 0, x_35); +lean_ctor_set(x_40, 1, x_39); +return x_40; +} +} +else +{ +lean_object* x_41; +lean_dec(x_35); +x_41 = lean_ctor_get(x_34, 1); +lean_inc(x_41); +lean_dec(x_34); +x_3 = x_27; +x_4 = x_41; +goto _start; +} +} +else +{ +x_3 = x_27; +x_4 = x_32; +goto _start; +} +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; +x_44 = lean_ctor_get(x_29, 1); +lean_inc(x_44); +lean_dec(x_29); +lean_inc(x_2); +x_45 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__99(x_1, x_2, x_28, x_44); +x_46 = lean_ctor_get(x_45, 0); +lean_inc(x_46); +x_47 = lean_unbox(x_46); +if (x_47 == 0) +{ +lean_object* x_48; uint8_t x_49; +lean_dec(x_46); +x_48 = lean_ctor_get(x_45, 1); +lean_inc(x_48); +lean_dec(x_45); +x_49 = l_Lean_Expr_isApp(x_27); +if (x_49 == 0) +{ +lean_object* x_50; lean_object* x_51; uint8_t x_52; +lean_inc(x_27); +x_50 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_27, x_48); +x_51 = lean_ctor_get(x_50, 0); +lean_inc(x_51); +x_52 = lean_unbox(x_51); +if (x_52 == 0) +{ +uint8_t x_53; +lean_dec(x_27); +lean_dec(x_2); +x_53 = !lean_is_exclusive(x_50); +if (x_53 == 0) +{ +lean_object* x_54; +x_54 = lean_ctor_get(x_50, 0); +lean_dec(x_54); +return x_50; +} +else +{ +lean_object* x_55; lean_object* x_56; +x_55 = lean_ctor_get(x_50, 1); +lean_inc(x_55); +lean_dec(x_50); +x_56 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_56, 0, x_51); +lean_ctor_set(x_56, 1, x_55); +return x_56; +} +} +else +{ +lean_object* x_57; +lean_dec(x_51); +x_57 = lean_ctor_get(x_50, 1); +lean_inc(x_57); +lean_dec(x_50); +x_3 = x_27; +x_4 = x_57; +goto _start; +} +} +else +{ +x_3 = x_27; +x_4 = x_48; +goto _start; +} +} +else +{ +uint8_t x_60; +lean_dec(x_27); +lean_dec(x_2); +x_60 = !lean_is_exclusive(x_45); +if (x_60 == 0) +{ +lean_object* x_61; +x_61 = lean_ctor_get(x_45, 0); +lean_dec(x_61); +return x_45; +} +else +{ +lean_object* x_62; lean_object* x_63; +x_62 = lean_ctor_get(x_45, 1); +lean_inc(x_62); +lean_dec(x_45); +x_63 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_63, 0, x_46); +lean_ctor_set(x_63, 1, x_62); +return x_63; +} +} +} +} +case 6: +{ +lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; uint8_t x_68; +x_64 = lean_ctor_get(x_3, 1); +lean_inc(x_64); +x_65 = lean_ctor_get(x_3, 2); +lean_inc(x_65); +lean_dec(x_3); +lean_inc(x_64); +x_66 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_64, x_4); +x_67 = lean_ctor_get(x_66, 0); +lean_inc(x_67); +x_68 = lean_unbox(x_67); +lean_dec(x_67); +if (x_68 == 0) +{ +lean_object* x_69; lean_object* x_70; lean_object* x_71; uint8_t x_72; +lean_dec(x_64); +x_69 = lean_ctor_get(x_66, 1); +lean_inc(x_69); +lean_dec(x_66); +lean_inc(x_65); +x_70 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_65, x_69); +x_71 = lean_ctor_get(x_70, 0); +lean_inc(x_71); +x_72 = lean_unbox(x_71); +if (x_72 == 0) +{ +uint8_t x_73; +lean_dec(x_65); +lean_dec(x_2); +x_73 = !lean_is_exclusive(x_70); +if (x_73 == 0) +{ +lean_object* x_74; +x_74 = lean_ctor_get(x_70, 0); +lean_dec(x_74); +return x_70; +} +else +{ +lean_object* x_75; lean_object* x_76; +x_75 = lean_ctor_get(x_70, 1); +lean_inc(x_75); +lean_dec(x_70); +x_76 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_76, 0, x_71); +lean_ctor_set(x_76, 1, x_75); +return x_76; +} +} +else +{ +lean_object* x_77; +lean_dec(x_71); +x_77 = lean_ctor_get(x_70, 1); +lean_inc(x_77); +lean_dec(x_70); +x_3 = x_65; +x_4 = x_77; +goto _start; +} +} +else +{ +lean_object* x_79; lean_object* x_80; lean_object* x_81; uint8_t x_82; +x_79 = lean_ctor_get(x_66, 1); +lean_inc(x_79); +lean_dec(x_66); +lean_inc(x_2); +x_80 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__99(x_1, x_2, x_64, x_79); +x_81 = lean_ctor_get(x_80, 0); +lean_inc(x_81); +x_82 = lean_unbox(x_81); +if (x_82 == 0) +{ +lean_object* x_83; lean_object* x_84; lean_object* x_85; uint8_t x_86; +lean_dec(x_81); +x_83 = lean_ctor_get(x_80, 1); +lean_inc(x_83); +lean_dec(x_80); +lean_inc(x_65); +x_84 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_65, x_83); +x_85 = lean_ctor_get(x_84, 0); +lean_inc(x_85); +x_86 = lean_unbox(x_85); +if (x_86 == 0) +{ +uint8_t x_87; +lean_dec(x_65); +lean_dec(x_2); +x_87 = !lean_is_exclusive(x_84); +if (x_87 == 0) +{ +lean_object* x_88; +x_88 = lean_ctor_get(x_84, 0); +lean_dec(x_88); +return x_84; +} +else +{ +lean_object* x_89; lean_object* x_90; +x_89 = lean_ctor_get(x_84, 1); +lean_inc(x_89); +lean_dec(x_84); +x_90 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_90, 0, x_85); +lean_ctor_set(x_90, 1, x_89); +return x_90; +} +} +else +{ +lean_object* x_91; +lean_dec(x_85); +x_91 = lean_ctor_get(x_84, 1); +lean_inc(x_91); +lean_dec(x_84); +x_3 = x_65; +x_4 = x_91; +goto _start; +} +} +else +{ +uint8_t x_93; +lean_dec(x_65); +lean_dec(x_2); +x_93 = !lean_is_exclusive(x_80); +if (x_93 == 0) +{ +lean_object* x_94; +x_94 = lean_ctor_get(x_80, 0); +lean_dec(x_94); +return x_80; +} +else +{ +lean_object* x_95; lean_object* x_96; +x_95 = lean_ctor_get(x_80, 1); +lean_inc(x_95); +lean_dec(x_80); +x_96 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_96, 0, x_81); +lean_ctor_set(x_96, 1, x_95); +return x_96; +} +} +} +} +case 7: +{ +lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; uint8_t x_101; +x_97 = lean_ctor_get(x_3, 1); +lean_inc(x_97); +x_98 = lean_ctor_get(x_3, 2); +lean_inc(x_98); +lean_dec(x_3); +lean_inc(x_97); +x_99 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_97, x_4); +x_100 = lean_ctor_get(x_99, 0); +lean_inc(x_100); +x_101 = lean_unbox(x_100); +lean_dec(x_100); +if (x_101 == 0) +{ +lean_object* x_102; lean_object* x_103; lean_object* x_104; uint8_t x_105; +lean_dec(x_97); +x_102 = lean_ctor_get(x_99, 1); +lean_inc(x_102); +lean_dec(x_99); +lean_inc(x_98); +x_103 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_98, x_102); +x_104 = lean_ctor_get(x_103, 0); +lean_inc(x_104); +x_105 = lean_unbox(x_104); +if (x_105 == 0) +{ +uint8_t x_106; +lean_dec(x_98); +lean_dec(x_2); +x_106 = !lean_is_exclusive(x_103); +if (x_106 == 0) +{ +lean_object* x_107; +x_107 = lean_ctor_get(x_103, 0); +lean_dec(x_107); +return x_103; +} +else +{ +lean_object* x_108; lean_object* x_109; +x_108 = lean_ctor_get(x_103, 1); +lean_inc(x_108); +lean_dec(x_103); +x_109 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_109, 0, x_104); +lean_ctor_set(x_109, 1, x_108); +return x_109; +} +} +else +{ +lean_object* x_110; +lean_dec(x_104); +x_110 = lean_ctor_get(x_103, 1); +lean_inc(x_110); +lean_dec(x_103); +x_3 = x_98; +x_4 = x_110; +goto _start; +} +} +else +{ +lean_object* x_112; lean_object* x_113; lean_object* x_114; uint8_t x_115; +x_112 = lean_ctor_get(x_99, 1); +lean_inc(x_112); +lean_dec(x_99); +lean_inc(x_2); +x_113 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__99(x_1, x_2, x_97, x_112); +x_114 = lean_ctor_get(x_113, 0); +lean_inc(x_114); +x_115 = lean_unbox(x_114); +if (x_115 == 0) +{ +lean_object* x_116; lean_object* x_117; lean_object* x_118; uint8_t x_119; +lean_dec(x_114); +x_116 = lean_ctor_get(x_113, 1); +lean_inc(x_116); +lean_dec(x_113); +lean_inc(x_98); +x_117 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_98, x_116); +x_118 = lean_ctor_get(x_117, 0); +lean_inc(x_118); +x_119 = lean_unbox(x_118); +if (x_119 == 0) +{ +uint8_t x_120; +lean_dec(x_98); +lean_dec(x_2); +x_120 = !lean_is_exclusive(x_117); +if (x_120 == 0) +{ +lean_object* x_121; +x_121 = lean_ctor_get(x_117, 0); +lean_dec(x_121); +return x_117; +} +else +{ +lean_object* x_122; lean_object* x_123; +x_122 = lean_ctor_get(x_117, 1); +lean_inc(x_122); +lean_dec(x_117); +x_123 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_123, 0, x_118); +lean_ctor_set(x_123, 1, x_122); +return x_123; +} +} +else +{ +lean_object* x_124; +lean_dec(x_118); +x_124 = lean_ctor_get(x_117, 1); +lean_inc(x_124); +lean_dec(x_117); +x_3 = x_98; +x_4 = x_124; +goto _start; +} +} +else +{ +uint8_t x_126; +lean_dec(x_98); +lean_dec(x_2); +x_126 = !lean_is_exclusive(x_113); +if (x_126 == 0) +{ +lean_object* x_127; +x_127 = lean_ctor_get(x_113, 0); +lean_dec(x_127); +return x_113; +} +else +{ +lean_object* x_128; lean_object* x_129; +x_128 = lean_ctor_get(x_113, 1); +lean_inc(x_128); +lean_dec(x_113); +x_129 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_129, 0, x_114); +lean_ctor_set(x_129, 1, x_128); +return x_129; +} +} +} +} +case 8: +{ +lean_object* x_130; lean_object* x_131; lean_object* x_132; uint8_t x_133; lean_object* x_134; lean_object* x_169; lean_object* x_170; uint8_t x_171; +x_130 = lean_ctor_get(x_3, 1); +lean_inc(x_130); +x_131 = lean_ctor_get(x_3, 2); +lean_inc(x_131); +x_132 = lean_ctor_get(x_3, 3); +lean_inc(x_132); +lean_dec(x_3); +lean_inc(x_130); +x_169 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_130, x_4); +x_170 = lean_ctor_get(x_169, 0); +lean_inc(x_170); +x_171 = lean_unbox(x_170); +if (x_171 == 0) +{ +lean_object* x_172; uint8_t x_173; +lean_dec(x_130); +x_172 = lean_ctor_get(x_169, 1); +lean_inc(x_172); +lean_dec(x_169); +x_173 = lean_unbox(x_170); +lean_dec(x_170); +x_133 = x_173; +x_134 = x_172; +goto block_168; +} +else +{ +lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; uint8_t x_178; +lean_dec(x_170); +x_174 = lean_ctor_get(x_169, 1); +lean_inc(x_174); +lean_dec(x_169); +lean_inc(x_2); +x_175 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__99(x_1, x_2, x_130, x_174); +x_176 = lean_ctor_get(x_175, 0); +lean_inc(x_176); +x_177 = lean_ctor_get(x_175, 1); +lean_inc(x_177); +lean_dec(x_175); +x_178 = lean_unbox(x_176); +lean_dec(x_176); +x_133 = x_178; +x_134 = x_177; +goto block_168; +} +block_168: +{ +if (x_133 == 0) +{ +lean_object* x_135; lean_object* x_136; uint8_t x_137; +lean_inc(x_131); +x_135 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_131, x_134); +x_136 = lean_ctor_get(x_135, 0); +lean_inc(x_136); +x_137 = lean_unbox(x_136); +lean_dec(x_136); +if (x_137 == 0) +{ +lean_object* x_138; lean_object* x_139; lean_object* x_140; uint8_t x_141; +lean_dec(x_131); +x_138 = lean_ctor_get(x_135, 1); +lean_inc(x_138); +lean_dec(x_135); +lean_inc(x_132); +x_139 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_132, x_138); +x_140 = lean_ctor_get(x_139, 0); +lean_inc(x_140); +x_141 = lean_unbox(x_140); +if (x_141 == 0) +{ +uint8_t x_142; +lean_dec(x_132); +lean_dec(x_2); +x_142 = !lean_is_exclusive(x_139); +if (x_142 == 0) +{ +lean_object* x_143; +x_143 = lean_ctor_get(x_139, 0); +lean_dec(x_143); +return x_139; +} +else +{ +lean_object* x_144; lean_object* x_145; +x_144 = lean_ctor_get(x_139, 1); +lean_inc(x_144); +lean_dec(x_139); +x_145 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_145, 0, x_140); +lean_ctor_set(x_145, 1, x_144); +return x_145; +} +} +else +{ +lean_object* x_146; +lean_dec(x_140); +x_146 = lean_ctor_get(x_139, 1); +lean_inc(x_146); +lean_dec(x_139); +x_3 = x_132; +x_4 = x_146; +goto _start; +} +} +else +{ +lean_object* x_148; lean_object* x_149; lean_object* x_150; uint8_t x_151; +x_148 = lean_ctor_get(x_135, 1); +lean_inc(x_148); +lean_dec(x_135); +lean_inc(x_2); +x_149 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__99(x_1, x_2, x_131, x_148); +x_150 = lean_ctor_get(x_149, 0); +lean_inc(x_150); +x_151 = lean_unbox(x_150); +if (x_151 == 0) +{ +lean_object* x_152; lean_object* x_153; lean_object* x_154; uint8_t x_155; +lean_dec(x_150); +x_152 = lean_ctor_get(x_149, 1); +lean_inc(x_152); +lean_dec(x_149); +lean_inc(x_132); +x_153 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_132, x_152); +x_154 = lean_ctor_get(x_153, 0); +lean_inc(x_154); +x_155 = lean_unbox(x_154); +if (x_155 == 0) +{ +uint8_t x_156; +lean_dec(x_132); +lean_dec(x_2); +x_156 = !lean_is_exclusive(x_153); +if (x_156 == 0) +{ +lean_object* x_157; +x_157 = lean_ctor_get(x_153, 0); +lean_dec(x_157); +return x_153; +} +else +{ +lean_object* x_158; lean_object* x_159; +x_158 = lean_ctor_get(x_153, 1); +lean_inc(x_158); +lean_dec(x_153); +x_159 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_159, 0, x_154); +lean_ctor_set(x_159, 1, x_158); +return x_159; +} +} +else +{ +lean_object* x_160; +lean_dec(x_154); +x_160 = lean_ctor_get(x_153, 1); +lean_inc(x_160); +lean_dec(x_153); +x_3 = x_132; +x_4 = x_160; +goto _start; +} +} +else +{ +uint8_t x_162; +lean_dec(x_132); +lean_dec(x_2); +x_162 = !lean_is_exclusive(x_149); +if (x_162 == 0) +{ +lean_object* x_163; +x_163 = lean_ctor_get(x_149, 0); +lean_dec(x_163); +return x_149; +} +else +{ +lean_object* x_164; lean_object* x_165; +x_164 = lean_ctor_get(x_149, 1); +lean_inc(x_164); +lean_dec(x_149); +x_165 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_165, 0, x_150); +lean_ctor_set(x_165, 1, x_164); +return x_165; +} +} +} +} +else +{ +lean_object* x_166; lean_object* x_167; +lean_dec(x_132); +lean_dec(x_131); +lean_dec(x_2); +x_166 = lean_box(x_133); +x_167 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_167, 0, x_166); +lean_ctor_set(x_167, 1, x_134); +return x_167; +} +} +} +case 10: +{ +lean_object* x_179; lean_object* x_180; lean_object* x_181; uint8_t x_182; +x_179 = lean_ctor_get(x_3, 1); +lean_inc(x_179); +lean_dec(x_3); +lean_inc(x_179); +x_180 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_179, x_4); +x_181 = lean_ctor_get(x_180, 0); +lean_inc(x_181); +x_182 = lean_unbox(x_181); +if (x_182 == 0) +{ +uint8_t x_183; +lean_dec(x_179); +lean_dec(x_2); +x_183 = !lean_is_exclusive(x_180); +if (x_183 == 0) +{ +lean_object* x_184; +x_184 = lean_ctor_get(x_180, 0); +lean_dec(x_184); +return x_180; +} +else +{ +lean_object* x_185; lean_object* x_186; +x_185 = lean_ctor_get(x_180, 1); +lean_inc(x_185); +lean_dec(x_180); +x_186 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_186, 0, x_181); +lean_ctor_set(x_186, 1, x_185); +return x_186; +} +} +else +{ +lean_object* x_187; +lean_dec(x_181); +x_187 = lean_ctor_get(x_180, 1); +lean_inc(x_187); +lean_dec(x_180); +x_3 = x_179; +x_4 = x_187; +goto _start; +} +} +case 11: +{ +lean_object* x_189; lean_object* x_190; lean_object* x_191; uint8_t x_192; +x_189 = lean_ctor_get(x_3, 2); +lean_inc(x_189); +lean_dec(x_3); +lean_inc(x_189); +x_190 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_189, x_4); +x_191 = lean_ctor_get(x_190, 0); +lean_inc(x_191); +x_192 = lean_unbox(x_191); +if (x_192 == 0) +{ +uint8_t x_193; +lean_dec(x_189); +lean_dec(x_2); +x_193 = !lean_is_exclusive(x_190); +if (x_193 == 0) +{ +lean_object* x_194; +x_194 = lean_ctor_get(x_190, 0); +lean_dec(x_194); +return x_190; +} +else +{ +lean_object* x_195; lean_object* x_196; +x_195 = lean_ctor_get(x_190, 1); +lean_inc(x_195); +lean_dec(x_190); +x_196 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_196, 0, x_191); +lean_ctor_set(x_196, 1, x_195); +return x_196; +} +} +else +{ +lean_object* x_197; +lean_dec(x_191); +x_197 = lean_ctor_get(x_190, 1); +lean_inc(x_197); +lean_dec(x_190); +x_3 = x_189; +x_4 = x_197; +goto _start; +} +} +default: +{ +uint8_t x_199; lean_object* x_200; lean_object* x_201; +lean_dec(x_3); +lean_dec(x_2); +x_199 = 0; +x_200 = lean_box(x_199); +x_201 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_201, 0, x_200); +lean_ctor_set(x_201, 1, x_4); +return x_201; +} +} +} +} +uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__108(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_nat_dec_lt(x_5, x_4); +if (x_6 == 0) +{ +uint8_t x_7; +lean_dec(x_5); +x_7 = 0; +return x_7; +} +else +{ +lean_object* x_8; uint8_t x_9; +x_8 = lean_array_fget(x_3, x_5); +x_9 = l_PersistentArray_anyMAux___main___at_Lean_Meta_clear___spec__107(x_1, x_8); +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_5, x_10); +lean_dec(x_5); +x_5 = x_11; +goto _start; +} +else +{ +lean_dec(x_5); +return x_9; +} +} +} +} +uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__109(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_nat_dec_lt(x_5, x_4); +if (x_6 == 0) +{ +uint8_t x_7; +lean_dec(x_5); +x_7 = 0; +return x_7; +} +else +{ +lean_object* x_8; +x_8 = lean_array_fget(x_3, x_5); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_unsigned_to_nat(1u); +x_10 = lean_nat_add(x_5, x_9); +lean_dec(x_5); +x_5 = x_10; +goto _start; +} +else +{ +lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_12 = lean_ctor_get(x_8, 0); +lean_inc(x_12); +lean_dec(x_8); +x_13 = l_Lean_LocalDecl_fvarId(x_12); +lean_dec(x_12); +x_14 = lean_name_eq(x_13, x_1); +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_5, x_15); +lean_dec(x_5); +x_5 = x_16; +goto _start; +} +else +{ +lean_dec(x_5); +return x_14; +} +} +} +} +} +uint8_t l_PersistentArray_anyMAux___main___at_Lean_Meta_clear___spec__107(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; +x_3 = lean_ctor_get(x_2, 0); +x_4 = lean_array_get_size(x_3); +x_5 = lean_unsigned_to_nat(0u); +x_6 = l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__108(x_1, x_3, x_3, x_4, x_5); +lean_dec(x_4); +return x_6; +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_7 = lean_ctor_get(x_2, 0); +x_8 = lean_array_get_size(x_7); +x_9 = lean_unsigned_to_nat(0u); +x_10 = l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__109(x_1, x_7, x_7, x_8, x_9); +lean_dec(x_8); +return x_10; +} +} +} +uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__110(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_nat_dec_lt(x_5, x_4); +if (x_6 == 0) +{ +uint8_t x_7; +lean_dec(x_5); +x_7 = 0; +return x_7; +} +else +{ +lean_object* x_8; +x_8 = lean_array_fget(x_3, x_5); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_unsigned_to_nat(1u); +x_10 = lean_nat_add(x_5, x_9); +lean_dec(x_5); +x_5 = x_10; +goto _start; +} +else +{ +lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_12 = lean_ctor_get(x_8, 0); +lean_inc(x_12); +lean_dec(x_8); +x_13 = l_Lean_LocalDecl_fvarId(x_12); +lean_dec(x_12); +x_14 = lean_name_eq(x_13, x_1); +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_5, x_15); +lean_dec(x_5); +x_5 = x_16; +goto _start; +} +else +{ +lean_dec(x_5); +return x_14; +} +} +} +} +} +uint8_t l_PersistentArray_anyM___at_Lean_Meta_clear___spec__106(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_Meta_clear___spec__107(x_1, x_3); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; +x_5 = lean_ctor_get(x_2, 1); +x_6 = lean_array_get_size(x_5); +x_7 = lean_unsigned_to_nat(0u); +x_8 = l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__110(x_1, x_2, x_5, x_6, x_7); +lean_dec(x_6); +return x_8; +} +else +{ +return x_4; +} +} +} +lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__105(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; uint8_t x_6; lean_object* x_7; lean_object* x_8; +lean_dec(x_2); +x_5 = lean_ctor_get(x_3, 0); +lean_inc(x_5); +lean_dec(x_3); +x_6 = lean_name_eq(x_5, x_1); +lean_dec(x_5); +x_7 = lean_box(x_6); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_4); +return x_8; +} +case 2: +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_ctor_get(x_3, 0); +lean_inc(x_9); +lean_dec(x_3); +lean_inc(x_9); +lean_inc(x_2); +x_10 = lean_metavar_ctx_get_expr_assignment(x_2, x_9); +if (lean_obj_tag(x_10) == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_object* x_15; lean_object* x_16; +x_11 = l_Lean_MetavarContext_getDecl(x_2, x_9); +lean_dec(x_9); +x_12 = lean_ctor_get(x_11, 1); +lean_inc(x_12); +lean_dec(x_11); +x_13 = lean_ctor_get(x_12, 1); +lean_inc(x_13); +lean_dec(x_12); +x_14 = l_PersistentArray_anyM___at_Lean_Meta_clear___spec__106(x_1, x_13); +lean_dec(x_13); +x_15 = lean_box(x_14); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_4); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; +lean_dec(x_9); +x_17 = lean_ctor_get(x_10, 0); +lean_inc(x_17); +lean_dec(x_10); +lean_inc(x_17); +x_18 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_17, x_4); +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +x_20 = lean_unbox(x_19); +if (x_20 == 0) +{ +uint8_t x_21; +lean_dec(x_17); +lean_dec(x_2); +x_21 = !lean_is_exclusive(x_18); +if (x_21 == 0) +{ +lean_object* x_22; +x_22 = lean_ctor_get(x_18, 0); +lean_dec(x_22); +return x_18; +} +else +{ +lean_object* x_23; lean_object* x_24; +x_23 = lean_ctor_get(x_18, 1); +lean_inc(x_23); +lean_dec(x_18); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_19); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +else +{ +lean_object* x_25; +lean_dec(x_19); +x_25 = lean_ctor_get(x_18, 1); +lean_inc(x_25); +lean_dec(x_18); +x_3 = x_17; +x_4 = x_25; +goto _start; +} +} +} +case 5: +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; +x_27 = lean_ctor_get(x_3, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_3, 1); +lean_inc(x_28); +lean_dec(x_3); +lean_inc(x_28); +x_29 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_28, x_4); +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_unbox(x_30); +lean_dec(x_30); +if (x_31 == 0) +{ +lean_object* x_32; uint8_t x_33; +lean_dec(x_28); +x_32 = lean_ctor_get(x_29, 1); +lean_inc(x_32); +lean_dec(x_29); +x_33 = l_Lean_Expr_isApp(x_27); +if (x_33 == 0) +{ +lean_object* x_34; lean_object* x_35; uint8_t x_36; +lean_inc(x_27); +x_34 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_27, x_32); +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +x_36 = lean_unbox(x_35); +if (x_36 == 0) +{ +uint8_t x_37; +lean_dec(x_27); +lean_dec(x_2); +x_37 = !lean_is_exclusive(x_34); +if (x_37 == 0) +{ +lean_object* x_38; +x_38 = lean_ctor_get(x_34, 0); +lean_dec(x_38); +return x_34; +} +else +{ +lean_object* x_39; lean_object* x_40; +x_39 = lean_ctor_get(x_34, 1); +lean_inc(x_39); +lean_dec(x_34); +x_40 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_40, 0, x_35); +lean_ctor_set(x_40, 1, x_39); +return x_40; +} +} +else +{ +lean_object* x_41; +lean_dec(x_35); +x_41 = lean_ctor_get(x_34, 1); +lean_inc(x_41); +lean_dec(x_34); +x_3 = x_27; +x_4 = x_41; +goto _start; +} +} +else +{ +x_3 = x_27; +x_4 = x_32; +goto _start; +} +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; +x_44 = lean_ctor_get(x_29, 1); +lean_inc(x_44); +lean_dec(x_29); +lean_inc(x_2); +x_45 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__105(x_1, x_2, x_28, x_44); +x_46 = lean_ctor_get(x_45, 0); +lean_inc(x_46); +x_47 = lean_unbox(x_46); +if (x_47 == 0) +{ +lean_object* x_48; uint8_t x_49; +lean_dec(x_46); +x_48 = lean_ctor_get(x_45, 1); +lean_inc(x_48); +lean_dec(x_45); +x_49 = l_Lean_Expr_isApp(x_27); +if (x_49 == 0) +{ +lean_object* x_50; lean_object* x_51; uint8_t x_52; +lean_inc(x_27); +x_50 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_27, x_48); +x_51 = lean_ctor_get(x_50, 0); +lean_inc(x_51); +x_52 = lean_unbox(x_51); +if (x_52 == 0) +{ +uint8_t x_53; +lean_dec(x_27); +lean_dec(x_2); +x_53 = !lean_is_exclusive(x_50); +if (x_53 == 0) +{ +lean_object* x_54; +x_54 = lean_ctor_get(x_50, 0); +lean_dec(x_54); +return x_50; +} +else +{ +lean_object* x_55; lean_object* x_56; +x_55 = lean_ctor_get(x_50, 1); +lean_inc(x_55); +lean_dec(x_50); +x_56 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_56, 0, x_51); +lean_ctor_set(x_56, 1, x_55); +return x_56; +} +} +else +{ +lean_object* x_57; +lean_dec(x_51); +x_57 = lean_ctor_get(x_50, 1); +lean_inc(x_57); +lean_dec(x_50); +x_3 = x_27; +x_4 = x_57; +goto _start; +} +} +else +{ +x_3 = x_27; +x_4 = x_48; +goto _start; +} +} +else +{ +uint8_t x_60; +lean_dec(x_27); +lean_dec(x_2); +x_60 = !lean_is_exclusive(x_45); +if (x_60 == 0) +{ +lean_object* x_61; +x_61 = lean_ctor_get(x_45, 0); +lean_dec(x_61); +return x_45; +} +else +{ +lean_object* x_62; lean_object* x_63; +x_62 = lean_ctor_get(x_45, 1); +lean_inc(x_62); +lean_dec(x_45); +x_63 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_63, 0, x_46); +lean_ctor_set(x_63, 1, x_62); +return x_63; +} +} +} +} +case 6: +{ +lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; uint8_t x_68; +x_64 = lean_ctor_get(x_3, 1); +lean_inc(x_64); +x_65 = lean_ctor_get(x_3, 2); +lean_inc(x_65); +lean_dec(x_3); +lean_inc(x_64); +x_66 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_64, x_4); +x_67 = lean_ctor_get(x_66, 0); +lean_inc(x_67); +x_68 = lean_unbox(x_67); +lean_dec(x_67); +if (x_68 == 0) +{ +lean_object* x_69; lean_object* x_70; lean_object* x_71; uint8_t x_72; +lean_dec(x_64); +x_69 = lean_ctor_get(x_66, 1); +lean_inc(x_69); +lean_dec(x_66); +lean_inc(x_65); +x_70 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_65, x_69); +x_71 = lean_ctor_get(x_70, 0); +lean_inc(x_71); +x_72 = lean_unbox(x_71); +if (x_72 == 0) +{ +uint8_t x_73; +lean_dec(x_65); +lean_dec(x_2); +x_73 = !lean_is_exclusive(x_70); +if (x_73 == 0) +{ +lean_object* x_74; +x_74 = lean_ctor_get(x_70, 0); +lean_dec(x_74); +return x_70; +} +else +{ +lean_object* x_75; lean_object* x_76; +x_75 = lean_ctor_get(x_70, 1); +lean_inc(x_75); +lean_dec(x_70); +x_76 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_76, 0, x_71); +lean_ctor_set(x_76, 1, x_75); +return x_76; +} +} +else +{ +lean_object* x_77; +lean_dec(x_71); +x_77 = lean_ctor_get(x_70, 1); +lean_inc(x_77); +lean_dec(x_70); +x_3 = x_65; +x_4 = x_77; +goto _start; +} +} +else +{ +lean_object* x_79; lean_object* x_80; lean_object* x_81; uint8_t x_82; +x_79 = lean_ctor_get(x_66, 1); +lean_inc(x_79); +lean_dec(x_66); +lean_inc(x_2); +x_80 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__105(x_1, x_2, x_64, x_79); +x_81 = lean_ctor_get(x_80, 0); +lean_inc(x_81); +x_82 = lean_unbox(x_81); +if (x_82 == 0) +{ +lean_object* x_83; lean_object* x_84; lean_object* x_85; uint8_t x_86; +lean_dec(x_81); +x_83 = lean_ctor_get(x_80, 1); +lean_inc(x_83); +lean_dec(x_80); +lean_inc(x_65); +x_84 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_65, x_83); +x_85 = lean_ctor_get(x_84, 0); +lean_inc(x_85); +x_86 = lean_unbox(x_85); +if (x_86 == 0) +{ +uint8_t x_87; +lean_dec(x_65); +lean_dec(x_2); +x_87 = !lean_is_exclusive(x_84); +if (x_87 == 0) +{ +lean_object* x_88; +x_88 = lean_ctor_get(x_84, 0); +lean_dec(x_88); +return x_84; +} +else +{ +lean_object* x_89; lean_object* x_90; +x_89 = lean_ctor_get(x_84, 1); +lean_inc(x_89); +lean_dec(x_84); +x_90 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_90, 0, x_85); +lean_ctor_set(x_90, 1, x_89); +return x_90; +} +} +else +{ +lean_object* x_91; +lean_dec(x_85); +x_91 = lean_ctor_get(x_84, 1); +lean_inc(x_91); +lean_dec(x_84); +x_3 = x_65; +x_4 = x_91; +goto _start; +} +} +else +{ +uint8_t x_93; +lean_dec(x_65); +lean_dec(x_2); +x_93 = !lean_is_exclusive(x_80); +if (x_93 == 0) +{ +lean_object* x_94; +x_94 = lean_ctor_get(x_80, 0); +lean_dec(x_94); +return x_80; +} +else +{ +lean_object* x_95; lean_object* x_96; +x_95 = lean_ctor_get(x_80, 1); +lean_inc(x_95); +lean_dec(x_80); +x_96 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_96, 0, x_81); +lean_ctor_set(x_96, 1, x_95); +return x_96; +} +} +} +} +case 7: +{ +lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; uint8_t x_101; +x_97 = lean_ctor_get(x_3, 1); +lean_inc(x_97); +x_98 = lean_ctor_get(x_3, 2); +lean_inc(x_98); +lean_dec(x_3); +lean_inc(x_97); +x_99 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_97, x_4); +x_100 = lean_ctor_get(x_99, 0); +lean_inc(x_100); +x_101 = lean_unbox(x_100); +lean_dec(x_100); +if (x_101 == 0) +{ +lean_object* x_102; lean_object* x_103; lean_object* x_104; uint8_t x_105; +lean_dec(x_97); +x_102 = lean_ctor_get(x_99, 1); +lean_inc(x_102); +lean_dec(x_99); +lean_inc(x_98); +x_103 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_98, x_102); +x_104 = lean_ctor_get(x_103, 0); +lean_inc(x_104); +x_105 = lean_unbox(x_104); +if (x_105 == 0) +{ +uint8_t x_106; +lean_dec(x_98); +lean_dec(x_2); +x_106 = !lean_is_exclusive(x_103); +if (x_106 == 0) +{ +lean_object* x_107; +x_107 = lean_ctor_get(x_103, 0); +lean_dec(x_107); +return x_103; +} +else +{ +lean_object* x_108; lean_object* x_109; +x_108 = lean_ctor_get(x_103, 1); +lean_inc(x_108); +lean_dec(x_103); +x_109 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_109, 0, x_104); +lean_ctor_set(x_109, 1, x_108); +return x_109; +} +} +else +{ +lean_object* x_110; +lean_dec(x_104); +x_110 = lean_ctor_get(x_103, 1); +lean_inc(x_110); +lean_dec(x_103); +x_3 = x_98; +x_4 = x_110; +goto _start; +} +} +else +{ +lean_object* x_112; lean_object* x_113; lean_object* x_114; uint8_t x_115; +x_112 = lean_ctor_get(x_99, 1); +lean_inc(x_112); +lean_dec(x_99); +lean_inc(x_2); +x_113 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__105(x_1, x_2, x_97, x_112); +x_114 = lean_ctor_get(x_113, 0); +lean_inc(x_114); +x_115 = lean_unbox(x_114); +if (x_115 == 0) +{ +lean_object* x_116; lean_object* x_117; lean_object* x_118; uint8_t x_119; +lean_dec(x_114); +x_116 = lean_ctor_get(x_113, 1); +lean_inc(x_116); +lean_dec(x_113); +lean_inc(x_98); +x_117 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_98, x_116); +x_118 = lean_ctor_get(x_117, 0); +lean_inc(x_118); +x_119 = lean_unbox(x_118); +if (x_119 == 0) +{ +uint8_t x_120; +lean_dec(x_98); +lean_dec(x_2); +x_120 = !lean_is_exclusive(x_117); +if (x_120 == 0) +{ +lean_object* x_121; +x_121 = lean_ctor_get(x_117, 0); +lean_dec(x_121); +return x_117; +} +else +{ +lean_object* x_122; lean_object* x_123; +x_122 = lean_ctor_get(x_117, 1); +lean_inc(x_122); +lean_dec(x_117); +x_123 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_123, 0, x_118); +lean_ctor_set(x_123, 1, x_122); +return x_123; +} +} +else +{ +lean_object* x_124; +lean_dec(x_118); +x_124 = lean_ctor_get(x_117, 1); +lean_inc(x_124); +lean_dec(x_117); +x_3 = x_98; +x_4 = x_124; +goto _start; +} +} +else +{ +uint8_t x_126; +lean_dec(x_98); +lean_dec(x_2); +x_126 = !lean_is_exclusive(x_113); +if (x_126 == 0) +{ +lean_object* x_127; +x_127 = lean_ctor_get(x_113, 0); +lean_dec(x_127); +return x_113; +} +else +{ +lean_object* x_128; lean_object* x_129; +x_128 = lean_ctor_get(x_113, 1); +lean_inc(x_128); +lean_dec(x_113); +x_129 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_129, 0, x_114); +lean_ctor_set(x_129, 1, x_128); +return x_129; +} +} +} +} +case 8: +{ +lean_object* x_130; lean_object* x_131; lean_object* x_132; uint8_t x_133; lean_object* x_134; lean_object* x_169; lean_object* x_170; uint8_t x_171; +x_130 = lean_ctor_get(x_3, 1); +lean_inc(x_130); +x_131 = lean_ctor_get(x_3, 2); +lean_inc(x_131); +x_132 = lean_ctor_get(x_3, 3); +lean_inc(x_132); +lean_dec(x_3); +lean_inc(x_130); +x_169 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_130, x_4); +x_170 = lean_ctor_get(x_169, 0); +lean_inc(x_170); +x_171 = lean_unbox(x_170); +if (x_171 == 0) +{ +lean_object* x_172; uint8_t x_173; +lean_dec(x_130); +x_172 = lean_ctor_get(x_169, 1); +lean_inc(x_172); +lean_dec(x_169); +x_173 = lean_unbox(x_170); +lean_dec(x_170); +x_133 = x_173; +x_134 = x_172; +goto block_168; +} +else +{ +lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; uint8_t x_178; +lean_dec(x_170); +x_174 = lean_ctor_get(x_169, 1); +lean_inc(x_174); +lean_dec(x_169); +lean_inc(x_2); +x_175 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__105(x_1, x_2, x_130, x_174); +x_176 = lean_ctor_get(x_175, 0); +lean_inc(x_176); +x_177 = lean_ctor_get(x_175, 1); +lean_inc(x_177); +lean_dec(x_175); +x_178 = lean_unbox(x_176); +lean_dec(x_176); +x_133 = x_178; +x_134 = x_177; +goto block_168; +} +block_168: +{ +if (x_133 == 0) +{ +lean_object* x_135; lean_object* x_136; uint8_t x_137; +lean_inc(x_131); +x_135 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_131, x_134); +x_136 = lean_ctor_get(x_135, 0); +lean_inc(x_136); +x_137 = lean_unbox(x_136); +lean_dec(x_136); +if (x_137 == 0) +{ +lean_object* x_138; lean_object* x_139; lean_object* x_140; uint8_t x_141; +lean_dec(x_131); +x_138 = lean_ctor_get(x_135, 1); +lean_inc(x_138); +lean_dec(x_135); +lean_inc(x_132); +x_139 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_132, x_138); +x_140 = lean_ctor_get(x_139, 0); +lean_inc(x_140); +x_141 = lean_unbox(x_140); +if (x_141 == 0) +{ +uint8_t x_142; +lean_dec(x_132); +lean_dec(x_2); +x_142 = !lean_is_exclusive(x_139); +if (x_142 == 0) +{ +lean_object* x_143; +x_143 = lean_ctor_get(x_139, 0); +lean_dec(x_143); +return x_139; +} +else +{ +lean_object* x_144; lean_object* x_145; +x_144 = lean_ctor_get(x_139, 1); +lean_inc(x_144); +lean_dec(x_139); +x_145 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_145, 0, x_140); +lean_ctor_set(x_145, 1, x_144); +return x_145; +} +} +else +{ +lean_object* x_146; +lean_dec(x_140); +x_146 = lean_ctor_get(x_139, 1); +lean_inc(x_146); +lean_dec(x_139); +x_3 = x_132; +x_4 = x_146; +goto _start; +} +} +else +{ +lean_object* x_148; lean_object* x_149; lean_object* x_150; uint8_t x_151; +x_148 = lean_ctor_get(x_135, 1); +lean_inc(x_148); +lean_dec(x_135); +lean_inc(x_2); +x_149 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__105(x_1, x_2, x_131, x_148); +x_150 = lean_ctor_get(x_149, 0); +lean_inc(x_150); +x_151 = lean_unbox(x_150); +if (x_151 == 0) +{ +lean_object* x_152; lean_object* x_153; lean_object* x_154; uint8_t x_155; +lean_dec(x_150); +x_152 = lean_ctor_get(x_149, 1); +lean_inc(x_152); +lean_dec(x_149); +lean_inc(x_132); +x_153 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_132, x_152); +x_154 = lean_ctor_get(x_153, 0); +lean_inc(x_154); +x_155 = lean_unbox(x_154); +if (x_155 == 0) +{ +uint8_t x_156; +lean_dec(x_132); +lean_dec(x_2); +x_156 = !lean_is_exclusive(x_153); +if (x_156 == 0) +{ +lean_object* x_157; +x_157 = lean_ctor_get(x_153, 0); +lean_dec(x_157); +return x_153; +} +else +{ +lean_object* x_158; lean_object* x_159; +x_158 = lean_ctor_get(x_153, 1); +lean_inc(x_158); +lean_dec(x_153); +x_159 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_159, 0, x_154); +lean_ctor_set(x_159, 1, x_158); +return x_159; +} +} +else +{ +lean_object* x_160; +lean_dec(x_154); +x_160 = lean_ctor_get(x_153, 1); +lean_inc(x_160); +lean_dec(x_153); +x_3 = x_132; +x_4 = x_160; +goto _start; +} +} +else +{ +uint8_t x_162; +lean_dec(x_132); +lean_dec(x_2); +x_162 = !lean_is_exclusive(x_149); +if (x_162 == 0) +{ +lean_object* x_163; +x_163 = lean_ctor_get(x_149, 0); +lean_dec(x_163); +return x_149; +} +else +{ +lean_object* x_164; lean_object* x_165; +x_164 = lean_ctor_get(x_149, 1); +lean_inc(x_164); +lean_dec(x_149); +x_165 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_165, 0, x_150); +lean_ctor_set(x_165, 1, x_164); +return x_165; +} +} +} +} +else +{ +lean_object* x_166; lean_object* x_167; +lean_dec(x_132); +lean_dec(x_131); +lean_dec(x_2); +x_166 = lean_box(x_133); +x_167 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_167, 0, x_166); +lean_ctor_set(x_167, 1, x_134); +return x_167; +} +} +} +case 10: +{ +lean_object* x_179; lean_object* x_180; lean_object* x_181; uint8_t x_182; +x_179 = lean_ctor_get(x_3, 1); +lean_inc(x_179); +lean_dec(x_3); +lean_inc(x_179); +x_180 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_179, x_4); +x_181 = lean_ctor_get(x_180, 0); +lean_inc(x_181); +x_182 = lean_unbox(x_181); +if (x_182 == 0) +{ +uint8_t x_183; +lean_dec(x_179); +lean_dec(x_2); +x_183 = !lean_is_exclusive(x_180); +if (x_183 == 0) +{ +lean_object* x_184; +x_184 = lean_ctor_get(x_180, 0); +lean_dec(x_184); +return x_180; +} +else +{ +lean_object* x_185; lean_object* x_186; +x_185 = lean_ctor_get(x_180, 1); +lean_inc(x_185); +lean_dec(x_180); +x_186 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_186, 0, x_181); +lean_ctor_set(x_186, 1, x_185); +return x_186; +} +} +else +{ +lean_object* x_187; +lean_dec(x_181); +x_187 = lean_ctor_get(x_180, 1); +lean_inc(x_187); +lean_dec(x_180); +x_3 = x_179; +x_4 = x_187; +goto _start; +} +} +case 11: +{ +lean_object* x_189; lean_object* x_190; lean_object* x_191; uint8_t x_192; +x_189 = lean_ctor_get(x_3, 2); +lean_inc(x_189); +lean_dec(x_3); +lean_inc(x_189); +x_190 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_189, x_4); +x_191 = lean_ctor_get(x_190, 0); +lean_inc(x_191); +x_192 = lean_unbox(x_191); +if (x_192 == 0) +{ +uint8_t x_193; +lean_dec(x_189); +lean_dec(x_2); +x_193 = !lean_is_exclusive(x_190); +if (x_193 == 0) +{ +lean_object* x_194; +x_194 = lean_ctor_get(x_190, 0); +lean_dec(x_194); +return x_190; +} +else +{ +lean_object* x_195; lean_object* x_196; +x_195 = lean_ctor_get(x_190, 1); +lean_inc(x_195); +lean_dec(x_190); +x_196 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_196, 0, x_191); +lean_ctor_set(x_196, 1, x_195); +return x_196; +} +} +else +{ +lean_object* x_197; +lean_dec(x_191); +x_197 = lean_ctor_get(x_190, 1); +lean_inc(x_197); +lean_dec(x_190); +x_3 = x_189; +x_4 = x_197; +goto _start; +} +} +default: +{ +uint8_t x_199; lean_object* x_200; lean_object* x_201; +lean_dec(x_3); +lean_dec(x_2); +x_199 = 0; +x_200 = lean_box(x_199); +x_201 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_201, 0, x_200); +lean_ctor_set(x_201, 1, x_4); +return x_201; +} +} +} +} +uint8_t l_Array_isEqvAux___main___at_Lean_Meta_clear___spec__111(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; uint8_t x_8; +x_7 = lean_array_get_size(x_4); +x_8 = lean_nat_dec_lt(x_6, x_7); +lean_dec(x_7); +if (x_8 == 0) +{ +uint8_t x_9; +lean_dec(x_6); +x_9 = 1; +return x_9; +} +else +{ +lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_10 = lean_array_fget(x_4, x_6); +x_11 = lean_array_fget(x_5, x_6); +x_12 = l_Lean_LocalInstance_beq(x_10, x_11); +lean_dec(x_11); +lean_dec(x_10); +if (x_12 == 0) +{ +uint8_t x_13; +lean_dec(x_6); +x_13 = 0; +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_unsigned_to_nat(1u); +x_15 = lean_nat_add(x_6, x_14); +lean_dec(x_6); +x_3 = lean_box(0); +x_6 = x_15; +goto _start; +} +} +} +} +lean_object* _init_l_Lean_Meta_clear___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("clear"); +return x_1; +} +} +lean_object* _init_l_Lean_Meta_clear___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Meta_clear___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_Meta_clear___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("taget depends on '"); +return x_1; +} +} +lean_object* _init_l_Lean_Meta_clear___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_clear___closed__3; +x_2 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* _init_l_Lean_Meta_clear___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_clear___closed__4; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* _init_l_Lean_Meta_clear___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("unknown hypothesis '"); +return x_1; +} +} +lean_object* _init_l_Lean_Meta_clear___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_clear___closed__6; +x_2 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* _init_l_Lean_Meta_clear___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_clear___closed__7; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* l_Lean_Meta_clear(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +lean_inc(x_1); +x_5 = l_Lean_Meta_getMVarDecl(x_1, x_3, x_4); +if (lean_obj_tag(x_5) == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_object* x_18; lean_object* x_19; lean_object* x_140; +x_6 = lean_ctor_get(x_5, 0); +lean_inc(x_6); +x_7 = lean_ctor_get(x_5, 1); +lean_inc(x_7); +if (lean_is_exclusive(x_5)) { + lean_ctor_release(x_5, 0); + lean_ctor_release(x_5, 1); + x_8 = x_5; +} else { + lean_dec_ref(x_5); + x_8 = lean_box(0); +} +x_9 = lean_ctor_get(x_3, 0); +x_10 = lean_ctor_get(x_3, 2); +x_11 = lean_ctor_get(x_3, 3); +x_12 = lean_ctor_get(x_3, 4); +x_13 = lean_ctor_get(x_6, 1); +lean_inc(x_13); +x_14 = lean_ctor_get(x_6, 4); +lean_inc(x_14); +x_15 = lean_array_get_size(x_10); +x_16 = lean_array_get_size(x_14); +x_17 = lean_nat_dec_eq(x_15, x_16); +lean_dec(x_16); +lean_dec(x_15); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_9); +x_18 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_18, 0, x_9); +lean_ctor_set(x_18, 1, x_13); +lean_ctor_set(x_18, 2, x_14); +lean_ctor_set(x_18, 3, x_11); +lean_ctor_set(x_18, 4, x_12); +if (x_17 == 0) +{ +lean_object* x_559; +lean_dec(x_6); +x_559 = lean_box(0); +x_140 = x_559; +goto block_558; +} +else +{ +lean_object* x_560; uint8_t x_561; +x_560 = lean_unsigned_to_nat(0u); +x_561 = l_Array_isEqvAux___main___at_Lean_Meta_clear___spec__111(x_3, x_6, lean_box(0), x_10, x_14, x_560); +lean_dec(x_6); +if (x_561 == 0) +{ +lean_object* x_562; +x_562 = lean_box(0); +x_140 = x_562; +goto block_558; +} +else +{ +lean_object* x_563; lean_object* x_564; +lean_dec(x_8); +x_563 = l_Lean_Meta_clear___closed__2; +lean_inc(x_1); +x_564 = l_Lean_Meta_checkNotAssigned(x_1, x_563, x_18, x_7); +if (lean_obj_tag(x_564) == 0) +{ +lean_object* x_565; uint8_t x_566; +x_565 = lean_ctor_get(x_564, 1); +lean_inc(x_565); +lean_dec(x_564); +lean_inc(x_13); +x_566 = l_Lean_LocalContext_contains(x_13, x_2); +if (x_566 == 0) +{ +lean_object* x_567; lean_object* x_568; lean_object* x_569; lean_object* x_570; lean_object* x_571; lean_object* x_572; lean_object* x_573; uint8_t x_574; +lean_dec(x_14); +lean_dec(x_13); +x_567 = l_Lean_mkFVar(x_2); +x_568 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_568, 0, x_567); +x_569 = l_Lean_Meta_clear___closed__8; +x_570 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_570, 0, x_569); +lean_ctor_set(x_570, 1, x_568); +x_571 = l_Array_forMAux___main___at_Lean_Meta_clear___spec__41___closed__8; +x_572 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_572, 0, x_570); +lean_ctor_set(x_572, 1, x_571); +x_573 = l_Lean_Meta_throwTacticEx___rarg(x_563, x_1, x_572, x_18, x_565); +lean_dec(x_18); +x_574 = !lean_is_exclusive(x_573); +if (x_574 == 0) +{ +return x_573; +} +else +{ +lean_object* x_575; lean_object* x_576; lean_object* x_577; +x_575 = lean_ctor_get(x_573, 0); +x_576 = lean_ctor_get(x_573, 1); +lean_inc(x_576); +lean_inc(x_575); +lean_dec(x_573); +x_577 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_577, 0, x_575); +lean_ctor_set(x_577, 1, x_576); +return x_577; +} +} +else +{ +x_19 = x_565; +goto block_139; +} +} +else +{ +uint8_t x_578; +lean_dec(x_18); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_2); +lean_dec(x_1); +x_578 = !lean_is_exclusive(x_564); +if (x_578 == 0) +{ +return x_564; +} +else +{ +lean_object* x_579; lean_object* x_580; lean_object* x_581; +x_579 = lean_ctor_get(x_564, 0); +x_580 = lean_ctor_get(x_564, 1); +lean_inc(x_580); +lean_inc(x_579); +lean_dec(x_564); +x_581 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_581, 0, x_579); +lean_ctor_set(x_581, 1, x_580); +return x_581; +} +} +} +} +block_139: +{ +lean_object* x_20; +lean_inc(x_1); +x_20 = l_Lean_Meta_getMVarTag(x_1, x_18, x_19); +if (lean_obj_tag(x_20) == 0) +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +x_23 = lean_ctor_get(x_22, 1); +lean_inc(x_23); +x_24 = l_Lean_Meta_clear___closed__2; +lean_inc(x_23); +lean_inc(x_2); +lean_inc(x_1); +x_25 = l_Lean_LocalContext_forM___at_Lean_Meta_clear___spec__37(x_1, x_2, x_24, x_23, x_13, x_18, x_22); +if (lean_obj_tag(x_25) == 0) +{ +lean_object* x_26; lean_object* x_27; +x_26 = lean_ctor_get(x_25, 1); +lean_inc(x_26); +lean_dec(x_25); +lean_inc(x_1); +x_27 = l_Lean_Meta_getMVarDecl(x_1, x_18, x_26); +if (lean_obj_tag(x_27) == 0) +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_102; uint8_t x_115; +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); +lean_dec(x_27); +x_30 = lean_ctor_get(x_28, 2); +lean_inc(x_30); +lean_dec(x_28); +x_115 = l_Lean_Expr_hasFVar(x_30); +if (x_115 == 0) +{ +uint8_t x_116; +x_116 = l_Lean_Expr_hasMVar(x_30); +if (x_116 == 0) +{ +lean_dec(x_23); +x_31 = x_29; +goto block_101; +} +else +{ +lean_object* x_117; lean_object* x_118; lean_object* x_119; uint8_t x_120; +x_117 = l_HashMap_Inhabited___closed__1; +lean_inc(x_30); +x_118 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__44(x_2, x_23, x_30, x_117); +x_119 = lean_ctor_get(x_118, 0); +lean_inc(x_119); +lean_dec(x_118); +x_120 = lean_unbox(x_119); +lean_dec(x_119); +if (x_120 == 0) +{ +x_31 = x_29; +goto block_101; +} +else +{ +lean_object* x_121; +lean_dec(x_30); +lean_dec(x_21); +lean_dec(x_14); +lean_dec(x_13); +x_121 = lean_box(0); +x_102 = x_121; +goto block_114; +} +} +} +else +{ +lean_object* x_122; lean_object* x_123; lean_object* x_124; uint8_t x_125; +x_122 = l_HashMap_Inhabited___closed__1; +lean_inc(x_30); +x_123 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__50(x_2, x_23, x_30, x_122); +x_124 = lean_ctor_get(x_123, 0); +lean_inc(x_124); +lean_dec(x_123); +x_125 = lean_unbox(x_124); +lean_dec(x_124); +if (x_125 == 0) +{ +x_31 = x_29; +goto block_101; +} +else +{ +lean_object* x_126; +lean_dec(x_30); +lean_dec(x_21); +lean_dec(x_14); +lean_dec(x_13); +x_126 = lean_box(0); +x_102 = x_126; +goto block_114; +} +} +block_101: +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +lean_inc(x_2); +x_32 = lean_local_ctx_erase(x_13, x_2); +x_33 = lean_unsigned_to_nat(0u); +x_34 = l_Array_findIdxAux___main___at_Lean_Meta_clear___spec__43(x_2, x_14, x_33); +lean_dec(x_2); +if (lean_obj_tag(x_34) == 0) +{ +uint8_t x_35; lean_object* x_36; uint8_t x_37; +x_35 = 2; +x_36 = l_Lean_Meta_mkFreshExprMVarAt(x_32, x_14, x_30, x_21, x_35, x_18, x_31); +lean_dec(x_18); +x_37 = !lean_is_exclusive(x_36); +if (x_37 == 0) +{ +lean_object* x_38; uint8_t x_39; +x_38 = lean_ctor_get(x_36, 1); +x_39 = !lean_is_exclusive(x_38); +if (x_39 == 0) +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_40 = lean_ctor_get(x_36, 0); +x_41 = lean_ctor_get(x_38, 1); +lean_inc(x_40); +x_42 = l_Lean_MetavarContext_assignExpr(x_41, x_1, x_40); +lean_ctor_set(x_38, 1, x_42); +x_43 = l_Lean_Expr_mvarId_x21(x_40); +lean_dec(x_40); +lean_ctor_set(x_36, 0, x_43); +return x_36; +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_44 = lean_ctor_get(x_36, 0); +x_45 = lean_ctor_get(x_38, 0); +x_46 = lean_ctor_get(x_38, 1); +x_47 = lean_ctor_get(x_38, 2); +x_48 = lean_ctor_get(x_38, 3); +x_49 = lean_ctor_get(x_38, 4); +x_50 = lean_ctor_get(x_38, 5); +lean_inc(x_50); +lean_inc(x_49); +lean_inc(x_48); +lean_inc(x_47); +lean_inc(x_46); +lean_inc(x_45); +lean_dec(x_38); +lean_inc(x_44); +x_51 = l_Lean_MetavarContext_assignExpr(x_46, x_1, x_44); +x_52 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_52, 0, x_45); +lean_ctor_set(x_52, 1, x_51); +lean_ctor_set(x_52, 2, x_47); +lean_ctor_set(x_52, 3, x_48); +lean_ctor_set(x_52, 4, x_49); +lean_ctor_set(x_52, 5, x_50); +x_53 = l_Lean_Expr_mvarId_x21(x_44); +lean_dec(x_44); +lean_ctor_set(x_36, 1, x_52); +lean_ctor_set(x_36, 0, x_53); +return x_36; +} +} +else +{ +lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; +x_54 = lean_ctor_get(x_36, 1); +x_55 = lean_ctor_get(x_36, 0); +lean_inc(x_54); +lean_inc(x_55); +lean_dec(x_36); +x_56 = lean_ctor_get(x_54, 0); +lean_inc(x_56); +x_57 = lean_ctor_get(x_54, 1); +lean_inc(x_57); +x_58 = lean_ctor_get(x_54, 2); +lean_inc(x_58); +x_59 = lean_ctor_get(x_54, 3); +lean_inc(x_59); +x_60 = lean_ctor_get(x_54, 4); +lean_inc(x_60); +x_61 = lean_ctor_get(x_54, 5); +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); + lean_ctor_release(x_54, 5); + x_62 = x_54; +} else { + lean_dec_ref(x_54); + x_62 = lean_box(0); +} +lean_inc(x_55); +x_63 = l_Lean_MetavarContext_assignExpr(x_57, x_1, x_55); +if (lean_is_scalar(x_62)) { + x_64 = lean_alloc_ctor(0, 6, 0); +} else { + x_64 = x_62; +} +lean_ctor_set(x_64, 0, x_56); +lean_ctor_set(x_64, 1, x_63); +lean_ctor_set(x_64, 2, x_58); +lean_ctor_set(x_64, 3, x_59); +lean_ctor_set(x_64, 4, x_60); +lean_ctor_set(x_64, 5, x_61); +x_65 = l_Lean_Expr_mvarId_x21(x_55); +lean_dec(x_55); +x_66 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_66, 0, x_65); +lean_ctor_set(x_66, 1, x_64); +return x_66; +} +} +else +{ +lean_object* x_67; lean_object* x_68; uint8_t x_69; lean_object* x_70; uint8_t x_71; +x_67 = lean_ctor_get(x_34, 0); +lean_inc(x_67); +lean_dec(x_34); +x_68 = l_Array_eraseIdx___rarg(x_14, x_67); +lean_dec(x_67); +x_69 = 2; +x_70 = l_Lean_Meta_mkFreshExprMVarAt(x_32, x_68, x_30, x_21, x_69, x_18, x_31); +lean_dec(x_18); +x_71 = !lean_is_exclusive(x_70); +if (x_71 == 0) +{ +lean_object* x_72; uint8_t x_73; +x_72 = lean_ctor_get(x_70, 1); +x_73 = !lean_is_exclusive(x_72); +if (x_73 == 0) +{ +lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; +x_74 = lean_ctor_get(x_70, 0); +x_75 = lean_ctor_get(x_72, 1); +lean_inc(x_74); +x_76 = l_Lean_MetavarContext_assignExpr(x_75, x_1, x_74); +lean_ctor_set(x_72, 1, x_76); +x_77 = l_Lean_Expr_mvarId_x21(x_74); +lean_dec(x_74); +lean_ctor_set(x_70, 0, x_77); +return x_70; +} +else +{ +lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; +x_78 = lean_ctor_get(x_70, 0); +x_79 = lean_ctor_get(x_72, 0); +x_80 = lean_ctor_get(x_72, 1); +x_81 = lean_ctor_get(x_72, 2); +x_82 = lean_ctor_get(x_72, 3); +x_83 = lean_ctor_get(x_72, 4); +x_84 = lean_ctor_get(x_72, 5); +lean_inc(x_84); +lean_inc(x_83); +lean_inc(x_82); +lean_inc(x_81); +lean_inc(x_80); +lean_inc(x_79); +lean_dec(x_72); +lean_inc(x_78); +x_85 = l_Lean_MetavarContext_assignExpr(x_80, x_1, x_78); +x_86 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_86, 0, x_79); +lean_ctor_set(x_86, 1, x_85); +lean_ctor_set(x_86, 2, x_81); +lean_ctor_set(x_86, 3, x_82); +lean_ctor_set(x_86, 4, x_83); +lean_ctor_set(x_86, 5, x_84); +x_87 = l_Lean_Expr_mvarId_x21(x_78); +lean_dec(x_78); +lean_ctor_set(x_70, 1, x_86); +lean_ctor_set(x_70, 0, x_87); +return x_70; +} +} +else +{ +lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; +x_88 = lean_ctor_get(x_70, 1); +x_89 = lean_ctor_get(x_70, 0); +lean_inc(x_88); +lean_inc(x_89); +lean_dec(x_70); +x_90 = lean_ctor_get(x_88, 0); +lean_inc(x_90); +x_91 = lean_ctor_get(x_88, 1); +lean_inc(x_91); +x_92 = lean_ctor_get(x_88, 2); +lean_inc(x_92); +x_93 = lean_ctor_get(x_88, 3); +lean_inc(x_93); +x_94 = lean_ctor_get(x_88, 4); +lean_inc(x_94); +x_95 = lean_ctor_get(x_88, 5); +lean_inc(x_95); +if (lean_is_exclusive(x_88)) { + lean_ctor_release(x_88, 0); + lean_ctor_release(x_88, 1); + lean_ctor_release(x_88, 2); + lean_ctor_release(x_88, 3); + lean_ctor_release(x_88, 4); + lean_ctor_release(x_88, 5); + x_96 = x_88; +} else { + lean_dec_ref(x_88); + x_96 = lean_box(0); +} +lean_inc(x_89); +x_97 = l_Lean_MetavarContext_assignExpr(x_91, x_1, x_89); +if (lean_is_scalar(x_96)) { + x_98 = lean_alloc_ctor(0, 6, 0); +} else { + x_98 = x_96; +} +lean_ctor_set(x_98, 0, x_90); +lean_ctor_set(x_98, 1, x_97); +lean_ctor_set(x_98, 2, x_92); +lean_ctor_set(x_98, 3, x_93); +lean_ctor_set(x_98, 4, x_94); +lean_ctor_set(x_98, 5, x_95); +x_99 = l_Lean_Expr_mvarId_x21(x_89); +lean_dec(x_89); +x_100 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_100, 0, x_99); +lean_ctor_set(x_100, 1, x_98); +return x_100; +} +} +} +block_114: +{ +lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; uint8_t x_110; +lean_dec(x_102); +x_103 = l_Lean_mkFVar(x_2); +x_104 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_104, 0, x_103); +x_105 = l_Lean_Meta_clear___closed__5; +x_106 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_106, 0, x_105); +lean_ctor_set(x_106, 1, x_104); +x_107 = l_Array_forMAux___main___at_Lean_Meta_clear___spec__41___closed__8; +x_108 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_108, 0, x_106); +lean_ctor_set(x_108, 1, x_107); +x_109 = l_Lean_Meta_throwTacticEx___rarg(x_24, x_1, x_108, x_18, x_29); +lean_dec(x_18); +x_110 = !lean_is_exclusive(x_109); +if (x_110 == 0) +{ +return x_109; +} +else +{ +lean_object* x_111; lean_object* x_112; lean_object* x_113; +x_111 = lean_ctor_get(x_109, 0); +x_112 = lean_ctor_get(x_109, 1); +lean_inc(x_112); +lean_inc(x_111); +lean_dec(x_109); +x_113 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_113, 0, x_111); +lean_ctor_set(x_113, 1, x_112); +return x_113; +} +} +} +else +{ +uint8_t x_127; +lean_dec(x_23); +lean_dec(x_21); +lean_dec(x_18); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_2); +lean_dec(x_1); +x_127 = !lean_is_exclusive(x_27); +if (x_127 == 0) +{ +return x_27; +} +else +{ +lean_object* x_128; lean_object* x_129; lean_object* x_130; +x_128 = lean_ctor_get(x_27, 0); +x_129 = lean_ctor_get(x_27, 1); +lean_inc(x_129); +lean_inc(x_128); +lean_dec(x_27); +x_130 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_130, 0, x_128); +lean_ctor_set(x_130, 1, x_129); +return x_130; +} +} +} +else +{ +uint8_t x_131; +lean_dec(x_23); +lean_dec(x_21); +lean_dec(x_18); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_2); +lean_dec(x_1); +x_131 = !lean_is_exclusive(x_25); +if (x_131 == 0) +{ +return x_25; +} +else +{ +lean_object* x_132; lean_object* x_133; lean_object* x_134; +x_132 = lean_ctor_get(x_25, 0); +x_133 = lean_ctor_get(x_25, 1); +lean_inc(x_133); +lean_inc(x_132); +lean_dec(x_25); +x_134 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_134, 0, x_132); +lean_ctor_set(x_134, 1, x_133); +return x_134; +} +} +} +else +{ +uint8_t x_135; +lean_dec(x_18); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_2); +lean_dec(x_1); +x_135 = !lean_is_exclusive(x_20); +if (x_135 == 0) +{ +return x_20; +} +else +{ +lean_object* x_136; lean_object* x_137; lean_object* x_138; +x_136 = lean_ctor_get(x_20, 0); +x_137 = lean_ctor_get(x_20, 1); +lean_inc(x_137); +lean_inc(x_136); +lean_dec(x_20); +x_138 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_138, 0, x_136); +lean_ctor_set(x_138, 1, x_137); +return x_138; +} +} +} +block_558: +{ +uint8_t x_141; +lean_dec(x_140); +x_141 = !lean_is_exclusive(x_7); +if (x_141 == 0) +{ +lean_object* x_142; uint8_t x_143; +x_142 = lean_ctor_get(x_7, 2); +x_143 = !lean_is_exclusive(x_142); +if (x_143 == 0) +{ +lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_169; lean_object* x_170; lean_object* x_193; lean_object* x_276; lean_object* x_277; lean_object* x_278; +x_144 = lean_ctor_get(x_142, 2); +x_276 = l_Lean_Meta_resettingSynthInstanceCache___rarg___closed__1; +lean_ctor_set(x_142, 2, x_276); +x_277 = l_Lean_Meta_clear___closed__2; +lean_inc(x_1); +x_278 = l_Lean_Meta_checkNotAssigned(x_1, x_277, x_18, x_7); +if (lean_obj_tag(x_278) == 0) +{ +lean_object* x_279; uint8_t x_280; +x_279 = lean_ctor_get(x_278, 1); +lean_inc(x_279); +lean_dec(x_278); +lean_inc(x_13); +x_280 = l_Lean_LocalContext_contains(x_13, x_2); +if (x_280 == 0) +{ +lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_8); +x_281 = l_Lean_mkFVar(x_2); +x_282 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_282, 0, x_281); +x_283 = l_Lean_Meta_clear___closed__8; +x_284 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_284, 0, x_283); +lean_ctor_set(x_284, 1, x_282); +x_285 = l_Array_forMAux___main___at_Lean_Meta_clear___spec__41___closed__8; +x_286 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_286, 0, x_284); +lean_ctor_set(x_286, 1, x_285); +x_287 = l_Lean_Meta_throwTacticEx___rarg(x_277, x_1, x_286, x_18, x_279); +lean_dec(x_18); +x_288 = lean_ctor_get(x_287, 0); +lean_inc(x_288); +x_289 = lean_ctor_get(x_287, 1); +lean_inc(x_289); +lean_dec(x_287); +x_169 = x_288; +x_170 = x_289; +goto block_192; +} +else +{ +x_193 = x_279; +goto block_275; +} +} +else +{ +lean_object* x_290; lean_object* x_291; +lean_dec(x_18); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_8); +lean_dec(x_2); +lean_dec(x_1); +x_290 = lean_ctor_get(x_278, 0); +lean_inc(x_290); +x_291 = lean_ctor_get(x_278, 1); +lean_inc(x_291); +lean_dec(x_278); +x_169 = x_290; +x_170 = x_291; +goto block_192; +} +block_168: +{ +uint8_t x_147; +x_147 = !lean_is_exclusive(x_146); +if (x_147 == 0) +{ +lean_object* x_148; uint8_t x_149; +x_148 = lean_ctor_get(x_146, 2); +x_149 = !lean_is_exclusive(x_148); +if (x_149 == 0) +{ +lean_object* x_150; lean_object* x_151; +x_150 = lean_ctor_get(x_148, 2); +lean_dec(x_150); +lean_ctor_set(x_148, 2, x_144); +if (lean_is_scalar(x_8)) { + x_151 = lean_alloc_ctor(0, 2, 0); +} else { + x_151 = x_8; +} +lean_ctor_set(x_151, 0, x_145); +lean_ctor_set(x_151, 1, x_146); +return x_151; +} +else +{ +lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; +x_152 = lean_ctor_get(x_148, 0); +x_153 = lean_ctor_get(x_148, 1); +lean_inc(x_153); +lean_inc(x_152); +lean_dec(x_148); +x_154 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_154, 0, x_152); +lean_ctor_set(x_154, 1, x_153); +lean_ctor_set(x_154, 2, x_144); +lean_ctor_set(x_146, 2, x_154); +if (lean_is_scalar(x_8)) { + x_155 = lean_alloc_ctor(0, 2, 0); +} else { + x_155 = x_8; +} +lean_ctor_set(x_155, 0, x_145); +lean_ctor_set(x_155, 1, x_146); +return x_155; +} +} +else +{ +lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; +x_156 = lean_ctor_get(x_146, 2); +x_157 = lean_ctor_get(x_146, 0); +x_158 = lean_ctor_get(x_146, 1); +x_159 = lean_ctor_get(x_146, 3); +x_160 = lean_ctor_get(x_146, 4); +x_161 = lean_ctor_get(x_146, 5); +lean_inc(x_161); +lean_inc(x_160); +lean_inc(x_159); +lean_inc(x_156); +lean_inc(x_158); +lean_inc(x_157); +lean_dec(x_146); +x_162 = lean_ctor_get(x_156, 0); +lean_inc(x_162); +x_163 = lean_ctor_get(x_156, 1); +lean_inc(x_163); +if (lean_is_exclusive(x_156)) { + lean_ctor_release(x_156, 0); + lean_ctor_release(x_156, 1); + lean_ctor_release(x_156, 2); + x_164 = x_156; +} else { + lean_dec_ref(x_156); + x_164 = lean_box(0); +} +if (lean_is_scalar(x_164)) { + x_165 = lean_alloc_ctor(0, 3, 0); +} else { + x_165 = x_164; +} +lean_ctor_set(x_165, 0, x_162); +lean_ctor_set(x_165, 1, x_163); +lean_ctor_set(x_165, 2, x_144); +x_166 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_166, 0, x_157); +lean_ctor_set(x_166, 1, x_158); +lean_ctor_set(x_166, 2, x_165); +lean_ctor_set(x_166, 3, x_159); +lean_ctor_set(x_166, 4, x_160); +lean_ctor_set(x_166, 5, x_161); +if (lean_is_scalar(x_8)) { + x_167 = lean_alloc_ctor(0, 2, 0); +} else { + x_167 = x_8; +} +lean_ctor_set(x_167, 0, x_145); +lean_ctor_set(x_167, 1, x_166); +return x_167; +} +} +block_192: +{ +uint8_t x_171; +x_171 = !lean_is_exclusive(x_170); +if (x_171 == 0) +{ +lean_object* x_172; uint8_t x_173; +x_172 = lean_ctor_get(x_170, 2); +x_173 = !lean_is_exclusive(x_172); +if (x_173 == 0) +{ +lean_object* x_174; lean_object* x_175; +x_174 = lean_ctor_get(x_172, 2); +lean_dec(x_174); +lean_ctor_set(x_172, 2, x_144); +x_175 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_175, 0, x_169); +lean_ctor_set(x_175, 1, x_170); +return x_175; +} +else +{ +lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; +x_176 = lean_ctor_get(x_172, 0); +x_177 = lean_ctor_get(x_172, 1); +lean_inc(x_177); +lean_inc(x_176); +lean_dec(x_172); +x_178 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_178, 0, x_176); +lean_ctor_set(x_178, 1, x_177); +lean_ctor_set(x_178, 2, x_144); +lean_ctor_set(x_170, 2, x_178); +x_179 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_179, 0, x_169); +lean_ctor_set(x_179, 1, x_170); +return x_179; +} +} +else +{ +lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; +x_180 = lean_ctor_get(x_170, 2); +x_181 = lean_ctor_get(x_170, 0); +x_182 = lean_ctor_get(x_170, 1); +x_183 = lean_ctor_get(x_170, 3); +x_184 = lean_ctor_get(x_170, 4); +x_185 = lean_ctor_get(x_170, 5); +lean_inc(x_185); +lean_inc(x_184); +lean_inc(x_183); +lean_inc(x_180); +lean_inc(x_182); +lean_inc(x_181); +lean_dec(x_170); +x_186 = lean_ctor_get(x_180, 0); +lean_inc(x_186); +x_187 = lean_ctor_get(x_180, 1); +lean_inc(x_187); +if (lean_is_exclusive(x_180)) { + lean_ctor_release(x_180, 0); + lean_ctor_release(x_180, 1); + lean_ctor_release(x_180, 2); + x_188 = x_180; +} else { + lean_dec_ref(x_180); + x_188 = lean_box(0); +} +if (lean_is_scalar(x_188)) { + x_189 = lean_alloc_ctor(0, 3, 0); +} else { + x_189 = x_188; +} +lean_ctor_set(x_189, 0, x_186); +lean_ctor_set(x_189, 1, x_187); +lean_ctor_set(x_189, 2, x_144); +x_190 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_190, 0, x_181); +lean_ctor_set(x_190, 1, x_182); +lean_ctor_set(x_190, 2, x_189); +lean_ctor_set(x_190, 3, x_183); +lean_ctor_set(x_190, 4, x_184); +lean_ctor_set(x_190, 5, x_185); +x_191 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_191, 0, x_169); +lean_ctor_set(x_191, 1, x_190); +return x_191; +} +} +block_275: +{ +lean_object* x_194; +lean_inc(x_1); +x_194 = l_Lean_Meta_getMVarTag(x_1, x_18, x_193); +if (lean_obj_tag(x_194) == 0) +{ +lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; +x_195 = lean_ctor_get(x_194, 0); +lean_inc(x_195); +x_196 = lean_ctor_get(x_194, 1); +lean_inc(x_196); +lean_dec(x_194); +x_197 = lean_ctor_get(x_196, 1); +lean_inc(x_197); +x_198 = l_Lean_Meta_clear___closed__2; +lean_inc(x_197); +lean_inc(x_2); +lean_inc(x_1); +x_199 = l_Lean_LocalContext_forM___at_Lean_Meta_clear___spec__92(x_1, x_2, x_198, x_197, x_13, x_18, x_196); +if (lean_obj_tag(x_199) == 0) +{ +lean_object* x_200; lean_object* x_201; +x_200 = lean_ctor_get(x_199, 1); +lean_inc(x_200); +lean_dec(x_199); +lean_inc(x_1); +x_201 = l_Lean_Meta_getMVarDecl(x_1, x_18, x_200); +if (lean_obj_tag(x_201) == 0) +{ +lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_246; uint8_t x_257; +x_202 = lean_ctor_get(x_201, 0); +lean_inc(x_202); +x_203 = lean_ctor_get(x_201, 1); +lean_inc(x_203); +lean_dec(x_201); +x_204 = lean_ctor_get(x_202, 2); +lean_inc(x_204); +lean_dec(x_202); +x_257 = l_Lean_Expr_hasFVar(x_204); +if (x_257 == 0) +{ +uint8_t x_258; +x_258 = l_Lean_Expr_hasMVar(x_204); +if (x_258 == 0) +{ +lean_dec(x_197); +x_205 = x_203; +goto block_245; +} +else +{ +lean_object* x_259; lean_object* x_260; lean_object* x_261; uint8_t x_262; +x_259 = l_HashMap_Inhabited___closed__1; +lean_inc(x_204); +x_260 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__99(x_2, x_197, x_204, x_259); +x_261 = lean_ctor_get(x_260, 0); +lean_inc(x_261); +lean_dec(x_260); +x_262 = lean_unbox(x_261); +lean_dec(x_261); +if (x_262 == 0) +{ +x_205 = x_203; +goto block_245; +} +else +{ +lean_object* x_263; +lean_dec(x_204); +lean_dec(x_195); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_8); +x_263 = lean_box(0); +x_246 = x_263; +goto block_256; +} +} +} +else +{ +lean_object* x_264; lean_object* x_265; lean_object* x_266; uint8_t x_267; +x_264 = l_HashMap_Inhabited___closed__1; +lean_inc(x_204); +x_265 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__105(x_2, x_197, x_204, x_264); +x_266 = lean_ctor_get(x_265, 0); +lean_inc(x_266); +lean_dec(x_265); +x_267 = lean_unbox(x_266); +lean_dec(x_266); +if (x_267 == 0) +{ +x_205 = x_203; +goto block_245; +} +else +{ +lean_object* x_268; +lean_dec(x_204); +lean_dec(x_195); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_8); +x_268 = lean_box(0); +x_246 = x_268; +goto block_256; +} +} +block_245: +{ +lean_object* x_206; lean_object* x_207; lean_object* x_208; +lean_inc(x_2); +x_206 = lean_local_ctx_erase(x_13, x_2); +x_207 = lean_unsigned_to_nat(0u); +x_208 = l_Array_findIdxAux___main___at_Lean_Meta_clear___spec__98(x_2, x_14, x_207); +lean_dec(x_2); +if (lean_obj_tag(x_208) == 0) +{ +uint8_t x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; uint8_t x_213; +x_209 = 2; +x_210 = l_Lean_Meta_mkFreshExprMVarAt(x_206, x_14, x_204, x_195, x_209, x_18, x_205); +lean_dec(x_18); +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; lean_object* x_216; +x_214 = lean_ctor_get(x_211, 1); +lean_inc(x_212); +x_215 = l_Lean_MetavarContext_assignExpr(x_214, x_1, x_212); +lean_ctor_set(x_211, 1, x_215); +x_216 = l_Lean_Expr_mvarId_x21(x_212); +lean_dec(x_212); +x_145 = x_216; +x_146 = x_211; +goto block_168; +} +else +{ +lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; +x_217 = lean_ctor_get(x_211, 0); +x_218 = lean_ctor_get(x_211, 1); +x_219 = lean_ctor_get(x_211, 2); +x_220 = lean_ctor_get(x_211, 3); +x_221 = lean_ctor_get(x_211, 4); +x_222 = lean_ctor_get(x_211, 5); +lean_inc(x_222); +lean_inc(x_221); +lean_inc(x_220); +lean_inc(x_219); +lean_inc(x_218); +lean_inc(x_217); +lean_dec(x_211); +lean_inc(x_212); +x_223 = l_Lean_MetavarContext_assignExpr(x_218, x_1, x_212); +x_224 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_224, 0, x_217); +lean_ctor_set(x_224, 1, x_223); +lean_ctor_set(x_224, 2, x_219); +lean_ctor_set(x_224, 3, x_220); +lean_ctor_set(x_224, 4, x_221); +lean_ctor_set(x_224, 5, x_222); +x_225 = l_Lean_Expr_mvarId_x21(x_212); +lean_dec(x_212); +x_145 = x_225; +x_146 = x_224; +goto block_168; +} +} +else +{ +lean_object* x_226; lean_object* x_227; uint8_t x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; uint8_t x_232; +x_226 = lean_ctor_get(x_208, 0); +lean_inc(x_226); +lean_dec(x_208); +x_227 = l_Array_eraseIdx___rarg(x_14, x_226); +lean_dec(x_226); +x_228 = 2; +x_229 = l_Lean_Meta_mkFreshExprMVarAt(x_206, x_227, x_204, x_195, x_228, x_18, x_205); +lean_dec(x_18); +x_230 = lean_ctor_get(x_229, 1); +lean_inc(x_230); +x_231 = lean_ctor_get(x_229, 0); +lean_inc(x_231); +lean_dec(x_229); +x_232 = !lean_is_exclusive(x_230); +if (x_232 == 0) +{ +lean_object* x_233; lean_object* x_234; lean_object* x_235; +x_233 = lean_ctor_get(x_230, 1); +lean_inc(x_231); +x_234 = l_Lean_MetavarContext_assignExpr(x_233, x_1, x_231); +lean_ctor_set(x_230, 1, x_234); +x_235 = l_Lean_Expr_mvarId_x21(x_231); +lean_dec(x_231); +x_145 = x_235; +x_146 = x_230; +goto block_168; +} +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; lean_object* x_244; +x_236 = lean_ctor_get(x_230, 0); +x_237 = lean_ctor_get(x_230, 1); +x_238 = lean_ctor_get(x_230, 2); +x_239 = lean_ctor_get(x_230, 3); +x_240 = lean_ctor_get(x_230, 4); +x_241 = lean_ctor_get(x_230, 5); +lean_inc(x_241); +lean_inc(x_240); +lean_inc(x_239); +lean_inc(x_238); +lean_inc(x_237); +lean_inc(x_236); +lean_dec(x_230); +lean_inc(x_231); +x_242 = l_Lean_MetavarContext_assignExpr(x_237, x_1, x_231); +x_243 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_243, 0, x_236); +lean_ctor_set(x_243, 1, x_242); +lean_ctor_set(x_243, 2, x_238); +lean_ctor_set(x_243, 3, x_239); +lean_ctor_set(x_243, 4, x_240); +lean_ctor_set(x_243, 5, x_241); +x_244 = l_Lean_Expr_mvarId_x21(x_231); +lean_dec(x_231); +x_145 = x_244; +x_146 = x_243; +goto block_168; +} +} +} +block_256: +{ +lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; +lean_dec(x_246); +x_247 = l_Lean_mkFVar(x_2); +x_248 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_248, 0, x_247); +x_249 = l_Lean_Meta_clear___closed__5; +x_250 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_250, 0, x_249); +lean_ctor_set(x_250, 1, x_248); +x_251 = l_Array_forMAux___main___at_Lean_Meta_clear___spec__41___closed__8; +x_252 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_252, 0, x_250); +lean_ctor_set(x_252, 1, x_251); +x_253 = l_Lean_Meta_throwTacticEx___rarg(x_198, x_1, x_252, x_18, x_203); +lean_dec(x_18); +x_254 = lean_ctor_get(x_253, 0); +lean_inc(x_254); +x_255 = lean_ctor_get(x_253, 1); +lean_inc(x_255); +lean_dec(x_253); +x_169 = x_254; +x_170 = x_255; +goto block_192; +} +} +else +{ +lean_object* x_269; lean_object* x_270; +lean_dec(x_197); +lean_dec(x_195); +lean_dec(x_18); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_8); +lean_dec(x_2); +lean_dec(x_1); +x_269 = lean_ctor_get(x_201, 0); +lean_inc(x_269); +x_270 = lean_ctor_get(x_201, 1); +lean_inc(x_270); +lean_dec(x_201); +x_169 = x_269; +x_170 = x_270; +goto block_192; +} +} +else +{ +lean_object* x_271; lean_object* x_272; +lean_dec(x_197); +lean_dec(x_195); +lean_dec(x_18); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_8); +lean_dec(x_2); +lean_dec(x_1); +x_271 = lean_ctor_get(x_199, 0); +lean_inc(x_271); +x_272 = lean_ctor_get(x_199, 1); +lean_inc(x_272); +lean_dec(x_199); +x_169 = x_271; +x_170 = x_272; +goto block_192; +} +} +else +{ +lean_object* x_273; lean_object* x_274; +lean_dec(x_18); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_8); +lean_dec(x_2); +lean_dec(x_1); +x_273 = lean_ctor_get(x_194, 0); +lean_inc(x_273); +x_274 = lean_ctor_get(x_194, 1); +lean_inc(x_274); +lean_dec(x_194); +x_169 = x_273; +x_170 = x_274; +goto block_192; +} +} +} +else +{ +lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_311; lean_object* x_312; lean_object* x_327; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; +x_292 = lean_ctor_get(x_142, 0); +x_293 = lean_ctor_get(x_142, 1); +x_294 = lean_ctor_get(x_142, 2); +lean_inc(x_294); +lean_inc(x_293); +lean_inc(x_292); +lean_dec(x_142); +x_404 = l_Lean_Meta_resettingSynthInstanceCache___rarg___closed__1; +x_405 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_405, 0, x_292); +lean_ctor_set(x_405, 1, x_293); +lean_ctor_set(x_405, 2, x_404); +lean_ctor_set(x_7, 2, x_405); +x_406 = l_Lean_Meta_clear___closed__2; +lean_inc(x_1); +x_407 = l_Lean_Meta_checkNotAssigned(x_1, x_406, x_18, x_7); +if (lean_obj_tag(x_407) == 0) +{ +lean_object* x_408; uint8_t x_409; +x_408 = lean_ctor_get(x_407, 1); +lean_inc(x_408); +lean_dec(x_407); +lean_inc(x_13); +x_409 = l_Lean_LocalContext_contains(x_13, x_2); +if (x_409 == 0) +{ +lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_8); +x_410 = l_Lean_mkFVar(x_2); +x_411 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_411, 0, x_410); +x_412 = l_Lean_Meta_clear___closed__8; +x_413 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_413, 0, x_412); +lean_ctor_set(x_413, 1, x_411); +x_414 = l_Array_forMAux___main___at_Lean_Meta_clear___spec__41___closed__8; +x_415 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_415, 0, x_413); +lean_ctor_set(x_415, 1, x_414); +x_416 = l_Lean_Meta_throwTacticEx___rarg(x_406, x_1, x_415, x_18, x_408); +lean_dec(x_18); +x_417 = lean_ctor_get(x_416, 0); +lean_inc(x_417); +x_418 = lean_ctor_get(x_416, 1); +lean_inc(x_418); +lean_dec(x_416); +x_311 = x_417; +x_312 = x_418; +goto block_326; +} +else +{ +x_327 = x_408; +goto block_403; +} +} +else +{ +lean_object* x_419; lean_object* x_420; +lean_dec(x_18); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_8); +lean_dec(x_2); +lean_dec(x_1); +x_419 = lean_ctor_get(x_407, 0); +lean_inc(x_419); +x_420 = lean_ctor_get(x_407, 1); +lean_inc(x_420); +lean_dec(x_407); +x_311 = x_419; +x_312 = x_420; +goto block_326; +} +block_310: +{ +lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; +x_297 = lean_ctor_get(x_296, 2); +lean_inc(x_297); +x_298 = lean_ctor_get(x_296, 0); +lean_inc(x_298); +x_299 = lean_ctor_get(x_296, 1); +lean_inc(x_299); +x_300 = lean_ctor_get(x_296, 3); +lean_inc(x_300); +x_301 = lean_ctor_get(x_296, 4); +lean_inc(x_301); +x_302 = lean_ctor_get(x_296, 5); +lean_inc(x_302); +if (lean_is_exclusive(x_296)) { + lean_ctor_release(x_296, 0); + lean_ctor_release(x_296, 1); + lean_ctor_release(x_296, 2); + lean_ctor_release(x_296, 3); + lean_ctor_release(x_296, 4); + lean_ctor_release(x_296, 5); + x_303 = x_296; +} else { + lean_dec_ref(x_296); + x_303 = lean_box(0); +} +x_304 = lean_ctor_get(x_297, 0); +lean_inc(x_304); +x_305 = lean_ctor_get(x_297, 1); +lean_inc(x_305); +if (lean_is_exclusive(x_297)) { + lean_ctor_release(x_297, 0); + lean_ctor_release(x_297, 1); + lean_ctor_release(x_297, 2); + x_306 = x_297; +} else { + lean_dec_ref(x_297); + x_306 = lean_box(0); +} +if (lean_is_scalar(x_306)) { + x_307 = lean_alloc_ctor(0, 3, 0); +} else { + x_307 = x_306; +} +lean_ctor_set(x_307, 0, x_304); +lean_ctor_set(x_307, 1, x_305); +lean_ctor_set(x_307, 2, x_294); +if (lean_is_scalar(x_303)) { + x_308 = lean_alloc_ctor(0, 6, 0); +} else { + x_308 = x_303; +} +lean_ctor_set(x_308, 0, x_298); +lean_ctor_set(x_308, 1, x_299); +lean_ctor_set(x_308, 2, x_307); +lean_ctor_set(x_308, 3, x_300); +lean_ctor_set(x_308, 4, x_301); +lean_ctor_set(x_308, 5, x_302); +if (lean_is_scalar(x_8)) { + x_309 = lean_alloc_ctor(0, 2, 0); +} else { + x_309 = x_8; +} +lean_ctor_set(x_309, 0, x_295); +lean_ctor_set(x_309, 1, x_308); +return x_309; +} +block_326: +{ +lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; +x_313 = lean_ctor_get(x_312, 2); +lean_inc(x_313); +x_314 = lean_ctor_get(x_312, 0); +lean_inc(x_314); +x_315 = lean_ctor_get(x_312, 1); +lean_inc(x_315); +x_316 = lean_ctor_get(x_312, 3); +lean_inc(x_316); +x_317 = lean_ctor_get(x_312, 4); +lean_inc(x_317); +x_318 = lean_ctor_get(x_312, 5); +lean_inc(x_318); +if (lean_is_exclusive(x_312)) { + lean_ctor_release(x_312, 0); + lean_ctor_release(x_312, 1); + lean_ctor_release(x_312, 2); + lean_ctor_release(x_312, 3); + lean_ctor_release(x_312, 4); + lean_ctor_release(x_312, 5); + x_319 = x_312; +} else { + lean_dec_ref(x_312); + x_319 = lean_box(0); +} +x_320 = lean_ctor_get(x_313, 0); +lean_inc(x_320); +x_321 = lean_ctor_get(x_313, 1); +lean_inc(x_321); +if (lean_is_exclusive(x_313)) { + lean_ctor_release(x_313, 0); + lean_ctor_release(x_313, 1); + lean_ctor_release(x_313, 2); + x_322 = x_313; +} else { + lean_dec_ref(x_313); + x_322 = lean_box(0); +} +if (lean_is_scalar(x_322)) { + x_323 = lean_alloc_ctor(0, 3, 0); +} else { + x_323 = x_322; +} +lean_ctor_set(x_323, 0, x_320); +lean_ctor_set(x_323, 1, x_321); +lean_ctor_set(x_323, 2, x_294); +if (lean_is_scalar(x_319)) { + x_324 = lean_alloc_ctor(0, 6, 0); +} else { + x_324 = x_319; +} +lean_ctor_set(x_324, 0, x_314); +lean_ctor_set(x_324, 1, x_315); +lean_ctor_set(x_324, 2, x_323); +lean_ctor_set(x_324, 3, x_316); +lean_ctor_set(x_324, 4, x_317); +lean_ctor_set(x_324, 5, x_318); +x_325 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_325, 0, x_311); +lean_ctor_set(x_325, 1, x_324); +return x_325; +} +block_403: +{ +lean_object* x_328; +lean_inc(x_1); +x_328 = l_Lean_Meta_getMVarTag(x_1, x_18, x_327); +if (lean_obj_tag(x_328) == 0) +{ +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_328, 0); +lean_inc(x_329); +x_330 = lean_ctor_get(x_328, 1); +lean_inc(x_330); +lean_dec(x_328); +x_331 = lean_ctor_get(x_330, 1); +lean_inc(x_331); +x_332 = l_Lean_Meta_clear___closed__2; +lean_inc(x_331); +lean_inc(x_2); +lean_inc(x_1); +x_333 = l_Lean_LocalContext_forM___at_Lean_Meta_clear___spec__92(x_1, x_2, x_332, x_331, x_13, x_18, x_330); +if (lean_obj_tag(x_333) == 0) +{ +lean_object* x_334; lean_object* x_335; +x_334 = lean_ctor_get(x_333, 1); +lean_inc(x_334); +lean_dec(x_333); +lean_inc(x_1); +x_335 = l_Lean_Meta_getMVarDecl(x_1, x_18, x_334); +if (lean_obj_tag(x_335) == 0) +{ +lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_374; uint8_t x_385; +x_336 = lean_ctor_get(x_335, 0); +lean_inc(x_336); +x_337 = lean_ctor_get(x_335, 1); +lean_inc(x_337); +lean_dec(x_335); +x_338 = lean_ctor_get(x_336, 2); +lean_inc(x_338); +lean_dec(x_336); +x_385 = l_Lean_Expr_hasFVar(x_338); +if (x_385 == 0) +{ +uint8_t x_386; +x_386 = l_Lean_Expr_hasMVar(x_338); +if (x_386 == 0) +{ +lean_dec(x_331); +x_339 = x_337; +goto block_373; +} +else +{ +lean_object* x_387; lean_object* x_388; lean_object* x_389; uint8_t x_390; +x_387 = l_HashMap_Inhabited___closed__1; +lean_inc(x_338); +x_388 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__99(x_2, x_331, x_338, x_387); +x_389 = lean_ctor_get(x_388, 0); +lean_inc(x_389); +lean_dec(x_388); +x_390 = lean_unbox(x_389); +lean_dec(x_389); +if (x_390 == 0) +{ +x_339 = x_337; +goto block_373; +} +else +{ +lean_object* x_391; +lean_dec(x_338); +lean_dec(x_329); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_8); +x_391 = lean_box(0); +x_374 = x_391; +goto block_384; +} +} +} +else +{ +lean_object* x_392; lean_object* x_393; lean_object* x_394; uint8_t x_395; +x_392 = l_HashMap_Inhabited___closed__1; +lean_inc(x_338); +x_393 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__105(x_2, x_331, x_338, x_392); +x_394 = lean_ctor_get(x_393, 0); +lean_inc(x_394); +lean_dec(x_393); +x_395 = lean_unbox(x_394); +lean_dec(x_394); +if (x_395 == 0) +{ +x_339 = x_337; +goto block_373; +} +else +{ +lean_object* x_396; +lean_dec(x_338); +lean_dec(x_329); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_8); +x_396 = lean_box(0); +x_374 = x_396; +goto block_384; +} +} +block_373: +{ +lean_object* x_340; lean_object* x_341; lean_object* x_342; +lean_inc(x_2); +x_340 = lean_local_ctx_erase(x_13, x_2); +x_341 = lean_unsigned_to_nat(0u); +x_342 = l_Array_findIdxAux___main___at_Lean_Meta_clear___spec__98(x_2, x_14, x_341); +lean_dec(x_2); +if (lean_obj_tag(x_342) == 0) +{ +uint8_t x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; +x_343 = 2; +x_344 = l_Lean_Meta_mkFreshExprMVarAt(x_340, x_14, x_338, x_329, x_343, x_18, x_339); +lean_dec(x_18); +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_ctor_get(x_345, 0); +lean_inc(x_347); +x_348 = lean_ctor_get(x_345, 1); +lean_inc(x_348); +x_349 = lean_ctor_get(x_345, 2); +lean_inc(x_349); +x_350 = lean_ctor_get(x_345, 3); +lean_inc(x_350); +x_351 = lean_ctor_get(x_345, 4); +lean_inc(x_351); +x_352 = lean_ctor_get(x_345, 5); +lean_inc(x_352); +if (lean_is_exclusive(x_345)) { + lean_ctor_release(x_345, 0); + lean_ctor_release(x_345, 1); + lean_ctor_release(x_345, 2); + lean_ctor_release(x_345, 3); + lean_ctor_release(x_345, 4); + lean_ctor_release(x_345, 5); + x_353 = x_345; +} else { + lean_dec_ref(x_345); + x_353 = lean_box(0); +} +lean_inc(x_346); +x_354 = l_Lean_MetavarContext_assignExpr(x_348, x_1, x_346); +if (lean_is_scalar(x_353)) { + x_355 = lean_alloc_ctor(0, 6, 0); +} else { + x_355 = x_353; +} +lean_ctor_set(x_355, 0, x_347); +lean_ctor_set(x_355, 1, x_354); +lean_ctor_set(x_355, 2, x_349); +lean_ctor_set(x_355, 3, x_350); +lean_ctor_set(x_355, 4, x_351); +lean_ctor_set(x_355, 5, x_352); +x_356 = l_Lean_Expr_mvarId_x21(x_346); +lean_dec(x_346); +x_295 = x_356; +x_296 = x_355; +goto block_310; +} +else +{ +lean_object* x_357; lean_object* x_358; uint8_t x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; +x_357 = lean_ctor_get(x_342, 0); +lean_inc(x_357); +lean_dec(x_342); +x_358 = l_Array_eraseIdx___rarg(x_14, x_357); +lean_dec(x_357); +x_359 = 2; +x_360 = l_Lean_Meta_mkFreshExprMVarAt(x_340, x_358, x_338, x_329, x_359, x_18, x_339); +lean_dec(x_18); +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_ctor_get(x_361, 0); +lean_inc(x_363); +x_364 = lean_ctor_get(x_361, 1); +lean_inc(x_364); +x_365 = lean_ctor_get(x_361, 2); +lean_inc(x_365); +x_366 = lean_ctor_get(x_361, 3); +lean_inc(x_366); +x_367 = lean_ctor_get(x_361, 4); +lean_inc(x_367); +x_368 = lean_ctor_get(x_361, 5); +lean_inc(x_368); +if (lean_is_exclusive(x_361)) { + lean_ctor_release(x_361, 0); + lean_ctor_release(x_361, 1); + lean_ctor_release(x_361, 2); + lean_ctor_release(x_361, 3); + lean_ctor_release(x_361, 4); + lean_ctor_release(x_361, 5); + x_369 = x_361; +} else { + lean_dec_ref(x_361); + x_369 = lean_box(0); +} +lean_inc(x_362); +x_370 = l_Lean_MetavarContext_assignExpr(x_364, x_1, x_362); +if (lean_is_scalar(x_369)) { + x_371 = lean_alloc_ctor(0, 6, 0); +} else { + x_371 = x_369; +} +lean_ctor_set(x_371, 0, x_363); +lean_ctor_set(x_371, 1, x_370); +lean_ctor_set(x_371, 2, x_365); +lean_ctor_set(x_371, 3, x_366); +lean_ctor_set(x_371, 4, x_367); +lean_ctor_set(x_371, 5, x_368); +x_372 = l_Lean_Expr_mvarId_x21(x_362); +lean_dec(x_362); +x_295 = x_372; +x_296 = x_371; +goto block_310; +} +} +block_384: +{ +lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; +lean_dec(x_374); +x_375 = l_Lean_mkFVar(x_2); +x_376 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_376, 0, x_375); +x_377 = l_Lean_Meta_clear___closed__5; +x_378 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_378, 0, x_377); +lean_ctor_set(x_378, 1, x_376); +x_379 = l_Array_forMAux___main___at_Lean_Meta_clear___spec__41___closed__8; +x_380 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_380, 0, x_378); +lean_ctor_set(x_380, 1, x_379); +x_381 = l_Lean_Meta_throwTacticEx___rarg(x_332, x_1, x_380, x_18, x_337); +lean_dec(x_18); +x_382 = lean_ctor_get(x_381, 0); +lean_inc(x_382); +x_383 = lean_ctor_get(x_381, 1); +lean_inc(x_383); +lean_dec(x_381); +x_311 = x_382; +x_312 = x_383; +goto block_326; +} +} +else +{ +lean_object* x_397; lean_object* x_398; +lean_dec(x_331); +lean_dec(x_329); +lean_dec(x_18); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_8); +lean_dec(x_2); +lean_dec(x_1); +x_397 = lean_ctor_get(x_335, 0); +lean_inc(x_397); +x_398 = lean_ctor_get(x_335, 1); +lean_inc(x_398); +lean_dec(x_335); +x_311 = x_397; +x_312 = x_398; +goto block_326; +} +} +else +{ +lean_object* x_399; lean_object* x_400; +lean_dec(x_331); +lean_dec(x_329); +lean_dec(x_18); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_8); +lean_dec(x_2); +lean_dec(x_1); +x_399 = lean_ctor_get(x_333, 0); +lean_inc(x_399); +x_400 = lean_ctor_get(x_333, 1); +lean_inc(x_400); +lean_dec(x_333); +x_311 = x_399; +x_312 = x_400; +goto block_326; +} +} +else +{ +lean_object* x_401; lean_object* x_402; +lean_dec(x_18); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_8); +lean_dec(x_2); +lean_dec(x_1); +x_401 = lean_ctor_get(x_328, 0); +lean_inc(x_401); +x_402 = lean_ctor_get(x_328, 1); +lean_inc(x_402); +lean_dec(x_328); +x_311 = x_401; +x_312 = x_402; +goto block_326; +} +} +} +} +else +{ +lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_447; lean_object* x_448; lean_object* x_463; lean_object* x_540; lean_object* x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; +x_421 = lean_ctor_get(x_7, 2); +x_422 = lean_ctor_get(x_7, 0); +x_423 = lean_ctor_get(x_7, 1); +x_424 = lean_ctor_get(x_7, 3); +x_425 = lean_ctor_get(x_7, 4); +x_426 = lean_ctor_get(x_7, 5); +lean_inc(x_426); +lean_inc(x_425); +lean_inc(x_424); +lean_inc(x_421); +lean_inc(x_423); +lean_inc(x_422); +lean_dec(x_7); +x_427 = lean_ctor_get(x_421, 0); +lean_inc(x_427); +x_428 = lean_ctor_get(x_421, 1); +lean_inc(x_428); +x_429 = lean_ctor_get(x_421, 2); +lean_inc(x_429); +if (lean_is_exclusive(x_421)) { + lean_ctor_release(x_421, 0); + lean_ctor_release(x_421, 1); + lean_ctor_release(x_421, 2); + x_430 = x_421; +} else { + lean_dec_ref(x_421); + x_430 = lean_box(0); +} +x_540 = l_Lean_Meta_resettingSynthInstanceCache___rarg___closed__1; +if (lean_is_scalar(x_430)) { + x_541 = lean_alloc_ctor(0, 3, 0); +} else { + x_541 = x_430; +} +lean_ctor_set(x_541, 0, x_427); +lean_ctor_set(x_541, 1, x_428); +lean_ctor_set(x_541, 2, x_540); +x_542 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_542, 0, x_422); +lean_ctor_set(x_542, 1, x_423); +lean_ctor_set(x_542, 2, x_541); +lean_ctor_set(x_542, 3, x_424); +lean_ctor_set(x_542, 4, x_425); +lean_ctor_set(x_542, 5, x_426); +x_543 = l_Lean_Meta_clear___closed__2; +lean_inc(x_1); +x_544 = l_Lean_Meta_checkNotAssigned(x_1, x_543, x_18, x_542); +if (lean_obj_tag(x_544) == 0) +{ +lean_object* x_545; uint8_t x_546; +x_545 = lean_ctor_get(x_544, 1); +lean_inc(x_545); +lean_dec(x_544); +lean_inc(x_13); +x_546 = l_Lean_LocalContext_contains(x_13, x_2); +if (x_546 == 0) +{ +lean_object* x_547; lean_object* x_548; lean_object* x_549; lean_object* x_550; lean_object* x_551; lean_object* x_552; lean_object* x_553; lean_object* x_554; lean_object* x_555; +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_8); +x_547 = l_Lean_mkFVar(x_2); +x_548 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_548, 0, x_547); +x_549 = l_Lean_Meta_clear___closed__8; +x_550 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_550, 0, x_549); +lean_ctor_set(x_550, 1, x_548); +x_551 = l_Array_forMAux___main___at_Lean_Meta_clear___spec__41___closed__8; +x_552 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_552, 0, x_550); +lean_ctor_set(x_552, 1, x_551); +x_553 = l_Lean_Meta_throwTacticEx___rarg(x_543, x_1, x_552, x_18, x_545); +lean_dec(x_18); +x_554 = lean_ctor_get(x_553, 0); +lean_inc(x_554); +x_555 = lean_ctor_get(x_553, 1); +lean_inc(x_555); +lean_dec(x_553); +x_447 = x_554; +x_448 = x_555; +goto block_462; +} +else +{ +x_463 = x_545; +goto block_539; +} +} +else +{ +lean_object* x_556; lean_object* x_557; +lean_dec(x_18); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_8); +lean_dec(x_2); +lean_dec(x_1); +x_556 = lean_ctor_get(x_544, 0); +lean_inc(x_556); +x_557 = lean_ctor_get(x_544, 1); +lean_inc(x_557); +lean_dec(x_544); +x_447 = x_556; +x_448 = x_557; +goto block_462; +} +block_446: +{ +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; lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; +x_433 = lean_ctor_get(x_432, 2); +lean_inc(x_433); +x_434 = lean_ctor_get(x_432, 0); +lean_inc(x_434); +x_435 = lean_ctor_get(x_432, 1); +lean_inc(x_435); +x_436 = lean_ctor_get(x_432, 3); +lean_inc(x_436); +x_437 = lean_ctor_get(x_432, 4); +lean_inc(x_437); +x_438 = lean_ctor_get(x_432, 5); +lean_inc(x_438); +if (lean_is_exclusive(x_432)) { + lean_ctor_release(x_432, 0); + lean_ctor_release(x_432, 1); + lean_ctor_release(x_432, 2); + lean_ctor_release(x_432, 3); + lean_ctor_release(x_432, 4); + lean_ctor_release(x_432, 5); + x_439 = x_432; +} else { + lean_dec_ref(x_432); + x_439 = lean_box(0); +} +x_440 = lean_ctor_get(x_433, 0); +lean_inc(x_440); +x_441 = lean_ctor_get(x_433, 1); +lean_inc(x_441); +if (lean_is_exclusive(x_433)) { + lean_ctor_release(x_433, 0); + lean_ctor_release(x_433, 1); + lean_ctor_release(x_433, 2); + x_442 = x_433; +} else { + lean_dec_ref(x_433); + x_442 = lean_box(0); +} +if (lean_is_scalar(x_442)) { + x_443 = lean_alloc_ctor(0, 3, 0); +} else { + x_443 = x_442; +} +lean_ctor_set(x_443, 0, x_440); +lean_ctor_set(x_443, 1, x_441); +lean_ctor_set(x_443, 2, x_429); +if (lean_is_scalar(x_439)) { + x_444 = lean_alloc_ctor(0, 6, 0); +} else { + x_444 = x_439; +} +lean_ctor_set(x_444, 0, x_434); +lean_ctor_set(x_444, 1, x_435); +lean_ctor_set(x_444, 2, x_443); +lean_ctor_set(x_444, 3, x_436); +lean_ctor_set(x_444, 4, x_437); +lean_ctor_set(x_444, 5, x_438); +if (lean_is_scalar(x_8)) { + x_445 = lean_alloc_ctor(0, 2, 0); +} else { + x_445 = x_8; +} +lean_ctor_set(x_445, 0, x_431); +lean_ctor_set(x_445, 1, x_444); +return x_445; +} +block_462: +{ +lean_object* x_449; lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; +x_449 = lean_ctor_get(x_448, 2); +lean_inc(x_449); +x_450 = lean_ctor_get(x_448, 0); +lean_inc(x_450); +x_451 = lean_ctor_get(x_448, 1); +lean_inc(x_451); +x_452 = lean_ctor_get(x_448, 3); +lean_inc(x_452); +x_453 = lean_ctor_get(x_448, 4); +lean_inc(x_453); +x_454 = lean_ctor_get(x_448, 5); +lean_inc(x_454); +if (lean_is_exclusive(x_448)) { + lean_ctor_release(x_448, 0); + lean_ctor_release(x_448, 1); + lean_ctor_release(x_448, 2); + lean_ctor_release(x_448, 3); + lean_ctor_release(x_448, 4); + lean_ctor_release(x_448, 5); + x_455 = x_448; +} else { + lean_dec_ref(x_448); + x_455 = lean_box(0); +} +x_456 = lean_ctor_get(x_449, 0); +lean_inc(x_456); +x_457 = lean_ctor_get(x_449, 1); +lean_inc(x_457); +if (lean_is_exclusive(x_449)) { + lean_ctor_release(x_449, 0); + lean_ctor_release(x_449, 1); + lean_ctor_release(x_449, 2); + x_458 = x_449; +} else { + lean_dec_ref(x_449); + x_458 = lean_box(0); +} +if (lean_is_scalar(x_458)) { + x_459 = lean_alloc_ctor(0, 3, 0); +} else { + x_459 = x_458; +} +lean_ctor_set(x_459, 0, x_456); +lean_ctor_set(x_459, 1, x_457); +lean_ctor_set(x_459, 2, x_429); +if (lean_is_scalar(x_455)) { + x_460 = lean_alloc_ctor(0, 6, 0); +} else { + x_460 = x_455; +} +lean_ctor_set(x_460, 0, x_450); +lean_ctor_set(x_460, 1, x_451); +lean_ctor_set(x_460, 2, x_459); +lean_ctor_set(x_460, 3, x_452); +lean_ctor_set(x_460, 4, x_453); +lean_ctor_set(x_460, 5, x_454); +x_461 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_461, 0, x_447); +lean_ctor_set(x_461, 1, x_460); +return x_461; +} +block_539: +{ +lean_object* x_464; +lean_inc(x_1); +x_464 = l_Lean_Meta_getMVarTag(x_1, x_18, x_463); +if (lean_obj_tag(x_464) == 0) +{ +lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; +x_465 = lean_ctor_get(x_464, 0); +lean_inc(x_465); +x_466 = lean_ctor_get(x_464, 1); +lean_inc(x_466); +lean_dec(x_464); +x_467 = lean_ctor_get(x_466, 1); +lean_inc(x_467); +x_468 = l_Lean_Meta_clear___closed__2; +lean_inc(x_467); +lean_inc(x_2); +lean_inc(x_1); +x_469 = l_Lean_LocalContext_forM___at_Lean_Meta_clear___spec__92(x_1, x_2, x_468, x_467, x_13, x_18, x_466); +if (lean_obj_tag(x_469) == 0) +{ +lean_object* x_470; lean_object* x_471; +x_470 = lean_ctor_get(x_469, 1); +lean_inc(x_470); +lean_dec(x_469); +lean_inc(x_1); +x_471 = l_Lean_Meta_getMVarDecl(x_1, x_18, x_470); +if (lean_obj_tag(x_471) == 0) +{ +lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_510; uint8_t x_521; +x_472 = lean_ctor_get(x_471, 0); +lean_inc(x_472); +x_473 = lean_ctor_get(x_471, 1); +lean_inc(x_473); +lean_dec(x_471); +x_474 = lean_ctor_get(x_472, 2); +lean_inc(x_474); +lean_dec(x_472); +x_521 = l_Lean_Expr_hasFVar(x_474); +if (x_521 == 0) +{ +uint8_t x_522; +x_522 = l_Lean_Expr_hasMVar(x_474); +if (x_522 == 0) +{ +lean_dec(x_467); +x_475 = x_473; +goto block_509; +} +else +{ +lean_object* x_523; lean_object* x_524; lean_object* x_525; uint8_t x_526; +x_523 = l_HashMap_Inhabited___closed__1; +lean_inc(x_474); +x_524 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__99(x_2, x_467, x_474, x_523); +x_525 = lean_ctor_get(x_524, 0); +lean_inc(x_525); +lean_dec(x_524); +x_526 = lean_unbox(x_525); +lean_dec(x_525); +if (x_526 == 0) +{ +x_475 = x_473; +goto block_509; +} +else +{ +lean_object* x_527; +lean_dec(x_474); +lean_dec(x_465); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_8); +x_527 = lean_box(0); +x_510 = x_527; +goto block_520; +} +} +} +else +{ +lean_object* x_528; lean_object* x_529; lean_object* x_530; uint8_t x_531; +x_528 = l_HashMap_Inhabited___closed__1; +lean_inc(x_474); +x_529 = l___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__105(x_2, x_467, x_474, x_528); +x_530 = lean_ctor_get(x_529, 0); +lean_inc(x_530); +lean_dec(x_529); +x_531 = lean_unbox(x_530); +lean_dec(x_530); +if (x_531 == 0) +{ +x_475 = x_473; +goto block_509; +} +else +{ +lean_object* x_532; +lean_dec(x_474); +lean_dec(x_465); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_8); +x_532 = lean_box(0); +x_510 = x_532; +goto block_520; +} +} +block_509: +{ +lean_object* x_476; lean_object* x_477; lean_object* x_478; +lean_inc(x_2); +x_476 = lean_local_ctx_erase(x_13, x_2); +x_477 = lean_unsigned_to_nat(0u); +x_478 = l_Array_findIdxAux___main___at_Lean_Meta_clear___spec__98(x_2, x_14, x_477); +lean_dec(x_2); +if (lean_obj_tag(x_478) == 0) +{ +uint8_t x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; +x_479 = 2; +x_480 = l_Lean_Meta_mkFreshExprMVarAt(x_476, x_14, x_474, x_465, x_479, x_18, x_475); +lean_dec(x_18); +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_ctor_get(x_481, 0); +lean_inc(x_483); +x_484 = lean_ctor_get(x_481, 1); +lean_inc(x_484); +x_485 = lean_ctor_get(x_481, 2); +lean_inc(x_485); +x_486 = lean_ctor_get(x_481, 3); +lean_inc(x_486); +x_487 = lean_ctor_get(x_481, 4); +lean_inc(x_487); +x_488 = lean_ctor_get(x_481, 5); +lean_inc(x_488); +if (lean_is_exclusive(x_481)) { + lean_ctor_release(x_481, 0); + lean_ctor_release(x_481, 1); + lean_ctor_release(x_481, 2); + lean_ctor_release(x_481, 3); + lean_ctor_release(x_481, 4); + lean_ctor_release(x_481, 5); + x_489 = x_481; +} else { + lean_dec_ref(x_481); + x_489 = lean_box(0); +} +lean_inc(x_482); +x_490 = l_Lean_MetavarContext_assignExpr(x_484, x_1, x_482); +if (lean_is_scalar(x_489)) { + x_491 = lean_alloc_ctor(0, 6, 0); +} else { + x_491 = x_489; +} +lean_ctor_set(x_491, 0, x_483); +lean_ctor_set(x_491, 1, x_490); +lean_ctor_set(x_491, 2, x_485); +lean_ctor_set(x_491, 3, x_486); +lean_ctor_set(x_491, 4, x_487); +lean_ctor_set(x_491, 5, x_488); +x_492 = l_Lean_Expr_mvarId_x21(x_482); +lean_dec(x_482); +x_431 = x_492; +x_432 = x_491; +goto block_446; +} +else +{ +lean_object* x_493; lean_object* x_494; uint8_t x_495; lean_object* x_496; lean_object* x_497; lean_object* x_498; lean_object* x_499; lean_object* x_500; lean_object* x_501; lean_object* x_502; lean_object* x_503; lean_object* x_504; lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; +x_493 = lean_ctor_get(x_478, 0); +lean_inc(x_493); +lean_dec(x_478); +x_494 = l_Array_eraseIdx___rarg(x_14, x_493); +lean_dec(x_493); +x_495 = 2; +x_496 = l_Lean_Meta_mkFreshExprMVarAt(x_476, x_494, x_474, x_465, x_495, x_18, x_475); +lean_dec(x_18); +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_ctor_get(x_497, 0); +lean_inc(x_499); +x_500 = lean_ctor_get(x_497, 1); +lean_inc(x_500); +x_501 = lean_ctor_get(x_497, 2); +lean_inc(x_501); +x_502 = lean_ctor_get(x_497, 3); +lean_inc(x_502); +x_503 = lean_ctor_get(x_497, 4); +lean_inc(x_503); +x_504 = lean_ctor_get(x_497, 5); +lean_inc(x_504); +if (lean_is_exclusive(x_497)) { + lean_ctor_release(x_497, 0); + lean_ctor_release(x_497, 1); + lean_ctor_release(x_497, 2); + lean_ctor_release(x_497, 3); + lean_ctor_release(x_497, 4); + lean_ctor_release(x_497, 5); + x_505 = x_497; +} else { + lean_dec_ref(x_497); + x_505 = lean_box(0); +} +lean_inc(x_498); +x_506 = l_Lean_MetavarContext_assignExpr(x_500, x_1, x_498); +if (lean_is_scalar(x_505)) { + x_507 = lean_alloc_ctor(0, 6, 0); +} else { + x_507 = x_505; +} +lean_ctor_set(x_507, 0, x_499); +lean_ctor_set(x_507, 1, x_506); +lean_ctor_set(x_507, 2, x_501); +lean_ctor_set(x_507, 3, x_502); +lean_ctor_set(x_507, 4, x_503); +lean_ctor_set(x_507, 5, x_504); +x_508 = l_Lean_Expr_mvarId_x21(x_498); +lean_dec(x_498); +x_431 = x_508; +x_432 = x_507; +goto block_446; +} +} +block_520: +{ +lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; lean_object* x_516; lean_object* x_517; lean_object* x_518; lean_object* x_519; +lean_dec(x_510); +x_511 = l_Lean_mkFVar(x_2); +x_512 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_512, 0, x_511); +x_513 = l_Lean_Meta_clear___closed__5; +x_514 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_514, 0, x_513); +lean_ctor_set(x_514, 1, x_512); +x_515 = l_Array_forMAux___main___at_Lean_Meta_clear___spec__41___closed__8; +x_516 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_516, 0, x_514); +lean_ctor_set(x_516, 1, x_515); +x_517 = l_Lean_Meta_throwTacticEx___rarg(x_468, x_1, x_516, x_18, x_473); +lean_dec(x_18); +x_518 = lean_ctor_get(x_517, 0); +lean_inc(x_518); +x_519 = lean_ctor_get(x_517, 1); +lean_inc(x_519); +lean_dec(x_517); +x_447 = x_518; +x_448 = x_519; +goto block_462; +} +} +else +{ +lean_object* x_533; lean_object* x_534; +lean_dec(x_467); +lean_dec(x_465); +lean_dec(x_18); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_8); +lean_dec(x_2); +lean_dec(x_1); +x_533 = lean_ctor_get(x_471, 0); +lean_inc(x_533); +x_534 = lean_ctor_get(x_471, 1); +lean_inc(x_534); +lean_dec(x_471); +x_447 = x_533; +x_448 = x_534; +goto block_462; +} +} +else +{ +lean_object* x_535; lean_object* x_536; +lean_dec(x_467); +lean_dec(x_465); +lean_dec(x_18); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_8); +lean_dec(x_2); +lean_dec(x_1); +x_535 = lean_ctor_get(x_469, 0); +lean_inc(x_535); +x_536 = lean_ctor_get(x_469, 1); +lean_inc(x_536); +lean_dec(x_469); +x_447 = x_535; +x_448 = x_536; +goto block_462; +} +} +else +{ +lean_object* x_537; lean_object* x_538; +lean_dec(x_18); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_8); +lean_dec(x_2); +lean_dec(x_1); +x_537 = lean_ctor_get(x_464, 0); +lean_inc(x_537); +x_538 = lean_ctor_get(x_464, 1); +lean_inc(x_538); +lean_dec(x_464); +x_447 = x_537; +x_448 = x_538; +goto block_462; +} +} +} +} +} +else +{ +uint8_t x_582; +lean_dec(x_2); +lean_dec(x_1); +x_582 = !lean_is_exclusive(x_5); +if (x_582 == 0) +{ +return x_5; +} +else +{ +lean_object* x_583; lean_object* x_584; lean_object* x_585; +x_583 = lean_ctor_get(x_5, 0); +x_584 = lean_ctor_get(x_5, 1); +lean_inc(x_584); +lean_inc(x_583); +lean_dec(x_5); +x_585 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_585, 0, x_583); +lean_ctor_set(x_585, 1, x_584); +return x_585; +} +} +} +} +lean_object* l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__4___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 = l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__4(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_7 = lean_box(x_6); +return x_7; +} +} +lean_object* l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__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 = l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__5(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_7 = lean_box(x_6); +return x_7; +} +} +lean_object* l_PersistentArray_anyMAux___main___at_Lean_Meta_clear___spec__3___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_Meta_clear___spec__3(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_anyRangeMAux___main___at_Lean_Meta_clear___spec__6___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 = l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__6(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_7 = lean_box(x_6); +return x_7; +} +} +lean_object* l_PersistentArray_anyM___at_Lean_Meta_clear___spec__2___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_Meta_clear___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___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___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___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__1(x_1, x_2, x_3, x_4); +lean_dec(x_1); +return x_5; +} +} +lean_object* l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__10___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 = l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__10(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_7 = lean_box(x_6); +return x_7; +} +} +lean_object* l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__11___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 = l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__11(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_7 = lean_box(x_6); +return x_7; +} +} +lean_object* l_PersistentArray_anyMAux___main___at_Lean_Meta_clear___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_Meta_clear___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_anyRangeMAux___main___at_Lean_Meta_clear___spec__12___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 = l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__12(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_7 = lean_box(x_6); +return x_7; +} +} +lean_object* l_PersistentArray_anyM___at_Lean_Meta_clear___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_Meta_clear___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___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___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___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__7(x_1, x_2, x_3, x_4); +lean_dec(x_1); +return x_5; +} +} +lean_object* l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__16___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 = l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__16(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_7 = lean_box(x_6); +return x_7; +} +} +lean_object* l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__17___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 = l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__17(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_7 = lean_box(x_6); +return x_7; +} +} +lean_object* l_PersistentArray_anyMAux___main___at_Lean_Meta_clear___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_Meta_clear___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_anyRangeMAux___main___at_Lean_Meta_clear___spec__18___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 = l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__18(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_7 = lean_box(x_6); +return x_7; +} +} +lean_object* l_PersistentArray_anyM___at_Lean_Meta_clear___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_Meta_clear___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___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___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___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__13(x_1, x_2, x_3, x_4); +lean_dec(x_1); +return x_5; +} +} +lean_object* l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__22___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 = l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__22(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_7 = lean_box(x_6); +return x_7; +} +} +lean_object* l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__23___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 = l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__23(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_7 = lean_box(x_6); +return x_7; +} +} +lean_object* l_PersistentArray_anyMAux___main___at_Lean_Meta_clear___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_Meta_clear___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_anyRangeMAux___main___at_Lean_Meta_clear___spec__24___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 = l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__24(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_7 = lean_box(x_6); +return x_7; +} +} +lean_object* l_PersistentArray_anyM___at_Lean_Meta_clear___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_Meta_clear___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___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___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___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__19(x_1, x_2, x_3, x_4); +lean_dec(x_1); +return x_5; +} +} +lean_object* l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__28___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 = l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__28(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_7 = lean_box(x_6); +return x_7; +} +} +lean_object* l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__29___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 = l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__29(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_7 = lean_box(x_6); +return x_7; +} +} +lean_object* l_PersistentArray_anyMAux___main___at_Lean_Meta_clear___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_Meta_clear___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_anyRangeMAux___main___at_Lean_Meta_clear___spec__30___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 = l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__30(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_7 = lean_box(x_6); +return x_7; +} +} +lean_object* l_PersistentArray_anyM___at_Lean_Meta_clear___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_Meta_clear___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___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___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___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__25(x_1, x_2, x_3, x_4); +lean_dec(x_1); +return x_5; +} +} +lean_object* l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__34___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 = l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__34(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_7 = lean_box(x_6); +return x_7; +} +} +lean_object* l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__35___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 = l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__35(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_7 = lean_box(x_6); +return x_7; +} +} +lean_object* l_PersistentArray_anyMAux___main___at_Lean_Meta_clear___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_Meta_clear___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_anyRangeMAux___main___at_Lean_Meta_clear___spec__36___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 = l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__36(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_7 = lean_box(x_6); +return x_7; +} +} +lean_object* l_PersistentArray_anyM___at_Lean_Meta_clear___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_Meta_clear___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___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___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___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__31(x_1, x_2, x_3, x_4); +lean_dec(x_1); +return x_5; +} +} +lean_object* l_Array_forMAux___main___at_Lean_Meta_clear___spec__40___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Array_forMAux___main___at_Lean_Meta_clear___spec__40(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_5); +return x_9; +} +} +lean_object* l_Array_forMAux___main___at_Lean_Meta_clear___spec__41___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Array_forMAux___main___at_Lean_Meta_clear___spec__41(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_5); +return x_9; +} +} +lean_object* l_PersistentArray_forMAux___main___at_Lean_Meta_clear___spec__39___boxed(lean_object* x_1, 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_PersistentArray_forMAux___main___at_Lean_Meta_clear___spec__39(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec(x_5); +return x_8; +} +} +lean_object* l_Array_forMAux___main___at_Lean_Meta_clear___spec__42___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Array_forMAux___main___at_Lean_Meta_clear___spec__42(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_5); +return x_9; +} +} +lean_object* l_PersistentArray_forM___at_Lean_Meta_clear___spec__38___boxed(lean_object* x_1, 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_PersistentArray_forM___at_Lean_Meta_clear___spec__38(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec(x_5); +return x_8; +} +} +lean_object* l_Lean_LocalContext_forM___at_Lean_Meta_clear___spec__37___boxed(lean_object* x_1, 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_forM___at_Lean_Meta_clear___spec__37(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec(x_5); +return x_8; +} +} +lean_object* l_Array_findIdxAux___main___at_Lean_Meta_clear___spec__43___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Array_findIdxAux___main___at_Lean_Meta_clear___spec__43(x_1, x_2, x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_4; +} +} +lean_object* l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__47___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 = l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__47(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_7 = lean_box(x_6); +return x_7; +} +} +lean_object* l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__48___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 = l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__48(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_7 = lean_box(x_6); +return x_7; +} +} +lean_object* l_PersistentArray_anyMAux___main___at_Lean_Meta_clear___spec__46___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_Meta_clear___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_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__49___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 = l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__49(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_7 = lean_box(x_6); +return x_7; +} +} +lean_object* l_PersistentArray_anyM___at_Lean_Meta_clear___spec__45___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_Meta_clear___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___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__44___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_8__dep___main___at_Lean_Meta_clear___spec__44(x_1, x_2, x_3, x_4); +lean_dec(x_1); +return x_5; +} +} +lean_object* l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__53___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 = l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__53(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_7 = lean_box(x_6); +return x_7; +} +} +lean_object* l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__54___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 = l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__54(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_7 = lean_box(x_6); +return x_7; +} +} +lean_object* l_PersistentArray_anyMAux___main___at_Lean_Meta_clear___spec__52___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_Meta_clear___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_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__55___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 = l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__55(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_7 = lean_box(x_6); +return x_7; +} +} +lean_object* l_PersistentArray_anyM___at_Lean_Meta_clear___spec__51___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_Meta_clear___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___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__50___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_8__dep___main___at_Lean_Meta_clear___spec__50(x_1, x_2, x_3, x_4); +lean_dec(x_1); +return x_5; +} +} +lean_object* l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__59___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 = l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__59(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_7 = lean_box(x_6); +return x_7; +} +} +lean_object* l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__60___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 = l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__60(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_7 = lean_box(x_6); +return x_7; +} +} +lean_object* l_PersistentArray_anyMAux___main___at_Lean_Meta_clear___spec__58___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_Meta_clear___spec__58(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_anyRangeMAux___main___at_Lean_Meta_clear___spec__61___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 = l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__61(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_7 = lean_box(x_6); +return x_7; +} +} +lean_object* l_PersistentArray_anyM___at_Lean_Meta_clear___spec__57___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_Meta_clear___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___private_Init_Lean_MetavarContext_8__dep___main___at_Lean_Meta_clear___spec__56___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_8__dep___main___at_Lean_Meta_clear___spec__56(x_1, x_2, x_3, x_4); +lean_dec(x_1); +return x_5; +} +} +lean_object* l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__65___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 = l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__65(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_7 = lean_box(x_6); +return x_7; +} +} +lean_object* l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__66___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 = l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__66(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_7 = lean_box(x_6); +return x_7; +} +} +lean_object* l_PersistentArray_anyMAux___main___at_Lean_Meta_clear___spec__64___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_Meta_clear___spec__64(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_anyRangeMAux___main___at_Lean_Meta_clear___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 = l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__67(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_7 = lean_box(x_6); +return x_7; +} +} +lean_object* l_PersistentArray_anyM___at_Lean_Meta_clear___spec__63___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_Meta_clear___spec__63(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_8__dep___main___at_Lean_Meta_clear___spec__62___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_8__dep___main___at_Lean_Meta_clear___spec__62(x_1, x_2, x_3, x_4); +lean_dec(x_1); +return x_5; +} +} +lean_object* l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__71___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 = l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__71(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_7 = lean_box(x_6); +return x_7; +} +} +lean_object* l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__72___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 = l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__72(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_7 = lean_box(x_6); +return x_7; +} +} +lean_object* l_PersistentArray_anyMAux___main___at_Lean_Meta_clear___spec__70___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_Meta_clear___spec__70(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_anyRangeMAux___main___at_Lean_Meta_clear___spec__73___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 = l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__73(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_7 = lean_box(x_6); +return x_7; +} +} +lean_object* l_PersistentArray_anyM___at_Lean_Meta_clear___spec__69___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_Meta_clear___spec__69(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_8__dep___main___at_Lean_Meta_clear___spec__68___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_8__dep___main___at_Lean_Meta_clear___spec__68(x_1, x_2, x_3, x_4); +lean_dec(x_1); +return x_5; +} +} +lean_object* l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__77___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 = l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__77(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_7 = lean_box(x_6); +return x_7; +} +} +lean_object* l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__78___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 = l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__78(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_7 = lean_box(x_6); +return x_7; +} +} +lean_object* l_PersistentArray_anyMAux___main___at_Lean_Meta_clear___spec__76___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_Meta_clear___spec__76(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_anyRangeMAux___main___at_Lean_Meta_clear___spec__79___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 = l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__79(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_7 = lean_box(x_6); +return x_7; +} +} +lean_object* l_PersistentArray_anyM___at_Lean_Meta_clear___spec__75___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_Meta_clear___spec__75(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_8__dep___main___at_Lean_Meta_clear___spec__74___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_8__dep___main___at_Lean_Meta_clear___spec__74(x_1, x_2, x_3, x_4); +lean_dec(x_1); +return x_5; +} +} +lean_object* l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__83___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 = l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__83(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_7 = lean_box(x_6); +return x_7; +} +} +lean_object* l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__84___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 = l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__84(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_7 = lean_box(x_6); +return x_7; +} +} +lean_object* l_PersistentArray_anyMAux___main___at_Lean_Meta_clear___spec__82___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_Meta_clear___spec__82(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_anyRangeMAux___main___at_Lean_Meta_clear___spec__85___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 = l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__85(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_7 = lean_box(x_6); +return x_7; +} +} +lean_object* l_PersistentArray_anyM___at_Lean_Meta_clear___spec__81___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_Meta_clear___spec__81(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_8__dep___main___at_Lean_Meta_clear___spec__80___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_8__dep___main___at_Lean_Meta_clear___spec__80(x_1, x_2, x_3, x_4); +lean_dec(x_1); +return x_5; +} +} +lean_object* l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__89___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 = l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__89(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_7 = lean_box(x_6); +return x_7; +} +} +lean_object* l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__90___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 = l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__90(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_7 = lean_box(x_6); +return x_7; +} +} +lean_object* l_PersistentArray_anyMAux___main___at_Lean_Meta_clear___spec__88___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_Meta_clear___spec__88(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_anyRangeMAux___main___at_Lean_Meta_clear___spec__91___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 = l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__91(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_7 = lean_box(x_6); +return x_7; +} +} +lean_object* l_PersistentArray_anyM___at_Lean_Meta_clear___spec__87___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_Meta_clear___spec__87(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_8__dep___main___at_Lean_Meta_clear___spec__86___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_8__dep___main___at_Lean_Meta_clear___spec__86(x_1, x_2, x_3, x_4); +lean_dec(x_1); +return x_5; +} +} +lean_object* l_Array_forMAux___main___at_Lean_Meta_clear___spec__95___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Array_forMAux___main___at_Lean_Meta_clear___spec__95(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_5); +return x_9; +} +} +lean_object* l_Array_forMAux___main___at_Lean_Meta_clear___spec__96___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Array_forMAux___main___at_Lean_Meta_clear___spec__96(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_5); +return x_9; +} +} +lean_object* l_PersistentArray_forMAux___main___at_Lean_Meta_clear___spec__94___boxed(lean_object* x_1, 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_PersistentArray_forMAux___main___at_Lean_Meta_clear___spec__94(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec(x_5); +return x_8; +} +} +lean_object* l_Array_forMAux___main___at_Lean_Meta_clear___spec__97___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Array_forMAux___main___at_Lean_Meta_clear___spec__97(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_5); +return x_9; +} +} +lean_object* l_PersistentArray_forM___at_Lean_Meta_clear___spec__93___boxed(lean_object* x_1, 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_PersistentArray_forM___at_Lean_Meta_clear___spec__93(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec(x_5); +return x_8; +} +} +lean_object* l_Lean_LocalContext_forM___at_Lean_Meta_clear___spec__92___boxed(lean_object* x_1, 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_forM___at_Lean_Meta_clear___spec__92(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec(x_5); +return x_8; +} +} +lean_object* l_Array_findIdxAux___main___at_Lean_Meta_clear___spec__98___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Array_findIdxAux___main___at_Lean_Meta_clear___spec__98(x_1, x_2, x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_4; +} +} +lean_object* l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__102___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 = l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__102(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_7 = lean_box(x_6); +return x_7; +} +} +lean_object* l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__103___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 = l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__103(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_7 = lean_box(x_6); +return x_7; +} +} +lean_object* l_PersistentArray_anyMAux___main___at_Lean_Meta_clear___spec__101___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_Meta_clear___spec__101(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_anyRangeMAux___main___at_Lean_Meta_clear___spec__104___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 = l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__104(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_7 = lean_box(x_6); +return x_7; +} +} +lean_object* l_PersistentArray_anyM___at_Lean_Meta_clear___spec__100___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_Meta_clear___spec__100(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_8__dep___main___at_Lean_Meta_clear___spec__99___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_8__dep___main___at_Lean_Meta_clear___spec__99(x_1, x_2, x_3, x_4); +lean_dec(x_1); +return x_5; +} +} +lean_object* l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__108___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 = l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__108(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_7 = lean_box(x_6); +return x_7; +} +} +lean_object* l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__109___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 = l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__109(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_7 = lean_box(x_6); +return x_7; +} +} +lean_object* l_PersistentArray_anyMAux___main___at_Lean_Meta_clear___spec__107___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_Meta_clear___spec__107(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_anyRangeMAux___main___at_Lean_Meta_clear___spec__110___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 = l_Array_anyRangeMAux___main___at_Lean_Meta_clear___spec__110(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_7 = lean_box(x_6); +return x_7; +} +} +lean_object* l_PersistentArray_anyM___at_Lean_Meta_clear___spec__106___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_Meta_clear___spec__106(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_8__dep___main___at_Lean_Meta_clear___spec__105___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_8__dep___main___at_Lean_Meta_clear___spec__105(x_1, x_2, x_3, x_4); +lean_dec(x_1); +return x_5; +} +} +lean_object* l_Array_isEqvAux___main___at_Lean_Meta_clear___spec__111___boxed(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 = l_Array_isEqvAux___main___at_Lean_Meta_clear___spec__111(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_8 = lean_box(x_7); +return x_8; +} +} +lean_object* l_Lean_Meta_clear___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_Meta_clear(x_1, x_2, x_3, x_4); +lean_dec(x_3); +return x_5; +} +} +lean_object* initialize_Init_Lean_Meta_Tactic_Util(lean_object*); +static bool _G_initialized = false; +lean_object* initialize_Init_Lean_Meta_Tactic_Clear(lean_object* w) { +lean_object * res; +if (_G_initialized) return lean_mk_io_result(lean_box(0)); +_G_initialized = true; +res = initialize_Init_Lean_Meta_Tactic_Util(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Array_forMAux___main___at_Lean_Meta_clear___spec__41___closed__1 = _init_l_Array_forMAux___main___at_Lean_Meta_clear___spec__41___closed__1(); +lean_mark_persistent(l_Array_forMAux___main___at_Lean_Meta_clear___spec__41___closed__1); +l_Array_forMAux___main___at_Lean_Meta_clear___spec__41___closed__2 = _init_l_Array_forMAux___main___at_Lean_Meta_clear___spec__41___closed__2(); +lean_mark_persistent(l_Array_forMAux___main___at_Lean_Meta_clear___spec__41___closed__2); +l_Array_forMAux___main___at_Lean_Meta_clear___spec__41___closed__3 = _init_l_Array_forMAux___main___at_Lean_Meta_clear___spec__41___closed__3(); +lean_mark_persistent(l_Array_forMAux___main___at_Lean_Meta_clear___spec__41___closed__3); +l_Array_forMAux___main___at_Lean_Meta_clear___spec__41___closed__4 = _init_l_Array_forMAux___main___at_Lean_Meta_clear___spec__41___closed__4(); +lean_mark_persistent(l_Array_forMAux___main___at_Lean_Meta_clear___spec__41___closed__4); +l_Array_forMAux___main___at_Lean_Meta_clear___spec__41___closed__5 = _init_l_Array_forMAux___main___at_Lean_Meta_clear___spec__41___closed__5(); +lean_mark_persistent(l_Array_forMAux___main___at_Lean_Meta_clear___spec__41___closed__5); +l_Array_forMAux___main___at_Lean_Meta_clear___spec__41___closed__6 = _init_l_Array_forMAux___main___at_Lean_Meta_clear___spec__41___closed__6(); +lean_mark_persistent(l_Array_forMAux___main___at_Lean_Meta_clear___spec__41___closed__6); +l_Array_forMAux___main___at_Lean_Meta_clear___spec__41___closed__7 = _init_l_Array_forMAux___main___at_Lean_Meta_clear___spec__41___closed__7(); +lean_mark_persistent(l_Array_forMAux___main___at_Lean_Meta_clear___spec__41___closed__7); +l_Array_forMAux___main___at_Lean_Meta_clear___spec__41___closed__8 = _init_l_Array_forMAux___main___at_Lean_Meta_clear___spec__41___closed__8(); +lean_mark_persistent(l_Array_forMAux___main___at_Lean_Meta_clear___spec__41___closed__8); +l_Lean_Meta_clear___closed__1 = _init_l_Lean_Meta_clear___closed__1(); +lean_mark_persistent(l_Lean_Meta_clear___closed__1); +l_Lean_Meta_clear___closed__2 = _init_l_Lean_Meta_clear___closed__2(); +lean_mark_persistent(l_Lean_Meta_clear___closed__2); +l_Lean_Meta_clear___closed__3 = _init_l_Lean_Meta_clear___closed__3(); +lean_mark_persistent(l_Lean_Meta_clear___closed__3); +l_Lean_Meta_clear___closed__4 = _init_l_Lean_Meta_clear___closed__4(); +lean_mark_persistent(l_Lean_Meta_clear___closed__4); +l_Lean_Meta_clear___closed__5 = _init_l_Lean_Meta_clear___closed__5(); +lean_mark_persistent(l_Lean_Meta_clear___closed__5); +l_Lean_Meta_clear___closed__6 = _init_l_Lean_Meta_clear___closed__6(); +lean_mark_persistent(l_Lean_Meta_clear___closed__6); +l_Lean_Meta_clear___closed__7 = _init_l_Lean_Meta_clear___closed__7(); +lean_mark_persistent(l_Lean_Meta_clear___closed__7); +l_Lean_Meta_clear___closed__8 = _init_l_Lean_Meta_clear___closed__8(); +lean_mark_persistent(l_Lean_Meta_clear___closed__8); +return lean_mk_io_result(lean_box(0)); +} +#ifdef __cplusplus +} +#endif diff --git a/stage0/stdlib/Init/Lean/Meta/Tactic/Intro.c b/stage0/stdlib/Init/Lean/Meta/Tactic/Intro.c index da74cc0716..c5c4bc8e0d 100644 --- a/stage0/stdlib/Init/Lean/Meta/Tactic/Intro.c +++ b/stage0/stdlib/Init/Lean/Meta/Tactic/Intro.c @@ -23,7 +23,6 @@ extern lean_object* l_EIO_Monad___closed__1; uint8_t lean_name_eq(lean_object*, lean_object*); lean_object* lean_local_ctx_mk_let_decl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_bind___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l_Array_isEqvAux___main___at_Lean_Meta_introN___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withNewLocalInstances___main___at_Lean_Meta_introN___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isClassQuick___main(lean_object*, lean_object*, lean_object*); extern lean_object* l_Array_empty___closed__1; @@ -31,20 +30,25 @@ lean_object* l_ReaderT_bind___at_Lean_Meta_isClassExpensive___main___spec__4___r lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); lean_object* l_Lean_Meta_introNCore___at_Lean_Meta_introN___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Name_inhabited; +extern lean_object* l_Id_monad; lean_object* l_Lean_Meta_withNewLocalInstances___main___at_Lean_Meta_introN___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Array_isEqvAux___main___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); lean_object* l_Lean_Meta_introNCoreAux___main___rarg___lambda__1___closed__1; lean_object* l_Lean_Meta_introNCoreAux___main___rarg___lambda__1___closed__2; lean_object* l_Lean_Meta_intro(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_isEqvAux___main___at_Lean_Meta_introN___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_introNCore___rarg___lambda__1___boxed(lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); lean_object* l_Lean_Meta_introNCoreAux___main___rarg___lambda__1___closed__4; lean_object* lean_expr_instantiate_rev_range(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* l_Lean_Meta_getMVarType(lean_object*, lean_object*, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); +uint8_t l_Array_isEqvAux___main___at_Lean_Meta_introN___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Expr_fvarId_x21(lean_object*); +lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_introN___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_introNCoreAux___main___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_introNCoreAux___main___rarg___lambda__1___closed__5; @@ -54,6 +58,7 @@ lean_object* l_Lean_MetavarContext_assignExpr(lean_object*, lean_object*, lean_o lean_object* l_Lean_Meta_introNCore(lean_object*); lean_object* l_Lean_Meta_mkFreshId___rarg(lean_object*); lean_object* l_Lean_Meta_withNewLocalInstances___main___at_Lean_Meta_introN___spec__4___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_introNCore___rarg___lambda__1(lean_object*, lean_object*); uint8_t l_Lean_Expr_isForall(lean_object*); lean_object* l_Lean_Meta_whnf(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkFVar(lean_object*); @@ -61,12 +66,15 @@ uint8_t l_Lean_Expr_Data_binderInfo(uint64_t); lean_object* l_Lean_Meta_introNCoreAux___main___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_intro___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkAuxName___closed__1; +lean_object* l_Lean_Meta_introNCore___rarg___closed__1; lean_object* l_Lean_LocalDecl_type(lean_object*); lean_object* lean_local_ctx_mk_local_decl(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); +lean_object* l_Array_umapMAux___main___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_throwTacticEx___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_checkNotAssigned(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_introNCoreAux___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkFreshExprMVar(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); +lean_object* l_Array_isEqvAux___main___at_Lean_Meta_introN___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_introNCore___at_Lean_Meta_introN___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withNewLocalInstances___main___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_LocalInstance_hasBeq___closed__1; @@ -74,10 +82,10 @@ lean_object* l_Lean_Meta_mkLambda(lean_object*, lean_object*, lean_object*, lean lean_object* l_Lean_Meta_intro1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getMVarDecl(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_introNCoreAux___main___rarg___closed__1; -extern lean_object* l_Lean_Expr_Inhabited; lean_object* l_Lean_Meta_introNCoreAux___main___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_LocalInstance_beq(lean_object*, lean_object*); extern lean_object* l_Lean_Meta_resettingSynthInstanceCache___rarg___closed__1; +lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkAuxName(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_introNCoreAux___main___at_Lean_Meta_introN___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getMVarTag___boxed(lean_object*, lean_object*, lean_object*); @@ -86,6 +94,7 @@ lean_object* l_Lean_Meta_isClassExpensive(lean_object*, lean_object*, lean_objec lean_object* l_Lean_Meta_withNewLocalInstances___main___at_Lean_Meta_introN___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_introNCoreAux___main(lean_object*); lean_object* l_Lean_Meta_introNCoreAux(lean_object*); +lean_object* l_Array_umapMAux___main___at_Lean_Meta_introN___spec__5(lean_object*, lean_object*); lean_object* l_Lean_Meta_intro1___boxed(lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); lean_object* l_Lean_Meta_getFVarLocalDecl(lean_object*, lean_object*, lean_object*); @@ -585,6 +594,22 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Meta_introNCoreAux___rarg), 10, 0); return x_2; } } +lean_object* l_Lean_Meta_introNCore___rarg___lambda__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Expr_fvarId_x21(x_2); +return x_3; +} +} +lean_object* _init_l_Lean_Meta_introNCore___rarg___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Meta_introNCore___rarg___lambda__1___boxed), 2, 0); +return x_1; +} +} lean_object* l_Lean_Meta_introNCore___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: { @@ -629,115 +654,209 @@ lean_ctor_set(x_5, 2, x_15); lean_ctor_set(x_5, 1, x_14); if (x_18 == 0) { -lean_object* x_211; +lean_object* x_258; lean_dec(x_15); lean_dec(x_12); -x_211 = lean_box(0); -x_19 = x_211; -goto block_210; +x_258 = lean_box(0); +x_19 = x_258; +goto block_257; } else { -lean_object* x_212; lean_object* x_213; uint8_t x_214; -x_212 = l_Lean_LocalInstance_hasBeq___closed__1; -x_213 = lean_unsigned_to_nat(0u); -x_214 = l_Array_isEqvAux___main___rarg(x_12, x_15, lean_box(0), x_212, x_213); +lean_object* x_259; lean_object* x_260; uint8_t x_261; +x_259 = l_Lean_LocalInstance_hasBeq___closed__1; +x_260 = lean_unsigned_to_nat(0u); +x_261 = l_Array_isEqvAux___main___rarg(x_12, x_15, lean_box(0), x_259, x_260); lean_dec(x_15); lean_dec(x_12); -if (x_214 == 0) +if (x_261 == 0) { -lean_object* x_215; -x_215 = lean_box(0); -x_19 = x_215; -goto block_210; +lean_object* x_262; +x_262 = lean_box(0); +x_19 = x_262; +goto block_257; } else { -lean_object* x_216; lean_object* x_217; +lean_object* x_263; lean_object* x_264; lean_dec(x_10); -x_216 = l_Lean_Meta_introNCoreAux___main___rarg___lambda__1___closed__2; +x_263 = l_Lean_Meta_introNCoreAux___main___rarg___lambda__1___closed__2; lean_inc(x_1); -x_217 = l_Lean_Meta_checkNotAssigned(x_1, x_216, x_5, x_9); -if (lean_obj_tag(x_217) == 0) +x_264 = l_Lean_Meta_checkNotAssigned(x_1, x_263, x_5, x_9); +if (lean_obj_tag(x_264) == 0) { -lean_object* x_218; lean_object* x_219; -x_218 = lean_ctor_get(x_217, 1); -lean_inc(x_218); -lean_dec(x_217); +lean_object* x_265; lean_object* x_266; +x_265 = lean_ctor_get(x_264, 1); +lean_inc(x_265); +lean_dec(x_264); lean_inc(x_1); -x_219 = l_Lean_Meta_getMVarType(x_1, x_5, x_218); -if (lean_obj_tag(x_219) == 0) +x_266 = l_Lean_Meta_getMVarType(x_1, x_5, x_265); +if (lean_obj_tag(x_266) == 0) { -lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; -x_220 = lean_ctor_get(x_219, 0); -lean_inc(x_220); -x_221 = lean_ctor_get(x_219, 1); -lean_inc(x_221); -lean_dec(x_219); -x_222 = l_Array_empty___closed__1; -x_223 = l_Lean_Meta_introNCoreAux___main___rarg(x_1, x_3, x_2, x_14, x_222, x_213, x_4, x_220, x_5, x_221); -return x_223; +lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; +x_267 = lean_ctor_get(x_266, 0); +lean_inc(x_267); +x_268 = lean_ctor_get(x_266, 1); +lean_inc(x_268); +lean_dec(x_266); +x_269 = l_Array_empty___closed__1; +x_270 = l_Lean_Meta_introNCoreAux___main___rarg(x_1, x_3, x_2, x_14, x_269, x_260, x_4, x_267, x_5, x_268); +if (lean_obj_tag(x_270) == 0) +{ +uint8_t x_271; +x_271 = !lean_is_exclusive(x_270); +if (x_271 == 0) +{ +lean_object* x_272; uint8_t x_273; +x_272 = lean_ctor_get(x_270, 0); +x_273 = !lean_is_exclusive(x_272); +if (x_273 == 0) +{ +lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; +x_274 = lean_ctor_get(x_272, 0); +x_275 = l_Id_monad; +x_276 = l_Lean_Meta_introNCore___rarg___closed__1; +x_277 = l_Array_umapMAux___main___rarg(x_275, lean_box(0), x_276, x_260, x_274); +lean_ctor_set(x_272, 0, x_277); +return x_270; } else { -uint8_t x_224; +lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; +x_278 = lean_ctor_get(x_272, 0); +x_279 = lean_ctor_get(x_272, 1); +lean_inc(x_279); +lean_inc(x_278); +lean_dec(x_272); +x_280 = l_Id_monad; +x_281 = l_Lean_Meta_introNCore___rarg___closed__1; +x_282 = l_Array_umapMAux___main___rarg(x_280, lean_box(0), x_281, x_260, x_278); +x_283 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_283, 0, x_282); +lean_ctor_set(x_283, 1, x_279); +lean_ctor_set(x_270, 0, x_283); +return x_270; +} +} +else +{ +lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; +x_284 = lean_ctor_get(x_270, 0); +x_285 = lean_ctor_get(x_270, 1); +lean_inc(x_285); +lean_inc(x_284); +lean_dec(x_270); +x_286 = lean_ctor_get(x_284, 0); +lean_inc(x_286); +x_287 = lean_ctor_get(x_284, 1); +lean_inc(x_287); +if (lean_is_exclusive(x_284)) { + lean_ctor_release(x_284, 0); + lean_ctor_release(x_284, 1); + x_288 = x_284; +} else { + lean_dec_ref(x_284); + x_288 = lean_box(0); +} +x_289 = l_Id_monad; +x_290 = l_Lean_Meta_introNCore___rarg___closed__1; +x_291 = l_Array_umapMAux___main___rarg(x_289, lean_box(0), x_290, x_260, x_286); +if (lean_is_scalar(x_288)) { + x_292 = lean_alloc_ctor(0, 2, 0); +} else { + x_292 = x_288; +} +lean_ctor_set(x_292, 0, x_291); +lean_ctor_set(x_292, 1, x_287); +x_293 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_293, 0, x_292); +lean_ctor_set(x_293, 1, x_285); +return x_293; +} +} +else +{ +uint8_t x_294; +x_294 = !lean_is_exclusive(x_270); +if (x_294 == 0) +{ +return x_270; +} +else +{ +lean_object* x_295; lean_object* x_296; lean_object* x_297; +x_295 = lean_ctor_get(x_270, 0); +x_296 = lean_ctor_get(x_270, 1); +lean_inc(x_296); +lean_inc(x_295); +lean_dec(x_270); +x_297 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_297, 0, x_295); +lean_ctor_set(x_297, 1, x_296); +return x_297; +} +} +} +else +{ +uint8_t x_298; lean_dec(x_5); lean_dec(x_14); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_224 = !lean_is_exclusive(x_219); -if (x_224 == 0) +x_298 = !lean_is_exclusive(x_266); +if (x_298 == 0) { -return x_219; +return x_266; } else { -lean_object* x_225; lean_object* x_226; lean_object* x_227; -x_225 = lean_ctor_get(x_219, 0); -x_226 = lean_ctor_get(x_219, 1); -lean_inc(x_226); -lean_inc(x_225); -lean_dec(x_219); -x_227 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_227, 0, x_225); -lean_ctor_set(x_227, 1, x_226); -return x_227; +lean_object* x_299; lean_object* x_300; lean_object* x_301; +x_299 = lean_ctor_get(x_266, 0); +x_300 = lean_ctor_get(x_266, 1); +lean_inc(x_300); +lean_inc(x_299); +lean_dec(x_266); +x_301 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_301, 0, x_299); +lean_ctor_set(x_301, 1, x_300); +return x_301; } } } else { -uint8_t x_228; +uint8_t x_302; lean_dec(x_5); lean_dec(x_14); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_228 = !lean_is_exclusive(x_217); -if (x_228 == 0) +x_302 = !lean_is_exclusive(x_264); +if (x_302 == 0) { -return x_217; +return x_264; } else { -lean_object* x_229; lean_object* x_230; lean_object* x_231; -x_229 = lean_ctor_get(x_217, 0); -x_230 = lean_ctor_get(x_217, 1); -lean_inc(x_230); -lean_inc(x_229); -lean_dec(x_217); -x_231 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_231, 0, x_229); -lean_ctor_set(x_231, 1, x_230); -return x_231; +lean_object* x_303; lean_object* x_304; lean_object* x_305; +x_303 = lean_ctor_get(x_264, 0); +x_304 = lean_ctor_get(x_264, 1); +lean_inc(x_304); +lean_inc(x_303); +lean_dec(x_264); +x_305 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_305, 0, x_303); +lean_ctor_set(x_305, 1, x_304); +return x_305; } } } } -block_210: +block_257: { uint8_t x_20; lean_dec(x_19); @@ -777,209 +896,317 @@ x_56 = lean_unsigned_to_nat(0u); x_57 = l_Lean_Meta_introNCoreAux___main___rarg(x_1, x_3, x_2, x_14, x_55, x_56, x_4, x_53, x_5, x_54); if (lean_obj_tag(x_57) == 0) { -lean_object* x_58; lean_object* x_59; uint8_t x_60; +uint8_t x_58; lean_dec(x_10); -x_58 = lean_ctor_get(x_57, 1); -lean_inc(x_58); -x_59 = lean_ctor_get(x_58, 2); -lean_inc(x_59); -x_60 = !lean_is_exclusive(x_57); +x_58 = !lean_is_exclusive(x_57); +if (x_58 == 0) +{ +lean_object* x_59; uint8_t x_60; +x_59 = lean_ctor_get(x_57, 0); +x_60 = !lean_is_exclusive(x_59); if (x_60 == 0) { -lean_object* x_61; uint8_t x_62; +lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; uint8_t x_66; x_61 = lean_ctor_get(x_57, 1); -lean_dec(x_61); -x_62 = !lean_is_exclusive(x_58); -if (x_62 == 0) +x_62 = lean_ctor_get(x_59, 0); +x_63 = l_Id_monad; +x_64 = l_Lean_Meta_introNCore___rarg___closed__1; +x_65 = l_Array_umapMAux___main___rarg(x_63, lean_box(0), x_64, x_56, x_62); +lean_ctor_set(x_59, 0, x_65); +x_66 = !lean_is_exclusive(x_61); +if (x_66 == 0) { -lean_object* x_63; uint8_t x_64; -x_63 = lean_ctor_get(x_58, 2); -lean_dec(x_63); -x_64 = !lean_is_exclusive(x_59); -if (x_64 == 0) +lean_object* x_67; uint8_t x_68; +x_67 = lean_ctor_get(x_61, 2); +x_68 = !lean_is_exclusive(x_67); +if (x_68 == 0) { -lean_object* x_65; -x_65 = lean_ctor_get(x_59, 2); -lean_dec(x_65); -lean_ctor_set(x_59, 2, x_23); +lean_object* x_69; +x_69 = lean_ctor_get(x_67, 2); +lean_dec(x_69); +lean_ctor_set(x_67, 2, x_23); return x_57; } else { -lean_object* x_66; lean_object* x_67; lean_object* x_68; -x_66 = lean_ctor_get(x_59, 0); -x_67 = lean_ctor_get(x_59, 1); -lean_inc(x_67); -lean_inc(x_66); -lean_dec(x_59); -x_68 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_68, 0, x_66); -lean_ctor_set(x_68, 1, x_67); -lean_ctor_set(x_68, 2, x_23); -lean_ctor_set(x_58, 2, x_68); -return x_57; -} -} -else -{ -lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; -x_69 = lean_ctor_get(x_58, 0); -x_70 = lean_ctor_get(x_58, 1); -x_71 = lean_ctor_get(x_58, 3); -x_72 = lean_ctor_get(x_58, 4); -x_73 = lean_ctor_get(x_58, 5); -lean_inc(x_73); -lean_inc(x_72); +lean_object* x_70; lean_object* x_71; lean_object* x_72; +x_70 = lean_ctor_get(x_67, 0); +x_71 = lean_ctor_get(x_67, 1); lean_inc(x_71); lean_inc(x_70); -lean_inc(x_69); -lean_dec(x_58); -x_74 = lean_ctor_get(x_59, 0); -lean_inc(x_74); -x_75 = lean_ctor_get(x_59, 1); -lean_inc(x_75); -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_76 = x_59; -} else { - lean_dec_ref(x_59); - x_76 = lean_box(0); -} -if (lean_is_scalar(x_76)) { - x_77 = lean_alloc_ctor(0, 3, 0); -} else { - x_77 = x_76; -} -lean_ctor_set(x_77, 0, x_74); -lean_ctor_set(x_77, 1, x_75); -lean_ctor_set(x_77, 2, x_23); -x_78 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_78, 0, x_69); -lean_ctor_set(x_78, 1, x_70); -lean_ctor_set(x_78, 2, x_77); -lean_ctor_set(x_78, 3, x_71); -lean_ctor_set(x_78, 4, x_72); -lean_ctor_set(x_78, 5, x_73); -lean_ctor_set(x_57, 1, x_78); +lean_dec(x_67); +x_72 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_72, 0, x_70); +lean_ctor_set(x_72, 1, x_71); +lean_ctor_set(x_72, 2, x_23); +lean_ctor_set(x_61, 2, x_72); return x_57; } } else { -lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; -x_79 = lean_ctor_get(x_57, 0); +lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; +x_73 = lean_ctor_get(x_61, 2); +x_74 = lean_ctor_get(x_61, 0); +x_75 = lean_ctor_get(x_61, 1); +x_76 = lean_ctor_get(x_61, 3); +x_77 = lean_ctor_get(x_61, 4); +x_78 = lean_ctor_get(x_61, 5); +lean_inc(x_78); +lean_inc(x_77); +lean_inc(x_76); +lean_inc(x_73); +lean_inc(x_75); +lean_inc(x_74); +lean_dec(x_61); +x_79 = lean_ctor_get(x_73, 0); lean_inc(x_79); -lean_dec(x_57); -x_80 = lean_ctor_get(x_58, 0); +x_80 = lean_ctor_get(x_73, 1); lean_inc(x_80); -x_81 = lean_ctor_get(x_58, 1); -lean_inc(x_81); -x_82 = lean_ctor_get(x_58, 3); -lean_inc(x_82); -x_83 = lean_ctor_get(x_58, 4); -lean_inc(x_83); -x_84 = lean_ctor_get(x_58, 5); -lean_inc(x_84); -if (lean_is_exclusive(x_58)) { - lean_ctor_release(x_58, 0); - lean_ctor_release(x_58, 1); - lean_ctor_release(x_58, 2); - lean_ctor_release(x_58, 3); - lean_ctor_release(x_58, 4); - lean_ctor_release(x_58, 5); - x_85 = x_58; +if (lean_is_exclusive(x_73)) { + lean_ctor_release(x_73, 0); + lean_ctor_release(x_73, 1); + lean_ctor_release(x_73, 2); + x_81 = x_73; } else { - lean_dec_ref(x_58); - x_85 = lean_box(0); + lean_dec_ref(x_73); + x_81 = lean_box(0); } -x_86 = lean_ctor_get(x_59, 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_23); +x_83 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_83, 0, x_74); +lean_ctor_set(x_83, 1, x_75); +lean_ctor_set(x_83, 2, x_82); +lean_ctor_set(x_83, 3, x_76); +lean_ctor_set(x_83, 4, x_77); +lean_ctor_set(x_83, 5, x_78); +lean_ctor_set(x_57, 1, x_83); +return x_57; +} +} +else +{ +lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; +x_84 = lean_ctor_get(x_57, 1); +x_85 = lean_ctor_get(x_59, 0); +x_86 = lean_ctor_get(x_59, 1); lean_inc(x_86); -x_87 = lean_ctor_get(x_59, 1); -lean_inc(x_87); -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_88 = x_59; -} else { - lean_dec_ref(x_59); - x_88 = lean_box(0); -} -if (lean_is_scalar(x_88)) { - x_89 = lean_alloc_ctor(0, 3, 0); -} else { - x_89 = x_88; -} -lean_ctor_set(x_89, 0, x_86); -lean_ctor_set(x_89, 1, x_87); -lean_ctor_set(x_89, 2, x_23); -if (lean_is_scalar(x_85)) { - x_90 = lean_alloc_ctor(0, 6, 0); -} else { - x_90 = x_85; -} -lean_ctor_set(x_90, 0, x_80); -lean_ctor_set(x_90, 1, x_81); -lean_ctor_set(x_90, 2, x_89); -lean_ctor_set(x_90, 3, x_82); -lean_ctor_set(x_90, 4, x_83); -lean_ctor_set(x_90, 5, x_84); -x_91 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_91, 0, x_79); -lean_ctor_set(x_91, 1, x_90); -return x_91; -} -} -else -{ -lean_object* x_92; lean_object* x_93; -x_92 = lean_ctor_get(x_57, 0); +lean_inc(x_85); +lean_dec(x_59); +x_87 = l_Id_monad; +x_88 = l_Lean_Meta_introNCore___rarg___closed__1; +x_89 = l_Array_umapMAux___main___rarg(x_87, lean_box(0), x_88, x_56, x_85); +x_90 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_90, 0, x_89); +lean_ctor_set(x_90, 1, x_86); +x_91 = lean_ctor_get(x_84, 2); +lean_inc(x_91); +x_92 = lean_ctor_get(x_84, 0); lean_inc(x_92); -x_93 = lean_ctor_get(x_57, 1); +x_93 = lean_ctor_get(x_84, 1); lean_inc(x_93); -lean_dec(x_57); -x_24 = x_92; -x_25 = x_93; -goto block_47; -} -} -else -{ -lean_object* x_94; lean_object* x_95; -lean_dec(x_5); -lean_dec(x_14); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_94 = lean_ctor_get(x_52, 0); +x_94 = lean_ctor_get(x_84, 3); lean_inc(x_94); -x_95 = lean_ctor_get(x_52, 1); +x_95 = lean_ctor_get(x_84, 4); lean_inc(x_95); -lean_dec(x_52); -x_24 = x_94; -x_25 = x_95; +x_96 = lean_ctor_get(x_84, 5); +lean_inc(x_96); +if (lean_is_exclusive(x_84)) { + lean_ctor_release(x_84, 0); + lean_ctor_release(x_84, 1); + lean_ctor_release(x_84, 2); + lean_ctor_release(x_84, 3); + lean_ctor_release(x_84, 4); + lean_ctor_release(x_84, 5); + x_97 = x_84; +} else { + lean_dec_ref(x_84); + x_97 = lean_box(0); +} +x_98 = lean_ctor_get(x_91, 0); +lean_inc(x_98); +x_99 = lean_ctor_get(x_91, 1); +lean_inc(x_99); +if (lean_is_exclusive(x_91)) { + lean_ctor_release(x_91, 0); + lean_ctor_release(x_91, 1); + lean_ctor_release(x_91, 2); + x_100 = x_91; +} else { + lean_dec_ref(x_91); + x_100 = lean_box(0); +} +if (lean_is_scalar(x_100)) { + x_101 = lean_alloc_ctor(0, 3, 0); +} else { + x_101 = x_100; +} +lean_ctor_set(x_101, 0, x_98); +lean_ctor_set(x_101, 1, x_99); +lean_ctor_set(x_101, 2, x_23); +if (lean_is_scalar(x_97)) { + x_102 = lean_alloc_ctor(0, 6, 0); +} else { + x_102 = x_97; +} +lean_ctor_set(x_102, 0, x_92); +lean_ctor_set(x_102, 1, x_93); +lean_ctor_set(x_102, 2, x_101); +lean_ctor_set(x_102, 3, x_94); +lean_ctor_set(x_102, 4, x_95); +lean_ctor_set(x_102, 5, x_96); +lean_ctor_set(x_57, 1, x_102); +lean_ctor_set(x_57, 0, x_90); +return x_57; +} +} +else +{ +lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; +x_103 = lean_ctor_get(x_57, 0); +x_104 = lean_ctor_get(x_57, 1); +lean_inc(x_104); +lean_inc(x_103); +lean_dec(x_57); +x_105 = lean_ctor_get(x_103, 0); +lean_inc(x_105); +x_106 = lean_ctor_get(x_103, 1); +lean_inc(x_106); +if (lean_is_exclusive(x_103)) { + lean_ctor_release(x_103, 0); + lean_ctor_release(x_103, 1); + x_107 = x_103; +} else { + lean_dec_ref(x_103); + x_107 = lean_box(0); +} +x_108 = l_Id_monad; +x_109 = l_Lean_Meta_introNCore___rarg___closed__1; +x_110 = l_Array_umapMAux___main___rarg(x_108, lean_box(0), x_109, x_56, x_105); +if (lean_is_scalar(x_107)) { + x_111 = lean_alloc_ctor(0, 2, 0); +} else { + x_111 = x_107; +} +lean_ctor_set(x_111, 0, x_110); +lean_ctor_set(x_111, 1, x_106); +x_112 = lean_ctor_get(x_104, 2); +lean_inc(x_112); +x_113 = lean_ctor_get(x_104, 0); +lean_inc(x_113); +x_114 = lean_ctor_get(x_104, 1); +lean_inc(x_114); +x_115 = lean_ctor_get(x_104, 3); +lean_inc(x_115); +x_116 = lean_ctor_get(x_104, 4); +lean_inc(x_116); +x_117 = lean_ctor_get(x_104, 5); +lean_inc(x_117); +if (lean_is_exclusive(x_104)) { + lean_ctor_release(x_104, 0); + lean_ctor_release(x_104, 1); + lean_ctor_release(x_104, 2); + lean_ctor_release(x_104, 3); + lean_ctor_release(x_104, 4); + lean_ctor_release(x_104, 5); + x_118 = x_104; +} else { + lean_dec_ref(x_104); + x_118 = lean_box(0); +} +x_119 = lean_ctor_get(x_112, 0); +lean_inc(x_119); +x_120 = lean_ctor_get(x_112, 1); +lean_inc(x_120); +if (lean_is_exclusive(x_112)) { + lean_ctor_release(x_112, 0); + lean_ctor_release(x_112, 1); + lean_ctor_release(x_112, 2); + x_121 = x_112; +} else { + lean_dec_ref(x_112); + x_121 = lean_box(0); +} +if (lean_is_scalar(x_121)) { + x_122 = lean_alloc_ctor(0, 3, 0); +} else { + x_122 = x_121; +} +lean_ctor_set(x_122, 0, x_119); +lean_ctor_set(x_122, 1, x_120); +lean_ctor_set(x_122, 2, x_23); +if (lean_is_scalar(x_118)) { + x_123 = lean_alloc_ctor(0, 6, 0); +} else { + x_123 = x_118; +} +lean_ctor_set(x_123, 0, x_113); +lean_ctor_set(x_123, 1, x_114); +lean_ctor_set(x_123, 2, x_122); +lean_ctor_set(x_123, 3, x_115); +lean_ctor_set(x_123, 4, x_116); +lean_ctor_set(x_123, 5, x_117); +x_124 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_124, 0, x_111); +lean_ctor_set(x_124, 1, x_123); +return x_124; +} +} +else +{ +lean_object* x_125; lean_object* x_126; +x_125 = lean_ctor_get(x_57, 0); +lean_inc(x_125); +x_126 = lean_ctor_get(x_57, 1); +lean_inc(x_126); +lean_dec(x_57); +x_24 = x_125; +x_25 = x_126; goto block_47; } } else { -lean_object* x_96; lean_object* x_97; +lean_object* x_127; lean_object* x_128; lean_dec(x_5); lean_dec(x_14); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_96 = lean_ctor_get(x_50, 0); -lean_inc(x_96); -x_97 = lean_ctor_get(x_50, 1); -lean_inc(x_97); +x_127 = lean_ctor_get(x_52, 0); +lean_inc(x_127); +x_128 = lean_ctor_get(x_52, 1); +lean_inc(x_128); +lean_dec(x_52); +x_24 = x_127; +x_25 = x_128; +goto block_47; +} +} +else +{ +lean_object* x_129; lean_object* x_130; +lean_dec(x_5); +lean_dec(x_14); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_129 = lean_ctor_get(x_50, 0); +lean_inc(x_129); +x_130 = lean_ctor_get(x_50, 1); +lean_inc(x_130); lean_dec(x_50); -x_24 = x_96; -x_25 = x_97; +x_24 = x_129; +x_25 = x_130; goto block_47; } block_47: @@ -1089,676 +1316,789 @@ return x_46; } else { -lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; -x_98 = lean_ctor_get(x_21, 0); -x_99 = lean_ctor_get(x_21, 1); -x_100 = lean_ctor_get(x_21, 2); -lean_inc(x_100); -lean_inc(x_99); -lean_inc(x_98); -lean_dec(x_21); -x_117 = l_Lean_Meta_resettingSynthInstanceCache___rarg___closed__1; -x_118 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_118, 0, x_98); -lean_ctor_set(x_118, 1, x_99); -lean_ctor_set(x_118, 2, x_117); -lean_ctor_set(x_9, 2, x_118); -x_119 = l_Lean_Meta_introNCoreAux___main___rarg___lambda__1___closed__2; -lean_inc(x_1); -x_120 = l_Lean_Meta_checkNotAssigned(x_1, x_119, x_5, x_9); -if (lean_obj_tag(x_120) == 0) -{ -lean_object* x_121; lean_object* x_122; -x_121 = lean_ctor_get(x_120, 1); -lean_inc(x_121); -lean_dec(x_120); -lean_inc(x_1); -x_122 = l_Lean_Meta_getMVarType(x_1, x_5, x_121); -if (lean_obj_tag(x_122) == 0) -{ -lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; -x_123 = lean_ctor_get(x_122, 0); -lean_inc(x_123); -x_124 = lean_ctor_get(x_122, 1); -lean_inc(x_124); -lean_dec(x_122); -x_125 = l_Array_empty___closed__1; -x_126 = lean_unsigned_to_nat(0u); -x_127 = l_Lean_Meta_introNCoreAux___main___rarg(x_1, x_3, x_2, x_14, x_125, x_126, x_4, x_123, x_5, x_124); -if (lean_obj_tag(x_127) == 0) -{ -lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; -lean_dec(x_10); -x_128 = lean_ctor_get(x_127, 1); -lean_inc(x_128); -x_129 = lean_ctor_get(x_128, 2); -lean_inc(x_129); -x_130 = lean_ctor_get(x_127, 0); -lean_inc(x_130); -if (lean_is_exclusive(x_127)) { - lean_ctor_release(x_127, 0); - lean_ctor_release(x_127, 1); - x_131 = x_127; -} else { - lean_dec_ref(x_127); - x_131 = lean_box(0); -} -x_132 = lean_ctor_get(x_128, 0); -lean_inc(x_132); -x_133 = lean_ctor_get(x_128, 1); +lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; +x_131 = lean_ctor_get(x_21, 0); +x_132 = lean_ctor_get(x_21, 1); +x_133 = lean_ctor_get(x_21, 2); lean_inc(x_133); -x_134 = lean_ctor_get(x_128, 3); -lean_inc(x_134); -x_135 = lean_ctor_get(x_128, 4); -lean_inc(x_135); -x_136 = lean_ctor_get(x_128, 5); -lean_inc(x_136); -if (lean_is_exclusive(x_128)) { - lean_ctor_release(x_128, 0); - lean_ctor_release(x_128, 1); - lean_ctor_release(x_128, 2); - lean_ctor_release(x_128, 3); - lean_ctor_release(x_128, 4); - lean_ctor_release(x_128, 5); - x_137 = x_128; -} else { - lean_dec_ref(x_128); - x_137 = lean_box(0); -} -x_138 = lean_ctor_get(x_129, 0); -lean_inc(x_138); -x_139 = lean_ctor_get(x_129, 1); -lean_inc(x_139); -if (lean_is_exclusive(x_129)) { - lean_ctor_release(x_129, 0); - lean_ctor_release(x_129, 1); - lean_ctor_release(x_129, 2); - x_140 = x_129; -} else { - lean_dec_ref(x_129); - x_140 = lean_box(0); -} -if (lean_is_scalar(x_140)) { - x_141 = lean_alloc_ctor(0, 3, 0); -} else { - x_141 = x_140; -} -lean_ctor_set(x_141, 0, x_138); -lean_ctor_set(x_141, 1, x_139); -lean_ctor_set(x_141, 2, x_100); -if (lean_is_scalar(x_137)) { - x_142 = lean_alloc_ctor(0, 6, 0); -} else { - x_142 = x_137; -} -lean_ctor_set(x_142, 0, x_132); -lean_ctor_set(x_142, 1, x_133); -lean_ctor_set(x_142, 2, x_141); -lean_ctor_set(x_142, 3, x_134); -lean_ctor_set(x_142, 4, x_135); -lean_ctor_set(x_142, 5, x_136); -if (lean_is_scalar(x_131)) { - x_143 = lean_alloc_ctor(0, 2, 0); -} else { - x_143 = x_131; -} -lean_ctor_set(x_143, 0, x_130); -lean_ctor_set(x_143, 1, x_142); -return x_143; -} -else +lean_inc(x_132); +lean_inc(x_131); +lean_dec(x_21); +x_150 = l_Lean_Meta_resettingSynthInstanceCache___rarg___closed__1; +x_151 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_151, 0, x_131); +lean_ctor_set(x_151, 1, x_132); +lean_ctor_set(x_151, 2, x_150); +lean_ctor_set(x_9, 2, x_151); +x_152 = l_Lean_Meta_introNCoreAux___main___rarg___lambda__1___closed__2; +lean_inc(x_1); +x_153 = l_Lean_Meta_checkNotAssigned(x_1, x_152, x_5, x_9); +if (lean_obj_tag(x_153) == 0) { -lean_object* x_144; lean_object* x_145; -x_144 = lean_ctor_get(x_127, 0); -lean_inc(x_144); -x_145 = lean_ctor_get(x_127, 1); -lean_inc(x_145); -lean_dec(x_127); -x_101 = x_144; -x_102 = x_145; -goto block_116; -} -} -else -{ -lean_object* x_146; lean_object* x_147; -lean_dec(x_5); -lean_dec(x_14); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_146 = lean_ctor_get(x_122, 0); -lean_inc(x_146); -x_147 = lean_ctor_get(x_122, 1); -lean_inc(x_147); -lean_dec(x_122); -x_101 = x_146; -x_102 = x_147; -goto block_116; -} -} -else -{ -lean_object* x_148; lean_object* x_149; -lean_dec(x_5); -lean_dec(x_14); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_148 = lean_ctor_get(x_120, 0); -lean_inc(x_148); -x_149 = lean_ctor_get(x_120, 1); -lean_inc(x_149); -lean_dec(x_120); -x_101 = x_148; -x_102 = x_149; -goto block_116; -} -block_116: -{ -lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; -x_103 = lean_ctor_get(x_102, 2); -lean_inc(x_103); -x_104 = lean_ctor_get(x_102, 0); -lean_inc(x_104); -x_105 = lean_ctor_get(x_102, 1); -lean_inc(x_105); -x_106 = lean_ctor_get(x_102, 3); -lean_inc(x_106); -x_107 = lean_ctor_get(x_102, 4); -lean_inc(x_107); -x_108 = lean_ctor_get(x_102, 5); -lean_inc(x_108); -if (lean_is_exclusive(x_102)) { - lean_ctor_release(x_102, 0); - lean_ctor_release(x_102, 1); - lean_ctor_release(x_102, 2); - lean_ctor_release(x_102, 3); - lean_ctor_release(x_102, 4); - lean_ctor_release(x_102, 5); - x_109 = x_102; -} else { - lean_dec_ref(x_102); - x_109 = lean_box(0); -} -x_110 = lean_ctor_get(x_103, 0); -lean_inc(x_110); -x_111 = lean_ctor_get(x_103, 1); -lean_inc(x_111); -if (lean_is_exclusive(x_103)) { - lean_ctor_release(x_103, 0); - lean_ctor_release(x_103, 1); - lean_ctor_release(x_103, 2); - x_112 = x_103; -} else { - lean_dec_ref(x_103); - x_112 = lean_box(0); -} -if (lean_is_scalar(x_112)) { - x_113 = lean_alloc_ctor(0, 3, 0); -} else { - x_113 = x_112; -} -lean_ctor_set(x_113, 0, x_110); -lean_ctor_set(x_113, 1, x_111); -lean_ctor_set(x_113, 2, x_100); -if (lean_is_scalar(x_109)) { - x_114 = lean_alloc_ctor(0, 6, 0); -} else { - x_114 = x_109; -} -lean_ctor_set(x_114, 0, x_104); -lean_ctor_set(x_114, 1, x_105); -lean_ctor_set(x_114, 2, x_113); -lean_ctor_set(x_114, 3, x_106); -lean_ctor_set(x_114, 4, x_107); -lean_ctor_set(x_114, 5, x_108); -if (lean_is_scalar(x_10)) { - x_115 = lean_alloc_ctor(1, 2, 0); -} else { - x_115 = x_10; - lean_ctor_set_tag(x_115, 1); -} -lean_ctor_set(x_115, 0, x_101); -lean_ctor_set(x_115, 1, x_114); -return x_115; -} -} -} -else -{ -lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; -x_150 = lean_ctor_get(x_9, 2); -x_151 = lean_ctor_get(x_9, 0); -x_152 = lean_ctor_get(x_9, 1); -x_153 = lean_ctor_get(x_9, 3); -x_154 = lean_ctor_get(x_9, 4); -x_155 = lean_ctor_get(x_9, 5); -lean_inc(x_155); +lean_object* x_154; lean_object* x_155; +x_154 = lean_ctor_get(x_153, 1); lean_inc(x_154); -lean_inc(x_153); -lean_inc(x_150); -lean_inc(x_152); -lean_inc(x_151); -lean_dec(x_9); -x_156 = lean_ctor_get(x_150, 0); +lean_dec(x_153); +lean_inc(x_1); +x_155 = l_Lean_Meta_getMVarType(x_1, x_5, x_154); +if (lean_obj_tag(x_155) == 0) +{ +lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; +x_156 = lean_ctor_get(x_155, 0); lean_inc(x_156); -x_157 = lean_ctor_get(x_150, 1); +x_157 = lean_ctor_get(x_155, 1); lean_inc(x_157); -x_158 = lean_ctor_get(x_150, 2); -lean_inc(x_158); -if (lean_is_exclusive(x_150)) { - lean_ctor_release(x_150, 0); - lean_ctor_release(x_150, 1); - lean_ctor_release(x_150, 2); - x_159 = x_150; -} else { - lean_dec_ref(x_150); - x_159 = lean_box(0); -} -x_176 = l_Lean_Meta_resettingSynthInstanceCache___rarg___closed__1; -if (lean_is_scalar(x_159)) { - x_177 = lean_alloc_ctor(0, 3, 0); -} else { - x_177 = x_159; -} -lean_ctor_set(x_177, 0, x_156); -lean_ctor_set(x_177, 1, x_157); -lean_ctor_set(x_177, 2, x_176); -x_178 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_178, 0, x_151); -lean_ctor_set(x_178, 1, x_152); -lean_ctor_set(x_178, 2, x_177); -lean_ctor_set(x_178, 3, x_153); -lean_ctor_set(x_178, 4, x_154); -lean_ctor_set(x_178, 5, x_155); -x_179 = l_Lean_Meta_introNCoreAux___main___rarg___lambda__1___closed__2; -lean_inc(x_1); -x_180 = l_Lean_Meta_checkNotAssigned(x_1, x_179, x_5, x_178); -if (lean_obj_tag(x_180) == 0) +lean_dec(x_155); +x_158 = l_Array_empty___closed__1; +x_159 = lean_unsigned_to_nat(0u); +x_160 = l_Lean_Meta_introNCoreAux___main___rarg(x_1, x_3, x_2, x_14, x_158, x_159, x_4, x_156, x_5, x_157); +if (lean_obj_tag(x_160) == 0) { -lean_object* x_181; lean_object* x_182; -x_181 = lean_ctor_get(x_180, 1); -lean_inc(x_181); -lean_dec(x_180); -lean_inc(x_1); -x_182 = l_Lean_Meta_getMVarType(x_1, x_5, x_181); -if (lean_obj_tag(x_182) == 0) -{ -lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; -x_183 = lean_ctor_get(x_182, 0); -lean_inc(x_183); -x_184 = lean_ctor_get(x_182, 1); -lean_inc(x_184); -lean_dec(x_182); -x_185 = l_Array_empty___closed__1; -x_186 = lean_unsigned_to_nat(0u); -x_187 = l_Lean_Meta_introNCoreAux___main___rarg(x_1, x_3, x_2, x_14, x_185, x_186, x_4, x_183, x_5, x_184); -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; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; +lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_dec(x_10); -x_188 = lean_ctor_get(x_187, 1); -lean_inc(x_188); -x_189 = lean_ctor_get(x_188, 2); -lean_inc(x_189); -x_190 = lean_ctor_get(x_187, 0); -lean_inc(x_190); -if (lean_is_exclusive(x_187)) { - lean_ctor_release(x_187, 0); - lean_ctor_release(x_187, 1); - x_191 = x_187; -} else { - lean_dec_ref(x_187); - x_191 = lean_box(0); -} -x_192 = lean_ctor_get(x_188, 0); -lean_inc(x_192); -x_193 = lean_ctor_get(x_188, 1); -lean_inc(x_193); -x_194 = lean_ctor_get(x_188, 3); -lean_inc(x_194); -x_195 = lean_ctor_get(x_188, 4); -lean_inc(x_195); -x_196 = lean_ctor_get(x_188, 5); -lean_inc(x_196); -if (lean_is_exclusive(x_188)) { - lean_ctor_release(x_188, 0); - lean_ctor_release(x_188, 1); - lean_ctor_release(x_188, 2); - lean_ctor_release(x_188, 3); - lean_ctor_release(x_188, 4); - lean_ctor_release(x_188, 5); - x_197 = x_188; -} else { - lean_dec_ref(x_188); - x_197 = lean_box(0); -} -x_198 = lean_ctor_get(x_189, 0); -lean_inc(x_198); -x_199 = lean_ctor_get(x_189, 1); -lean_inc(x_199); -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_200 = x_189; -} else { - lean_dec_ref(x_189); - x_200 = lean_box(0); -} -if (lean_is_scalar(x_200)) { - x_201 = lean_alloc_ctor(0, 3, 0); -} else { - x_201 = x_200; -} -lean_ctor_set(x_201, 0, x_198); -lean_ctor_set(x_201, 1, x_199); -lean_ctor_set(x_201, 2, x_158); -if (lean_is_scalar(x_197)) { - x_202 = lean_alloc_ctor(0, 6, 0); -} else { - x_202 = x_197; -} -lean_ctor_set(x_202, 0, x_192); -lean_ctor_set(x_202, 1, x_193); -lean_ctor_set(x_202, 2, x_201); -lean_ctor_set(x_202, 3, x_194); -lean_ctor_set(x_202, 4, x_195); -lean_ctor_set(x_202, 5, x_196); -if (lean_is_scalar(x_191)) { - x_203 = lean_alloc_ctor(0, 2, 0); -} else { - x_203 = x_191; -} -lean_ctor_set(x_203, 0, x_190); -lean_ctor_set(x_203, 1, x_202); -return x_203; -} -else -{ -lean_object* x_204; lean_object* x_205; -x_204 = lean_ctor_get(x_187, 0); -lean_inc(x_204); -x_205 = lean_ctor_get(x_187, 1); -lean_inc(x_205); -lean_dec(x_187); -x_160 = x_204; -x_161 = x_205; -goto block_175; -} -} -else -{ -lean_object* x_206; lean_object* x_207; -lean_dec(x_5); -lean_dec(x_14); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_206 = lean_ctor_get(x_182, 0); -lean_inc(x_206); -x_207 = lean_ctor_get(x_182, 1); -lean_inc(x_207); -lean_dec(x_182); -x_160 = x_206; -x_161 = x_207; -goto block_175; -} -} -else -{ -lean_object* x_208; lean_object* x_209; -lean_dec(x_5); -lean_dec(x_14); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_208 = lean_ctor_get(x_180, 0); -lean_inc(x_208); -x_209 = lean_ctor_get(x_180, 1); -lean_inc(x_209); -lean_dec(x_180); -x_160 = x_208; -x_161 = x_209; -goto block_175; -} -block_175: -{ -lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; -x_162 = lean_ctor_get(x_161, 2); +x_161 = lean_ctor_get(x_160, 0); +lean_inc(x_161); +x_162 = lean_ctor_get(x_160, 1); lean_inc(x_162); -x_163 = lean_ctor_get(x_161, 0); -lean_inc(x_163); -x_164 = lean_ctor_get(x_161, 1); +if (lean_is_exclusive(x_160)) { + lean_ctor_release(x_160, 0); + lean_ctor_release(x_160, 1); + x_163 = x_160; +} else { + lean_dec_ref(x_160); + x_163 = lean_box(0); +} +x_164 = lean_ctor_get(x_161, 0); lean_inc(x_164); -x_165 = lean_ctor_get(x_161, 3); +x_165 = lean_ctor_get(x_161, 1); lean_inc(x_165); -x_166 = lean_ctor_get(x_161, 4); -lean_inc(x_166); -x_167 = lean_ctor_get(x_161, 5); -lean_inc(x_167); if (lean_is_exclusive(x_161)) { lean_ctor_release(x_161, 0); lean_ctor_release(x_161, 1); - lean_ctor_release(x_161, 2); - lean_ctor_release(x_161, 3); - lean_ctor_release(x_161, 4); - lean_ctor_release(x_161, 5); - x_168 = x_161; + x_166 = x_161; } else { lean_dec_ref(x_161); - x_168 = lean_box(0); + x_166 = lean_box(0); } -x_169 = lean_ctor_get(x_162, 0); -lean_inc(x_169); -x_170 = lean_ctor_get(x_162, 1); -lean_inc(x_170); +x_167 = l_Id_monad; +x_168 = l_Lean_Meta_introNCore___rarg___closed__1; +x_169 = l_Array_umapMAux___main___rarg(x_167, lean_box(0), x_168, x_159, x_164); +if (lean_is_scalar(x_166)) { + x_170 = lean_alloc_ctor(0, 2, 0); +} else { + x_170 = x_166; +} +lean_ctor_set(x_170, 0, x_169); +lean_ctor_set(x_170, 1, x_165); +x_171 = lean_ctor_get(x_162, 2); +lean_inc(x_171); +x_172 = lean_ctor_get(x_162, 0); +lean_inc(x_172); +x_173 = lean_ctor_get(x_162, 1); +lean_inc(x_173); +x_174 = lean_ctor_get(x_162, 3); +lean_inc(x_174); +x_175 = lean_ctor_get(x_162, 4); +lean_inc(x_175); +x_176 = lean_ctor_get(x_162, 5); +lean_inc(x_176); if (lean_is_exclusive(x_162)) { lean_ctor_release(x_162, 0); lean_ctor_release(x_162, 1); lean_ctor_release(x_162, 2); - x_171 = x_162; + lean_ctor_release(x_162, 3); + lean_ctor_release(x_162, 4); + lean_ctor_release(x_162, 5); + x_177 = x_162; } else { lean_dec_ref(x_162); - x_171 = lean_box(0); + x_177 = lean_box(0); } -if (lean_is_scalar(x_171)) { - x_172 = lean_alloc_ctor(0, 3, 0); +x_178 = lean_ctor_get(x_171, 0); +lean_inc(x_178); +x_179 = lean_ctor_get(x_171, 1); +lean_inc(x_179); +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_180 = x_171; } else { - x_172 = x_171; + lean_dec_ref(x_171); + x_180 = lean_box(0); } -lean_ctor_set(x_172, 0, x_169); -lean_ctor_set(x_172, 1, x_170); -lean_ctor_set(x_172, 2, x_158); -if (lean_is_scalar(x_168)) { - x_173 = lean_alloc_ctor(0, 6, 0); +if (lean_is_scalar(x_180)) { + x_181 = lean_alloc_ctor(0, 3, 0); } else { - x_173 = x_168; + x_181 = x_180; } -lean_ctor_set(x_173, 0, x_163); -lean_ctor_set(x_173, 1, x_164); -lean_ctor_set(x_173, 2, x_172); -lean_ctor_set(x_173, 3, x_165); -lean_ctor_set(x_173, 4, x_166); -lean_ctor_set(x_173, 5, x_167); -if (lean_is_scalar(x_10)) { - x_174 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_181, 0, x_178); +lean_ctor_set(x_181, 1, x_179); +lean_ctor_set(x_181, 2, x_133); +if (lean_is_scalar(x_177)) { + x_182 = lean_alloc_ctor(0, 6, 0); } else { - x_174 = x_10; - lean_ctor_set_tag(x_174, 1); + x_182 = x_177; } -lean_ctor_set(x_174, 0, x_160); -lean_ctor_set(x_174, 1, x_173); -return x_174; +lean_ctor_set(x_182, 0, x_172); +lean_ctor_set(x_182, 1, x_173); +lean_ctor_set(x_182, 2, x_181); +lean_ctor_set(x_182, 3, x_174); +lean_ctor_set(x_182, 4, x_175); +lean_ctor_set(x_182, 5, x_176); +if (lean_is_scalar(x_163)) { + x_183 = lean_alloc_ctor(0, 2, 0); +} else { + x_183 = x_163; } +lean_ctor_set(x_183, 0, x_170); +lean_ctor_set(x_183, 1, x_182); +return x_183; } +else +{ +lean_object* x_184; lean_object* x_185; +x_184 = lean_ctor_get(x_160, 0); +lean_inc(x_184); +x_185 = lean_ctor_get(x_160, 1); +lean_inc(x_185); +lean_dec(x_160); +x_134 = x_184; +x_135 = x_185; +goto block_149; } } else { -lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; uint8_t x_240; lean_object* x_241; lean_object* x_242; -x_232 = lean_ctor_get(x_5, 0); -x_233 = lean_ctor_get(x_5, 2); -x_234 = lean_ctor_get(x_5, 3); -x_235 = lean_ctor_get(x_5, 4); -lean_inc(x_235); -lean_inc(x_234); -lean_inc(x_233); -lean_inc(x_232); +lean_object* x_186; lean_object* x_187; lean_dec(x_5); -x_236 = lean_ctor_get(x_8, 1); -lean_inc(x_236); -x_237 = lean_ctor_get(x_8, 4); -lean_inc(x_237); -lean_dec(x_8); -x_238 = lean_array_get_size(x_233); -x_239 = lean_array_get_size(x_237); -x_240 = lean_nat_dec_eq(x_238, x_239); -lean_dec(x_239); -lean_dec(x_238); -lean_inc(x_237); -lean_inc(x_236); -x_241 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_241, 0, x_232); -lean_ctor_set(x_241, 1, x_236); -lean_ctor_set(x_241, 2, x_237); -lean_ctor_set(x_241, 3, x_234); -lean_ctor_set(x_241, 4, x_235); -if (x_240 == 0) -{ -lean_object* x_305; -lean_dec(x_237); -lean_dec(x_233); -x_305 = lean_box(0); -x_242 = x_305; -goto block_304; +lean_dec(x_14); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_186 = lean_ctor_get(x_155, 0); +lean_inc(x_186); +x_187 = lean_ctor_get(x_155, 1); +lean_inc(x_187); +lean_dec(x_155); +x_134 = x_186; +x_135 = x_187; +goto block_149; +} } else { -lean_object* x_306; lean_object* x_307; uint8_t x_308; -x_306 = l_Lean_LocalInstance_hasBeq___closed__1; -x_307 = lean_unsigned_to_nat(0u); -x_308 = l_Array_isEqvAux___main___rarg(x_233, x_237, lean_box(0), x_306, x_307); -lean_dec(x_237); -lean_dec(x_233); -if (x_308 == 0) +lean_object* x_188; lean_object* x_189; +lean_dec(x_5); +lean_dec(x_14); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_188 = lean_ctor_get(x_153, 0); +lean_inc(x_188); +x_189 = lean_ctor_get(x_153, 1); +lean_inc(x_189); +lean_dec(x_153); +x_134 = x_188; +x_135 = x_189; +goto block_149; +} +block_149: { -lean_object* x_309; -x_309 = lean_box(0); -x_242 = x_309; -goto block_304; +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; +x_136 = lean_ctor_get(x_135, 2); +lean_inc(x_136); +x_137 = lean_ctor_get(x_135, 0); +lean_inc(x_137); +x_138 = lean_ctor_get(x_135, 1); +lean_inc(x_138); +x_139 = lean_ctor_get(x_135, 3); +lean_inc(x_139); +x_140 = lean_ctor_get(x_135, 4); +lean_inc(x_140); +x_141 = lean_ctor_get(x_135, 5); +lean_inc(x_141); +if (lean_is_exclusive(x_135)) { + lean_ctor_release(x_135, 0); + lean_ctor_release(x_135, 1); + lean_ctor_release(x_135, 2); + lean_ctor_release(x_135, 3); + lean_ctor_release(x_135, 4); + lean_ctor_release(x_135, 5); + x_142 = x_135; +} else { + lean_dec_ref(x_135); + x_142 = lean_box(0); +} +x_143 = lean_ctor_get(x_136, 0); +lean_inc(x_143); +x_144 = lean_ctor_get(x_136, 1); +lean_inc(x_144); +if (lean_is_exclusive(x_136)) { + lean_ctor_release(x_136, 0); + lean_ctor_release(x_136, 1); + lean_ctor_release(x_136, 2); + x_145 = x_136; +} else { + lean_dec_ref(x_136); + x_145 = lean_box(0); +} +if (lean_is_scalar(x_145)) { + x_146 = lean_alloc_ctor(0, 3, 0); +} else { + x_146 = x_145; +} +lean_ctor_set(x_146, 0, x_143); +lean_ctor_set(x_146, 1, x_144); +lean_ctor_set(x_146, 2, x_133); +if (lean_is_scalar(x_142)) { + x_147 = lean_alloc_ctor(0, 6, 0); +} else { + x_147 = x_142; +} +lean_ctor_set(x_147, 0, x_137); +lean_ctor_set(x_147, 1, x_138); +lean_ctor_set(x_147, 2, x_146); +lean_ctor_set(x_147, 3, x_139); +lean_ctor_set(x_147, 4, x_140); +lean_ctor_set(x_147, 5, x_141); +if (lean_is_scalar(x_10)) { + x_148 = lean_alloc_ctor(1, 2, 0); +} else { + x_148 = x_10; + lean_ctor_set_tag(x_148, 1); +} +lean_ctor_set(x_148, 0, x_134); +lean_ctor_set(x_148, 1, x_147); +return x_148; +} +} } else { -lean_object* x_310; lean_object* x_311; +lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; +x_190 = lean_ctor_get(x_9, 2); +x_191 = lean_ctor_get(x_9, 0); +x_192 = lean_ctor_get(x_9, 1); +x_193 = lean_ctor_get(x_9, 3); +x_194 = lean_ctor_get(x_9, 4); +x_195 = lean_ctor_get(x_9, 5); +lean_inc(x_195); +lean_inc(x_194); +lean_inc(x_193); +lean_inc(x_190); +lean_inc(x_192); +lean_inc(x_191); +lean_dec(x_9); +x_196 = lean_ctor_get(x_190, 0); +lean_inc(x_196); +x_197 = lean_ctor_get(x_190, 1); +lean_inc(x_197); +x_198 = lean_ctor_get(x_190, 2); +lean_inc(x_198); +if (lean_is_exclusive(x_190)) { + lean_ctor_release(x_190, 0); + lean_ctor_release(x_190, 1); + lean_ctor_release(x_190, 2); + x_199 = x_190; +} else { + lean_dec_ref(x_190); + x_199 = lean_box(0); +} +x_216 = l_Lean_Meta_resettingSynthInstanceCache___rarg___closed__1; +if (lean_is_scalar(x_199)) { + x_217 = lean_alloc_ctor(0, 3, 0); +} else { + x_217 = x_199; +} +lean_ctor_set(x_217, 0, x_196); +lean_ctor_set(x_217, 1, x_197); +lean_ctor_set(x_217, 2, x_216); +x_218 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_218, 0, x_191); +lean_ctor_set(x_218, 1, x_192); +lean_ctor_set(x_218, 2, x_217); +lean_ctor_set(x_218, 3, x_193); +lean_ctor_set(x_218, 4, x_194); +lean_ctor_set(x_218, 5, x_195); +x_219 = l_Lean_Meta_introNCoreAux___main___rarg___lambda__1___closed__2; +lean_inc(x_1); +x_220 = l_Lean_Meta_checkNotAssigned(x_1, x_219, x_5, x_218); +if (lean_obj_tag(x_220) == 0) +{ +lean_object* x_221; lean_object* x_222; +x_221 = lean_ctor_get(x_220, 1); +lean_inc(x_221); +lean_dec(x_220); +lean_inc(x_1); +x_222 = l_Lean_Meta_getMVarType(x_1, x_5, x_221); +if (lean_obj_tag(x_222) == 0) +{ +lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; +x_223 = lean_ctor_get(x_222, 0); +lean_inc(x_223); +x_224 = lean_ctor_get(x_222, 1); +lean_inc(x_224); +lean_dec(x_222); +x_225 = l_Array_empty___closed__1; +x_226 = lean_unsigned_to_nat(0u); +x_227 = l_Lean_Meta_introNCoreAux___main___rarg(x_1, x_3, x_2, x_14, x_225, x_226, x_4, x_223, x_5, x_224); +if (lean_obj_tag(x_227) == 0) +{ +lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_dec(x_10); -x_310 = l_Lean_Meta_introNCoreAux___main___rarg___lambda__1___closed__2; -lean_inc(x_1); -x_311 = l_Lean_Meta_checkNotAssigned(x_1, x_310, x_241, x_9); -if (lean_obj_tag(x_311) == 0) -{ -lean_object* x_312; lean_object* x_313; -x_312 = lean_ctor_get(x_311, 1); -lean_inc(x_312); -lean_dec(x_311); -lean_inc(x_1); -x_313 = l_Lean_Meta_getMVarType(x_1, x_241, x_312); -if (lean_obj_tag(x_313) == 0) -{ -lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; -x_314 = lean_ctor_get(x_313, 0); -lean_inc(x_314); -x_315 = lean_ctor_get(x_313, 1); -lean_inc(x_315); -lean_dec(x_313); -x_316 = l_Array_empty___closed__1; -x_317 = l_Lean_Meta_introNCoreAux___main___rarg(x_1, x_3, x_2, x_236, x_316, x_307, x_4, x_314, x_241, x_315); -return x_317; -} -else -{ -lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; -lean_dec(x_241); -lean_dec(x_236); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_318 = lean_ctor_get(x_313, 0); -lean_inc(x_318); -x_319 = lean_ctor_get(x_313, 1); -lean_inc(x_319); -if (lean_is_exclusive(x_313)) { - lean_ctor_release(x_313, 0); - lean_ctor_release(x_313, 1); - x_320 = x_313; +x_228 = lean_ctor_get(x_227, 0); +lean_inc(x_228); +x_229 = lean_ctor_get(x_227, 1); +lean_inc(x_229); +if (lean_is_exclusive(x_227)) { + lean_ctor_release(x_227, 0); + lean_ctor_release(x_227, 1); + x_230 = x_227; } else { - lean_dec_ref(x_313); - x_320 = lean_box(0); + lean_dec_ref(x_227); + x_230 = lean_box(0); } -if (lean_is_scalar(x_320)) { - x_321 = lean_alloc_ctor(1, 2, 0); +x_231 = lean_ctor_get(x_228, 0); +lean_inc(x_231); +x_232 = lean_ctor_get(x_228, 1); +lean_inc(x_232); +if (lean_is_exclusive(x_228)) { + lean_ctor_release(x_228, 0); + lean_ctor_release(x_228, 1); + x_233 = x_228; } else { - x_321 = x_320; + lean_dec_ref(x_228); + x_233 = lean_box(0); } -lean_ctor_set(x_321, 0, x_318); -lean_ctor_set(x_321, 1, x_319); -return x_321; -} -} -else -{ -lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; -lean_dec(x_241); -lean_dec(x_236); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_322 = lean_ctor_get(x_311, 0); -lean_inc(x_322); -x_323 = lean_ctor_get(x_311, 1); -lean_inc(x_323); -if (lean_is_exclusive(x_311)) { - lean_ctor_release(x_311, 0); - lean_ctor_release(x_311, 1); - x_324 = x_311; +x_234 = l_Id_monad; +x_235 = l_Lean_Meta_introNCore___rarg___closed__1; +x_236 = l_Array_umapMAux___main___rarg(x_234, lean_box(0), x_235, x_226, x_231); +if (lean_is_scalar(x_233)) { + x_237 = lean_alloc_ctor(0, 2, 0); } else { - lean_dec_ref(x_311); - x_324 = lean_box(0); + x_237 = x_233; } -if (lean_is_scalar(x_324)) { - x_325 = lean_alloc_ctor(1, 2, 0); -} else { - x_325 = x_324; -} -lean_ctor_set(x_325, 0, x_322); -lean_ctor_set(x_325, 1, x_323); -return x_325; -} -} -} -block_304: -{ -lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; -lean_dec(x_242); -x_243 = lean_ctor_get(x_9, 2); +lean_ctor_set(x_237, 0, x_236); +lean_ctor_set(x_237, 1, x_232); +x_238 = lean_ctor_get(x_229, 2); +lean_inc(x_238); +x_239 = lean_ctor_get(x_229, 0); +lean_inc(x_239); +x_240 = lean_ctor_get(x_229, 1); +lean_inc(x_240); +x_241 = lean_ctor_get(x_229, 3); +lean_inc(x_241); +x_242 = lean_ctor_get(x_229, 4); +lean_inc(x_242); +x_243 = lean_ctor_get(x_229, 5); lean_inc(x_243); -x_244 = lean_ctor_get(x_9, 0); -lean_inc(x_244); -x_245 = lean_ctor_get(x_9, 1); +if (lean_is_exclusive(x_229)) { + lean_ctor_release(x_229, 0); + lean_ctor_release(x_229, 1); + lean_ctor_release(x_229, 2); + lean_ctor_release(x_229, 3); + lean_ctor_release(x_229, 4); + lean_ctor_release(x_229, 5); + x_244 = x_229; +} else { + lean_dec_ref(x_229); + x_244 = lean_box(0); +} +x_245 = lean_ctor_get(x_238, 0); lean_inc(x_245); -x_246 = lean_ctor_get(x_9, 3); +x_246 = lean_ctor_get(x_238, 1); lean_inc(x_246); -x_247 = lean_ctor_get(x_9, 4); -lean_inc(x_247); -x_248 = lean_ctor_get(x_9, 5); -lean_inc(x_248); +if (lean_is_exclusive(x_238)) { + lean_ctor_release(x_238, 0); + lean_ctor_release(x_238, 1); + lean_ctor_release(x_238, 2); + x_247 = x_238; +} else { + lean_dec_ref(x_238); + x_247 = lean_box(0); +} +if (lean_is_scalar(x_247)) { + x_248 = lean_alloc_ctor(0, 3, 0); +} else { + x_248 = x_247; +} +lean_ctor_set(x_248, 0, x_245); +lean_ctor_set(x_248, 1, x_246); +lean_ctor_set(x_248, 2, x_198); +if (lean_is_scalar(x_244)) { + x_249 = lean_alloc_ctor(0, 6, 0); +} else { + x_249 = x_244; +} +lean_ctor_set(x_249, 0, x_239); +lean_ctor_set(x_249, 1, x_240); +lean_ctor_set(x_249, 2, x_248); +lean_ctor_set(x_249, 3, x_241); +lean_ctor_set(x_249, 4, x_242); +lean_ctor_set(x_249, 5, x_243); +if (lean_is_scalar(x_230)) { + x_250 = lean_alloc_ctor(0, 2, 0); +} else { + x_250 = x_230; +} +lean_ctor_set(x_250, 0, x_237); +lean_ctor_set(x_250, 1, x_249); +return x_250; +} +else +{ +lean_object* x_251; lean_object* x_252; +x_251 = lean_ctor_get(x_227, 0); +lean_inc(x_251); +x_252 = lean_ctor_get(x_227, 1); +lean_inc(x_252); +lean_dec(x_227); +x_200 = x_251; +x_201 = x_252; +goto block_215; +} +} +else +{ +lean_object* x_253; lean_object* x_254; +lean_dec(x_5); +lean_dec(x_14); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_253 = lean_ctor_get(x_222, 0); +lean_inc(x_253); +x_254 = lean_ctor_get(x_222, 1); +lean_inc(x_254); +lean_dec(x_222); +x_200 = x_253; +x_201 = x_254; +goto block_215; +} +} +else +{ +lean_object* x_255; lean_object* x_256; +lean_dec(x_5); +lean_dec(x_14); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_255 = lean_ctor_get(x_220, 0); +lean_inc(x_255); +x_256 = lean_ctor_get(x_220, 1); +lean_inc(x_256); +lean_dec(x_220); +x_200 = x_255; +x_201 = x_256; +goto block_215; +} +block_215: +{ +lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; +x_202 = lean_ctor_get(x_201, 2); +lean_inc(x_202); +x_203 = lean_ctor_get(x_201, 0); +lean_inc(x_203); +x_204 = lean_ctor_get(x_201, 1); +lean_inc(x_204); +x_205 = lean_ctor_get(x_201, 3); +lean_inc(x_205); +x_206 = lean_ctor_get(x_201, 4); +lean_inc(x_206); +x_207 = lean_ctor_get(x_201, 5); +lean_inc(x_207); +if (lean_is_exclusive(x_201)) { + lean_ctor_release(x_201, 0); + lean_ctor_release(x_201, 1); + lean_ctor_release(x_201, 2); + lean_ctor_release(x_201, 3); + lean_ctor_release(x_201, 4); + lean_ctor_release(x_201, 5); + x_208 = x_201; +} else { + lean_dec_ref(x_201); + x_208 = lean_box(0); +} +x_209 = lean_ctor_get(x_202, 0); +lean_inc(x_209); +x_210 = lean_ctor_get(x_202, 1); +lean_inc(x_210); +if (lean_is_exclusive(x_202)) { + lean_ctor_release(x_202, 0); + lean_ctor_release(x_202, 1); + lean_ctor_release(x_202, 2); + x_211 = x_202; +} else { + lean_dec_ref(x_202); + x_211 = lean_box(0); +} +if (lean_is_scalar(x_211)) { + x_212 = lean_alloc_ctor(0, 3, 0); +} else { + x_212 = x_211; +} +lean_ctor_set(x_212, 0, x_209); +lean_ctor_set(x_212, 1, x_210); +lean_ctor_set(x_212, 2, x_198); +if (lean_is_scalar(x_208)) { + x_213 = lean_alloc_ctor(0, 6, 0); +} else { + x_213 = x_208; +} +lean_ctor_set(x_213, 0, x_203); +lean_ctor_set(x_213, 1, x_204); +lean_ctor_set(x_213, 2, x_212); +lean_ctor_set(x_213, 3, x_205); +lean_ctor_set(x_213, 4, x_206); +lean_ctor_set(x_213, 5, x_207); +if (lean_is_scalar(x_10)) { + x_214 = lean_alloc_ctor(1, 2, 0); +} else { + x_214 = x_10; + lean_ctor_set_tag(x_214, 1); +} +lean_ctor_set(x_214, 0, x_200); +lean_ctor_set(x_214, 1, x_213); +return x_214; +} +} +} +} +else +{ +lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; uint8_t x_314; lean_object* x_315; lean_object* x_316; +x_306 = lean_ctor_get(x_5, 0); +x_307 = lean_ctor_get(x_5, 2); +x_308 = lean_ctor_get(x_5, 3); +x_309 = lean_ctor_get(x_5, 4); +lean_inc(x_309); +lean_inc(x_308); +lean_inc(x_307); +lean_inc(x_306); +lean_dec(x_5); +x_310 = lean_ctor_get(x_8, 1); +lean_inc(x_310); +x_311 = lean_ctor_get(x_8, 4); +lean_inc(x_311); +lean_dec(x_8); +x_312 = lean_array_get_size(x_307); +x_313 = lean_array_get_size(x_311); +x_314 = lean_nat_dec_eq(x_312, x_313); +lean_dec(x_313); +lean_dec(x_312); +lean_inc(x_311); +lean_inc(x_310); +x_315 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_315, 0, x_306); +lean_ctor_set(x_315, 1, x_310); +lean_ctor_set(x_315, 2, x_311); +lean_ctor_set(x_315, 3, x_308); +lean_ctor_set(x_315, 4, x_309); +if (x_314 == 0) +{ +lean_object* x_386; +lean_dec(x_311); +lean_dec(x_307); +x_386 = lean_box(0); +x_316 = x_386; +goto block_385; +} +else +{ +lean_object* x_387; lean_object* x_388; uint8_t x_389; +x_387 = l_Lean_LocalInstance_hasBeq___closed__1; +x_388 = lean_unsigned_to_nat(0u); +x_389 = l_Array_isEqvAux___main___rarg(x_307, x_311, lean_box(0), x_387, x_388); +lean_dec(x_311); +lean_dec(x_307); +if (x_389 == 0) +{ +lean_object* x_390; +x_390 = lean_box(0); +x_316 = x_390; +goto block_385; +} +else +{ +lean_object* x_391; lean_object* x_392; +lean_dec(x_10); +x_391 = l_Lean_Meta_introNCoreAux___main___rarg___lambda__1___closed__2; +lean_inc(x_1); +x_392 = l_Lean_Meta_checkNotAssigned(x_1, x_391, x_315, x_9); +if (lean_obj_tag(x_392) == 0) +{ +lean_object* x_393; lean_object* x_394; +x_393 = lean_ctor_get(x_392, 1); +lean_inc(x_393); +lean_dec(x_392); +lean_inc(x_1); +x_394 = l_Lean_Meta_getMVarType(x_1, x_315, x_393); +if (lean_obj_tag(x_394) == 0) +{ +lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; +x_395 = lean_ctor_get(x_394, 0); +lean_inc(x_395); +x_396 = lean_ctor_get(x_394, 1); +lean_inc(x_396); +lean_dec(x_394); +x_397 = l_Array_empty___closed__1; +x_398 = l_Lean_Meta_introNCoreAux___main___rarg(x_1, x_3, x_2, x_310, x_397, x_388, x_4, x_395, x_315, x_396); +if (lean_obj_tag(x_398) == 0) +{ +lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; +x_399 = lean_ctor_get(x_398, 0); +lean_inc(x_399); +x_400 = lean_ctor_get(x_398, 1); +lean_inc(x_400); +if (lean_is_exclusive(x_398)) { + lean_ctor_release(x_398, 0); + lean_ctor_release(x_398, 1); + x_401 = x_398; +} else { + lean_dec_ref(x_398); + x_401 = lean_box(0); +} +x_402 = lean_ctor_get(x_399, 0); +lean_inc(x_402); +x_403 = lean_ctor_get(x_399, 1); +lean_inc(x_403); +if (lean_is_exclusive(x_399)) { + lean_ctor_release(x_399, 0); + lean_ctor_release(x_399, 1); + x_404 = x_399; +} else { + lean_dec_ref(x_399); + x_404 = lean_box(0); +} +x_405 = l_Id_monad; +x_406 = l_Lean_Meta_introNCore___rarg___closed__1; +x_407 = l_Array_umapMAux___main___rarg(x_405, lean_box(0), x_406, x_388, x_402); +if (lean_is_scalar(x_404)) { + x_408 = lean_alloc_ctor(0, 2, 0); +} else { + x_408 = x_404; +} +lean_ctor_set(x_408, 0, x_407); +lean_ctor_set(x_408, 1, x_403); +if (lean_is_scalar(x_401)) { + x_409 = lean_alloc_ctor(0, 2, 0); +} else { + x_409 = x_401; +} +lean_ctor_set(x_409, 0, x_408); +lean_ctor_set(x_409, 1, x_400); +return x_409; +} +else +{ +lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; +x_410 = lean_ctor_get(x_398, 0); +lean_inc(x_410); +x_411 = lean_ctor_get(x_398, 1); +lean_inc(x_411); +if (lean_is_exclusive(x_398)) { + lean_ctor_release(x_398, 0); + lean_ctor_release(x_398, 1); + x_412 = x_398; +} else { + lean_dec_ref(x_398); + x_412 = lean_box(0); +} +if (lean_is_scalar(x_412)) { + x_413 = lean_alloc_ctor(1, 2, 0); +} else { + x_413 = x_412; +} +lean_ctor_set(x_413, 0, x_410); +lean_ctor_set(x_413, 1, x_411); +return x_413; +} +} +else +{ +lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; +lean_dec(x_315); +lean_dec(x_310); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_414 = lean_ctor_get(x_394, 0); +lean_inc(x_414); +x_415 = lean_ctor_get(x_394, 1); +lean_inc(x_415); +if (lean_is_exclusive(x_394)) { + lean_ctor_release(x_394, 0); + lean_ctor_release(x_394, 1); + x_416 = x_394; +} else { + lean_dec_ref(x_394); + x_416 = lean_box(0); +} +if (lean_is_scalar(x_416)) { + x_417 = lean_alloc_ctor(1, 2, 0); +} else { + x_417 = x_416; +} +lean_ctor_set(x_417, 0, x_414); +lean_ctor_set(x_417, 1, x_415); +return x_417; +} +} +else +{ +lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; +lean_dec(x_315); +lean_dec(x_310); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_418 = lean_ctor_get(x_392, 0); +lean_inc(x_418); +x_419 = lean_ctor_get(x_392, 1); +lean_inc(x_419); +if (lean_is_exclusive(x_392)) { + lean_ctor_release(x_392, 0); + lean_ctor_release(x_392, 1); + x_420 = x_392; +} else { + lean_dec_ref(x_392); + x_420 = lean_box(0); +} +if (lean_is_scalar(x_420)) { + x_421 = lean_alloc_ctor(1, 2, 0); +} else { + x_421 = x_420; +} +lean_ctor_set(x_421, 0, x_418); +lean_ctor_set(x_421, 1, x_419); +return x_421; +} +} +} +block_385: +{ +lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; +lean_dec(x_316); +x_317 = lean_ctor_get(x_9, 2); +lean_inc(x_317); +x_318 = lean_ctor_get(x_9, 0); +lean_inc(x_318); +x_319 = lean_ctor_get(x_9, 1); +lean_inc(x_319); +x_320 = lean_ctor_get(x_9, 3); +lean_inc(x_320); +x_321 = lean_ctor_get(x_9, 4); +lean_inc(x_321); +x_322 = lean_ctor_get(x_9, 5); +lean_inc(x_322); if (lean_is_exclusive(x_9)) { lean_ctor_release(x_9, 0); lean_ctor_release(x_9, 1); @@ -1766,296 +2106,318 @@ if (lean_is_exclusive(x_9)) { lean_ctor_release(x_9, 3); lean_ctor_release(x_9, 4); lean_ctor_release(x_9, 5); - x_249 = x_9; + x_323 = x_9; } else { lean_dec_ref(x_9); - x_249 = lean_box(0); + x_323 = lean_box(0); } -x_250 = lean_ctor_get(x_243, 0); -lean_inc(x_250); -x_251 = lean_ctor_get(x_243, 1); -lean_inc(x_251); -x_252 = lean_ctor_get(x_243, 2); -lean_inc(x_252); -if (lean_is_exclusive(x_243)) { - lean_ctor_release(x_243, 0); - lean_ctor_release(x_243, 1); - lean_ctor_release(x_243, 2); - x_253 = x_243; +x_324 = lean_ctor_get(x_317, 0); +lean_inc(x_324); +x_325 = lean_ctor_get(x_317, 1); +lean_inc(x_325); +x_326 = lean_ctor_get(x_317, 2); +lean_inc(x_326); +if (lean_is_exclusive(x_317)) { + lean_ctor_release(x_317, 0); + lean_ctor_release(x_317, 1); + lean_ctor_release(x_317, 2); + x_327 = x_317; } else { - lean_dec_ref(x_243); - x_253 = lean_box(0); + lean_dec_ref(x_317); + x_327 = lean_box(0); } -x_270 = l_Lean_Meta_resettingSynthInstanceCache___rarg___closed__1; -if (lean_is_scalar(x_253)) { - x_271 = lean_alloc_ctor(0, 3, 0); +x_344 = l_Lean_Meta_resettingSynthInstanceCache___rarg___closed__1; +if (lean_is_scalar(x_327)) { + x_345 = lean_alloc_ctor(0, 3, 0); } else { - x_271 = x_253; + x_345 = x_327; } -lean_ctor_set(x_271, 0, x_250); -lean_ctor_set(x_271, 1, x_251); -lean_ctor_set(x_271, 2, x_270); -if (lean_is_scalar(x_249)) { - x_272 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_345, 0, x_324); +lean_ctor_set(x_345, 1, x_325); +lean_ctor_set(x_345, 2, x_344); +if (lean_is_scalar(x_323)) { + x_346 = lean_alloc_ctor(0, 6, 0); } else { - x_272 = x_249; + x_346 = x_323; } -lean_ctor_set(x_272, 0, x_244); -lean_ctor_set(x_272, 1, x_245); -lean_ctor_set(x_272, 2, x_271); -lean_ctor_set(x_272, 3, x_246); -lean_ctor_set(x_272, 4, x_247); -lean_ctor_set(x_272, 5, x_248); -x_273 = l_Lean_Meta_introNCoreAux___main___rarg___lambda__1___closed__2; +lean_ctor_set(x_346, 0, x_318); +lean_ctor_set(x_346, 1, x_319); +lean_ctor_set(x_346, 2, x_345); +lean_ctor_set(x_346, 3, x_320); +lean_ctor_set(x_346, 4, x_321); +lean_ctor_set(x_346, 5, x_322); +x_347 = l_Lean_Meta_introNCoreAux___main___rarg___lambda__1___closed__2; lean_inc(x_1); -x_274 = l_Lean_Meta_checkNotAssigned(x_1, x_273, x_241, x_272); -if (lean_obj_tag(x_274) == 0) +x_348 = l_Lean_Meta_checkNotAssigned(x_1, x_347, x_315, x_346); +if (lean_obj_tag(x_348) == 0) { -lean_object* x_275; lean_object* x_276; -x_275 = lean_ctor_get(x_274, 1); -lean_inc(x_275); -lean_dec(x_274); +lean_object* x_349; lean_object* x_350; +x_349 = lean_ctor_get(x_348, 1); +lean_inc(x_349); +lean_dec(x_348); lean_inc(x_1); -x_276 = l_Lean_Meta_getMVarType(x_1, x_241, x_275); -if (lean_obj_tag(x_276) == 0) +x_350 = l_Lean_Meta_getMVarType(x_1, x_315, x_349); +if (lean_obj_tag(x_350) == 0) { -lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; -x_277 = lean_ctor_get(x_276, 0); -lean_inc(x_277); -x_278 = lean_ctor_get(x_276, 1); -lean_inc(x_278); -lean_dec(x_276); -x_279 = l_Array_empty___closed__1; -x_280 = lean_unsigned_to_nat(0u); -x_281 = l_Lean_Meta_introNCoreAux___main___rarg(x_1, x_3, x_2, x_236, x_279, x_280, x_4, x_277, x_241, x_278); -if (lean_obj_tag(x_281) == 0) +lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; +x_351 = lean_ctor_get(x_350, 0); +lean_inc(x_351); +x_352 = lean_ctor_get(x_350, 1); +lean_inc(x_352); +lean_dec(x_350); +x_353 = l_Array_empty___closed__1; +x_354 = lean_unsigned_to_nat(0u); +x_355 = l_Lean_Meta_introNCoreAux___main___rarg(x_1, x_3, x_2, x_310, x_353, x_354, x_4, x_351, x_315, x_352); +if (lean_obj_tag(x_355) == 0) { -lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; +lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_dec(x_10); -x_282 = lean_ctor_get(x_281, 1); -lean_inc(x_282); -x_283 = lean_ctor_get(x_282, 2); -lean_inc(x_283); -x_284 = lean_ctor_get(x_281, 0); -lean_inc(x_284); -if (lean_is_exclusive(x_281)) { - lean_ctor_release(x_281, 0); - lean_ctor_release(x_281, 1); - x_285 = x_281; +x_356 = lean_ctor_get(x_355, 0); +lean_inc(x_356); +x_357 = lean_ctor_get(x_355, 1); +lean_inc(x_357); +if (lean_is_exclusive(x_355)) { + lean_ctor_release(x_355, 0); + lean_ctor_release(x_355, 1); + x_358 = x_355; } else { - lean_dec_ref(x_281); - x_285 = lean_box(0); + lean_dec_ref(x_355); + x_358 = lean_box(0); } -x_286 = lean_ctor_get(x_282, 0); -lean_inc(x_286); -x_287 = lean_ctor_get(x_282, 1); -lean_inc(x_287); -x_288 = lean_ctor_get(x_282, 3); -lean_inc(x_288); -x_289 = lean_ctor_get(x_282, 4); -lean_inc(x_289); -x_290 = lean_ctor_get(x_282, 5); -lean_inc(x_290); -if (lean_is_exclusive(x_282)) { - lean_ctor_release(x_282, 0); - lean_ctor_release(x_282, 1); - lean_ctor_release(x_282, 2); - lean_ctor_release(x_282, 3); - lean_ctor_release(x_282, 4); - lean_ctor_release(x_282, 5); - x_291 = x_282; +x_359 = lean_ctor_get(x_356, 0); +lean_inc(x_359); +x_360 = lean_ctor_get(x_356, 1); +lean_inc(x_360); +if (lean_is_exclusive(x_356)) { + lean_ctor_release(x_356, 0); + lean_ctor_release(x_356, 1); + x_361 = x_356; } else { - lean_dec_ref(x_282); - x_291 = lean_box(0); + lean_dec_ref(x_356); + x_361 = lean_box(0); } -x_292 = lean_ctor_get(x_283, 0); -lean_inc(x_292); -x_293 = lean_ctor_get(x_283, 1); -lean_inc(x_293); -if (lean_is_exclusive(x_283)) { - lean_ctor_release(x_283, 0); - lean_ctor_release(x_283, 1); - lean_ctor_release(x_283, 2); - x_294 = x_283; +x_362 = l_Id_monad; +x_363 = l_Lean_Meta_introNCore___rarg___closed__1; +x_364 = l_Array_umapMAux___main___rarg(x_362, lean_box(0), x_363, x_354, x_359); +if (lean_is_scalar(x_361)) { + x_365 = lean_alloc_ctor(0, 2, 0); } else { - lean_dec_ref(x_283); - x_294 = lean_box(0); + x_365 = x_361; } -if (lean_is_scalar(x_294)) { - x_295 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_365, 0, x_364); +lean_ctor_set(x_365, 1, x_360); +x_366 = lean_ctor_get(x_357, 2); +lean_inc(x_366); +x_367 = lean_ctor_get(x_357, 0); +lean_inc(x_367); +x_368 = lean_ctor_get(x_357, 1); +lean_inc(x_368); +x_369 = lean_ctor_get(x_357, 3); +lean_inc(x_369); +x_370 = lean_ctor_get(x_357, 4); +lean_inc(x_370); +x_371 = lean_ctor_get(x_357, 5); +lean_inc(x_371); +if (lean_is_exclusive(x_357)) { + lean_ctor_release(x_357, 0); + lean_ctor_release(x_357, 1); + lean_ctor_release(x_357, 2); + lean_ctor_release(x_357, 3); + lean_ctor_release(x_357, 4); + lean_ctor_release(x_357, 5); + x_372 = x_357; } else { - x_295 = x_294; + lean_dec_ref(x_357); + x_372 = lean_box(0); } -lean_ctor_set(x_295, 0, x_292); -lean_ctor_set(x_295, 1, x_293); -lean_ctor_set(x_295, 2, x_252); -if (lean_is_scalar(x_291)) { - x_296 = lean_alloc_ctor(0, 6, 0); +x_373 = lean_ctor_get(x_366, 0); +lean_inc(x_373); +x_374 = lean_ctor_get(x_366, 1); +lean_inc(x_374); +if (lean_is_exclusive(x_366)) { + lean_ctor_release(x_366, 0); + lean_ctor_release(x_366, 1); + lean_ctor_release(x_366, 2); + x_375 = x_366; } else { - x_296 = x_291; + lean_dec_ref(x_366); + x_375 = lean_box(0); } -lean_ctor_set(x_296, 0, x_286); -lean_ctor_set(x_296, 1, x_287); -lean_ctor_set(x_296, 2, x_295); -lean_ctor_set(x_296, 3, x_288); -lean_ctor_set(x_296, 4, x_289); -lean_ctor_set(x_296, 5, x_290); -if (lean_is_scalar(x_285)) { - x_297 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_375)) { + x_376 = lean_alloc_ctor(0, 3, 0); } else { - x_297 = x_285; + x_376 = x_375; } -lean_ctor_set(x_297, 0, x_284); -lean_ctor_set(x_297, 1, x_296); -return x_297; +lean_ctor_set(x_376, 0, x_373); +lean_ctor_set(x_376, 1, x_374); +lean_ctor_set(x_376, 2, x_326); +if (lean_is_scalar(x_372)) { + x_377 = lean_alloc_ctor(0, 6, 0); +} else { + x_377 = x_372; +} +lean_ctor_set(x_377, 0, x_367); +lean_ctor_set(x_377, 1, x_368); +lean_ctor_set(x_377, 2, x_376); +lean_ctor_set(x_377, 3, x_369); +lean_ctor_set(x_377, 4, x_370); +lean_ctor_set(x_377, 5, x_371); +if (lean_is_scalar(x_358)) { + x_378 = lean_alloc_ctor(0, 2, 0); +} else { + x_378 = x_358; +} +lean_ctor_set(x_378, 0, x_365); +lean_ctor_set(x_378, 1, x_377); +return x_378; } else { -lean_object* x_298; lean_object* x_299; -x_298 = lean_ctor_get(x_281, 0); -lean_inc(x_298); -x_299 = lean_ctor_get(x_281, 1); -lean_inc(x_299); -lean_dec(x_281); -x_254 = x_298; -x_255 = x_299; -goto block_269; +lean_object* x_379; lean_object* x_380; +x_379 = lean_ctor_get(x_355, 0); +lean_inc(x_379); +x_380 = lean_ctor_get(x_355, 1); +lean_inc(x_380); +lean_dec(x_355); +x_328 = x_379; +x_329 = x_380; +goto block_343; } } else { -lean_object* x_300; lean_object* x_301; -lean_dec(x_241); -lean_dec(x_236); +lean_object* x_381; lean_object* x_382; +lean_dec(x_315); +lean_dec(x_310); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_300 = lean_ctor_get(x_276, 0); -lean_inc(x_300); -x_301 = lean_ctor_get(x_276, 1); -lean_inc(x_301); -lean_dec(x_276); -x_254 = x_300; -x_255 = x_301; -goto block_269; +x_381 = lean_ctor_get(x_350, 0); +lean_inc(x_381); +x_382 = lean_ctor_get(x_350, 1); +lean_inc(x_382); +lean_dec(x_350); +x_328 = x_381; +x_329 = x_382; +goto block_343; } } else { -lean_object* x_302; lean_object* x_303; -lean_dec(x_241); -lean_dec(x_236); +lean_object* x_383; lean_object* x_384; +lean_dec(x_315); +lean_dec(x_310); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_302 = lean_ctor_get(x_274, 0); -lean_inc(x_302); -x_303 = lean_ctor_get(x_274, 1); -lean_inc(x_303); -lean_dec(x_274); -x_254 = x_302; -x_255 = x_303; -goto block_269; +x_383 = lean_ctor_get(x_348, 0); +lean_inc(x_383); +x_384 = lean_ctor_get(x_348, 1); +lean_inc(x_384); +lean_dec(x_348); +x_328 = x_383; +x_329 = x_384; +goto block_343; } -block_269: +block_343: { -lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; -x_256 = lean_ctor_get(x_255, 2); -lean_inc(x_256); -x_257 = lean_ctor_get(x_255, 0); -lean_inc(x_257); -x_258 = lean_ctor_get(x_255, 1); -lean_inc(x_258); -x_259 = lean_ctor_get(x_255, 3); -lean_inc(x_259); -x_260 = lean_ctor_get(x_255, 4); -lean_inc(x_260); -x_261 = lean_ctor_get(x_255, 5); -lean_inc(x_261); -if (lean_is_exclusive(x_255)) { - lean_ctor_release(x_255, 0); - lean_ctor_release(x_255, 1); - lean_ctor_release(x_255, 2); - lean_ctor_release(x_255, 3); - lean_ctor_release(x_255, 4); - lean_ctor_release(x_255, 5); - x_262 = x_255; +lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; +x_330 = lean_ctor_get(x_329, 2); +lean_inc(x_330); +x_331 = lean_ctor_get(x_329, 0); +lean_inc(x_331); +x_332 = lean_ctor_get(x_329, 1); +lean_inc(x_332); +x_333 = lean_ctor_get(x_329, 3); +lean_inc(x_333); +x_334 = lean_ctor_get(x_329, 4); +lean_inc(x_334); +x_335 = lean_ctor_get(x_329, 5); +lean_inc(x_335); +if (lean_is_exclusive(x_329)) { + lean_ctor_release(x_329, 0); + lean_ctor_release(x_329, 1); + lean_ctor_release(x_329, 2); + lean_ctor_release(x_329, 3); + lean_ctor_release(x_329, 4); + lean_ctor_release(x_329, 5); + x_336 = x_329; } else { - lean_dec_ref(x_255); - x_262 = lean_box(0); + lean_dec_ref(x_329); + x_336 = lean_box(0); } -x_263 = lean_ctor_get(x_256, 0); -lean_inc(x_263); -x_264 = lean_ctor_get(x_256, 1); -lean_inc(x_264); -if (lean_is_exclusive(x_256)) { - lean_ctor_release(x_256, 0); - lean_ctor_release(x_256, 1); - lean_ctor_release(x_256, 2); - x_265 = x_256; +x_337 = lean_ctor_get(x_330, 0); +lean_inc(x_337); +x_338 = lean_ctor_get(x_330, 1); +lean_inc(x_338); +if (lean_is_exclusive(x_330)) { + lean_ctor_release(x_330, 0); + lean_ctor_release(x_330, 1); + lean_ctor_release(x_330, 2); + x_339 = x_330; } else { - lean_dec_ref(x_256); - x_265 = lean_box(0); + lean_dec_ref(x_330); + x_339 = lean_box(0); } -if (lean_is_scalar(x_265)) { - x_266 = lean_alloc_ctor(0, 3, 0); +if (lean_is_scalar(x_339)) { + x_340 = lean_alloc_ctor(0, 3, 0); } else { - x_266 = x_265; + x_340 = x_339; } -lean_ctor_set(x_266, 0, x_263); -lean_ctor_set(x_266, 1, x_264); -lean_ctor_set(x_266, 2, x_252); -if (lean_is_scalar(x_262)) { - x_267 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_340, 0, x_337); +lean_ctor_set(x_340, 1, x_338); +lean_ctor_set(x_340, 2, x_326); +if (lean_is_scalar(x_336)) { + x_341 = lean_alloc_ctor(0, 6, 0); } else { - x_267 = x_262; + x_341 = x_336; } -lean_ctor_set(x_267, 0, x_257); -lean_ctor_set(x_267, 1, x_258); -lean_ctor_set(x_267, 2, x_266); -lean_ctor_set(x_267, 3, x_259); -lean_ctor_set(x_267, 4, x_260); -lean_ctor_set(x_267, 5, x_261); +lean_ctor_set(x_341, 0, x_331); +lean_ctor_set(x_341, 1, x_332); +lean_ctor_set(x_341, 2, x_340); +lean_ctor_set(x_341, 3, x_333); +lean_ctor_set(x_341, 4, x_334); +lean_ctor_set(x_341, 5, x_335); if (lean_is_scalar(x_10)) { - x_268 = lean_alloc_ctor(1, 2, 0); + x_342 = lean_alloc_ctor(1, 2, 0); } else { - x_268 = x_10; - lean_ctor_set_tag(x_268, 1); + x_342 = x_10; + lean_ctor_set_tag(x_342, 1); } -lean_ctor_set(x_268, 0, x_254); -lean_ctor_set(x_268, 1, x_267); -return x_268; +lean_ctor_set(x_342, 0, x_328); +lean_ctor_set(x_342, 1, x_341); +return x_342; } } } } else { -uint8_t x_326; +uint8_t x_422; lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_326 = !lean_is_exclusive(x_7); -if (x_326 == 0) +x_422 = !lean_is_exclusive(x_7); +if (x_422 == 0) { return x_7; } else { -lean_object* x_327; lean_object* x_328; lean_object* x_329; -x_327 = lean_ctor_get(x_7, 0); -x_328 = lean_ctor_get(x_7, 1); -lean_inc(x_328); -lean_inc(x_327); +lean_object* x_423; lean_object* x_424; lean_object* x_425; +x_423 = lean_ctor_get(x_7, 0); +x_424 = lean_ctor_get(x_7, 1); +lean_inc(x_424); +lean_inc(x_423); lean_dec(x_7); -x_329 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_329, 0, x_327); -lean_ctor_set(x_329, 1, x_328); -return x_329; +x_425 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_425, 0, x_423); +lean_ctor_set(x_425, 1, x_424); +return x_425; } } } @@ -2068,6 +2430,16 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Meta_introNCore___rarg), 6, 0); return x_2; } } +lean_object* l_Lean_Meta_introNCore___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Meta_introNCore___rarg___lambda__1(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} lean_object* _init_l_Lean_Meta_mkAuxName___closed__1() { _start: { @@ -6727,7 +7099,42 @@ return x_71; } } } -uint8_t l_Array_isEqvAux___main___at_Lean_Meta_introN___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_Array_umapMAux___main___at_Lean_Meta_introN___spec__5(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; uint8_t x_4; +x_3 = lean_array_get_size(x_2); +x_4 = lean_nat_dec_lt(x_1, x_3); +lean_dec(x_3); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; +lean_dec(x_1); +x_5 = l_Array_empty___closed__1; +x_6 = x_2; +return x_6; +} +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_13; lean_object* x_14; lean_object* x_15; +x_7 = lean_array_fget(x_2, x_1); +x_8 = lean_box(0); +x_9 = x_8; +x_10 = lean_array_fset(x_2, x_1, x_9); +x_11 = l_Lean_Expr_fvarId_x21(x_7); +x_12 = lean_unsigned_to_nat(1u); +x_13 = lean_nat_add(x_1, x_12); +x_14 = x_11; +lean_dec(x_7); +x_15 = lean_array_fset(x_10, x_1, x_14); +lean_dec(x_1); +x_1 = x_13; +x_2 = x_15; +goto _start; +} +} +} +uint8_t l_Array_isEqvAux___main___at_Lean_Meta_introN___spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; uint8_t x_8; @@ -6816,112 +7223,200 @@ lean_ctor_set(x_19, 3, x_12); lean_ctor_set(x_19, 4, x_13); if (x_18 == 0) { -lean_object* x_212; +lean_object* x_249; lean_dec(x_15); lean_dec(x_7); -x_212 = lean_box(0); -x_20 = x_212; -goto block_211; +x_249 = lean_box(0); +x_20 = x_249; +goto block_248; } else { -lean_object* x_213; uint8_t x_214; -x_213 = lean_unsigned_to_nat(0u); -x_214 = l_Array_isEqvAux___main___at_Lean_Meta_introN___spec__5(x_4, x_7, lean_box(0), x_11, x_15, x_213); +lean_object* x_250; uint8_t x_251; +x_250 = lean_unsigned_to_nat(0u); +x_251 = l_Array_isEqvAux___main___at_Lean_Meta_introN___spec__6(x_4, x_7, lean_box(0), x_11, x_15, x_250); lean_dec(x_15); lean_dec(x_7); -if (x_214 == 0) +if (x_251 == 0) { -lean_object* x_215; -x_215 = lean_box(0); -x_20 = x_215; -goto block_211; +lean_object* x_252; +x_252 = lean_box(0); +x_20 = x_252; +goto block_248; } else { -lean_object* x_216; lean_object* x_217; +lean_object* x_253; lean_object* x_254; lean_dec(x_9); -x_216 = l_Lean_Meta_introNCoreAux___main___rarg___lambda__1___closed__2; +x_253 = l_Lean_Meta_introNCoreAux___main___rarg___lambda__1___closed__2; lean_inc(x_1); -x_217 = l_Lean_Meta_checkNotAssigned(x_1, x_216, x_19, x_8); -if (lean_obj_tag(x_217) == 0) +x_254 = l_Lean_Meta_checkNotAssigned(x_1, x_253, x_19, x_8); +if (lean_obj_tag(x_254) == 0) { -lean_object* x_218; lean_object* x_219; -x_218 = lean_ctor_get(x_217, 1); -lean_inc(x_218); -lean_dec(x_217); +lean_object* x_255; lean_object* x_256; +x_255 = lean_ctor_get(x_254, 1); +lean_inc(x_255); +lean_dec(x_254); lean_inc(x_1); -x_219 = l_Lean_Meta_getMVarType(x_1, x_19, x_218); -if (lean_obj_tag(x_219) == 0) +x_256 = l_Lean_Meta_getMVarType(x_1, x_19, x_255); +if (lean_obj_tag(x_256) == 0) { -lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; -x_220 = lean_ctor_get(x_219, 0); -lean_inc(x_220); -x_221 = lean_ctor_get(x_219, 1); -lean_inc(x_221); -lean_dec(x_219); -x_222 = l_Array_empty___closed__1; -x_223 = l_Lean_Meta_introNCoreAux___main___at_Lean_Meta_introN___spec__2(x_1, x_2, x_14, x_222, x_213, x_3, x_220, x_19, x_221); -return x_223; +lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; +x_257 = lean_ctor_get(x_256, 0); +lean_inc(x_257); +x_258 = lean_ctor_get(x_256, 1); +lean_inc(x_258); +lean_dec(x_256); +x_259 = l_Array_empty___closed__1; +x_260 = l_Lean_Meta_introNCoreAux___main___at_Lean_Meta_introN___spec__2(x_1, x_2, x_14, x_259, x_250, x_3, x_257, x_19, x_258); +if (lean_obj_tag(x_260) == 0) +{ +uint8_t x_261; +x_261 = !lean_is_exclusive(x_260); +if (x_261 == 0) +{ +lean_object* x_262; uint8_t x_263; +x_262 = lean_ctor_get(x_260, 0); +x_263 = !lean_is_exclusive(x_262); +if (x_263 == 0) +{ +lean_object* x_264; lean_object* x_265; +x_264 = lean_ctor_get(x_262, 0); +x_265 = l_Array_umapMAux___main___at_Lean_Meta_introN___spec__5(x_250, x_264); +lean_ctor_set(x_262, 0, x_265); +return x_260; } else { -uint8_t x_224; +lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; +x_266 = lean_ctor_get(x_262, 0); +x_267 = lean_ctor_get(x_262, 1); +lean_inc(x_267); +lean_inc(x_266); +lean_dec(x_262); +x_268 = l_Array_umapMAux___main___at_Lean_Meta_introN___spec__5(x_250, x_266); +x_269 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_269, 0, x_268); +lean_ctor_set(x_269, 1, x_267); +lean_ctor_set(x_260, 0, x_269); +return x_260; +} +} +else +{ +lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; +x_270 = lean_ctor_get(x_260, 0); +x_271 = lean_ctor_get(x_260, 1); +lean_inc(x_271); +lean_inc(x_270); +lean_dec(x_260); +x_272 = lean_ctor_get(x_270, 0); +lean_inc(x_272); +x_273 = lean_ctor_get(x_270, 1); +lean_inc(x_273); +if (lean_is_exclusive(x_270)) { + lean_ctor_release(x_270, 0); + lean_ctor_release(x_270, 1); + x_274 = x_270; +} else { + lean_dec_ref(x_270); + x_274 = lean_box(0); +} +x_275 = l_Array_umapMAux___main___at_Lean_Meta_introN___spec__5(x_250, x_272); +if (lean_is_scalar(x_274)) { + x_276 = lean_alloc_ctor(0, 2, 0); +} else { + x_276 = x_274; +} +lean_ctor_set(x_276, 0, x_275); +lean_ctor_set(x_276, 1, x_273); +x_277 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_277, 0, x_276); +lean_ctor_set(x_277, 1, x_271); +return x_277; +} +} +else +{ +uint8_t x_278; +x_278 = !lean_is_exclusive(x_260); +if (x_278 == 0) +{ +return x_260; +} +else +{ +lean_object* x_279; lean_object* x_280; lean_object* x_281; +x_279 = lean_ctor_get(x_260, 0); +x_280 = lean_ctor_get(x_260, 1); +lean_inc(x_280); +lean_inc(x_279); +lean_dec(x_260); +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 +{ +uint8_t x_282; lean_dec(x_19); lean_dec(x_14); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_224 = !lean_is_exclusive(x_219); -if (x_224 == 0) +x_282 = !lean_is_exclusive(x_256); +if (x_282 == 0) { -return x_219; +return x_256; } else { -lean_object* x_225; lean_object* x_226; lean_object* x_227; -x_225 = lean_ctor_get(x_219, 0); -x_226 = lean_ctor_get(x_219, 1); -lean_inc(x_226); -lean_inc(x_225); -lean_dec(x_219); -x_227 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_227, 0, x_225); -lean_ctor_set(x_227, 1, x_226); -return x_227; +lean_object* x_283; lean_object* x_284; lean_object* x_285; +x_283 = lean_ctor_get(x_256, 0); +x_284 = lean_ctor_get(x_256, 1); +lean_inc(x_284); +lean_inc(x_283); +lean_dec(x_256); +x_285 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_285, 0, x_283); +lean_ctor_set(x_285, 1, x_284); +return x_285; } } } else { -uint8_t x_228; +uint8_t x_286; lean_dec(x_19); lean_dec(x_14); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_228 = !lean_is_exclusive(x_217); -if (x_228 == 0) +x_286 = !lean_is_exclusive(x_254); +if (x_286 == 0) { -return x_217; +return x_254; } else { -lean_object* x_229; lean_object* x_230; lean_object* x_231; -x_229 = lean_ctor_get(x_217, 0); -x_230 = lean_ctor_get(x_217, 1); -lean_inc(x_230); -lean_inc(x_229); -lean_dec(x_217); -x_231 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_231, 0, x_229); -lean_ctor_set(x_231, 1, x_230); -return x_231; +lean_object* x_287; lean_object* x_288; lean_object* x_289; +x_287 = lean_ctor_get(x_254, 0); +x_288 = lean_ctor_get(x_254, 1); +lean_inc(x_288); +lean_inc(x_287); +lean_dec(x_254); +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; } } } } -block_211: +block_248: { uint8_t x_21; lean_dec(x_20); @@ -6961,207 +7456,309 @@ x_57 = lean_unsigned_to_nat(0u); x_58 = l_Lean_Meta_introNCoreAux___main___at_Lean_Meta_introN___spec__2(x_1, x_2, x_14, x_56, x_57, x_3, x_54, x_19, x_55); if (lean_obj_tag(x_58) == 0) { -lean_object* x_59; lean_object* x_60; uint8_t x_61; +uint8_t x_59; lean_dec(x_9); -x_59 = lean_ctor_get(x_58, 1); -lean_inc(x_59); -x_60 = lean_ctor_get(x_59, 2); -lean_inc(x_60); -x_61 = !lean_is_exclusive(x_58); +x_59 = !lean_is_exclusive(x_58); +if (x_59 == 0) +{ +lean_object* x_60; uint8_t x_61; +x_60 = lean_ctor_get(x_58, 0); +x_61 = !lean_is_exclusive(x_60); if (x_61 == 0) { -lean_object* x_62; uint8_t x_63; +lean_object* x_62; lean_object* x_63; lean_object* x_64; uint8_t x_65; x_62 = lean_ctor_get(x_58, 1); -lean_dec(x_62); -x_63 = !lean_is_exclusive(x_59); -if (x_63 == 0) -{ -lean_object* x_64; uint8_t x_65; -x_64 = lean_ctor_get(x_59, 2); -lean_dec(x_64); -x_65 = !lean_is_exclusive(x_60); +x_63 = lean_ctor_get(x_60, 0); +x_64 = l_Array_umapMAux___main___at_Lean_Meta_introN___spec__5(x_57, x_63); +lean_ctor_set(x_60, 0, x_64); +x_65 = !lean_is_exclusive(x_62); if (x_65 == 0) { -lean_object* x_66; -x_66 = lean_ctor_get(x_60, 2); +lean_object* x_66; uint8_t x_67; +x_66 = lean_ctor_get(x_62, 2); +x_67 = !lean_is_exclusive(x_66); +if (x_67 == 0) +{ +lean_object* x_68; +x_68 = lean_ctor_get(x_66, 2); +lean_dec(x_68); +lean_ctor_set(x_66, 2, x_24); +return x_58; +} +else +{ +lean_object* x_69; lean_object* x_70; lean_object* x_71; +x_69 = lean_ctor_get(x_66, 0); +x_70 = lean_ctor_get(x_66, 1); +lean_inc(x_70); +lean_inc(x_69); lean_dec(x_66); -lean_ctor_set(x_60, 2, x_24); -return x_58; -} -else -{ -lean_object* x_67; lean_object* x_68; lean_object* x_69; -x_67 = lean_ctor_get(x_60, 0); -x_68 = lean_ctor_get(x_60, 1); -lean_inc(x_68); -lean_inc(x_67); -lean_dec(x_60); -x_69 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_69, 0, x_67); -lean_ctor_set(x_69, 1, x_68); -lean_ctor_set(x_69, 2, x_24); -lean_ctor_set(x_59, 2, x_69); +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_24); +lean_ctor_set(x_62, 2, x_71); return x_58; } } 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; lean_object* x_77; lean_object* x_78; lean_object* x_79; -x_70 = lean_ctor_get(x_59, 0); -x_71 = lean_ctor_get(x_59, 1); -x_72 = lean_ctor_get(x_59, 3); -x_73 = lean_ctor_get(x_59, 4); -x_74 = lean_ctor_get(x_59, 5); +lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; +x_72 = lean_ctor_get(x_62, 2); +x_73 = lean_ctor_get(x_62, 0); +x_74 = lean_ctor_get(x_62, 1); +x_75 = lean_ctor_get(x_62, 3); +x_76 = lean_ctor_get(x_62, 4); +x_77 = lean_ctor_get(x_62, 5); +lean_inc(x_77); +lean_inc(x_76); +lean_inc(x_75); +lean_inc(x_72); lean_inc(x_74); lean_inc(x_73); -lean_inc(x_72); -lean_inc(x_71); -lean_inc(x_70); -lean_dec(x_59); -x_75 = lean_ctor_get(x_60, 0); -lean_inc(x_75); -x_76 = lean_ctor_get(x_60, 1); -lean_inc(x_76); -if (lean_is_exclusive(x_60)) { - lean_ctor_release(x_60, 0); - lean_ctor_release(x_60, 1); - lean_ctor_release(x_60, 2); - x_77 = x_60; +lean_dec(x_62); +x_78 = lean_ctor_get(x_72, 0); +lean_inc(x_78); +x_79 = lean_ctor_get(x_72, 1); +lean_inc(x_79); +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_80 = x_72; } else { - lean_dec_ref(x_60); - x_77 = lean_box(0); + lean_dec_ref(x_72); + x_80 = lean_box(0); } -if (lean_is_scalar(x_77)) { - x_78 = lean_alloc_ctor(0, 3, 0); +if (lean_is_scalar(x_80)) { + x_81 = lean_alloc_ctor(0, 3, 0); } else { - x_78 = x_77; + x_81 = x_80; } -lean_ctor_set(x_78, 0, x_75); -lean_ctor_set(x_78, 1, x_76); -lean_ctor_set(x_78, 2, x_24); -x_79 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_79, 0, x_70); -lean_ctor_set(x_79, 1, x_71); -lean_ctor_set(x_79, 2, x_78); -lean_ctor_set(x_79, 3, x_72); -lean_ctor_set(x_79, 4, x_73); -lean_ctor_set(x_79, 5, x_74); -lean_ctor_set(x_58, 1, x_79); +lean_ctor_set(x_81, 0, x_78); +lean_ctor_set(x_81, 1, x_79); +lean_ctor_set(x_81, 2, x_24); +x_82 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_82, 0, x_73); +lean_ctor_set(x_82, 1, x_74); +lean_ctor_set(x_82, 2, x_81); +lean_ctor_set(x_82, 3, x_75); +lean_ctor_set(x_82, 4, x_76); +lean_ctor_set(x_82, 5, x_77); +lean_ctor_set(x_58, 1, x_82); return x_58; } } else { -lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; -x_80 = lean_ctor_get(x_58, 0); -lean_inc(x_80); -lean_dec(x_58); -x_81 = lean_ctor_get(x_59, 0); -lean_inc(x_81); -x_82 = lean_ctor_get(x_59, 1); -lean_inc(x_82); -x_83 = lean_ctor_get(x_59, 3); -lean_inc(x_83); -x_84 = lean_ctor_get(x_59, 4); -lean_inc(x_84); -x_85 = lean_ctor_get(x_59, 5); +lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; +x_83 = lean_ctor_get(x_58, 1); +x_84 = lean_ctor_get(x_60, 0); +x_85 = lean_ctor_get(x_60, 1); lean_inc(x_85); -if (lean_is_exclusive(x_59)) { - lean_ctor_release(x_59, 0); - lean_ctor_release(x_59, 1); - lean_ctor_release(x_59, 2); - lean_ctor_release(x_59, 3); - lean_ctor_release(x_59, 4); - lean_ctor_release(x_59, 5); - x_86 = x_59; -} else { - lean_dec_ref(x_59); - x_86 = lean_box(0); -} -x_87 = lean_ctor_get(x_60, 0); -lean_inc(x_87); -x_88 = lean_ctor_get(x_60, 1); +lean_inc(x_84); +lean_dec(x_60); +x_86 = l_Array_umapMAux___main___at_Lean_Meta_introN___spec__5(x_57, x_84); +x_87 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_87, 0, x_86); +lean_ctor_set(x_87, 1, x_85); +x_88 = lean_ctor_get(x_83, 2); lean_inc(x_88); -if (lean_is_exclusive(x_60)) { - lean_ctor_release(x_60, 0); - lean_ctor_release(x_60, 1); - lean_ctor_release(x_60, 2); - x_89 = x_60; -} else { - lean_dec_ref(x_60); - x_89 = lean_box(0); -} -if (lean_is_scalar(x_89)) { - x_90 = lean_alloc_ctor(0, 3, 0); -} else { - x_90 = x_89; -} -lean_ctor_set(x_90, 0, x_87); -lean_ctor_set(x_90, 1, x_88); -lean_ctor_set(x_90, 2, x_24); -if (lean_is_scalar(x_86)) { - x_91 = lean_alloc_ctor(0, 6, 0); -} else { - x_91 = x_86; -} -lean_ctor_set(x_91, 0, x_81); -lean_ctor_set(x_91, 1, x_82); -lean_ctor_set(x_91, 2, x_90); -lean_ctor_set(x_91, 3, x_83); -lean_ctor_set(x_91, 4, x_84); -lean_ctor_set(x_91, 5, x_85); -x_92 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_92, 0, x_80); -lean_ctor_set(x_92, 1, x_91); -return x_92; -} -} -else -{ -lean_object* x_93; lean_object* x_94; -x_93 = lean_ctor_get(x_58, 0); +x_89 = lean_ctor_get(x_83, 0); +lean_inc(x_89); +x_90 = lean_ctor_get(x_83, 1); +lean_inc(x_90); +x_91 = lean_ctor_get(x_83, 3); +lean_inc(x_91); +x_92 = lean_ctor_get(x_83, 4); +lean_inc(x_92); +x_93 = lean_ctor_get(x_83, 5); lean_inc(x_93); -x_94 = lean_ctor_get(x_58, 1); -lean_inc(x_94); -lean_dec(x_58); -x_25 = x_93; -x_26 = x_94; -goto block_48; +if (lean_is_exclusive(x_83)) { + lean_ctor_release(x_83, 0); + lean_ctor_release(x_83, 1); + lean_ctor_release(x_83, 2); + lean_ctor_release(x_83, 3); + lean_ctor_release(x_83, 4); + lean_ctor_release(x_83, 5); + x_94 = x_83; +} else { + lean_dec_ref(x_83); + x_94 = lean_box(0); } -} -else -{ -lean_object* x_95; lean_object* x_96; -lean_dec(x_19); -lean_dec(x_14); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_95 = lean_ctor_get(x_53, 0); +x_95 = lean_ctor_get(x_88, 0); lean_inc(x_95); -x_96 = lean_ctor_get(x_53, 1); +x_96 = lean_ctor_get(x_88, 1); lean_inc(x_96); -lean_dec(x_53); -x_25 = x_95; -x_26 = x_96; +if (lean_is_exclusive(x_88)) { + lean_ctor_release(x_88, 0); + lean_ctor_release(x_88, 1); + lean_ctor_release(x_88, 2); + x_97 = x_88; +} else { + lean_dec_ref(x_88); + x_97 = lean_box(0); +} +if (lean_is_scalar(x_97)) { + x_98 = lean_alloc_ctor(0, 3, 0); +} else { + x_98 = x_97; +} +lean_ctor_set(x_98, 0, x_95); +lean_ctor_set(x_98, 1, x_96); +lean_ctor_set(x_98, 2, x_24); +if (lean_is_scalar(x_94)) { + x_99 = lean_alloc_ctor(0, 6, 0); +} else { + x_99 = x_94; +} +lean_ctor_set(x_99, 0, x_89); +lean_ctor_set(x_99, 1, x_90); +lean_ctor_set(x_99, 2, x_98); +lean_ctor_set(x_99, 3, x_91); +lean_ctor_set(x_99, 4, x_92); +lean_ctor_set(x_99, 5, x_93); +lean_ctor_set(x_58, 1, x_99); +lean_ctor_set(x_58, 0, x_87); +return x_58; +} +} +else +{ +lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; +x_100 = lean_ctor_get(x_58, 0); +x_101 = lean_ctor_get(x_58, 1); +lean_inc(x_101); +lean_inc(x_100); +lean_dec(x_58); +x_102 = lean_ctor_get(x_100, 0); +lean_inc(x_102); +x_103 = lean_ctor_get(x_100, 1); +lean_inc(x_103); +if (lean_is_exclusive(x_100)) { + lean_ctor_release(x_100, 0); + lean_ctor_release(x_100, 1); + x_104 = x_100; +} else { + lean_dec_ref(x_100); + x_104 = lean_box(0); +} +x_105 = l_Array_umapMAux___main___at_Lean_Meta_introN___spec__5(x_57, x_102); +if (lean_is_scalar(x_104)) { + x_106 = lean_alloc_ctor(0, 2, 0); +} else { + x_106 = x_104; +} +lean_ctor_set(x_106, 0, x_105); +lean_ctor_set(x_106, 1, x_103); +x_107 = lean_ctor_get(x_101, 2); +lean_inc(x_107); +x_108 = lean_ctor_get(x_101, 0); +lean_inc(x_108); +x_109 = lean_ctor_get(x_101, 1); +lean_inc(x_109); +x_110 = lean_ctor_get(x_101, 3); +lean_inc(x_110); +x_111 = lean_ctor_get(x_101, 4); +lean_inc(x_111); +x_112 = lean_ctor_get(x_101, 5); +lean_inc(x_112); +if (lean_is_exclusive(x_101)) { + lean_ctor_release(x_101, 0); + lean_ctor_release(x_101, 1); + lean_ctor_release(x_101, 2); + lean_ctor_release(x_101, 3); + lean_ctor_release(x_101, 4); + lean_ctor_release(x_101, 5); + x_113 = x_101; +} else { + lean_dec_ref(x_101); + x_113 = lean_box(0); +} +x_114 = lean_ctor_get(x_107, 0); +lean_inc(x_114); +x_115 = lean_ctor_get(x_107, 1); +lean_inc(x_115); +if (lean_is_exclusive(x_107)) { + lean_ctor_release(x_107, 0); + lean_ctor_release(x_107, 1); + lean_ctor_release(x_107, 2); + x_116 = x_107; +} else { + lean_dec_ref(x_107); + x_116 = lean_box(0); +} +if (lean_is_scalar(x_116)) { + x_117 = lean_alloc_ctor(0, 3, 0); +} else { + x_117 = x_116; +} +lean_ctor_set(x_117, 0, x_114); +lean_ctor_set(x_117, 1, x_115); +lean_ctor_set(x_117, 2, x_24); +if (lean_is_scalar(x_113)) { + x_118 = lean_alloc_ctor(0, 6, 0); +} else { + x_118 = x_113; +} +lean_ctor_set(x_118, 0, x_108); +lean_ctor_set(x_118, 1, x_109); +lean_ctor_set(x_118, 2, x_117); +lean_ctor_set(x_118, 3, x_110); +lean_ctor_set(x_118, 4, x_111); +lean_ctor_set(x_118, 5, x_112); +x_119 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_119, 0, x_106); +lean_ctor_set(x_119, 1, x_118); +return x_119; +} +} +else +{ +lean_object* x_120; lean_object* x_121; +x_120 = lean_ctor_get(x_58, 0); +lean_inc(x_120); +x_121 = lean_ctor_get(x_58, 1); +lean_inc(x_121); +lean_dec(x_58); +x_25 = x_120; +x_26 = x_121; goto block_48; } } else { -lean_object* x_97; lean_object* x_98; +lean_object* x_122; lean_object* x_123; lean_dec(x_19); lean_dec(x_14); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_97 = lean_ctor_get(x_51, 0); -lean_inc(x_97); -x_98 = lean_ctor_get(x_51, 1); -lean_inc(x_98); +x_122 = lean_ctor_get(x_53, 0); +lean_inc(x_122); +x_123 = lean_ctor_get(x_53, 1); +lean_inc(x_123); +lean_dec(x_53); +x_25 = x_122; +x_26 = x_123; +goto block_48; +} +} +else +{ +lean_object* x_124; lean_object* x_125; +lean_dec(x_19); +lean_dec(x_14); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_124 = lean_ctor_get(x_51, 0); +lean_inc(x_124); +x_125 = lean_ctor_get(x_51, 1); +lean_inc(x_125); lean_dec(x_51); -x_25 = x_97; -x_26 = x_98; +x_25 = x_124; +x_26 = x_125; goto block_48; } block_48: @@ -7271,535 +7868,575 @@ return x_47; } else { -lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; -x_99 = lean_ctor_get(x_22, 0); -x_100 = lean_ctor_get(x_22, 1); -x_101 = lean_ctor_get(x_22, 2); -lean_inc(x_101); -lean_inc(x_100); -lean_inc(x_99); +lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; +x_126 = lean_ctor_get(x_22, 0); +x_127 = lean_ctor_get(x_22, 1); +x_128 = lean_ctor_get(x_22, 2); +lean_inc(x_128); +lean_inc(x_127); +lean_inc(x_126); lean_dec(x_22); -x_118 = l_Lean_Meta_resettingSynthInstanceCache___rarg___closed__1; -x_119 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_119, 0, x_99); -lean_ctor_set(x_119, 1, x_100); -lean_ctor_set(x_119, 2, x_118); -lean_ctor_set(x_8, 2, x_119); -x_120 = l_Lean_Meta_introNCoreAux___main___rarg___lambda__1___closed__2; +x_145 = l_Lean_Meta_resettingSynthInstanceCache___rarg___closed__1; +x_146 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_146, 0, x_126); +lean_ctor_set(x_146, 1, x_127); +lean_ctor_set(x_146, 2, x_145); +lean_ctor_set(x_8, 2, x_146); +x_147 = l_Lean_Meta_introNCoreAux___main___rarg___lambda__1___closed__2; lean_inc(x_1); -x_121 = l_Lean_Meta_checkNotAssigned(x_1, x_120, x_19, x_8); -if (lean_obj_tag(x_121) == 0) +x_148 = l_Lean_Meta_checkNotAssigned(x_1, x_147, x_19, x_8); +if (lean_obj_tag(x_148) == 0) { -lean_object* x_122; lean_object* x_123; -x_122 = lean_ctor_get(x_121, 1); -lean_inc(x_122); -lean_dec(x_121); +lean_object* x_149; lean_object* x_150; +x_149 = lean_ctor_get(x_148, 1); +lean_inc(x_149); +lean_dec(x_148); lean_inc(x_1); -x_123 = l_Lean_Meta_getMVarType(x_1, x_19, x_122); -if (lean_obj_tag(x_123) == 0) +x_150 = l_Lean_Meta_getMVarType(x_1, x_19, x_149); +if (lean_obj_tag(x_150) == 0) { -lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; -x_124 = lean_ctor_get(x_123, 0); -lean_inc(x_124); -x_125 = lean_ctor_get(x_123, 1); -lean_inc(x_125); -lean_dec(x_123); -x_126 = l_Array_empty___closed__1; -x_127 = lean_unsigned_to_nat(0u); -x_128 = l_Lean_Meta_introNCoreAux___main___at_Lean_Meta_introN___spec__2(x_1, x_2, x_14, x_126, x_127, x_3, x_124, x_19, x_125); -if (lean_obj_tag(x_128) == 0) +lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; +x_151 = lean_ctor_get(x_150, 0); +lean_inc(x_151); +x_152 = lean_ctor_get(x_150, 1); +lean_inc(x_152); +lean_dec(x_150); +x_153 = l_Array_empty___closed__1; +x_154 = lean_unsigned_to_nat(0u); +x_155 = l_Lean_Meta_introNCoreAux___main___at_Lean_Meta_introN___spec__2(x_1, x_2, x_14, x_153, x_154, x_3, x_151, x_19, x_152); +if (lean_obj_tag(x_155) == 0) { -lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; +lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_dec(x_9); -x_129 = lean_ctor_get(x_128, 1); -lean_inc(x_129); -x_130 = lean_ctor_get(x_129, 2); -lean_inc(x_130); -x_131 = lean_ctor_get(x_128, 0); +x_156 = lean_ctor_get(x_155, 0); +lean_inc(x_156); +x_157 = lean_ctor_get(x_155, 1); +lean_inc(x_157); +if (lean_is_exclusive(x_155)) { + lean_ctor_release(x_155, 0); + lean_ctor_release(x_155, 1); + x_158 = x_155; +} else { + lean_dec_ref(x_155); + x_158 = lean_box(0); +} +x_159 = lean_ctor_get(x_156, 0); +lean_inc(x_159); +x_160 = lean_ctor_get(x_156, 1); +lean_inc(x_160); +if (lean_is_exclusive(x_156)) { + lean_ctor_release(x_156, 0); + lean_ctor_release(x_156, 1); + x_161 = x_156; +} else { + lean_dec_ref(x_156); + x_161 = lean_box(0); +} +x_162 = l_Array_umapMAux___main___at_Lean_Meta_introN___spec__5(x_154, x_159); +if (lean_is_scalar(x_161)) { + x_163 = lean_alloc_ctor(0, 2, 0); +} else { + x_163 = x_161; +} +lean_ctor_set(x_163, 0, x_162); +lean_ctor_set(x_163, 1, x_160); +x_164 = lean_ctor_get(x_157, 2); +lean_inc(x_164); +x_165 = lean_ctor_get(x_157, 0); +lean_inc(x_165); +x_166 = lean_ctor_get(x_157, 1); +lean_inc(x_166); +x_167 = lean_ctor_get(x_157, 3); +lean_inc(x_167); +x_168 = lean_ctor_get(x_157, 4); +lean_inc(x_168); +x_169 = lean_ctor_get(x_157, 5); +lean_inc(x_169); +if (lean_is_exclusive(x_157)) { + lean_ctor_release(x_157, 0); + lean_ctor_release(x_157, 1); + lean_ctor_release(x_157, 2); + lean_ctor_release(x_157, 3); + lean_ctor_release(x_157, 4); + lean_ctor_release(x_157, 5); + x_170 = x_157; +} else { + lean_dec_ref(x_157); + x_170 = lean_box(0); +} +x_171 = lean_ctor_get(x_164, 0); +lean_inc(x_171); +x_172 = lean_ctor_get(x_164, 1); +lean_inc(x_172); +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_173 = x_164; +} else { + lean_dec_ref(x_164); + x_173 = lean_box(0); +} +if (lean_is_scalar(x_173)) { + x_174 = lean_alloc_ctor(0, 3, 0); +} else { + x_174 = x_173; +} +lean_ctor_set(x_174, 0, x_171); +lean_ctor_set(x_174, 1, x_172); +lean_ctor_set(x_174, 2, x_128); +if (lean_is_scalar(x_170)) { + x_175 = lean_alloc_ctor(0, 6, 0); +} else { + x_175 = x_170; +} +lean_ctor_set(x_175, 0, x_165); +lean_ctor_set(x_175, 1, x_166); +lean_ctor_set(x_175, 2, x_174); +lean_ctor_set(x_175, 3, x_167); +lean_ctor_set(x_175, 4, x_168); +lean_ctor_set(x_175, 5, x_169); +if (lean_is_scalar(x_158)) { + x_176 = lean_alloc_ctor(0, 2, 0); +} else { + x_176 = x_158; +} +lean_ctor_set(x_176, 0, x_163); +lean_ctor_set(x_176, 1, x_175); +return x_176; +} +else +{ +lean_object* x_177; lean_object* x_178; +x_177 = lean_ctor_get(x_155, 0); +lean_inc(x_177); +x_178 = lean_ctor_get(x_155, 1); +lean_inc(x_178); +lean_dec(x_155); +x_129 = x_177; +x_130 = x_178; +goto block_144; +} +} +else +{ +lean_object* x_179; lean_object* x_180; +lean_dec(x_19); +lean_dec(x_14); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_179 = lean_ctor_get(x_150, 0); +lean_inc(x_179); +x_180 = lean_ctor_get(x_150, 1); +lean_inc(x_180); +lean_dec(x_150); +x_129 = x_179; +x_130 = x_180; +goto block_144; +} +} +else +{ +lean_object* x_181; lean_object* x_182; +lean_dec(x_19); +lean_dec(x_14); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_181 = lean_ctor_get(x_148, 0); +lean_inc(x_181); +x_182 = lean_ctor_get(x_148, 1); +lean_inc(x_182); +lean_dec(x_148); +x_129 = x_181; +x_130 = x_182; +goto block_144; +} +block_144: +{ +lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; +x_131 = lean_ctor_get(x_130, 2); lean_inc(x_131); -if (lean_is_exclusive(x_128)) { - lean_ctor_release(x_128, 0); - lean_ctor_release(x_128, 1); - x_132 = x_128; -} else { - lean_dec_ref(x_128); - x_132 = lean_box(0); -} -x_133 = lean_ctor_get(x_129, 0); +x_132 = lean_ctor_get(x_130, 0); +lean_inc(x_132); +x_133 = lean_ctor_get(x_130, 1); lean_inc(x_133); -x_134 = lean_ctor_get(x_129, 1); +x_134 = lean_ctor_get(x_130, 3); lean_inc(x_134); -x_135 = lean_ctor_get(x_129, 3); +x_135 = lean_ctor_get(x_130, 4); lean_inc(x_135); -x_136 = lean_ctor_get(x_129, 4); +x_136 = lean_ctor_get(x_130, 5); lean_inc(x_136); -x_137 = lean_ctor_get(x_129, 5); -lean_inc(x_137); -if (lean_is_exclusive(x_129)) { - lean_ctor_release(x_129, 0); - lean_ctor_release(x_129, 1); - lean_ctor_release(x_129, 2); - lean_ctor_release(x_129, 3); - lean_ctor_release(x_129, 4); - lean_ctor_release(x_129, 5); - x_138 = x_129; -} else { - lean_dec_ref(x_129); - x_138 = lean_box(0); -} -x_139 = lean_ctor_get(x_130, 0); -lean_inc(x_139); -x_140 = lean_ctor_get(x_130, 1); -lean_inc(x_140); if (lean_is_exclusive(x_130)) { lean_ctor_release(x_130, 0); lean_ctor_release(x_130, 1); lean_ctor_release(x_130, 2); - x_141 = x_130; + lean_ctor_release(x_130, 3); + lean_ctor_release(x_130, 4); + lean_ctor_release(x_130, 5); + x_137 = x_130; } else { lean_dec_ref(x_130); - x_141 = lean_box(0); + x_137 = lean_box(0); } -if (lean_is_scalar(x_141)) { - x_142 = lean_alloc_ctor(0, 3, 0); +x_138 = lean_ctor_get(x_131, 0); +lean_inc(x_138); +x_139 = lean_ctor_get(x_131, 1); +lean_inc(x_139); +if (lean_is_exclusive(x_131)) { + lean_ctor_release(x_131, 0); + lean_ctor_release(x_131, 1); + lean_ctor_release(x_131, 2); + x_140 = x_131; } else { - x_142 = x_141; + lean_dec_ref(x_131); + x_140 = lean_box(0); } -lean_ctor_set(x_142, 0, x_139); -lean_ctor_set(x_142, 1, x_140); -lean_ctor_set(x_142, 2, x_101); -if (lean_is_scalar(x_138)) { - x_143 = lean_alloc_ctor(0, 6, 0); +if (lean_is_scalar(x_140)) { + x_141 = lean_alloc_ctor(0, 3, 0); } else { - x_143 = x_138; + x_141 = x_140; } -lean_ctor_set(x_143, 0, x_133); -lean_ctor_set(x_143, 1, x_134); -lean_ctor_set(x_143, 2, x_142); -lean_ctor_set(x_143, 3, x_135); -lean_ctor_set(x_143, 4, x_136); -lean_ctor_set(x_143, 5, x_137); -if (lean_is_scalar(x_132)) { - x_144 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_141, 0, x_138); +lean_ctor_set(x_141, 1, x_139); +lean_ctor_set(x_141, 2, x_128); +if (lean_is_scalar(x_137)) { + x_142 = lean_alloc_ctor(0, 6, 0); } else { - x_144 = x_132; + x_142 = x_137; } -lean_ctor_set(x_144, 0, x_131); -lean_ctor_set(x_144, 1, x_143); -return x_144; -} -else -{ -lean_object* x_145; lean_object* x_146; -x_145 = lean_ctor_get(x_128, 0); -lean_inc(x_145); -x_146 = lean_ctor_get(x_128, 1); -lean_inc(x_146); -lean_dec(x_128); -x_102 = x_145; -x_103 = x_146; -goto block_117; -} -} -else -{ -lean_object* x_147; lean_object* x_148; -lean_dec(x_19); -lean_dec(x_14); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_147 = lean_ctor_get(x_123, 0); -lean_inc(x_147); -x_148 = lean_ctor_get(x_123, 1); -lean_inc(x_148); -lean_dec(x_123); -x_102 = x_147; -x_103 = x_148; -goto block_117; -} -} -else -{ -lean_object* x_149; lean_object* x_150; -lean_dec(x_19); -lean_dec(x_14); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_149 = lean_ctor_get(x_121, 0); -lean_inc(x_149); -x_150 = lean_ctor_get(x_121, 1); -lean_inc(x_150); -lean_dec(x_121); -x_102 = x_149; -x_103 = x_150; -goto block_117; -} -block_117: -{ -lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; -x_104 = lean_ctor_get(x_103, 2); -lean_inc(x_104); -x_105 = lean_ctor_get(x_103, 0); -lean_inc(x_105); -x_106 = lean_ctor_get(x_103, 1); -lean_inc(x_106); -x_107 = lean_ctor_get(x_103, 3); -lean_inc(x_107); -x_108 = lean_ctor_get(x_103, 4); -lean_inc(x_108); -x_109 = lean_ctor_get(x_103, 5); -lean_inc(x_109); -if (lean_is_exclusive(x_103)) { - lean_ctor_release(x_103, 0); - lean_ctor_release(x_103, 1); - lean_ctor_release(x_103, 2); - lean_ctor_release(x_103, 3); - lean_ctor_release(x_103, 4); - lean_ctor_release(x_103, 5); - x_110 = x_103; -} else { - lean_dec_ref(x_103); - x_110 = lean_box(0); -} -x_111 = lean_ctor_get(x_104, 0); -lean_inc(x_111); -x_112 = lean_ctor_get(x_104, 1); -lean_inc(x_112); -if (lean_is_exclusive(x_104)) { - lean_ctor_release(x_104, 0); - lean_ctor_release(x_104, 1); - lean_ctor_release(x_104, 2); - x_113 = x_104; -} else { - lean_dec_ref(x_104); - x_113 = lean_box(0); -} -if (lean_is_scalar(x_113)) { - x_114 = lean_alloc_ctor(0, 3, 0); -} else { - x_114 = x_113; -} -lean_ctor_set(x_114, 0, x_111); -lean_ctor_set(x_114, 1, x_112); -lean_ctor_set(x_114, 2, x_101); -if (lean_is_scalar(x_110)) { - x_115 = lean_alloc_ctor(0, 6, 0); -} else { - x_115 = x_110; -} -lean_ctor_set(x_115, 0, x_105); -lean_ctor_set(x_115, 1, x_106); -lean_ctor_set(x_115, 2, x_114); -lean_ctor_set(x_115, 3, x_107); -lean_ctor_set(x_115, 4, x_108); -lean_ctor_set(x_115, 5, x_109); +lean_ctor_set(x_142, 0, x_132); +lean_ctor_set(x_142, 1, x_133); +lean_ctor_set(x_142, 2, x_141); +lean_ctor_set(x_142, 3, x_134); +lean_ctor_set(x_142, 4, x_135); +lean_ctor_set(x_142, 5, x_136); if (lean_is_scalar(x_9)) { - x_116 = lean_alloc_ctor(1, 2, 0); + x_143 = lean_alloc_ctor(1, 2, 0); } else { - x_116 = x_9; - lean_ctor_set_tag(x_116, 1); + x_143 = x_9; + lean_ctor_set_tag(x_143, 1); } -lean_ctor_set(x_116, 0, x_102); -lean_ctor_set(x_116, 1, x_115); -return x_116; +lean_ctor_set(x_143, 0, x_129); +lean_ctor_set(x_143, 1, x_142); +return x_143; } } } else { -lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; -x_151 = lean_ctor_get(x_8, 2); -x_152 = lean_ctor_get(x_8, 0); -x_153 = lean_ctor_get(x_8, 1); -x_154 = lean_ctor_get(x_8, 3); -x_155 = lean_ctor_get(x_8, 4); -x_156 = lean_ctor_get(x_8, 5); -lean_inc(x_156); -lean_inc(x_155); -lean_inc(x_154); -lean_inc(x_151); -lean_inc(x_153); -lean_inc(x_152); -lean_dec(x_8); -x_157 = lean_ctor_get(x_151, 0); -lean_inc(x_157); -x_158 = lean_ctor_get(x_151, 1); -lean_inc(x_158); -x_159 = lean_ctor_get(x_151, 2); -lean_inc(x_159); -if (lean_is_exclusive(x_151)) { - lean_ctor_release(x_151, 0); - lean_ctor_release(x_151, 1); - lean_ctor_release(x_151, 2); - x_160 = x_151; -} else { - lean_dec_ref(x_151); - x_160 = lean_box(0); -} -x_177 = l_Lean_Meta_resettingSynthInstanceCache___rarg___closed__1; -if (lean_is_scalar(x_160)) { - x_178 = lean_alloc_ctor(0, 3, 0); -} else { - x_178 = x_160; -} -lean_ctor_set(x_178, 0, x_157); -lean_ctor_set(x_178, 1, x_158); -lean_ctor_set(x_178, 2, x_177); -x_179 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_179, 0, x_152); -lean_ctor_set(x_179, 1, x_153); -lean_ctor_set(x_179, 2, x_178); -lean_ctor_set(x_179, 3, x_154); -lean_ctor_set(x_179, 4, x_155); -lean_ctor_set(x_179, 5, x_156); -x_180 = l_Lean_Meta_introNCoreAux___main___rarg___lambda__1___closed__2; -lean_inc(x_1); -x_181 = l_Lean_Meta_checkNotAssigned(x_1, x_180, x_19, x_179); -if (lean_obj_tag(x_181) == 0) -{ -lean_object* x_182; lean_object* x_183; -x_182 = lean_ctor_get(x_181, 1); -lean_inc(x_182); -lean_dec(x_181); -lean_inc(x_1); -x_183 = l_Lean_Meta_getMVarType(x_1, x_19, x_182); -if (lean_obj_tag(x_183) == 0) -{ -lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; -x_184 = lean_ctor_get(x_183, 0); -lean_inc(x_184); -x_185 = lean_ctor_get(x_183, 1); +lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; +x_183 = lean_ctor_get(x_8, 2); +x_184 = lean_ctor_get(x_8, 0); +x_185 = lean_ctor_get(x_8, 1); +x_186 = lean_ctor_get(x_8, 3); +x_187 = lean_ctor_get(x_8, 4); +x_188 = lean_ctor_get(x_8, 5); +lean_inc(x_188); +lean_inc(x_187); +lean_inc(x_186); +lean_inc(x_183); lean_inc(x_185); -lean_dec(x_183); -x_186 = l_Array_empty___closed__1; -x_187 = lean_unsigned_to_nat(0u); -x_188 = l_Lean_Meta_introNCoreAux___main___at_Lean_Meta_introN___spec__2(x_1, x_2, x_14, x_186, x_187, x_3, x_184, x_19, x_185); -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; 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_9); -x_189 = lean_ctor_get(x_188, 1); +lean_inc(x_184); +lean_dec(x_8); +x_189 = lean_ctor_get(x_183, 0); lean_inc(x_189); -x_190 = lean_ctor_get(x_189, 2); +x_190 = lean_ctor_get(x_183, 1); lean_inc(x_190); -x_191 = lean_ctor_get(x_188, 0); +x_191 = lean_ctor_get(x_183, 2); lean_inc(x_191); -if (lean_is_exclusive(x_188)) { - lean_ctor_release(x_188, 0); - lean_ctor_release(x_188, 1); - x_192 = x_188; +if (lean_is_exclusive(x_183)) { + lean_ctor_release(x_183, 0); + lean_ctor_release(x_183, 1); + lean_ctor_release(x_183, 2); + x_192 = x_183; } else { - lean_dec_ref(x_188); + lean_dec_ref(x_183); x_192 = lean_box(0); } -x_193 = lean_ctor_get(x_189, 0); -lean_inc(x_193); -x_194 = lean_ctor_get(x_189, 1); -lean_inc(x_194); -x_195 = lean_ctor_get(x_189, 3); -lean_inc(x_195); -x_196 = lean_ctor_get(x_189, 4); -lean_inc(x_196); -x_197 = lean_ctor_get(x_189, 5); -lean_inc(x_197); -if (lean_is_exclusive(x_189)) { - lean_ctor_release(x_189, 0); - lean_ctor_release(x_189, 1); - lean_ctor_release(x_189, 2); - lean_ctor_release(x_189, 3); - lean_ctor_release(x_189, 4); - lean_ctor_release(x_189, 5); - x_198 = x_189; +x_209 = l_Lean_Meta_resettingSynthInstanceCache___rarg___closed__1; +if (lean_is_scalar(x_192)) { + x_210 = lean_alloc_ctor(0, 3, 0); } else { - lean_dec_ref(x_189); - x_198 = lean_box(0); + x_210 = x_192; } -x_199 = lean_ctor_get(x_190, 0); -lean_inc(x_199); -x_200 = lean_ctor_get(x_190, 1); -lean_inc(x_200); -if (lean_is_exclusive(x_190)) { - lean_ctor_release(x_190, 0); - lean_ctor_release(x_190, 1); - lean_ctor_release(x_190, 2); - x_201 = x_190; +lean_ctor_set(x_210, 0, x_189); +lean_ctor_set(x_210, 1, x_190); +lean_ctor_set(x_210, 2, x_209); +x_211 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_211, 0, x_184); +lean_ctor_set(x_211, 1, x_185); +lean_ctor_set(x_211, 2, x_210); +lean_ctor_set(x_211, 3, x_186); +lean_ctor_set(x_211, 4, x_187); +lean_ctor_set(x_211, 5, x_188); +x_212 = l_Lean_Meta_introNCoreAux___main___rarg___lambda__1___closed__2; +lean_inc(x_1); +x_213 = l_Lean_Meta_checkNotAssigned(x_1, x_212, x_19, x_211); +if (lean_obj_tag(x_213) == 0) +{ +lean_object* x_214; lean_object* x_215; +x_214 = lean_ctor_get(x_213, 1); +lean_inc(x_214); +lean_dec(x_213); +lean_inc(x_1); +x_215 = l_Lean_Meta_getMVarType(x_1, x_19, x_214); +if (lean_obj_tag(x_215) == 0) +{ +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_215, 0); +lean_inc(x_216); +x_217 = lean_ctor_get(x_215, 1); +lean_inc(x_217); +lean_dec(x_215); +x_218 = l_Array_empty___closed__1; +x_219 = lean_unsigned_to_nat(0u); +x_220 = l_Lean_Meta_introNCoreAux___main___at_Lean_Meta_introN___spec__2(x_1, x_2, x_14, x_218, x_219, x_3, x_216, x_19, x_217); +if (lean_obj_tag(x_220) == 0) +{ +lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; +lean_dec(x_9); +x_221 = lean_ctor_get(x_220, 0); +lean_inc(x_221); +x_222 = lean_ctor_get(x_220, 1); +lean_inc(x_222); +if (lean_is_exclusive(x_220)) { + lean_ctor_release(x_220, 0); + lean_ctor_release(x_220, 1); + x_223 = x_220; } else { - lean_dec_ref(x_190); + lean_dec_ref(x_220); + x_223 = lean_box(0); +} +x_224 = lean_ctor_get(x_221, 0); +lean_inc(x_224); +x_225 = lean_ctor_get(x_221, 1); +lean_inc(x_225); +if (lean_is_exclusive(x_221)) { + lean_ctor_release(x_221, 0); + lean_ctor_release(x_221, 1); + x_226 = x_221; +} else { + lean_dec_ref(x_221); + x_226 = lean_box(0); +} +x_227 = l_Array_umapMAux___main___at_Lean_Meta_introN___spec__5(x_219, x_224); +if (lean_is_scalar(x_226)) { + x_228 = lean_alloc_ctor(0, 2, 0); +} else { + x_228 = x_226; +} +lean_ctor_set(x_228, 0, x_227); +lean_ctor_set(x_228, 1, x_225); +x_229 = lean_ctor_get(x_222, 2); +lean_inc(x_229); +x_230 = lean_ctor_get(x_222, 0); +lean_inc(x_230); +x_231 = lean_ctor_get(x_222, 1); +lean_inc(x_231); +x_232 = lean_ctor_get(x_222, 3); +lean_inc(x_232); +x_233 = lean_ctor_get(x_222, 4); +lean_inc(x_233); +x_234 = lean_ctor_get(x_222, 5); +lean_inc(x_234); +if (lean_is_exclusive(x_222)) { + lean_ctor_release(x_222, 0); + lean_ctor_release(x_222, 1); + lean_ctor_release(x_222, 2); + lean_ctor_release(x_222, 3); + lean_ctor_release(x_222, 4); + lean_ctor_release(x_222, 5); + x_235 = x_222; +} else { + lean_dec_ref(x_222); + x_235 = lean_box(0); +} +x_236 = lean_ctor_get(x_229, 0); +lean_inc(x_236); +x_237 = lean_ctor_get(x_229, 1); +lean_inc(x_237); +if (lean_is_exclusive(x_229)) { + lean_ctor_release(x_229, 0); + lean_ctor_release(x_229, 1); + lean_ctor_release(x_229, 2); + x_238 = x_229; +} else { + lean_dec_ref(x_229); + x_238 = lean_box(0); +} +if (lean_is_scalar(x_238)) { + x_239 = lean_alloc_ctor(0, 3, 0); +} else { + x_239 = x_238; +} +lean_ctor_set(x_239, 0, x_236); +lean_ctor_set(x_239, 1, x_237); +lean_ctor_set(x_239, 2, x_191); +if (lean_is_scalar(x_235)) { + x_240 = lean_alloc_ctor(0, 6, 0); +} else { + x_240 = x_235; +} +lean_ctor_set(x_240, 0, x_230); +lean_ctor_set(x_240, 1, x_231); +lean_ctor_set(x_240, 2, x_239); +lean_ctor_set(x_240, 3, x_232); +lean_ctor_set(x_240, 4, x_233); +lean_ctor_set(x_240, 5, x_234); +if (lean_is_scalar(x_223)) { + x_241 = lean_alloc_ctor(0, 2, 0); +} else { + x_241 = x_223; +} +lean_ctor_set(x_241, 0, x_228); +lean_ctor_set(x_241, 1, x_240); +return x_241; +} +else +{ +lean_object* x_242; lean_object* x_243; +x_242 = lean_ctor_get(x_220, 0); +lean_inc(x_242); +x_243 = lean_ctor_get(x_220, 1); +lean_inc(x_243); +lean_dec(x_220); +x_193 = x_242; +x_194 = x_243; +goto block_208; +} +} +else +{ +lean_object* x_244; lean_object* x_245; +lean_dec(x_19); +lean_dec(x_14); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_244 = lean_ctor_get(x_215, 0); +lean_inc(x_244); +x_245 = lean_ctor_get(x_215, 1); +lean_inc(x_245); +lean_dec(x_215); +x_193 = x_244; +x_194 = x_245; +goto block_208; +} +} +else +{ +lean_object* x_246; lean_object* x_247; +lean_dec(x_19); +lean_dec(x_14); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_246 = lean_ctor_get(x_213, 0); +lean_inc(x_246); +x_247 = lean_ctor_get(x_213, 1); +lean_inc(x_247); +lean_dec(x_213); +x_193 = x_246; +x_194 = x_247; +goto block_208; +} +block_208: +{ +lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; +x_195 = lean_ctor_get(x_194, 2); +lean_inc(x_195); +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, 3); +lean_inc(x_198); +x_199 = lean_ctor_get(x_194, 4); +lean_inc(x_199); +x_200 = lean_ctor_get(x_194, 5); +lean_inc(x_200); +if (lean_is_exclusive(x_194)) { + lean_ctor_release(x_194, 0); + lean_ctor_release(x_194, 1); + lean_ctor_release(x_194, 2); + lean_ctor_release(x_194, 3); + lean_ctor_release(x_194, 4); + lean_ctor_release(x_194, 5); + x_201 = x_194; +} else { + lean_dec_ref(x_194); x_201 = lean_box(0); } +x_202 = lean_ctor_get(x_195, 0); +lean_inc(x_202); +x_203 = lean_ctor_get(x_195, 1); +lean_inc(x_203); +if (lean_is_exclusive(x_195)) { + lean_ctor_release(x_195, 0); + lean_ctor_release(x_195, 1); + lean_ctor_release(x_195, 2); + x_204 = x_195; +} else { + lean_dec_ref(x_195); + x_204 = lean_box(0); +} +if (lean_is_scalar(x_204)) { + x_205 = lean_alloc_ctor(0, 3, 0); +} else { + x_205 = x_204; +} +lean_ctor_set(x_205, 0, x_202); +lean_ctor_set(x_205, 1, x_203); +lean_ctor_set(x_205, 2, x_191); if (lean_is_scalar(x_201)) { - x_202 = lean_alloc_ctor(0, 3, 0); + x_206 = lean_alloc_ctor(0, 6, 0); } else { - x_202 = x_201; + x_206 = x_201; } -lean_ctor_set(x_202, 0, x_199); -lean_ctor_set(x_202, 1, x_200); -lean_ctor_set(x_202, 2, x_159); -if (lean_is_scalar(x_198)) { - x_203 = lean_alloc_ctor(0, 6, 0); -} else { - x_203 = x_198; -} -lean_ctor_set(x_203, 0, x_193); -lean_ctor_set(x_203, 1, x_194); -lean_ctor_set(x_203, 2, x_202); -lean_ctor_set(x_203, 3, x_195); -lean_ctor_set(x_203, 4, x_196); -lean_ctor_set(x_203, 5, x_197); -if (lean_is_scalar(x_192)) { - x_204 = lean_alloc_ctor(0, 2, 0); -} else { - x_204 = x_192; -} -lean_ctor_set(x_204, 0, x_191); -lean_ctor_set(x_204, 1, x_203); -return x_204; -} -else -{ -lean_object* x_205; lean_object* x_206; -x_205 = lean_ctor_get(x_188, 0); -lean_inc(x_205); -x_206 = lean_ctor_get(x_188, 1); -lean_inc(x_206); -lean_dec(x_188); -x_161 = x_205; -x_162 = x_206; -goto block_176; -} -} -else -{ -lean_object* x_207; lean_object* x_208; -lean_dec(x_19); -lean_dec(x_14); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_207 = lean_ctor_get(x_183, 0); -lean_inc(x_207); -x_208 = lean_ctor_get(x_183, 1); -lean_inc(x_208); -lean_dec(x_183); -x_161 = x_207; -x_162 = x_208; -goto block_176; -} -} -else -{ -lean_object* x_209; lean_object* x_210; -lean_dec(x_19); -lean_dec(x_14); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_209 = lean_ctor_get(x_181, 0); -lean_inc(x_209); -x_210 = lean_ctor_get(x_181, 1); -lean_inc(x_210); -lean_dec(x_181); -x_161 = x_209; -x_162 = x_210; -goto block_176; -} -block_176: -{ -lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; -x_163 = lean_ctor_get(x_162, 2); -lean_inc(x_163); -x_164 = lean_ctor_get(x_162, 0); -lean_inc(x_164); -x_165 = lean_ctor_get(x_162, 1); -lean_inc(x_165); -x_166 = lean_ctor_get(x_162, 3); -lean_inc(x_166); -x_167 = lean_ctor_get(x_162, 4); -lean_inc(x_167); -x_168 = lean_ctor_get(x_162, 5); -lean_inc(x_168); -if (lean_is_exclusive(x_162)) { - lean_ctor_release(x_162, 0); - lean_ctor_release(x_162, 1); - lean_ctor_release(x_162, 2); - lean_ctor_release(x_162, 3); - lean_ctor_release(x_162, 4); - lean_ctor_release(x_162, 5); - x_169 = x_162; -} else { - lean_dec_ref(x_162); - x_169 = lean_box(0); -} -x_170 = lean_ctor_get(x_163, 0); -lean_inc(x_170); -x_171 = lean_ctor_get(x_163, 1); -lean_inc(x_171); -if (lean_is_exclusive(x_163)) { - lean_ctor_release(x_163, 0); - lean_ctor_release(x_163, 1); - lean_ctor_release(x_163, 2); - x_172 = x_163; -} else { - lean_dec_ref(x_163); - x_172 = lean_box(0); -} -if (lean_is_scalar(x_172)) { - x_173 = lean_alloc_ctor(0, 3, 0); -} else { - x_173 = x_172; -} -lean_ctor_set(x_173, 0, x_170); -lean_ctor_set(x_173, 1, x_171); -lean_ctor_set(x_173, 2, x_159); -if (lean_is_scalar(x_169)) { - x_174 = lean_alloc_ctor(0, 6, 0); -} else { - x_174 = x_169; -} -lean_ctor_set(x_174, 0, x_164); -lean_ctor_set(x_174, 1, x_165); -lean_ctor_set(x_174, 2, x_173); -lean_ctor_set(x_174, 3, x_166); -lean_ctor_set(x_174, 4, x_167); -lean_ctor_set(x_174, 5, x_168); +lean_ctor_set(x_206, 0, x_196); +lean_ctor_set(x_206, 1, x_197); +lean_ctor_set(x_206, 2, x_205); +lean_ctor_set(x_206, 3, x_198); +lean_ctor_set(x_206, 4, x_199); +lean_ctor_set(x_206, 5, x_200); if (lean_is_scalar(x_9)) { - x_175 = lean_alloc_ctor(1, 2, 0); + x_207 = lean_alloc_ctor(1, 2, 0); } else { - x_175 = x_9; - lean_ctor_set_tag(x_175, 1); + x_207 = x_9; + lean_ctor_set_tag(x_207, 1); } -lean_ctor_set(x_175, 0, x_161); -lean_ctor_set(x_175, 1, x_174); -return x_175; +lean_ctor_set(x_207, 0, x_193); +lean_ctor_set(x_207, 1, x_206); +return x_207; } } } } else { -uint8_t x_232; +uint8_t x_290; lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_232 = !lean_is_exclusive(x_6); -if (x_232 == 0) +x_290 = !lean_is_exclusive(x_6); +if (x_290 == 0) { return x_6; } else { -lean_object* x_233; lean_object* x_234; lean_object* x_235; -x_233 = lean_ctor_get(x_6, 0); -x_234 = lean_ctor_get(x_6, 1); -lean_inc(x_234); -lean_inc(x_233); +lean_object* x_291; lean_object* x_292; lean_object* x_293; +x_291 = lean_ctor_get(x_6, 0); +x_292 = lean_ctor_get(x_6, 1); +lean_inc(x_292); +lean_inc(x_291); lean_dec(x_6); -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; +x_293 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_293, 0, x_291); +lean_ctor_set(x_293, 1, x_292); +return x_293; } } } @@ -7832,11 +8469,11 @@ lean_dec(x_4); return x_13; } } -lean_object* l_Array_isEqvAux___main___at_Lean_Meta_introN___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_Array_isEqvAux___main___at_Lean_Meta_introN___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { uint8_t x_7; lean_object* x_8; -x_7 = l_Array_isEqvAux___main___at_Lean_Meta_introN___spec__5(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Array_isEqvAux___main___at_Lean_Meta_introN___spec__6(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); @@ -7886,7 +8523,7 @@ if (x_11 == 0) { lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; x_12 = lean_ctor_get(x_10, 0); -x_13 = l_Lean_Expr_Inhabited; +x_13 = l_Lean_Name_inhabited; x_14 = lean_unsigned_to_nat(0u); x_15 = lean_array_get(x_13, x_12, x_14); lean_dec(x_12); @@ -7901,7 +8538,7 @@ x_17 = lean_ctor_get(x_10, 1); lean_inc(x_17); lean_inc(x_16); lean_dec(x_10); -x_18 = l_Lean_Expr_Inhabited; +x_18 = l_Lean_Name_inhabited; x_19 = lean_unsigned_to_nat(0u); x_20 = lean_array_get(x_18, x_16, x_19); lean_dec(x_16); @@ -7932,7 +8569,7 @@ if (lean_is_exclusive(x_22)) { lean_dec_ref(x_22); x_26 = lean_box(0); } -x_27 = l_Lean_Expr_Inhabited; +x_27 = l_Lean_Name_inhabited; x_28 = lean_unsigned_to_nat(0u); x_29 = lean_array_get(x_27, x_24, x_28); lean_dec(x_24); @@ -8002,7 +8639,7 @@ if (x_9 == 0) { lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; x_10 = lean_ctor_get(x_8, 0); -x_11 = l_Lean_Expr_Inhabited; +x_11 = l_Lean_Name_inhabited; x_12 = lean_unsigned_to_nat(0u); x_13 = lean_array_get(x_11, x_10, x_12); lean_dec(x_10); @@ -8017,7 +8654,7 @@ x_15 = lean_ctor_get(x_8, 1); lean_inc(x_15); lean_inc(x_14); lean_dec(x_8); -x_16 = l_Lean_Expr_Inhabited; +x_16 = l_Lean_Name_inhabited; x_17 = lean_unsigned_to_nat(0u); x_18 = lean_array_get(x_16, x_14, x_17); lean_dec(x_14); @@ -8048,7 +8685,7 @@ if (lean_is_exclusive(x_20)) { lean_dec_ref(x_20); x_24 = lean_box(0); } -x_25 = l_Lean_Expr_Inhabited; +x_25 = l_Lean_Name_inhabited; x_26 = lean_unsigned_to_nat(0u); x_27 = lean_array_get(x_25, x_22, x_26); lean_dec(x_22); @@ -8119,6 +8756,8 @@ l_Lean_Meta_introNCoreAux___main___rarg___lambda__1___closed__5 = _init_l_Lean_M lean_mark_persistent(l_Lean_Meta_introNCoreAux___main___rarg___lambda__1___closed__5); l_Lean_Meta_introNCoreAux___main___rarg___closed__1 = _init_l_Lean_Meta_introNCoreAux___main___rarg___closed__1(); lean_mark_persistent(l_Lean_Meta_introNCoreAux___main___rarg___closed__1); +l_Lean_Meta_introNCore___rarg___closed__1 = _init_l_Lean_Meta_introNCore___rarg___closed__1(); +lean_mark_persistent(l_Lean_Meta_introNCore___rarg___closed__1); l_Lean_Meta_mkAuxName___closed__1 = _init_l_Lean_Meta_mkAuxName___closed__1(); lean_mark_persistent(l_Lean_Meta_mkAuxName___closed__1); return lean_mk_io_result(lean_box(0)); diff --git a/stage0/stdlib/Init/Lean/Meta/Tactic/Revert.c b/stage0/stdlib/Init/Lean/Meta/Tactic/Revert.c index f688b88df5..b5a2042d96 100644 --- a/stage0/stdlib/Init/Lean/Meta/Tactic/Revert.c +++ b/stage0/stdlib/Init/Lean/Meta/Tactic/Revert.c @@ -18,7 +18,7 @@ lean_object* lean_array_set(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_mvarId_x21(lean_object*); lean_object* l_Lean_mkMVar(lean_object*); extern lean_object* l_Array_empty___closed__1; -lean_object* l_Lean_Meta_elimMVarDeps(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_elimMVarDeps(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); extern lean_object* l_Lean_Expr_getAppArgs___closed__1; lean_object* lean_nat_add(lean_object*, lean_object*); @@ -32,8 +32,9 @@ lean_object* l_Lean_Expr_fvarId_x21(lean_object*); lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); lean_object* l_Array_umapMAux___main___at_Lean_Meta_revert___spec__2(lean_object*, lean_object*); lean_object* lean_name_mk_string(lean_object*, lean_object*); -lean_object* l_Lean_Meta_revert(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_revert___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_revert(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); +lean_object* l_Lean_Meta_revert___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_setMVarKind(lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Meta_revert___closed__1; uint8_t l_Array_isEmpty___rarg(lean_object*); lean_object* l_Lean_mkFVar(lean_object*); @@ -212,1028 +213,1107 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_Meta_revert(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Meta_revert(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5) { _start: { -uint8_t x_5; -x_5 = l_Array_isEmpty___rarg(x_2); -if (x_5 == 0) +uint8_t x_6; +x_6 = l_Array_isEmpty___rarg(x_2); +if (x_6 == 0) { -lean_object* x_6; +lean_object* x_7; lean_inc(x_1); -x_6 = l_Lean_Meta_getMVarDecl(x_1, x_3, x_4); -if (lean_obj_tag(x_6) == 0) +x_7 = l_Lean_Meta_getMVarDecl(x_1, x_4, x_5); +if (lean_obj_tag(x_7) == 0) { -lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; 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_7 = lean_ctor_get(x_6, 0); -lean_inc(x_7); -x_8 = lean_ctor_get(x_6, 1); +lean_object* x_8; lean_object* x_9; 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; uint8_t x_19; lean_object* x_20; lean_object* x_21; +x_8 = lean_ctor_get(x_7, 0); lean_inc(x_8); -if (lean_is_exclusive(x_6)) { - lean_ctor_release(x_6, 0); - lean_ctor_release(x_6, 1); - x_9 = x_6; +x_9 = lean_ctor_get(x_7, 1); +lean_inc(x_9); +if (lean_is_exclusive(x_7)) { + lean_ctor_release(x_7, 0); + lean_ctor_release(x_7, 1); + x_10 = x_7; } else { - lean_dec_ref(x_6); - x_9 = lean_box(0); + lean_dec_ref(x_7); + x_10 = lean_box(0); } -x_10 = lean_ctor_get(x_3, 0); -x_11 = lean_ctor_get(x_3, 2); -x_12 = lean_ctor_get(x_3, 3); -x_13 = lean_ctor_get(x_3, 4); -x_14 = lean_ctor_get(x_7, 1); -lean_inc(x_14); -x_15 = lean_ctor_get(x_7, 4); +x_11 = lean_ctor_get(x_4, 0); +x_12 = lean_ctor_get(x_4, 2); +x_13 = lean_ctor_get(x_4, 3); +x_14 = lean_ctor_get(x_4, 4); +x_15 = lean_ctor_get(x_8, 1); lean_inc(x_15); -x_16 = lean_array_get_size(x_11); -x_17 = lean_array_get_size(x_15); -x_18 = lean_nat_dec_eq(x_16, x_17); +x_16 = lean_ctor_get(x_8, 4); +lean_inc(x_16); +x_17 = lean_array_get_size(x_12); +x_18 = lean_array_get_size(x_16); +x_19 = lean_nat_dec_eq(x_17, x_18); +lean_dec(x_18); lean_dec(x_17); -lean_dec(x_16); +lean_inc(x_14); lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_15); -lean_inc(x_10); -x_19 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_19, 0, x_10); -lean_ctor_set(x_19, 1, x_14); -lean_ctor_set(x_19, 2, x_15); -lean_ctor_set(x_19, 3, x_12); -lean_ctor_set(x_19, 4, x_13); -if (x_18 == 0) +lean_inc(x_16); +lean_inc(x_11); +x_20 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_20, 0, x_11); +lean_ctor_set(x_20, 1, x_15); +lean_ctor_set(x_20, 2, x_16); +lean_ctor_set(x_20, 3, x_13); +lean_ctor_set(x_20, 4, x_14); +if (x_19 == 0) { -lean_object* x_226; -lean_dec(x_15); -lean_dec(x_7); -x_226 = lean_box(0); -x_20 = x_226; -goto block_225; +lean_object* x_254; +lean_dec(x_16); +lean_dec(x_8); +x_254 = lean_box(0); +x_21 = x_254; +goto block_253; } else { -lean_object* x_227; uint8_t x_228; -x_227 = lean_unsigned_to_nat(0u); -x_228 = l_Array_isEqvAux___main___at_Lean_Meta_revert___spec__4(x_3, x_7, lean_box(0), x_11, x_15, x_227); -lean_dec(x_15); -lean_dec(x_7); -if (x_228 == 0) +lean_object* x_255; uint8_t x_256; +x_255 = lean_unsigned_to_nat(0u); +x_256 = l_Array_isEqvAux___main___at_Lean_Meta_revert___spec__4(x_4, x_8, lean_box(0), x_12, x_16, x_255); +lean_dec(x_16); +lean_dec(x_8); +if (x_256 == 0) { -lean_object* x_229; -x_229 = lean_box(0); -x_20 = x_229; -goto block_225; +lean_object* x_257; +x_257 = lean_box(0); +x_21 = x_257; +goto block_253; } else { -lean_object* x_230; lean_object* x_231; -lean_dec(x_9); -x_230 = l_Lean_Meta_revert___closed__2; +lean_object* x_258; lean_object* x_259; +lean_dec(x_10); +x_258 = l_Lean_Meta_revert___closed__2; lean_inc(x_1); -x_231 = l_Lean_Meta_checkNotAssigned(x_1, x_230, x_19, x_8); -if (lean_obj_tag(x_231) == 0) +x_259 = l_Lean_Meta_checkNotAssigned(x_1, x_258, x_20, x_9); +if (lean_obj_tag(x_259) == 0) { -lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; -x_232 = lean_ctor_get(x_231, 1); -lean_inc(x_232); -lean_dec(x_231); -x_233 = l_Array_umapMAux___main___at_Lean_Meta_revert___spec__1(x_227, x_2); -x_234 = l_Lean_mkMVar(x_1); -x_235 = l_Lean_Meta_elimMVarDeps(x_233, x_234, x_19, x_232); -lean_dec(x_19); -if (lean_obj_tag(x_235) == 0) +lean_object* x_260; uint8_t x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; +x_260 = lean_ctor_get(x_259, 1); +lean_inc(x_260); +lean_dec(x_259); +x_261 = 0; +lean_inc(x_1); +x_262 = l_Lean_Meta_setMVarKind(x_1, x_261, x_20, x_260); +x_263 = lean_ctor_get(x_262, 1); +lean_inc(x_263); +lean_dec(x_262); +x_264 = l_Array_umapMAux___main___at_Lean_Meta_revert___spec__1(x_255, x_2); +lean_inc(x_1); +x_265 = l_Lean_mkMVar(x_1); +x_266 = l_Lean_Meta_elimMVarDeps(x_264, x_265, x_3, x_20, x_263); +if (lean_obj_tag(x_266) == 0) { -uint8_t x_236; -x_236 = !lean_is_exclusive(x_235); -if (x_236 == 0) +lean_object* x_267; lean_object* x_268; uint8_t x_269; lean_object* x_270; uint8_t x_271; +x_267 = lean_ctor_get(x_266, 0); +lean_inc(x_267); +x_268 = lean_ctor_get(x_266, 1); +lean_inc(x_268); +lean_dec(x_266); +x_269 = 2; +x_270 = l_Lean_Meta_setMVarKind(x_1, x_269, x_20, x_268); +lean_dec(x_20); +x_271 = !lean_is_exclusive(x_270); +if (x_271 == 0) { -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_237 = lean_ctor_get(x_235, 0); -x_238 = l_Lean_Expr_getAppNumArgsAux___main(x_237, x_227); -x_239 = l_Lean_Expr_getAppArgs___closed__1; -lean_inc(x_238); -x_240 = lean_mk_array(x_238, x_239); -x_241 = lean_unsigned_to_nat(1u); -x_242 = lean_nat_sub(x_238, x_241); -lean_dec(x_238); -x_243 = l_Lean_Expr_withAppAux___main___at_Lean_Meta_revert___spec__3(x_237, x_240, x_242); -lean_ctor_set(x_235, 0, x_243); -return x_235; +lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; +x_272 = lean_ctor_get(x_270, 0); +lean_dec(x_272); +x_273 = l_Lean_Expr_getAppNumArgsAux___main(x_267, x_255); +x_274 = l_Lean_Expr_getAppArgs___closed__1; +lean_inc(x_273); +x_275 = lean_mk_array(x_273, x_274); +x_276 = lean_unsigned_to_nat(1u); +x_277 = lean_nat_sub(x_273, x_276); +lean_dec(x_273); +x_278 = l_Lean_Expr_withAppAux___main___at_Lean_Meta_revert___spec__3(x_267, x_275, x_277); +lean_ctor_set(x_270, 0, x_278); +return x_270; } else { -lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; -x_244 = lean_ctor_get(x_235, 0); -x_245 = lean_ctor_get(x_235, 1); -lean_inc(x_245); -lean_inc(x_244); -lean_dec(x_235); -x_246 = l_Lean_Expr_getAppNumArgsAux___main(x_244, x_227); -x_247 = l_Lean_Expr_getAppArgs___closed__1; -lean_inc(x_246); -x_248 = lean_mk_array(x_246, x_247); -x_249 = lean_unsigned_to_nat(1u); -x_250 = lean_nat_sub(x_246, x_249); -lean_dec(x_246); -x_251 = l_Lean_Expr_withAppAux___main___at_Lean_Meta_revert___spec__3(x_244, x_248, x_250); -x_252 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_252, 0, x_251); -lean_ctor_set(x_252, 1, x_245); -return x_252; +lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; +x_279 = lean_ctor_get(x_270, 1); +lean_inc(x_279); +lean_dec(x_270); +x_280 = l_Lean_Expr_getAppNumArgsAux___main(x_267, x_255); +x_281 = l_Lean_Expr_getAppArgs___closed__1; +lean_inc(x_280); +x_282 = lean_mk_array(x_280, x_281); +x_283 = lean_unsigned_to_nat(1u); +x_284 = lean_nat_sub(x_280, x_283); +lean_dec(x_280); +x_285 = l_Lean_Expr_withAppAux___main___at_Lean_Meta_revert___spec__3(x_267, x_282, x_284); +x_286 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_286, 0, x_285); +lean_ctor_set(x_286, 1, x_279); +return x_286; } } else { -uint8_t x_253; -x_253 = !lean_is_exclusive(x_235); -if (x_253 == 0) +lean_object* x_287; lean_object* x_288; uint8_t x_289; lean_object* x_290; uint8_t x_291; +x_287 = lean_ctor_get(x_266, 0); +lean_inc(x_287); +x_288 = lean_ctor_get(x_266, 1); +lean_inc(x_288); +lean_dec(x_266); +x_289 = 2; +x_290 = l_Lean_Meta_setMVarKind(x_1, x_289, x_20, x_288); +lean_dec(x_20); +x_291 = !lean_is_exclusive(x_290); +if (x_291 == 0) { -return x_235; +lean_object* x_292; +x_292 = lean_ctor_get(x_290, 0); +lean_dec(x_292); +lean_ctor_set_tag(x_290, 1); +lean_ctor_set(x_290, 0, x_287); +return x_290; } else { -lean_object* x_254; lean_object* x_255; lean_object* x_256; -x_254 = lean_ctor_get(x_235, 0); -x_255 = lean_ctor_get(x_235, 1); -lean_inc(x_255); -lean_inc(x_254); -lean_dec(x_235); -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; +lean_object* x_293; lean_object* x_294; +x_293 = lean_ctor_get(x_290, 1); +lean_inc(x_293); +lean_dec(x_290); +x_294 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_294, 0, x_287); +lean_ctor_set(x_294, 1, x_293); +return x_294; } } } else { -uint8_t x_257; -lean_dec(x_19); +uint8_t x_295; +lean_dec(x_20); lean_dec(x_2); lean_dec(x_1); -x_257 = !lean_is_exclusive(x_231); -if (x_257 == 0) +x_295 = !lean_is_exclusive(x_259); +if (x_295 == 0) { -return x_231; +return x_259; } else { -lean_object* x_258; lean_object* x_259; lean_object* x_260; -x_258 = lean_ctor_get(x_231, 0); -x_259 = lean_ctor_get(x_231, 1); -lean_inc(x_259); -lean_inc(x_258); -lean_dec(x_231); -x_260 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_260, 0, x_258); -lean_ctor_set(x_260, 1, x_259); -return x_260; +lean_object* x_296; lean_object* x_297; lean_object* x_298; +x_296 = lean_ctor_get(x_259, 0); +x_297 = lean_ctor_get(x_259, 1); +lean_inc(x_297); +lean_inc(x_296); +lean_dec(x_259); +x_298 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_298, 0, x_296); +lean_ctor_set(x_298, 1, x_297); +return x_298; } } } } -block_225: +block_253: { -uint8_t x_21; -lean_dec(x_20); -x_21 = !lean_is_exclusive(x_8); -if (x_21 == 0) +uint8_t x_22; +lean_dec(x_21); +x_22 = !lean_is_exclusive(x_9); +if (x_22 == 0) { -lean_object* x_22; uint8_t x_23; -x_22 = lean_ctor_get(x_8, 2); -x_23 = !lean_is_exclusive(x_22); -if (x_23 == 0) +lean_object* x_23; uint8_t x_24; +x_23 = lean_ctor_get(x_9, 2); +x_24 = !lean_is_exclusive(x_23); +if (x_24 == 0) { -lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_24 = lean_ctor_get(x_22, 2); -x_49 = l_Lean_Meta_resettingSynthInstanceCache___rarg___closed__1; -lean_ctor_set(x_22, 2, x_49); -x_50 = l_Lean_Meta_revert___closed__2; +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_25 = lean_ctor_get(x_23, 2); +x_50 = l_Lean_Meta_resettingSynthInstanceCache___rarg___closed__1; +lean_ctor_set(x_23, 2, x_50); +x_51 = l_Lean_Meta_revert___closed__2; lean_inc(x_1); -x_51 = l_Lean_Meta_checkNotAssigned(x_1, x_50, x_19, x_8); -if (lean_obj_tag(x_51) == 0) +x_52 = l_Lean_Meta_checkNotAssigned(x_1, x_51, x_20, x_9); +if (lean_obj_tag(x_52) == 0) { -lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; -x_52 = lean_ctor_get(x_51, 1); -lean_inc(x_52); -lean_dec(x_51); -x_53 = lean_unsigned_to_nat(0u); -x_54 = l_Array_umapMAux___main___at_Lean_Meta_revert___spec__1(x_53, x_2); -x_55 = l_Lean_mkMVar(x_1); -x_56 = l_Lean_Meta_elimMVarDeps(x_54, x_55, x_19, x_52); -lean_dec(x_19); -if (lean_obj_tag(x_56) == 0) +lean_object* x_53; uint8_t 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_53 = lean_ctor_get(x_52, 1); +lean_inc(x_53); +lean_dec(x_52); +x_54 = 0; +lean_inc(x_1); +x_55 = l_Lean_Meta_setMVarKind(x_1, x_54, x_20, x_53); +x_56 = lean_ctor_get(x_55, 1); +lean_inc(x_56); +lean_dec(x_55); +x_57 = lean_unsigned_to_nat(0u); +x_58 = l_Array_umapMAux___main___at_Lean_Meta_revert___spec__1(x_57, x_2); +lean_inc(x_1); +x_59 = l_Lean_mkMVar(x_1); +x_60 = l_Lean_Meta_elimMVarDeps(x_58, x_59, x_3, x_20, x_56); +if (lean_obj_tag(x_60) == 0) { -uint8_t x_57; -lean_dec(x_9); -x_57 = !lean_is_exclusive(x_56); -if (x_57 == 0) -{ -lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; uint8_t x_66; -x_58 = lean_ctor_get(x_56, 0); -x_59 = lean_ctor_get(x_56, 1); -x_60 = l_Lean_Expr_getAppNumArgsAux___main(x_58, x_53); -x_61 = l_Lean_Expr_getAppArgs___closed__1; -lean_inc(x_60); -x_62 = lean_mk_array(x_60, x_61); -x_63 = lean_unsigned_to_nat(1u); -x_64 = lean_nat_sub(x_60, x_63); +lean_object* x_61; lean_object* x_62; uint8_t x_63; lean_object* x_64; uint8_t x_65; +lean_dec(x_10); +x_61 = lean_ctor_get(x_60, 0); +lean_inc(x_61); +x_62 = lean_ctor_get(x_60, 1); +lean_inc(x_62); lean_dec(x_60); -x_65 = l_Lean_Expr_withAppAux___main___at_Lean_Meta_revert___spec__3(x_58, x_62, x_64); -x_66 = !lean_is_exclusive(x_59); -if (x_66 == 0) +x_63 = 2; +x_64 = l_Lean_Meta_setMVarKind(x_1, x_63, x_20, x_62); +lean_dec(x_20); +x_65 = !lean_is_exclusive(x_64); +if (x_65 == 0) { -lean_object* x_67; uint8_t x_68; -x_67 = lean_ctor_get(x_59, 2); -x_68 = !lean_is_exclusive(x_67); -if (x_68 == 0) -{ -lean_object* x_69; -x_69 = lean_ctor_get(x_67, 2); -lean_dec(x_69); -lean_ctor_set(x_67, 2, x_24); -lean_ctor_set(x_56, 0, x_65); -return x_56; -} -else -{ -lean_object* x_70; lean_object* x_71; lean_object* x_72; -x_70 = lean_ctor_get(x_67, 0); -x_71 = lean_ctor_get(x_67, 1); -lean_inc(x_71); -lean_inc(x_70); +lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; uint8_t x_74; +x_66 = lean_ctor_get(x_64, 1); +x_67 = lean_ctor_get(x_64, 0); lean_dec(x_67); -x_72 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_72, 0, x_70); -lean_ctor_set(x_72, 1, x_71); -lean_ctor_set(x_72, 2, x_24); -lean_ctor_set(x_59, 2, x_72); -lean_ctor_set(x_56, 0, x_65); -return x_56; -} +x_68 = l_Lean_Expr_getAppNumArgsAux___main(x_61, x_57); +x_69 = l_Lean_Expr_getAppArgs___closed__1; +lean_inc(x_68); +x_70 = lean_mk_array(x_68, x_69); +x_71 = lean_unsigned_to_nat(1u); +x_72 = lean_nat_sub(x_68, x_71); +lean_dec(x_68); +x_73 = l_Lean_Expr_withAppAux___main___at_Lean_Meta_revert___spec__3(x_61, x_70, x_72); +x_74 = !lean_is_exclusive(x_66); +if (x_74 == 0) +{ +lean_object* x_75; uint8_t x_76; +x_75 = lean_ctor_get(x_66, 2); +x_76 = !lean_is_exclusive(x_75); +if (x_76 == 0) +{ +lean_object* x_77; +x_77 = lean_ctor_get(x_75, 2); +lean_dec(x_77); +lean_ctor_set(x_75, 2, x_25); +lean_ctor_set(x_64, 0, x_73); +return x_64; } else { -lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; -x_73 = lean_ctor_get(x_59, 2); -x_74 = lean_ctor_get(x_59, 0); -x_75 = lean_ctor_get(x_59, 1); -x_76 = lean_ctor_get(x_59, 3); -x_77 = lean_ctor_get(x_59, 4); -x_78 = lean_ctor_get(x_59, 5); -lean_inc(x_78); -lean_inc(x_77); -lean_inc(x_76); -lean_inc(x_73); -lean_inc(x_75); -lean_inc(x_74); -lean_dec(x_59); -x_79 = lean_ctor_get(x_73, 0); +lean_object* x_78; lean_object* x_79; lean_object* x_80; +x_78 = lean_ctor_get(x_75, 0); +x_79 = lean_ctor_get(x_75, 1); lean_inc(x_79); -x_80 = lean_ctor_get(x_73, 1); -lean_inc(x_80); -if (lean_is_exclusive(x_73)) { - lean_ctor_release(x_73, 0); - lean_ctor_release(x_73, 1); - lean_ctor_release(x_73, 2); - x_81 = x_73; -} else { - lean_dec_ref(x_73); - 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_24); -x_83 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_83, 0, x_74); -lean_ctor_set(x_83, 1, x_75); -lean_ctor_set(x_83, 2, x_82); -lean_ctor_set(x_83, 3, x_76); -lean_ctor_set(x_83, 4, x_77); -lean_ctor_set(x_83, 5, x_78); -lean_ctor_set(x_56, 1, x_83); -lean_ctor_set(x_56, 0, x_65); -return x_56; +lean_inc(x_78); +lean_dec(x_75); +x_80 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_80, 0, x_78); +lean_ctor_set(x_80, 1, x_79); +lean_ctor_set(x_80, 2, x_25); +lean_ctor_set(x_66, 2, x_80); +lean_ctor_set(x_64, 0, x_73); +return x_64; } } else { -lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; -x_84 = lean_ctor_get(x_56, 0); -x_85 = lean_ctor_get(x_56, 1); +lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; +x_81 = lean_ctor_get(x_66, 2); +x_82 = lean_ctor_get(x_66, 0); +x_83 = lean_ctor_get(x_66, 1); +x_84 = lean_ctor_get(x_66, 3); +x_85 = lean_ctor_get(x_66, 4); +x_86 = lean_ctor_get(x_66, 5); +lean_inc(x_86); lean_inc(x_85); lean_inc(x_84); -lean_dec(x_56); -x_86 = l_Lean_Expr_getAppNumArgsAux___main(x_84, x_53); -x_87 = l_Lean_Expr_getAppArgs___closed__1; -lean_inc(x_86); -x_88 = lean_mk_array(x_86, x_87); -x_89 = lean_unsigned_to_nat(1u); -x_90 = lean_nat_sub(x_86, x_89); -lean_dec(x_86); -x_91 = l_Lean_Expr_withAppAux___main___at_Lean_Meta_revert___spec__3(x_84, x_88, x_90); -x_92 = lean_ctor_get(x_85, 2); -lean_inc(x_92); -x_93 = lean_ctor_get(x_85, 0); -lean_inc(x_93); -x_94 = lean_ctor_get(x_85, 1); -lean_inc(x_94); -x_95 = lean_ctor_get(x_85, 3); -lean_inc(x_95); -x_96 = lean_ctor_get(x_85, 4); -lean_inc(x_96); -x_97 = lean_ctor_get(x_85, 5); -lean_inc(x_97); -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); - lean_ctor_release(x_85, 5); - x_98 = x_85; +lean_inc(x_81); +lean_inc(x_83); +lean_inc(x_82); +lean_dec(x_66); +x_87 = lean_ctor_get(x_81, 0); +lean_inc(x_87); +x_88 = lean_ctor_get(x_81, 1); +lean_inc(x_88); +if (lean_is_exclusive(x_81)) { + lean_ctor_release(x_81, 0); + lean_ctor_release(x_81, 1); + lean_ctor_release(x_81, 2); + x_89 = x_81; } else { - lean_dec_ref(x_85); - x_98 = lean_box(0); + lean_dec_ref(x_81); + x_89 = lean_box(0); } -x_99 = lean_ctor_get(x_92, 0); +if (lean_is_scalar(x_89)) { + x_90 = lean_alloc_ctor(0, 3, 0); +} else { + x_90 = x_89; +} +lean_ctor_set(x_90, 0, x_87); +lean_ctor_set(x_90, 1, x_88); +lean_ctor_set(x_90, 2, x_25); +x_91 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_91, 0, x_82); +lean_ctor_set(x_91, 1, x_83); +lean_ctor_set(x_91, 2, x_90); +lean_ctor_set(x_91, 3, x_84); +lean_ctor_set(x_91, 4, x_85); +lean_ctor_set(x_91, 5, x_86); +lean_ctor_set(x_64, 1, x_91); +lean_ctor_set(x_64, 0, x_73); +return x_64; +} +} +else +{ +lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; +x_92 = lean_ctor_get(x_64, 1); +lean_inc(x_92); +lean_dec(x_64); +x_93 = l_Lean_Expr_getAppNumArgsAux___main(x_61, x_57); +x_94 = l_Lean_Expr_getAppArgs___closed__1; +lean_inc(x_93); +x_95 = lean_mk_array(x_93, x_94); +x_96 = lean_unsigned_to_nat(1u); +x_97 = lean_nat_sub(x_93, x_96); +lean_dec(x_93); +x_98 = l_Lean_Expr_withAppAux___main___at_Lean_Meta_revert___spec__3(x_61, x_95, x_97); +x_99 = lean_ctor_get(x_92, 2); lean_inc(x_99); -x_100 = lean_ctor_get(x_92, 1); +x_100 = lean_ctor_get(x_92, 0); lean_inc(x_100); +x_101 = lean_ctor_get(x_92, 1); +lean_inc(x_101); +x_102 = lean_ctor_get(x_92, 3); +lean_inc(x_102); +x_103 = lean_ctor_get(x_92, 4); +lean_inc(x_103); +x_104 = lean_ctor_get(x_92, 5); +lean_inc(x_104); if (lean_is_exclusive(x_92)) { lean_ctor_release(x_92, 0); lean_ctor_release(x_92, 1); lean_ctor_release(x_92, 2); - x_101 = x_92; + lean_ctor_release(x_92, 3); + lean_ctor_release(x_92, 4); + lean_ctor_release(x_92, 5); + x_105 = x_92; } else { lean_dec_ref(x_92); - x_101 = lean_box(0); + x_105 = lean_box(0); } -if (lean_is_scalar(x_101)) { - x_102 = lean_alloc_ctor(0, 3, 0); -} else { - x_102 = x_101; -} -lean_ctor_set(x_102, 0, x_99); -lean_ctor_set(x_102, 1, x_100); -lean_ctor_set(x_102, 2, x_24); -if (lean_is_scalar(x_98)) { - x_103 = lean_alloc_ctor(0, 6, 0); -} else { - x_103 = x_98; -} -lean_ctor_set(x_103, 0, x_93); -lean_ctor_set(x_103, 1, x_94); -lean_ctor_set(x_103, 2, x_102); -lean_ctor_set(x_103, 3, x_95); -lean_ctor_set(x_103, 4, x_96); -lean_ctor_set(x_103, 5, x_97); -x_104 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_104, 0, x_91); -lean_ctor_set(x_104, 1, x_103); -return x_104; -} -} -else -{ -lean_object* x_105; lean_object* x_106; -x_105 = lean_ctor_get(x_56, 0); -lean_inc(x_105); -x_106 = lean_ctor_get(x_56, 1); +x_106 = lean_ctor_get(x_99, 0); lean_inc(x_106); -lean_dec(x_56); -x_25 = x_105; -x_26 = x_106; -goto block_48; +x_107 = lean_ctor_get(x_99, 1); +lean_inc(x_107); +if (lean_is_exclusive(x_99)) { + lean_ctor_release(x_99, 0); + lean_ctor_release(x_99, 1); + lean_ctor_release(x_99, 2); + x_108 = x_99; +} else { + lean_dec_ref(x_99); + x_108 = lean_box(0); +} +if (lean_is_scalar(x_108)) { + x_109 = lean_alloc_ctor(0, 3, 0); +} else { + x_109 = x_108; +} +lean_ctor_set(x_109, 0, x_106); +lean_ctor_set(x_109, 1, x_107); +lean_ctor_set(x_109, 2, x_25); +if (lean_is_scalar(x_105)) { + x_110 = lean_alloc_ctor(0, 6, 0); +} else { + x_110 = x_105; +} +lean_ctor_set(x_110, 0, x_100); +lean_ctor_set(x_110, 1, x_101); +lean_ctor_set(x_110, 2, x_109); +lean_ctor_set(x_110, 3, x_102); +lean_ctor_set(x_110, 4, x_103); +lean_ctor_set(x_110, 5, x_104); +x_111 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_111, 0, x_98); +lean_ctor_set(x_111, 1, x_110); +return x_111; } } else { -lean_object* x_107; lean_object* x_108; -lean_dec(x_19); +lean_object* x_112; lean_object* x_113; uint8_t x_114; lean_object* x_115; lean_object* x_116; +x_112 = lean_ctor_get(x_60, 0); +lean_inc(x_112); +x_113 = lean_ctor_get(x_60, 1); +lean_inc(x_113); +lean_dec(x_60); +x_114 = 2; +x_115 = l_Lean_Meta_setMVarKind(x_1, x_114, x_20, x_113); +lean_dec(x_20); +x_116 = lean_ctor_get(x_115, 1); +lean_inc(x_116); +lean_dec(x_115); +x_26 = x_112; +x_27 = x_116; +goto block_49; +} +} +else +{ +lean_object* x_117; lean_object* x_118; +lean_dec(x_20); lean_dec(x_2); lean_dec(x_1); -x_107 = lean_ctor_get(x_51, 0); -lean_inc(x_107); -x_108 = lean_ctor_get(x_51, 1); -lean_inc(x_108); -lean_dec(x_51); -x_25 = x_107; -x_26 = x_108; -goto block_48; +x_117 = lean_ctor_get(x_52, 0); +lean_inc(x_117); +x_118 = lean_ctor_get(x_52, 1); +lean_inc(x_118); +lean_dec(x_52); +x_26 = x_117; +x_27 = x_118; +goto block_49; } -block_48: +block_49: { -uint8_t x_27; -x_27 = !lean_is_exclusive(x_26); -if (x_27 == 0) +uint8_t x_28; +x_28 = !lean_is_exclusive(x_27); +if (x_28 == 0) { -lean_object* x_28; uint8_t x_29; -x_28 = lean_ctor_get(x_26, 2); -x_29 = !lean_is_exclusive(x_28); -if (x_29 == 0) +lean_object* x_29; uint8_t x_30; +x_29 = lean_ctor_get(x_27, 2); +x_30 = !lean_is_exclusive(x_29); +if (x_30 == 0) { -lean_object* x_30; lean_object* x_31; -x_30 = lean_ctor_get(x_28, 2); -lean_dec(x_30); -lean_ctor_set(x_28, 2, x_24); -if (lean_is_scalar(x_9)) { - x_31 = lean_alloc_ctor(1, 2, 0); +lean_object* x_31; lean_object* x_32; +x_31 = lean_ctor_get(x_29, 2); +lean_dec(x_31); +lean_ctor_set(x_29, 2, x_25); +if (lean_is_scalar(x_10)) { + x_32 = lean_alloc_ctor(1, 2, 0); } else { - x_31 = x_9; - lean_ctor_set_tag(x_31, 1); + x_32 = x_10; + lean_ctor_set_tag(x_32, 1); } -lean_ctor_set(x_31, 0, x_25); -lean_ctor_set(x_31, 1, x_26); -return x_31; +lean_ctor_set(x_32, 0, x_26); +lean_ctor_set(x_32, 1, x_27); +return x_32; } else { -lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_32 = lean_ctor_get(x_28, 0); -x_33 = lean_ctor_get(x_28, 1); +lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_33 = lean_ctor_get(x_29, 0); +x_34 = lean_ctor_get(x_29, 1); +lean_inc(x_34); lean_inc(x_33); -lean_inc(x_32); -lean_dec(x_28); -x_34 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_34, 0, x_32); -lean_ctor_set(x_34, 1, x_33); -lean_ctor_set(x_34, 2, x_24); -lean_ctor_set(x_26, 2, x_34); -if (lean_is_scalar(x_9)) { - x_35 = lean_alloc_ctor(1, 2, 0); +lean_dec(x_29); +x_35 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_35, 0, x_33); +lean_ctor_set(x_35, 1, x_34); +lean_ctor_set(x_35, 2, x_25); +lean_ctor_set(x_27, 2, x_35); +if (lean_is_scalar(x_10)) { + x_36 = lean_alloc_ctor(1, 2, 0); } else { - x_35 = x_9; - lean_ctor_set_tag(x_35, 1); + x_36 = x_10; + lean_ctor_set_tag(x_36, 1); } -lean_ctor_set(x_35, 0, x_25); -lean_ctor_set(x_35, 1, x_26); -return x_35; +lean_ctor_set(x_36, 0, x_26); +lean_ctor_set(x_36, 1, x_27); +return x_36; } } else { -lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; 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_36 = lean_ctor_get(x_26, 2); -x_37 = lean_ctor_get(x_26, 0); -x_38 = lean_ctor_get(x_26, 1); -x_39 = lean_ctor_get(x_26, 3); -x_40 = lean_ctor_get(x_26, 4); -x_41 = lean_ctor_get(x_26, 5); +lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_37 = lean_ctor_get(x_27, 2); +x_38 = lean_ctor_get(x_27, 0); +x_39 = lean_ctor_get(x_27, 1); +x_40 = lean_ctor_get(x_27, 3); +x_41 = lean_ctor_get(x_27, 4); +x_42 = lean_ctor_get(x_27, 5); +lean_inc(x_42); lean_inc(x_41); lean_inc(x_40); -lean_inc(x_39); -lean_inc(x_36); -lean_inc(x_38); lean_inc(x_37); -lean_dec(x_26); -x_42 = lean_ctor_get(x_36, 0); -lean_inc(x_42); -x_43 = lean_ctor_get(x_36, 1); +lean_inc(x_39); +lean_inc(x_38); +lean_dec(x_27); +x_43 = lean_ctor_get(x_37, 0); lean_inc(x_43); -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_44 = x_36; +x_44 = lean_ctor_get(x_37, 1); +lean_inc(x_44); +if (lean_is_exclusive(x_37)) { + lean_ctor_release(x_37, 0); + lean_ctor_release(x_37, 1); + lean_ctor_release(x_37, 2); + x_45 = x_37; } else { - lean_dec_ref(x_36); - x_44 = lean_box(0); + lean_dec_ref(x_37); + x_45 = lean_box(0); } -if (lean_is_scalar(x_44)) { - x_45 = lean_alloc_ctor(0, 3, 0); +if (lean_is_scalar(x_45)) { + x_46 = lean_alloc_ctor(0, 3, 0); } else { - x_45 = x_44; + x_46 = x_45; } -lean_ctor_set(x_45, 0, x_42); -lean_ctor_set(x_45, 1, x_43); -lean_ctor_set(x_45, 2, x_24); -x_46 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_46, 0, x_37); -lean_ctor_set(x_46, 1, x_38); -lean_ctor_set(x_46, 2, x_45); -lean_ctor_set(x_46, 3, x_39); -lean_ctor_set(x_46, 4, x_40); -lean_ctor_set(x_46, 5, x_41); -if (lean_is_scalar(x_9)) { - x_47 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_46, 0, x_43); +lean_ctor_set(x_46, 1, x_44); +lean_ctor_set(x_46, 2, x_25); +x_47 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_47, 0, x_38); +lean_ctor_set(x_47, 1, x_39); +lean_ctor_set(x_47, 2, x_46); +lean_ctor_set(x_47, 3, x_40); +lean_ctor_set(x_47, 4, x_41); +lean_ctor_set(x_47, 5, x_42); +if (lean_is_scalar(x_10)) { + x_48 = lean_alloc_ctor(1, 2, 0); } else { - x_47 = x_9; - lean_ctor_set_tag(x_47, 1); + x_48 = x_10; + lean_ctor_set_tag(x_48, 1); } -lean_ctor_set(x_47, 0, x_25); -lean_ctor_set(x_47, 1, x_46); -return x_47; +lean_ctor_set(x_48, 0, x_26); +lean_ctor_set(x_48, 1, x_47); +return x_48; } } } else { -lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; -x_109 = lean_ctor_get(x_22, 0); -x_110 = lean_ctor_get(x_22, 1); -x_111 = lean_ctor_get(x_22, 2); -lean_inc(x_111); -lean_inc(x_110); -lean_inc(x_109); -lean_dec(x_22); -x_128 = l_Lean_Meta_resettingSynthInstanceCache___rarg___closed__1; -x_129 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_129, 0, x_109); -lean_ctor_set(x_129, 1, x_110); -lean_ctor_set(x_129, 2, x_128); -lean_ctor_set(x_8, 2, x_129); -x_130 = l_Lean_Meta_revert___closed__2; +lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; +x_119 = lean_ctor_get(x_23, 0); +x_120 = lean_ctor_get(x_23, 1); +x_121 = lean_ctor_get(x_23, 2); +lean_inc(x_121); +lean_inc(x_120); +lean_inc(x_119); +lean_dec(x_23); +x_138 = l_Lean_Meta_resettingSynthInstanceCache___rarg___closed__1; +x_139 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_139, 0, x_119); +lean_ctor_set(x_139, 1, x_120); +lean_ctor_set(x_139, 2, x_138); +lean_ctor_set(x_9, 2, x_139); +x_140 = l_Lean_Meta_revert___closed__2; lean_inc(x_1); -x_131 = l_Lean_Meta_checkNotAssigned(x_1, x_130, x_19, x_8); -if (lean_obj_tag(x_131) == 0) +x_141 = l_Lean_Meta_checkNotAssigned(x_1, x_140, x_20, x_9); +if (lean_obj_tag(x_141) == 0) { -lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; -x_132 = lean_ctor_get(x_131, 1); -lean_inc(x_132); -lean_dec(x_131); -x_133 = lean_unsigned_to_nat(0u); -x_134 = l_Array_umapMAux___main___at_Lean_Meta_revert___spec__1(x_133, x_2); -x_135 = l_Lean_mkMVar(x_1); -x_136 = l_Lean_Meta_elimMVarDeps(x_134, x_135, x_19, x_132); -lean_dec(x_19); -if (lean_obj_tag(x_136) == 0) +lean_object* x_142; uint8_t 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_142 = lean_ctor_get(x_141, 1); +lean_inc(x_142); +lean_dec(x_141); +x_143 = 0; +lean_inc(x_1); +x_144 = l_Lean_Meta_setMVarKind(x_1, x_143, x_20, x_142); +x_145 = lean_ctor_get(x_144, 1); +lean_inc(x_145); +lean_dec(x_144); +x_146 = lean_unsigned_to_nat(0u); +x_147 = l_Array_umapMAux___main___at_Lean_Meta_revert___spec__1(x_146, x_2); +lean_inc(x_1); +x_148 = l_Lean_mkMVar(x_1); +x_149 = l_Lean_Meta_elimMVarDeps(x_147, x_148, x_3, x_20, x_145); +if (lean_obj_tag(x_149) == 0) { -lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; -lean_dec(x_9); -x_137 = lean_ctor_get(x_136, 0); -lean_inc(x_137); -x_138 = lean_ctor_get(x_136, 1); -lean_inc(x_138); -if (lean_is_exclusive(x_136)) { - lean_ctor_release(x_136, 0); - lean_ctor_release(x_136, 1); - x_139 = x_136; -} else { - lean_dec_ref(x_136); - x_139 = lean_box(0); -} -x_140 = l_Lean_Expr_getAppNumArgsAux___main(x_137, x_133); -x_141 = l_Lean_Expr_getAppArgs___closed__1; -lean_inc(x_140); -x_142 = lean_mk_array(x_140, x_141); -x_143 = lean_unsigned_to_nat(1u); -x_144 = lean_nat_sub(x_140, x_143); -lean_dec(x_140); -x_145 = l_Lean_Expr_withAppAux___main___at_Lean_Meta_revert___spec__3(x_137, x_142, x_144); -x_146 = lean_ctor_get(x_138, 2); -lean_inc(x_146); -x_147 = lean_ctor_get(x_138, 0); -lean_inc(x_147); -x_148 = lean_ctor_get(x_138, 1); -lean_inc(x_148); -x_149 = lean_ctor_get(x_138, 3); -lean_inc(x_149); -x_150 = lean_ctor_get(x_138, 4); +lean_object* x_150; lean_object* x_151; uint8_t x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; +lean_dec(x_10); +x_150 = lean_ctor_get(x_149, 0); lean_inc(x_150); -x_151 = lean_ctor_get(x_138, 5); +x_151 = lean_ctor_get(x_149, 1); lean_inc(x_151); -if (lean_is_exclusive(x_138)) { - lean_ctor_release(x_138, 0); - lean_ctor_release(x_138, 1); - lean_ctor_release(x_138, 2); - lean_ctor_release(x_138, 3); - lean_ctor_release(x_138, 4); - lean_ctor_release(x_138, 5); - x_152 = x_138; -} else { - lean_dec_ref(x_138); - x_152 = lean_box(0); -} -x_153 = lean_ctor_get(x_146, 0); -lean_inc(x_153); -x_154 = lean_ctor_get(x_146, 1); +lean_dec(x_149); +x_152 = 2; +x_153 = l_Lean_Meta_setMVarKind(x_1, x_152, x_20, x_151); +lean_dec(x_20); +x_154 = lean_ctor_get(x_153, 1); lean_inc(x_154); -if (lean_is_exclusive(x_146)) { - lean_ctor_release(x_146, 0); - lean_ctor_release(x_146, 1); - lean_ctor_release(x_146, 2); - x_155 = x_146; +if (lean_is_exclusive(x_153)) { + lean_ctor_release(x_153, 0); + lean_ctor_release(x_153, 1); + x_155 = x_153; } else { - lean_dec_ref(x_146); + lean_dec_ref(x_153); x_155 = lean_box(0); } -if (lean_is_scalar(x_155)) { - x_156 = lean_alloc_ctor(0, 3, 0); -} else { - x_156 = x_155; -} -lean_ctor_set(x_156, 0, x_153); -lean_ctor_set(x_156, 1, x_154); -lean_ctor_set(x_156, 2, x_111); -if (lean_is_scalar(x_152)) { - x_157 = lean_alloc_ctor(0, 6, 0); -} else { - x_157 = x_152; -} -lean_ctor_set(x_157, 0, x_147); -lean_ctor_set(x_157, 1, x_148); -lean_ctor_set(x_157, 2, x_156); -lean_ctor_set(x_157, 3, x_149); -lean_ctor_set(x_157, 4, x_150); -lean_ctor_set(x_157, 5, x_151); -if (lean_is_scalar(x_139)) { - x_158 = lean_alloc_ctor(0, 2, 0); -} else { - x_158 = x_139; -} -lean_ctor_set(x_158, 0, x_145); -lean_ctor_set(x_158, 1, x_157); -return x_158; -} -else -{ -lean_object* x_159; lean_object* x_160; -x_159 = lean_ctor_get(x_136, 0); -lean_inc(x_159); -x_160 = lean_ctor_get(x_136, 1); -lean_inc(x_160); -lean_dec(x_136); -x_112 = x_159; -x_113 = x_160; -goto block_127; -} -} -else -{ -lean_object* x_161; lean_object* x_162; -lean_dec(x_19); -lean_dec(x_2); -lean_dec(x_1); -x_161 = lean_ctor_get(x_131, 0); -lean_inc(x_161); -x_162 = lean_ctor_get(x_131, 1); +x_156 = l_Lean_Expr_getAppNumArgsAux___main(x_150, x_146); +x_157 = l_Lean_Expr_getAppArgs___closed__1; +lean_inc(x_156); +x_158 = lean_mk_array(x_156, x_157); +x_159 = lean_unsigned_to_nat(1u); +x_160 = lean_nat_sub(x_156, x_159); +lean_dec(x_156); +x_161 = l_Lean_Expr_withAppAux___main___at_Lean_Meta_revert___spec__3(x_150, x_158, x_160); +x_162 = lean_ctor_get(x_154, 2); lean_inc(x_162); -lean_dec(x_131); -x_112 = x_161; -x_113 = x_162; -goto block_127; -} -block_127: -{ -lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; -x_114 = lean_ctor_get(x_113, 2); -lean_inc(x_114); -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, 3); -lean_inc(x_117); -x_118 = lean_ctor_get(x_113, 4); -lean_inc(x_118); -x_119 = lean_ctor_get(x_113, 5); -lean_inc(x_119); -if (lean_is_exclusive(x_113)) { - lean_ctor_release(x_113, 0); - lean_ctor_release(x_113, 1); - lean_ctor_release(x_113, 2); - lean_ctor_release(x_113, 3); - lean_ctor_release(x_113, 4); - lean_ctor_release(x_113, 5); - x_120 = x_113; -} else { - lean_dec_ref(x_113); - x_120 = lean_box(0); -} -x_121 = lean_ctor_get(x_114, 0); -lean_inc(x_121); -x_122 = lean_ctor_get(x_114, 1); -lean_inc(x_122); -if (lean_is_exclusive(x_114)) { - lean_ctor_release(x_114, 0); - lean_ctor_release(x_114, 1); - lean_ctor_release(x_114, 2); - x_123 = x_114; -} else { - lean_dec_ref(x_114); - x_123 = lean_box(0); -} -if (lean_is_scalar(x_123)) { - x_124 = lean_alloc_ctor(0, 3, 0); -} else { - x_124 = x_123; -} -lean_ctor_set(x_124, 0, x_121); -lean_ctor_set(x_124, 1, x_122); -lean_ctor_set(x_124, 2, x_111); -if (lean_is_scalar(x_120)) { - x_125 = lean_alloc_ctor(0, 6, 0); -} else { - x_125 = x_120; -} -lean_ctor_set(x_125, 0, x_115); -lean_ctor_set(x_125, 1, x_116); -lean_ctor_set(x_125, 2, x_124); -lean_ctor_set(x_125, 3, x_117); -lean_ctor_set(x_125, 4, x_118); -lean_ctor_set(x_125, 5, x_119); -if (lean_is_scalar(x_9)) { - x_126 = lean_alloc_ctor(1, 2, 0); -} else { - x_126 = x_9; - lean_ctor_set_tag(x_126, 1); -} -lean_ctor_set(x_126, 0, x_112); -lean_ctor_set(x_126, 1, x_125); -return x_126; -} -} -} -else -{ -lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; -x_163 = lean_ctor_get(x_8, 2); -x_164 = lean_ctor_get(x_8, 0); -x_165 = lean_ctor_get(x_8, 1); -x_166 = lean_ctor_get(x_8, 3); -x_167 = lean_ctor_get(x_8, 4); -x_168 = lean_ctor_get(x_8, 5); -lean_inc(x_168); -lean_inc(x_167); -lean_inc(x_166); +x_163 = lean_ctor_get(x_154, 0); lean_inc(x_163); -lean_inc(x_165); +x_164 = lean_ctor_get(x_154, 1); lean_inc(x_164); -lean_dec(x_8); -x_169 = lean_ctor_get(x_163, 0); +x_165 = lean_ctor_get(x_154, 3); +lean_inc(x_165); +x_166 = lean_ctor_get(x_154, 4); +lean_inc(x_166); +x_167 = lean_ctor_get(x_154, 5); +lean_inc(x_167); +if (lean_is_exclusive(x_154)) { + lean_ctor_release(x_154, 0); + lean_ctor_release(x_154, 1); + lean_ctor_release(x_154, 2); + lean_ctor_release(x_154, 3); + lean_ctor_release(x_154, 4); + lean_ctor_release(x_154, 5); + x_168 = x_154; +} else { + lean_dec_ref(x_154); + x_168 = lean_box(0); +} +x_169 = lean_ctor_get(x_162, 0); lean_inc(x_169); -x_170 = lean_ctor_get(x_163, 1); +x_170 = lean_ctor_get(x_162, 1); lean_inc(x_170); -x_171 = lean_ctor_get(x_163, 2); -lean_inc(x_171); -if (lean_is_exclusive(x_163)) { - lean_ctor_release(x_163, 0); - lean_ctor_release(x_163, 1); - lean_ctor_release(x_163, 2); - x_172 = x_163; +if (lean_is_exclusive(x_162)) { + lean_ctor_release(x_162, 0); + lean_ctor_release(x_162, 1); + lean_ctor_release(x_162, 2); + x_171 = x_162; } else { - lean_dec_ref(x_163); - x_172 = lean_box(0); + lean_dec_ref(x_162); + x_171 = lean_box(0); } -x_189 = l_Lean_Meta_resettingSynthInstanceCache___rarg___closed__1; -if (lean_is_scalar(x_172)) { - x_190 = lean_alloc_ctor(0, 3, 0); +if (lean_is_scalar(x_171)) { + x_172 = lean_alloc_ctor(0, 3, 0); } else { - x_190 = x_172; + x_172 = x_171; } -lean_ctor_set(x_190, 0, x_169); -lean_ctor_set(x_190, 1, x_170); -lean_ctor_set(x_190, 2, x_189); -x_191 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_191, 0, x_164); -lean_ctor_set(x_191, 1, x_165); -lean_ctor_set(x_191, 2, x_190); -lean_ctor_set(x_191, 3, x_166); -lean_ctor_set(x_191, 4, x_167); -lean_ctor_set(x_191, 5, x_168); -x_192 = l_Lean_Meta_revert___closed__2; -lean_inc(x_1); -x_193 = l_Lean_Meta_checkNotAssigned(x_1, x_192, x_19, x_191); -if (lean_obj_tag(x_193) == 0) -{ -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_193, 1); -lean_inc(x_194); -lean_dec(x_193); -x_195 = lean_unsigned_to_nat(0u); -x_196 = l_Array_umapMAux___main___at_Lean_Meta_revert___spec__1(x_195, x_2); -x_197 = l_Lean_mkMVar(x_1); -x_198 = l_Lean_Meta_elimMVarDeps(x_196, x_197, x_19, x_194); -lean_dec(x_19); -if (lean_obj_tag(x_198) == 0) -{ -lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; -lean_dec(x_9); -x_199 = lean_ctor_get(x_198, 0); -lean_inc(x_199); -x_200 = lean_ctor_get(x_198, 1); -lean_inc(x_200); -if (lean_is_exclusive(x_198)) { - lean_ctor_release(x_198, 0); - lean_ctor_release(x_198, 1); - x_201 = x_198; +lean_ctor_set(x_172, 0, x_169); +lean_ctor_set(x_172, 1, x_170); +lean_ctor_set(x_172, 2, x_121); +if (lean_is_scalar(x_168)) { + x_173 = lean_alloc_ctor(0, 6, 0); } else { - lean_dec_ref(x_198); - x_201 = lean_box(0); + x_173 = x_168; } -x_202 = l_Lean_Expr_getAppNumArgsAux___main(x_199, x_195); -x_203 = l_Lean_Expr_getAppArgs___closed__1; -lean_inc(x_202); -x_204 = lean_mk_array(x_202, x_203); -x_205 = lean_unsigned_to_nat(1u); -x_206 = lean_nat_sub(x_202, x_205); -lean_dec(x_202); -x_207 = l_Lean_Expr_withAppAux___main___at_Lean_Meta_revert___spec__3(x_199, x_204, x_206); -x_208 = lean_ctor_get(x_200, 2); -lean_inc(x_208); -x_209 = lean_ctor_get(x_200, 0); -lean_inc(x_209); -x_210 = lean_ctor_get(x_200, 1); -lean_inc(x_210); -x_211 = lean_ctor_get(x_200, 3); -lean_inc(x_211); -x_212 = lean_ctor_get(x_200, 4); -lean_inc(x_212); -x_213 = lean_ctor_get(x_200, 5); -lean_inc(x_213); -if (lean_is_exclusive(x_200)) { - lean_ctor_release(x_200, 0); - lean_ctor_release(x_200, 1); - lean_ctor_release(x_200, 2); - lean_ctor_release(x_200, 3); - lean_ctor_release(x_200, 4); - lean_ctor_release(x_200, 5); - x_214 = x_200; +lean_ctor_set(x_173, 0, x_163); +lean_ctor_set(x_173, 1, x_164); +lean_ctor_set(x_173, 2, x_172); +lean_ctor_set(x_173, 3, x_165); +lean_ctor_set(x_173, 4, x_166); +lean_ctor_set(x_173, 5, x_167); +if (lean_is_scalar(x_155)) { + x_174 = lean_alloc_ctor(0, 2, 0); } else { - lean_dec_ref(x_200); - x_214 = lean_box(0); + x_174 = x_155; } -x_215 = lean_ctor_get(x_208, 0); -lean_inc(x_215); -x_216 = lean_ctor_get(x_208, 1); -lean_inc(x_216); -if (lean_is_exclusive(x_208)) { - lean_ctor_release(x_208, 0); - lean_ctor_release(x_208, 1); - lean_ctor_release(x_208, 2); - x_217 = x_208; -} else { - lean_dec_ref(x_208); - x_217 = lean_box(0); -} -if (lean_is_scalar(x_217)) { - x_218 = lean_alloc_ctor(0, 3, 0); -} else { - x_218 = x_217; -} -lean_ctor_set(x_218, 0, x_215); -lean_ctor_set(x_218, 1, x_216); -lean_ctor_set(x_218, 2, x_171); -if (lean_is_scalar(x_214)) { - x_219 = lean_alloc_ctor(0, 6, 0); -} else { - x_219 = x_214; -} -lean_ctor_set(x_219, 0, x_209); -lean_ctor_set(x_219, 1, x_210); -lean_ctor_set(x_219, 2, x_218); -lean_ctor_set(x_219, 3, x_211); -lean_ctor_set(x_219, 4, x_212); -lean_ctor_set(x_219, 5, x_213); -if (lean_is_scalar(x_201)) { - x_220 = lean_alloc_ctor(0, 2, 0); -} else { - x_220 = x_201; -} -lean_ctor_set(x_220, 0, x_207); -lean_ctor_set(x_220, 1, x_219); -return x_220; +lean_ctor_set(x_174, 0, x_161); +lean_ctor_set(x_174, 1, x_173); +return x_174; } else { -lean_object* x_221; lean_object* x_222; -x_221 = lean_ctor_get(x_198, 0); -lean_inc(x_221); -x_222 = lean_ctor_get(x_198, 1); -lean_inc(x_222); -lean_dec(x_198); -x_173 = x_221; -x_174 = x_222; -goto block_188; -} -} -else -{ -lean_object* x_223; lean_object* x_224; -lean_dec(x_19); -lean_dec(x_2); -lean_dec(x_1); -x_223 = lean_ctor_get(x_193, 0); -lean_inc(x_223); -x_224 = lean_ctor_get(x_193, 1); -lean_inc(x_224); -lean_dec(x_193); -x_173 = x_223; -x_174 = x_224; -goto block_188; -} -block_188: -{ -lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; -x_175 = lean_ctor_get(x_174, 2); +lean_object* x_175; lean_object* x_176; uint8_t x_177; lean_object* x_178; lean_object* x_179; +x_175 = lean_ctor_get(x_149, 0); lean_inc(x_175); -x_176 = lean_ctor_get(x_174, 0); +x_176 = lean_ctor_get(x_149, 1); lean_inc(x_176); -x_177 = lean_ctor_get(x_174, 1); -lean_inc(x_177); -x_178 = lean_ctor_get(x_174, 3); -lean_inc(x_178); -x_179 = lean_ctor_get(x_174, 4); +lean_dec(x_149); +x_177 = 2; +x_178 = l_Lean_Meta_setMVarKind(x_1, x_177, x_20, x_176); +lean_dec(x_20); +x_179 = lean_ctor_get(x_178, 1); lean_inc(x_179); -x_180 = lean_ctor_get(x_174, 5); -lean_inc(x_180); -if (lean_is_exclusive(x_174)) { - lean_ctor_release(x_174, 0); - lean_ctor_release(x_174, 1); - lean_ctor_release(x_174, 2); - lean_ctor_release(x_174, 3); - lean_ctor_release(x_174, 4); - lean_ctor_release(x_174, 5); - x_181 = x_174; -} else { - lean_dec_ref(x_174); - x_181 = lean_box(0); -} -x_182 = lean_ctor_get(x_175, 0); -lean_inc(x_182); -x_183 = lean_ctor_get(x_175, 1); -lean_inc(x_183); -if (lean_is_exclusive(x_175)) { - lean_ctor_release(x_175, 0); - lean_ctor_release(x_175, 1); - lean_ctor_release(x_175, 2); - x_184 = x_175; -} else { - lean_dec_ref(x_175); - x_184 = lean_box(0); -} -if (lean_is_scalar(x_184)) { - x_185 = lean_alloc_ctor(0, 3, 0); -} else { - x_185 = x_184; -} -lean_ctor_set(x_185, 0, x_182); -lean_ctor_set(x_185, 1, x_183); -lean_ctor_set(x_185, 2, x_171); -if (lean_is_scalar(x_181)) { - x_186 = lean_alloc_ctor(0, 6, 0); -} else { - x_186 = x_181; -} -lean_ctor_set(x_186, 0, x_176); -lean_ctor_set(x_186, 1, x_177); -lean_ctor_set(x_186, 2, x_185); -lean_ctor_set(x_186, 3, x_178); -lean_ctor_set(x_186, 4, x_179); -lean_ctor_set(x_186, 5, x_180); -if (lean_is_scalar(x_9)) { - x_187 = lean_alloc_ctor(1, 2, 0); -} else { - x_187 = x_9; - lean_ctor_set_tag(x_187, 1); -} -lean_ctor_set(x_187, 0, x_173); -lean_ctor_set(x_187, 1, x_186); -return x_187; -} -} +lean_dec(x_178); +x_122 = x_175; +x_123 = x_179; +goto block_137; } } else { -uint8_t x_261; +lean_object* x_180; lean_object* x_181; +lean_dec(x_20); lean_dec(x_2); lean_dec(x_1); -x_261 = !lean_is_exclusive(x_6); -if (x_261 == 0) -{ -return x_6; +x_180 = lean_ctor_get(x_141, 0); +lean_inc(x_180); +x_181 = lean_ctor_get(x_141, 1); +lean_inc(x_181); +lean_dec(x_141); +x_122 = x_180; +x_123 = x_181; +goto block_137; } -else +block_137: { -lean_object* x_262; lean_object* x_263; lean_object* x_264; -x_262 = lean_ctor_get(x_6, 0); -x_263 = lean_ctor_get(x_6, 1); -lean_inc(x_263); -lean_inc(x_262); -lean_dec(x_6); -x_264 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_264, 0, x_262); -lean_ctor_set(x_264, 1, x_263); -return x_264; +lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; +x_124 = lean_ctor_get(x_123, 2); +lean_inc(x_124); +x_125 = lean_ctor_get(x_123, 0); +lean_inc(x_125); +x_126 = lean_ctor_get(x_123, 1); +lean_inc(x_126); +x_127 = lean_ctor_get(x_123, 3); +lean_inc(x_127); +x_128 = lean_ctor_get(x_123, 4); +lean_inc(x_128); +x_129 = lean_ctor_get(x_123, 5); +lean_inc(x_129); +if (lean_is_exclusive(x_123)) { + lean_ctor_release(x_123, 0); + lean_ctor_release(x_123, 1); + lean_ctor_release(x_123, 2); + lean_ctor_release(x_123, 3); + lean_ctor_release(x_123, 4); + lean_ctor_release(x_123, 5); + x_130 = x_123; +} else { + lean_dec_ref(x_123); + x_130 = lean_box(0); +} +x_131 = lean_ctor_get(x_124, 0); +lean_inc(x_131); +x_132 = lean_ctor_get(x_124, 1); +lean_inc(x_132); +if (lean_is_exclusive(x_124)) { + lean_ctor_release(x_124, 0); + lean_ctor_release(x_124, 1); + lean_ctor_release(x_124, 2); + x_133 = x_124; +} else { + lean_dec_ref(x_124); + x_133 = lean_box(0); +} +if (lean_is_scalar(x_133)) { + x_134 = lean_alloc_ctor(0, 3, 0); +} else { + x_134 = x_133; +} +lean_ctor_set(x_134, 0, x_131); +lean_ctor_set(x_134, 1, x_132); +lean_ctor_set(x_134, 2, x_121); +if (lean_is_scalar(x_130)) { + x_135 = lean_alloc_ctor(0, 6, 0); +} else { + x_135 = x_130; +} +lean_ctor_set(x_135, 0, x_125); +lean_ctor_set(x_135, 1, x_126); +lean_ctor_set(x_135, 2, x_134); +lean_ctor_set(x_135, 3, x_127); +lean_ctor_set(x_135, 4, x_128); +lean_ctor_set(x_135, 5, x_129); +if (lean_is_scalar(x_10)) { + x_136 = lean_alloc_ctor(1, 2, 0); +} else { + x_136 = x_10; + lean_ctor_set_tag(x_136, 1); +} +lean_ctor_set(x_136, 0, x_122); +lean_ctor_set(x_136, 1, x_135); +return x_136; } } } else { -lean_object* x_265; lean_object* x_266; -x_265 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_265, 0, x_2); -lean_ctor_set(x_265, 1, x_1); -x_266 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_266, 0, x_265); -lean_ctor_set(x_266, 1, x_4); -return x_266; +lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; +x_182 = lean_ctor_get(x_9, 2); +x_183 = lean_ctor_get(x_9, 0); +x_184 = lean_ctor_get(x_9, 1); +x_185 = lean_ctor_get(x_9, 3); +x_186 = lean_ctor_get(x_9, 4); +x_187 = lean_ctor_get(x_9, 5); +lean_inc(x_187); +lean_inc(x_186); +lean_inc(x_185); +lean_inc(x_182); +lean_inc(x_184); +lean_inc(x_183); +lean_dec(x_9); +x_188 = lean_ctor_get(x_182, 0); +lean_inc(x_188); +x_189 = lean_ctor_get(x_182, 1); +lean_inc(x_189); +x_190 = lean_ctor_get(x_182, 2); +lean_inc(x_190); +if (lean_is_exclusive(x_182)) { + lean_ctor_release(x_182, 0); + lean_ctor_release(x_182, 1); + lean_ctor_release(x_182, 2); + x_191 = x_182; +} else { + lean_dec_ref(x_182); + x_191 = lean_box(0); +} +x_208 = l_Lean_Meta_resettingSynthInstanceCache___rarg___closed__1; +if (lean_is_scalar(x_191)) { + x_209 = lean_alloc_ctor(0, 3, 0); +} else { + x_209 = x_191; +} +lean_ctor_set(x_209, 0, x_188); +lean_ctor_set(x_209, 1, x_189); +lean_ctor_set(x_209, 2, x_208); +x_210 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_210, 0, x_183); +lean_ctor_set(x_210, 1, x_184); +lean_ctor_set(x_210, 2, x_209); +lean_ctor_set(x_210, 3, x_185); +lean_ctor_set(x_210, 4, x_186); +lean_ctor_set(x_210, 5, x_187); +x_211 = l_Lean_Meta_revert___closed__2; +lean_inc(x_1); +x_212 = l_Lean_Meta_checkNotAssigned(x_1, x_211, x_20, x_210); +if (lean_obj_tag(x_212) == 0) +{ +lean_object* x_213; uint8_t x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; +x_213 = lean_ctor_get(x_212, 1); +lean_inc(x_213); +lean_dec(x_212); +x_214 = 0; +lean_inc(x_1); +x_215 = l_Lean_Meta_setMVarKind(x_1, x_214, x_20, x_213); +x_216 = lean_ctor_get(x_215, 1); +lean_inc(x_216); +lean_dec(x_215); +x_217 = lean_unsigned_to_nat(0u); +x_218 = l_Array_umapMAux___main___at_Lean_Meta_revert___spec__1(x_217, x_2); +lean_inc(x_1); +x_219 = l_Lean_mkMVar(x_1); +x_220 = l_Lean_Meta_elimMVarDeps(x_218, x_219, x_3, x_20, x_216); +if (lean_obj_tag(x_220) == 0) +{ +lean_object* x_221; lean_object* x_222; uint8_t x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; +lean_dec(x_10); +x_221 = lean_ctor_get(x_220, 0); +lean_inc(x_221); +x_222 = lean_ctor_get(x_220, 1); +lean_inc(x_222); +lean_dec(x_220); +x_223 = 2; +x_224 = l_Lean_Meta_setMVarKind(x_1, x_223, x_20, x_222); +lean_dec(x_20); +x_225 = lean_ctor_get(x_224, 1); +lean_inc(x_225); +if (lean_is_exclusive(x_224)) { + lean_ctor_release(x_224, 0); + lean_ctor_release(x_224, 1); + x_226 = x_224; +} else { + lean_dec_ref(x_224); + x_226 = lean_box(0); +} +x_227 = l_Lean_Expr_getAppNumArgsAux___main(x_221, x_217); +x_228 = l_Lean_Expr_getAppArgs___closed__1; +lean_inc(x_227); +x_229 = lean_mk_array(x_227, x_228); +x_230 = lean_unsigned_to_nat(1u); +x_231 = lean_nat_sub(x_227, x_230); +lean_dec(x_227); +x_232 = l_Lean_Expr_withAppAux___main___at_Lean_Meta_revert___spec__3(x_221, x_229, x_231); +x_233 = lean_ctor_get(x_225, 2); +lean_inc(x_233); +x_234 = lean_ctor_get(x_225, 0); +lean_inc(x_234); +x_235 = lean_ctor_get(x_225, 1); +lean_inc(x_235); +x_236 = lean_ctor_get(x_225, 3); +lean_inc(x_236); +x_237 = lean_ctor_get(x_225, 4); +lean_inc(x_237); +x_238 = lean_ctor_get(x_225, 5); +lean_inc(x_238); +if (lean_is_exclusive(x_225)) { + lean_ctor_release(x_225, 0); + lean_ctor_release(x_225, 1); + lean_ctor_release(x_225, 2); + lean_ctor_release(x_225, 3); + lean_ctor_release(x_225, 4); + lean_ctor_release(x_225, 5); + x_239 = x_225; +} else { + lean_dec_ref(x_225); + x_239 = lean_box(0); +} +x_240 = lean_ctor_get(x_233, 0); +lean_inc(x_240); +x_241 = lean_ctor_get(x_233, 1); +lean_inc(x_241); +if (lean_is_exclusive(x_233)) { + lean_ctor_release(x_233, 0); + lean_ctor_release(x_233, 1); + lean_ctor_release(x_233, 2); + x_242 = x_233; +} else { + lean_dec_ref(x_233); + x_242 = lean_box(0); +} +if (lean_is_scalar(x_242)) { + x_243 = lean_alloc_ctor(0, 3, 0); +} else { + x_243 = x_242; +} +lean_ctor_set(x_243, 0, x_240); +lean_ctor_set(x_243, 1, x_241); +lean_ctor_set(x_243, 2, x_190); +if (lean_is_scalar(x_239)) { + x_244 = lean_alloc_ctor(0, 6, 0); +} else { + x_244 = x_239; +} +lean_ctor_set(x_244, 0, x_234); +lean_ctor_set(x_244, 1, x_235); +lean_ctor_set(x_244, 2, x_243); +lean_ctor_set(x_244, 3, x_236); +lean_ctor_set(x_244, 4, x_237); +lean_ctor_set(x_244, 5, x_238); +if (lean_is_scalar(x_226)) { + x_245 = lean_alloc_ctor(0, 2, 0); +} else { + x_245 = x_226; +} +lean_ctor_set(x_245, 0, x_232); +lean_ctor_set(x_245, 1, x_244); +return x_245; +} +else +{ +lean_object* x_246; lean_object* x_247; uint8_t x_248; lean_object* x_249; lean_object* x_250; +x_246 = lean_ctor_get(x_220, 0); +lean_inc(x_246); +x_247 = lean_ctor_get(x_220, 1); +lean_inc(x_247); +lean_dec(x_220); +x_248 = 2; +x_249 = l_Lean_Meta_setMVarKind(x_1, x_248, x_20, x_247); +lean_dec(x_20); +x_250 = lean_ctor_get(x_249, 1); +lean_inc(x_250); +lean_dec(x_249); +x_192 = x_246; +x_193 = x_250; +goto block_207; +} +} +else +{ +lean_object* x_251; lean_object* x_252; +lean_dec(x_20); +lean_dec(x_2); +lean_dec(x_1); +x_251 = lean_ctor_get(x_212, 0); +lean_inc(x_251); +x_252 = lean_ctor_get(x_212, 1); +lean_inc(x_252); +lean_dec(x_212); +x_192 = x_251; +x_193 = x_252; +goto block_207; +} +block_207: +{ +lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; +x_194 = lean_ctor_get(x_193, 2); +lean_inc(x_194); +x_195 = lean_ctor_get(x_193, 0); +lean_inc(x_195); +x_196 = lean_ctor_get(x_193, 1); +lean_inc(x_196); +x_197 = lean_ctor_get(x_193, 3); +lean_inc(x_197); +x_198 = lean_ctor_get(x_193, 4); +lean_inc(x_198); +x_199 = lean_ctor_get(x_193, 5); +lean_inc(x_199); +if (lean_is_exclusive(x_193)) { + lean_ctor_release(x_193, 0); + lean_ctor_release(x_193, 1); + lean_ctor_release(x_193, 2); + lean_ctor_release(x_193, 3); + lean_ctor_release(x_193, 4); + lean_ctor_release(x_193, 5); + x_200 = x_193; +} else { + lean_dec_ref(x_193); + x_200 = lean_box(0); +} +x_201 = lean_ctor_get(x_194, 0); +lean_inc(x_201); +x_202 = lean_ctor_get(x_194, 1); +lean_inc(x_202); +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_203 = x_194; +} else { + lean_dec_ref(x_194); + x_203 = lean_box(0); +} +if (lean_is_scalar(x_203)) { + x_204 = lean_alloc_ctor(0, 3, 0); +} else { + x_204 = x_203; +} +lean_ctor_set(x_204, 0, x_201); +lean_ctor_set(x_204, 1, x_202); +lean_ctor_set(x_204, 2, x_190); +if (lean_is_scalar(x_200)) { + x_205 = lean_alloc_ctor(0, 6, 0); +} else { + x_205 = x_200; +} +lean_ctor_set(x_205, 0, x_195); +lean_ctor_set(x_205, 1, x_196); +lean_ctor_set(x_205, 2, x_204); +lean_ctor_set(x_205, 3, x_197); +lean_ctor_set(x_205, 4, x_198); +lean_ctor_set(x_205, 5, x_199); +if (lean_is_scalar(x_10)) { + x_206 = lean_alloc_ctor(1, 2, 0); +} else { + x_206 = x_10; + lean_ctor_set_tag(x_206, 1); +} +lean_ctor_set(x_206, 0, x_192); +lean_ctor_set(x_206, 1, x_205); +return x_206; +} +} +} +} +else +{ +uint8_t x_299; +lean_dec(x_2); +lean_dec(x_1); +x_299 = !lean_is_exclusive(x_7); +if (x_299 == 0) +{ +return x_7; +} +else +{ +lean_object* x_300; lean_object* x_301; lean_object* x_302; +x_300 = lean_ctor_get(x_7, 0); +x_301 = lean_ctor_get(x_7, 1); +lean_inc(x_301); +lean_inc(x_300); +lean_dec(x_7); +x_302 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_302, 0, x_300); +lean_ctor_set(x_302, 1, x_301); +return x_302; +} +} +} +else +{ +lean_object* x_303; lean_object* x_304; +x_303 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_303, 0, x_2); +lean_ctor_set(x_303, 1, x_1); +x_304 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_304, 0, x_303); +lean_ctor_set(x_304, 1, x_5); +return x_304; } } } @@ -1250,13 +1330,15 @@ x_8 = lean_box(x_7); return x_8; } } -lean_object* l_Lean_Meta_revert___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Meta_revert___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { -lean_object* x_5; -x_5 = l_Lean_Meta_revert(x_1, x_2, x_3, x_4); +uint8_t x_6; lean_object* x_7; +x_6 = lean_unbox(x_3); lean_dec(x_3); -return x_5; +x_7 = l_Lean_Meta_revert(x_1, x_2, x_6, x_4, x_5); +lean_dec(x_4); +return x_7; } } lean_object* initialize_Init_Lean_Meta_Tactic_Util(lean_object*); diff --git a/stage0/stdlib/Init/Lean/Meta/Tactic/Util.c b/stage0/stdlib/Init/Lean/Meta/Tactic/Util.c index 6d33b44d75..4c7eb58a0b 100644 --- a/stage0/stdlib/Init/Lean/Meta/Tactic/Util.c +++ b/stage0/stdlib/Init/Lean/Meta/Tactic/Util.c @@ -24,7 +24,7 @@ lean_object* l_Lean_Meta_throwTacticEx___rarg___boxed(lean_object*, lean_object* lean_object* l_Lean_Meta_checkNotAssigned___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_ppGoal(lean_object*, lean_object*, lean_object*); uint8_t lean_metavar_ctx_is_expr_assigned(lean_object*, lean_object*); -lean_object* l_Lean_ppGoal(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_ppGoal(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getMVarType(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Meta_Tactic_Util_1__regTraceClasses(lean_object*); lean_object* lean_name_mk_string(lean_object*, lean_object*); @@ -302,24 +302,22 @@ return x_4; lean_object* l_Lean_Meta_ppGoal(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; x_4 = lean_ctor_get(x_3, 0); lean_inc(x_4); x_5 = lean_ctor_get(x_3, 1); lean_inc(x_5); -x_6 = lean_ctor_get(x_2, 1); +x_6 = lean_ctor_get(x_2, 0); lean_inc(x_6); -x_7 = lean_ctor_get(x_2, 0); -lean_inc(x_7); lean_dec(x_2); -x_8 = lean_ctor_get(x_7, 0); -lean_inc(x_8); -lean_dec(x_7); -x_9 = l_Lean_ppGoal(x_4, x_5, x_6, x_8, x_1); -x_10 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_10, 0, x_9); -lean_ctor_set(x_10, 1, x_3); -return x_10; +x_7 = lean_ctor_get(x_6, 0); +lean_inc(x_7); +lean_dec(x_6); +x_8 = l_Lean_ppGoal(x_4, x_5, x_7, x_1); +x_9 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_9, 0, x_8); +lean_ctor_set(x_9, 1, x_3); +return x_9; } } lean_object* _init_l___private_Init_Lean_Meta_Tactic_Util_1__regTraceClasses___closed__1() { diff --git a/stage0/stdlib/Init/Lean/Meta/WHNF.c b/stage0/stdlib/Init/Lean/Meta/WHNF.c index ea38d5fac2..a30e97e8cb 100644 --- a/stage0/stdlib/Init/Lean/Meta/WHNF.c +++ b/stage0/stdlib/Init/Lean/Meta/WHNF.c @@ -22,7 +22,6 @@ lean_object* l_unreachable_x21___rarg(lean_object*); uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_whnfCore___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_WHNF_isRecStuck___at_Lean_Meta_unfoldDefinition_x3f___spec__17(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Util_WHNF_5__toCtorWhenK___at_Lean_Meta_unfoldDefinition_x3f___spec__9(lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_EIO_Monad___closed__1; extern lean_object* l_Lean_noConfusionExt; lean_object* l_Lean_WHNF_reduceRec___at_Lean_Meta_unfoldDefinition_x3f___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_WHNF_isRecStuck___at_Lean_Meta_unfoldDefinition_x3f___spec__17___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -31,7 +30,6 @@ lean_object* l___private_Init_Lean_Util_WHNF_9__deltaBetaDefinition___at_Lean_Me lean_object* lean_metavar_ctx_get_expr_assignment(lean_object*, lean_object*); lean_object* l_Lean_Meta_isExprDefEqAux(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_WHNF_reduceRec___at_Lean_Meta_whnfCore___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_ReaderT_Monad___rarg(lean_object*); lean_object* l_Lean_WHNF_whnfEasyCases___main___at_Lean_Meta_whnfCore___spec__8(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_setWHNFRef___closed__1; lean_object* l_Lean_Meta_isAuxDef_x3f___boxed(lean_object*, lean_object*, lean_object*); @@ -76,7 +74,6 @@ lean_object* l___private_Init_Lean_Util_WHNF_8__deltaDefinition___at_Lean_Meta_u lean_object* l_Lean_WHNF_whnfEasyCases___main___at_Lean_Meta_whnfImpl___main___spec__1(lean_object*, lean_object*, lean_object*); uint8_t l_Array_anyRangeMAux___main___at_Lean_Meta_unfoldDefinition_x3f___spec__12(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isConstOf(lean_object*, lean_object*); -lean_object* l_Lean_WHNF_whnfCore___main___at_Lean_Meta_unfoldDefinition_x3f___spec__5___closed__1; lean_object* l_Lean_WHNF_reduceQuotRec___at_Lean_Meta_whnfCore___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Expr_3__getAppArgsAux___main(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_whnf(lean_object*, lean_object*, lean_object*); @@ -132,6 +129,7 @@ lean_object* l_Lean_mkConst(lean_object*, lean_object*); lean_object* l_Lean_WHNF_reduceRec___at_Lean_Meta_whnfCore___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_WHNF_whnfEasyCases___main___at_Lean_Meta_unfoldDefinition_x3f___spec__14___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_WHNF_isQuotRecStuck___at_Lean_Meta_unfoldDefinition_x3f___spec__16(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_MetavarContext_MkBinding_mkBinding___closed__1; lean_object* l___private_Init_Lean_Util_WHNF_9__deltaBetaDefinition___at_Lean_Meta_whnfCore___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_anyRangeMAux___main___at_Lean_Meta_whnfCore___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); @@ -4989,20 +4987,11 @@ return x_8; } } } -lean_object* _init_l_Lean_WHNF_whnfCore___main___at_Lean_Meta_unfoldDefinition_x3f___spec__5___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* l_Lean_WHNF_whnfCore___main___at_Lean_Meta_unfoldDefinition_x3f___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; lean_object* x_5; -x_4 = l_Lean_WHNF_whnfCore___main___at_Lean_Meta_unfoldDefinition_x3f___spec__5___closed__1; +x_4 = l_Lean_MetavarContext_MkBinding_mkBinding___closed__1; x_5 = l_Lean_WHNF_whnfEasyCases___main___at_Lean_Meta_unfoldDefinition_x3f___spec__14(x_4, x_1, x_2, x_3); return x_5; } @@ -10846,7 +10835,7 @@ lean_object* l_Lean_WHNF_whnfCore___main___at_Lean_Meta_whnfCore___spec__1(lean_ _start: { lean_object* x_4; lean_object* x_5; -x_4 = l_Lean_WHNF_whnfCore___main___at_Lean_Meta_unfoldDefinition_x3f___spec__5___closed__1; +x_4 = l_Lean_MetavarContext_MkBinding_mkBinding___closed__1; x_5 = l_Lean_WHNF_whnfEasyCases___main___at_Lean_Meta_whnfCore___spec__8(x_4, x_1, x_2, x_3); return x_5; } @@ -10934,7 +10923,7 @@ lean_object* _init_l_Lean_WHNF_whnfEasyCases___main___at_Lean_Meta_whnfImpl___ma _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_WHNF_whnfCore___main___at_Lean_Meta_unfoldDefinition_x3f___spec__5___closed__1; +x_1 = l_Lean_MetavarContext_MkBinding_mkBinding___closed__1; x_2 = l_Lean_Expr_Inhabited; x_3 = l_monadInhabited___rarg(x_1, x_2); return x_3; @@ -11602,8 +11591,6 @@ if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); l___private_Init_Lean_Util_WHNF_5__toCtorWhenK___at_Lean_Meta_unfoldDefinition_x3f___spec__9___closed__1 = _init_l___private_Init_Lean_Util_WHNF_5__toCtorWhenK___at_Lean_Meta_unfoldDefinition_x3f___spec__9___closed__1(); lean_mark_persistent(l___private_Init_Lean_Util_WHNF_5__toCtorWhenK___at_Lean_Meta_unfoldDefinition_x3f___spec__9___closed__1); -l_Lean_WHNF_whnfCore___main___at_Lean_Meta_unfoldDefinition_x3f___spec__5___closed__1 = _init_l_Lean_WHNF_whnfCore___main___at_Lean_Meta_unfoldDefinition_x3f___spec__5___closed__1(); -lean_mark_persistent(l_Lean_WHNF_whnfCore___main___at_Lean_Meta_unfoldDefinition_x3f___spec__5___closed__1); l_Lean_WHNF_whnfEasyCases___main___at_Lean_Meta_whnfImpl___main___spec__1___closed__1 = _init_l_Lean_WHNF_whnfEasyCases___main___at_Lean_Meta_whnfImpl___main___spec__1___closed__1(); lean_mark_persistent(l_Lean_WHNF_whnfEasyCases___main___at_Lean_Meta_whnfImpl___main___spec__1___closed__1); l_Lean_Meta_setWHNFRef___closed__1 = _init_l_Lean_Meta_setWHNFRef___closed__1(); diff --git a/stage0/stdlib/Init/Lean/MetavarContext.c b/stage0/stdlib/Init/Lean/MetavarContext.c index 4bde3fcecc..480fb89326 100644 --- a/stage0/stdlib/Init/Lean/MetavarContext.c +++ b/stage0/stdlib/Init/Lean/MetavarContext.c @@ -13,44 +13,55 @@ #ifdef __cplusplus extern "C" { #endif +lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__61___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_filterAux___main___at___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main___spec__10___boxed(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___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_20__anyDependsOn___spec__7(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_InstantiateExprMVars_main(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_expr_update_forall(lean_object*, uint8_t, lean_object*, lean_object*); lean_object* lean_array_set(lean_object*, lean_object*, lean_object*); lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_umapMAux___main___at___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main___spec__14(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_umapMAux___main___at___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main___spec__14(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__63___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__70___boxed(lean_object*, lean_object*); +uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t l_USize_add(size_t, size_t); -uint8_t l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__29(lean_object*, lean_object*); -lean_object* l_PersistentArray_foldlMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__42___rarg(lean_object*, lean_object*, lean_object*); +uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__17(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_14__getInScope___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_MetavarContext_23__abstractRange___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_23__abstractRange___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_MetavarContext_8__dep___main(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentArray_foldlFromMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__42___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_containsAux___main___at_Lean_MetavarContext_isLevelAssigned___spec__2___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_insertAtCollisionNodeAux___main___at_Lean_MetavarContext_assignExprCore___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_toString___at_Lean_MetavarContext_MkBinding_Exception_toString___spec__2(lean_object*); -uint8_t l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__35(lean_object*, lean_object*); +lean_object* l_ReaderT_lift___at_Lean_MetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___spec__1(lean_object*); lean_object* l_Lean_MetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___closed__2; lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* l_mkHashMap___at_Lean_MetavarContext_instantiateMVars___spec__1(lean_object*); lean_object* l_Lean_MetavarContext_findLevelDepth_x3f(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__81___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_MetavarContext_15__withFreshCache(lean_object*); -lean_object* l_Nat_foldRevMAux___main___at___private_Init_Lean_MetavarContext_17__mkAuxMVarType___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Nat_foldRevMAux___main___at___private_Init_Lean_MetavarContext_17__mkAuxMVarType___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_LocalContext_foldlFromM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__40___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_Lean_MetavarContext_assignDelayed___spec__4(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___closed__1; +lean_object* l_PersistentArray_foldlFromMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__42(lean_object*); lean_object* l_Lean_LocalDecl_userName(lean_object*); lean_object* l_unreachable_x21___rarg(lean_object*); -lean_object* l___private_Init_Lean_MetavarContext_16__abstractRangeAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_16__abstractRangeAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_instantiateMVars(lean_object*, lean_object*); +uint8_t l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__52(lean_object*, lean_object*); +uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__55(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_findAux___main___at_Lean_MetavarContext_findLevelDepth_x3f___spec__2___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_find_x3f___at_Lean_MetavarContext_findLevelDepth_x3f___spec__1(lean_object*, lean_object*); +lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__74___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_LevelMVarToParam_mkParamName___main___boxed(lean_object*); lean_object* l_Array_eraseIdx___rarg(lean_object*, lean_object*); lean_object* lean_array_uget(lean_object*, size_t); -lean_object* l_Lean_MetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___lambda__2(lean_object*, lean_object*); +lean_object* l_Lean_MetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___lambda__2(lean_object*, uint8_t, lean_object*); extern lean_object* l_List_repr___rarg___closed__1; -uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__14(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_exprDependsOn___closed__1; lean_object* l_Lean_MetavarContext_addLevelMVarDecl(lean_object*, lean_object*); lean_object* lean_expr_update_mdata(lean_object*, lean_object*); @@ -58,30 +69,32 @@ lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext lean_object* l_PersistentHashMap_findAux___main___at_Lean_MetavarContext_findDecl_x3f___spec__2___boxed(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_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__44___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__71(lean_object*, lean_object*); extern lean_object* l_EIO_Monad___closed__1; -lean_object* l_PersistentArray_foldlFromM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__40___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__27___boxed(lean_object*, lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_MetavarContext_19__mkAuxMVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_19__mkAuxMVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern size_t l_PersistentHashMap_insertAux___main___rarg___closed__2; -lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__33___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__72___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_local_ctx_mk_let_decl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_12__visit___boxed(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Expr_updateMData_x21___closed__2; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); +lean_object* l_Lean_MetavarContext_setMVarKind___boxed(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*); -lean_object* l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__17___boxed(lean_object*, lean_object*); lean_object* lean_array_fswap(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_MetavarContext_11__reduceLocalContext(lean_object*, lean_object*); lean_object* lean_mk_metavar_ctx(lean_object*); -lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__21___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__47___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_metavar_ctx_get_expr_assignment(lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_Lean_MetavarContext_addExprMVarDecl___spec__4(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Nat_forMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__87___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_HashMapImp_expand___at___private_Init_Lean_MetavarContext_2__visit___spec__5(lean_object*, lean_object*); lean_object* lean_local_ctx_erase(lean_object*, lean_object*); lean_object* l_List_mapM___main___at_Lean_MetavarContext_InstantiateExprMVars_main___main___spec__1(lean_object*, lean_object*); -lean_object* l_Array_umapMAux___main___at___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main___spec__13(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_umapMAux___main___at___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main___spec__13(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_18__mkMVarApp___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__21___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_mkMVar(lean_object*); size_t l_USize_sub(size_t, size_t); @@ -89,65 +102,77 @@ uint8_t lean_metavar_ctx_is_delayed_assigned(lean_object*, lean_object*); extern lean_object* l_Array_empty___closed__1; lean_object* l_Lean_MetavarContext_mkLambda(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Util_1__mkPanicMessage(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_MetavarContext_setMVarKind(lean_object*, lean_object*, uint8_t); uint8_t l_PersistentHashMap_contains___at_Lean_MetavarContext_isDelayedAssigned___spec__1(lean_object*, lean_object*); uint8_t l_Lean_Level_hasMVar(lean_object*); lean_object* l_Lean_MetavarContext_getDecl___closed__2; -lean_object* l_PersistentArray_foldlMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__42(lean_object*); uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__55___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__85(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_insertAux___main___at_Lean_MetavarContext_assignExprCore___spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_mkBinding(uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l_Array_filterAux___main___at___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main___spec__4(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_getDecl___closed__1; -lean_object* l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__23___boxed(lean_object*, lean_object*); +lean_object* l_PersistentArray_foldlFromMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__42___rarg(lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l_PersistentHashMap_findAtAux___main___at_Lean_MetavarContext_getExprAssignment_x3f___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_LocalContext_foldlFromM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__39___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_reverseAux___main___rarg(lean_object*, lean_object*); uint8_t l_Lean_Expr_isApp(lean_object*); -lean_object* l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__5___boxed(lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_isDelayedAssigned___boxed(lean_object*, lean_object*); uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_metavar_ctx_get_delayed_assignment(lean_object*, lean_object*); +lean_object* l_ReaderT_Monad___rarg(lean_object*); +lean_object* l_Array_umapMAux___main___at___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main___spec__14___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__66(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_insertAux___main___at_Lean_MetavarContext_addExprMVarDecl___spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*); lean_object* l_PersistentHashMap_findAtAux___main___at_Lean_MetavarContext_findDecl_x3f___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__54(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_MkBinding_Exception_toString___closed__2; +lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__14___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__51(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__18(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_isUnaryNode___rarg(lean_object*); lean_object* l_Array_iterateMAux___main___at_Lean_MetavarContext_instantiateLCtxMVars___spec__4(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); +lean_object* l_Lean_Expr_withAppAux___main___at___private_Init_Lean_MetavarContext_22__elimMVarDepsAux___main___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_MetavarContext_9__getLocalDeclWithSmallestIdx___boxed(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_20__anyDependsOn___spec__13(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__27(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_expr_lift_loose_bvars(lean_object*, lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__47(lean_object*); lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__44___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__22(lean_object*, lean_object*); lean_object* lean_string_append(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_MetavarContext_19__mkAuxMVar(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); +uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__84(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_19__mkAuxMVar(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__57(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_PersistentHashMap_contains___at_Lean_MetavarContext_isLevelAssigned___spec__1(lean_object*, lean_object*); lean_object* l_PersistentHashMap_findAux___main___at_Lean_MetavarContext_getExprAssignment_x3f___spec__2(lean_object*, size_t, lean_object*); -lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_20__anyDependsOn___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__80(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_String_splitAux___main___closed__1; -lean_object* l_PersistentArray_foldlFromMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__41___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__36(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Expr_getAppArgs___closed__1; +lean_object* l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__83___boxed(lean_object*, lean_object*); lean_object* l_Array_filterAux___main___at___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main___spec__7(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_renameMVar(lean_object*, lean_object*, lean_object*); lean_object* l_PersistentArray_foldlM___at_Lean_MetavarContext_instantiateLCtxMVars___spec__2___boxed(lean_object*, lean_object*); extern lean_object* l_List_repr___rarg___closed__3; lean_object* l_PersistentHashMap_findAtAux___main___at_Lean_MetavarContext_getDelayedAssignment_x3f___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__77___boxed(lean_object*, lean_object*); lean_object* l_PersistentHashMap_findAtAux___main___at_Lean_MetavarContext_findLevelDepth_x3f___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___closed__4; size_t l_USize_shiftRight(size_t, size_t); lean_object* l_PersistentHashMap_findAux___main___at_Lean_MetavarContext_getDelayedAssignment_x3f___spec__2___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_contains___at_Lean_MetavarContext_isLevelAssigned___spec__1___boxed(lean_object*, lean_object*); extern lean_object* l_Id_monad; -lean_object* l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__35___boxed(lean_object*, lean_object*); -uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__28___boxed(lean_object*, lean_object*); uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_isAnonymousMVar___boxed(lean_object*, lean_object*); +lean_object* l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__9___boxed(lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_Lean_MetavarContext_instantiateLCtxMVars___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__26(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_LocalContext_foldlFromM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__40___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_PersistentHashMap_contains___at_Lean_MetavarContext_isExprAssigned___spec__1(lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_mkForallUsedOnly(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__38___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -156,82 +181,100 @@ lean_object* l_PersistentHashMap_findAux___main___at_Lean_MetavarContext_getLeve lean_object* l_Lean_MetavarContext_isLevelAssignable___boxed(lean_object*, lean_object*); uint8_t l_Lean_LocalContext_contains(lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_Lean_MetavarContext_addExprMVarDecl___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__65(lean_object*, lean_object*); lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_20__anyDependsOn___spec__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_LocalContext_Inhabited___closed__1; lean_object* l_Lean_MetavarContext_instantiateLCtxMVars___boxed(lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__46___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__84___boxed(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_PersistentHashMap_findAtAux___main___at_Lean_MetavarContext_getLevelAssignment_x3f___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_20__anyDependsOn___spec__9(lean_object*, lean_object*); +uint8_t l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__3(lean_object*, lean_object*); lean_object* l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_20__anyDependsOn___spec__2___boxed(lean_object*, lean_object*); +lean_object* l_Lean_MetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___lambda__2___boxed(lean_object*, lean_object*, lean_object*); +uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__68(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*); lean_object* lean_nat_add(lean_object*, lean_object*); lean_object* l_PersistentHashMap_findAux___main___at_Lean_MetavarContext_getExprAssignment_x3f___spec__2___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__26___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__34___boxed(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_13__getMCtx___boxed(lean_object*); +lean_object* l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__59___boxed(lean_object*, lean_object*); +uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__35(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_MetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___closed__5; extern lean_object* l_Lean_Expr_updateLambdaE_x21___closed__1; lean_object* lean_metavar_ctx_assign_delayed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_umapMAux___main___at___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__16___boxed(lean_object*, lean_object*); lean_object* l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_2__visit___spec__3(lean_object*, lean_object*, lean_object*); -uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__20(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_findAtAux___main___at_Lean_MetavarContext_findLevelDepth_x3f___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_expr_has_loose_bvar(lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_hasAssignableMVar___main(lean_object*, lean_object*); -uint8_t l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__11(lean_object*, lean_object*); -lean_object* l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__11___boxed(lean_object*, lean_object*); -uint8_t l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__17(lean_object*, lean_object*); +lean_object* l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__58___boxed(lean_object*, lean_object*); +lean_object* l_PersistentArray_foldlFromM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__41___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_findIdxAux___main___at_Lean_LocalInstances_erase___spec__1(lean_object*, lean_object*, lean_object*); uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__37(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_getAppNumArgsAux___main(lean_object*, lean_object*); uint8_t lean_metavar_ctx_is_expr_assigned(lean_object*, lean_object*); +uint8_t l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__82(lean_object*, lean_object*); extern lean_object* l_Lean_LocalContext_Inhabited___closed__2; extern lean_object* l_PersistentArray_getAux___main___rarg___closed__1; lean_object* l_Lean_MetavarContext_LevelMVarToParam_mkParamName___rarg(lean_object*, lean_object*); lean_object* lean_expr_lower_loose_bvars(lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_findAtAux___main___at_Lean_MetavarContext_findDecl_x3f___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Data_Array_Basic_3__iterateRevMAux___main___at___private_Init_Lean_MetavarContext_11__reduceLocalContext___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__15___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_MetavarContext_hasAssignableLevelMVar___main(lean_object*, lean_object*); +lean_object* l_Nat_forMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__87(lean_object*, lean_object*, 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*); -lean_object* l_Lean_LocalContext_foldlFromM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__39(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Array_HasRepr___rarg___closed__1; -uint8_t l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__16(lean_object*, lean_object*); lean_object* l___private_Init_Lean_MetavarContext_3__getMCtx(lean_object*); -lean_object* l_Lean_MetavarContext_elimMVarDeps___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_MetavarContext_elimMVarDeps___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); uint8_t l_List_foldr___main___at_Lean_MetavarContext_hasAssignableMVar___main___spec__1(lean_object*, uint8_t, lean_object*); +uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__67(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_MetavarContext_MkBinding_elimMVarDeps___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__58(lean_object*, lean_object*); lean_object* lean_expr_instantiate_rev_range(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Expr_Inhabited___closed__1; lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_20__anyDependsOn___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MetavarDecl_Inhabited___closed__1; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_MetavarContext_23__abstractRange(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__33___boxed(lean_object*, lean_object*); +lean_object* l_ReaderT_bind___at_Lean_MetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___spec__2(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_23__abstractRange(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); lean_object* l_Lean_MetavarContext_instantiateMVars___closed__1; -lean_object* l_Lean_MetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___lambda__1(lean_object*, lean_object*); +lean_object* l_Lean_MetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___lambda__1(lean_object*, uint8_t, lean_object*); uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__37___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Data_Array_Basic_3__iterateRevMAux___main___at___private_Init_Lean_MetavarContext_11__reduceLocalContext___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__52___boxed(lean_object*, lean_object*); lean_object* l___private_Init_Lean_MetavarContext_14__getInScope(lean_object*, lean_object*); -lean_object* l_EStateM_bind___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_levelMVarToParam(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_insert___at_Lean_MetavarContext_assignExprCore___spec__1(lean_object*, lean_object*, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_Lean_MetavarContext_assignExprCore___spec__4(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_LevelMVarToParam_main(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___private_Init_Lean_MetavarContext_13__getMCtx(lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_13__getMCtx(uint8_t); lean_object* lean_metavar_ctx_get_level_assignment(lean_object*, lean_object*); +lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__60___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_findAtAux___main___at_Lean_MetavarContext_getLevelAssignment_x3f___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_instantiateLevelMVars___main(lean_object*, lean_object*); +uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__86(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_Lean_MetavarContext_assignExprCore___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_20__anyDependsOn___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_LocalContext_foldlFromM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__39___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__21(lean_object*, lean_object*); +lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__67___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_MkBinding_Exception_toString___closed__5; -lean_object* l_Lean_MetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___lambda__1___boxed(lean_object*, lean_object*); +lean_object* l_Lean_MetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___lambda__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Array_shrink___main___rarg(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__63(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_AssocList_contains___main___at___private_Init_Lean_MetavarContext_2__visit___spec__4___boxed(lean_object*, lean_object*); lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_20__anyDependsOn___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_20__anyDependsOn___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__56(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_MetavarContext_hasAssignedLevelMVar(lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_LevelMVarToParam_visitLevel(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_isExprAssignable___boxed(lean_object*, lean_object*); @@ -239,13 +282,16 @@ lean_object* l_PersistentHashMap_findAux___main___at_Lean_MetavarContext_getDela lean_object* lean_level_update_max(lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_findAux___main___at_Lean_MetavarContext_getLevelAssignment_x3f___spec__2(lean_object*, size_t, lean_object*); lean_object* l_PersistentHashMap_erase___at_Lean_MetavarContext_eraseDelayed___spec__1___boxed(lean_object*, lean_object*); +uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__79(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_hasExprMVar(lean_object*); +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__49___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Expr_2__mkAppRangeAux___main(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_find_x3f___at_Lean_MetavarContext_getDelayedAssignment_x3f___spec__1___boxed(lean_object*, lean_object*); uint8_t l_AssocList_contains___main___at___private_Init_Lean_MetavarContext_6__visit_x3f___spec__2(lean_object*, lean_object*); lean_object* l_Lean_Expr_fvarId_x21(lean_object*); lean_object* lean_metavar_ctx_assign_expr(lean_object*, lean_object*, lean_object*); +lean_object* l_ReaderT_lift___at_Lean_MetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__48___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_LevelMVarToParam_mkParamName(lean_object*); @@ -254,14 +300,14 @@ lean_object* l_PersistentHashMap_insert___at_Lean_MetavarContext_addLevelMVarDec lean_object* l_AssocList_foldlM___main___at___private_Init_Lean_MetavarContext_2__visit___spec__7(lean_object*, lean_object*); lean_object* l_Lean_Name_appendIndexAfter(lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_LevelMVarToParam_visitLevel___main(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_MetavarContext_MkBinding_elimMVarDeps(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_MetavarContext_MkBinding_elimMVarDeps(lean_object*, lean_object*, uint8_t, lean_object*); lean_object* l_Lean_MetavarContext_isWellFormed(lean_object*, lean_object*, lean_object*); -lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__32___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__23___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_LevelMVarToParam_mkParamName___main___rarg(lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_isLevelAssigned___boxed(lean_object*, lean_object*); uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__13(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__81(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__36___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__34(lean_object*, lean_object*); size_t l_Lean_Name_hash(lean_object*); lean_object* l_Lean_MetavarContext_MkBinding_Exception_toString(lean_object*); extern lean_object* l_Char_HasRepr___closed__1; @@ -270,53 +316,52 @@ lean_object* l_PersistentHashMap_insert___at_Lean_MetavarContext_assignLevel___s lean_object* l_Lean_MetavarContext_getDecl___closed__3; lean_object* l_Lean_MetavarContext_instantiateLevelMVars(lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_Lean_MetavarContext_instantiateLCtxMVars___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_PersistentArray_foldlFromM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__40___rarg(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_LocalDecl_binderInfo(lean_object*); -lean_object* l_Lean_MetavarContext_elimMVarDeps(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_MetavarContext_elimMVarDeps(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_20__anyDependsOn___spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__22___boxed(lean_object*, lean_object*); -lean_object* l_Lean_MetavarContext_MkBinding_mkBinding___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_MetavarContext_MkBinding_mkBinding___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_PersistentHashMap_insertAux___main___rarg___closed__3; +lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__29___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_Inhabited; lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__46(lean_object*); lean_object* l_PersistentHashMap_find_x3f___at_Lean_MetavarContext_findDecl_x3f___spec__1___boxed(lean_object*, lean_object*); -lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t l_Lean_Expr_hash(lean_object*); lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__48___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_List_repr___rarg___closed__2; +lean_object* l_Array_umapMAux___main___at___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main___spec__8___boxed(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_umapMAux___main___at___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_20__anyDependsOn___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_List_reprAux___main___rarg___closed__1; +lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__69(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_hasAssignableLevelMVar___boxed(lean_object*, lean_object*); lean_object* l_Lean_LocalContext_getFVar_x21(lean_object*, lean_object*); +lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_ReaderT_bind___at_Lean_MetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___spec__2___rarg(lean_object*, lean_object*, uint8_t, lean_object*); lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__18___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); size_t l_USize_shiftLeft(size_t, size_t); lean_object* l_PersistentHashMap_findAux___main___at_Lean_MetavarContext_findDecl_x3f___spec__2(lean_object*, size_t, lean_object*); lean_object* l_Lean_MetavarContext_assignExpr(lean_object*, lean_object*, lean_object*); lean_object* l_Array_indexOfAux___main___at_Lean_MetavarContext_eraseDelayed___spec__3___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_isWellFormed___main(lean_object*, lean_object*, lean_object*); -lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__43___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_PersistentHashMap_containsAux___main___at_Lean_MetavarContext_isExprAssigned___spec__2(lean_object*, size_t, lean_object*); lean_object* l_Lean_LocalInstances_erase(lean_object*, lean_object*); -lean_object* l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__28___boxed(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_MetavarContext_16__abstractRangeAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__16___boxed(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_16__abstractRangeAux(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); lean_object* l_Lean_MetavarContext_localDeclDependsOn(lean_object*, lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_14__getInScope___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__33(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__32(lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_modn(size_t, lean_object*); -lean_object* l___private_Init_Lean_MetavarContext_21__elimMVarDepsApp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_21__elimMVarDepsApp(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); lean_object* l_HashMapImp_moveEntries___main___at___private_Init_Lean_MetavarContext_2__visit___spec__6(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_MetavarContext_10__collectDeps(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_10__collectDeps(lean_object*, lean_object*, lean_object*, uint8_t); lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_9__getLocalDeclWithSmallestIdx___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Expr_updateApp_x21___closed__1; uint8_t l_Lean_Expr_hasLevelMVar(lean_object*); lean_object* l_Lean_LocalDecl_toExpr(lean_object*); -lean_object* l___private_Init_Lean_MetavarContext_22__elimMVarDepsAux(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_22__elimMVarDepsAux(lean_object*, lean_object*, uint8_t, lean_object*); +lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__54___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_insertAtCollisionNodeAux___main___at_Lean_MetavarContext_addLevelMVarDecl___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__22(lean_object*, lean_object*); lean_object* l_Lean_mkLambda(lean_object*, uint8_t, lean_object*, lean_object*); uint8_t l_Lean_BinderInfo_isAuxDecl(uint8_t); size_t l_USize_mul(size_t, size_t); @@ -325,68 +370,90 @@ lean_object* l_mkHashMapImp___rarg(lean_object*); lean_object* l_Lean_LocalContext_foldlM___at_Lean_MetavarContext_instantiateLCtxMVars___spec__1___boxed(lean_object*, lean_object*); lean_object* l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_20__anyDependsOn___spec__9___boxed(lean_object*, lean_object*); lean_object* l_Nat_foldRevMAux___main___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__27___boxed(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_Array_filterAux___main___at___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__24___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l___private_Init_Lean_MetavarContext_20__anyDependsOn(lean_object*, lean_object*, lean_object*); +uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__60(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentArray_foldlFromM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__41(lean_object*); uint8_t l_Lean_Expr_Data_binderInfo(uint64_t); +uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__29(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___closed__3; size_t lean_usize_of_nat(lean_object*); +uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__39(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__49(lean_object*); lean_object* l_PersistentArray_foldlMAux___main___at_Lean_MetavarContext_instantiateLCtxMVars___spec__3(lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_Lean_MetavarContext_instantiateLCtxMVars___spec__6(lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__26(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__46___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isLambda(lean_object*); uint8_t l_PersistentHashMap_containsAtAux___main___at_Lean_MetavarContext_isLevelAssigned___spec__3(lean_object*, lean_object*, lean_object*); -lean_object* l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__29___boxed(lean_object*, lean_object*); +lean_object* l_ReaderT_bind___at_Lean_MetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__82___boxed(lean_object*, lean_object*); lean_object* lean_expr_update_proj(lean_object*, lean_object*); +lean_object* l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__4___boxed(lean_object*, lean_object*); lean_object* l_PersistentHashMap_insertAux___main___at_Lean_MetavarContext_assignExprCore___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t l_USize_land(size_t, size_t); lean_object* l_Lean_LocalDecl_fvarId(lean_object*); lean_object* l_AssocList_replace___main___at___private_Init_Lean_MetavarContext_6__visit_x3f___spec__7(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_findLevelDepth_x3f___boxed(lean_object*, lean_object*); +lean_object* l_Nat_forMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__88___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Expr_updateProj_x21___closed__2; -lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__14___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__59(lean_object*, lean_object*); lean_object* l_Lean_LocalInstance_beq___boxed(lean_object*, lean_object*); 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_PersistentHashMap_find_x3f___at_Lean_MetavarContext_findLevelDepth_x3f___spec__1___boxed(lean_object*, lean_object*); -lean_object* l_Array_umapMAux___main___at___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main___spec__11(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_umapMAux___main___at___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main___spec__11(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); lean_object* l_Lean_MetavarContext_MkBinding_Exception_toString___closed__3; lean_object* l_Lean_MetavarContext_instantiateLCtxMVars(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_22__elimMVarDepsAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_containsAtAux___main___at_Lean_MetavarContext_isLevelAssigned___spec__3___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__45(lean_object*); lean_object* l_Lean_MetavarContext_exprDependsOn(lean_object*, lean_object*, lean_object*); lean_object* lean_local_ctx_mk_local_decl(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__45___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__78___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__62(lean_object*, lean_object*, lean_object*, 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*); +uint8_t l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__83(lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_MkBinding_Exception_hasToString; -lean_object* l_Array_umapMAux___main___at___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main___spec__5(lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__4(lean_object*, lean_object*); +lean_object* l_Array_umapMAux___main___at___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main___spec__5(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__75(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__10___boxed(lean_object*, lean_object*); uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__30(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_AssocList_contains___main___at___private_Init_Lean_MetavarContext_6__visit_x3f___spec__2___boxed(lean_object*, lean_object*); lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_20__anyDependsOn___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_AssocList_foldlM___main___at___private_Init_Lean_MetavarContext_6__visit_x3f___spec__6(lean_object*, lean_object*); -uint8_t l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__5(lean_object*, lean_object*); +uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__23(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_hasAssignedLevelMVar___main___boxed(lean_object*, lean_object*); lean_object* l_AssocList_replace___main___at___private_Init_Lean_MetavarContext_2__visit___spec__8(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_hasAssignableLevelMVar___main___boxed(lean_object*, lean_object*); lean_object* lean_level_update_imax(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_13__getMCtx___rarg(lean_object*); lean_object* l_Lean_MetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter; uint8_t l_Lean_MetavarContext_isAnonymousMVar(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_MetavarContext_15__withFreshCache___rarg(lean_object*, lean_object*); +uint8_t l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__34(lean_object*, lean_object*); +lean_object* l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__76___boxed(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_15__withFreshCache___rarg(lean_object*, uint8_t, lean_object*); lean_object* l_Lean_LocalDecl_index(lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__26___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_MetavarKind_isSyntheticOpaque(uint8_t); uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_20__anyDependsOn___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_find_x3f___at_Lean_MetavarContext_getLevelAssignment_x3f___spec__1___boxed(lean_object*, lean_object*); -lean_object* l_Lean_Expr_withAppAux___main___at___private_Init_Lean_MetavarContext_22__elimMVarDepsAux___main___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__39___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__9(lean_object*, lean_object*); +lean_object* l_PersistentArray_foldlMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__43___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__66___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__53___boxed(lean_object*, lean_object*); +lean_object* l_Lean_Expr_withAppAux___main___at___private_Init_Lean_MetavarContext_22__elimMVarDepsAux___main___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); +lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__17___boxed(lean_object*, 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_umapMAux___main___at___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main___spec__8(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_umapMAux___main___at___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main___spec__8(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); +lean_object* l_Lean_MetavarContext_MkBinding_preserveOrder(uint8_t, lean_object*); +uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__78(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_HashMapImp_moveEntries___main___at___private_Init_Lean_MetavarContext_6__visit_x3f___spec__5(lean_object*, lean_object*, lean_object*); -uint8_t l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__28(lean_object*, lean_object*); -uint8_t l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__10(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__20___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_hasAssignableMVar___boxed(lean_object*, lean_object*); uint8_t l_PersistentHashMap_containsAux___main___at_Lean_MetavarContext_isLevelAssigned___spec__2(lean_object*, size_t, lean_object*); uint8_t lean_expr_eqv(lean_object*, lean_object*); @@ -394,124 +461,157 @@ lean_object* l_PersistentHashMap_insertAux___main___at_Lean_MetavarContext_addLe uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_20__anyDependsOn___spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_insertAtCollisionNodeAux___main___at_Lean_MetavarContext_addExprMVarDecl___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__38(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__75___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_MkBinding_Exception_hasToString___closed__1; uint8_t l_Lean_Expr_isMVar(lean_object*); -lean_object* l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__10___boxed(lean_object*, lean_object*); lean_object* lean_expr_update_sort(lean_object*, lean_object*); lean_object* l_Lean_MetavarDecl_Inhabited; lean_object* l_PersistentHashMap_insertAux___main___at_Lean_MetavarContext_addLevelMVarDecl___spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*); lean_object* l_Array_filterAux___main___at___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main___spec__10(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_findAtAux___main___at_Lean_MetavarContext_getExprAssignment_x3f___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__32___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__64___boxed(lean_object*, lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); uint8_t l_USize_decLe(size_t, size_t); +lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkApp(lean_object*, lean_object*); uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_20__anyDependsOn___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__48(lean_object*); +lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__79___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_hasMVar(lean_object*); +lean_object* l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__65___boxed(lean_object*, lean_object*); +uint8_t l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__27(lean_object*, lean_object*); +lean_object* l_PersistentArray_foldlMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__43___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_betaRev(lean_object*, lean_object*); uint8_t l_Lean_MetavarContext_hasAssignableLevelMVar(lean_object*, lean_object*); +lean_object* l_Nat_forMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__87___closed__1; lean_object* l_Lean_MetavarContext_isExprAssigned___boxed(lean_object*, lean_object*); lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__76(lean_object*, lean_object*); +lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__68___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_6__visit_x3f___spec__1(lean_object*, lean_object*); -lean_object* l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__34___boxed(lean_object*, lean_object*); uint8_t l_Lean_Name_isAnonymous(lean_object*); lean_object* lean_metavar_ctx_mk_decl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); extern uint8_t l_Bool_Inhabited; +uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__61(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_panic_fn(lean_object*, lean_object*); lean_object* lean_metavar_ctx_assign_level(lean_object*, lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_Lean_MetavarContext_addLevelMVarDecl___spec__4(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__19___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_insertAtCollisionNodeAux___main___at_Lean_MetavarContext_assignLevel___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_LocalContext_foldlFromM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__40(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_20__anyDependsOn___spec__3(lean_object*, lean_object*); lean_object* l_PersistentHashMap_containsAux___main___at_Lean_MetavarContext_isExprAssigned___spec__2___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__4___boxed(lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_incDepth(lean_object*); lean_object* l_HashMapImp_contains___at___private_Init_Lean_MetavarContext_6__visit_x3f___spec__1___boxed(lean_object*, lean_object*); +lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__62___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__73___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__14(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_withAppAux___main___at_Lean_MetavarContext_InstantiateExprMVars_main___main___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__56___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__80___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__74(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_PersistentArray_anyM___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_HashMapImp_expand___at___private_Init_Lean_MetavarContext_6__visit_x3f___spec__4(lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_renameMVar___closed__1; -lean_object* l_Array_umapMAux___main___at___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_umapMAux___main___at___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main___spec__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); lean_object* l_Array_eraseIdx_x27___rarg(lean_object*, lean_object*); lean_object* lean_nat_mul(lean_object*, lean_object*); lean_object* lean_metavar_ctx_find_decl(lean_object*, lean_object*); lean_object* l___private_Init_Lean_MetavarContext_18__mkMVarApp(lean_object*, lean_object*, lean_object*, uint8_t); lean_object* l_Lean_MetavarContext_isLevelAssignable___closed__2; +lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__8(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_LocalInstance_hasBeq___closed__1; lean_object* l_Lean_LocalInstance_hasBeq; uint8_t l_Lean_MetavarContext_isLevelAssignable(lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_18__mkMVarApp___spec__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__69___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkForall(lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l_PersistentHashMap_erase___at_Lean_MetavarContext_eraseDelayed___spec__1(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___private_Init_Lean_MetavarContext_17__mkAuxMVarType(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); +lean_object* l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__3___boxed(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_17__mkAuxMVarType(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, uint8_t, lean_object*); +lean_object* l_Lean_LocalContext_foldlFromM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__40___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, 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_PersistentHashMap_findAux___main___at_Lean_MetavarContext_findLevelDepth_x3f___spec__2(lean_object*, size_t, lean_object*); -lean_object* l_PersistentArray_foldlMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__42___rarg___boxed(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Expr_updateLet_x21___closed__1; lean_object* lean_expr_update_lambda(lean_object*, uint8_t, lean_object*, lean_object*); uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__31(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_PersistentArray_foldlFromM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__40(lean_object*); lean_object* lean_level_update_succ(lean_object*, lean_object*); lean_object* l_mkHashSet___at_Lean_MetavarContext_exprDependsOn___spec__1(lean_object*); lean_object* l_Lean_MetavarContext_getDecl___boxed(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_MetavarContext_22__elimMVarDepsAux___main(lean_object*, lean_object*, lean_object*); +uint8_t l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__64(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_22__elimMVarDepsAux___main(lean_object*, lean_object*, uint8_t, lean_object*); lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_20__anyDependsOn___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_LocalContext_foldlFromM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__39___lambda__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_10__collectDeps___spec__22___boxed(lean_object*, lean_object*); uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__24(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_20__anyDependsOn___spec__8(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_PersistentHashMap_insert___at_Lean_MetavarContext_addExprMVarDecl___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_MetavarContext_24__visit(lean_object*, 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_MetavarContext_MkBinding_mkBinding___lambda__1(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_MetavarContext_MkBinding_mkBinding___lambda__1(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, uint8_t, lean_object*); lean_object* l_PersistentHashMap_getCollisionNodeSize___rarg(lean_object*); lean_object* l_PersistentHashMap_find_x3f___at_Lean_MetavarContext_getExprAssignment_x3f___spec__1___boxed(lean_object*, lean_object*); lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_20__anyDependsOn___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkLet(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); -lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__9(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_20__anyDependsOn___spec__2(lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_getLevelDepth(lean_object*, lean_object*); lean_object* l___private_Init_Lean_MetavarContext_18__mkMVarApp___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_Lean_MetavarContext_instantiateLCtxMVars___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentArray_foldlFromM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__41___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_toList___rarg(lean_object*); -lean_object* l_Lean_MetavarContext_MkBinding_mkBinding(uint8_t, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); +lean_object* l_Lean_MetavarContext_MkBinding_mkBinding(uint8_t, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*); +lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__86___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Expr_Inhabited; +uint8_t l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__28(lean_object*, lean_object*); lean_object* l_mkHashMap___at_Lean_MetavarContext_exprDependsOn___spec__2(lean_object*); -lean_object* l_Array_umapMAux___main___at___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main___spec__12(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_umapMAux___main___at___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main___spec__12(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_find_x3f___at_Lean_MetavarContext_getLevelAssignment_x3f___spec__1(lean_object*, lean_object*); lean_object* lean_mk_array(lean_object*, lean_object*); lean_object* l_Lean_LocalInstances_erase___boxed(lean_object*, lean_object*); lean_object* l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_20__anyDependsOn___spec__3___boxed(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__51___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__70(lean_object*, lean_object*); lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___lambda__1(lean_object*, lean_object*); -lean_object* l_Array_umapMAux___main___at___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_umapMAux___main___at___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main___spec__2(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); +uint8_t l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__15(lean_object*, lean_object*); lean_object* lean_expr_abstract(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__21(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_MkBinding_Exception_toString___closed__1; lean_object* l___private_Init_Lean_MetavarContext_9__getLocalDeclWithSmallestIdx(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* l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__15___boxed(lean_object*, lean_object*); +lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__35___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_contains___at_Lean_MetavarContext_isDelayedAssigned___spec__1___boxed(lean_object*, lean_object*); lean_object* l_Array_findIdxAux___main___at_Lean_LocalInstances_erase___spec__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__44(lean_object*); +lean_object* l_Array_umapMAux___main___at___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main___spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_MetavarContext_7__visit(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_10__collectDeps___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_instantiateMVarDeclMVars(lean_object*, lean_object*); -uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__32(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__71___boxed(lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_9__getLocalDeclWithSmallestIdx___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_find_x3f___at_Lean_MetavarContext_getDelayedAssignment_x3f___spec__1(lean_object*, lean_object*); lean_object* l_Lean_LocalContext_foldlM___at_Lean_MetavarContext_instantiateLCtxMVars___spec__1(lean_object*, lean_object*); +lean_object* l_Lean_MetavarContext_MkBinding_preserveOrder___boxed(lean_object*, lean_object*); lean_object* l___private_Init_Lean_MetavarContext_20__anyDependsOn___boxed(lean_object*, lean_object*, lean_object*); +uint8_t l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__10(lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_isLevelAssignable___closed__1; lean_object* l_Array_indexOfAux___main___at_Lean_MetavarContext_eraseDelayed___spec__3(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_addExprMVarDecl___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_MetavarContext_isExprAssignable(lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_hasAssignedLevelMVar___boxed(lean_object*, lean_object*); -lean_object* l_Nat_foldRevMAux___main___at___private_Init_Lean_MetavarContext_17__mkAuxMVarType___spec__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); +lean_object* l_PersistentArray_foldlMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__43(lean_object*); +lean_object* l_Nat_foldRevMAux___main___at___private_Init_Lean_MetavarContext_17__mkAuxMVarType___spec__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, uint8_t, lean_object*); lean_object* l_Lean_MetavarContext_Inhabited___closed__1; lean_object* l_Lean_MetavarContext_mkForall(lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__53(lean_object*, lean_object*); +lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__85___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_MetavarContext_14__getInScope___boxed(lean_object*, lean_object*); +uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__73(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_PersistentArray_foldlM___at_Lean_MetavarContext_instantiateLCtxMVars___spec__2(lean_object*, lean_object*); lean_object* l_HashMapImp_find_x3f___at___private_Init_Lean_MetavarContext_2__visit___spec__1___boxed(lean_object*, lean_object*); uint8_t l_Lean_LocalInstance_beq(lean_object*, lean_object*); @@ -524,15 +624,15 @@ lean_object* l_Lean_MetavarContext_getDecl(lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_getLevelDepth___closed__1; extern lean_object* l_Nat_Inhabited; extern lean_object* l_System_FilePath_dirName___closed__1; -lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__43(lean_object*); +lean_object* l_ReaderT_lift___at_Lean_MetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___spec__1___rarg(lean_object*, uint8_t, lean_object*); lean_object* l_List_foldr___main___at_Lean_MetavarContext_hasAssignableMVar___main___spec__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_MetavarContext_11__reduceLocalContext___boxed(lean_object*, lean_object*); uint8_t l_Lean_MetavarContext_hasAssignedLevelMVar___main(lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__47___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__45___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__15(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_umapMAux___main___at___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main___spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_getLevelDepth___boxed(lean_object*, lean_object*); lean_object* l_Lean_Name_toStringWithSep___main(lean_object*, lean_object*); lean_object* l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_6__visit_x3f___spec__3(lean_object*, lean_object*, lean_object*); @@ -542,31 +642,35 @@ lean_object* l_Lean_MetavarContext_InstantiateExprMVars_instantiateLevelMVars(le lean_object* lean_usize_to_nat(size_t); lean_object* l_Lean_MetavarContext_hasAssignableMVar___main___boxed(lean_object*, lean_object*); lean_object* lean_expr_update_app(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_MetavarContext_12__visit(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_12__visit(lean_object*, lean_object*, uint8_t, lean_object*); +uint8_t l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__4(lean_object*, lean_object*); lean_object* l_Lean_MetavarKind_isSyntheticOpaque___boxed(lean_object*); +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__49___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_MetavarContext_8__dep(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_AssocList_find___main___at___private_Init_Lean_MetavarContext_2__visit___spec__2(lean_object*, lean_object*); extern lean_object* l_HashMap_Inhabited___closed__1; +lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__57___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_Lean_MetavarContext_addLevelMVarDecl___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_20__anyDependsOn___spec__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_DependsOn_main(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*); uint8_t l_Lean_Expr_hasFVar(lean_object*); lean_object* l_Array_filterAux___main___at___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_MetavarContext_17__mkAuxMVarType___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__43___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_17__mkAuxMVarType___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_metavar_ctx_is_level_assigned(lean_object*, lean_object*); +lean_object* l_Array_back___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__50(lean_object*); lean_object* l___private_Init_Lean_MetavarContext_2__visit(lean_object*, lean_object*, lean_object*); uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__25(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_15__withFreshCache___rarg___boxed(lean_object*, lean_object*, lean_object*); +uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_findAtAux___main___at_Lean_MetavarContext_getDelayedAssignment_x3f___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_PersistentArray_foldlFromMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__41___rarg(lean_object*, lean_object*, size_t, size_t, lean_object*); -uint8_t l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__23(lean_object*, lean_object*); lean_object* l_Array_umapMAux___main___at_Lean_MetavarContext_InstantiateExprMVars_main___main___spec__2(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_InstantiateExprMVars_main___main(lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_LevelMVarToParam_mkParamName___boxed(lean_object*); -lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__20___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_hasAssignedMVar___main(lean_object*, lean_object*); +lean_object* l_Nat_forMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__88(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_umapMAux___main___at___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_EStateM_MonadState___closed__2; lean_object* l_List_toStringAux___main___at_Lean_MetavarContext_MkBinding_Exception_toString___spec__3(uint8_t, lean_object*); extern lean_object* l_Lean_Expr_updateForallE_x21___closed__1; @@ -575,24 +679,31 @@ lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___lambda__1___bo lean_object* l_Lean_MetavarContext_LevelMVarToParam_main___main(lean_object*, lean_object*, lean_object*); lean_object* lean_expr_update_const(lean_object*, lean_object*); lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__25___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__33(lean_object*, lean_object*); uint8_t l_Lean_LocalContext_isSubPrefixOf(lean_object*, lean_object*); lean_object* l_List_mapM___main___at_Lean_MetavarContext_LevelMVarToParam_main___main___spec__1(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_22__elimMVarDepsAux___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_mkCollisionNode___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_umapMAux___main___at___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_MetavarContext_6__visit_x3f(lean_object*, lean_object*); -lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__16(lean_object*, lean_object*); lean_object* l_HashMapImp_find_x3f___at___private_Init_Lean_MetavarContext_2__visit___spec__1(lean_object*, lean_object*); +uint8_t l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__77(lean_object*, lean_object*); lean_object* l_PersistentHashMap_find_x3f___at_Lean_MetavarContext_findDecl_x3f___spec__1(lean_object*, lean_object*); +uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__72(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_MetavarContext_MkBinding_mkBinding___closed__1; lean_object* l_PersistentArray_foldlMAux___main___at_Lean_MetavarContext_instantiateLCtxMVars___spec__3___boxed(lean_object*, lean_object*); lean_object* l_PersistentHashMap_find_x3f___at_Lean_MetavarContext_getExprAssignment_x3f___spec__1(lean_object*, lean_object*); lean_object* l_List_toStringAux___main___at_Lean_MetavarContext_MkBinding_Exception_toString___spec__3___boxed(lean_object*, lean_object*); uint8_t l_AssocList_contains___main___at___private_Init_Lean_MetavarContext_2__visit___spec__4(lean_object*, lean_object*); uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__31___boxed(lean_object*, lean_object*, lean_object*, 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_mkBinding___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_20__anyDependsOn___spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_PersistentArray_foldlFromMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__41(lean_object*); uint8_t l_Lean_LocalDecl_isLet(lean_object*); +lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__20(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); +lean_object* l_Array_back___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__50___boxed(lean_object*); lean_object* l_Lean_MetavarContext_hasAssignableMVar(lean_object*, lean_object*); lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__30___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_MkBinding_Exception_toString___closed__4; @@ -2170,6 +2281,123 @@ lean_dec(x_2); return x_3; } } +lean_object* l_Lean_MetavarContext_setMVarKind(lean_object* x_1, lean_object* x_2, uint8_t x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +lean_inc(x_1); +x_4 = l_Lean_MetavarContext_getDecl(x_1, x_2); +x_5 = !lean_is_exclusive(x_1); +if (x_5 == 0) +{ +uint8_t x_6; +x_6 = !lean_is_exclusive(x_4); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; +x_7 = lean_ctor_get(x_1, 2); +lean_ctor_set_uint8(x_4, sizeof(void*)*5, x_3); +x_8 = l_PersistentHashMap_insert___at_Lean_MetavarContext_addExprMVarDecl___spec__1(x_7, x_2, x_4); +lean_ctor_set(x_1, 2, x_8); +return x_1; +} +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; +x_9 = lean_ctor_get(x_1, 2); +x_10 = lean_ctor_get(x_4, 0); +x_11 = lean_ctor_get(x_4, 1); +x_12 = lean_ctor_get(x_4, 2); +x_13 = lean_ctor_get(x_4, 3); +x_14 = lean_ctor_get(x_4, 4); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_dec(x_4); +x_15 = lean_alloc_ctor(0, 5, 1); +lean_ctor_set(x_15, 0, x_10); +lean_ctor_set(x_15, 1, x_11); +lean_ctor_set(x_15, 2, x_12); +lean_ctor_set(x_15, 3, x_13); +lean_ctor_set(x_15, 4, x_14); +lean_ctor_set_uint8(x_15, sizeof(void*)*5, x_3); +x_16 = l_PersistentHashMap_insert___at_Lean_MetavarContext_addExprMVarDecl___spec__1(x_9, x_2, x_15); +lean_ctor_set(x_1, 2, x_16); +return x_1; +} +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_17 = lean_ctor_get(x_1, 0); +x_18 = lean_ctor_get(x_1, 1); +x_19 = lean_ctor_get(x_1, 2); +x_20 = lean_ctor_get(x_1, 3); +x_21 = lean_ctor_get(x_1, 4); +x_22 = lean_ctor_get(x_1, 5); +lean_inc(x_22); +lean_inc(x_21); +lean_inc(x_20); +lean_inc(x_19); +lean_inc(x_18); +lean_inc(x_17); +lean_dec(x_1); +x_23 = lean_ctor_get(x_4, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_4, 1); +lean_inc(x_24); +x_25 = lean_ctor_get(x_4, 2); +lean_inc(x_25); +x_26 = lean_ctor_get(x_4, 3); +lean_inc(x_26); +x_27 = lean_ctor_get(x_4, 4); +lean_inc(x_27); +if (lean_is_exclusive(x_4)) { + lean_ctor_release(x_4, 0); + lean_ctor_release(x_4, 1); + lean_ctor_release(x_4, 2); + lean_ctor_release(x_4, 3); + lean_ctor_release(x_4, 4); + x_28 = x_4; +} else { + lean_dec_ref(x_4); + x_28 = lean_box(0); +} +if (lean_is_scalar(x_28)) { + x_29 = lean_alloc_ctor(0, 5, 1); +} else { + x_29 = x_28; +} +lean_ctor_set(x_29, 0, x_23); +lean_ctor_set(x_29, 1, x_24); +lean_ctor_set(x_29, 2, x_25); +lean_ctor_set(x_29, 3, x_26); +lean_ctor_set(x_29, 4, x_27); +lean_ctor_set_uint8(x_29, sizeof(void*)*5, x_3); +x_30 = l_PersistentHashMap_insert___at_Lean_MetavarContext_addExprMVarDecl___spec__1(x_19, x_2, x_29); +x_31 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_31, 0, x_17); +lean_ctor_set(x_31, 1, x_18); +lean_ctor_set(x_31, 2, x_30); +lean_ctor_set(x_31, 3, x_20); +lean_ctor_set(x_31, 4, x_21); +lean_ctor_set(x_31, 5, x_22); +return x_31; +} +} +} +lean_object* l_Lean_MetavarContext_setMVarKind___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_3); +lean_dec(x_3); +x_5 = l_Lean_MetavarContext_setMVarKind(x_1, x_2, x_4); +return x_5; +} +} lean_object* l_PersistentHashMap_findAtAux___main___at_Lean_MetavarContext_findLevelDepth_x3f___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { @@ -2358,7 +2586,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_MetavarContext_getDecl___closed__1; -x_2 = lean_unsigned_to_nat(332u); +x_2 = lean_unsigned_to_nat(336u); x_3 = lean_unsigned_to_nat(12u); x_4 = l_Lean_MetavarContext_getDecl___closed__2; x_5 = l___private_Init_Util_1__mkPanicMessage(x_1, x_2, x_3, x_4); @@ -2437,7 +2665,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_MetavarContext_getDecl___closed__1; -x_2 = lean_unsigned_to_nat(341u); +x_2 = lean_unsigned_to_nat(345u); x_3 = lean_unsigned_to_nat(19u); x_4 = l_Lean_MetavarContext_getDecl___closed__2; x_5 = l___private_Init_Util_1__mkPanicMessage(x_1, x_2, x_3, x_4); @@ -5926,7 +6154,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_MetavarContext_getDecl___closed__1; -x_2 = lean_unsigned_to_nat(390u); +x_2 = lean_unsigned_to_nat(394u); x_3 = lean_unsigned_to_nat(12u); x_4 = l_Lean_MetavarContext_isLevelAssignable___closed__1; x_5 = l___private_Init_Util_1__mkPanicMessage(x_1, x_2, x_3, x_4); @@ -15263,92 +15491,190 @@ x_1 = l_Lean_MetavarContext_MkBinding_Exception_hasToString___closed__1; return x_1; } } -lean_object* l_Lean_MetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___lambda__1(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_MetavarContext_MkBinding_preserveOrder(uint8_t 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_3 = lean_box(x_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_Lean_MetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___lambda__2(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_MetavarContext_MkBinding_preserveOrder___boxed(lean_object* x_1, lean_object* x_2) { _start: { -uint8_t x_3; -x_3 = !lean_is_exclusive(x_2); -if (x_3 == 0) +uint8_t x_3; lean_object* x_4; +x_3 = lean_unbox(x_1); +lean_dec(x_1); +x_4 = l_Lean_MetavarContext_MkBinding_preserveOrder(x_3, x_2); +return x_4; +} +} +lean_object* l_ReaderT_lift___at_Lean_MetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___spec__1___rarg(lean_object* x_1, uint8_t x_2, lean_object* x_3) { +_start: { -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; +lean_object* x_4; +x_4 = lean_apply_1(x_1, x_3); +return x_4; +} +} +lean_object* l_ReaderT_lift___at_Lean_MetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___spec__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_ReaderT_lift___at_Lean_MetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___spec__1___rarg___boxed), 3, 0); +return x_2; +} +} +lean_object* l_ReaderT_bind___at_Lean_MetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___spec__2___rarg(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; lean_object* x_6; +x_5 = lean_box(x_3); +x_6 = lean_apply_2(x_1, x_5, x_4); +if (lean_obj_tag(x_6) == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_7 = lean_ctor_get(x_6, 0); +lean_inc(x_7); +x_8 = lean_ctor_get(x_6, 1); +lean_inc(x_8); +lean_dec(x_6); +x_9 = lean_box(x_3); +x_10 = lean_apply_3(x_2, x_7, x_9, x_8); +return x_10; } 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); +uint8_t x_11; +lean_dec(x_2); +x_11 = !lean_is_exclusive(x_6); +if (x_11 == 0) +{ +return x_6; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_6, 0); +x_13 = lean_ctor_get(x_6, 1); +lean_inc(x_13); +lean_inc(x_12); +lean_dec(x_6); +x_14 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_14, 0, x_12); +lean_ctor_set(x_14, 1, x_13); +return x_14; +} +} +} +} +lean_object* l_ReaderT_bind___at_Lean_MetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___spec__2(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_MetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___spec__2___rarg___boxed), 4, 0); +return x_3; +} +} +lean_object* l_Lean_MetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___lambda__1(lean_object* x_1, uint8_t 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); +x_5 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_5, 0, x_4); +lean_ctor_set(x_5, 1, x_3); +return x_5; +} +} +lean_object* l_Lean_MetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___lambda__2(lean_object* x_1, uint8_t 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, 2); +x_6 = lean_apply_1(x_1, x_5); +lean_ctor_set(x_3, 2, 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; +x_9 = lean_ctor_get(x_3, 0); +x_10 = lean_ctor_get(x_3, 1); +x_11 = lean_ctor_get(x_3, 2); +lean_inc(x_11); 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_dec(x_3); +x_12 = lean_apply_1(x_1, x_11); +x_13 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_13, 0, x_9); +lean_ctor_set(x_13, 1, x_10); +lean_ctor_set(x_13, 2, x_12); +x_14 = lean_box(0); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_13); +return x_15; } } } 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* x_1; lean_object* x_2; +x_1 = l_EStateM_MonadState___closed__2; +x_2 = lean_alloc_closure((void*)(l_ReaderT_lift___at_Lean_MetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; } } 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* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_MetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___lambda__1___boxed), 3, 0); +return x_1; } } 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* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_MetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___closed__1; +x_2 = l_Lean_MetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___closed__2; +x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_MetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___spec__2___rarg___boxed), 4, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; } } lean_object* _init_l_Lean_MetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___closed__4() { _start: { +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_MetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___lambda__2___boxed), 3, 0); +return x_1; +} +} +lean_object* _init_l_Lean_MetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___closed__5() { +_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_1 = l_Lean_MetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___closed__3; +x_2 = l_Lean_MetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___closed__4; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); @@ -15359,17 +15685,49 @@ lean_object* _init_l_Lean_MetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter _start: { lean_object* x_1; -x_1 = l_Lean_MetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___closed__4; +x_1 = l_Lean_MetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___closed__5; return x_1; } } -lean_object* l_Lean_MetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___lambda__1___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l_ReaderT_lift___at_Lean_MetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_3; -x_3 = l_Lean_MetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___lambda__1(x_1, x_2); +uint8_t x_4; lean_object* x_5; +x_4 = lean_unbox(x_2); +lean_dec(x_2); +x_5 = l_ReaderT_lift___at_Lean_MetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___spec__1___rarg(x_1, x_4, x_3); +return x_5; +} +} +lean_object* l_ReaderT_bind___at_Lean_MetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___spec__2___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_3); +lean_dec(x_3); +x_6 = l_ReaderT_bind___at_Lean_MetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___spec__2___rarg(x_1, x_2, x_5, x_4); +return x_6; +} +} +lean_object* l_Lean_MetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___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_MetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___lambda__1(x_1, x_4, x_3); lean_dec(x_1); -return x_3; +return x_5; +} +} +lean_object* l_Lean_MetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___lambda__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 = lean_unbox(x_2); +lean_dec(x_2); +x_5 = l_Lean_MetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___lambda__2(x_1, x_4, x_3); +return x_5; } } lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_9__getLocalDeclWithSmallestIdx___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { @@ -15464,45 +15822,6 @@ return x_7; } else { -lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; -x_8 = lean_array_fget(x_3, x_5); -x_9 = l_Lean_LocalDecl_fvarId(x_2); -x_10 = l_Lean_Expr_fvarId_x21(x_8); -lean_dec(x_8); -x_11 = lean_name_eq(x_9, x_10); -lean_dec(x_10); -lean_dec(x_9); -if (x_11 == 0) -{ -lean_object* x_12; lean_object* x_13; -x_12 = lean_unsigned_to_nat(1u); -x_13 = lean_nat_add(x_5, x_12); -lean_dec(x_5); -x_5 = x_13; -goto _start; -} -else -{ -lean_dec(x_5); -return x_11; -} -} -} -} -uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__2(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_nat_dec_lt(x_5, x_4); -if (x_6 == 0) -{ -uint8_t x_7; -lean_dec(x_5); -x_7 = 0; -return x_7; -} -else -{ lean_object* x_8; lean_object* x_9; uint8_t x_10; x_8 = lean_array_fget(x_3, x_5); x_9 = l_Lean_Expr_fvarId_x21(x_8); @@ -15526,7 +15845,7 @@ return x_10; } } } -uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__5(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; @@ -15542,7 +15861,7 @@ else { lean_object* x_8; uint8_t x_9; x_8 = lean_array_fget(x_3, x_5); -x_9 = l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__5(x_1, x_8); +x_9 = l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__4(x_1, x_8); lean_dec(x_8); if (x_9 == 0) { @@ -15561,6 +15880,87 @@ return x_9; } } } +uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__6(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_nat_dec_lt(x_5, x_4); +if (x_6 == 0) +{ +uint8_t x_7; +lean_dec(x_5); +x_7 = 0; +return x_7; +} +else +{ +lean_object* x_8; +x_8 = lean_array_fget(x_3, x_5); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_unsigned_to_nat(1u); +x_10 = lean_nat_add(x_5, x_9); +lean_dec(x_5); +x_5 = x_10; +goto _start; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_12 = lean_ctor_get(x_8, 0); +lean_inc(x_12); +lean_dec(x_8); +x_13 = l_Lean_LocalDecl_fvarId(x_12); +lean_dec(x_12); +x_14 = lean_array_get_size(x_1); +x_15 = lean_unsigned_to_nat(0u); +x_16 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__1(x_1, x_13, x_1, x_14, x_15); +lean_dec(x_14); +lean_dec(x_13); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_unsigned_to_nat(1u); +x_18 = lean_nat_add(x_5, x_17); +lean_dec(x_5); +x_5 = x_18; +goto _start; +} +else +{ +lean_dec(x_5); +return x_16; +} +} +} +} +} +uint8_t l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__4(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; +x_3 = lean_ctor_get(x_2, 0); +x_4 = lean_array_get_size(x_3); +x_5 = lean_unsigned_to_nat(0u); +x_6 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__5(x_1, x_3, x_3, x_4, x_5); +lean_dec(x_4); +return x_6; +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_7 = lean_ctor_get(x_2, 0); +x_8 = lean_array_get_size(x_7); +x_9 = lean_unsigned_to_nat(0u); +x_10 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__6(x_1, x_7, x_7, x_8, x_9); +lean_dec(x_8); +return x_10; +} +} +} uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { @@ -15596,7 +15996,7 @@ x_13 = l_Lean_LocalDecl_fvarId(x_12); lean_dec(x_12); x_14 = lean_array_get_size(x_1); x_15 = lean_unsigned_to_nat(0u); -x_16 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__2(x_1, x_13, x_1, x_14, x_15); +x_16 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__1(x_1, x_13, x_1, x_14, x_15); lean_dec(x_14); lean_dec(x_13); if (x_16 == 0) @@ -15617,100 +16017,19 @@ return x_16; } } } -uint8_t l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_10__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; lean_object* x_5; uint8_t x_6; -x_3 = lean_ctor_get(x_2, 0); -x_4 = lean_array_get_size(x_3); -x_5 = lean_unsigned_to_nat(0u); -x_6 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__6(x_1, x_3, x_3, x_4, x_5); -lean_dec(x_4); -return x_6; -} -else -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; -x_7 = lean_ctor_get(x_2, 0); -x_8 = lean_array_get_size(x_7); -x_9 = lean_unsigned_to_nat(0u); -x_10 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__7(x_1, x_7, x_7, x_8, x_9); -lean_dec(x_8); -return x_10; -} -} -} -uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__8(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_nat_dec_lt(x_5, x_4); -if (x_6 == 0) -{ -uint8_t x_7; -lean_dec(x_5); -x_7 = 0; -return x_7; -} -else -{ -lean_object* x_8; -x_8 = lean_array_fget(x_3, x_5); -if (lean_obj_tag(x_8) == 0) -{ -lean_object* x_9; lean_object* x_10; -x_9 = lean_unsigned_to_nat(1u); -x_10 = lean_nat_add(x_5, x_9); -lean_dec(x_5); -x_5 = x_10; -goto _start; -} -else -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_12 = lean_ctor_get(x_8, 0); -lean_inc(x_12); -lean_dec(x_8); -x_13 = l_Lean_LocalDecl_fvarId(x_12); -lean_dec(x_12); -x_14 = lean_array_get_size(x_1); -x_15 = lean_unsigned_to_nat(0u); -x_16 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__2(x_1, x_13, x_1, x_14, x_15); -lean_dec(x_14); -lean_dec(x_13); -if (x_16 == 0) -{ -lean_object* x_17; lean_object* x_18; -x_17 = lean_unsigned_to_nat(1u); -x_18 = lean_nat_add(x_5, x_17); -lean_dec(x_5); -x_5 = x_18; -goto _start; -} -else -{ -lean_dec(x_5); -return x_16; -} -} -} -} -} -uint8_t l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__4(lean_object* x_1, lean_object* x_2) { +uint8_t l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__3(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___private_Init_Lean_MetavarContext_10__collectDeps___spec__5(x_1, x_3); +x_4 = l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__4(x_1, x_3); if (x_4 == 0) { lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; x_5 = lean_ctor_get(x_2, 1); x_6 = lean_array_get_size(x_5); x_7 = lean_unsigned_to_nat(0u); -x_8 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__8(x_1, x_2, x_5, x_6, x_7); +x_8 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__7(x_1, x_2, x_5, x_6, x_7); lean_dec(x_6); return x_8; } @@ -15720,7 +16039,7 @@ return x_4; } } } -lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { switch (lean_obj_tag(x_3)) { @@ -15733,7 +16052,7 @@ lean_inc(x_5); lean_dec(x_3); x_6 = lean_array_get_size(x_1); x_7 = lean_unsigned_to_nat(0u); -x_8 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__2(x_1, x_5, x_1, x_6, x_7); +x_8 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__1(x_1, x_5, x_1, x_6, x_7); lean_dec(x_6); lean_dec(x_5); x_9 = lean_box(x_8); @@ -15762,7 +16081,7 @@ lean_dec(x_13); x_15 = lean_ctor_get(x_14, 1); lean_inc(x_15); lean_dec(x_14); -x_16 = l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__4(x_1, x_15); +x_16 = l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__3(x_1, x_15); lean_dec(x_15); x_17 = lean_box(x_16); x_18 = lean_alloc_ctor(0, 2, 0); @@ -15901,7 +16220,7 @@ x_46 = lean_ctor_get(x_31, 1); lean_inc(x_46); lean_dec(x_31); lean_inc(x_2); -x_47 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__3(x_1, x_2, x_30, x_46); +x_47 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__2(x_1, x_2, x_30, x_46); x_48 = lean_ctor_get(x_47, 0); lean_inc(x_48); x_49 = lean_unbox(x_48); @@ -16062,7 +16381,7 @@ x_81 = lean_ctor_get(x_68, 1); lean_inc(x_81); lean_dec(x_68); lean_inc(x_2); -x_82 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__3(x_1, x_2, x_66, x_81); +x_82 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__2(x_1, x_2, x_66, x_81); x_83 = lean_ctor_get(x_82, 0); lean_inc(x_83); x_84 = lean_unbox(x_83); @@ -16212,7 +16531,7 @@ x_114 = lean_ctor_get(x_101, 1); lean_inc(x_114); lean_dec(x_101); lean_inc(x_2); -x_115 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__3(x_1, x_2, x_99, x_114); +x_115 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__2(x_1, x_2, x_99, x_114); x_116 = lean_ctor_get(x_115, 0); lean_inc(x_116); x_117 = lean_unbox(x_116); @@ -16328,7 +16647,7 @@ x_176 = lean_ctor_get(x_171, 1); lean_inc(x_176); lean_dec(x_171); lean_inc(x_2); -x_177 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__3(x_1, x_2, x_132, x_176); +x_177 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__2(x_1, x_2, x_132, x_176); x_178 = lean_ctor_get(x_177, 0); lean_inc(x_178); x_179 = lean_ctor_get(x_177, 1); @@ -16407,7 +16726,7 @@ x_150 = lean_ctor_get(x_137, 1); lean_inc(x_150); lean_dec(x_137); lean_inc(x_2); -x_151 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__3(x_1, x_2, x_133, x_150); +x_151 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__2(x_1, x_2, x_133, x_150); x_152 = lean_ctor_get(x_151, 0); lean_inc(x_152); x_153 = lean_unbox(x_152); @@ -16612,7 +16931,7 @@ return x_203; } } } -uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__12(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__11(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; @@ -16628,7 +16947,7 @@ else { lean_object* x_8; uint8_t x_9; x_8 = lean_array_fget(x_3, x_5); -x_9 = l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__11(x_1, x_8); +x_9 = l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__10(x_1, x_8); lean_dec(x_8); if (x_9 == 0) { @@ -16647,6 +16966,87 @@ return x_9; } } } +uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__12(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_nat_dec_lt(x_5, x_4); +if (x_6 == 0) +{ +uint8_t x_7; +lean_dec(x_5); +x_7 = 0; +return x_7; +} +else +{ +lean_object* x_8; +x_8 = lean_array_fget(x_3, x_5); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_unsigned_to_nat(1u); +x_10 = lean_nat_add(x_5, x_9); +lean_dec(x_5); +x_5 = x_10; +goto _start; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_12 = lean_ctor_get(x_8, 0); +lean_inc(x_12); +lean_dec(x_8); +x_13 = l_Lean_LocalDecl_fvarId(x_12); +lean_dec(x_12); +x_14 = lean_array_get_size(x_1); +x_15 = lean_unsigned_to_nat(0u); +x_16 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__1(x_1, x_13, x_1, x_14, x_15); +lean_dec(x_14); +lean_dec(x_13); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_unsigned_to_nat(1u); +x_18 = lean_nat_add(x_5, x_17); +lean_dec(x_5); +x_5 = x_18; +goto _start; +} +else +{ +lean_dec(x_5); +return x_16; +} +} +} +} +} +uint8_t l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__10(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; +x_3 = lean_ctor_get(x_2, 0); +x_4 = lean_array_get_size(x_3); +x_5 = lean_unsigned_to_nat(0u); +x_6 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__11(x_1, x_3, x_3, x_4, x_5); +lean_dec(x_4); +return x_6; +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_7 = lean_ctor_get(x_2, 0); +x_8 = lean_array_get_size(x_7); +x_9 = lean_unsigned_to_nat(0u); +x_10 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__12(x_1, x_7, x_7, x_8, x_9); +lean_dec(x_8); +return x_10; +} +} +} uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__13(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { @@ -16682,7 +17082,7 @@ x_13 = l_Lean_LocalDecl_fvarId(x_12); lean_dec(x_12); x_14 = lean_array_get_size(x_1); x_15 = lean_unsigned_to_nat(0u); -x_16 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__2(x_1, x_13, x_1, x_14, x_15); +x_16 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__1(x_1, x_13, x_1, x_14, x_15); lean_dec(x_14); lean_dec(x_13); if (x_16 == 0) @@ -16703,100 +17103,19 @@ return x_16; } } } -uint8_t l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_10__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; lean_object* x_5; uint8_t x_6; -x_3 = lean_ctor_get(x_2, 0); -x_4 = lean_array_get_size(x_3); -x_5 = lean_unsigned_to_nat(0u); -x_6 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__12(x_1, x_3, x_3, x_4, x_5); -lean_dec(x_4); -return x_6; -} -else -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; -x_7 = lean_ctor_get(x_2, 0); -x_8 = lean_array_get_size(x_7); -x_9 = lean_unsigned_to_nat(0u); -x_10 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__13(x_1, x_7, x_7, x_8, x_9); -lean_dec(x_8); -return x_10; -} -} -} -uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__14(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_nat_dec_lt(x_5, x_4); -if (x_6 == 0) -{ -uint8_t x_7; -lean_dec(x_5); -x_7 = 0; -return x_7; -} -else -{ -lean_object* x_8; -x_8 = lean_array_fget(x_3, x_5); -if (lean_obj_tag(x_8) == 0) -{ -lean_object* x_9; lean_object* x_10; -x_9 = lean_unsigned_to_nat(1u); -x_10 = lean_nat_add(x_5, x_9); -lean_dec(x_5); -x_5 = x_10; -goto _start; -} -else -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_12 = lean_ctor_get(x_8, 0); -lean_inc(x_12); -lean_dec(x_8); -x_13 = l_Lean_LocalDecl_fvarId(x_12); -lean_dec(x_12); -x_14 = lean_array_get_size(x_1); -x_15 = lean_unsigned_to_nat(0u); -x_16 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__2(x_1, x_13, x_1, x_14, x_15); -lean_dec(x_14); -lean_dec(x_13); -if (x_16 == 0) -{ -lean_object* x_17; lean_object* x_18; -x_17 = lean_unsigned_to_nat(1u); -x_18 = lean_nat_add(x_5, x_17); -lean_dec(x_5); -x_5 = x_18; -goto _start; -} -else -{ -lean_dec(x_5); -return x_16; -} -} -} -} -} -uint8_t l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__10(lean_object* x_1, lean_object* x_2) { +uint8_t l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__9(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___private_Init_Lean_MetavarContext_10__collectDeps___spec__11(x_1, x_3); +x_4 = l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__10(x_1, x_3); if (x_4 == 0) { lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; x_5 = lean_ctor_get(x_2, 1); x_6 = lean_array_get_size(x_5); x_7 = lean_unsigned_to_nat(0u); -x_8 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__14(x_1, x_2, x_5, x_6, x_7); +x_8 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__13(x_1, x_2, x_5, x_6, x_7); lean_dec(x_6); return x_8; } @@ -16806,7 +17125,7 @@ return x_4; } } } -lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__9(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { switch (lean_obj_tag(x_3)) { @@ -16819,7 +17138,7 @@ lean_inc(x_5); lean_dec(x_3); x_6 = lean_array_get_size(x_1); x_7 = lean_unsigned_to_nat(0u); -x_8 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__2(x_1, x_5, x_1, x_6, x_7); +x_8 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__1(x_1, x_5, x_1, x_6, x_7); lean_dec(x_6); lean_dec(x_5); x_9 = lean_box(x_8); @@ -16848,7 +17167,7 @@ lean_dec(x_13); x_15 = lean_ctor_get(x_14, 1); lean_inc(x_15); lean_dec(x_14); -x_16 = l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__10(x_1, x_15); +x_16 = l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__9(x_1, x_15); lean_dec(x_15); x_17 = lean_box(x_16); x_18 = lean_alloc_ctor(0, 2, 0); @@ -16987,7 +17306,7 @@ x_46 = lean_ctor_get(x_31, 1); lean_inc(x_46); lean_dec(x_31); lean_inc(x_2); -x_47 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__9(x_1, x_2, x_30, x_46); +x_47 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__8(x_1, x_2, x_30, x_46); x_48 = lean_ctor_get(x_47, 0); lean_inc(x_48); x_49 = lean_unbox(x_48); @@ -17148,7 +17467,7 @@ x_81 = lean_ctor_get(x_68, 1); lean_inc(x_81); lean_dec(x_68); lean_inc(x_2); -x_82 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__9(x_1, x_2, x_66, x_81); +x_82 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__8(x_1, x_2, x_66, x_81); x_83 = lean_ctor_get(x_82, 0); lean_inc(x_83); x_84 = lean_unbox(x_83); @@ -17298,7 +17617,7 @@ x_114 = lean_ctor_get(x_101, 1); lean_inc(x_114); lean_dec(x_101); lean_inc(x_2); -x_115 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__9(x_1, x_2, x_99, x_114); +x_115 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__8(x_1, x_2, x_99, x_114); x_116 = lean_ctor_get(x_115, 0); lean_inc(x_116); x_117 = lean_unbox(x_116); @@ -17414,7 +17733,7 @@ x_176 = lean_ctor_get(x_171, 1); lean_inc(x_176); lean_dec(x_171); lean_inc(x_2); -x_177 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__9(x_1, x_2, x_132, x_176); +x_177 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__8(x_1, x_2, x_132, x_176); x_178 = lean_ctor_get(x_177, 0); lean_inc(x_178); x_179 = lean_ctor_get(x_177, 1); @@ -17493,7 +17812,7 @@ x_150 = lean_ctor_get(x_137, 1); lean_inc(x_150); lean_dec(x_137); lean_inc(x_2); -x_151 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__9(x_1, x_2, x_133, x_150); +x_151 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__8(x_1, x_2, x_133, x_150); x_152 = lean_ctor_get(x_151, 0); lean_inc(x_152); x_153 = lean_unbox(x_152); @@ -17698,7 +18017,7 @@ return x_203; } } } -uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__18(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__17(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; @@ -17714,7 +18033,7 @@ else { lean_object* x_8; uint8_t x_9; x_8 = lean_array_fget(x_3, x_5); -x_9 = l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__17(x_1, x_8); +x_9 = l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__16(x_1, x_8); lean_dec(x_8); if (x_9 == 0) { @@ -17733,6 +18052,87 @@ return x_9; } } } +uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__18(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_nat_dec_lt(x_5, x_4); +if (x_6 == 0) +{ +uint8_t x_7; +lean_dec(x_5); +x_7 = 0; +return x_7; +} +else +{ +lean_object* x_8; +x_8 = lean_array_fget(x_3, x_5); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_unsigned_to_nat(1u); +x_10 = lean_nat_add(x_5, x_9); +lean_dec(x_5); +x_5 = x_10; +goto _start; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_12 = lean_ctor_get(x_8, 0); +lean_inc(x_12); +lean_dec(x_8); +x_13 = l_Lean_LocalDecl_fvarId(x_12); +lean_dec(x_12); +x_14 = lean_array_get_size(x_1); +x_15 = lean_unsigned_to_nat(0u); +x_16 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__1(x_1, x_13, x_1, x_14, x_15); +lean_dec(x_14); +lean_dec(x_13); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_unsigned_to_nat(1u); +x_18 = lean_nat_add(x_5, x_17); +lean_dec(x_5); +x_5 = x_18; +goto _start; +} +else +{ +lean_dec(x_5); +return x_16; +} +} +} +} +} +uint8_t l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__16(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; +x_3 = lean_ctor_get(x_2, 0); +x_4 = lean_array_get_size(x_3); +x_5 = lean_unsigned_to_nat(0u); +x_6 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__17(x_1, x_3, x_3, x_4, x_5); +lean_dec(x_4); +return x_6; +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_7 = lean_ctor_get(x_2, 0); +x_8 = lean_array_get_size(x_7); +x_9 = lean_unsigned_to_nat(0u); +x_10 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__18(x_1, x_7, x_7, x_8, x_9); +lean_dec(x_8); +return x_10; +} +} +} uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__19(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { @@ -17768,7 +18168,7 @@ x_13 = l_Lean_LocalDecl_fvarId(x_12); lean_dec(x_12); x_14 = lean_array_get_size(x_1); x_15 = lean_unsigned_to_nat(0u); -x_16 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__2(x_1, x_13, x_1, x_14, x_15); +x_16 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__1(x_1, x_13, x_1, x_14, x_15); lean_dec(x_14); lean_dec(x_13); if (x_16 == 0) @@ -17789,100 +18189,19 @@ return x_16; } } } -uint8_t l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_10__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; lean_object* x_5; uint8_t x_6; -x_3 = lean_ctor_get(x_2, 0); -x_4 = lean_array_get_size(x_3); -x_5 = lean_unsigned_to_nat(0u); -x_6 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__18(x_1, x_3, x_3, x_4, x_5); -lean_dec(x_4); -return x_6; -} -else -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; -x_7 = lean_ctor_get(x_2, 0); -x_8 = lean_array_get_size(x_7); -x_9 = lean_unsigned_to_nat(0u); -x_10 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__19(x_1, x_7, x_7, x_8, x_9); -lean_dec(x_8); -return x_10; -} -} -} -uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__20(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_nat_dec_lt(x_5, x_4); -if (x_6 == 0) -{ -uint8_t x_7; -lean_dec(x_5); -x_7 = 0; -return x_7; -} -else -{ -lean_object* x_8; -x_8 = lean_array_fget(x_3, x_5); -if (lean_obj_tag(x_8) == 0) -{ -lean_object* x_9; lean_object* x_10; -x_9 = lean_unsigned_to_nat(1u); -x_10 = lean_nat_add(x_5, x_9); -lean_dec(x_5); -x_5 = x_10; -goto _start; -} -else -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_12 = lean_ctor_get(x_8, 0); -lean_inc(x_12); -lean_dec(x_8); -x_13 = l_Lean_LocalDecl_fvarId(x_12); -lean_dec(x_12); -x_14 = lean_array_get_size(x_1); -x_15 = lean_unsigned_to_nat(0u); -x_16 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__2(x_1, x_13, x_1, x_14, x_15); -lean_dec(x_14); -lean_dec(x_13); -if (x_16 == 0) -{ -lean_object* x_17; lean_object* x_18; -x_17 = lean_unsigned_to_nat(1u); -x_18 = lean_nat_add(x_5, x_17); -lean_dec(x_5); -x_5 = x_18; -goto _start; -} -else -{ -lean_dec(x_5); -return x_16; -} -} -} -} -} -uint8_t l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__16(lean_object* x_1, lean_object* x_2) { +uint8_t l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__15(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___private_Init_Lean_MetavarContext_10__collectDeps___spec__17(x_1, x_3); +x_4 = l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__16(x_1, x_3); if (x_4 == 0) { lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; x_5 = lean_ctor_get(x_2, 1); x_6 = lean_array_get_size(x_5); x_7 = lean_unsigned_to_nat(0u); -x_8 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__20(x_1, x_2, x_5, x_6, x_7); +x_8 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__19(x_1, x_2, x_5, x_6, x_7); lean_dec(x_6); return x_8; } @@ -17892,7 +18211,7 @@ return x_4; } } } -lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__15(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__14(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { switch (lean_obj_tag(x_3)) { @@ -17905,7 +18224,7 @@ lean_inc(x_5); lean_dec(x_3); x_6 = lean_array_get_size(x_1); x_7 = lean_unsigned_to_nat(0u); -x_8 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__2(x_1, x_5, x_1, x_6, x_7); +x_8 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__1(x_1, x_5, x_1, x_6, x_7); lean_dec(x_6); lean_dec(x_5); x_9 = lean_box(x_8); @@ -17934,7 +18253,7 @@ lean_dec(x_13); x_15 = lean_ctor_get(x_14, 1); lean_inc(x_15); lean_dec(x_14); -x_16 = l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__16(x_1, x_15); +x_16 = l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__15(x_1, x_15); lean_dec(x_15); x_17 = lean_box(x_16); x_18 = lean_alloc_ctor(0, 2, 0); @@ -18073,7 +18392,7 @@ x_46 = lean_ctor_get(x_31, 1); lean_inc(x_46); lean_dec(x_31); lean_inc(x_2); -x_47 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__15(x_1, x_2, x_30, x_46); +x_47 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__14(x_1, x_2, x_30, x_46); x_48 = lean_ctor_get(x_47, 0); lean_inc(x_48); x_49 = lean_unbox(x_48); @@ -18234,7 +18553,7 @@ x_81 = lean_ctor_get(x_68, 1); lean_inc(x_81); lean_dec(x_68); lean_inc(x_2); -x_82 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__15(x_1, x_2, x_66, x_81); +x_82 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__14(x_1, x_2, x_66, x_81); x_83 = lean_ctor_get(x_82, 0); lean_inc(x_83); x_84 = lean_unbox(x_83); @@ -18384,7 +18703,7 @@ x_114 = lean_ctor_get(x_101, 1); lean_inc(x_114); lean_dec(x_101); lean_inc(x_2); -x_115 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__15(x_1, x_2, x_99, x_114); +x_115 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__14(x_1, x_2, x_99, x_114); x_116 = lean_ctor_get(x_115, 0); lean_inc(x_116); x_117 = lean_unbox(x_116); @@ -18500,7 +18819,7 @@ x_176 = lean_ctor_get(x_171, 1); lean_inc(x_176); lean_dec(x_171); lean_inc(x_2); -x_177 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__15(x_1, x_2, x_132, x_176); +x_177 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__14(x_1, x_2, x_132, x_176); x_178 = lean_ctor_get(x_177, 0); lean_inc(x_178); x_179 = lean_ctor_get(x_177, 1); @@ -18579,7 +18898,7 @@ x_150 = lean_ctor_get(x_137, 1); lean_inc(x_150); lean_dec(x_137); lean_inc(x_2); -x_151 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__15(x_1, x_2, x_133, x_150); +x_151 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__14(x_1, x_2, x_133, x_150); x_152 = lean_ctor_get(x_151, 0); lean_inc(x_152); x_153 = lean_unbox(x_152); @@ -18784,7 +19103,7 @@ return x_203; } } } -uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__24(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__23(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; @@ -18800,7 +19119,7 @@ else { lean_object* x_8; uint8_t x_9; x_8 = lean_array_fget(x_3, x_5); -x_9 = l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__23(x_1, x_8); +x_9 = l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__22(x_1, x_8); lean_dec(x_8); if (x_9 == 0) { @@ -18819,6 +19138,87 @@ return x_9; } } } +uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__24(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_nat_dec_lt(x_5, x_4); +if (x_6 == 0) +{ +uint8_t x_7; +lean_dec(x_5); +x_7 = 0; +return x_7; +} +else +{ +lean_object* x_8; +x_8 = lean_array_fget(x_3, x_5); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_unsigned_to_nat(1u); +x_10 = lean_nat_add(x_5, x_9); +lean_dec(x_5); +x_5 = x_10; +goto _start; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_12 = lean_ctor_get(x_8, 0); +lean_inc(x_12); +lean_dec(x_8); +x_13 = l_Lean_LocalDecl_fvarId(x_12); +lean_dec(x_12); +x_14 = lean_array_get_size(x_1); +x_15 = lean_unsigned_to_nat(0u); +x_16 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__1(x_1, x_13, x_1, x_14, x_15); +lean_dec(x_14); +lean_dec(x_13); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_unsigned_to_nat(1u); +x_18 = lean_nat_add(x_5, x_17); +lean_dec(x_5); +x_5 = x_18; +goto _start; +} +else +{ +lean_dec(x_5); +return x_16; +} +} +} +} +} +uint8_t l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__22(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; +x_3 = lean_ctor_get(x_2, 0); +x_4 = lean_array_get_size(x_3); +x_5 = lean_unsigned_to_nat(0u); +x_6 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__23(x_1, x_3, x_3, x_4, x_5); +lean_dec(x_4); +return x_6; +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_7 = lean_ctor_get(x_2, 0); +x_8 = lean_array_get_size(x_7); +x_9 = lean_unsigned_to_nat(0u); +x_10 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__24(x_1, x_7, x_7, x_8, x_9); +lean_dec(x_8); +return x_10; +} +} +} uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__25(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { @@ -18854,7 +19254,7 @@ x_13 = l_Lean_LocalDecl_fvarId(x_12); lean_dec(x_12); x_14 = lean_array_get_size(x_1); x_15 = lean_unsigned_to_nat(0u); -x_16 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__2(x_1, x_13, x_1, x_14, x_15); +x_16 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__1(x_1, x_13, x_1, x_14, x_15); lean_dec(x_14); lean_dec(x_13); if (x_16 == 0) @@ -18875,100 +19275,19 @@ return x_16; } } } -uint8_t l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_10__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; lean_object* x_5; uint8_t x_6; -x_3 = lean_ctor_get(x_2, 0); -x_4 = lean_array_get_size(x_3); -x_5 = lean_unsigned_to_nat(0u); -x_6 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__24(x_1, x_3, x_3, x_4, x_5); -lean_dec(x_4); -return x_6; -} -else -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; -x_7 = lean_ctor_get(x_2, 0); -x_8 = lean_array_get_size(x_7); -x_9 = lean_unsigned_to_nat(0u); -x_10 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__25(x_1, x_7, x_7, x_8, x_9); -lean_dec(x_8); -return x_10; -} -} -} -uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__26(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_nat_dec_lt(x_5, x_4); -if (x_6 == 0) -{ -uint8_t x_7; -lean_dec(x_5); -x_7 = 0; -return x_7; -} -else -{ -lean_object* x_8; -x_8 = lean_array_fget(x_3, x_5); -if (lean_obj_tag(x_8) == 0) -{ -lean_object* x_9; lean_object* x_10; -x_9 = lean_unsigned_to_nat(1u); -x_10 = lean_nat_add(x_5, x_9); -lean_dec(x_5); -x_5 = x_10; -goto _start; -} -else -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_12 = lean_ctor_get(x_8, 0); -lean_inc(x_12); -lean_dec(x_8); -x_13 = l_Lean_LocalDecl_fvarId(x_12); -lean_dec(x_12); -x_14 = lean_array_get_size(x_1); -x_15 = lean_unsigned_to_nat(0u); -x_16 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__2(x_1, x_13, x_1, x_14, x_15); -lean_dec(x_14); -lean_dec(x_13); -if (x_16 == 0) -{ -lean_object* x_17; lean_object* x_18; -x_17 = lean_unsigned_to_nat(1u); -x_18 = lean_nat_add(x_5, x_17); -lean_dec(x_5); -x_5 = x_18; -goto _start; -} -else -{ -lean_dec(x_5); -return x_16; -} -} -} -} -} -uint8_t l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__22(lean_object* x_1, lean_object* x_2) { +uint8_t l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__21(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___private_Init_Lean_MetavarContext_10__collectDeps___spec__23(x_1, x_3); +x_4 = l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__22(x_1, x_3); if (x_4 == 0) { lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; x_5 = lean_ctor_get(x_2, 1); x_6 = lean_array_get_size(x_5); x_7 = lean_unsigned_to_nat(0u); -x_8 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__26(x_1, x_2, x_5, x_6, x_7); +x_8 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__25(x_1, x_2, x_5, x_6, x_7); lean_dec(x_6); return x_8; } @@ -18978,7 +19297,7 @@ return x_4; } } } -lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__21(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__20(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { switch (lean_obj_tag(x_3)) { @@ -18991,7 +19310,7 @@ lean_inc(x_5); lean_dec(x_3); x_6 = lean_array_get_size(x_1); x_7 = lean_unsigned_to_nat(0u); -x_8 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__2(x_1, x_5, x_1, x_6, x_7); +x_8 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__1(x_1, x_5, x_1, x_6, x_7); lean_dec(x_6); lean_dec(x_5); x_9 = lean_box(x_8); @@ -19020,7 +19339,7 @@ lean_dec(x_13); x_15 = lean_ctor_get(x_14, 1); lean_inc(x_15); lean_dec(x_14); -x_16 = l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__22(x_1, x_15); +x_16 = l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__21(x_1, x_15); lean_dec(x_15); x_17 = lean_box(x_16); x_18 = lean_alloc_ctor(0, 2, 0); @@ -19159,7 +19478,7 @@ x_46 = lean_ctor_get(x_31, 1); lean_inc(x_46); lean_dec(x_31); lean_inc(x_2); -x_47 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__21(x_1, x_2, x_30, x_46); +x_47 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__20(x_1, x_2, x_30, x_46); x_48 = lean_ctor_get(x_47, 0); lean_inc(x_48); x_49 = lean_unbox(x_48); @@ -19320,7 +19639,7 @@ x_81 = lean_ctor_get(x_68, 1); lean_inc(x_81); lean_dec(x_68); lean_inc(x_2); -x_82 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__21(x_1, x_2, x_66, x_81); +x_82 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__20(x_1, x_2, x_66, x_81); x_83 = lean_ctor_get(x_82, 0); lean_inc(x_83); x_84 = lean_unbox(x_83); @@ -19470,7 +19789,7 @@ x_114 = lean_ctor_get(x_101, 1); lean_inc(x_114); lean_dec(x_101); lean_inc(x_2); -x_115 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__21(x_1, x_2, x_99, x_114); +x_115 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__20(x_1, x_2, x_99, x_114); x_116 = lean_ctor_get(x_115, 0); lean_inc(x_116); x_117 = lean_unbox(x_116); @@ -19586,7 +19905,7 @@ x_176 = lean_ctor_get(x_171, 1); lean_inc(x_176); lean_dec(x_171); lean_inc(x_2); -x_177 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__21(x_1, x_2, x_132, x_176); +x_177 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__20(x_1, x_2, x_132, x_176); x_178 = lean_ctor_get(x_177, 0); lean_inc(x_178); x_179 = lean_ctor_get(x_177, 1); @@ -19665,7 +19984,7 @@ x_150 = lean_ctor_get(x_137, 1); lean_inc(x_150); lean_dec(x_137); lean_inc(x_2); -x_151 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__21(x_1, x_2, x_133, x_150); +x_151 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__20(x_1, x_2, x_133, x_150); x_152 = lean_ctor_get(x_151, 0); lean_inc(x_152); x_153 = lean_unbox(x_152); @@ -19870,7 +20189,7 @@ return x_203; } } } -uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__30(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__29(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; @@ -19886,7 +20205,7 @@ else { lean_object* x_8; uint8_t x_9; x_8 = lean_array_fget(x_3, x_5); -x_9 = l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__29(x_1, x_8); +x_9 = l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__28(x_1, x_8); lean_dec(x_8); if (x_9 == 0) { @@ -19905,6 +20224,87 @@ return x_9; } } } +uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__30(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_nat_dec_lt(x_5, x_4); +if (x_6 == 0) +{ +uint8_t x_7; +lean_dec(x_5); +x_7 = 0; +return x_7; +} +else +{ +lean_object* x_8; +x_8 = lean_array_fget(x_3, x_5); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_unsigned_to_nat(1u); +x_10 = lean_nat_add(x_5, x_9); +lean_dec(x_5); +x_5 = x_10; +goto _start; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_12 = lean_ctor_get(x_8, 0); +lean_inc(x_12); +lean_dec(x_8); +x_13 = l_Lean_LocalDecl_fvarId(x_12); +lean_dec(x_12); +x_14 = lean_array_get_size(x_1); +x_15 = lean_unsigned_to_nat(0u); +x_16 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__1(x_1, x_13, x_1, x_14, x_15); +lean_dec(x_14); +lean_dec(x_13); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_unsigned_to_nat(1u); +x_18 = lean_nat_add(x_5, x_17); +lean_dec(x_5); +x_5 = x_18; +goto _start; +} +else +{ +lean_dec(x_5); +return x_16; +} +} +} +} +} +uint8_t l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__28(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; +x_3 = lean_ctor_get(x_2, 0); +x_4 = lean_array_get_size(x_3); +x_5 = lean_unsigned_to_nat(0u); +x_6 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__29(x_1, x_3, x_3, x_4, x_5); +lean_dec(x_4); +return x_6; +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_7 = lean_ctor_get(x_2, 0); +x_8 = lean_array_get_size(x_7); +x_9 = lean_unsigned_to_nat(0u); +x_10 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__30(x_1, x_7, x_7, x_8, x_9); +lean_dec(x_8); +return x_10; +} +} +} uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__31(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { @@ -19940,7 +20340,7 @@ x_13 = l_Lean_LocalDecl_fvarId(x_12); lean_dec(x_12); x_14 = lean_array_get_size(x_1); x_15 = lean_unsigned_to_nat(0u); -x_16 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__2(x_1, x_13, x_1, x_14, x_15); +x_16 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__1(x_1, x_13, x_1, x_14, x_15); lean_dec(x_14); lean_dec(x_13); if (x_16 == 0) @@ -19961,100 +20361,19 @@ return x_16; } } } -uint8_t l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_10__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; lean_object* x_5; uint8_t x_6; -x_3 = lean_ctor_get(x_2, 0); -x_4 = lean_array_get_size(x_3); -x_5 = lean_unsigned_to_nat(0u); -x_6 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__30(x_1, x_3, x_3, x_4, x_5); -lean_dec(x_4); -return x_6; -} -else -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; -x_7 = lean_ctor_get(x_2, 0); -x_8 = lean_array_get_size(x_7); -x_9 = lean_unsigned_to_nat(0u); -x_10 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__31(x_1, x_7, x_7, x_8, x_9); -lean_dec(x_8); -return x_10; -} -} -} -uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__32(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_nat_dec_lt(x_5, x_4); -if (x_6 == 0) -{ -uint8_t x_7; -lean_dec(x_5); -x_7 = 0; -return x_7; -} -else -{ -lean_object* x_8; -x_8 = lean_array_fget(x_3, x_5); -if (lean_obj_tag(x_8) == 0) -{ -lean_object* x_9; lean_object* x_10; -x_9 = lean_unsigned_to_nat(1u); -x_10 = lean_nat_add(x_5, x_9); -lean_dec(x_5); -x_5 = x_10; -goto _start; -} -else -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_12 = lean_ctor_get(x_8, 0); -lean_inc(x_12); -lean_dec(x_8); -x_13 = l_Lean_LocalDecl_fvarId(x_12); -lean_dec(x_12); -x_14 = lean_array_get_size(x_1); -x_15 = lean_unsigned_to_nat(0u); -x_16 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__2(x_1, x_13, x_1, x_14, x_15); -lean_dec(x_14); -lean_dec(x_13); -if (x_16 == 0) -{ -lean_object* x_17; lean_object* x_18; -x_17 = lean_unsigned_to_nat(1u); -x_18 = lean_nat_add(x_5, x_17); -lean_dec(x_5); -x_5 = x_18; -goto _start; -} -else -{ -lean_dec(x_5); -return x_16; -} -} -} -} -} -uint8_t l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__28(lean_object* x_1, lean_object* x_2) { +uint8_t l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__27(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___private_Init_Lean_MetavarContext_10__collectDeps___spec__29(x_1, x_3); +x_4 = l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__28(x_1, x_3); if (x_4 == 0) { lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; x_5 = lean_ctor_get(x_2, 1); x_6 = lean_array_get_size(x_5); x_7 = lean_unsigned_to_nat(0u); -x_8 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__32(x_1, x_2, x_5, x_6, x_7); +x_8 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__31(x_1, x_2, x_5, x_6, x_7); lean_dec(x_6); return x_8; } @@ -20064,7 +20383,7 @@ return x_4; } } } -lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__27(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__26(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { switch (lean_obj_tag(x_3)) { @@ -20077,7 +20396,7 @@ lean_inc(x_5); lean_dec(x_3); x_6 = lean_array_get_size(x_1); x_7 = lean_unsigned_to_nat(0u); -x_8 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__2(x_1, x_5, x_1, x_6, x_7); +x_8 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__1(x_1, x_5, x_1, x_6, x_7); lean_dec(x_6); lean_dec(x_5); x_9 = lean_box(x_8); @@ -20106,7 +20425,7 @@ lean_dec(x_13); x_15 = lean_ctor_get(x_14, 1); lean_inc(x_15); lean_dec(x_14); -x_16 = l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__28(x_1, x_15); +x_16 = l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__27(x_1, x_15); lean_dec(x_15); x_17 = lean_box(x_16); x_18 = lean_alloc_ctor(0, 2, 0); @@ -20245,7 +20564,7 @@ x_46 = lean_ctor_get(x_31, 1); lean_inc(x_46); lean_dec(x_31); lean_inc(x_2); -x_47 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__27(x_1, x_2, x_30, x_46); +x_47 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__26(x_1, x_2, x_30, x_46); x_48 = lean_ctor_get(x_47, 0); lean_inc(x_48); x_49 = lean_unbox(x_48); @@ -20406,7 +20725,7 @@ x_81 = lean_ctor_get(x_68, 1); lean_inc(x_81); lean_dec(x_68); lean_inc(x_2); -x_82 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__27(x_1, x_2, x_66, x_81); +x_82 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__26(x_1, x_2, x_66, x_81); x_83 = lean_ctor_get(x_82, 0); lean_inc(x_83); x_84 = lean_unbox(x_83); @@ -20556,7 +20875,7 @@ x_114 = lean_ctor_get(x_101, 1); lean_inc(x_114); lean_dec(x_101); lean_inc(x_2); -x_115 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__27(x_1, x_2, x_99, x_114); +x_115 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__26(x_1, x_2, x_99, x_114); x_116 = lean_ctor_get(x_115, 0); lean_inc(x_116); x_117 = lean_unbox(x_116); @@ -20672,7 +20991,7 @@ x_176 = lean_ctor_get(x_171, 1); lean_inc(x_176); lean_dec(x_171); lean_inc(x_2); -x_177 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__27(x_1, x_2, x_132, x_176); +x_177 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__26(x_1, x_2, x_132, x_176); x_178 = lean_ctor_get(x_177, 0); lean_inc(x_178); x_179 = lean_ctor_get(x_177, 1); @@ -20751,7 +21070,7 @@ x_150 = lean_ctor_get(x_137, 1); lean_inc(x_150); lean_dec(x_137); lean_inc(x_2); -x_151 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__27(x_1, x_2, x_133, x_150); +x_151 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__26(x_1, x_2, x_133, x_150); x_152 = lean_ctor_get(x_151, 0); lean_inc(x_152); x_153 = lean_unbox(x_152); @@ -20956,7 +21275,7 @@ return x_203; } } } -uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__36(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__35(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; @@ -20972,7 +21291,7 @@ else { lean_object* x_8; uint8_t x_9; x_8 = lean_array_fget(x_3, x_5); -x_9 = l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__35(x_1, x_8); +x_9 = l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__34(x_1, x_8); lean_dec(x_8); if (x_9 == 0) { @@ -20991,6 +21310,87 @@ return x_9; } } } +uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__36(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_nat_dec_lt(x_5, x_4); +if (x_6 == 0) +{ +uint8_t x_7; +lean_dec(x_5); +x_7 = 0; +return x_7; +} +else +{ +lean_object* x_8; +x_8 = lean_array_fget(x_3, x_5); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_unsigned_to_nat(1u); +x_10 = lean_nat_add(x_5, x_9); +lean_dec(x_5); +x_5 = x_10; +goto _start; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_12 = lean_ctor_get(x_8, 0); +lean_inc(x_12); +lean_dec(x_8); +x_13 = l_Lean_LocalDecl_fvarId(x_12); +lean_dec(x_12); +x_14 = lean_array_get_size(x_1); +x_15 = lean_unsigned_to_nat(0u); +x_16 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__1(x_1, x_13, x_1, x_14, x_15); +lean_dec(x_14); +lean_dec(x_13); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_unsigned_to_nat(1u); +x_18 = lean_nat_add(x_5, x_17); +lean_dec(x_5); +x_5 = x_18; +goto _start; +} +else +{ +lean_dec(x_5); +return x_16; +} +} +} +} +} +uint8_t l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__34(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; +x_3 = lean_ctor_get(x_2, 0); +x_4 = lean_array_get_size(x_3); +x_5 = lean_unsigned_to_nat(0u); +x_6 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__35(x_1, x_3, x_3, x_4, x_5); +lean_dec(x_4); +return x_6; +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_7 = lean_ctor_get(x_2, 0); +x_8 = lean_array_get_size(x_7); +x_9 = lean_unsigned_to_nat(0u); +x_10 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__36(x_1, x_7, x_7, x_8, x_9); +lean_dec(x_8); +return x_10; +} +} +} uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__37(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { @@ -21026,7 +21426,7 @@ x_13 = l_Lean_LocalDecl_fvarId(x_12); lean_dec(x_12); x_14 = lean_array_get_size(x_1); x_15 = lean_unsigned_to_nat(0u); -x_16 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__2(x_1, x_13, x_1, x_14, x_15); +x_16 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__1(x_1, x_13, x_1, x_14, x_15); lean_dec(x_14); lean_dec(x_13); if (x_16 == 0) @@ -21047,100 +21447,19 @@ return x_16; } } } -uint8_t l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_10__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; lean_object* x_5; uint8_t x_6; -x_3 = lean_ctor_get(x_2, 0); -x_4 = lean_array_get_size(x_3); -x_5 = lean_unsigned_to_nat(0u); -x_6 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__36(x_1, x_3, x_3, x_4, x_5); -lean_dec(x_4); -return x_6; -} -else -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; -x_7 = lean_ctor_get(x_2, 0); -x_8 = lean_array_get_size(x_7); -x_9 = lean_unsigned_to_nat(0u); -x_10 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__37(x_1, x_7, x_7, x_8, x_9); -lean_dec(x_8); -return x_10; -} -} -} -uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__38(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_nat_dec_lt(x_5, x_4); -if (x_6 == 0) -{ -uint8_t x_7; -lean_dec(x_5); -x_7 = 0; -return x_7; -} -else -{ -lean_object* x_8; -x_8 = lean_array_fget(x_3, x_5); -if (lean_obj_tag(x_8) == 0) -{ -lean_object* x_9; lean_object* x_10; -x_9 = lean_unsigned_to_nat(1u); -x_10 = lean_nat_add(x_5, x_9); -lean_dec(x_5); -x_5 = x_10; -goto _start; -} -else -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_12 = lean_ctor_get(x_8, 0); -lean_inc(x_12); -lean_dec(x_8); -x_13 = l_Lean_LocalDecl_fvarId(x_12); -lean_dec(x_12); -x_14 = lean_array_get_size(x_1); -x_15 = lean_unsigned_to_nat(0u); -x_16 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__2(x_1, x_13, x_1, x_14, x_15); -lean_dec(x_14); -lean_dec(x_13); -if (x_16 == 0) -{ -lean_object* x_17; lean_object* x_18; -x_17 = lean_unsigned_to_nat(1u); -x_18 = lean_nat_add(x_5, x_17); -lean_dec(x_5); -x_5 = x_18; -goto _start; -} -else -{ -lean_dec(x_5); -return x_16; -} -} -} -} -} -uint8_t l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__34(lean_object* x_1, lean_object* x_2) { +uint8_t l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__33(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___private_Init_Lean_MetavarContext_10__collectDeps___spec__35(x_1, x_3); +x_4 = l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__34(x_1, x_3); if (x_4 == 0) { lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; x_5 = lean_ctor_get(x_2, 1); x_6 = lean_array_get_size(x_5); x_7 = lean_unsigned_to_nat(0u); -x_8 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__38(x_1, x_2, x_5, x_6, x_7); +x_8 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__37(x_1, x_2, x_5, x_6, x_7); lean_dec(x_6); return x_8; } @@ -21150,7 +21469,7 @@ return x_4; } } } -lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__33(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__32(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { switch (lean_obj_tag(x_3)) { @@ -21163,7 +21482,7 @@ lean_inc(x_5); lean_dec(x_3); x_6 = lean_array_get_size(x_1); x_7 = lean_unsigned_to_nat(0u); -x_8 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__2(x_1, x_5, x_1, x_6, x_7); +x_8 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__1(x_1, x_5, x_1, x_6, x_7); lean_dec(x_6); lean_dec(x_5); x_9 = lean_box(x_8); @@ -21192,7 +21511,7 @@ lean_dec(x_13); x_15 = lean_ctor_get(x_14, 1); lean_inc(x_15); lean_dec(x_14); -x_16 = l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__34(x_1, x_15); +x_16 = l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__33(x_1, x_15); lean_dec(x_15); x_17 = lean_box(x_16); x_18 = lean_alloc_ctor(0, 2, 0); @@ -21331,7 +21650,7 @@ x_46 = lean_ctor_get(x_31, 1); lean_inc(x_46); lean_dec(x_31); lean_inc(x_2); -x_47 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__33(x_1, x_2, x_30, x_46); +x_47 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__32(x_1, x_2, x_30, x_46); x_48 = lean_ctor_get(x_47, 0); lean_inc(x_48); x_49 = lean_unbox(x_48); @@ -21492,7 +21811,7 @@ x_81 = lean_ctor_get(x_68, 1); lean_inc(x_81); lean_dec(x_68); lean_inc(x_2); -x_82 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__33(x_1, x_2, x_66, x_81); +x_82 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__32(x_1, x_2, x_66, x_81); x_83 = lean_ctor_get(x_82, 0); lean_inc(x_83); x_84 = lean_unbox(x_83); @@ -21642,7 +21961,7 @@ x_114 = lean_ctor_get(x_101, 1); lean_inc(x_114); lean_dec(x_101); lean_inc(x_2); -x_115 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__33(x_1, x_2, x_99, x_114); +x_115 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__32(x_1, x_2, x_99, x_114); x_116 = lean_ctor_get(x_115, 0); lean_inc(x_116); x_117 = lean_unbox(x_116); @@ -21758,7 +22077,7 @@ x_176 = lean_ctor_get(x_171, 1); lean_inc(x_176); lean_dec(x_171); lean_inc(x_2); -x_177 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__33(x_1, x_2, x_132, x_176); +x_177 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__32(x_1, x_2, x_132, x_176); x_178 = lean_ctor_get(x_177, 0); lean_inc(x_178); x_179 = lean_ctor_get(x_177, 1); @@ -21837,7 +22156,7 @@ x_150 = lean_ctor_get(x_137, 1); lean_inc(x_150); lean_dec(x_137); lean_inc(x_2); -x_151 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__33(x_1, x_2, x_133, x_150); +x_151 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__32(x_1, x_2, x_133, x_150); x_152 = lean_ctor_get(x_151, 0); lean_inc(x_152); x_153 = lean_unbox(x_152); @@ -22042,72 +22361,82 @@ return x_203; } } } -lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__43___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__38(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) +uint8_t x_6; +x_6 = lean_nat_dec_lt(x_5, x_4); +if (x_6 == 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; +uint8_t x_7; +lean_dec(x_5); +x_7 = 0; +return x_7; } 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_10__collectDeps___spec__42___rarg(x_1, x_9, x_5); +lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_8 = lean_array_fget(x_3, x_5); +x_9 = l_Lean_LocalDecl_fvarId(x_2); +x_10 = l_Lean_Expr_fvarId_x21(x_8); +lean_dec(x_8); +x_11 = lean_name_eq(x_9, x_10); +lean_dec(x_10); 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; +x_12 = lean_unsigned_to_nat(1u); +x_13 = lean_nat_add(x_5, x_12); +lean_dec(x_5); +x_5 = x_13; goto _start; } +else +{ +lean_dec(x_5); +return x_11; } } } -lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__43(lean_object* x_1) { +} +uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__39(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__43___rarg___boxed), 5, 0); -return x_2; +uint8_t x_6; +x_6 = lean_nat_dec_lt(x_5, x_4); +if (x_6 == 0) +{ +uint8_t x_7; +lean_dec(x_5); +x_7 = 0; +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_8 = lean_array_fget(x_3, x_5); +x_9 = l_Lean_LocalDecl_fvarId(x_2); +x_10 = l_Lean_Expr_fvarId_x21(x_8); +lean_dec(x_8); +x_11 = lean_name_eq(x_9, x_10); +lean_dec(x_10); +lean_dec(x_9); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; +x_12 = lean_unsigned_to_nat(1u); +x_13 = lean_nat_add(x_5, x_12); +lean_dec(x_5); +x_5 = x_13; +goto _start; +} +else +{ +lean_dec(x_5); +return x_11; +} +} } } lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__44___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { @@ -22131,7 +22460,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); +x_10 = l_PersistentArray_foldlMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__43___rarg(x_1, x_9, x_5); +lean_dec(x_9); if (lean_obj_tag(x_10) == 0) { uint8_t x_11; @@ -22177,35 +22507,6 @@ x_2 = lean_alloc_closure((void*)(l_Array_iterateMAux___main___at___private_Init_ return x_2; } } -lean_object* l_PersistentArray_foldlMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__42___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_10__collectDeps___spec__43___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_10__collectDeps___spec__44___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_10__collectDeps___spec__42(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_PersistentArray_foldlMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__42___rarg___boxed), 3, 0); -return x_2; -} -} lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_10__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: { @@ -22227,74 +22528,6 @@ 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_10__collectDeps___spec__42___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_10__collectDeps___spec__45(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__45___rarg___boxed), 5, 0); -return x_2; -} -} -lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__46___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) { @@ -22333,6 +22566,103 @@ goto _start; } } } +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__45(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__45___rarg___boxed), 5, 0); +return x_2; +} +} +lean_object* l_PersistentArray_foldlMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__43___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_10__collectDeps___spec__44___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_10__collectDeps___spec__45___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_10__collectDeps___spec__43(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_PersistentArray_foldlMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__43___rarg___boxed), 3, 0); +return x_2; +} +} +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__46___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_10__collectDeps___spec__43___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_10__collectDeps___spec__46(lean_object* x_1) { _start: { @@ -22341,78 +22671,6 @@ x_2 = lean_alloc_closure((void*)(l_Array_iterateMAux___main___at___private_Init_ return x_2; } } -lean_object* l_PersistentArray_foldlFromMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__41___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_10__collectDeps___spec__41___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_10__collectDeps___spec__45___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_10__collectDeps___spec__46___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_10__collectDeps___spec__41(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_PersistentArray_foldlFromMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__41___rarg___boxed), 5, 0); -return x_2; -} -} lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__47___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { @@ -22424,7 +22682,7 @@ if (x_7 == 0) { lean_object* x_8; lean_dec(x_4); -lean_dec(x_2); +lean_dec(x_1); x_8 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_8, 0, x_5); return x_8; @@ -22433,13 +22691,13 @@ 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); +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_2); +lean_dec(x_1); x_11 = !lean_is_exclusive(x_10); if (x_11 == 0) { @@ -22480,6 +22738,78 @@ x_2 = lean_alloc_closure((void*)(l_Array_iterateMAux___main___at___private_Init_ return x_2; } } +lean_object* l_PersistentArray_foldlFromMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__42___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_10__collectDeps___spec__42___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_10__collectDeps___spec__46___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_10__collectDeps___spec__47___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_10__collectDeps___spec__42(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_PersistentArray_foldlFromMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__42___rarg___boxed), 5, 0); +return x_2; +} +} lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__48___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { @@ -22547,7 +22877,74 @@ x_2 = lean_alloc_closure((void*)(l_Array_iterateMAux___main___at___private_Init_ return x_2; } } -lean_object* l_PersistentArray_foldlFromM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__40___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__49___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_10__collectDeps___spec__49(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__49___rarg___boxed), 5, 0); +return x_2; +} +} +lean_object* l_PersistentArray_foldlFromM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__41___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; @@ -22560,7 +22957,7 @@ 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_10__collectDeps___spec__41___rarg(x_2, x_7, x_8, x_9, x_3); +x_10 = l_PersistentArray_foldlFromMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__42___rarg(x_2, x_7, x_8, x_9, x_3); if (lean_obj_tag(x_10) == 0) { uint8_t x_11; @@ -22589,7 +22986,7 @@ 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_10__collectDeps___spec__47___rarg(x_1, x_2, x_15, x_16, x_14); +x_17 = l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__48___rarg(x_1, x_2, x_15, x_16, x_14); return x_17; } } @@ -22598,374 +22995,7401 @@ 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_10__collectDeps___spec__48___rarg(x_1, x_2, x_18, x_19, x_3); +x_20 = l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__49___rarg(x_1, x_2, x_18, x_19, x_3); return x_20; } } } -lean_object* l_PersistentArray_foldlFromM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__40(lean_object* x_1) { +lean_object* l_PersistentArray_foldlFromM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__41(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_PersistentArray_foldlFromM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__40___rarg___boxed), 4, 0); +x_2 = lean_alloc_closure((void*)(l_PersistentArray_foldlFromM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__41___rarg___boxed), 4, 0); return x_2; } } -lean_object* l_Lean_LocalContext_foldlFromM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__39___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_Lean_LocalContext_foldlFromM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__40___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -if (lean_obj_tag(x_6) == 0) -{ -lean_object* x_7; -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; lean_object* x_9; lean_object* x_18; uint8_t x_19; -x_8 = lean_ctor_get(x_6, 0); -lean_inc(x_8); -lean_dec(x_6); -x_18 = lean_unsigned_to_nat(0u); -x_19 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__1(x_3, x_8, x_3, x_4, x_18); -if (x_19 == 0) -{ if (lean_obj_tag(x_8) == 0) { -lean_object* x_20; uint8_t x_21; -x_20 = lean_ctor_get(x_8, 3); -lean_inc(x_20); -x_21 = l_Lean_Expr_hasFVar(x_20); -if (x_21 == 0) -{ -uint8_t x_22; -x_22 = l_Lean_Expr_hasMVar(x_20); -if (x_22 == 0) -{ -lean_object* x_23; -lean_dec(x_20); -lean_dec(x_8); +lean_object* x_9; lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_23 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_23, 0, x_5); -return x_23; -} -else -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; -x_24 = l_HashMap_Inhabited___closed__1; -lean_inc(x_1); -x_25 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__3(x_5, x_1, x_20, x_24); -x_26 = lean_ctor_get(x_25, 0); -lean_inc(x_26); -lean_dec(x_25); -x_27 = lean_unbox(x_26); -lean_dec(x_26); -if (x_27 == 0) -{ -lean_object* x_28; -lean_dec(x_8); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_28 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_28, 0, x_5); -return x_28; -} -else -{ -lean_object* x_29; -x_29 = lean_box(0); -x_9 = x_29; -goto block_17; -} -} -} -else -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; -x_30 = l_HashMap_Inhabited___closed__1; -lean_inc(x_1); -x_31 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__9(x_5, x_1, x_20, 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); -if (x_33 == 0) -{ -lean_object* x_34; -lean_dec(x_8); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_34 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_34, 0, x_5); -return x_34; -} -else -{ -lean_object* x_35; -x_35 = lean_box(0); -x_9 = x_35; -goto block_17; -} -} -} -else -{ -lean_object* x_36; lean_object* x_37; uint8_t x_38; lean_object* x_39; uint8_t x_55; -x_36 = lean_ctor_get(x_8, 3); -lean_inc(x_36); -x_37 = lean_ctor_get(x_8, 4); -lean_inc(x_37); -x_55 = l_Lean_Expr_hasFVar(x_36); -if (x_55 == 0) -{ -uint8_t x_56; -x_56 = l_Lean_Expr_hasMVar(x_36); -if (x_56 == 0) -{ -uint8_t x_57; lean_object* x_58; -lean_dec(x_36); -x_57 = 0; -x_58 = l_HashMap_Inhabited___closed__1; -x_38 = x_57; -x_39 = x_58; -goto block_54; -} -else -{ -lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; uint8_t x_63; -x_59 = l_HashMap_Inhabited___closed__1; -lean_inc(x_1); -x_60 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__27(x_5, x_1, x_36, x_59); -x_61 = lean_ctor_get(x_60, 0); -lean_inc(x_61); -x_62 = lean_ctor_get(x_60, 1); -lean_inc(x_62); -lean_dec(x_60); -x_63 = lean_unbox(x_61); -lean_dec(x_61); -x_38 = x_63; -x_39 = x_62; -goto block_54; -} -} -else -{ -lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; uint8_t x_68; -x_64 = l_HashMap_Inhabited___closed__1; -lean_inc(x_1); -x_65 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__33(x_5, x_1, x_36, x_64); -x_66 = lean_ctor_get(x_65, 0); -lean_inc(x_66); -x_67 = lean_ctor_get(x_65, 1); -lean_inc(x_67); -lean_dec(x_65); -x_68 = lean_unbox(x_66); -lean_dec(x_66); -x_38 = x_68; -x_39 = x_67; -goto block_54; -} -block_54: -{ -if (x_38 == 0) -{ -uint8_t x_40; -x_40 = l_Lean_Expr_hasFVar(x_37); -if (x_40 == 0) -{ -uint8_t x_41; -x_41 = l_Lean_Expr_hasMVar(x_37); -if (x_41 == 0) -{ -lean_object* x_42; -lean_dec(x_39); -lean_dec(x_37); -lean_dec(x_8); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_42 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_42, 0, x_5); -return x_42; -} -else -{ -lean_object* x_43; lean_object* x_44; uint8_t x_45; -lean_inc(x_1); -x_43 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__15(x_5, x_1, x_37, x_39); -x_44 = lean_ctor_get(x_43, 0); -lean_inc(x_44); -lean_dec(x_43); -x_45 = lean_unbox(x_44); -lean_dec(x_44); -if (x_45 == 0) -{ -lean_object* x_46; -lean_dec(x_8); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_46 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_46, 0, x_5); -return x_46; -} -else -{ -lean_object* x_47; -x_47 = lean_box(0); -x_9 = x_47; -goto block_17; -} -} -} -else -{ -lean_object* x_48; lean_object* x_49; uint8_t x_50; -lean_inc(x_1); -x_48 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__21(x_5, x_1, x_37, x_39); -x_49 = lean_ctor_get(x_48, 0); -lean_inc(x_49); -lean_dec(x_48); -x_50 = lean_unbox(x_49); -lean_dec(x_49); -if (x_50 == 0) -{ -lean_object* x_51; -lean_dec(x_8); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_51 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_51, 0, x_5); -return x_51; -} -else -{ -lean_object* x_52; -x_52 = lean_box(0); -x_9 = x_52; -goto block_17; -} -} -} -else -{ -lean_object* x_53; -lean_dec(x_39); -lean_dec(x_37); -x_53 = lean_box(0); -x_9 = x_53; -goto block_17; -} -} -} -} -else -{ -lean_object* x_69; lean_object* x_70; lean_object* x_71; -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_69 = l_Lean_LocalDecl_toExpr(x_8); -lean_dec(x_8); -x_70 = lean_array_push(x_5, x_69); -x_71 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_71, 0, x_70); -return x_71; -} -block_17: -{ -uint8_t x_10; uint8_t x_11; -lean_dec(x_9); -x_10 = l_Lean_LocalDecl_binderInfo(x_8); -x_11 = l_Lean_BinderInfo_isAuxDecl(x_10); -if (x_11 == 0) -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_12 = l_Lean_LocalDecl_toExpr(x_8); -lean_dec(x_8); -x_13 = lean_array_push(x_5, x_12); -x_14 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_14, 0, x_13); -return x_14; -} -else -{ -lean_object* x_15; lean_object* x_16; -lean_dec(x_5); -x_15 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_15, 0, x_1); -lean_ctor_set(x_15, 1, x_2); -lean_ctor_set(x_15, 2, x_3); -lean_ctor_set(x_15, 3, x_8); -x_16 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_16, 0, x_15); -return x_16; -} -} -} -} -} -lean_object* l_Lean_LocalContext_foldlFromM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__39(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_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___private_Init_Lean_MetavarContext_10__collectDeps___spec__39___lambda__1___boxed), 6, 4); -lean_closure_set(x_9, 0, x_1); -lean_closure_set(x_9, 1, x_2); -lean_closure_set(x_9, 2, x_3); -lean_closure_set(x_9, 3, x_4); -x_10 = l_Lean_LocalDecl_index(x_7); -x_11 = l_PersistentArray_foldlFromM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__40___rarg(x_8, x_9, x_6, x_10); -lean_dec(x_10); -return x_11; -} -} -lean_object* l___private_Init_Lean_MetavarContext_10__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; -x_4 = lean_array_get_size(x_3); -x_5 = lean_unsigned_to_nat(0u); -x_6 = lean_nat_dec_eq(x_4, x_5); -if (x_6 == 0) -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; -lean_inc(x_2); -x_7 = l___private_Init_Lean_MetavarContext_9__getLocalDeclWithSmallestIdx(x_2, x_3); -x_8 = lean_mk_empty_array_with_capacity(x_4); -lean_inc(x_2); -x_9 = l_Lean_LocalContext_foldlFromM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__39(x_1, x_2, x_3, x_4, x_2, x_8, x_7); -lean_dec(x_7); -lean_dec(x_2); +x_9 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_9, 0, x_7); return x_9; } else { -lean_object* x_10; -lean_dec(x_4); +lean_object* x_10; lean_object* x_11; lean_object* x_20; +x_10 = lean_ctor_get(x_8, 0); +lean_inc(x_10); +lean_dec(x_8); +if (x_4 == 0) +{ +lean_object* x_71; uint8_t x_72; +x_71 = lean_unsigned_to_nat(0u); +x_72 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__38(x_3, x_10, x_3, x_5, x_71); +if (x_72 == 0) +{ +lean_object* x_73; +x_73 = lean_box(0); +x_20 = x_73; +goto block_70; +} +else +{ +lean_object* x_74; lean_object* x_75; lean_object* x_76; +lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_10 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_10, 0, x_3); +x_74 = l_Lean_LocalDecl_toExpr(x_10); +lean_dec(x_10); +x_75 = lean_array_push(x_7, x_74); +x_76 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_76, 0, x_75); +return x_76; +} +} +else +{ +lean_object* x_77; lean_object* x_78; uint8_t x_79; +x_77 = l_Lean_LocalDecl_index(x_10); +x_78 = l_Lean_LocalDecl_index(x_6); +x_79 = lean_nat_dec_eq(x_77, x_78); +lean_dec(x_78); +lean_dec(x_77); +if (x_79 == 0) +{ +lean_object* x_80; uint8_t x_81; +x_80 = lean_unsigned_to_nat(0u); +x_81 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__39(x_3, x_10, x_3, x_5, x_80); +if (x_81 == 0) +{ +lean_object* x_82; +x_82 = lean_box(0); +x_20 = x_82; +goto block_70; +} +else +{ +lean_object* x_83; lean_object* x_84; lean_object* x_85; +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_83 = l_Lean_LocalDecl_toExpr(x_10); +lean_dec(x_10); +x_84 = lean_array_push(x_7, x_83); +x_85 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_85, 0, x_84); +return x_85; +} +} +else +{ +lean_object* x_86; +lean_dec(x_10); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_86 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_86, 0, x_7); +return x_86; +} +} +block_19: +{ +uint8_t x_12; uint8_t x_13; +lean_dec(x_11); +x_12 = l_Lean_LocalDecl_binderInfo(x_10); +x_13 = l_Lean_BinderInfo_isAuxDecl(x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_14 = l_Lean_LocalDecl_toExpr(x_10); +lean_dec(x_10); +x_15 = lean_array_push(x_7, x_14); +x_16 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_16, 0, x_15); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; +lean_dec(x_7); +x_17 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_17, 0, x_1); +lean_ctor_set(x_17, 1, x_2); +lean_ctor_set(x_17, 2, x_3); +lean_ctor_set(x_17, 3, x_10); +x_18 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_18, 0, x_17); +return x_18; +} +} +block_70: +{ +lean_dec(x_20); +if (lean_obj_tag(x_10) == 0) +{ +lean_object* x_21; uint8_t x_22; +x_21 = lean_ctor_get(x_10, 3); +lean_inc(x_21); +x_22 = l_Lean_Expr_hasFVar(x_21); +if (x_22 == 0) +{ +uint8_t x_23; +x_23 = l_Lean_Expr_hasMVar(x_21); +if (x_23 == 0) +{ +lean_object* x_24; +lean_dec(x_21); +lean_dec(x_10); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_24 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_24, 0, x_7); +return x_24; +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; +x_25 = l_HashMap_Inhabited___closed__1; +lean_inc(x_1); +x_26 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__2(x_7, x_1, x_21, x_25); +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +lean_dec(x_26); +x_28 = lean_unbox(x_27); +lean_dec(x_27); +if (x_28 == 0) +{ +lean_object* x_29; +lean_dec(x_10); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_29 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_29, 0, x_7); +return x_29; +} +else +{ +lean_object* x_30; +x_30 = lean_box(0); +x_11 = x_30; +goto block_19; +} +} +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; +x_31 = l_HashMap_Inhabited___closed__1; +lean_inc(x_1); +x_32 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__8(x_7, x_1, x_21, x_31); +x_33 = lean_ctor_get(x_32, 0); +lean_inc(x_33); +lean_dec(x_32); +x_34 = lean_unbox(x_33); +lean_dec(x_33); +if (x_34 == 0) +{ +lean_object* x_35; +lean_dec(x_10); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_35 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_35, 0, x_7); +return x_35; +} +else +{ +lean_object* x_36; +x_36 = lean_box(0); +x_11 = x_36; +goto block_19; +} +} +} +else +{ +lean_object* x_37; lean_object* x_38; uint8_t x_39; lean_object* x_40; uint8_t x_56; +x_37 = lean_ctor_get(x_10, 3); +lean_inc(x_37); +x_38 = lean_ctor_get(x_10, 4); +lean_inc(x_38); +x_56 = l_Lean_Expr_hasFVar(x_37); +if (x_56 == 0) +{ +uint8_t x_57; +x_57 = l_Lean_Expr_hasMVar(x_37); +if (x_57 == 0) +{ +uint8_t x_58; lean_object* x_59; +lean_dec(x_37); +x_58 = 0; +x_59 = l_HashMap_Inhabited___closed__1; +x_39 = x_58; +x_40 = x_59; +goto block_55; +} +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_1); +x_61 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__26(x_7, x_1, x_37, x_60); +x_62 = lean_ctor_get(x_61, 0); +lean_inc(x_62); +x_63 = lean_ctor_get(x_61, 1); +lean_inc(x_63); +lean_dec(x_61); +x_64 = lean_unbox(x_62); +lean_dec(x_62); +x_39 = x_64; +x_40 = x_63; +goto block_55; +} +} +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_1); +x_66 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__32(x_7, x_1, x_37, x_65); +x_67 = lean_ctor_get(x_66, 0); +lean_inc(x_67); +x_68 = lean_ctor_get(x_66, 1); +lean_inc(x_68); +lean_dec(x_66); +x_69 = lean_unbox(x_67); +lean_dec(x_67); +x_39 = x_69; +x_40 = x_68; +goto block_55; +} +block_55: +{ +if (x_39 == 0) +{ +uint8_t x_41; +x_41 = l_Lean_Expr_hasFVar(x_38); +if (x_41 == 0) +{ +uint8_t x_42; +x_42 = l_Lean_Expr_hasMVar(x_38); +if (x_42 == 0) +{ +lean_object* x_43; +lean_dec(x_40); +lean_dec(x_38); +lean_dec(x_10); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_43 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_43, 0, x_7); +return x_43; +} +else +{ +lean_object* x_44; lean_object* x_45; uint8_t x_46; +lean_inc(x_1); +x_44 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__14(x_7, x_1, x_38, x_40); +x_45 = lean_ctor_get(x_44, 0); +lean_inc(x_45); +lean_dec(x_44); +x_46 = lean_unbox(x_45); +lean_dec(x_45); +if (x_46 == 0) +{ +lean_object* x_47; +lean_dec(x_10); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_47 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_47, 0, x_7); +return x_47; +} +else +{ +lean_object* x_48; +x_48 = lean_box(0); +x_11 = x_48; +goto block_19; +} +} +} +else +{ +lean_object* x_49; lean_object* x_50; uint8_t x_51; +lean_inc(x_1); +x_49 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__20(x_7, x_1, x_38, x_40); +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); +if (x_51 == 0) +{ +lean_object* x_52; +lean_dec(x_10); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_52 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_52, 0, x_7); +return x_52; +} +else +{ +lean_object* x_53; +x_53 = lean_box(0); +x_11 = x_53; +goto block_19; +} +} +} +else +{ +lean_object* x_54; +lean_dec(x_40); +lean_dec(x_38); +x_54 = lean_box(0); +x_11 = x_54; +goto block_19; +} +} +} +} +} +} +} +lean_object* l_Lean_LocalContext_foldlFromM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__40(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_10 = lean_ctor_get(x_7, 1); +x_11 = lean_box(x_4); +x_12 = lean_alloc_closure((void*)(l_Lean_LocalContext_foldlFromM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__40___lambda__1___boxed), 8, 6); +lean_closure_set(x_12, 0, x_1); +lean_closure_set(x_12, 1, x_2); +lean_closure_set(x_12, 2, x_3); +lean_closure_set(x_12, 3, x_11); +lean_closure_set(x_12, 4, x_5); +lean_closure_set(x_12, 5, x_6); +x_13 = l_Lean_LocalDecl_index(x_9); +x_14 = l_PersistentArray_foldlFromM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__41___rarg(x_10, x_12, x_8, x_13); +lean_dec(x_13); +return x_14; +} +} +lean_object* l_Array_back___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__50(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = lean_array_get_size(x_1); +x_3 = lean_unsigned_to_nat(1u); +x_4 = lean_nat_sub(x_2, x_3); +lean_dec(x_2); +x_5 = l_Lean_Expr_Inhabited; +x_6 = lean_array_get(x_5, x_1, x_4); +lean_dec(x_4); +return x_6; +} +} +uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__54(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_nat_dec_lt(x_5, x_4); +if (x_6 == 0) +{ +uint8_t x_7; +lean_dec(x_5); +x_7 = 0; +return x_7; +} +else +{ +lean_object* x_8; uint8_t x_9; +x_8 = lean_array_fget(x_3, x_5); +x_9 = l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__53(x_1, x_8); +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_5, x_10); +lean_dec(x_5); +x_5 = x_11; +goto _start; +} +else +{ +lean_dec(x_5); +return x_9; +} +} +} +} +uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__55(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_nat_dec_lt(x_5, x_4); +if (x_6 == 0) +{ +uint8_t x_7; +lean_dec(x_5); +x_7 = 0; +return x_7; +} +else +{ +lean_object* x_8; +x_8 = lean_array_fget(x_3, x_5); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_unsigned_to_nat(1u); +x_10 = lean_nat_add(x_5, x_9); +lean_dec(x_5); +x_5 = x_10; +goto _start; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_12 = lean_ctor_get(x_8, 0); +lean_inc(x_12); +lean_dec(x_8); +x_13 = l_Lean_LocalDecl_fvarId(x_12); +lean_dec(x_12); +x_14 = l_Lean_Expr_fvarId_x21(x_1); +x_15 = lean_name_eq(x_13, x_14); +lean_dec(x_14); +lean_dec(x_13); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; +x_16 = lean_unsigned_to_nat(1u); +x_17 = lean_nat_add(x_5, x_16); +lean_dec(x_5); +x_5 = x_17; +goto _start; +} +else +{ +lean_dec(x_5); +return x_15; +} +} +} +} +} +uint8_t l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_10__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; lean_object* x_5; uint8_t x_6; +x_3 = lean_ctor_get(x_2, 0); +x_4 = lean_array_get_size(x_3); +x_5 = lean_unsigned_to_nat(0u); +x_6 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__54(x_1, x_3, x_3, x_4, x_5); +lean_dec(x_4); +return x_6; +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_7 = lean_ctor_get(x_2, 0); +x_8 = lean_array_get_size(x_7); +x_9 = lean_unsigned_to_nat(0u); +x_10 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__55(x_1, x_7, x_7, x_8, x_9); +lean_dec(x_8); return x_10; } } } +uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__56(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_nat_dec_lt(x_5, x_4); +if (x_6 == 0) +{ +uint8_t x_7; +lean_dec(x_5); +x_7 = 0; +return x_7; +} +else +{ +lean_object* x_8; +x_8 = lean_array_fget(x_3, x_5); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_unsigned_to_nat(1u); +x_10 = lean_nat_add(x_5, x_9); +lean_dec(x_5); +x_5 = x_10; +goto _start; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_12 = lean_ctor_get(x_8, 0); +lean_inc(x_12); +lean_dec(x_8); +x_13 = l_Lean_LocalDecl_fvarId(x_12); +lean_dec(x_12); +x_14 = l_Lean_Expr_fvarId_x21(x_1); +x_15 = lean_name_eq(x_13, x_14); +lean_dec(x_14); +lean_dec(x_13); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; +x_16 = lean_unsigned_to_nat(1u); +x_17 = lean_nat_add(x_5, x_16); +lean_dec(x_5); +x_5 = x_17; +goto _start; +} +else +{ +lean_dec(x_5); +return x_15; +} +} +} +} +} +uint8_t l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_10__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___private_Init_Lean_MetavarContext_10__collectDeps___spec__53(x_1, x_3); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; +x_5 = lean_ctor_get(x_2, 1); +x_6 = lean_array_get_size(x_5); +x_7 = lean_unsigned_to_nat(0u); +x_8 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__56(x_1, x_2, x_5, x_6, x_7); +lean_dec(x_6); +return x_8; +} +else +{ +return x_4; +} +} +} +lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__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)) { +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_2); +x_5 = lean_ctor_get(x_3, 0); +lean_inc(x_5); +lean_dec(x_3); +x_6 = l_Lean_Expr_fvarId_x21(x_1); +x_7 = lean_name_eq(x_5, x_6); +lean_dec(x_6); +lean_dec(x_5); +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_2); +x_11 = lean_metavar_ctx_get_expr_assignment(x_2, 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_2, x_10); +lean_dec(x_10); +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_10__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); +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; lean_object* x_20; uint8_t x_21; +lean_dec(x_10); +x_18 = lean_ctor_get(x_11, 0); +lean_inc(x_18); +lean_dec(x_11); +lean_inc(x_18); +x_19 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_18, x_4); +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_unbox(x_20); +if (x_21 == 0) +{ +uint8_t x_22; +lean_dec(x_18); +lean_dec(x_2); +x_22 = !lean_is_exclusive(x_19); +if (x_22 == 0) +{ +lean_object* x_23; +x_23 = lean_ctor_get(x_19, 0); +lean_dec(x_23); +return x_19; +} +else +{ +lean_object* x_24; lean_object* x_25; +x_24 = lean_ctor_get(x_19, 1); +lean_inc(x_24); +lean_dec(x_19); +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 +{ +lean_object* x_26; +lean_dec(x_20); +x_26 = lean_ctor_get(x_19, 1); +lean_inc(x_26); +lean_dec(x_19); +x_3 = x_18; +x_4 = x_26; +goto _start; +} +} +} +case 5: +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; +x_28 = lean_ctor_get(x_3, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_3, 1); +lean_inc(x_29); +lean_dec(x_3); +lean_inc(x_29); +x_30 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_29, x_4); +x_31 = lean_ctor_get(x_30, 0); +lean_inc(x_31); +x_32 = lean_unbox(x_31); +lean_dec(x_31); +if (x_32 == 0) +{ +lean_object* x_33; uint8_t x_34; +lean_dec(x_29); +x_33 = lean_ctor_get(x_30, 1); +lean_inc(x_33); +lean_dec(x_30); +x_34 = l_Lean_Expr_isApp(x_28); +if (x_34 == 0) +{ +lean_object* x_35; lean_object* x_36; uint8_t x_37; +lean_inc(x_28); +x_35 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_28, x_33); +x_36 = lean_ctor_get(x_35, 0); +lean_inc(x_36); +x_37 = lean_unbox(x_36); +if (x_37 == 0) +{ +uint8_t x_38; +lean_dec(x_28); +lean_dec(x_2); +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); +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_36); +lean_ctor_set(x_41, 1, x_40); +return x_41; +} +} +else +{ +lean_object* x_42; +lean_dec(x_36); +x_42 = lean_ctor_get(x_35, 1); +lean_inc(x_42); +lean_dec(x_35); +x_3 = x_28; +x_4 = x_42; +goto _start; +} +} +else +{ +x_3 = x_28; +x_4 = x_33; +goto _start; +} +} +else +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; +x_45 = lean_ctor_get(x_30, 1); +lean_inc(x_45); +lean_dec(x_30); +lean_inc(x_2); +x_46 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__51(x_1, x_2, x_29, x_45); +x_47 = lean_ctor_get(x_46, 0); +lean_inc(x_47); +x_48 = lean_unbox(x_47); +if (x_48 == 0) +{ +lean_object* x_49; uint8_t x_50; +lean_dec(x_47); +x_49 = lean_ctor_get(x_46, 1); +lean_inc(x_49); +lean_dec(x_46); +x_50 = l_Lean_Expr_isApp(x_28); +if (x_50 == 0) +{ +lean_object* x_51; lean_object* x_52; uint8_t x_53; +lean_inc(x_28); +x_51 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_28, x_49); +x_52 = lean_ctor_get(x_51, 0); +lean_inc(x_52); +x_53 = lean_unbox(x_52); +if (x_53 == 0) +{ +uint8_t x_54; +lean_dec(x_28); +lean_dec(x_2); +x_54 = !lean_is_exclusive(x_51); +if (x_54 == 0) +{ +lean_object* x_55; +x_55 = lean_ctor_get(x_51, 0); +lean_dec(x_55); +return x_51; +} +else +{ +lean_object* x_56; lean_object* x_57; +x_56 = lean_ctor_get(x_51, 1); +lean_inc(x_56); +lean_dec(x_51); +x_57 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_57, 0, x_52); +lean_ctor_set(x_57, 1, x_56); +return x_57; +} +} +else +{ +lean_object* x_58; +lean_dec(x_52); +x_58 = lean_ctor_get(x_51, 1); +lean_inc(x_58); +lean_dec(x_51); +x_3 = x_28; +x_4 = x_58; +goto _start; +} +} +else +{ +x_3 = x_28; +x_4 = x_49; +goto _start; +} +} +else +{ +uint8_t x_61; +lean_dec(x_28); +lean_dec(x_2); +x_61 = !lean_is_exclusive(x_46); +if (x_61 == 0) +{ +lean_object* x_62; +x_62 = lean_ctor_get(x_46, 0); +lean_dec(x_62); +return x_46; +} +else +{ +lean_object* x_63; lean_object* x_64; +x_63 = lean_ctor_get(x_46, 1); +lean_inc(x_63); +lean_dec(x_46); +x_64 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_64, 0, x_47); +lean_ctor_set(x_64, 1, x_63); +return x_64; +} +} +} +} +case 6: +{ +lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; uint8_t x_69; +x_65 = lean_ctor_get(x_3, 1); +lean_inc(x_65); +x_66 = lean_ctor_get(x_3, 2); +lean_inc(x_66); +lean_dec(x_3); +lean_inc(x_65); +x_67 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_65, x_4); +x_68 = lean_ctor_get(x_67, 0); +lean_inc(x_68); +x_69 = lean_unbox(x_68); +lean_dec(x_68); +if (x_69 == 0) +{ +lean_object* x_70; lean_object* x_71; lean_object* x_72; uint8_t x_73; +lean_dec(x_65); +x_70 = lean_ctor_get(x_67, 1); +lean_inc(x_70); +lean_dec(x_67); +lean_inc(x_66); +x_71 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_66, x_70); +x_72 = lean_ctor_get(x_71, 0); +lean_inc(x_72); +x_73 = lean_unbox(x_72); +if (x_73 == 0) +{ +uint8_t x_74; +lean_dec(x_66); +lean_dec(x_2); +x_74 = !lean_is_exclusive(x_71); +if (x_74 == 0) +{ +lean_object* x_75; +x_75 = lean_ctor_get(x_71, 0); +lean_dec(x_75); +return x_71; +} +else +{ +lean_object* x_76; lean_object* x_77; +x_76 = lean_ctor_get(x_71, 1); +lean_inc(x_76); +lean_dec(x_71); +x_77 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_77, 0, x_72); +lean_ctor_set(x_77, 1, x_76); +return x_77; +} +} +else +{ +lean_object* x_78; +lean_dec(x_72); +x_78 = lean_ctor_get(x_71, 1); +lean_inc(x_78); +lean_dec(x_71); +x_3 = x_66; +x_4 = x_78; +goto _start; +} +} +else +{ +lean_object* x_80; lean_object* x_81; lean_object* x_82; uint8_t x_83; +x_80 = lean_ctor_get(x_67, 1); +lean_inc(x_80); +lean_dec(x_67); +lean_inc(x_2); +x_81 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__51(x_1, x_2, x_65, x_80); +x_82 = lean_ctor_get(x_81, 0); +lean_inc(x_82); +x_83 = lean_unbox(x_82); +if (x_83 == 0) +{ +lean_object* x_84; lean_object* x_85; lean_object* x_86; uint8_t x_87; +lean_dec(x_82); +x_84 = lean_ctor_get(x_81, 1); +lean_inc(x_84); +lean_dec(x_81); +lean_inc(x_66); +x_85 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_66, x_84); +x_86 = lean_ctor_get(x_85, 0); +lean_inc(x_86); +x_87 = lean_unbox(x_86); +if (x_87 == 0) +{ +uint8_t x_88; +lean_dec(x_66); +lean_dec(x_2); +x_88 = !lean_is_exclusive(x_85); +if (x_88 == 0) +{ +lean_object* x_89; +x_89 = lean_ctor_get(x_85, 0); +lean_dec(x_89); +return x_85; +} +else +{ +lean_object* x_90; lean_object* x_91; +x_90 = lean_ctor_get(x_85, 1); +lean_inc(x_90); +lean_dec(x_85); +x_91 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_91, 0, x_86); +lean_ctor_set(x_91, 1, x_90); +return x_91; +} +} +else +{ +lean_object* x_92; +lean_dec(x_86); +x_92 = lean_ctor_get(x_85, 1); +lean_inc(x_92); +lean_dec(x_85); +x_3 = x_66; +x_4 = x_92; +goto _start; +} +} +else +{ +uint8_t x_94; +lean_dec(x_66); +lean_dec(x_2); +x_94 = !lean_is_exclusive(x_81); +if (x_94 == 0) +{ +lean_object* x_95; +x_95 = lean_ctor_get(x_81, 0); +lean_dec(x_95); +return x_81; +} +else +{ +lean_object* x_96; lean_object* x_97; +x_96 = lean_ctor_get(x_81, 1); +lean_inc(x_96); +lean_dec(x_81); +x_97 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_97, 0, x_82); +lean_ctor_set(x_97, 1, x_96); +return x_97; +} +} +} +} +case 7: +{ +lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; uint8_t x_102; +x_98 = lean_ctor_get(x_3, 1); +lean_inc(x_98); +x_99 = lean_ctor_get(x_3, 2); +lean_inc(x_99); +lean_dec(x_3); +lean_inc(x_98); +x_100 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_98, x_4); +x_101 = lean_ctor_get(x_100, 0); +lean_inc(x_101); +x_102 = lean_unbox(x_101); +lean_dec(x_101); +if (x_102 == 0) +{ +lean_object* x_103; lean_object* x_104; lean_object* x_105; uint8_t x_106; +lean_dec(x_98); +x_103 = lean_ctor_get(x_100, 1); +lean_inc(x_103); +lean_dec(x_100); +lean_inc(x_99); +x_104 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_99, x_103); +x_105 = lean_ctor_get(x_104, 0); +lean_inc(x_105); +x_106 = lean_unbox(x_105); +if (x_106 == 0) +{ +uint8_t x_107; +lean_dec(x_99); +lean_dec(x_2); +x_107 = !lean_is_exclusive(x_104); +if (x_107 == 0) +{ +lean_object* x_108; +x_108 = lean_ctor_get(x_104, 0); +lean_dec(x_108); +return x_104; +} +else +{ +lean_object* x_109; lean_object* x_110; +x_109 = lean_ctor_get(x_104, 1); +lean_inc(x_109); +lean_dec(x_104); +x_110 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_110, 0, x_105); +lean_ctor_set(x_110, 1, x_109); +return x_110; +} +} +else +{ +lean_object* x_111; +lean_dec(x_105); +x_111 = lean_ctor_get(x_104, 1); +lean_inc(x_111); +lean_dec(x_104); +x_3 = x_99; +x_4 = x_111; +goto _start; +} +} +else +{ +lean_object* x_113; lean_object* x_114; lean_object* x_115; uint8_t x_116; +x_113 = lean_ctor_get(x_100, 1); +lean_inc(x_113); +lean_dec(x_100); +lean_inc(x_2); +x_114 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__51(x_1, x_2, x_98, x_113); +x_115 = lean_ctor_get(x_114, 0); +lean_inc(x_115); +x_116 = lean_unbox(x_115); +if (x_116 == 0) +{ +lean_object* x_117; lean_object* x_118; lean_object* x_119; uint8_t x_120; +lean_dec(x_115); +x_117 = lean_ctor_get(x_114, 1); +lean_inc(x_117); +lean_dec(x_114); +lean_inc(x_99); +x_118 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_99, x_117); +x_119 = lean_ctor_get(x_118, 0); +lean_inc(x_119); +x_120 = lean_unbox(x_119); +if (x_120 == 0) +{ +uint8_t x_121; +lean_dec(x_99); +lean_dec(x_2); +x_121 = !lean_is_exclusive(x_118); +if (x_121 == 0) +{ +lean_object* x_122; +x_122 = lean_ctor_get(x_118, 0); +lean_dec(x_122); +return x_118; +} +else +{ +lean_object* x_123; lean_object* x_124; +x_123 = lean_ctor_get(x_118, 1); +lean_inc(x_123); +lean_dec(x_118); +x_124 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_124, 0, x_119); +lean_ctor_set(x_124, 1, x_123); +return x_124; +} +} +else +{ +lean_object* x_125; +lean_dec(x_119); +x_125 = lean_ctor_get(x_118, 1); +lean_inc(x_125); +lean_dec(x_118); +x_3 = x_99; +x_4 = x_125; +goto _start; +} +} +else +{ +uint8_t x_127; +lean_dec(x_99); +lean_dec(x_2); +x_127 = !lean_is_exclusive(x_114); +if (x_127 == 0) +{ +lean_object* x_128; +x_128 = lean_ctor_get(x_114, 0); +lean_dec(x_128); +return x_114; +} +else +{ +lean_object* x_129; lean_object* x_130; +x_129 = lean_ctor_get(x_114, 1); +lean_inc(x_129); +lean_dec(x_114); +x_130 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_130, 0, x_115); +lean_ctor_set(x_130, 1, x_129); +return x_130; +} +} +} +} +case 8: +{ +lean_object* x_131; lean_object* x_132; lean_object* x_133; uint8_t x_134; lean_object* x_135; lean_object* x_170; lean_object* x_171; uint8_t x_172; +x_131 = lean_ctor_get(x_3, 1); +lean_inc(x_131); +x_132 = lean_ctor_get(x_3, 2); +lean_inc(x_132); +x_133 = lean_ctor_get(x_3, 3); +lean_inc(x_133); +lean_dec(x_3); +lean_inc(x_131); +x_170 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_131, x_4); +x_171 = lean_ctor_get(x_170, 0); +lean_inc(x_171); +x_172 = lean_unbox(x_171); +if (x_172 == 0) +{ +lean_object* x_173; uint8_t x_174; +lean_dec(x_131); +x_173 = lean_ctor_get(x_170, 1); +lean_inc(x_173); +lean_dec(x_170); +x_174 = lean_unbox(x_171); +lean_dec(x_171); +x_134 = x_174; +x_135 = x_173; +goto block_169; +} +else +{ +lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; uint8_t x_179; +lean_dec(x_171); +x_175 = lean_ctor_get(x_170, 1); +lean_inc(x_175); +lean_dec(x_170); +lean_inc(x_2); +x_176 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__51(x_1, x_2, x_131, x_175); +x_177 = lean_ctor_get(x_176, 0); +lean_inc(x_177); +x_178 = lean_ctor_get(x_176, 1); +lean_inc(x_178); +lean_dec(x_176); +x_179 = lean_unbox(x_177); +lean_dec(x_177); +x_134 = x_179; +x_135 = x_178; +goto block_169; +} +block_169: +{ +if (x_134 == 0) +{ +lean_object* x_136; lean_object* x_137; uint8_t x_138; +lean_inc(x_132); +x_136 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_132, x_135); +x_137 = lean_ctor_get(x_136, 0); +lean_inc(x_137); +x_138 = lean_unbox(x_137); +lean_dec(x_137); +if (x_138 == 0) +{ +lean_object* x_139; lean_object* x_140; lean_object* x_141; uint8_t x_142; +lean_dec(x_132); +x_139 = lean_ctor_get(x_136, 1); +lean_inc(x_139); +lean_dec(x_136); +lean_inc(x_133); +x_140 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_133, x_139); +x_141 = lean_ctor_get(x_140, 0); +lean_inc(x_141); +x_142 = lean_unbox(x_141); +if (x_142 == 0) +{ +uint8_t x_143; +lean_dec(x_133); +lean_dec(x_2); +x_143 = !lean_is_exclusive(x_140); +if (x_143 == 0) +{ +lean_object* x_144; +x_144 = lean_ctor_get(x_140, 0); +lean_dec(x_144); +return x_140; +} +else +{ +lean_object* x_145; lean_object* x_146; +x_145 = lean_ctor_get(x_140, 1); +lean_inc(x_145); +lean_dec(x_140); +x_146 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_146, 0, x_141); +lean_ctor_set(x_146, 1, x_145); +return x_146; +} +} +else +{ +lean_object* x_147; +lean_dec(x_141); +x_147 = lean_ctor_get(x_140, 1); +lean_inc(x_147); +lean_dec(x_140); +x_3 = x_133; +x_4 = x_147; +goto _start; +} +} +else +{ +lean_object* x_149; lean_object* x_150; lean_object* x_151; uint8_t x_152; +x_149 = lean_ctor_get(x_136, 1); +lean_inc(x_149); +lean_dec(x_136); +lean_inc(x_2); +x_150 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__51(x_1, x_2, x_132, x_149); +x_151 = lean_ctor_get(x_150, 0); +lean_inc(x_151); +x_152 = lean_unbox(x_151); +if (x_152 == 0) +{ +lean_object* x_153; lean_object* x_154; lean_object* x_155; uint8_t x_156; +lean_dec(x_151); +x_153 = lean_ctor_get(x_150, 1); +lean_inc(x_153); +lean_dec(x_150); +lean_inc(x_133); +x_154 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_133, x_153); +x_155 = lean_ctor_get(x_154, 0); +lean_inc(x_155); +x_156 = lean_unbox(x_155); +if (x_156 == 0) +{ +uint8_t x_157; +lean_dec(x_133); +lean_dec(x_2); +x_157 = !lean_is_exclusive(x_154); +if (x_157 == 0) +{ +lean_object* x_158; +x_158 = lean_ctor_get(x_154, 0); +lean_dec(x_158); +return x_154; +} +else +{ +lean_object* x_159; lean_object* x_160; +x_159 = lean_ctor_get(x_154, 1); +lean_inc(x_159); +lean_dec(x_154); +x_160 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_160, 0, x_155); +lean_ctor_set(x_160, 1, x_159); +return x_160; +} +} +else +{ +lean_object* x_161; +lean_dec(x_155); +x_161 = lean_ctor_get(x_154, 1); +lean_inc(x_161); +lean_dec(x_154); +x_3 = x_133; +x_4 = x_161; +goto _start; +} +} +else +{ +uint8_t x_163; +lean_dec(x_133); +lean_dec(x_2); +x_163 = !lean_is_exclusive(x_150); +if (x_163 == 0) +{ +lean_object* x_164; +x_164 = lean_ctor_get(x_150, 0); +lean_dec(x_164); +return x_150; +} +else +{ +lean_object* x_165; lean_object* x_166; +x_165 = lean_ctor_get(x_150, 1); +lean_inc(x_165); +lean_dec(x_150); +x_166 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_166, 0, x_151); +lean_ctor_set(x_166, 1, x_165); +return x_166; +} +} +} +} +else +{ +lean_object* x_167; lean_object* x_168; +lean_dec(x_133); +lean_dec(x_132); +lean_dec(x_2); +x_167 = lean_box(x_134); +x_168 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_168, 0, x_167); +lean_ctor_set(x_168, 1, x_135); +return x_168; +} +} +} +case 10: +{ +lean_object* x_180; lean_object* x_181; lean_object* x_182; uint8_t x_183; +x_180 = lean_ctor_get(x_3, 1); +lean_inc(x_180); +lean_dec(x_3); +lean_inc(x_180); +x_181 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_180, x_4); +x_182 = lean_ctor_get(x_181, 0); +lean_inc(x_182); +x_183 = lean_unbox(x_182); +if (x_183 == 0) +{ +uint8_t x_184; +lean_dec(x_180); +lean_dec(x_2); +x_184 = !lean_is_exclusive(x_181); +if (x_184 == 0) +{ +lean_object* x_185; +x_185 = lean_ctor_get(x_181, 0); +lean_dec(x_185); +return x_181; +} +else +{ +lean_object* x_186; lean_object* x_187; +x_186 = lean_ctor_get(x_181, 1); +lean_inc(x_186); +lean_dec(x_181); +x_187 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_187, 0, x_182); +lean_ctor_set(x_187, 1, x_186); +return x_187; +} +} +else +{ +lean_object* x_188; +lean_dec(x_182); +x_188 = lean_ctor_get(x_181, 1); +lean_inc(x_188); +lean_dec(x_181); +x_3 = x_180; +x_4 = x_188; +goto _start; +} +} +case 11: +{ +lean_object* x_190; lean_object* x_191; lean_object* x_192; uint8_t x_193; +x_190 = lean_ctor_get(x_3, 2); +lean_inc(x_190); +lean_dec(x_3); +lean_inc(x_190); +x_191 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_190, x_4); +x_192 = lean_ctor_get(x_191, 0); +lean_inc(x_192); +x_193 = lean_unbox(x_192); +if (x_193 == 0) +{ +uint8_t x_194; +lean_dec(x_190); +lean_dec(x_2); +x_194 = !lean_is_exclusive(x_191); +if (x_194 == 0) +{ +lean_object* x_195; +x_195 = lean_ctor_get(x_191, 0); +lean_dec(x_195); +return x_191; +} +else +{ +lean_object* x_196; lean_object* x_197; +x_196 = lean_ctor_get(x_191, 1); +lean_inc(x_196); +lean_dec(x_191); +x_197 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_197, 0, x_192); +lean_ctor_set(x_197, 1, x_196); +return x_197; +} +} +else +{ +lean_object* x_198; +lean_dec(x_192); +x_198 = lean_ctor_get(x_191, 1); +lean_inc(x_198); +lean_dec(x_191); +x_3 = x_190; +x_4 = x_198; +goto _start; +} +} +default: +{ +uint8_t x_200; lean_object* x_201; lean_object* x_202; +lean_dec(x_3); +lean_dec(x_2); +x_200 = 0; +x_201 = lean_box(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_4); +return x_202; +} +} +} +} +uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__60(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_nat_dec_lt(x_5, x_4); +if (x_6 == 0) +{ +uint8_t x_7; +lean_dec(x_5); +x_7 = 0; +return x_7; +} +else +{ +lean_object* x_8; uint8_t x_9; +x_8 = lean_array_fget(x_3, x_5); +x_9 = l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__59(x_1, x_8); +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_5, x_10); +lean_dec(x_5); +x_5 = x_11; +goto _start; +} +else +{ +lean_dec(x_5); +return x_9; +} +} +} +} +uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__61(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_nat_dec_lt(x_5, x_4); +if (x_6 == 0) +{ +uint8_t x_7; +lean_dec(x_5); +x_7 = 0; +return x_7; +} +else +{ +lean_object* x_8; +x_8 = lean_array_fget(x_3, x_5); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_unsigned_to_nat(1u); +x_10 = lean_nat_add(x_5, x_9); +lean_dec(x_5); +x_5 = x_10; +goto _start; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_12 = lean_ctor_get(x_8, 0); +lean_inc(x_12); +lean_dec(x_8); +x_13 = l_Lean_LocalDecl_fvarId(x_12); +lean_dec(x_12); +x_14 = l_Lean_Expr_fvarId_x21(x_1); +x_15 = lean_name_eq(x_13, x_14); +lean_dec(x_14); +lean_dec(x_13); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; +x_16 = lean_unsigned_to_nat(1u); +x_17 = lean_nat_add(x_5, x_16); +lean_dec(x_5); +x_5 = x_17; +goto _start; +} +else +{ +lean_dec(x_5); +return x_15; +} +} +} +} +} +uint8_t l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__59(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; +x_3 = lean_ctor_get(x_2, 0); +x_4 = lean_array_get_size(x_3); +x_5 = lean_unsigned_to_nat(0u); +x_6 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__60(x_1, x_3, x_3, x_4, x_5); +lean_dec(x_4); +return x_6; +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_7 = lean_ctor_get(x_2, 0); +x_8 = lean_array_get_size(x_7); +x_9 = lean_unsigned_to_nat(0u); +x_10 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__61(x_1, x_7, x_7, x_8, x_9); +lean_dec(x_8); +return x_10; +} +} +} +uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__62(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_nat_dec_lt(x_5, x_4); +if (x_6 == 0) +{ +uint8_t x_7; +lean_dec(x_5); +x_7 = 0; +return x_7; +} +else +{ +lean_object* x_8; +x_8 = lean_array_fget(x_3, x_5); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_unsigned_to_nat(1u); +x_10 = lean_nat_add(x_5, x_9); +lean_dec(x_5); +x_5 = x_10; +goto _start; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_12 = lean_ctor_get(x_8, 0); +lean_inc(x_12); +lean_dec(x_8); +x_13 = l_Lean_LocalDecl_fvarId(x_12); +lean_dec(x_12); +x_14 = l_Lean_Expr_fvarId_x21(x_1); +x_15 = lean_name_eq(x_13, x_14); +lean_dec(x_14); +lean_dec(x_13); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; +x_16 = lean_unsigned_to_nat(1u); +x_17 = lean_nat_add(x_5, x_16); +lean_dec(x_5); +x_5 = x_17; +goto _start; +} +else +{ +lean_dec(x_5); +return x_15; +} +} +} +} +} +uint8_t l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__58(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___private_Init_Lean_MetavarContext_10__collectDeps___spec__59(x_1, x_3); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; +x_5 = lean_ctor_get(x_2, 1); +x_6 = lean_array_get_size(x_5); +x_7 = lean_unsigned_to_nat(0u); +x_8 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__62(x_1, x_2, x_5, x_6, x_7); +lean_dec(x_6); +return x_8; +} +else +{ +return x_4; +} +} +} +lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__57(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_2); +x_5 = lean_ctor_get(x_3, 0); +lean_inc(x_5); +lean_dec(x_3); +x_6 = l_Lean_Expr_fvarId_x21(x_1); +x_7 = lean_name_eq(x_5, x_6); +lean_dec(x_6); +lean_dec(x_5); +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_2); +x_11 = lean_metavar_ctx_get_expr_assignment(x_2, 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_2, x_10); +lean_dec(x_10); +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_10__collectDeps___spec__58(x_1, 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; lean_object* x_20; uint8_t x_21; +lean_dec(x_10); +x_18 = lean_ctor_get(x_11, 0); +lean_inc(x_18); +lean_dec(x_11); +lean_inc(x_18); +x_19 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_18, x_4); +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_unbox(x_20); +if (x_21 == 0) +{ +uint8_t x_22; +lean_dec(x_18); +lean_dec(x_2); +x_22 = !lean_is_exclusive(x_19); +if (x_22 == 0) +{ +lean_object* x_23; +x_23 = lean_ctor_get(x_19, 0); +lean_dec(x_23); +return x_19; +} +else +{ +lean_object* x_24; lean_object* x_25; +x_24 = lean_ctor_get(x_19, 1); +lean_inc(x_24); +lean_dec(x_19); +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 +{ +lean_object* x_26; +lean_dec(x_20); +x_26 = lean_ctor_get(x_19, 1); +lean_inc(x_26); +lean_dec(x_19); +x_3 = x_18; +x_4 = x_26; +goto _start; +} +} +} +case 5: +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; +x_28 = lean_ctor_get(x_3, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_3, 1); +lean_inc(x_29); +lean_dec(x_3); +lean_inc(x_29); +x_30 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_29, x_4); +x_31 = lean_ctor_get(x_30, 0); +lean_inc(x_31); +x_32 = lean_unbox(x_31); +lean_dec(x_31); +if (x_32 == 0) +{ +lean_object* x_33; uint8_t x_34; +lean_dec(x_29); +x_33 = lean_ctor_get(x_30, 1); +lean_inc(x_33); +lean_dec(x_30); +x_34 = l_Lean_Expr_isApp(x_28); +if (x_34 == 0) +{ +lean_object* x_35; lean_object* x_36; uint8_t x_37; +lean_inc(x_28); +x_35 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_28, x_33); +x_36 = lean_ctor_get(x_35, 0); +lean_inc(x_36); +x_37 = lean_unbox(x_36); +if (x_37 == 0) +{ +uint8_t x_38; +lean_dec(x_28); +lean_dec(x_2); +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); +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_36); +lean_ctor_set(x_41, 1, x_40); +return x_41; +} +} +else +{ +lean_object* x_42; +lean_dec(x_36); +x_42 = lean_ctor_get(x_35, 1); +lean_inc(x_42); +lean_dec(x_35); +x_3 = x_28; +x_4 = x_42; +goto _start; +} +} +else +{ +x_3 = x_28; +x_4 = x_33; +goto _start; +} +} +else +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; +x_45 = lean_ctor_get(x_30, 1); +lean_inc(x_45); +lean_dec(x_30); +lean_inc(x_2); +x_46 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__57(x_1, x_2, x_29, x_45); +x_47 = lean_ctor_get(x_46, 0); +lean_inc(x_47); +x_48 = lean_unbox(x_47); +if (x_48 == 0) +{ +lean_object* x_49; uint8_t x_50; +lean_dec(x_47); +x_49 = lean_ctor_get(x_46, 1); +lean_inc(x_49); +lean_dec(x_46); +x_50 = l_Lean_Expr_isApp(x_28); +if (x_50 == 0) +{ +lean_object* x_51; lean_object* x_52; uint8_t x_53; +lean_inc(x_28); +x_51 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_28, x_49); +x_52 = lean_ctor_get(x_51, 0); +lean_inc(x_52); +x_53 = lean_unbox(x_52); +if (x_53 == 0) +{ +uint8_t x_54; +lean_dec(x_28); +lean_dec(x_2); +x_54 = !lean_is_exclusive(x_51); +if (x_54 == 0) +{ +lean_object* x_55; +x_55 = lean_ctor_get(x_51, 0); +lean_dec(x_55); +return x_51; +} +else +{ +lean_object* x_56; lean_object* x_57; +x_56 = lean_ctor_get(x_51, 1); +lean_inc(x_56); +lean_dec(x_51); +x_57 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_57, 0, x_52); +lean_ctor_set(x_57, 1, x_56); +return x_57; +} +} +else +{ +lean_object* x_58; +lean_dec(x_52); +x_58 = lean_ctor_get(x_51, 1); +lean_inc(x_58); +lean_dec(x_51); +x_3 = x_28; +x_4 = x_58; +goto _start; +} +} +else +{ +x_3 = x_28; +x_4 = x_49; +goto _start; +} +} +else +{ +uint8_t x_61; +lean_dec(x_28); +lean_dec(x_2); +x_61 = !lean_is_exclusive(x_46); +if (x_61 == 0) +{ +lean_object* x_62; +x_62 = lean_ctor_get(x_46, 0); +lean_dec(x_62); +return x_46; +} +else +{ +lean_object* x_63; lean_object* x_64; +x_63 = lean_ctor_get(x_46, 1); +lean_inc(x_63); +lean_dec(x_46); +x_64 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_64, 0, x_47); +lean_ctor_set(x_64, 1, x_63); +return x_64; +} +} +} +} +case 6: +{ +lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; uint8_t x_69; +x_65 = lean_ctor_get(x_3, 1); +lean_inc(x_65); +x_66 = lean_ctor_get(x_3, 2); +lean_inc(x_66); +lean_dec(x_3); +lean_inc(x_65); +x_67 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_65, x_4); +x_68 = lean_ctor_get(x_67, 0); +lean_inc(x_68); +x_69 = lean_unbox(x_68); +lean_dec(x_68); +if (x_69 == 0) +{ +lean_object* x_70; lean_object* x_71; lean_object* x_72; uint8_t x_73; +lean_dec(x_65); +x_70 = lean_ctor_get(x_67, 1); +lean_inc(x_70); +lean_dec(x_67); +lean_inc(x_66); +x_71 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_66, x_70); +x_72 = lean_ctor_get(x_71, 0); +lean_inc(x_72); +x_73 = lean_unbox(x_72); +if (x_73 == 0) +{ +uint8_t x_74; +lean_dec(x_66); +lean_dec(x_2); +x_74 = !lean_is_exclusive(x_71); +if (x_74 == 0) +{ +lean_object* x_75; +x_75 = lean_ctor_get(x_71, 0); +lean_dec(x_75); +return x_71; +} +else +{ +lean_object* x_76; lean_object* x_77; +x_76 = lean_ctor_get(x_71, 1); +lean_inc(x_76); +lean_dec(x_71); +x_77 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_77, 0, x_72); +lean_ctor_set(x_77, 1, x_76); +return x_77; +} +} +else +{ +lean_object* x_78; +lean_dec(x_72); +x_78 = lean_ctor_get(x_71, 1); +lean_inc(x_78); +lean_dec(x_71); +x_3 = x_66; +x_4 = x_78; +goto _start; +} +} +else +{ +lean_object* x_80; lean_object* x_81; lean_object* x_82; uint8_t x_83; +x_80 = lean_ctor_get(x_67, 1); +lean_inc(x_80); +lean_dec(x_67); +lean_inc(x_2); +x_81 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__57(x_1, x_2, x_65, x_80); +x_82 = lean_ctor_get(x_81, 0); +lean_inc(x_82); +x_83 = lean_unbox(x_82); +if (x_83 == 0) +{ +lean_object* x_84; lean_object* x_85; lean_object* x_86; uint8_t x_87; +lean_dec(x_82); +x_84 = lean_ctor_get(x_81, 1); +lean_inc(x_84); +lean_dec(x_81); +lean_inc(x_66); +x_85 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_66, x_84); +x_86 = lean_ctor_get(x_85, 0); +lean_inc(x_86); +x_87 = lean_unbox(x_86); +if (x_87 == 0) +{ +uint8_t x_88; +lean_dec(x_66); +lean_dec(x_2); +x_88 = !lean_is_exclusive(x_85); +if (x_88 == 0) +{ +lean_object* x_89; +x_89 = lean_ctor_get(x_85, 0); +lean_dec(x_89); +return x_85; +} +else +{ +lean_object* x_90; lean_object* x_91; +x_90 = lean_ctor_get(x_85, 1); +lean_inc(x_90); +lean_dec(x_85); +x_91 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_91, 0, x_86); +lean_ctor_set(x_91, 1, x_90); +return x_91; +} +} +else +{ +lean_object* x_92; +lean_dec(x_86); +x_92 = lean_ctor_get(x_85, 1); +lean_inc(x_92); +lean_dec(x_85); +x_3 = x_66; +x_4 = x_92; +goto _start; +} +} +else +{ +uint8_t x_94; +lean_dec(x_66); +lean_dec(x_2); +x_94 = !lean_is_exclusive(x_81); +if (x_94 == 0) +{ +lean_object* x_95; +x_95 = lean_ctor_get(x_81, 0); +lean_dec(x_95); +return x_81; +} +else +{ +lean_object* x_96; lean_object* x_97; +x_96 = lean_ctor_get(x_81, 1); +lean_inc(x_96); +lean_dec(x_81); +x_97 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_97, 0, x_82); +lean_ctor_set(x_97, 1, x_96); +return x_97; +} +} +} +} +case 7: +{ +lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; uint8_t x_102; +x_98 = lean_ctor_get(x_3, 1); +lean_inc(x_98); +x_99 = lean_ctor_get(x_3, 2); +lean_inc(x_99); +lean_dec(x_3); +lean_inc(x_98); +x_100 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_98, x_4); +x_101 = lean_ctor_get(x_100, 0); +lean_inc(x_101); +x_102 = lean_unbox(x_101); +lean_dec(x_101); +if (x_102 == 0) +{ +lean_object* x_103; lean_object* x_104; lean_object* x_105; uint8_t x_106; +lean_dec(x_98); +x_103 = lean_ctor_get(x_100, 1); +lean_inc(x_103); +lean_dec(x_100); +lean_inc(x_99); +x_104 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_99, x_103); +x_105 = lean_ctor_get(x_104, 0); +lean_inc(x_105); +x_106 = lean_unbox(x_105); +if (x_106 == 0) +{ +uint8_t x_107; +lean_dec(x_99); +lean_dec(x_2); +x_107 = !lean_is_exclusive(x_104); +if (x_107 == 0) +{ +lean_object* x_108; +x_108 = lean_ctor_get(x_104, 0); +lean_dec(x_108); +return x_104; +} +else +{ +lean_object* x_109; lean_object* x_110; +x_109 = lean_ctor_get(x_104, 1); +lean_inc(x_109); +lean_dec(x_104); +x_110 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_110, 0, x_105); +lean_ctor_set(x_110, 1, x_109); +return x_110; +} +} +else +{ +lean_object* x_111; +lean_dec(x_105); +x_111 = lean_ctor_get(x_104, 1); +lean_inc(x_111); +lean_dec(x_104); +x_3 = x_99; +x_4 = x_111; +goto _start; +} +} +else +{ +lean_object* x_113; lean_object* x_114; lean_object* x_115; uint8_t x_116; +x_113 = lean_ctor_get(x_100, 1); +lean_inc(x_113); +lean_dec(x_100); +lean_inc(x_2); +x_114 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__57(x_1, x_2, x_98, x_113); +x_115 = lean_ctor_get(x_114, 0); +lean_inc(x_115); +x_116 = lean_unbox(x_115); +if (x_116 == 0) +{ +lean_object* x_117; lean_object* x_118; lean_object* x_119; uint8_t x_120; +lean_dec(x_115); +x_117 = lean_ctor_get(x_114, 1); +lean_inc(x_117); +lean_dec(x_114); +lean_inc(x_99); +x_118 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_99, x_117); +x_119 = lean_ctor_get(x_118, 0); +lean_inc(x_119); +x_120 = lean_unbox(x_119); +if (x_120 == 0) +{ +uint8_t x_121; +lean_dec(x_99); +lean_dec(x_2); +x_121 = !lean_is_exclusive(x_118); +if (x_121 == 0) +{ +lean_object* x_122; +x_122 = lean_ctor_get(x_118, 0); +lean_dec(x_122); +return x_118; +} +else +{ +lean_object* x_123; lean_object* x_124; +x_123 = lean_ctor_get(x_118, 1); +lean_inc(x_123); +lean_dec(x_118); +x_124 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_124, 0, x_119); +lean_ctor_set(x_124, 1, x_123); +return x_124; +} +} +else +{ +lean_object* x_125; +lean_dec(x_119); +x_125 = lean_ctor_get(x_118, 1); +lean_inc(x_125); +lean_dec(x_118); +x_3 = x_99; +x_4 = x_125; +goto _start; +} +} +else +{ +uint8_t x_127; +lean_dec(x_99); +lean_dec(x_2); +x_127 = !lean_is_exclusive(x_114); +if (x_127 == 0) +{ +lean_object* x_128; +x_128 = lean_ctor_get(x_114, 0); +lean_dec(x_128); +return x_114; +} +else +{ +lean_object* x_129; lean_object* x_130; +x_129 = lean_ctor_get(x_114, 1); +lean_inc(x_129); +lean_dec(x_114); +x_130 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_130, 0, x_115); +lean_ctor_set(x_130, 1, x_129); +return x_130; +} +} +} +} +case 8: +{ +lean_object* x_131; lean_object* x_132; lean_object* x_133; uint8_t x_134; lean_object* x_135; lean_object* x_170; lean_object* x_171; uint8_t x_172; +x_131 = lean_ctor_get(x_3, 1); +lean_inc(x_131); +x_132 = lean_ctor_get(x_3, 2); +lean_inc(x_132); +x_133 = lean_ctor_get(x_3, 3); +lean_inc(x_133); +lean_dec(x_3); +lean_inc(x_131); +x_170 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_131, x_4); +x_171 = lean_ctor_get(x_170, 0); +lean_inc(x_171); +x_172 = lean_unbox(x_171); +if (x_172 == 0) +{ +lean_object* x_173; uint8_t x_174; +lean_dec(x_131); +x_173 = lean_ctor_get(x_170, 1); +lean_inc(x_173); +lean_dec(x_170); +x_174 = lean_unbox(x_171); +lean_dec(x_171); +x_134 = x_174; +x_135 = x_173; +goto block_169; +} +else +{ +lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; uint8_t x_179; +lean_dec(x_171); +x_175 = lean_ctor_get(x_170, 1); +lean_inc(x_175); +lean_dec(x_170); +lean_inc(x_2); +x_176 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__57(x_1, x_2, x_131, x_175); +x_177 = lean_ctor_get(x_176, 0); +lean_inc(x_177); +x_178 = lean_ctor_get(x_176, 1); +lean_inc(x_178); +lean_dec(x_176); +x_179 = lean_unbox(x_177); +lean_dec(x_177); +x_134 = x_179; +x_135 = x_178; +goto block_169; +} +block_169: +{ +if (x_134 == 0) +{ +lean_object* x_136; lean_object* x_137; uint8_t x_138; +lean_inc(x_132); +x_136 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_132, x_135); +x_137 = lean_ctor_get(x_136, 0); +lean_inc(x_137); +x_138 = lean_unbox(x_137); +lean_dec(x_137); +if (x_138 == 0) +{ +lean_object* x_139; lean_object* x_140; lean_object* x_141; uint8_t x_142; +lean_dec(x_132); +x_139 = lean_ctor_get(x_136, 1); +lean_inc(x_139); +lean_dec(x_136); +lean_inc(x_133); +x_140 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_133, x_139); +x_141 = lean_ctor_get(x_140, 0); +lean_inc(x_141); +x_142 = lean_unbox(x_141); +if (x_142 == 0) +{ +uint8_t x_143; +lean_dec(x_133); +lean_dec(x_2); +x_143 = !lean_is_exclusive(x_140); +if (x_143 == 0) +{ +lean_object* x_144; +x_144 = lean_ctor_get(x_140, 0); +lean_dec(x_144); +return x_140; +} +else +{ +lean_object* x_145; lean_object* x_146; +x_145 = lean_ctor_get(x_140, 1); +lean_inc(x_145); +lean_dec(x_140); +x_146 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_146, 0, x_141); +lean_ctor_set(x_146, 1, x_145); +return x_146; +} +} +else +{ +lean_object* x_147; +lean_dec(x_141); +x_147 = lean_ctor_get(x_140, 1); +lean_inc(x_147); +lean_dec(x_140); +x_3 = x_133; +x_4 = x_147; +goto _start; +} +} +else +{ +lean_object* x_149; lean_object* x_150; lean_object* x_151; uint8_t x_152; +x_149 = lean_ctor_get(x_136, 1); +lean_inc(x_149); +lean_dec(x_136); +lean_inc(x_2); +x_150 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__57(x_1, x_2, x_132, x_149); +x_151 = lean_ctor_get(x_150, 0); +lean_inc(x_151); +x_152 = lean_unbox(x_151); +if (x_152 == 0) +{ +lean_object* x_153; lean_object* x_154; lean_object* x_155; uint8_t x_156; +lean_dec(x_151); +x_153 = lean_ctor_get(x_150, 1); +lean_inc(x_153); +lean_dec(x_150); +lean_inc(x_133); +x_154 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_133, x_153); +x_155 = lean_ctor_get(x_154, 0); +lean_inc(x_155); +x_156 = lean_unbox(x_155); +if (x_156 == 0) +{ +uint8_t x_157; +lean_dec(x_133); +lean_dec(x_2); +x_157 = !lean_is_exclusive(x_154); +if (x_157 == 0) +{ +lean_object* x_158; +x_158 = lean_ctor_get(x_154, 0); +lean_dec(x_158); +return x_154; +} +else +{ +lean_object* x_159; lean_object* x_160; +x_159 = lean_ctor_get(x_154, 1); +lean_inc(x_159); +lean_dec(x_154); +x_160 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_160, 0, x_155); +lean_ctor_set(x_160, 1, x_159); +return x_160; +} +} +else +{ +lean_object* x_161; +lean_dec(x_155); +x_161 = lean_ctor_get(x_154, 1); +lean_inc(x_161); +lean_dec(x_154); +x_3 = x_133; +x_4 = x_161; +goto _start; +} +} +else +{ +uint8_t x_163; +lean_dec(x_133); +lean_dec(x_2); +x_163 = !lean_is_exclusive(x_150); +if (x_163 == 0) +{ +lean_object* x_164; +x_164 = lean_ctor_get(x_150, 0); +lean_dec(x_164); +return x_150; +} +else +{ +lean_object* x_165; lean_object* x_166; +x_165 = lean_ctor_get(x_150, 1); +lean_inc(x_165); +lean_dec(x_150); +x_166 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_166, 0, x_151); +lean_ctor_set(x_166, 1, x_165); +return x_166; +} +} +} +} +else +{ +lean_object* x_167; lean_object* x_168; +lean_dec(x_133); +lean_dec(x_132); +lean_dec(x_2); +x_167 = lean_box(x_134); +x_168 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_168, 0, x_167); +lean_ctor_set(x_168, 1, x_135); +return x_168; +} +} +} +case 10: +{ +lean_object* x_180; lean_object* x_181; lean_object* x_182; uint8_t x_183; +x_180 = lean_ctor_get(x_3, 1); +lean_inc(x_180); +lean_dec(x_3); +lean_inc(x_180); +x_181 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_180, x_4); +x_182 = lean_ctor_get(x_181, 0); +lean_inc(x_182); +x_183 = lean_unbox(x_182); +if (x_183 == 0) +{ +uint8_t x_184; +lean_dec(x_180); +lean_dec(x_2); +x_184 = !lean_is_exclusive(x_181); +if (x_184 == 0) +{ +lean_object* x_185; +x_185 = lean_ctor_get(x_181, 0); +lean_dec(x_185); +return x_181; +} +else +{ +lean_object* x_186; lean_object* x_187; +x_186 = lean_ctor_get(x_181, 1); +lean_inc(x_186); +lean_dec(x_181); +x_187 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_187, 0, x_182); +lean_ctor_set(x_187, 1, x_186); +return x_187; +} +} +else +{ +lean_object* x_188; +lean_dec(x_182); +x_188 = lean_ctor_get(x_181, 1); +lean_inc(x_188); +lean_dec(x_181); +x_3 = x_180; +x_4 = x_188; +goto _start; +} +} +case 11: +{ +lean_object* x_190; lean_object* x_191; lean_object* x_192; uint8_t x_193; +x_190 = lean_ctor_get(x_3, 2); +lean_inc(x_190); +lean_dec(x_3); +lean_inc(x_190); +x_191 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_190, x_4); +x_192 = lean_ctor_get(x_191, 0); +lean_inc(x_192); +x_193 = lean_unbox(x_192); +if (x_193 == 0) +{ +uint8_t x_194; +lean_dec(x_190); +lean_dec(x_2); +x_194 = !lean_is_exclusive(x_191); +if (x_194 == 0) +{ +lean_object* x_195; +x_195 = lean_ctor_get(x_191, 0); +lean_dec(x_195); +return x_191; +} +else +{ +lean_object* x_196; lean_object* x_197; +x_196 = lean_ctor_get(x_191, 1); +lean_inc(x_196); +lean_dec(x_191); +x_197 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_197, 0, x_192); +lean_ctor_set(x_197, 1, x_196); +return x_197; +} +} +else +{ +lean_object* x_198; +lean_dec(x_192); +x_198 = lean_ctor_get(x_191, 1); +lean_inc(x_198); +lean_dec(x_191); +x_3 = x_190; +x_4 = x_198; +goto _start; +} +} +default: +{ +uint8_t x_200; lean_object* x_201; lean_object* x_202; +lean_dec(x_3); +lean_dec(x_2); +x_200 = 0; +x_201 = lean_box(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_4); +return x_202; +} +} +} +} +uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__66(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_nat_dec_lt(x_5, x_4); +if (x_6 == 0) +{ +uint8_t x_7; +lean_dec(x_5); +x_7 = 0; +return x_7; +} +else +{ +lean_object* x_8; uint8_t x_9; +x_8 = lean_array_fget(x_3, x_5); +x_9 = l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__65(x_1, x_8); +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_5, x_10); +lean_dec(x_5); +x_5 = x_11; +goto _start; +} +else +{ +lean_dec(x_5); +return x_9; +} +} +} +} +uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__67(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_nat_dec_lt(x_5, x_4); +if (x_6 == 0) +{ +uint8_t x_7; +lean_dec(x_5); +x_7 = 0; +return x_7; +} +else +{ +lean_object* x_8; +x_8 = lean_array_fget(x_3, x_5); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_unsigned_to_nat(1u); +x_10 = lean_nat_add(x_5, x_9); +lean_dec(x_5); +x_5 = x_10; +goto _start; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_12 = lean_ctor_get(x_8, 0); +lean_inc(x_12); +lean_dec(x_8); +x_13 = l_Lean_LocalDecl_fvarId(x_12); +lean_dec(x_12); +x_14 = l_Lean_Expr_fvarId_x21(x_1); +x_15 = lean_name_eq(x_13, x_14); +lean_dec(x_14); +lean_dec(x_13); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; +x_16 = lean_unsigned_to_nat(1u); +x_17 = lean_nat_add(x_5, x_16); +lean_dec(x_5); +x_5 = x_17; +goto _start; +} +else +{ +lean_dec(x_5); +return x_15; +} +} +} +} +} +uint8_t l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__65(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; +x_3 = lean_ctor_get(x_2, 0); +x_4 = lean_array_get_size(x_3); +x_5 = lean_unsigned_to_nat(0u); +x_6 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__66(x_1, x_3, x_3, x_4, x_5); +lean_dec(x_4); +return x_6; +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_7 = lean_ctor_get(x_2, 0); +x_8 = lean_array_get_size(x_7); +x_9 = lean_unsigned_to_nat(0u); +x_10 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__67(x_1, x_7, x_7, x_8, x_9); +lean_dec(x_8); +return x_10; +} +} +} +uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__68(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_nat_dec_lt(x_5, x_4); +if (x_6 == 0) +{ +uint8_t x_7; +lean_dec(x_5); +x_7 = 0; +return x_7; +} +else +{ +lean_object* x_8; +x_8 = lean_array_fget(x_3, x_5); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_unsigned_to_nat(1u); +x_10 = lean_nat_add(x_5, x_9); +lean_dec(x_5); +x_5 = x_10; +goto _start; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_12 = lean_ctor_get(x_8, 0); +lean_inc(x_12); +lean_dec(x_8); +x_13 = l_Lean_LocalDecl_fvarId(x_12); +lean_dec(x_12); +x_14 = l_Lean_Expr_fvarId_x21(x_1); +x_15 = lean_name_eq(x_13, x_14); +lean_dec(x_14); +lean_dec(x_13); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; +x_16 = lean_unsigned_to_nat(1u); +x_17 = lean_nat_add(x_5, x_16); +lean_dec(x_5); +x_5 = x_17; +goto _start; +} +else +{ +lean_dec(x_5); +return x_15; +} +} +} +} +} +uint8_t l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__64(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___private_Init_Lean_MetavarContext_10__collectDeps___spec__65(x_1, x_3); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; +x_5 = lean_ctor_get(x_2, 1); +x_6 = lean_array_get_size(x_5); +x_7 = lean_unsigned_to_nat(0u); +x_8 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__68(x_1, x_2, x_5, x_6, x_7); +lean_dec(x_6); +return x_8; +} +else +{ +return x_4; +} +} +} +lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__63(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_2); +x_5 = lean_ctor_get(x_3, 0); +lean_inc(x_5); +lean_dec(x_3); +x_6 = l_Lean_Expr_fvarId_x21(x_1); +x_7 = lean_name_eq(x_5, x_6); +lean_dec(x_6); +lean_dec(x_5); +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_2); +x_11 = lean_metavar_ctx_get_expr_assignment(x_2, 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_2, x_10); +lean_dec(x_10); +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_10__collectDeps___spec__64(x_1, 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; lean_object* x_20; uint8_t x_21; +lean_dec(x_10); +x_18 = lean_ctor_get(x_11, 0); +lean_inc(x_18); +lean_dec(x_11); +lean_inc(x_18); +x_19 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_18, x_4); +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_unbox(x_20); +if (x_21 == 0) +{ +uint8_t x_22; +lean_dec(x_18); +lean_dec(x_2); +x_22 = !lean_is_exclusive(x_19); +if (x_22 == 0) +{ +lean_object* x_23; +x_23 = lean_ctor_get(x_19, 0); +lean_dec(x_23); +return x_19; +} +else +{ +lean_object* x_24; lean_object* x_25; +x_24 = lean_ctor_get(x_19, 1); +lean_inc(x_24); +lean_dec(x_19); +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 +{ +lean_object* x_26; +lean_dec(x_20); +x_26 = lean_ctor_get(x_19, 1); +lean_inc(x_26); +lean_dec(x_19); +x_3 = x_18; +x_4 = x_26; +goto _start; +} +} +} +case 5: +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; +x_28 = lean_ctor_get(x_3, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_3, 1); +lean_inc(x_29); +lean_dec(x_3); +lean_inc(x_29); +x_30 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_29, x_4); +x_31 = lean_ctor_get(x_30, 0); +lean_inc(x_31); +x_32 = lean_unbox(x_31); +lean_dec(x_31); +if (x_32 == 0) +{ +lean_object* x_33; uint8_t x_34; +lean_dec(x_29); +x_33 = lean_ctor_get(x_30, 1); +lean_inc(x_33); +lean_dec(x_30); +x_34 = l_Lean_Expr_isApp(x_28); +if (x_34 == 0) +{ +lean_object* x_35; lean_object* x_36; uint8_t x_37; +lean_inc(x_28); +x_35 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_28, x_33); +x_36 = lean_ctor_get(x_35, 0); +lean_inc(x_36); +x_37 = lean_unbox(x_36); +if (x_37 == 0) +{ +uint8_t x_38; +lean_dec(x_28); +lean_dec(x_2); +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); +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_36); +lean_ctor_set(x_41, 1, x_40); +return x_41; +} +} +else +{ +lean_object* x_42; +lean_dec(x_36); +x_42 = lean_ctor_get(x_35, 1); +lean_inc(x_42); +lean_dec(x_35); +x_3 = x_28; +x_4 = x_42; +goto _start; +} +} +else +{ +x_3 = x_28; +x_4 = x_33; +goto _start; +} +} +else +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; +x_45 = lean_ctor_get(x_30, 1); +lean_inc(x_45); +lean_dec(x_30); +lean_inc(x_2); +x_46 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__63(x_1, x_2, x_29, x_45); +x_47 = lean_ctor_get(x_46, 0); +lean_inc(x_47); +x_48 = lean_unbox(x_47); +if (x_48 == 0) +{ +lean_object* x_49; uint8_t x_50; +lean_dec(x_47); +x_49 = lean_ctor_get(x_46, 1); +lean_inc(x_49); +lean_dec(x_46); +x_50 = l_Lean_Expr_isApp(x_28); +if (x_50 == 0) +{ +lean_object* x_51; lean_object* x_52; uint8_t x_53; +lean_inc(x_28); +x_51 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_28, x_49); +x_52 = lean_ctor_get(x_51, 0); +lean_inc(x_52); +x_53 = lean_unbox(x_52); +if (x_53 == 0) +{ +uint8_t x_54; +lean_dec(x_28); +lean_dec(x_2); +x_54 = !lean_is_exclusive(x_51); +if (x_54 == 0) +{ +lean_object* x_55; +x_55 = lean_ctor_get(x_51, 0); +lean_dec(x_55); +return x_51; +} +else +{ +lean_object* x_56; lean_object* x_57; +x_56 = lean_ctor_get(x_51, 1); +lean_inc(x_56); +lean_dec(x_51); +x_57 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_57, 0, x_52); +lean_ctor_set(x_57, 1, x_56); +return x_57; +} +} +else +{ +lean_object* x_58; +lean_dec(x_52); +x_58 = lean_ctor_get(x_51, 1); +lean_inc(x_58); +lean_dec(x_51); +x_3 = x_28; +x_4 = x_58; +goto _start; +} +} +else +{ +x_3 = x_28; +x_4 = x_49; +goto _start; +} +} +else +{ +uint8_t x_61; +lean_dec(x_28); +lean_dec(x_2); +x_61 = !lean_is_exclusive(x_46); +if (x_61 == 0) +{ +lean_object* x_62; +x_62 = lean_ctor_get(x_46, 0); +lean_dec(x_62); +return x_46; +} +else +{ +lean_object* x_63; lean_object* x_64; +x_63 = lean_ctor_get(x_46, 1); +lean_inc(x_63); +lean_dec(x_46); +x_64 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_64, 0, x_47); +lean_ctor_set(x_64, 1, x_63); +return x_64; +} +} +} +} +case 6: +{ +lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; uint8_t x_69; +x_65 = lean_ctor_get(x_3, 1); +lean_inc(x_65); +x_66 = lean_ctor_get(x_3, 2); +lean_inc(x_66); +lean_dec(x_3); +lean_inc(x_65); +x_67 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_65, x_4); +x_68 = lean_ctor_get(x_67, 0); +lean_inc(x_68); +x_69 = lean_unbox(x_68); +lean_dec(x_68); +if (x_69 == 0) +{ +lean_object* x_70; lean_object* x_71; lean_object* x_72; uint8_t x_73; +lean_dec(x_65); +x_70 = lean_ctor_get(x_67, 1); +lean_inc(x_70); +lean_dec(x_67); +lean_inc(x_66); +x_71 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_66, x_70); +x_72 = lean_ctor_get(x_71, 0); +lean_inc(x_72); +x_73 = lean_unbox(x_72); +if (x_73 == 0) +{ +uint8_t x_74; +lean_dec(x_66); +lean_dec(x_2); +x_74 = !lean_is_exclusive(x_71); +if (x_74 == 0) +{ +lean_object* x_75; +x_75 = lean_ctor_get(x_71, 0); +lean_dec(x_75); +return x_71; +} +else +{ +lean_object* x_76; lean_object* x_77; +x_76 = lean_ctor_get(x_71, 1); +lean_inc(x_76); +lean_dec(x_71); +x_77 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_77, 0, x_72); +lean_ctor_set(x_77, 1, x_76); +return x_77; +} +} +else +{ +lean_object* x_78; +lean_dec(x_72); +x_78 = lean_ctor_get(x_71, 1); +lean_inc(x_78); +lean_dec(x_71); +x_3 = x_66; +x_4 = x_78; +goto _start; +} +} +else +{ +lean_object* x_80; lean_object* x_81; lean_object* x_82; uint8_t x_83; +x_80 = lean_ctor_get(x_67, 1); +lean_inc(x_80); +lean_dec(x_67); +lean_inc(x_2); +x_81 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__63(x_1, x_2, x_65, x_80); +x_82 = lean_ctor_get(x_81, 0); +lean_inc(x_82); +x_83 = lean_unbox(x_82); +if (x_83 == 0) +{ +lean_object* x_84; lean_object* x_85; lean_object* x_86; uint8_t x_87; +lean_dec(x_82); +x_84 = lean_ctor_get(x_81, 1); +lean_inc(x_84); +lean_dec(x_81); +lean_inc(x_66); +x_85 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_66, x_84); +x_86 = lean_ctor_get(x_85, 0); +lean_inc(x_86); +x_87 = lean_unbox(x_86); +if (x_87 == 0) +{ +uint8_t x_88; +lean_dec(x_66); +lean_dec(x_2); +x_88 = !lean_is_exclusive(x_85); +if (x_88 == 0) +{ +lean_object* x_89; +x_89 = lean_ctor_get(x_85, 0); +lean_dec(x_89); +return x_85; +} +else +{ +lean_object* x_90; lean_object* x_91; +x_90 = lean_ctor_get(x_85, 1); +lean_inc(x_90); +lean_dec(x_85); +x_91 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_91, 0, x_86); +lean_ctor_set(x_91, 1, x_90); +return x_91; +} +} +else +{ +lean_object* x_92; +lean_dec(x_86); +x_92 = lean_ctor_get(x_85, 1); +lean_inc(x_92); +lean_dec(x_85); +x_3 = x_66; +x_4 = x_92; +goto _start; +} +} +else +{ +uint8_t x_94; +lean_dec(x_66); +lean_dec(x_2); +x_94 = !lean_is_exclusive(x_81); +if (x_94 == 0) +{ +lean_object* x_95; +x_95 = lean_ctor_get(x_81, 0); +lean_dec(x_95); +return x_81; +} +else +{ +lean_object* x_96; lean_object* x_97; +x_96 = lean_ctor_get(x_81, 1); +lean_inc(x_96); +lean_dec(x_81); +x_97 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_97, 0, x_82); +lean_ctor_set(x_97, 1, x_96); +return x_97; +} +} +} +} +case 7: +{ +lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; uint8_t x_102; +x_98 = lean_ctor_get(x_3, 1); +lean_inc(x_98); +x_99 = lean_ctor_get(x_3, 2); +lean_inc(x_99); +lean_dec(x_3); +lean_inc(x_98); +x_100 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_98, x_4); +x_101 = lean_ctor_get(x_100, 0); +lean_inc(x_101); +x_102 = lean_unbox(x_101); +lean_dec(x_101); +if (x_102 == 0) +{ +lean_object* x_103; lean_object* x_104; lean_object* x_105; uint8_t x_106; +lean_dec(x_98); +x_103 = lean_ctor_get(x_100, 1); +lean_inc(x_103); +lean_dec(x_100); +lean_inc(x_99); +x_104 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_99, x_103); +x_105 = lean_ctor_get(x_104, 0); +lean_inc(x_105); +x_106 = lean_unbox(x_105); +if (x_106 == 0) +{ +uint8_t x_107; +lean_dec(x_99); +lean_dec(x_2); +x_107 = !lean_is_exclusive(x_104); +if (x_107 == 0) +{ +lean_object* x_108; +x_108 = lean_ctor_get(x_104, 0); +lean_dec(x_108); +return x_104; +} +else +{ +lean_object* x_109; lean_object* x_110; +x_109 = lean_ctor_get(x_104, 1); +lean_inc(x_109); +lean_dec(x_104); +x_110 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_110, 0, x_105); +lean_ctor_set(x_110, 1, x_109); +return x_110; +} +} +else +{ +lean_object* x_111; +lean_dec(x_105); +x_111 = lean_ctor_get(x_104, 1); +lean_inc(x_111); +lean_dec(x_104); +x_3 = x_99; +x_4 = x_111; +goto _start; +} +} +else +{ +lean_object* x_113; lean_object* x_114; lean_object* x_115; uint8_t x_116; +x_113 = lean_ctor_get(x_100, 1); +lean_inc(x_113); +lean_dec(x_100); +lean_inc(x_2); +x_114 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__63(x_1, x_2, x_98, x_113); +x_115 = lean_ctor_get(x_114, 0); +lean_inc(x_115); +x_116 = lean_unbox(x_115); +if (x_116 == 0) +{ +lean_object* x_117; lean_object* x_118; lean_object* x_119; uint8_t x_120; +lean_dec(x_115); +x_117 = lean_ctor_get(x_114, 1); +lean_inc(x_117); +lean_dec(x_114); +lean_inc(x_99); +x_118 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_99, x_117); +x_119 = lean_ctor_get(x_118, 0); +lean_inc(x_119); +x_120 = lean_unbox(x_119); +if (x_120 == 0) +{ +uint8_t x_121; +lean_dec(x_99); +lean_dec(x_2); +x_121 = !lean_is_exclusive(x_118); +if (x_121 == 0) +{ +lean_object* x_122; +x_122 = lean_ctor_get(x_118, 0); +lean_dec(x_122); +return x_118; +} +else +{ +lean_object* x_123; lean_object* x_124; +x_123 = lean_ctor_get(x_118, 1); +lean_inc(x_123); +lean_dec(x_118); +x_124 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_124, 0, x_119); +lean_ctor_set(x_124, 1, x_123); +return x_124; +} +} +else +{ +lean_object* x_125; +lean_dec(x_119); +x_125 = lean_ctor_get(x_118, 1); +lean_inc(x_125); +lean_dec(x_118); +x_3 = x_99; +x_4 = x_125; +goto _start; +} +} +else +{ +uint8_t x_127; +lean_dec(x_99); +lean_dec(x_2); +x_127 = !lean_is_exclusive(x_114); +if (x_127 == 0) +{ +lean_object* x_128; +x_128 = lean_ctor_get(x_114, 0); +lean_dec(x_128); +return x_114; +} +else +{ +lean_object* x_129; lean_object* x_130; +x_129 = lean_ctor_get(x_114, 1); +lean_inc(x_129); +lean_dec(x_114); +x_130 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_130, 0, x_115); +lean_ctor_set(x_130, 1, x_129); +return x_130; +} +} +} +} +case 8: +{ +lean_object* x_131; lean_object* x_132; lean_object* x_133; uint8_t x_134; lean_object* x_135; lean_object* x_170; lean_object* x_171; uint8_t x_172; +x_131 = lean_ctor_get(x_3, 1); +lean_inc(x_131); +x_132 = lean_ctor_get(x_3, 2); +lean_inc(x_132); +x_133 = lean_ctor_get(x_3, 3); +lean_inc(x_133); +lean_dec(x_3); +lean_inc(x_131); +x_170 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_131, x_4); +x_171 = lean_ctor_get(x_170, 0); +lean_inc(x_171); +x_172 = lean_unbox(x_171); +if (x_172 == 0) +{ +lean_object* x_173; uint8_t x_174; +lean_dec(x_131); +x_173 = lean_ctor_get(x_170, 1); +lean_inc(x_173); +lean_dec(x_170); +x_174 = lean_unbox(x_171); +lean_dec(x_171); +x_134 = x_174; +x_135 = x_173; +goto block_169; +} +else +{ +lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; uint8_t x_179; +lean_dec(x_171); +x_175 = lean_ctor_get(x_170, 1); +lean_inc(x_175); +lean_dec(x_170); +lean_inc(x_2); +x_176 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__63(x_1, x_2, x_131, x_175); +x_177 = lean_ctor_get(x_176, 0); +lean_inc(x_177); +x_178 = lean_ctor_get(x_176, 1); +lean_inc(x_178); +lean_dec(x_176); +x_179 = lean_unbox(x_177); +lean_dec(x_177); +x_134 = x_179; +x_135 = x_178; +goto block_169; +} +block_169: +{ +if (x_134 == 0) +{ +lean_object* x_136; lean_object* x_137; uint8_t x_138; +lean_inc(x_132); +x_136 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_132, x_135); +x_137 = lean_ctor_get(x_136, 0); +lean_inc(x_137); +x_138 = lean_unbox(x_137); +lean_dec(x_137); +if (x_138 == 0) +{ +lean_object* x_139; lean_object* x_140; lean_object* x_141; uint8_t x_142; +lean_dec(x_132); +x_139 = lean_ctor_get(x_136, 1); +lean_inc(x_139); +lean_dec(x_136); +lean_inc(x_133); +x_140 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_133, x_139); +x_141 = lean_ctor_get(x_140, 0); +lean_inc(x_141); +x_142 = lean_unbox(x_141); +if (x_142 == 0) +{ +uint8_t x_143; +lean_dec(x_133); +lean_dec(x_2); +x_143 = !lean_is_exclusive(x_140); +if (x_143 == 0) +{ +lean_object* x_144; +x_144 = lean_ctor_get(x_140, 0); +lean_dec(x_144); +return x_140; +} +else +{ +lean_object* x_145; lean_object* x_146; +x_145 = lean_ctor_get(x_140, 1); +lean_inc(x_145); +lean_dec(x_140); +x_146 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_146, 0, x_141); +lean_ctor_set(x_146, 1, x_145); +return x_146; +} +} +else +{ +lean_object* x_147; +lean_dec(x_141); +x_147 = lean_ctor_get(x_140, 1); +lean_inc(x_147); +lean_dec(x_140); +x_3 = x_133; +x_4 = x_147; +goto _start; +} +} +else +{ +lean_object* x_149; lean_object* x_150; lean_object* x_151; uint8_t x_152; +x_149 = lean_ctor_get(x_136, 1); +lean_inc(x_149); +lean_dec(x_136); +lean_inc(x_2); +x_150 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__63(x_1, x_2, x_132, x_149); +x_151 = lean_ctor_get(x_150, 0); +lean_inc(x_151); +x_152 = lean_unbox(x_151); +if (x_152 == 0) +{ +lean_object* x_153; lean_object* x_154; lean_object* x_155; uint8_t x_156; +lean_dec(x_151); +x_153 = lean_ctor_get(x_150, 1); +lean_inc(x_153); +lean_dec(x_150); +lean_inc(x_133); +x_154 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_133, x_153); +x_155 = lean_ctor_get(x_154, 0); +lean_inc(x_155); +x_156 = lean_unbox(x_155); +if (x_156 == 0) +{ +uint8_t x_157; +lean_dec(x_133); +lean_dec(x_2); +x_157 = !lean_is_exclusive(x_154); +if (x_157 == 0) +{ +lean_object* x_158; +x_158 = lean_ctor_get(x_154, 0); +lean_dec(x_158); +return x_154; +} +else +{ +lean_object* x_159; lean_object* x_160; +x_159 = lean_ctor_get(x_154, 1); +lean_inc(x_159); +lean_dec(x_154); +x_160 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_160, 0, x_155); +lean_ctor_set(x_160, 1, x_159); +return x_160; +} +} +else +{ +lean_object* x_161; +lean_dec(x_155); +x_161 = lean_ctor_get(x_154, 1); +lean_inc(x_161); +lean_dec(x_154); +x_3 = x_133; +x_4 = x_161; +goto _start; +} +} +else +{ +uint8_t x_163; +lean_dec(x_133); +lean_dec(x_2); +x_163 = !lean_is_exclusive(x_150); +if (x_163 == 0) +{ +lean_object* x_164; +x_164 = lean_ctor_get(x_150, 0); +lean_dec(x_164); +return x_150; +} +else +{ +lean_object* x_165; lean_object* x_166; +x_165 = lean_ctor_get(x_150, 1); +lean_inc(x_165); +lean_dec(x_150); +x_166 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_166, 0, x_151); +lean_ctor_set(x_166, 1, x_165); +return x_166; +} +} +} +} +else +{ +lean_object* x_167; lean_object* x_168; +lean_dec(x_133); +lean_dec(x_132); +lean_dec(x_2); +x_167 = lean_box(x_134); +x_168 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_168, 0, x_167); +lean_ctor_set(x_168, 1, x_135); +return x_168; +} +} +} +case 10: +{ +lean_object* x_180; lean_object* x_181; lean_object* x_182; uint8_t x_183; +x_180 = lean_ctor_get(x_3, 1); +lean_inc(x_180); +lean_dec(x_3); +lean_inc(x_180); +x_181 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_180, x_4); +x_182 = lean_ctor_get(x_181, 0); +lean_inc(x_182); +x_183 = lean_unbox(x_182); +if (x_183 == 0) +{ +uint8_t x_184; +lean_dec(x_180); +lean_dec(x_2); +x_184 = !lean_is_exclusive(x_181); +if (x_184 == 0) +{ +lean_object* x_185; +x_185 = lean_ctor_get(x_181, 0); +lean_dec(x_185); +return x_181; +} +else +{ +lean_object* x_186; lean_object* x_187; +x_186 = lean_ctor_get(x_181, 1); +lean_inc(x_186); +lean_dec(x_181); +x_187 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_187, 0, x_182); +lean_ctor_set(x_187, 1, x_186); +return x_187; +} +} +else +{ +lean_object* x_188; +lean_dec(x_182); +x_188 = lean_ctor_get(x_181, 1); +lean_inc(x_188); +lean_dec(x_181); +x_3 = x_180; +x_4 = x_188; +goto _start; +} +} +case 11: +{ +lean_object* x_190; lean_object* x_191; lean_object* x_192; uint8_t x_193; +x_190 = lean_ctor_get(x_3, 2); +lean_inc(x_190); +lean_dec(x_3); +lean_inc(x_190); +x_191 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_190, x_4); +x_192 = lean_ctor_get(x_191, 0); +lean_inc(x_192); +x_193 = lean_unbox(x_192); +if (x_193 == 0) +{ +uint8_t x_194; +lean_dec(x_190); +lean_dec(x_2); +x_194 = !lean_is_exclusive(x_191); +if (x_194 == 0) +{ +lean_object* x_195; +x_195 = lean_ctor_get(x_191, 0); +lean_dec(x_195); +return x_191; +} +else +{ +lean_object* x_196; lean_object* x_197; +x_196 = lean_ctor_get(x_191, 1); +lean_inc(x_196); +lean_dec(x_191); +x_197 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_197, 0, x_192); +lean_ctor_set(x_197, 1, x_196); +return x_197; +} +} +else +{ +lean_object* x_198; +lean_dec(x_192); +x_198 = lean_ctor_get(x_191, 1); +lean_inc(x_198); +lean_dec(x_191); +x_3 = x_190; +x_4 = x_198; +goto _start; +} +} +default: +{ +uint8_t x_200; lean_object* x_201; lean_object* x_202; +lean_dec(x_3); +lean_dec(x_2); +x_200 = 0; +x_201 = lean_box(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_4); +return x_202; +} +} +} +} +uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__72(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_nat_dec_lt(x_5, x_4); +if (x_6 == 0) +{ +uint8_t x_7; +lean_dec(x_5); +x_7 = 0; +return x_7; +} +else +{ +lean_object* x_8; uint8_t x_9; +x_8 = lean_array_fget(x_3, x_5); +x_9 = l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__71(x_1, x_8); +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_5, x_10); +lean_dec(x_5); +x_5 = x_11; +goto _start; +} +else +{ +lean_dec(x_5); +return x_9; +} +} +} +} +uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__73(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_nat_dec_lt(x_5, x_4); +if (x_6 == 0) +{ +uint8_t x_7; +lean_dec(x_5); +x_7 = 0; +return x_7; +} +else +{ +lean_object* x_8; +x_8 = lean_array_fget(x_3, x_5); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_unsigned_to_nat(1u); +x_10 = lean_nat_add(x_5, x_9); +lean_dec(x_5); +x_5 = x_10; +goto _start; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_12 = lean_ctor_get(x_8, 0); +lean_inc(x_12); +lean_dec(x_8); +x_13 = l_Lean_LocalDecl_fvarId(x_12); +lean_dec(x_12); +x_14 = l_Lean_Expr_fvarId_x21(x_1); +x_15 = lean_name_eq(x_13, x_14); +lean_dec(x_14); +lean_dec(x_13); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; +x_16 = lean_unsigned_to_nat(1u); +x_17 = lean_nat_add(x_5, x_16); +lean_dec(x_5); +x_5 = x_17; +goto _start; +} +else +{ +lean_dec(x_5); +return x_15; +} +} +} +} +} +uint8_t l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__71(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; +x_3 = lean_ctor_get(x_2, 0); +x_4 = lean_array_get_size(x_3); +x_5 = lean_unsigned_to_nat(0u); +x_6 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__72(x_1, x_3, x_3, x_4, x_5); +lean_dec(x_4); +return x_6; +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_7 = lean_ctor_get(x_2, 0); +x_8 = lean_array_get_size(x_7); +x_9 = lean_unsigned_to_nat(0u); +x_10 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__73(x_1, x_7, x_7, x_8, x_9); +lean_dec(x_8); +return x_10; +} +} +} +uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__74(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_nat_dec_lt(x_5, x_4); +if (x_6 == 0) +{ +uint8_t x_7; +lean_dec(x_5); +x_7 = 0; +return x_7; +} +else +{ +lean_object* x_8; +x_8 = lean_array_fget(x_3, x_5); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_unsigned_to_nat(1u); +x_10 = lean_nat_add(x_5, x_9); +lean_dec(x_5); +x_5 = x_10; +goto _start; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_12 = lean_ctor_get(x_8, 0); +lean_inc(x_12); +lean_dec(x_8); +x_13 = l_Lean_LocalDecl_fvarId(x_12); +lean_dec(x_12); +x_14 = l_Lean_Expr_fvarId_x21(x_1); +x_15 = lean_name_eq(x_13, x_14); +lean_dec(x_14); +lean_dec(x_13); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; +x_16 = lean_unsigned_to_nat(1u); +x_17 = lean_nat_add(x_5, x_16); +lean_dec(x_5); +x_5 = x_17; +goto _start; +} +else +{ +lean_dec(x_5); +return x_15; +} +} +} +} +} +uint8_t l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__70(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___private_Init_Lean_MetavarContext_10__collectDeps___spec__71(x_1, x_3); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; +x_5 = lean_ctor_get(x_2, 1); +x_6 = lean_array_get_size(x_5); +x_7 = lean_unsigned_to_nat(0u); +x_8 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__74(x_1, x_2, x_5, x_6, x_7); +lean_dec(x_6); +return x_8; +} +else +{ +return x_4; +} +} +} +lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__69(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_2); +x_5 = lean_ctor_get(x_3, 0); +lean_inc(x_5); +lean_dec(x_3); +x_6 = l_Lean_Expr_fvarId_x21(x_1); +x_7 = lean_name_eq(x_5, x_6); +lean_dec(x_6); +lean_dec(x_5); +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_2); +x_11 = lean_metavar_ctx_get_expr_assignment(x_2, 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_2, x_10); +lean_dec(x_10); +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_10__collectDeps___spec__70(x_1, 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; lean_object* x_20; uint8_t x_21; +lean_dec(x_10); +x_18 = lean_ctor_get(x_11, 0); +lean_inc(x_18); +lean_dec(x_11); +lean_inc(x_18); +x_19 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_18, x_4); +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_unbox(x_20); +if (x_21 == 0) +{ +uint8_t x_22; +lean_dec(x_18); +lean_dec(x_2); +x_22 = !lean_is_exclusive(x_19); +if (x_22 == 0) +{ +lean_object* x_23; +x_23 = lean_ctor_get(x_19, 0); +lean_dec(x_23); +return x_19; +} +else +{ +lean_object* x_24; lean_object* x_25; +x_24 = lean_ctor_get(x_19, 1); +lean_inc(x_24); +lean_dec(x_19); +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 +{ +lean_object* x_26; +lean_dec(x_20); +x_26 = lean_ctor_get(x_19, 1); +lean_inc(x_26); +lean_dec(x_19); +x_3 = x_18; +x_4 = x_26; +goto _start; +} +} +} +case 5: +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; +x_28 = lean_ctor_get(x_3, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_3, 1); +lean_inc(x_29); +lean_dec(x_3); +lean_inc(x_29); +x_30 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_29, x_4); +x_31 = lean_ctor_get(x_30, 0); +lean_inc(x_31); +x_32 = lean_unbox(x_31); +lean_dec(x_31); +if (x_32 == 0) +{ +lean_object* x_33; uint8_t x_34; +lean_dec(x_29); +x_33 = lean_ctor_get(x_30, 1); +lean_inc(x_33); +lean_dec(x_30); +x_34 = l_Lean_Expr_isApp(x_28); +if (x_34 == 0) +{ +lean_object* x_35; lean_object* x_36; uint8_t x_37; +lean_inc(x_28); +x_35 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_28, x_33); +x_36 = lean_ctor_get(x_35, 0); +lean_inc(x_36); +x_37 = lean_unbox(x_36); +if (x_37 == 0) +{ +uint8_t x_38; +lean_dec(x_28); +lean_dec(x_2); +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); +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_36); +lean_ctor_set(x_41, 1, x_40); +return x_41; +} +} +else +{ +lean_object* x_42; +lean_dec(x_36); +x_42 = lean_ctor_get(x_35, 1); +lean_inc(x_42); +lean_dec(x_35); +x_3 = x_28; +x_4 = x_42; +goto _start; +} +} +else +{ +x_3 = x_28; +x_4 = x_33; +goto _start; +} +} +else +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; +x_45 = lean_ctor_get(x_30, 1); +lean_inc(x_45); +lean_dec(x_30); +lean_inc(x_2); +x_46 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__69(x_1, x_2, x_29, x_45); +x_47 = lean_ctor_get(x_46, 0); +lean_inc(x_47); +x_48 = lean_unbox(x_47); +if (x_48 == 0) +{ +lean_object* x_49; uint8_t x_50; +lean_dec(x_47); +x_49 = lean_ctor_get(x_46, 1); +lean_inc(x_49); +lean_dec(x_46); +x_50 = l_Lean_Expr_isApp(x_28); +if (x_50 == 0) +{ +lean_object* x_51; lean_object* x_52; uint8_t x_53; +lean_inc(x_28); +x_51 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_28, x_49); +x_52 = lean_ctor_get(x_51, 0); +lean_inc(x_52); +x_53 = lean_unbox(x_52); +if (x_53 == 0) +{ +uint8_t x_54; +lean_dec(x_28); +lean_dec(x_2); +x_54 = !lean_is_exclusive(x_51); +if (x_54 == 0) +{ +lean_object* x_55; +x_55 = lean_ctor_get(x_51, 0); +lean_dec(x_55); +return x_51; +} +else +{ +lean_object* x_56; lean_object* x_57; +x_56 = lean_ctor_get(x_51, 1); +lean_inc(x_56); +lean_dec(x_51); +x_57 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_57, 0, x_52); +lean_ctor_set(x_57, 1, x_56); +return x_57; +} +} +else +{ +lean_object* x_58; +lean_dec(x_52); +x_58 = lean_ctor_get(x_51, 1); +lean_inc(x_58); +lean_dec(x_51); +x_3 = x_28; +x_4 = x_58; +goto _start; +} +} +else +{ +x_3 = x_28; +x_4 = x_49; +goto _start; +} +} +else +{ +uint8_t x_61; +lean_dec(x_28); +lean_dec(x_2); +x_61 = !lean_is_exclusive(x_46); +if (x_61 == 0) +{ +lean_object* x_62; +x_62 = lean_ctor_get(x_46, 0); +lean_dec(x_62); +return x_46; +} +else +{ +lean_object* x_63; lean_object* x_64; +x_63 = lean_ctor_get(x_46, 1); +lean_inc(x_63); +lean_dec(x_46); +x_64 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_64, 0, x_47); +lean_ctor_set(x_64, 1, x_63); +return x_64; +} +} +} +} +case 6: +{ +lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; uint8_t x_69; +x_65 = lean_ctor_get(x_3, 1); +lean_inc(x_65); +x_66 = lean_ctor_get(x_3, 2); +lean_inc(x_66); +lean_dec(x_3); +lean_inc(x_65); +x_67 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_65, x_4); +x_68 = lean_ctor_get(x_67, 0); +lean_inc(x_68); +x_69 = lean_unbox(x_68); +lean_dec(x_68); +if (x_69 == 0) +{ +lean_object* x_70; lean_object* x_71; lean_object* x_72; uint8_t x_73; +lean_dec(x_65); +x_70 = lean_ctor_get(x_67, 1); +lean_inc(x_70); +lean_dec(x_67); +lean_inc(x_66); +x_71 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_66, x_70); +x_72 = lean_ctor_get(x_71, 0); +lean_inc(x_72); +x_73 = lean_unbox(x_72); +if (x_73 == 0) +{ +uint8_t x_74; +lean_dec(x_66); +lean_dec(x_2); +x_74 = !lean_is_exclusive(x_71); +if (x_74 == 0) +{ +lean_object* x_75; +x_75 = lean_ctor_get(x_71, 0); +lean_dec(x_75); +return x_71; +} +else +{ +lean_object* x_76; lean_object* x_77; +x_76 = lean_ctor_get(x_71, 1); +lean_inc(x_76); +lean_dec(x_71); +x_77 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_77, 0, x_72); +lean_ctor_set(x_77, 1, x_76); +return x_77; +} +} +else +{ +lean_object* x_78; +lean_dec(x_72); +x_78 = lean_ctor_get(x_71, 1); +lean_inc(x_78); +lean_dec(x_71); +x_3 = x_66; +x_4 = x_78; +goto _start; +} +} +else +{ +lean_object* x_80; lean_object* x_81; lean_object* x_82; uint8_t x_83; +x_80 = lean_ctor_get(x_67, 1); +lean_inc(x_80); +lean_dec(x_67); +lean_inc(x_2); +x_81 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__69(x_1, x_2, x_65, x_80); +x_82 = lean_ctor_get(x_81, 0); +lean_inc(x_82); +x_83 = lean_unbox(x_82); +if (x_83 == 0) +{ +lean_object* x_84; lean_object* x_85; lean_object* x_86; uint8_t x_87; +lean_dec(x_82); +x_84 = lean_ctor_get(x_81, 1); +lean_inc(x_84); +lean_dec(x_81); +lean_inc(x_66); +x_85 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_66, x_84); +x_86 = lean_ctor_get(x_85, 0); +lean_inc(x_86); +x_87 = lean_unbox(x_86); +if (x_87 == 0) +{ +uint8_t x_88; +lean_dec(x_66); +lean_dec(x_2); +x_88 = !lean_is_exclusive(x_85); +if (x_88 == 0) +{ +lean_object* x_89; +x_89 = lean_ctor_get(x_85, 0); +lean_dec(x_89); +return x_85; +} +else +{ +lean_object* x_90; lean_object* x_91; +x_90 = lean_ctor_get(x_85, 1); +lean_inc(x_90); +lean_dec(x_85); +x_91 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_91, 0, x_86); +lean_ctor_set(x_91, 1, x_90); +return x_91; +} +} +else +{ +lean_object* x_92; +lean_dec(x_86); +x_92 = lean_ctor_get(x_85, 1); +lean_inc(x_92); +lean_dec(x_85); +x_3 = x_66; +x_4 = x_92; +goto _start; +} +} +else +{ +uint8_t x_94; +lean_dec(x_66); +lean_dec(x_2); +x_94 = !lean_is_exclusive(x_81); +if (x_94 == 0) +{ +lean_object* x_95; +x_95 = lean_ctor_get(x_81, 0); +lean_dec(x_95); +return x_81; +} +else +{ +lean_object* x_96; lean_object* x_97; +x_96 = lean_ctor_get(x_81, 1); +lean_inc(x_96); +lean_dec(x_81); +x_97 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_97, 0, x_82); +lean_ctor_set(x_97, 1, x_96); +return x_97; +} +} +} +} +case 7: +{ +lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; uint8_t x_102; +x_98 = lean_ctor_get(x_3, 1); +lean_inc(x_98); +x_99 = lean_ctor_get(x_3, 2); +lean_inc(x_99); +lean_dec(x_3); +lean_inc(x_98); +x_100 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_98, x_4); +x_101 = lean_ctor_get(x_100, 0); +lean_inc(x_101); +x_102 = lean_unbox(x_101); +lean_dec(x_101); +if (x_102 == 0) +{ +lean_object* x_103; lean_object* x_104; lean_object* x_105; uint8_t x_106; +lean_dec(x_98); +x_103 = lean_ctor_get(x_100, 1); +lean_inc(x_103); +lean_dec(x_100); +lean_inc(x_99); +x_104 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_99, x_103); +x_105 = lean_ctor_get(x_104, 0); +lean_inc(x_105); +x_106 = lean_unbox(x_105); +if (x_106 == 0) +{ +uint8_t x_107; +lean_dec(x_99); +lean_dec(x_2); +x_107 = !lean_is_exclusive(x_104); +if (x_107 == 0) +{ +lean_object* x_108; +x_108 = lean_ctor_get(x_104, 0); +lean_dec(x_108); +return x_104; +} +else +{ +lean_object* x_109; lean_object* x_110; +x_109 = lean_ctor_get(x_104, 1); +lean_inc(x_109); +lean_dec(x_104); +x_110 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_110, 0, x_105); +lean_ctor_set(x_110, 1, x_109); +return x_110; +} +} +else +{ +lean_object* x_111; +lean_dec(x_105); +x_111 = lean_ctor_get(x_104, 1); +lean_inc(x_111); +lean_dec(x_104); +x_3 = x_99; +x_4 = x_111; +goto _start; +} +} +else +{ +lean_object* x_113; lean_object* x_114; lean_object* x_115; uint8_t x_116; +x_113 = lean_ctor_get(x_100, 1); +lean_inc(x_113); +lean_dec(x_100); +lean_inc(x_2); +x_114 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__69(x_1, x_2, x_98, x_113); +x_115 = lean_ctor_get(x_114, 0); +lean_inc(x_115); +x_116 = lean_unbox(x_115); +if (x_116 == 0) +{ +lean_object* x_117; lean_object* x_118; lean_object* x_119; uint8_t x_120; +lean_dec(x_115); +x_117 = lean_ctor_get(x_114, 1); +lean_inc(x_117); +lean_dec(x_114); +lean_inc(x_99); +x_118 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_99, x_117); +x_119 = lean_ctor_get(x_118, 0); +lean_inc(x_119); +x_120 = lean_unbox(x_119); +if (x_120 == 0) +{ +uint8_t x_121; +lean_dec(x_99); +lean_dec(x_2); +x_121 = !lean_is_exclusive(x_118); +if (x_121 == 0) +{ +lean_object* x_122; +x_122 = lean_ctor_get(x_118, 0); +lean_dec(x_122); +return x_118; +} +else +{ +lean_object* x_123; lean_object* x_124; +x_123 = lean_ctor_get(x_118, 1); +lean_inc(x_123); +lean_dec(x_118); +x_124 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_124, 0, x_119); +lean_ctor_set(x_124, 1, x_123); +return x_124; +} +} +else +{ +lean_object* x_125; +lean_dec(x_119); +x_125 = lean_ctor_get(x_118, 1); +lean_inc(x_125); +lean_dec(x_118); +x_3 = x_99; +x_4 = x_125; +goto _start; +} +} +else +{ +uint8_t x_127; +lean_dec(x_99); +lean_dec(x_2); +x_127 = !lean_is_exclusive(x_114); +if (x_127 == 0) +{ +lean_object* x_128; +x_128 = lean_ctor_get(x_114, 0); +lean_dec(x_128); +return x_114; +} +else +{ +lean_object* x_129; lean_object* x_130; +x_129 = lean_ctor_get(x_114, 1); +lean_inc(x_129); +lean_dec(x_114); +x_130 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_130, 0, x_115); +lean_ctor_set(x_130, 1, x_129); +return x_130; +} +} +} +} +case 8: +{ +lean_object* x_131; lean_object* x_132; lean_object* x_133; uint8_t x_134; lean_object* x_135; lean_object* x_170; lean_object* x_171; uint8_t x_172; +x_131 = lean_ctor_get(x_3, 1); +lean_inc(x_131); +x_132 = lean_ctor_get(x_3, 2); +lean_inc(x_132); +x_133 = lean_ctor_get(x_3, 3); +lean_inc(x_133); +lean_dec(x_3); +lean_inc(x_131); +x_170 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_131, x_4); +x_171 = lean_ctor_get(x_170, 0); +lean_inc(x_171); +x_172 = lean_unbox(x_171); +if (x_172 == 0) +{ +lean_object* x_173; uint8_t x_174; +lean_dec(x_131); +x_173 = lean_ctor_get(x_170, 1); +lean_inc(x_173); +lean_dec(x_170); +x_174 = lean_unbox(x_171); +lean_dec(x_171); +x_134 = x_174; +x_135 = x_173; +goto block_169; +} +else +{ +lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; uint8_t x_179; +lean_dec(x_171); +x_175 = lean_ctor_get(x_170, 1); +lean_inc(x_175); +lean_dec(x_170); +lean_inc(x_2); +x_176 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__69(x_1, x_2, x_131, x_175); +x_177 = lean_ctor_get(x_176, 0); +lean_inc(x_177); +x_178 = lean_ctor_get(x_176, 1); +lean_inc(x_178); +lean_dec(x_176); +x_179 = lean_unbox(x_177); +lean_dec(x_177); +x_134 = x_179; +x_135 = x_178; +goto block_169; +} +block_169: +{ +if (x_134 == 0) +{ +lean_object* x_136; lean_object* x_137; uint8_t x_138; +lean_inc(x_132); +x_136 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_132, x_135); +x_137 = lean_ctor_get(x_136, 0); +lean_inc(x_137); +x_138 = lean_unbox(x_137); +lean_dec(x_137); +if (x_138 == 0) +{ +lean_object* x_139; lean_object* x_140; lean_object* x_141; uint8_t x_142; +lean_dec(x_132); +x_139 = lean_ctor_get(x_136, 1); +lean_inc(x_139); +lean_dec(x_136); +lean_inc(x_133); +x_140 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_133, x_139); +x_141 = lean_ctor_get(x_140, 0); +lean_inc(x_141); +x_142 = lean_unbox(x_141); +if (x_142 == 0) +{ +uint8_t x_143; +lean_dec(x_133); +lean_dec(x_2); +x_143 = !lean_is_exclusive(x_140); +if (x_143 == 0) +{ +lean_object* x_144; +x_144 = lean_ctor_get(x_140, 0); +lean_dec(x_144); +return x_140; +} +else +{ +lean_object* x_145; lean_object* x_146; +x_145 = lean_ctor_get(x_140, 1); +lean_inc(x_145); +lean_dec(x_140); +x_146 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_146, 0, x_141); +lean_ctor_set(x_146, 1, x_145); +return x_146; +} +} +else +{ +lean_object* x_147; +lean_dec(x_141); +x_147 = lean_ctor_get(x_140, 1); +lean_inc(x_147); +lean_dec(x_140); +x_3 = x_133; +x_4 = x_147; +goto _start; +} +} +else +{ +lean_object* x_149; lean_object* x_150; lean_object* x_151; uint8_t x_152; +x_149 = lean_ctor_get(x_136, 1); +lean_inc(x_149); +lean_dec(x_136); +lean_inc(x_2); +x_150 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__69(x_1, x_2, x_132, x_149); +x_151 = lean_ctor_get(x_150, 0); +lean_inc(x_151); +x_152 = lean_unbox(x_151); +if (x_152 == 0) +{ +lean_object* x_153; lean_object* x_154; lean_object* x_155; uint8_t x_156; +lean_dec(x_151); +x_153 = lean_ctor_get(x_150, 1); +lean_inc(x_153); +lean_dec(x_150); +lean_inc(x_133); +x_154 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_133, x_153); +x_155 = lean_ctor_get(x_154, 0); +lean_inc(x_155); +x_156 = lean_unbox(x_155); +if (x_156 == 0) +{ +uint8_t x_157; +lean_dec(x_133); +lean_dec(x_2); +x_157 = !lean_is_exclusive(x_154); +if (x_157 == 0) +{ +lean_object* x_158; +x_158 = lean_ctor_get(x_154, 0); +lean_dec(x_158); +return x_154; +} +else +{ +lean_object* x_159; lean_object* x_160; +x_159 = lean_ctor_get(x_154, 1); +lean_inc(x_159); +lean_dec(x_154); +x_160 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_160, 0, x_155); +lean_ctor_set(x_160, 1, x_159); +return x_160; +} +} +else +{ +lean_object* x_161; +lean_dec(x_155); +x_161 = lean_ctor_get(x_154, 1); +lean_inc(x_161); +lean_dec(x_154); +x_3 = x_133; +x_4 = x_161; +goto _start; +} +} +else +{ +uint8_t x_163; +lean_dec(x_133); +lean_dec(x_2); +x_163 = !lean_is_exclusive(x_150); +if (x_163 == 0) +{ +lean_object* x_164; +x_164 = lean_ctor_get(x_150, 0); +lean_dec(x_164); +return x_150; +} +else +{ +lean_object* x_165; lean_object* x_166; +x_165 = lean_ctor_get(x_150, 1); +lean_inc(x_165); +lean_dec(x_150); +x_166 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_166, 0, x_151); +lean_ctor_set(x_166, 1, x_165); +return x_166; +} +} +} +} +else +{ +lean_object* x_167; lean_object* x_168; +lean_dec(x_133); +lean_dec(x_132); +lean_dec(x_2); +x_167 = lean_box(x_134); +x_168 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_168, 0, x_167); +lean_ctor_set(x_168, 1, x_135); +return x_168; +} +} +} +case 10: +{ +lean_object* x_180; lean_object* x_181; lean_object* x_182; uint8_t x_183; +x_180 = lean_ctor_get(x_3, 1); +lean_inc(x_180); +lean_dec(x_3); +lean_inc(x_180); +x_181 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_180, x_4); +x_182 = lean_ctor_get(x_181, 0); +lean_inc(x_182); +x_183 = lean_unbox(x_182); +if (x_183 == 0) +{ +uint8_t x_184; +lean_dec(x_180); +lean_dec(x_2); +x_184 = !lean_is_exclusive(x_181); +if (x_184 == 0) +{ +lean_object* x_185; +x_185 = lean_ctor_get(x_181, 0); +lean_dec(x_185); +return x_181; +} +else +{ +lean_object* x_186; lean_object* x_187; +x_186 = lean_ctor_get(x_181, 1); +lean_inc(x_186); +lean_dec(x_181); +x_187 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_187, 0, x_182); +lean_ctor_set(x_187, 1, x_186); +return x_187; +} +} +else +{ +lean_object* x_188; +lean_dec(x_182); +x_188 = lean_ctor_get(x_181, 1); +lean_inc(x_188); +lean_dec(x_181); +x_3 = x_180; +x_4 = x_188; +goto _start; +} +} +case 11: +{ +lean_object* x_190; lean_object* x_191; lean_object* x_192; uint8_t x_193; +x_190 = lean_ctor_get(x_3, 2); +lean_inc(x_190); +lean_dec(x_3); +lean_inc(x_190); +x_191 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_190, x_4); +x_192 = lean_ctor_get(x_191, 0); +lean_inc(x_192); +x_193 = lean_unbox(x_192); +if (x_193 == 0) +{ +uint8_t x_194; +lean_dec(x_190); +lean_dec(x_2); +x_194 = !lean_is_exclusive(x_191); +if (x_194 == 0) +{ +lean_object* x_195; +x_195 = lean_ctor_get(x_191, 0); +lean_dec(x_195); +return x_191; +} +else +{ +lean_object* x_196; lean_object* x_197; +x_196 = lean_ctor_get(x_191, 1); +lean_inc(x_196); +lean_dec(x_191); +x_197 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_197, 0, x_192); +lean_ctor_set(x_197, 1, x_196); +return x_197; +} +} +else +{ +lean_object* x_198; +lean_dec(x_192); +x_198 = lean_ctor_get(x_191, 1); +lean_inc(x_198); +lean_dec(x_191); +x_3 = x_190; +x_4 = x_198; +goto _start; +} +} +default: +{ +uint8_t x_200; lean_object* x_201; lean_object* x_202; +lean_dec(x_3); +lean_dec(x_2); +x_200 = 0; +x_201 = lean_box(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_4); +return x_202; +} +} +} +} +uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__78(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_nat_dec_lt(x_5, x_4); +if (x_6 == 0) +{ +uint8_t x_7; +lean_dec(x_5); +x_7 = 0; +return x_7; +} +else +{ +lean_object* x_8; uint8_t x_9; +x_8 = lean_array_fget(x_3, x_5); +x_9 = l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__77(x_1, x_8); +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_5, x_10); +lean_dec(x_5); +x_5 = x_11; +goto _start; +} +else +{ +lean_dec(x_5); +return x_9; +} +} +} +} +uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__79(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_nat_dec_lt(x_5, x_4); +if (x_6 == 0) +{ +uint8_t x_7; +lean_dec(x_5); +x_7 = 0; +return x_7; +} +else +{ +lean_object* x_8; +x_8 = lean_array_fget(x_3, x_5); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_unsigned_to_nat(1u); +x_10 = lean_nat_add(x_5, x_9); +lean_dec(x_5); +x_5 = x_10; +goto _start; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_12 = lean_ctor_get(x_8, 0); +lean_inc(x_12); +lean_dec(x_8); +x_13 = l_Lean_LocalDecl_fvarId(x_12); +lean_dec(x_12); +x_14 = l_Lean_Expr_fvarId_x21(x_1); +x_15 = lean_name_eq(x_13, x_14); +lean_dec(x_14); +lean_dec(x_13); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; +x_16 = lean_unsigned_to_nat(1u); +x_17 = lean_nat_add(x_5, x_16); +lean_dec(x_5); +x_5 = x_17; +goto _start; +} +else +{ +lean_dec(x_5); +return x_15; +} +} +} +} +} +uint8_t l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__77(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; +x_3 = lean_ctor_get(x_2, 0); +x_4 = lean_array_get_size(x_3); +x_5 = lean_unsigned_to_nat(0u); +x_6 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__78(x_1, x_3, x_3, x_4, x_5); +lean_dec(x_4); +return x_6; +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_7 = lean_ctor_get(x_2, 0); +x_8 = lean_array_get_size(x_7); +x_9 = lean_unsigned_to_nat(0u); +x_10 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__79(x_1, x_7, x_7, x_8, x_9); +lean_dec(x_8); +return x_10; +} +} +} +uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__80(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_nat_dec_lt(x_5, x_4); +if (x_6 == 0) +{ +uint8_t x_7; +lean_dec(x_5); +x_7 = 0; +return x_7; +} +else +{ +lean_object* x_8; +x_8 = lean_array_fget(x_3, x_5); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_unsigned_to_nat(1u); +x_10 = lean_nat_add(x_5, x_9); +lean_dec(x_5); +x_5 = x_10; +goto _start; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_12 = lean_ctor_get(x_8, 0); +lean_inc(x_12); +lean_dec(x_8); +x_13 = l_Lean_LocalDecl_fvarId(x_12); +lean_dec(x_12); +x_14 = l_Lean_Expr_fvarId_x21(x_1); +x_15 = lean_name_eq(x_13, x_14); +lean_dec(x_14); +lean_dec(x_13); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; +x_16 = lean_unsigned_to_nat(1u); +x_17 = lean_nat_add(x_5, x_16); +lean_dec(x_5); +x_5 = x_17; +goto _start; +} +else +{ +lean_dec(x_5); +return x_15; +} +} +} +} +} +uint8_t l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__76(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___private_Init_Lean_MetavarContext_10__collectDeps___spec__77(x_1, x_3); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; +x_5 = lean_ctor_get(x_2, 1); +x_6 = lean_array_get_size(x_5); +x_7 = lean_unsigned_to_nat(0u); +x_8 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__80(x_1, x_2, x_5, x_6, x_7); +lean_dec(x_6); +return x_8; +} +else +{ +return x_4; +} +} +} +lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__75(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_2); +x_5 = lean_ctor_get(x_3, 0); +lean_inc(x_5); +lean_dec(x_3); +x_6 = l_Lean_Expr_fvarId_x21(x_1); +x_7 = lean_name_eq(x_5, x_6); +lean_dec(x_6); +lean_dec(x_5); +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_2); +x_11 = lean_metavar_ctx_get_expr_assignment(x_2, 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_2, x_10); +lean_dec(x_10); +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_10__collectDeps___spec__76(x_1, 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; lean_object* x_20; uint8_t x_21; +lean_dec(x_10); +x_18 = lean_ctor_get(x_11, 0); +lean_inc(x_18); +lean_dec(x_11); +lean_inc(x_18); +x_19 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_18, x_4); +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_unbox(x_20); +if (x_21 == 0) +{ +uint8_t x_22; +lean_dec(x_18); +lean_dec(x_2); +x_22 = !lean_is_exclusive(x_19); +if (x_22 == 0) +{ +lean_object* x_23; +x_23 = lean_ctor_get(x_19, 0); +lean_dec(x_23); +return x_19; +} +else +{ +lean_object* x_24; lean_object* x_25; +x_24 = lean_ctor_get(x_19, 1); +lean_inc(x_24); +lean_dec(x_19); +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 +{ +lean_object* x_26; +lean_dec(x_20); +x_26 = lean_ctor_get(x_19, 1); +lean_inc(x_26); +lean_dec(x_19); +x_3 = x_18; +x_4 = x_26; +goto _start; +} +} +} +case 5: +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; +x_28 = lean_ctor_get(x_3, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_3, 1); +lean_inc(x_29); +lean_dec(x_3); +lean_inc(x_29); +x_30 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_29, x_4); +x_31 = lean_ctor_get(x_30, 0); +lean_inc(x_31); +x_32 = lean_unbox(x_31); +lean_dec(x_31); +if (x_32 == 0) +{ +lean_object* x_33; uint8_t x_34; +lean_dec(x_29); +x_33 = lean_ctor_get(x_30, 1); +lean_inc(x_33); +lean_dec(x_30); +x_34 = l_Lean_Expr_isApp(x_28); +if (x_34 == 0) +{ +lean_object* x_35; lean_object* x_36; uint8_t x_37; +lean_inc(x_28); +x_35 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_28, x_33); +x_36 = lean_ctor_get(x_35, 0); +lean_inc(x_36); +x_37 = lean_unbox(x_36); +if (x_37 == 0) +{ +uint8_t x_38; +lean_dec(x_28); +lean_dec(x_2); +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); +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_36); +lean_ctor_set(x_41, 1, x_40); +return x_41; +} +} +else +{ +lean_object* x_42; +lean_dec(x_36); +x_42 = lean_ctor_get(x_35, 1); +lean_inc(x_42); +lean_dec(x_35); +x_3 = x_28; +x_4 = x_42; +goto _start; +} +} +else +{ +x_3 = x_28; +x_4 = x_33; +goto _start; +} +} +else +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; +x_45 = lean_ctor_get(x_30, 1); +lean_inc(x_45); +lean_dec(x_30); +lean_inc(x_2); +x_46 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__75(x_1, x_2, x_29, x_45); +x_47 = lean_ctor_get(x_46, 0); +lean_inc(x_47); +x_48 = lean_unbox(x_47); +if (x_48 == 0) +{ +lean_object* x_49; uint8_t x_50; +lean_dec(x_47); +x_49 = lean_ctor_get(x_46, 1); +lean_inc(x_49); +lean_dec(x_46); +x_50 = l_Lean_Expr_isApp(x_28); +if (x_50 == 0) +{ +lean_object* x_51; lean_object* x_52; uint8_t x_53; +lean_inc(x_28); +x_51 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_28, x_49); +x_52 = lean_ctor_get(x_51, 0); +lean_inc(x_52); +x_53 = lean_unbox(x_52); +if (x_53 == 0) +{ +uint8_t x_54; +lean_dec(x_28); +lean_dec(x_2); +x_54 = !lean_is_exclusive(x_51); +if (x_54 == 0) +{ +lean_object* x_55; +x_55 = lean_ctor_get(x_51, 0); +lean_dec(x_55); +return x_51; +} +else +{ +lean_object* x_56; lean_object* x_57; +x_56 = lean_ctor_get(x_51, 1); +lean_inc(x_56); +lean_dec(x_51); +x_57 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_57, 0, x_52); +lean_ctor_set(x_57, 1, x_56); +return x_57; +} +} +else +{ +lean_object* x_58; +lean_dec(x_52); +x_58 = lean_ctor_get(x_51, 1); +lean_inc(x_58); +lean_dec(x_51); +x_3 = x_28; +x_4 = x_58; +goto _start; +} +} +else +{ +x_3 = x_28; +x_4 = x_49; +goto _start; +} +} +else +{ +uint8_t x_61; +lean_dec(x_28); +lean_dec(x_2); +x_61 = !lean_is_exclusive(x_46); +if (x_61 == 0) +{ +lean_object* x_62; +x_62 = lean_ctor_get(x_46, 0); +lean_dec(x_62); +return x_46; +} +else +{ +lean_object* x_63; lean_object* x_64; +x_63 = lean_ctor_get(x_46, 1); +lean_inc(x_63); +lean_dec(x_46); +x_64 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_64, 0, x_47); +lean_ctor_set(x_64, 1, x_63); +return x_64; +} +} +} +} +case 6: +{ +lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; uint8_t x_69; +x_65 = lean_ctor_get(x_3, 1); +lean_inc(x_65); +x_66 = lean_ctor_get(x_3, 2); +lean_inc(x_66); +lean_dec(x_3); +lean_inc(x_65); +x_67 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_65, x_4); +x_68 = lean_ctor_get(x_67, 0); +lean_inc(x_68); +x_69 = lean_unbox(x_68); +lean_dec(x_68); +if (x_69 == 0) +{ +lean_object* x_70; lean_object* x_71; lean_object* x_72; uint8_t x_73; +lean_dec(x_65); +x_70 = lean_ctor_get(x_67, 1); +lean_inc(x_70); +lean_dec(x_67); +lean_inc(x_66); +x_71 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_66, x_70); +x_72 = lean_ctor_get(x_71, 0); +lean_inc(x_72); +x_73 = lean_unbox(x_72); +if (x_73 == 0) +{ +uint8_t x_74; +lean_dec(x_66); +lean_dec(x_2); +x_74 = !lean_is_exclusive(x_71); +if (x_74 == 0) +{ +lean_object* x_75; +x_75 = lean_ctor_get(x_71, 0); +lean_dec(x_75); +return x_71; +} +else +{ +lean_object* x_76; lean_object* x_77; +x_76 = lean_ctor_get(x_71, 1); +lean_inc(x_76); +lean_dec(x_71); +x_77 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_77, 0, x_72); +lean_ctor_set(x_77, 1, x_76); +return x_77; +} +} +else +{ +lean_object* x_78; +lean_dec(x_72); +x_78 = lean_ctor_get(x_71, 1); +lean_inc(x_78); +lean_dec(x_71); +x_3 = x_66; +x_4 = x_78; +goto _start; +} +} +else +{ +lean_object* x_80; lean_object* x_81; lean_object* x_82; uint8_t x_83; +x_80 = lean_ctor_get(x_67, 1); +lean_inc(x_80); +lean_dec(x_67); +lean_inc(x_2); +x_81 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__75(x_1, x_2, x_65, x_80); +x_82 = lean_ctor_get(x_81, 0); +lean_inc(x_82); +x_83 = lean_unbox(x_82); +if (x_83 == 0) +{ +lean_object* x_84; lean_object* x_85; lean_object* x_86; uint8_t x_87; +lean_dec(x_82); +x_84 = lean_ctor_get(x_81, 1); +lean_inc(x_84); +lean_dec(x_81); +lean_inc(x_66); +x_85 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_66, x_84); +x_86 = lean_ctor_get(x_85, 0); +lean_inc(x_86); +x_87 = lean_unbox(x_86); +if (x_87 == 0) +{ +uint8_t x_88; +lean_dec(x_66); +lean_dec(x_2); +x_88 = !lean_is_exclusive(x_85); +if (x_88 == 0) +{ +lean_object* x_89; +x_89 = lean_ctor_get(x_85, 0); +lean_dec(x_89); +return x_85; +} +else +{ +lean_object* x_90; lean_object* x_91; +x_90 = lean_ctor_get(x_85, 1); +lean_inc(x_90); +lean_dec(x_85); +x_91 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_91, 0, x_86); +lean_ctor_set(x_91, 1, x_90); +return x_91; +} +} +else +{ +lean_object* x_92; +lean_dec(x_86); +x_92 = lean_ctor_get(x_85, 1); +lean_inc(x_92); +lean_dec(x_85); +x_3 = x_66; +x_4 = x_92; +goto _start; +} +} +else +{ +uint8_t x_94; +lean_dec(x_66); +lean_dec(x_2); +x_94 = !lean_is_exclusive(x_81); +if (x_94 == 0) +{ +lean_object* x_95; +x_95 = lean_ctor_get(x_81, 0); +lean_dec(x_95); +return x_81; +} +else +{ +lean_object* x_96; lean_object* x_97; +x_96 = lean_ctor_get(x_81, 1); +lean_inc(x_96); +lean_dec(x_81); +x_97 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_97, 0, x_82); +lean_ctor_set(x_97, 1, x_96); +return x_97; +} +} +} +} +case 7: +{ +lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; uint8_t x_102; +x_98 = lean_ctor_get(x_3, 1); +lean_inc(x_98); +x_99 = lean_ctor_get(x_3, 2); +lean_inc(x_99); +lean_dec(x_3); +lean_inc(x_98); +x_100 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_98, x_4); +x_101 = lean_ctor_get(x_100, 0); +lean_inc(x_101); +x_102 = lean_unbox(x_101); +lean_dec(x_101); +if (x_102 == 0) +{ +lean_object* x_103; lean_object* x_104; lean_object* x_105; uint8_t x_106; +lean_dec(x_98); +x_103 = lean_ctor_get(x_100, 1); +lean_inc(x_103); +lean_dec(x_100); +lean_inc(x_99); +x_104 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_99, x_103); +x_105 = lean_ctor_get(x_104, 0); +lean_inc(x_105); +x_106 = lean_unbox(x_105); +if (x_106 == 0) +{ +uint8_t x_107; +lean_dec(x_99); +lean_dec(x_2); +x_107 = !lean_is_exclusive(x_104); +if (x_107 == 0) +{ +lean_object* x_108; +x_108 = lean_ctor_get(x_104, 0); +lean_dec(x_108); +return x_104; +} +else +{ +lean_object* x_109; lean_object* x_110; +x_109 = lean_ctor_get(x_104, 1); +lean_inc(x_109); +lean_dec(x_104); +x_110 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_110, 0, x_105); +lean_ctor_set(x_110, 1, x_109); +return x_110; +} +} +else +{ +lean_object* x_111; +lean_dec(x_105); +x_111 = lean_ctor_get(x_104, 1); +lean_inc(x_111); +lean_dec(x_104); +x_3 = x_99; +x_4 = x_111; +goto _start; +} +} +else +{ +lean_object* x_113; lean_object* x_114; lean_object* x_115; uint8_t x_116; +x_113 = lean_ctor_get(x_100, 1); +lean_inc(x_113); +lean_dec(x_100); +lean_inc(x_2); +x_114 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__75(x_1, x_2, x_98, x_113); +x_115 = lean_ctor_get(x_114, 0); +lean_inc(x_115); +x_116 = lean_unbox(x_115); +if (x_116 == 0) +{ +lean_object* x_117; lean_object* x_118; lean_object* x_119; uint8_t x_120; +lean_dec(x_115); +x_117 = lean_ctor_get(x_114, 1); +lean_inc(x_117); +lean_dec(x_114); +lean_inc(x_99); +x_118 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_99, x_117); +x_119 = lean_ctor_get(x_118, 0); +lean_inc(x_119); +x_120 = lean_unbox(x_119); +if (x_120 == 0) +{ +uint8_t x_121; +lean_dec(x_99); +lean_dec(x_2); +x_121 = !lean_is_exclusive(x_118); +if (x_121 == 0) +{ +lean_object* x_122; +x_122 = lean_ctor_get(x_118, 0); +lean_dec(x_122); +return x_118; +} +else +{ +lean_object* x_123; lean_object* x_124; +x_123 = lean_ctor_get(x_118, 1); +lean_inc(x_123); +lean_dec(x_118); +x_124 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_124, 0, x_119); +lean_ctor_set(x_124, 1, x_123); +return x_124; +} +} +else +{ +lean_object* x_125; +lean_dec(x_119); +x_125 = lean_ctor_get(x_118, 1); +lean_inc(x_125); +lean_dec(x_118); +x_3 = x_99; +x_4 = x_125; +goto _start; +} +} +else +{ +uint8_t x_127; +lean_dec(x_99); +lean_dec(x_2); +x_127 = !lean_is_exclusive(x_114); +if (x_127 == 0) +{ +lean_object* x_128; +x_128 = lean_ctor_get(x_114, 0); +lean_dec(x_128); +return x_114; +} +else +{ +lean_object* x_129; lean_object* x_130; +x_129 = lean_ctor_get(x_114, 1); +lean_inc(x_129); +lean_dec(x_114); +x_130 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_130, 0, x_115); +lean_ctor_set(x_130, 1, x_129); +return x_130; +} +} +} +} +case 8: +{ +lean_object* x_131; lean_object* x_132; lean_object* x_133; uint8_t x_134; lean_object* x_135; lean_object* x_170; lean_object* x_171; uint8_t x_172; +x_131 = lean_ctor_get(x_3, 1); +lean_inc(x_131); +x_132 = lean_ctor_get(x_3, 2); +lean_inc(x_132); +x_133 = lean_ctor_get(x_3, 3); +lean_inc(x_133); +lean_dec(x_3); +lean_inc(x_131); +x_170 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_131, x_4); +x_171 = lean_ctor_get(x_170, 0); +lean_inc(x_171); +x_172 = lean_unbox(x_171); +if (x_172 == 0) +{ +lean_object* x_173; uint8_t x_174; +lean_dec(x_131); +x_173 = lean_ctor_get(x_170, 1); +lean_inc(x_173); +lean_dec(x_170); +x_174 = lean_unbox(x_171); +lean_dec(x_171); +x_134 = x_174; +x_135 = x_173; +goto block_169; +} +else +{ +lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; uint8_t x_179; +lean_dec(x_171); +x_175 = lean_ctor_get(x_170, 1); +lean_inc(x_175); +lean_dec(x_170); +lean_inc(x_2); +x_176 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__75(x_1, x_2, x_131, x_175); +x_177 = lean_ctor_get(x_176, 0); +lean_inc(x_177); +x_178 = lean_ctor_get(x_176, 1); +lean_inc(x_178); +lean_dec(x_176); +x_179 = lean_unbox(x_177); +lean_dec(x_177); +x_134 = x_179; +x_135 = x_178; +goto block_169; +} +block_169: +{ +if (x_134 == 0) +{ +lean_object* x_136; lean_object* x_137; uint8_t x_138; +lean_inc(x_132); +x_136 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_132, x_135); +x_137 = lean_ctor_get(x_136, 0); +lean_inc(x_137); +x_138 = lean_unbox(x_137); +lean_dec(x_137); +if (x_138 == 0) +{ +lean_object* x_139; lean_object* x_140; lean_object* x_141; uint8_t x_142; +lean_dec(x_132); +x_139 = lean_ctor_get(x_136, 1); +lean_inc(x_139); +lean_dec(x_136); +lean_inc(x_133); +x_140 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_133, x_139); +x_141 = lean_ctor_get(x_140, 0); +lean_inc(x_141); +x_142 = lean_unbox(x_141); +if (x_142 == 0) +{ +uint8_t x_143; +lean_dec(x_133); +lean_dec(x_2); +x_143 = !lean_is_exclusive(x_140); +if (x_143 == 0) +{ +lean_object* x_144; +x_144 = lean_ctor_get(x_140, 0); +lean_dec(x_144); +return x_140; +} +else +{ +lean_object* x_145; lean_object* x_146; +x_145 = lean_ctor_get(x_140, 1); +lean_inc(x_145); +lean_dec(x_140); +x_146 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_146, 0, x_141); +lean_ctor_set(x_146, 1, x_145); +return x_146; +} +} +else +{ +lean_object* x_147; +lean_dec(x_141); +x_147 = lean_ctor_get(x_140, 1); +lean_inc(x_147); +lean_dec(x_140); +x_3 = x_133; +x_4 = x_147; +goto _start; +} +} +else +{ +lean_object* x_149; lean_object* x_150; lean_object* x_151; uint8_t x_152; +x_149 = lean_ctor_get(x_136, 1); +lean_inc(x_149); +lean_dec(x_136); +lean_inc(x_2); +x_150 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__75(x_1, x_2, x_132, x_149); +x_151 = lean_ctor_get(x_150, 0); +lean_inc(x_151); +x_152 = lean_unbox(x_151); +if (x_152 == 0) +{ +lean_object* x_153; lean_object* x_154; lean_object* x_155; uint8_t x_156; +lean_dec(x_151); +x_153 = lean_ctor_get(x_150, 1); +lean_inc(x_153); +lean_dec(x_150); +lean_inc(x_133); +x_154 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_133, x_153); +x_155 = lean_ctor_get(x_154, 0); +lean_inc(x_155); +x_156 = lean_unbox(x_155); +if (x_156 == 0) +{ +uint8_t x_157; +lean_dec(x_133); +lean_dec(x_2); +x_157 = !lean_is_exclusive(x_154); +if (x_157 == 0) +{ +lean_object* x_158; +x_158 = lean_ctor_get(x_154, 0); +lean_dec(x_158); +return x_154; +} +else +{ +lean_object* x_159; lean_object* x_160; +x_159 = lean_ctor_get(x_154, 1); +lean_inc(x_159); +lean_dec(x_154); +x_160 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_160, 0, x_155); +lean_ctor_set(x_160, 1, x_159); +return x_160; +} +} +else +{ +lean_object* x_161; +lean_dec(x_155); +x_161 = lean_ctor_get(x_154, 1); +lean_inc(x_161); +lean_dec(x_154); +x_3 = x_133; +x_4 = x_161; +goto _start; +} +} +else +{ +uint8_t x_163; +lean_dec(x_133); +lean_dec(x_2); +x_163 = !lean_is_exclusive(x_150); +if (x_163 == 0) +{ +lean_object* x_164; +x_164 = lean_ctor_get(x_150, 0); +lean_dec(x_164); +return x_150; +} +else +{ +lean_object* x_165; lean_object* x_166; +x_165 = lean_ctor_get(x_150, 1); +lean_inc(x_165); +lean_dec(x_150); +x_166 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_166, 0, x_151); +lean_ctor_set(x_166, 1, x_165); +return x_166; +} +} +} +} +else +{ +lean_object* x_167; lean_object* x_168; +lean_dec(x_133); +lean_dec(x_132); +lean_dec(x_2); +x_167 = lean_box(x_134); +x_168 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_168, 0, x_167); +lean_ctor_set(x_168, 1, x_135); +return x_168; +} +} +} +case 10: +{ +lean_object* x_180; lean_object* x_181; lean_object* x_182; uint8_t x_183; +x_180 = lean_ctor_get(x_3, 1); +lean_inc(x_180); +lean_dec(x_3); +lean_inc(x_180); +x_181 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_180, x_4); +x_182 = lean_ctor_get(x_181, 0); +lean_inc(x_182); +x_183 = lean_unbox(x_182); +if (x_183 == 0) +{ +uint8_t x_184; +lean_dec(x_180); +lean_dec(x_2); +x_184 = !lean_is_exclusive(x_181); +if (x_184 == 0) +{ +lean_object* x_185; +x_185 = lean_ctor_get(x_181, 0); +lean_dec(x_185); +return x_181; +} +else +{ +lean_object* x_186; lean_object* x_187; +x_186 = lean_ctor_get(x_181, 1); +lean_inc(x_186); +lean_dec(x_181); +x_187 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_187, 0, x_182); +lean_ctor_set(x_187, 1, x_186); +return x_187; +} +} +else +{ +lean_object* x_188; +lean_dec(x_182); +x_188 = lean_ctor_get(x_181, 1); +lean_inc(x_188); +lean_dec(x_181); +x_3 = x_180; +x_4 = x_188; +goto _start; +} +} +case 11: +{ +lean_object* x_190; lean_object* x_191; lean_object* x_192; uint8_t x_193; +x_190 = lean_ctor_get(x_3, 2); +lean_inc(x_190); +lean_dec(x_3); +lean_inc(x_190); +x_191 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_190, x_4); +x_192 = lean_ctor_get(x_191, 0); +lean_inc(x_192); +x_193 = lean_unbox(x_192); +if (x_193 == 0) +{ +uint8_t x_194; +lean_dec(x_190); +lean_dec(x_2); +x_194 = !lean_is_exclusive(x_191); +if (x_194 == 0) +{ +lean_object* x_195; +x_195 = lean_ctor_get(x_191, 0); +lean_dec(x_195); +return x_191; +} +else +{ +lean_object* x_196; lean_object* x_197; +x_196 = lean_ctor_get(x_191, 1); +lean_inc(x_196); +lean_dec(x_191); +x_197 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_197, 0, x_192); +lean_ctor_set(x_197, 1, x_196); +return x_197; +} +} +else +{ +lean_object* x_198; +lean_dec(x_192); +x_198 = lean_ctor_get(x_191, 1); +lean_inc(x_198); +lean_dec(x_191); +x_3 = x_190; +x_4 = x_198; +goto _start; +} +} +default: +{ +uint8_t x_200; lean_object* x_201; lean_object* x_202; +lean_dec(x_3); +lean_dec(x_2); +x_200 = 0; +x_201 = lean_box(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_4); +return x_202; +} +} +} +} +uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__84(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_nat_dec_lt(x_5, x_4); +if (x_6 == 0) +{ +uint8_t x_7; +lean_dec(x_5); +x_7 = 0; +return x_7; +} +else +{ +lean_object* x_8; uint8_t x_9; +x_8 = lean_array_fget(x_3, x_5); +x_9 = l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__83(x_1, x_8); +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_5, x_10); +lean_dec(x_5); +x_5 = x_11; +goto _start; +} +else +{ +lean_dec(x_5); +return x_9; +} +} +} +} +uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__85(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_nat_dec_lt(x_5, x_4); +if (x_6 == 0) +{ +uint8_t x_7; +lean_dec(x_5); +x_7 = 0; +return x_7; +} +else +{ +lean_object* x_8; +x_8 = lean_array_fget(x_3, x_5); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_unsigned_to_nat(1u); +x_10 = lean_nat_add(x_5, x_9); +lean_dec(x_5); +x_5 = x_10; +goto _start; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_12 = lean_ctor_get(x_8, 0); +lean_inc(x_12); +lean_dec(x_8); +x_13 = l_Lean_LocalDecl_fvarId(x_12); +lean_dec(x_12); +x_14 = l_Lean_Expr_fvarId_x21(x_1); +x_15 = lean_name_eq(x_13, x_14); +lean_dec(x_14); +lean_dec(x_13); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; +x_16 = lean_unsigned_to_nat(1u); +x_17 = lean_nat_add(x_5, x_16); +lean_dec(x_5); +x_5 = x_17; +goto _start; +} +else +{ +lean_dec(x_5); +return x_15; +} +} +} +} +} +uint8_t l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__83(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; +x_3 = lean_ctor_get(x_2, 0); +x_4 = lean_array_get_size(x_3); +x_5 = lean_unsigned_to_nat(0u); +x_6 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__84(x_1, x_3, x_3, x_4, x_5); +lean_dec(x_4); +return x_6; +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_7 = lean_ctor_get(x_2, 0); +x_8 = lean_array_get_size(x_7); +x_9 = lean_unsigned_to_nat(0u); +x_10 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__85(x_1, x_7, x_7, x_8, x_9); +lean_dec(x_8); +return x_10; +} +} +} +uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__86(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_nat_dec_lt(x_5, x_4); +if (x_6 == 0) +{ +uint8_t x_7; +lean_dec(x_5); +x_7 = 0; +return x_7; +} +else +{ +lean_object* x_8; +x_8 = lean_array_fget(x_3, x_5); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_unsigned_to_nat(1u); +x_10 = lean_nat_add(x_5, x_9); +lean_dec(x_5); +x_5 = x_10; +goto _start; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_12 = lean_ctor_get(x_8, 0); +lean_inc(x_12); +lean_dec(x_8); +x_13 = l_Lean_LocalDecl_fvarId(x_12); +lean_dec(x_12); +x_14 = l_Lean_Expr_fvarId_x21(x_1); +x_15 = lean_name_eq(x_13, x_14); +lean_dec(x_14); +lean_dec(x_13); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; +x_16 = lean_unsigned_to_nat(1u); +x_17 = lean_nat_add(x_5, x_16); +lean_dec(x_5); +x_5 = x_17; +goto _start; +} +else +{ +lean_dec(x_5); +return x_15; +} +} +} +} +} +uint8_t l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__82(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___private_Init_Lean_MetavarContext_10__collectDeps___spec__83(x_1, x_3); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; +x_5 = lean_ctor_get(x_2, 1); +x_6 = lean_array_get_size(x_5); +x_7 = lean_unsigned_to_nat(0u); +x_8 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__86(x_1, x_2, x_5, x_6, x_7); +lean_dec(x_6); +return x_8; +} +else +{ +return x_4; +} +} +} +lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__81(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_2); +x_5 = lean_ctor_get(x_3, 0); +lean_inc(x_5); +lean_dec(x_3); +x_6 = l_Lean_Expr_fvarId_x21(x_1); +x_7 = lean_name_eq(x_5, x_6); +lean_dec(x_6); +lean_dec(x_5); +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_2); +x_11 = lean_metavar_ctx_get_expr_assignment(x_2, 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_2, x_10); +lean_dec(x_10); +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_10__collectDeps___spec__82(x_1, 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; lean_object* x_20; uint8_t x_21; +lean_dec(x_10); +x_18 = lean_ctor_get(x_11, 0); +lean_inc(x_18); +lean_dec(x_11); +lean_inc(x_18); +x_19 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_18, x_4); +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_unbox(x_20); +if (x_21 == 0) +{ +uint8_t x_22; +lean_dec(x_18); +lean_dec(x_2); +x_22 = !lean_is_exclusive(x_19); +if (x_22 == 0) +{ +lean_object* x_23; +x_23 = lean_ctor_get(x_19, 0); +lean_dec(x_23); +return x_19; +} +else +{ +lean_object* x_24; lean_object* x_25; +x_24 = lean_ctor_get(x_19, 1); +lean_inc(x_24); +lean_dec(x_19); +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 +{ +lean_object* x_26; +lean_dec(x_20); +x_26 = lean_ctor_get(x_19, 1); +lean_inc(x_26); +lean_dec(x_19); +x_3 = x_18; +x_4 = x_26; +goto _start; +} +} +} +case 5: +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; +x_28 = lean_ctor_get(x_3, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_3, 1); +lean_inc(x_29); +lean_dec(x_3); +lean_inc(x_29); +x_30 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_29, x_4); +x_31 = lean_ctor_get(x_30, 0); +lean_inc(x_31); +x_32 = lean_unbox(x_31); +lean_dec(x_31); +if (x_32 == 0) +{ +lean_object* x_33; uint8_t x_34; +lean_dec(x_29); +x_33 = lean_ctor_get(x_30, 1); +lean_inc(x_33); +lean_dec(x_30); +x_34 = l_Lean_Expr_isApp(x_28); +if (x_34 == 0) +{ +lean_object* x_35; lean_object* x_36; uint8_t x_37; +lean_inc(x_28); +x_35 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_28, x_33); +x_36 = lean_ctor_get(x_35, 0); +lean_inc(x_36); +x_37 = lean_unbox(x_36); +if (x_37 == 0) +{ +uint8_t x_38; +lean_dec(x_28); +lean_dec(x_2); +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); +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_36); +lean_ctor_set(x_41, 1, x_40); +return x_41; +} +} +else +{ +lean_object* x_42; +lean_dec(x_36); +x_42 = lean_ctor_get(x_35, 1); +lean_inc(x_42); +lean_dec(x_35); +x_3 = x_28; +x_4 = x_42; +goto _start; +} +} +else +{ +x_3 = x_28; +x_4 = x_33; +goto _start; +} +} +else +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; +x_45 = lean_ctor_get(x_30, 1); +lean_inc(x_45); +lean_dec(x_30); +lean_inc(x_2); +x_46 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__81(x_1, x_2, x_29, x_45); +x_47 = lean_ctor_get(x_46, 0); +lean_inc(x_47); +x_48 = lean_unbox(x_47); +if (x_48 == 0) +{ +lean_object* x_49; uint8_t x_50; +lean_dec(x_47); +x_49 = lean_ctor_get(x_46, 1); +lean_inc(x_49); +lean_dec(x_46); +x_50 = l_Lean_Expr_isApp(x_28); +if (x_50 == 0) +{ +lean_object* x_51; lean_object* x_52; uint8_t x_53; +lean_inc(x_28); +x_51 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_28, x_49); +x_52 = lean_ctor_get(x_51, 0); +lean_inc(x_52); +x_53 = lean_unbox(x_52); +if (x_53 == 0) +{ +uint8_t x_54; +lean_dec(x_28); +lean_dec(x_2); +x_54 = !lean_is_exclusive(x_51); +if (x_54 == 0) +{ +lean_object* x_55; +x_55 = lean_ctor_get(x_51, 0); +lean_dec(x_55); +return x_51; +} +else +{ +lean_object* x_56; lean_object* x_57; +x_56 = lean_ctor_get(x_51, 1); +lean_inc(x_56); +lean_dec(x_51); +x_57 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_57, 0, x_52); +lean_ctor_set(x_57, 1, x_56); +return x_57; +} +} +else +{ +lean_object* x_58; +lean_dec(x_52); +x_58 = lean_ctor_get(x_51, 1); +lean_inc(x_58); +lean_dec(x_51); +x_3 = x_28; +x_4 = x_58; +goto _start; +} +} +else +{ +x_3 = x_28; +x_4 = x_49; +goto _start; +} +} +else +{ +uint8_t x_61; +lean_dec(x_28); +lean_dec(x_2); +x_61 = !lean_is_exclusive(x_46); +if (x_61 == 0) +{ +lean_object* x_62; +x_62 = lean_ctor_get(x_46, 0); +lean_dec(x_62); +return x_46; +} +else +{ +lean_object* x_63; lean_object* x_64; +x_63 = lean_ctor_get(x_46, 1); +lean_inc(x_63); +lean_dec(x_46); +x_64 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_64, 0, x_47); +lean_ctor_set(x_64, 1, x_63); +return x_64; +} +} +} +} +case 6: +{ +lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; uint8_t x_69; +x_65 = lean_ctor_get(x_3, 1); +lean_inc(x_65); +x_66 = lean_ctor_get(x_3, 2); +lean_inc(x_66); +lean_dec(x_3); +lean_inc(x_65); +x_67 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_65, x_4); +x_68 = lean_ctor_get(x_67, 0); +lean_inc(x_68); +x_69 = lean_unbox(x_68); +lean_dec(x_68); +if (x_69 == 0) +{ +lean_object* x_70; lean_object* x_71; lean_object* x_72; uint8_t x_73; +lean_dec(x_65); +x_70 = lean_ctor_get(x_67, 1); +lean_inc(x_70); +lean_dec(x_67); +lean_inc(x_66); +x_71 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_66, x_70); +x_72 = lean_ctor_get(x_71, 0); +lean_inc(x_72); +x_73 = lean_unbox(x_72); +if (x_73 == 0) +{ +uint8_t x_74; +lean_dec(x_66); +lean_dec(x_2); +x_74 = !lean_is_exclusive(x_71); +if (x_74 == 0) +{ +lean_object* x_75; +x_75 = lean_ctor_get(x_71, 0); +lean_dec(x_75); +return x_71; +} +else +{ +lean_object* x_76; lean_object* x_77; +x_76 = lean_ctor_get(x_71, 1); +lean_inc(x_76); +lean_dec(x_71); +x_77 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_77, 0, x_72); +lean_ctor_set(x_77, 1, x_76); +return x_77; +} +} +else +{ +lean_object* x_78; +lean_dec(x_72); +x_78 = lean_ctor_get(x_71, 1); +lean_inc(x_78); +lean_dec(x_71); +x_3 = x_66; +x_4 = x_78; +goto _start; +} +} +else +{ +lean_object* x_80; lean_object* x_81; lean_object* x_82; uint8_t x_83; +x_80 = lean_ctor_get(x_67, 1); +lean_inc(x_80); +lean_dec(x_67); +lean_inc(x_2); +x_81 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__81(x_1, x_2, x_65, x_80); +x_82 = lean_ctor_get(x_81, 0); +lean_inc(x_82); +x_83 = lean_unbox(x_82); +if (x_83 == 0) +{ +lean_object* x_84; lean_object* x_85; lean_object* x_86; uint8_t x_87; +lean_dec(x_82); +x_84 = lean_ctor_get(x_81, 1); +lean_inc(x_84); +lean_dec(x_81); +lean_inc(x_66); +x_85 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_66, x_84); +x_86 = lean_ctor_get(x_85, 0); +lean_inc(x_86); +x_87 = lean_unbox(x_86); +if (x_87 == 0) +{ +uint8_t x_88; +lean_dec(x_66); +lean_dec(x_2); +x_88 = !lean_is_exclusive(x_85); +if (x_88 == 0) +{ +lean_object* x_89; +x_89 = lean_ctor_get(x_85, 0); +lean_dec(x_89); +return x_85; +} +else +{ +lean_object* x_90; lean_object* x_91; +x_90 = lean_ctor_get(x_85, 1); +lean_inc(x_90); +lean_dec(x_85); +x_91 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_91, 0, x_86); +lean_ctor_set(x_91, 1, x_90); +return x_91; +} +} +else +{ +lean_object* x_92; +lean_dec(x_86); +x_92 = lean_ctor_get(x_85, 1); +lean_inc(x_92); +lean_dec(x_85); +x_3 = x_66; +x_4 = x_92; +goto _start; +} +} +else +{ +uint8_t x_94; +lean_dec(x_66); +lean_dec(x_2); +x_94 = !lean_is_exclusive(x_81); +if (x_94 == 0) +{ +lean_object* x_95; +x_95 = lean_ctor_get(x_81, 0); +lean_dec(x_95); +return x_81; +} +else +{ +lean_object* x_96; lean_object* x_97; +x_96 = lean_ctor_get(x_81, 1); +lean_inc(x_96); +lean_dec(x_81); +x_97 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_97, 0, x_82); +lean_ctor_set(x_97, 1, x_96); +return x_97; +} +} +} +} +case 7: +{ +lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; uint8_t x_102; +x_98 = lean_ctor_get(x_3, 1); +lean_inc(x_98); +x_99 = lean_ctor_get(x_3, 2); +lean_inc(x_99); +lean_dec(x_3); +lean_inc(x_98); +x_100 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_98, x_4); +x_101 = lean_ctor_get(x_100, 0); +lean_inc(x_101); +x_102 = lean_unbox(x_101); +lean_dec(x_101); +if (x_102 == 0) +{ +lean_object* x_103; lean_object* x_104; lean_object* x_105; uint8_t x_106; +lean_dec(x_98); +x_103 = lean_ctor_get(x_100, 1); +lean_inc(x_103); +lean_dec(x_100); +lean_inc(x_99); +x_104 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_99, x_103); +x_105 = lean_ctor_get(x_104, 0); +lean_inc(x_105); +x_106 = lean_unbox(x_105); +if (x_106 == 0) +{ +uint8_t x_107; +lean_dec(x_99); +lean_dec(x_2); +x_107 = !lean_is_exclusive(x_104); +if (x_107 == 0) +{ +lean_object* x_108; +x_108 = lean_ctor_get(x_104, 0); +lean_dec(x_108); +return x_104; +} +else +{ +lean_object* x_109; lean_object* x_110; +x_109 = lean_ctor_get(x_104, 1); +lean_inc(x_109); +lean_dec(x_104); +x_110 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_110, 0, x_105); +lean_ctor_set(x_110, 1, x_109); +return x_110; +} +} +else +{ +lean_object* x_111; +lean_dec(x_105); +x_111 = lean_ctor_get(x_104, 1); +lean_inc(x_111); +lean_dec(x_104); +x_3 = x_99; +x_4 = x_111; +goto _start; +} +} +else +{ +lean_object* x_113; lean_object* x_114; lean_object* x_115; uint8_t x_116; +x_113 = lean_ctor_get(x_100, 1); +lean_inc(x_113); +lean_dec(x_100); +lean_inc(x_2); +x_114 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__81(x_1, x_2, x_98, x_113); +x_115 = lean_ctor_get(x_114, 0); +lean_inc(x_115); +x_116 = lean_unbox(x_115); +if (x_116 == 0) +{ +lean_object* x_117; lean_object* x_118; lean_object* x_119; uint8_t x_120; +lean_dec(x_115); +x_117 = lean_ctor_get(x_114, 1); +lean_inc(x_117); +lean_dec(x_114); +lean_inc(x_99); +x_118 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_99, x_117); +x_119 = lean_ctor_get(x_118, 0); +lean_inc(x_119); +x_120 = lean_unbox(x_119); +if (x_120 == 0) +{ +uint8_t x_121; +lean_dec(x_99); +lean_dec(x_2); +x_121 = !lean_is_exclusive(x_118); +if (x_121 == 0) +{ +lean_object* x_122; +x_122 = lean_ctor_get(x_118, 0); +lean_dec(x_122); +return x_118; +} +else +{ +lean_object* x_123; lean_object* x_124; +x_123 = lean_ctor_get(x_118, 1); +lean_inc(x_123); +lean_dec(x_118); +x_124 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_124, 0, x_119); +lean_ctor_set(x_124, 1, x_123); +return x_124; +} +} +else +{ +lean_object* x_125; +lean_dec(x_119); +x_125 = lean_ctor_get(x_118, 1); +lean_inc(x_125); +lean_dec(x_118); +x_3 = x_99; +x_4 = x_125; +goto _start; +} +} +else +{ +uint8_t x_127; +lean_dec(x_99); +lean_dec(x_2); +x_127 = !lean_is_exclusive(x_114); +if (x_127 == 0) +{ +lean_object* x_128; +x_128 = lean_ctor_get(x_114, 0); +lean_dec(x_128); +return x_114; +} +else +{ +lean_object* x_129; lean_object* x_130; +x_129 = lean_ctor_get(x_114, 1); +lean_inc(x_129); +lean_dec(x_114); +x_130 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_130, 0, x_115); +lean_ctor_set(x_130, 1, x_129); +return x_130; +} +} +} +} +case 8: +{ +lean_object* x_131; lean_object* x_132; lean_object* x_133; uint8_t x_134; lean_object* x_135; lean_object* x_170; lean_object* x_171; uint8_t x_172; +x_131 = lean_ctor_get(x_3, 1); +lean_inc(x_131); +x_132 = lean_ctor_get(x_3, 2); +lean_inc(x_132); +x_133 = lean_ctor_get(x_3, 3); +lean_inc(x_133); +lean_dec(x_3); +lean_inc(x_131); +x_170 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_131, x_4); +x_171 = lean_ctor_get(x_170, 0); +lean_inc(x_171); +x_172 = lean_unbox(x_171); +if (x_172 == 0) +{ +lean_object* x_173; uint8_t x_174; +lean_dec(x_131); +x_173 = lean_ctor_get(x_170, 1); +lean_inc(x_173); +lean_dec(x_170); +x_174 = lean_unbox(x_171); +lean_dec(x_171); +x_134 = x_174; +x_135 = x_173; +goto block_169; +} +else +{ +lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; uint8_t x_179; +lean_dec(x_171); +x_175 = lean_ctor_get(x_170, 1); +lean_inc(x_175); +lean_dec(x_170); +lean_inc(x_2); +x_176 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__81(x_1, x_2, x_131, x_175); +x_177 = lean_ctor_get(x_176, 0); +lean_inc(x_177); +x_178 = lean_ctor_get(x_176, 1); +lean_inc(x_178); +lean_dec(x_176); +x_179 = lean_unbox(x_177); +lean_dec(x_177); +x_134 = x_179; +x_135 = x_178; +goto block_169; +} +block_169: +{ +if (x_134 == 0) +{ +lean_object* x_136; lean_object* x_137; uint8_t x_138; +lean_inc(x_132); +x_136 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_132, x_135); +x_137 = lean_ctor_get(x_136, 0); +lean_inc(x_137); +x_138 = lean_unbox(x_137); +lean_dec(x_137); +if (x_138 == 0) +{ +lean_object* x_139; lean_object* x_140; lean_object* x_141; uint8_t x_142; +lean_dec(x_132); +x_139 = lean_ctor_get(x_136, 1); +lean_inc(x_139); +lean_dec(x_136); +lean_inc(x_133); +x_140 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_133, x_139); +x_141 = lean_ctor_get(x_140, 0); +lean_inc(x_141); +x_142 = lean_unbox(x_141); +if (x_142 == 0) +{ +uint8_t x_143; +lean_dec(x_133); +lean_dec(x_2); +x_143 = !lean_is_exclusive(x_140); +if (x_143 == 0) +{ +lean_object* x_144; +x_144 = lean_ctor_get(x_140, 0); +lean_dec(x_144); +return x_140; +} +else +{ +lean_object* x_145; lean_object* x_146; +x_145 = lean_ctor_get(x_140, 1); +lean_inc(x_145); +lean_dec(x_140); +x_146 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_146, 0, x_141); +lean_ctor_set(x_146, 1, x_145); +return x_146; +} +} +else +{ +lean_object* x_147; +lean_dec(x_141); +x_147 = lean_ctor_get(x_140, 1); +lean_inc(x_147); +lean_dec(x_140); +x_3 = x_133; +x_4 = x_147; +goto _start; +} +} +else +{ +lean_object* x_149; lean_object* x_150; lean_object* x_151; uint8_t x_152; +x_149 = lean_ctor_get(x_136, 1); +lean_inc(x_149); +lean_dec(x_136); +lean_inc(x_2); +x_150 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__81(x_1, x_2, x_132, x_149); +x_151 = lean_ctor_get(x_150, 0); +lean_inc(x_151); +x_152 = lean_unbox(x_151); +if (x_152 == 0) +{ +lean_object* x_153; lean_object* x_154; lean_object* x_155; uint8_t x_156; +lean_dec(x_151); +x_153 = lean_ctor_get(x_150, 1); +lean_inc(x_153); +lean_dec(x_150); +lean_inc(x_133); +x_154 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_133, x_153); +x_155 = lean_ctor_get(x_154, 0); +lean_inc(x_155); +x_156 = lean_unbox(x_155); +if (x_156 == 0) +{ +uint8_t x_157; +lean_dec(x_133); +lean_dec(x_2); +x_157 = !lean_is_exclusive(x_154); +if (x_157 == 0) +{ +lean_object* x_158; +x_158 = lean_ctor_get(x_154, 0); +lean_dec(x_158); +return x_154; +} +else +{ +lean_object* x_159; lean_object* x_160; +x_159 = lean_ctor_get(x_154, 1); +lean_inc(x_159); +lean_dec(x_154); +x_160 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_160, 0, x_155); +lean_ctor_set(x_160, 1, x_159); +return x_160; +} +} +else +{ +lean_object* x_161; +lean_dec(x_155); +x_161 = lean_ctor_get(x_154, 1); +lean_inc(x_161); +lean_dec(x_154); +x_3 = x_133; +x_4 = x_161; +goto _start; +} +} +else +{ +uint8_t x_163; +lean_dec(x_133); +lean_dec(x_2); +x_163 = !lean_is_exclusive(x_150); +if (x_163 == 0) +{ +lean_object* x_164; +x_164 = lean_ctor_get(x_150, 0); +lean_dec(x_164); +return x_150; +} +else +{ +lean_object* x_165; lean_object* x_166; +x_165 = lean_ctor_get(x_150, 1); +lean_inc(x_165); +lean_dec(x_150); +x_166 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_166, 0, x_151); +lean_ctor_set(x_166, 1, x_165); +return x_166; +} +} +} +} +else +{ +lean_object* x_167; lean_object* x_168; +lean_dec(x_133); +lean_dec(x_132); +lean_dec(x_2); +x_167 = lean_box(x_134); +x_168 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_168, 0, x_167); +lean_ctor_set(x_168, 1, x_135); +return x_168; +} +} +} +case 10: +{ +lean_object* x_180; lean_object* x_181; lean_object* x_182; uint8_t x_183; +x_180 = lean_ctor_get(x_3, 1); +lean_inc(x_180); +lean_dec(x_3); +lean_inc(x_180); +x_181 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_180, x_4); +x_182 = lean_ctor_get(x_181, 0); +lean_inc(x_182); +x_183 = lean_unbox(x_182); +if (x_183 == 0) +{ +uint8_t x_184; +lean_dec(x_180); +lean_dec(x_2); +x_184 = !lean_is_exclusive(x_181); +if (x_184 == 0) +{ +lean_object* x_185; +x_185 = lean_ctor_get(x_181, 0); +lean_dec(x_185); +return x_181; +} +else +{ +lean_object* x_186; lean_object* x_187; +x_186 = lean_ctor_get(x_181, 1); +lean_inc(x_186); +lean_dec(x_181); +x_187 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_187, 0, x_182); +lean_ctor_set(x_187, 1, x_186); +return x_187; +} +} +else +{ +lean_object* x_188; +lean_dec(x_182); +x_188 = lean_ctor_get(x_181, 1); +lean_inc(x_188); +lean_dec(x_181); +x_3 = x_180; +x_4 = x_188; +goto _start; +} +} +case 11: +{ +lean_object* x_190; lean_object* x_191; lean_object* x_192; uint8_t x_193; +x_190 = lean_ctor_get(x_3, 2); +lean_inc(x_190); +lean_dec(x_3); +lean_inc(x_190); +x_191 = l___private_Init_Lean_MetavarContext_6__visit_x3f(x_190, x_4); +x_192 = lean_ctor_get(x_191, 0); +lean_inc(x_192); +x_193 = lean_unbox(x_192); +if (x_193 == 0) +{ +uint8_t x_194; +lean_dec(x_190); +lean_dec(x_2); +x_194 = !lean_is_exclusive(x_191); +if (x_194 == 0) +{ +lean_object* x_195; +x_195 = lean_ctor_get(x_191, 0); +lean_dec(x_195); +return x_191; +} +else +{ +lean_object* x_196; lean_object* x_197; +x_196 = lean_ctor_get(x_191, 1); +lean_inc(x_196); +lean_dec(x_191); +x_197 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_197, 0, x_192); +lean_ctor_set(x_197, 1, x_196); +return x_197; +} +} +else +{ +lean_object* x_198; +lean_dec(x_192); +x_198 = lean_ctor_get(x_191, 1); +lean_inc(x_198); +lean_dec(x_191); +x_3 = x_190; +x_4 = x_198; +goto _start; +} +} +default: +{ +uint8_t x_200; lean_object* x_201; lean_object* x_202; +lean_dec(x_3); +lean_dec(x_2); +x_200 = 0; +x_201 = lean_box(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_4); +return x_202; +} +} +} +} +lean_object* _init_l_Nat_forMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__87___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_box(0); +x_2 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* l_Nat_forMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__87(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_6, x_7); +if (x_8 == 0) +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_9 = lean_unsigned_to_nat(1u); +x_10 = lean_nat_sub(x_6, x_9); +lean_dec(x_6); +x_11 = lean_nat_sub(x_5, x_10); +x_12 = lean_nat_sub(x_11, x_9); +lean_dec(x_11); +x_13 = l_Lean_Expr_Inhabited; +x_14 = lean_array_get(x_13, x_3, x_12); +lean_dec(x_12); +lean_inc(x_2); +x_15 = l_Lean_LocalContext_getFVar_x21(x_2, x_14); +lean_dec(x_14); +if (lean_obj_tag(x_15) == 0) +{ +lean_object* x_16; uint8_t x_17; +x_16 = lean_ctor_get(x_15, 3); +lean_inc(x_16); +x_17 = l_Lean_Expr_hasFVar(x_16); +if (x_17 == 0) +{ +uint8_t x_18; +x_18 = l_Lean_Expr_hasMVar(x_16); +if (x_18 == 0) +{ +lean_dec(x_16); +lean_dec(x_15); +x_6 = x_10; +goto _start; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; +x_20 = l_HashMap_Inhabited___closed__1; +lean_inc(x_1); +x_21 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__51(x_4, x_1, x_16, x_20); +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); +lean_dec(x_21); +x_23 = lean_unbox(x_22); +lean_dec(x_22); +if (x_23 == 0) +{ +lean_dec(x_15); +x_6 = x_10; +goto _start; +} +else +{ +lean_object* x_25; lean_object* x_26; +lean_dec(x_10); +x_25 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_25, 0, x_1); +lean_ctor_set(x_25, 1, x_2); +lean_ctor_set(x_25, 2, x_3); +lean_ctor_set(x_25, 3, x_15); +x_26 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_26, 0, x_25); +return x_26; +} +} +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; +x_27 = l_HashMap_Inhabited___closed__1; +lean_inc(x_1); +x_28 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__57(x_4, x_1, x_16, x_27); +x_29 = lean_ctor_get(x_28, 0); +lean_inc(x_29); +lean_dec(x_28); +x_30 = lean_unbox(x_29); +lean_dec(x_29); +if (x_30 == 0) +{ +lean_dec(x_15); +x_6 = x_10; +goto _start; +} +else +{ +lean_object* x_32; lean_object* x_33; +lean_dec(x_10); +x_32 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_32, 0, x_1); +lean_ctor_set(x_32, 1, x_2); +lean_ctor_set(x_32, 2, x_3); +lean_ctor_set(x_32, 3, x_15); +x_33 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_33, 0, x_32); +return x_33; +} +} +} +else +{ +lean_object* x_34; lean_object* x_35; uint8_t x_36; lean_object* x_37; uint8_t x_56; +x_34 = lean_ctor_get(x_15, 3); +lean_inc(x_34); +x_35 = lean_ctor_get(x_15, 4); +lean_inc(x_35); +x_56 = l_Lean_Expr_hasFVar(x_34); +if (x_56 == 0) +{ +uint8_t x_57; +x_57 = l_Lean_Expr_hasMVar(x_34); +if (x_57 == 0) +{ +uint8_t x_58; lean_object* x_59; +lean_dec(x_34); +x_58 = 0; +x_59 = l_HashMap_Inhabited___closed__1; +x_36 = x_58; +x_37 = x_59; +goto block_55; +} +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_1); +x_61 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__75(x_4, x_1, x_34, x_60); +x_62 = lean_ctor_get(x_61, 0); +lean_inc(x_62); +x_63 = lean_ctor_get(x_61, 1); +lean_inc(x_63); +lean_dec(x_61); +x_64 = lean_unbox(x_62); +lean_dec(x_62); +x_36 = x_64; +x_37 = x_63; +goto block_55; +} +} +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_1); +x_66 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__81(x_4, x_1, x_34, x_65); +x_67 = lean_ctor_get(x_66, 0); +lean_inc(x_67); +x_68 = lean_ctor_get(x_66, 1); +lean_inc(x_68); +lean_dec(x_66); +x_69 = lean_unbox(x_67); +lean_dec(x_67); +x_36 = x_69; +x_37 = x_68; +goto block_55; +} +block_55: +{ +if (x_36 == 0) +{ +uint8_t x_38; +x_38 = l_Lean_Expr_hasFVar(x_35); +if (x_38 == 0) +{ +uint8_t x_39; +x_39 = l_Lean_Expr_hasMVar(x_35); +if (x_39 == 0) +{ +lean_dec(x_37); +lean_dec(x_35); +lean_dec(x_15); +x_6 = x_10; +goto _start; +} +else +{ +lean_object* x_41; lean_object* x_42; uint8_t x_43; +lean_inc(x_1); +x_41 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__63(x_4, x_1, x_35, x_37); +x_42 = lean_ctor_get(x_41, 0); +lean_inc(x_42); +lean_dec(x_41); +x_43 = lean_unbox(x_42); +lean_dec(x_42); +if (x_43 == 0) +{ +lean_dec(x_15); +x_6 = x_10; +goto _start; +} +else +{ +lean_object* x_45; lean_object* x_46; +lean_dec(x_10); +x_45 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_45, 0, x_1); +lean_ctor_set(x_45, 1, x_2); +lean_ctor_set(x_45, 2, x_3); +lean_ctor_set(x_45, 3, x_15); +x_46 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_46, 0, x_45); +return x_46; +} +} +} +else +{ +lean_object* x_47; lean_object* x_48; uint8_t x_49; +lean_inc(x_1); +x_47 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__69(x_4, x_1, x_35, x_37); +x_48 = lean_ctor_get(x_47, 0); +lean_inc(x_48); +lean_dec(x_47); +x_49 = lean_unbox(x_48); +lean_dec(x_48); +if (x_49 == 0) +{ +lean_dec(x_15); +x_6 = x_10; +goto _start; +} +else +{ +lean_object* x_51; lean_object* x_52; +lean_dec(x_10); +x_51 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_51, 0, x_1); +lean_ctor_set(x_51, 1, x_2); +lean_ctor_set(x_51, 2, x_3); +lean_ctor_set(x_51, 3, x_15); +x_52 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_52, 0, x_51); +return x_52; +} +} +} +else +{ +lean_object* x_53; lean_object* x_54; +lean_dec(x_37); +lean_dec(x_35); +lean_dec(x_10); +x_53 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_53, 0, x_1); +lean_ctor_set(x_53, 1, x_2); +lean_ctor_set(x_53, 2, x_3); +lean_ctor_set(x_53, 3, x_15); +x_54 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_54, 0, x_53); +return x_54; +} +} +} +} +else +{ +lean_object* x_70; +lean_dec(x_6); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_70 = l_Nat_forMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__87___closed__1; +return x_70; +} +} +} +lean_object* l_Nat_forMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__88(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_5, 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; uint8_t x_15; uint8_t x_16; +x_8 = lean_unsigned_to_nat(1u); +x_9 = lean_nat_sub(x_5, x_8); +lean_dec(x_5); +x_10 = lean_nat_sub(x_4, x_9); +x_11 = lean_nat_sub(x_10, x_8); +lean_dec(x_10); +x_12 = l_Lean_Expr_Inhabited; +x_13 = lean_array_get(x_12, x_3, x_11); +lean_inc(x_2); +x_14 = l_Lean_LocalContext_getFVar_x21(x_2, x_13); +x_15 = l_Lean_LocalDecl_binderInfo(x_14); +x_16 = l_Lean_BinderInfo_isAuxDecl(x_15); +if (x_16 == 0) +{ +lean_object* x_17; +lean_dec(x_14); +lean_inc(x_11); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +x_17 = l_Nat_forMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__87(x_1, x_2, x_3, x_13, x_11, x_11); +lean_dec(x_11); +lean_dec(x_13); +if (lean_obj_tag(x_17) == 0) +{ +uint8_t x_18; +lean_dec(x_9); +lean_dec(x_3); +lean_dec(x_2); +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_dec(x_17); +x_5 = x_9; +goto _start; +} +} +else +{ +lean_object* x_22; lean_object* x_23; +lean_dec(x_13); +lean_dec(x_11); +lean_dec(x_9); +x_22 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_22, 0, x_1); +lean_ctor_set(x_22, 1, x_2); +lean_ctor_set(x_22, 2, x_3); +lean_ctor_set(x_22, 3, x_14); +x_23 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_23, 0, x_22); +return x_23; +} +} +else +{ +lean_object* x_24; +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_24 = l_Nat_forMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__87___closed__1; +return x_24; +} +} +} +lean_object* l___private_Init_Lean_MetavarContext_10__collectDeps(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4) { +_start: +{ +lean_object* x_5; lean_object* x_6; uint8_t x_7; +x_5 = lean_array_get_size(x_3); +x_6 = lean_unsigned_to_nat(0u); +x_7 = lean_nat_dec_eq(x_5, x_6); +if (x_7 == 0) +{ +uint8_t x_8; +if (x_4 == 0) +{ +uint8_t x_22; +x_22 = 0; +x_8 = x_22; +goto block_21; +} +else +{ +uint8_t x_23; +x_23 = 1; +x_8 = x_23; +goto block_21; +} +block_21: +{ +lean_object* x_9; +if (x_8 == 0) +{ +lean_object* x_16; +x_16 = lean_mk_empty_array_with_capacity(x_5); +x_9 = x_16; +goto block_15; +} +else +{ +lean_object* x_17; +lean_inc(x_5); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +x_17 = l_Nat_forMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__88(x_1, x_2, x_3, x_5, x_5); +if (lean_obj_tag(x_17) == 0) +{ +uint8_t x_18; +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +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_dec(x_17); +lean_inc(x_3); +x_9 = x_3; +goto block_15; +} +} +block_15: +{ +if (x_8 == 0) +{ +lean_object* x_10; lean_object* x_11; +lean_inc(x_2); +x_10 = l___private_Init_Lean_MetavarContext_9__getLocalDeclWithSmallestIdx(x_2, x_3); +lean_inc(x_10); +lean_inc(x_2); +x_11 = l_Lean_LocalContext_foldlFromM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__40(x_1, x_2, x_3, x_4, x_5, x_10, x_2, x_9, x_10); +lean_dec(x_10); +lean_dec(x_2); +return x_11; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = l_Array_back___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__50(x_3); +lean_inc(x_2); +x_13 = l_Lean_LocalContext_getFVar_x21(x_2, x_12); +lean_dec(x_12); +lean_inc(x_13); +lean_inc(x_2); +x_14 = l_Lean_LocalContext_foldlFromM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__40(x_1, x_2, x_3, x_4, x_5, x_13, x_2, x_9, x_13); +lean_dec(x_13); +lean_dec(x_2); +return x_14; +} +} +} +} +else +{ +lean_object* x_24; +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_24 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_24, 0, x_3); +return x_24; +} +} +} lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { @@ -22979,11 +30403,11 @@ x_7 = lean_box(x_6); return x_7; } } -lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___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* l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__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 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__2(x_1, x_2, x_3, x_4, x_5); +x_6 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__5(x_1, x_2, x_3, x_4, x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -23005,6 +30429,17 @@ x_7 = lean_box(x_6); return x_7; } } +lean_object* l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_10__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_anyMAux___main___at___private_Init_Lean_MetavarContext_10__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_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { @@ -23018,22 +30453,31 @@ x_7 = lean_box(x_6); return x_7; } } -lean_object* l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__5___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__3___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_10__collectDeps___spec__5(x_1, x_2); +x_3 = l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__3(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_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__2(x_1, x_2, x_3, x_4); +lean_dec(x_1); +return x_5; +} +} +lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__11___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 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__8(x_1, x_2, x_3, x_4, x_5); +x_6 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__11(x_1, x_2, x_3, x_4, x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -23042,26 +30486,6 @@ x_7 = lean_box(x_6); return x_7; } } -lean_object* l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_10__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_10__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_8__dep___main___at___private_Init_Lean_MetavarContext_10__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_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__3(x_1, x_2, x_3, x_4); -lean_dec(x_1); -return x_5; -} -} lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__12___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { @@ -23075,6 +30499,17 @@ x_7 = lean_box(x_6); return x_7; } } +lean_object* l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_10__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_anyMAux___main___at___private_Init_Lean_MetavarContext_10__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_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__13___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { @@ -23088,22 +30523,31 @@ x_7 = lean_box(x_6); return x_7; } } -lean_object* l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__11___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_10__collectDeps___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___private_Init_Lean_MetavarContext_10__collectDeps___spec__11(x_1, x_2); +x_3 = l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_10__collectDeps___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_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__14___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__8(x_1, x_2, x_3, x_4); +lean_dec(x_1); +return x_5; +} +} +lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__17___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 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__14(x_1, x_2, x_3, x_4, x_5); +x_6 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__17(x_1, x_2, x_3, x_4, x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -23112,26 +30556,6 @@ x_7 = lean_box(x_6); return x_7; } } -lean_object* l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_10__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_10__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_8__dep___main___at___private_Init_Lean_MetavarContext_10__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_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__9(x_1, x_2, x_3, x_4); -lean_dec(x_1); -return x_5; -} -} lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__18___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { @@ -23145,6 +30569,17 @@ x_7 = lean_box(x_6); return x_7; } } +lean_object* l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_10__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_anyMAux___main___at___private_Init_Lean_MetavarContext_10__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_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__19___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { @@ -23158,22 +30593,31 @@ x_7 = lean_box(x_6); return x_7; } } -lean_object* l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__17___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_10__collectDeps___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___private_Init_Lean_MetavarContext_10__collectDeps___spec__17(x_1, x_2); +x_3 = l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_10__collectDeps___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_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__20___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__14___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_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__14(x_1, x_2, x_3, x_4); +lean_dec(x_1); +return x_5; +} +} +lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__23___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 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__20(x_1, x_2, x_3, x_4, x_5); +x_6 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__23(x_1, x_2, x_3, x_4, x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -23182,26 +30626,6 @@ x_7 = lean_box(x_6); return x_7; } } -lean_object* l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_10__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_10__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_8__dep___main___at___private_Init_Lean_MetavarContext_10__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_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__15(x_1, x_2, x_3, x_4); -lean_dec(x_1); -return x_5; -} -} lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__24___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { @@ -23215,6 +30639,17 @@ x_7 = lean_box(x_6); return x_7; } } +lean_object* l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_10__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_anyMAux___main___at___private_Init_Lean_MetavarContext_10__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_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__25___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { @@ -23228,22 +30663,31 @@ x_7 = lean_box(x_6); return x_7; } } -lean_object* l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__23___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_10__collectDeps___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___private_Init_Lean_MetavarContext_10__collectDeps___spec__23(x_1, x_2); +x_3 = l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_10__collectDeps___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_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__26___boxed(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_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__20___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_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__20(x_1, x_2, x_3, x_4); +lean_dec(x_1); +return x_5; +} +} +lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__29___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 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__26(x_1, x_2, x_3, x_4, x_5); +x_6 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__29(x_1, x_2, x_3, x_4, x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -23252,26 +30696,6 @@ x_7 = lean_box(x_6); return x_7; } } -lean_object* l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_10__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_10__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_8__dep___main___at___private_Init_Lean_MetavarContext_10__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_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__21(x_1, x_2, x_3, x_4); -lean_dec(x_1); -return x_5; -} -} lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__30___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { @@ -23285,6 +30709,17 @@ x_7 = lean_box(x_6); return x_7; } } +lean_object* l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_10__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_anyMAux___main___at___private_Init_Lean_MetavarContext_10__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_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__31___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { @@ -23298,22 +30733,31 @@ x_7 = lean_box(x_6); return x_7; } } -lean_object* l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__29___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_10__collectDeps___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___private_Init_Lean_MetavarContext_10__collectDeps___spec__29(x_1, x_2); +x_3 = l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_10__collectDeps___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_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__32___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__26___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_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__26(x_1, x_2, x_3, x_4); +lean_dec(x_1); +return x_5; +} +} +lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__35___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 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__32(x_1, x_2, x_3, x_4, x_5); +x_6 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__35(x_1, x_2, x_3, x_4, x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -23322,26 +30766,6 @@ x_7 = lean_box(x_6); return x_7; } } -lean_object* l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_10__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_10__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_8__dep___main___at___private_Init_Lean_MetavarContext_10__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_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__27(x_1, x_2, x_3, x_4); -lean_dec(x_1); -return x_5; -} -} lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__36___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { @@ -23355,6 +30779,17 @@ x_7 = lean_box(x_6); return x_7; } } +lean_object* l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_10__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_anyMAux___main___at___private_Init_Lean_MetavarContext_10__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_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__37___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { @@ -23368,17 +30803,26 @@ x_7 = lean_box(x_6); return x_7; } } -lean_object* l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__35___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_10__collectDeps___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___private_Init_Lean_MetavarContext_10__collectDeps___spec__35(x_1, x_2); +x_3 = l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_10__collectDeps___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___private_Init_Lean_MetavarContext_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__32___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_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__32(x_1, x_2, x_3, x_4); +lean_dec(x_1); +return x_5; +} +} lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__38___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { @@ -23392,34 +30836,17 @@ x_7 = lean_box(x_6); return x_7; } } -lean_object* l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__34___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__39___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_3; lean_object* x_4; -x_3 = l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_10__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_8__dep___main___at___private_Init_Lean_MetavarContext_10__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_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__33(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_10__collectDeps___spec__43___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_10__collectDeps___spec__43___rarg(x_1, x_2, x_3, x_4, x_5); +uint8_t x_6; lean_object* x_7; +x_6 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__39(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -return x_6; +lean_dec(x_1); +x_7 = lean_box(x_6); +return x_7; } } lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__44___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { @@ -23432,15 +30859,6 @@ lean_dec(x_2); return x_6; } } -lean_object* l_PersistentArray_foldlMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__42___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_10__collectDeps___spec__42___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_10__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: { @@ -23451,6 +30869,15 @@ lean_dec(x_2); return x_6; } } +lean_object* l_PersistentArray_foldlMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__43___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_10__collectDeps___spec__43___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_10__collectDeps___spec__46___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { @@ -23461,7 +30888,17 @@ lean_dec(x_2); return x_6; } } -lean_object* l_PersistentArray_foldlFromMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__41___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_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__47___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_10__collectDeps___spec__47___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_10__collectDeps___spec__42___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; @@ -23469,21 +30906,11 @@ 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_10__collectDeps___spec__41___rarg(x_1, x_2, x_6, x_7, x_5); +x_8 = l_PersistentArray_foldlFromMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__42___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_10__collectDeps___spec__47___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_10__collectDeps___spec__47___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_10__collectDeps___spec__48___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { @@ -23494,33 +30921,506 @@ lean_dec(x_1); return x_6; } } -lean_object* l_PersistentArray_foldlFromM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__40___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__49___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_10__collectDeps___spec__49___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_10__collectDeps___spec__41___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_10__collectDeps___spec__40___rarg(x_1, x_2, x_3, x_4); +x_5 = l_PersistentArray_foldlFromM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__41___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_10__collectDeps___spec__39___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_Lean_LocalContext_foldlFromM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__40___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: +{ +uint8_t x_9; lean_object* x_10; +x_9 = lean_unbox(x_4); +lean_dec(x_4); +x_10 = l_Lean_LocalContext_foldlFromM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__40___lambda__1(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); +lean_dec(x_6); +lean_dec(x_5); +return x_10; +} +} +lean_object* l_Lean_LocalContext_foldlFromM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__40___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; lean_object* x_11; +x_10 = lean_unbox(x_4); +lean_dec(x_4); +x_11 = l_Lean_LocalContext_foldlFromM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__40(x_1, x_2, x_3, x_10, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_9); +lean_dec(x_7); +return x_11; +} +} +lean_object* l_Array_back___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__50___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Array_back___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__50(x_1); +lean_dec(x_1); +return x_2; +} +} +lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__54___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 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__54(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_7 = lean_box(x_6); +return x_7; +} +} +lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__55___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 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__55(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_7 = lean_box(x_6); +return x_7; +} +} +lean_object* l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_10__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_10__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_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__56___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 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__56(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_7 = lean_box(x_6); +return x_7; +} +} +lean_object* l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_10__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_10__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_8__dep___main___at___private_Init_Lean_MetavarContext_10__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_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__51(x_1, x_2, x_3, x_4); +lean_dec(x_1); +return x_5; +} +} +lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__60___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 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__60(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_7 = lean_box(x_6); +return x_7; +} +} +lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__61___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 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__61(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_7 = lean_box(x_6); +return x_7; +} +} +lean_object* l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__59___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_10__collectDeps___spec__59(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_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__62___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 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__62(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_7 = lean_box(x_6); +return x_7; +} +} +lean_object* l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__58___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_10__collectDeps___spec__58(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_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__57___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_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__57(x_1, x_2, x_3, x_4); +lean_dec(x_1); +return x_5; +} +} +lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__66___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 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__66(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_7 = lean_box(x_6); +return x_7; +} +} +lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___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 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__67(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_7 = lean_box(x_6); +return x_7; +} +} +lean_object* l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__65___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_10__collectDeps___spec__65(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_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__68___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 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__68(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_7 = lean_box(x_6); +return x_7; +} +} +lean_object* l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__64___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_10__collectDeps___spec__64(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_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__63___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_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__63(x_1, x_2, x_3, x_4); +lean_dec(x_1); +return x_5; +} +} +lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__72___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 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__72(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_7 = lean_box(x_6); +return x_7; +} +} +lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__73___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 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__73(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_7 = lean_box(x_6); +return x_7; +} +} +lean_object* l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__71___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_10__collectDeps___spec__71(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_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__74___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 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__74(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_7 = lean_box(x_6); +return x_7; +} +} +lean_object* l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__70___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_10__collectDeps___spec__70(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_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__69___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_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__69(x_1, x_2, x_3, x_4); +lean_dec(x_1); +return x_5; +} +} +lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__78___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 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__78(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_7 = lean_box(x_6); +return x_7; +} +} +lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__79___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 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__79(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_7 = lean_box(x_6); +return x_7; +} +} +lean_object* l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__77___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_10__collectDeps___spec__77(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_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__80___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 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__80(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_7 = lean_box(x_6); +return x_7; +} +} +lean_object* l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__76___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_10__collectDeps___spec__76(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_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__75___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_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__75(x_1, x_2, x_3, x_4); +lean_dec(x_1); +return x_5; +} +} +lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__84___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 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__84(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_7 = lean_box(x_6); +return x_7; +} +} +lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__85___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 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__85(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_7 = lean_box(x_6); +return x_7; +} +} +lean_object* l_PersistentArray_anyMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__83___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_10__collectDeps___spec__83(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_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__86___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 = l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__86(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_7 = lean_box(x_6); +return x_7; +} +} +lean_object* l_PersistentArray_anyM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__82___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_10__collectDeps___spec__82(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_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__81___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_8__dep___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__81(x_1, x_2, x_3, x_4); +lean_dec(x_1); +return x_5; +} +} +lean_object* l_Nat_forMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__87___boxed(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_10__collectDeps___spec__39___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Nat_forMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__87(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); lean_dec(x_4); return x_7; } } -lean_object* l_Lean_LocalContext_foldlFromM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__39___boxed(lean_object* x_1, lean_object* 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_forMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__88___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_8; -x_8 = l_Lean_LocalContext_foldlFromM___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__39(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* x_6; +x_6 = l_Nat_forMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__88(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +return x_6; +} +} +lean_object* l___private_Init_Lean_MetavarContext_10__collectDeps___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_4); +lean_dec(x_4); +x_6 = l___private_Init_Lean_MetavarContext_10__collectDeps(x_1, x_2, x_3, x_5); +return x_6; } } lean_object* l___private_Init_Data_Array_Basic_3__iterateRevMAux___main___at___private_Init_Lean_MetavarContext_11__reduceLocalContext___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { @@ -23579,152 +31479,163 @@ lean_dec(x_2); return x_3; } } -lean_object* l___private_Init_Lean_MetavarContext_12__visit(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l___private_Init_Lean_MetavarContext_12__visit(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4) { _start: { -uint8_t x_4; -x_4 = l_Lean_Expr_hasMVar(x_2); -if (x_4 == 0) +uint8_t x_5; +x_5 = l_Lean_Expr_hasMVar(x_2); +if (x_5 == 0) { -lean_object* x_5; +lean_object* x_6; lean_dec(x_1); -x_5 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_5, 0, x_2); -lean_ctor_set(x_5, 1, x_3); -return x_5; +x_6 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_6, 0, x_2); +lean_ctor_set(x_6, 1, x_4); +return x_6; } else { -lean_object* x_6; lean_object* x_7; -x_6 = lean_ctor_get(x_3, 2); -lean_inc(x_6); -x_7 = l_HashMapImp_find_x3f___at___private_Init_Lean_MetavarContext_2__visit___spec__1(x_6, x_2); -lean_dec(x_6); -if (lean_obj_tag(x_7) == 0) -{ -lean_object* x_8; -lean_inc(x_2); -x_8 = lean_apply_2(x_1, x_2, x_3); +lean_object* x_7; lean_object* x_8; +x_7 = lean_ctor_get(x_4, 2); +lean_inc(x_7); +x_8 = l_HashMapImp_find_x3f___at___private_Init_Lean_MetavarContext_2__visit___spec__1(x_7, x_2); +lean_dec(x_7); if (lean_obj_tag(x_8) == 0) { -uint8_t x_9; -x_9 = !lean_is_exclusive(x_8); -if (x_9 == 0) +lean_object* x_9; lean_object* x_10; +x_9 = lean_box(x_3); +lean_inc(x_2); +x_10 = lean_apply_3(x_1, x_2, x_9, x_4); +if (lean_obj_tag(x_10) == 0) { -lean_object* x_10; uint8_t x_11; -x_10 = lean_ctor_get(x_8, 1); +uint8_t x_11; x_11 = !lean_is_exclusive(x_10); if (x_11 == 0) { -lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_12 = lean_ctor_get(x_8, 0); -x_13 = lean_ctor_get(x_10, 2); -lean_inc(x_12); -x_14 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_2__visit___spec__3(x_13, x_2, x_12); -lean_ctor_set(x_10, 2, x_14); -return x_8; +lean_object* x_12; uint8_t x_13; +x_12 = lean_ctor_get(x_10, 1); +x_13 = !lean_is_exclusive(x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_ctor_get(x_10, 0); +x_15 = lean_ctor_get(x_12, 2); +lean_inc(x_14); +x_16 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_2__visit___spec__3(x_15, x_2, x_14); +lean_ctor_set(x_12, 2, x_16); +return x_10; } else { -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_15 = lean_ctor_get(x_8, 0); -x_16 = lean_ctor_get(x_10, 0); -x_17 = lean_ctor_get(x_10, 1); -x_18 = lean_ctor_get(x_10, 2); +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_17 = lean_ctor_get(x_10, 0); +x_18 = lean_ctor_get(x_12, 0); +x_19 = lean_ctor_get(x_12, 1); +x_20 = lean_ctor_get(x_12, 2); +lean_inc(x_20); +lean_inc(x_19); lean_inc(x_18); +lean_dec(x_12); lean_inc(x_17); -lean_inc(x_16); -lean_dec(x_10); -lean_inc(x_15); -x_19 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_2__visit___spec__3(x_18, x_2, x_15); -x_20 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_20, 0, x_16); -lean_ctor_set(x_20, 1, x_17); -lean_ctor_set(x_20, 2, x_19); -lean_ctor_set(x_8, 1, x_20); -return x_8; +x_21 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_2__visit___spec__3(x_20, x_2, x_17); +x_22 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_22, 0, x_18); +lean_ctor_set(x_22, 1, x_19); +lean_ctor_set(x_22, 2, x_21); +lean_ctor_set(x_10, 1, x_22); +return x_10; } } else { -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_21 = lean_ctor_get(x_8, 1); -x_22 = lean_ctor_get(x_8, 0); -lean_inc(x_21); -lean_inc(x_22); -lean_dec(x_8); -x_23 = lean_ctor_get(x_21, 0); +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_23 = lean_ctor_get(x_10, 1); +x_24 = lean_ctor_get(x_10, 0); lean_inc(x_23); -x_24 = lean_ctor_get(x_21, 1); lean_inc(x_24); -x_25 = lean_ctor_get(x_21, 2); +lean_dec(x_10); +x_25 = lean_ctor_get(x_23, 0); lean_inc(x_25); -if (lean_is_exclusive(x_21)) { - lean_ctor_release(x_21, 0); - lean_ctor_release(x_21, 1); - lean_ctor_release(x_21, 2); - x_26 = x_21; +x_26 = lean_ctor_get(x_23, 1); +lean_inc(x_26); +x_27 = lean_ctor_get(x_23, 2); +lean_inc(x_27); +if (lean_is_exclusive(x_23)) { + lean_ctor_release(x_23, 0); + lean_ctor_release(x_23, 1); + lean_ctor_release(x_23, 2); + x_28 = x_23; } else { - lean_dec_ref(x_21); - x_26 = lean_box(0); + lean_dec_ref(x_23); + x_28 = lean_box(0); } -lean_inc(x_22); -x_27 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_2__visit___spec__3(x_25, x_2, x_22); -if (lean_is_scalar(x_26)) { - x_28 = lean_alloc_ctor(0, 3, 0); +lean_inc(x_24); +x_29 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_2__visit___spec__3(x_27, x_2, x_24); +if (lean_is_scalar(x_28)) { + x_30 = lean_alloc_ctor(0, 3, 0); } else { - x_28 = x_26; + x_30 = x_28; } -lean_ctor_set(x_28, 0, x_23); -lean_ctor_set(x_28, 1, x_24); -lean_ctor_set(x_28, 2, x_27); -x_29 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_29, 0, x_22); -lean_ctor_set(x_29, 1, x_28); -return x_29; +lean_ctor_set(x_30, 0, x_25); +lean_ctor_set(x_30, 1, x_26); +lean_ctor_set(x_30, 2, x_29); +x_31 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_31, 0, x_24); +lean_ctor_set(x_31, 1, x_30); +return x_31; } } else { -uint8_t x_30; +uint8_t x_32; lean_dec(x_2); -x_30 = !lean_is_exclusive(x_8); -if (x_30 == 0) +x_32 = !lean_is_exclusive(x_10); +if (x_32 == 0) { -return x_8; +return x_10; } else { -lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_31 = lean_ctor_get(x_8, 0); -x_32 = lean_ctor_get(x_8, 1); -lean_inc(x_32); -lean_inc(x_31); -lean_dec(x_8); -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_dec(x_2); -lean_dec(x_1); -x_34 = lean_ctor_get(x_7, 0); +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_10, 0); +x_34 = lean_ctor_get(x_10, 1); lean_inc(x_34); -lean_dec(x_7); -x_35 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_35, 0, x_34); -lean_ctor_set(x_35, 1, x_3); +lean_inc(x_33); +lean_dec(x_10); +x_35 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_35, 0, x_33); +lean_ctor_set(x_35, 1, x_34); return x_35; } } } +else +{ +lean_object* x_36; lean_object* x_37; +lean_dec(x_2); +lean_dec(x_1); +x_36 = lean_ctor_get(x_8, 0); +lean_inc(x_36); +lean_dec(x_8); +x_37 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set(x_37, 1, x_4); +return x_37; } -lean_object* l___private_Init_Lean_MetavarContext_13__getMCtx(lean_object* x_1) { +} +} +} +lean_object* l___private_Init_Lean_MetavarContext_12__visit___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_12__visit(x_1, x_2, x_5, x_4); +return x_6; +} +} +lean_object* l___private_Init_Lean_MetavarContext_13__getMCtx___rarg(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -23736,6 +31647,24 @@ lean_ctor_set(x_3, 1, x_1); return x_3; } } +lean_object* l___private_Init_Lean_MetavarContext_13__getMCtx(uint8_t x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l___private_Init_Lean_MetavarContext_13__getMCtx___rarg), 1, 0); +return x_2; +} +} +lean_object* l___private_Init_Lean_MetavarContext_13__getMCtx___boxed(lean_object* x_1) { +_start: +{ +uint8_t x_2; lean_object* x_3; +x_2 = lean_unbox(x_1); +lean_dec(x_1); +x_3 = l___private_Init_Lean_MetavarContext_13__getMCtx(x_2); +return x_3; +} +} lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_14__getInScope___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { @@ -23806,195 +31735,197 @@ lean_dec(x_2); return x_3; } } -lean_object* l___private_Init_Lean_MetavarContext_15__withFreshCache___rarg(lean_object* x_1, lean_object* x_2) { +lean_object* l___private_Init_Lean_MetavarContext_15__withFreshCache___rarg(lean_object* x_1, uint8_t x_2, lean_object* x_3) { _start: { -uint8_t x_3; -x_3 = !lean_is_exclusive(x_2); -if (x_3 == 0) +uint8_t x_4; +x_4 = !lean_is_exclusive(x_3); +if (x_4 == 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) +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_5 = lean_ctor_get(x_3, 2); +x_6 = l_HashMap_Inhabited___closed__1; +lean_ctor_set(x_3, 2, x_6); +x_7 = lean_box(x_2); +x_8 = lean_apply_2(x_1, x_7, x_3); +if (lean_obj_tag(x_8) == 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); +uint8_t x_9; 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; +lean_object* x_10; uint8_t x_11; +x_10 = lean_ctor_get(x_8, 1); +x_11 = !lean_is_exclusive(x_10); +if (x_11 == 0) +{ +lean_object* x_12; +x_12 = lean_ctor_get(x_10, 2); +lean_dec(x_12); +lean_ctor_set(x_10, 2, x_5); +return x_8; } 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_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = lean_ctor_get(x_10, 0); +x_14 = lean_ctor_get(x_10, 1); lean_inc(x_14); -lean_inc(x_15); -lean_dec(x_6); -x_16 = lean_ctor_get(x_14, 0); +lean_inc(x_13); +lean_dec(x_10); +x_15 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_15, 0, x_13); +lean_ctor_set(x_15, 1, x_14); +lean_ctor_set(x_15, 2, x_5); +lean_ctor_set(x_8, 1, x_15); +return x_8; +} +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_16 = lean_ctor_get(x_8, 1); +x_17 = lean_ctor_get(x_8, 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; +lean_dec(x_8); +x_18 = lean_ctor_get(x_16, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_16, 1); +lean_inc(x_19); +if (lean_is_exclusive(x_16)) { + lean_ctor_release(x_16, 0); + lean_ctor_release(x_16, 1); + lean_ctor_release(x_16, 2); + x_20 = x_16; } else { - lean_dec_ref(x_14); - x_18 = lean_box(0); + lean_dec_ref(x_16); + x_20 = lean_box(0); } -if (lean_is_scalar(x_18)) { - x_19 = lean_alloc_ctor(0, 3, 0); +if (lean_is_scalar(x_20)) { + x_21 = lean_alloc_ctor(0, 3, 0); } else { - x_19 = x_18; + x_21 = x_20; } -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; +lean_ctor_set(x_21, 0, x_18); +lean_ctor_set(x_21, 1, x_19); +lean_ctor_set(x_21, 2, x_5); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_17); +lean_ctor_set(x_22, 1, x_21); +return x_22; } } else { -uint8_t x_21; -lean_dec(x_4); -x_21 = !lean_is_exclusive(x_6); -if (x_21 == 0) +uint8_t x_23; +lean_dec(x_5); +x_23 = !lean_is_exclusive(x_8); +if (x_23 == 0) { -return x_6; +return x_8; } 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_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_8, 0); +x_25 = lean_ctor_get(x_8, 1); 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); +lean_inc(x_24); +lean_dec(x_8); +x_26 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_26, 0, x_24); +lean_ctor_set(x_26, 1, x_25); +return x_26; } -x_34 = lean_ctor_get(x_31, 0); +} +} +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; +x_27 = lean_ctor_get(x_3, 0); +x_28 = lean_ctor_get(x_3, 1); +x_29 = lean_ctor_get(x_3, 2); +lean_inc(x_29); +lean_inc(x_28); +lean_inc(x_27); +lean_dec(x_3); +x_30 = l_HashMap_Inhabited___closed__1; +x_31 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_31, 0, x_27); +lean_ctor_set(x_31, 1, x_28); +lean_ctor_set(x_31, 2, x_30); +x_32 = lean_box(x_2); +x_33 = lean_apply_2(x_1, x_32, x_31); +if (lean_obj_tag(x_33) == 0) +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_34 = lean_ctor_get(x_33, 1); lean_inc(x_34); -x_35 = lean_ctor_get(x_31, 1); +x_35 = lean_ctor_get(x_33, 0); 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; +if (lean_is_exclusive(x_33)) { + lean_ctor_release(x_33, 0); + lean_ctor_release(x_33, 1); + x_36 = x_33; } else { - lean_dec_ref(x_31); + lean_dec_ref(x_33); x_36 = lean_box(0); } +x_37 = lean_ctor_get(x_34, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_34, 1); +lean_inc(x_38); +if (lean_is_exclusive(x_34)) { + lean_ctor_release(x_34, 0); + lean_ctor_release(x_34, 1); + lean_ctor_release(x_34, 2); + x_39 = x_34; +} else { + lean_dec_ref(x_34); + x_39 = lean_box(0); +} +if (lean_is_scalar(x_39)) { + x_40 = lean_alloc_ctor(0, 3, 0); +} else { + x_40 = x_39; +} +lean_ctor_set(x_40, 0, x_37); +lean_ctor_set(x_40, 1, x_38); +lean_ctor_set(x_40, 2, x_29); if (lean_is_scalar(x_36)) { - x_37 = lean_alloc_ctor(0, 3, 0); + x_41 = lean_alloc_ctor(0, 2, 0); } else { - x_37 = x_36; + x_41 = 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; +lean_ctor_set(x_41, 0, x_35); +lean_ctor_set(x_41, 1, x_40); +return x_41; } 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; +lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; +lean_dec(x_29); +x_42 = lean_ctor_get(x_33, 0); +lean_inc(x_42); +x_43 = lean_ctor_get(x_33, 1); +lean_inc(x_43); +if (lean_is_exclusive(x_33)) { + lean_ctor_release(x_33, 0); + lean_ctor_release(x_33, 1); + x_44 = x_33; } else { - lean_dec_ref(x_30); - x_41 = lean_box(0); + lean_dec_ref(x_33); + x_44 = lean_box(0); } -if (lean_is_scalar(x_41)) { - x_42 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_44)) { + x_45 = lean_alloc_ctor(1, 2, 0); } else { - x_42 = x_41; + x_45 = x_44; } -lean_ctor_set(x_42, 0, x_39); -lean_ctor_set(x_42, 1, x_40); -return x_42; +lean_ctor_set(x_45, 0, x_42); +lean_ctor_set(x_45, 1, x_43); +return x_45; } } } @@ -24003,264 +31934,251 @@ lean_object* l___private_Init_Lean_MetavarContext_15__withFreshCache(lean_object _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Init_Lean_MetavarContext_15__withFreshCache___rarg), 2, 0); +x_2 = lean_alloc_closure((void*)(l___private_Init_Lean_MetavarContext_15__withFreshCache___rarg___boxed), 3, 0); return x_2; } } -lean_object* l___private_Init_Lean_MetavarContext_16__abstractRangeAux(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_15__withFreshCache___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_6; -x_6 = lean_apply_2(x_1, x_4, x_5); -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; lean_object* x_9; -x_8 = lean_ctor_get(x_6, 0); -x_9 = lean_expr_abstract_range(x_8, x_3, x_2); -lean_dec(x_8); -lean_ctor_set(x_6, 0, x_9); -return x_6; -} -else -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_10 = lean_ctor_get(x_6, 0); -x_11 = lean_ctor_get(x_6, 1); -lean_inc(x_11); -lean_inc(x_10); -lean_dec(x_6); -x_12 = lean_expr_abstract_range(x_10, x_3, x_2); -lean_dec(x_10); -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; -} -} -else -{ -uint8_t x_14; -x_14 = !lean_is_exclusive(x_6); -if (x_14 == 0) -{ -return x_6; -} -else -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_15 = lean_ctor_get(x_6, 0); -x_16 = lean_ctor_get(x_6, 1); -lean_inc(x_16); -lean_inc(x_15); -lean_dec(x_6); -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___private_Init_Lean_MetavarContext_16__abstractRangeAux___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_16__abstractRangeAux(x_1, x_2, x_3, x_4, x_5); -lean_dec(x_3); +uint8_t x_4; lean_object* x_5; +x_4 = lean_unbox(x_2); lean_dec(x_2); -return x_6; +x_5 = l___private_Init_Lean_MetavarContext_15__withFreshCache___rarg(x_1, x_4, x_3); +return x_5; } } -lean_object* l_Nat_foldRevMAux___main___at___private_Init_Lean_MetavarContext_17__mkAuxMVarType___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +lean_object* l___private_Init_Lean_MetavarContext_16__abstractRangeAux(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6) { _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); +lean_object* x_7; lean_object* x_8; +x_7 = lean_box(x_5); +x_8 = lean_apply_3(x_1, x_4, x_7, x_6); +if (lean_obj_tag(x_8) == 0) +{ +uint8_t x_9; +x_9 = !lean_is_exclusive(x_8); if (x_9 == 0) { -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_10 = lean_unsigned_to_nat(1u); -x_11 = lean_nat_sub(x_5, x_10); +lean_object* x_10; lean_object* x_11; +x_10 = lean_ctor_get(x_8, 0); +x_11 = lean_expr_abstract_range(x_10, x_3, x_2); +lean_dec(x_10); +lean_ctor_set(x_8, 0, x_11); +return x_8; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_12 = lean_ctor_get(x_8, 0); +x_13 = lean_ctor_get(x_8, 1); +lean_inc(x_13); +lean_inc(x_12); +lean_dec(x_8); +x_14 = lean_expr_abstract_range(x_12, x_3, x_2); +lean_dec(x_12); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_13); +return x_15; +} +} +else +{ +uint8_t x_16; +x_16 = !lean_is_exclusive(x_8); +if (x_16 == 0) +{ +return x_8; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_17 = lean_ctor_get(x_8, 0); +x_18 = lean_ctor_get(x_8, 1); +lean_inc(x_18); +lean_inc(x_17); +lean_dec(x_8); +x_19 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_19, 0, x_17); +lean_ctor_set(x_19, 1, x_18); +return x_19; +} +} +} +} +lean_object* l___private_Init_Lean_MetavarContext_16__abstractRangeAux___boxed(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_5); lean_dec(x_5); -x_12 = l_Lean_Expr_Inhabited; -x_13 = lean_array_get(x_12, x_3, x_11); +x_8 = l___private_Init_Lean_MetavarContext_16__abstractRangeAux(x_1, x_2, x_3, x_4, x_7, x_6); +lean_dec(x_3); +lean_dec(x_2); +return x_8; +} +} +lean_object* l_Nat_foldRevMAux___main___at___private_Init_Lean_MetavarContext_17__mkAuxMVarType___spec__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, uint8_t x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; uint8_t x_10; +x_9 = lean_unsigned_to_nat(0u); +x_10 = lean_nat_dec_eq(x_5, x_9); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_11 = lean_unsigned_to_nat(1u); +x_12 = lean_nat_sub(x_5, x_11); +lean_dec(x_5); +x_13 = l_Lean_Expr_Inhabited; +x_14 = lean_array_get(x_13, x_3, x_12); lean_inc(x_2); -x_14 = l_Lean_LocalContext_getFVar_x21(x_2, x_13); -lean_dec(x_13); -if (lean_obj_tag(x_14) == 0) -{ -lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_object* x_18; -x_15 = lean_ctor_get(x_14, 2); -lean_inc(x_15); -x_16 = lean_ctor_get(x_14, 3); -lean_inc(x_16); -x_17 = lean_ctor_get_uint8(x_14, sizeof(void*)*4); +x_15 = l_Lean_LocalContext_getFVar_x21(x_2, x_14); lean_dec(x_14); -lean_inc(x_1); -x_18 = lean_apply_2(x_1, x_16, x_7); -if (lean_obj_tag(x_18) == 0) +if (lean_obj_tag(x_15) == 0) { -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -x_20 = lean_ctor_get(x_18, 1); -lean_inc(x_20); -lean_dec(x_18); -x_21 = lean_expr_abstract_range(x_19, x_11, x_3); -lean_dec(x_19); -x_22 = l_Lean_mkForall(x_15, x_17, x_21, x_6); +lean_object* x_16; lean_object* x_17; uint8_t x_18; lean_object* x_19; lean_object* x_20; +x_16 = lean_ctor_get(x_15, 2); +lean_inc(x_16); +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_5 = x_11; -x_6 = x_22; -x_7 = x_20; +x_19 = lean_box(x_7); +lean_inc(x_1); +x_20 = lean_apply_3(x_1, x_17, x_19, x_8); +if (lean_obj_tag(x_20) == 0) +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +x_23 = lean_expr_abstract_range(x_21, x_12, x_3); +lean_dec(x_21); +x_24 = l_Lean_mkForall(x_16, x_18, x_23, x_6); +lean_dec(x_16); +x_5 = x_12; +x_6 = x_24; +x_8 = x_22; goto _start; } else { -uint8_t x_24; -lean_dec(x_15); -lean_dec(x_11); +uint8_t x_26; +lean_dec(x_16); +lean_dec(x_12); lean_dec(x_6); lean_dec(x_2); lean_dec(x_1); -x_24 = !lean_is_exclusive(x_18); -if (x_24 == 0) +x_26 = !lean_is_exclusive(x_20); +if (x_26 == 0) { -return x_18; +return x_20; } else { -lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_25 = lean_ctor_get(x_18, 0); -x_26 = lean_ctor_get(x_18, 1); -lean_inc(x_26); -lean_inc(x_25); -lean_dec(x_18); -x_27 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_27, 0, x_25); -lean_ctor_set(x_27, 1, x_26); -return x_27; -} -} -} -else -{ -lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_28 = lean_ctor_get(x_14, 2); +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_20, 0); +x_28 = lean_ctor_get(x_20, 1); lean_inc(x_28); -x_29 = lean_ctor_get(x_14, 3); -lean_inc(x_29); -x_30 = lean_ctor_get(x_14, 4); +lean_inc(x_27); +lean_dec(x_20); +x_29 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +return x_29; +} +} +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_30 = lean_ctor_get(x_15, 2); lean_inc(x_30); -lean_dec(x_14); -lean_inc(x_1); -x_31 = lean_apply_2(x_1, x_29, x_7); -if (lean_obj_tag(x_31) == 0) -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_32 = lean_ctor_get(x_31, 0); +x_31 = lean_ctor_get(x_15, 3); +lean_inc(x_31); +x_32 = lean_ctor_get(x_15, 4); lean_inc(x_32); -x_33 = lean_ctor_get(x_31, 1); -lean_inc(x_33); -lean_dec(x_31); -x_34 = lean_expr_abstract_range(x_32, x_11, x_3); -lean_dec(x_32); +lean_dec(x_15); +x_33 = lean_box(x_7); lean_inc(x_1); -x_35 = lean_apply_2(x_1, x_30, x_33); -if (lean_obj_tag(x_35) == 0) +x_34 = lean_apply_3(x_1, x_31, x_33, x_8); +if (lean_obj_tag(x_34) == 0) { -lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; lean_object* x_40; lean_object* x_41; -x_36 = lean_ctor_get(x_35, 0); +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_34, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_34, 1); lean_inc(x_36); -x_37 = lean_ctor_get(x_35, 1); -lean_inc(x_37); +lean_dec(x_34); +x_37 = lean_expr_abstract_range(x_35, x_12, x_3); lean_dec(x_35); -x_38 = lean_expr_abstract_range(x_36, x_11, x_3); -lean_dec(x_36); -x_39 = 0; -lean_inc(x_34); -x_40 = l_Lean_mkLet(x_28, x_34, x_38, x_6, x_39); -x_41 = lean_box(x_4); -if (lean_obj_tag(x_41) == 2) +x_38 = lean_box(x_7); +lean_inc(x_1); +x_39 = lean_apply_3(x_1, x_32, x_38, x_36); +if (lean_obj_tag(x_39) == 0) { -lean_object* x_42; uint8_t x_43; lean_object* x_44; -x_42 = lean_expr_lift_loose_bvars(x_40, x_8, x_10); +lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; lean_object* x_44; lean_object* x_45; +x_40 = lean_ctor_get(x_39, 0); +lean_inc(x_40); +x_41 = lean_ctor_get(x_39, 1); +lean_inc(x_41); +lean_dec(x_39); +x_42 = lean_expr_abstract_range(x_40, x_12, x_3); lean_dec(x_40); x_43 = 0; -x_44 = l_Lean_mkForall(x_28, x_43, x_34, x_42); -lean_dec(x_28); -x_5 = x_11; +lean_inc(x_37); +x_44 = l_Lean_mkLet(x_30, x_37, x_42, x_6, x_43); +x_45 = lean_box(x_4); +if (lean_obj_tag(x_45) == 2) +{ +lean_object* x_46; uint8_t x_47; lean_object* x_48; +x_46 = lean_expr_lift_loose_bvars(x_44, x_9, x_11); +lean_dec(x_44); +x_47 = 0; +x_48 = l_Lean_mkForall(x_30, x_47, x_37, x_46); +lean_dec(x_30); +x_5 = x_12; +x_6 = x_48; +x_8 = x_41; +goto _start; +} +else +{ +lean_dec(x_45); +lean_dec(x_37); +lean_dec(x_30); +x_5 = x_12; x_6 = x_44; -x_7 = x_37; +x_8 = x_41; goto _start; } -else -{ -lean_dec(x_41); -lean_dec(x_34); -lean_dec(x_28); -x_5 = x_11; -x_6 = x_40; -x_7 = x_37; -goto _start; -} -} -else -{ -uint8_t x_47; -lean_dec(x_34); -lean_dec(x_28); -lean_dec(x_11); -lean_dec(x_6); -lean_dec(x_2); -lean_dec(x_1); -x_47 = !lean_is_exclusive(x_35); -if (x_47 == 0) -{ -return x_35; -} -else -{ -lean_object* x_48; lean_object* x_49; lean_object* x_50; -x_48 = lean_ctor_get(x_35, 0); -x_49 = lean_ctor_get(x_35, 1); -lean_inc(x_49); -lean_inc(x_48); -lean_dec(x_35); -x_50 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_50, 0, x_48); -lean_ctor_set(x_50, 1, x_49); -return x_50; -} -} } else { uint8_t x_51; +lean_dec(x_37); lean_dec(x_30); -lean_dec(x_28); -lean_dec(x_11); +lean_dec(x_12); lean_dec(x_6); lean_dec(x_2); lean_dec(x_1); -x_51 = !lean_is_exclusive(x_31); +x_51 = !lean_is_exclusive(x_39); if (x_51 == 0) { -return x_31; +return x_39; } else { lean_object* x_52; lean_object* x_53; lean_object* x_54; -x_52 = lean_ctor_get(x_31, 0); -x_53 = lean_ctor_get(x_31, 1); +x_52 = lean_ctor_get(x_39, 0); +x_53 = lean_ctor_get(x_39, 1); lean_inc(x_53); lean_inc(x_52); -lean_dec(x_31); +lean_dec(x_39); x_54 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_54, 0, x_52); lean_ctor_set(x_54, 1, x_53); @@ -24268,87 +32186,121 @@ return x_54; } } } +else +{ +uint8_t x_55; +lean_dec(x_32); +lean_dec(x_30); +lean_dec(x_12); +lean_dec(x_6); +lean_dec(x_2); +lean_dec(x_1); +x_55 = !lean_is_exclusive(x_34); +if (x_55 == 0) +{ +return x_34; } else { -lean_object* x_55; +lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_56 = lean_ctor_get(x_34, 0); +x_57 = lean_ctor_get(x_34, 1); +lean_inc(x_57); +lean_inc(x_56); +lean_dec(x_34); +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_5); lean_dec(x_2); lean_dec(x_1); -x_55 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_55, 0, x_6); -lean_ctor_set(x_55, 1, x_7); -return x_55; +x_59 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_59, 0, x_6); +lean_ctor_set(x_59, 1, x_8); +return x_59; } } } -lean_object* l___private_Init_Lean_MetavarContext_17__mkAuxMVarType(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___private_Init_Lean_MetavarContext_17__mkAuxMVarType(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7) { _start: { -lean_object* x_7; lean_object* x_8; -x_7 = lean_array_get_size(x_3); +lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_8 = lean_array_get_size(x_3); +x_9 = lean_box(x_6); lean_inc(x_1); -x_8 = lean_apply_2(x_1, x_5, x_6); -if (lean_obj_tag(x_8) == 0) +x_10 = lean_apply_3(x_1, x_5, x_9, x_7); +if (lean_obj_tag(x_10) == 0) { -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; -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_3); -lean_dec(x_9); -x_12 = l_Nat_foldRevMAux___main___at___private_Init_Lean_MetavarContext_17__mkAuxMVarType___spec__1(x_1, x_2, x_3, x_4, x_7, x_11, x_10); -return x_12; +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_10, 1); +lean_inc(x_12); +lean_dec(x_10); +x_13 = lean_expr_abstract_range(x_11, x_8, x_3); +lean_dec(x_11); +x_14 = l_Nat_foldRevMAux___main___at___private_Init_Lean_MetavarContext_17__mkAuxMVarType___spec__1(x_1, x_2, x_3, x_4, x_8, x_13, x_6, x_12); +return x_14; } else { -uint8_t x_13; -lean_dec(x_7); +uint8_t x_15; +lean_dec(x_8); lean_dec(x_2); lean_dec(x_1); -x_13 = !lean_is_exclusive(x_8); -if (x_13 == 0) +x_15 = !lean_is_exclusive(x_10); +if (x_15 == 0) { -return x_8; +return x_10; } else { -lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_14 = lean_ctor_get(x_8, 0); -x_15 = lean_ctor_get(x_8, 1); -lean_inc(x_15); -lean_inc(x_14); -lean_dec(x_8); -x_16 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_16, 0, x_14); -lean_ctor_set(x_16, 1, x_15); -return x_16; +lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_16 = lean_ctor_get(x_10, 0); +x_17 = lean_ctor_get(x_10, 1); +lean_inc(x_17); +lean_inc(x_16); +lean_dec(x_10); +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_Nat_foldRevMAux___main___at___private_Init_Lean_MetavarContext_17__mkAuxMVarType___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +lean_object* l_Nat_foldRevMAux___main___at___private_Init_Lean_MetavarContext_17__mkAuxMVarType___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -uint8_t x_8; lean_object* x_9; +uint8_t x_9; uint8_t x_10; lean_object* x_11; +x_9 = lean_unbox(x_4); +lean_dec(x_4); +x_10 = lean_unbox(x_7); +lean_dec(x_7); +x_11 = l_Nat_foldRevMAux___main___at___private_Init_Lean_MetavarContext_17__mkAuxMVarType___spec__1(x_1, x_2, x_3, x_9, x_5, x_6, x_10, x_8); +lean_dec(x_3); +return x_11; +} +} +lean_object* l___private_Init_Lean_MetavarContext_17__mkAuxMVarType___boxed(lean_object* x_1, 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_4); lean_dec(x_4); -x_9 = l_Nat_foldRevMAux___main___at___private_Init_Lean_MetavarContext_17__mkAuxMVarType___spec__1(x_1, x_2, x_3, x_8, x_5, x_6, x_7); +x_9 = lean_unbox(x_6); +lean_dec(x_6); +x_10 = l___private_Init_Lean_MetavarContext_17__mkAuxMVarType(x_1, x_2, x_3, x_8, x_5, x_9, x_7); lean_dec(x_3); -return x_9; -} -} -lean_object* l___private_Init_Lean_MetavarContext_17__mkAuxMVarType___boxed(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___private_Init_Lean_MetavarContext_17__mkAuxMVarType(x_1, x_2, x_3, x_7, x_5, x_6); -lean_dec(x_3); -return x_8; +return x_10; } } lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_18__mkMVarApp___spec__1(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { @@ -24446,124 +32398,126 @@ lean_dec(x_3); return x_6; } } -lean_object* l___private_Init_Lean_MetavarContext_19__mkAuxMVar(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5) { +lean_object* l___private_Init_Lean_MetavarContext_19__mkAuxMVar(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, uint8_t x_5, lean_object* x_6) { _start: { -uint8_t x_6; -x_6 = !lean_is_exclusive(x_5); -if (x_6 == 0) +uint8_t x_7; +x_7 = !lean_is_exclusive(x_6); +if (x_7 == 0) { -lean_object* x_7; uint8_t x_8; -x_7 = lean_ctor_get(x_5, 1); -x_8 = !lean_is_exclusive(x_7); -if (x_8 == 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_9; 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_5, 0); -x_10 = lean_ctor_get(x_7, 0); -x_11 = lean_ctor_get(x_7, 1); -lean_inc(x_11); -lean_inc(x_10); -x_12 = lean_name_mk_numeral(x_10, x_11); -x_13 = lean_box(0); +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_10 = lean_ctor_get(x_6, 0); +x_11 = lean_ctor_get(x_8, 0); +x_12 = lean_ctor_get(x_8, 1); lean_inc(x_12); -x_14 = lean_metavar_ctx_mk_decl(x_9, x_12, x_13, x_1, x_2, x_3, x_4); -x_15 = lean_unsigned_to_nat(1u); -x_16 = lean_nat_add(x_11, x_15); -lean_dec(x_11); -lean_ctor_set(x_7, 1, x_16); -lean_ctor_set(x_5, 0, x_14); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_12); -lean_ctor_set(x_17, 1, x_5); -return x_17; +lean_inc(x_11); +x_13 = lean_name_mk_numeral(x_11, x_12); +x_14 = lean_box(0); +lean_inc(x_13); +x_15 = lean_metavar_ctx_mk_decl(x_10, x_13, x_14, x_1, x_2, x_3, x_4); +x_16 = lean_unsigned_to_nat(1u); +x_17 = lean_nat_add(x_12, x_16); +lean_dec(x_12); +lean_ctor_set(x_8, 1, x_17); +lean_ctor_set(x_6, 0, x_15); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_13); +lean_ctor_set(x_18, 1, x_6); +return x_18; } else { -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_18 = lean_ctor_get(x_5, 0); -x_19 = lean_ctor_get(x_7, 0); -x_20 = lean_ctor_get(x_7, 1); -lean_inc(x_20); -lean_inc(x_19); -lean_dec(x_7); -lean_inc(x_20); -lean_inc(x_19); -x_21 = lean_name_mk_numeral(x_19, x_20); -x_22 = lean_box(0); +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_19 = lean_ctor_get(x_6, 0); +x_20 = lean_ctor_get(x_8, 0); +x_21 = lean_ctor_get(x_8, 1); lean_inc(x_21); -x_23 = lean_metavar_ctx_mk_decl(x_18, x_21, x_22, x_1, x_2, x_3, x_4); -x_24 = lean_unsigned_to_nat(1u); -x_25 = lean_nat_add(x_20, x_24); -lean_dec(x_20); -x_26 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_26, 0, x_19); -lean_ctor_set(x_26, 1, x_25); -lean_ctor_set(x_5, 1, x_26); -lean_ctor_set(x_5, 0, x_23); +lean_inc(x_20); +lean_dec(x_8); +lean_inc(x_21); +lean_inc(x_20); +x_22 = lean_name_mk_numeral(x_20, x_21); +x_23 = lean_box(0); +lean_inc(x_22); +x_24 = lean_metavar_ctx_mk_decl(x_19, x_22, x_23, x_1, x_2, x_3, x_4); +x_25 = lean_unsigned_to_nat(1u); +x_26 = lean_nat_add(x_21, x_25); +lean_dec(x_21); x_27 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_27, 0, x_21); -lean_ctor_set(x_27, 1, x_5); -return x_27; +lean_ctor_set(x_27, 0, x_20); +lean_ctor_set(x_27, 1, x_26); +lean_ctor_set(x_6, 1, x_27); +lean_ctor_set(x_6, 0, x_24); +x_28 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_28, 0, x_22); +lean_ctor_set(x_28, 1, x_6); +return x_28; } } else { -lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_28 = lean_ctor_get(x_5, 1); -x_29 = lean_ctor_get(x_5, 0); -x_30 = lean_ctor_get(x_5, 2); -lean_inc(x_30); -lean_inc(x_28); +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_29 = lean_ctor_get(x_6, 1); +x_30 = lean_ctor_get(x_6, 0); +x_31 = lean_ctor_get(x_6, 2); +lean_inc(x_31); lean_inc(x_29); -lean_dec(x_5); -x_31 = lean_ctor_get(x_28, 0); -lean_inc(x_31); -x_32 = lean_ctor_get(x_28, 1); +lean_inc(x_30); +lean_dec(x_6); +x_32 = lean_ctor_get(x_29, 0); lean_inc(x_32); -if (lean_is_exclusive(x_28)) { - lean_ctor_release(x_28, 0); - lean_ctor_release(x_28, 1); - x_33 = x_28; +x_33 = lean_ctor_get(x_29, 1); +lean_inc(x_33); +if (lean_is_exclusive(x_29)) { + lean_ctor_release(x_29, 0); + lean_ctor_release(x_29, 1); + x_34 = x_29; } else { - lean_dec_ref(x_28); - x_33 = lean_box(0); + lean_dec_ref(x_29); + x_34 = lean_box(0); } +lean_inc(x_33); lean_inc(x_32); -lean_inc(x_31); -x_34 = lean_name_mk_numeral(x_31, x_32); -x_35 = lean_box(0); -lean_inc(x_34); -x_36 = lean_metavar_ctx_mk_decl(x_29, x_34, x_35, x_1, x_2, x_3, x_4); -x_37 = lean_unsigned_to_nat(1u); -x_38 = lean_nat_add(x_32, x_37); -lean_dec(x_32); -if (lean_is_scalar(x_33)) { - x_39 = lean_alloc_ctor(0, 2, 0); +x_35 = lean_name_mk_numeral(x_32, x_33); +x_36 = lean_box(0); +lean_inc(x_35); +x_37 = lean_metavar_ctx_mk_decl(x_30, x_35, x_36, x_1, x_2, x_3, x_4); +x_38 = lean_unsigned_to_nat(1u); +x_39 = lean_nat_add(x_33, x_38); +lean_dec(x_33); +if (lean_is_scalar(x_34)) { + x_40 = lean_alloc_ctor(0, 2, 0); } else { - x_39 = x_33; + x_40 = x_34; } -lean_ctor_set(x_39, 0, x_31); -lean_ctor_set(x_39, 1, x_38); -x_40 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_40, 0, x_36); +lean_ctor_set(x_40, 0, x_32); lean_ctor_set(x_40, 1, x_39); -lean_ctor_set(x_40, 2, x_30); -x_41 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_41, 0, x_34); +x_41 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_41, 0, x_37); lean_ctor_set(x_41, 1, x_40); -return x_41; +lean_ctor_set(x_41, 2, x_31); +x_42 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_42, 0, x_35); +lean_ctor_set(x_42, 1, x_41); +return x_42; } } } -lean_object* l___private_Init_Lean_MetavarContext_19__mkAuxMVar___boxed(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_19__mkAuxMVar___boxed(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_6; lean_object* x_7; -x_6 = lean_unbox(x_4); +uint8_t x_7; uint8_t x_8; lean_object* x_9; +x_7 = lean_unbox(x_4); lean_dec(x_4); -x_7 = l___private_Init_Lean_MetavarContext_19__mkAuxMVar(x_1, x_2, x_3, x_6, x_5); -return x_7; +x_8 = lean_unbox(x_5); +lean_dec(x_5); +x_9 = l___private_Init_Lean_MetavarContext_19__mkAuxMVar(x_1, x_2, x_3, x_7, x_8, x_6); +return x_9; } } uint8_t l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_20__anyDependsOn___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { @@ -26991,316 +34945,318 @@ x_5 = lean_box(x_4); return x_5; } } -lean_object* l_Array_umapMAux___main___at___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main___spec__1(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_21__elimMVarDepsApp___main___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5) { _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_6; uint8_t x_7; +x_6 = lean_array_get_size(x_3); +x_7 = lean_nat_dec_lt(x_2, x_6); +lean_dec(x_6); +if (x_7 == 0) { -lean_object* x_7; lean_object* x_8; lean_object* x_9; +lean_object* x_8; lean_object* x_9; lean_object* x_10; 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; +x_8 = l_Array_empty___closed__1; +x_9 = x_3; +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_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); -x_12 = x_11; -x_13 = lean_array_fset(x_3, x_2, x_12); -x_14 = l_Lean_Expr_hasMVar(x_10); -if (x_14 == 0) +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_11 = lean_array_fget(x_3, x_2); +x_12 = lean_box(0); +x_13 = x_12; +x_14 = lean_array_fset(x_3, x_2, x_13); +x_15 = l_Lean_Expr_hasMVar(x_11); +if (x_15 == 0) { -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_15 = lean_unsigned_to_nat(1u); -x_16 = lean_nat_add(x_2, x_15); -lean_inc(x_10); -x_17 = x_10; -lean_dec(x_10); -x_18 = lean_array_fset(x_13, x_2, x_17); +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_11); +x_18 = x_11; +lean_dec(x_11); +x_19 = lean_array_fset(x_14, x_2, x_18); lean_dec(x_2); -x_2 = x_16; -x_3 = x_18; +x_2 = x_17; +x_3 = x_19; goto _start; } else { -lean_object* x_20; lean_object* x_21; -x_20 = lean_ctor_get(x_4, 2); -lean_inc(x_20); -x_21 = l_HashMapImp_find_x3f___at___private_Init_Lean_MetavarContext_2__visit___spec__1(x_20, x_10); -lean_dec(x_20); -if (lean_obj_tag(x_21) == 0) -{ -lean_object* x_22; -lean_inc(x_1); -lean_inc(x_10); -x_22 = lean_apply_2(x_1, x_10, x_4); +lean_object* x_21; lean_object* x_22; +x_21 = lean_ctor_get(x_5, 2); +lean_inc(x_21); +x_22 = l_HashMapImp_find_x3f___at___private_Init_Lean_MetavarContext_2__visit___spec__1(x_21, x_11); +lean_dec(x_21); if (lean_obj_tag(x_22) == 0) { -lean_object* x_23; lean_object* x_24; uint8_t x_25; -x_23 = lean_ctor_get(x_22, 1); -lean_inc(x_23); -x_24 = lean_ctor_get(x_22, 0); -lean_inc(x_24); -lean_dec(x_22); -x_25 = !lean_is_exclusive(x_23); -if (x_25 == 0) +lean_object* x_23; lean_object* x_24; +x_23 = lean_box(x_4); +lean_inc(x_1); +lean_inc(x_11); +x_24 = lean_apply_3(x_1, x_11, x_23, x_5); +if (lean_obj_tag(x_24) == 0) { -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_26 = lean_ctor_get(x_23, 2); -lean_inc(x_24); -lean_inc(x_10); -x_27 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_2__visit___spec__3(x_26, x_10, x_24); -lean_ctor_set(x_23, 2, x_27); -x_28 = lean_unsigned_to_nat(1u); -x_29 = lean_nat_add(x_2, x_28); -x_30 = x_24; -lean_dec(x_10); -x_31 = lean_array_fset(x_13, x_2, x_30); +lean_object* x_25; lean_object* x_26; uint8_t x_27; +x_25 = lean_ctor_get(x_24, 1); +lean_inc(x_25); +x_26 = lean_ctor_get(x_24, 0); +lean_inc(x_26); +lean_dec(x_24); +x_27 = !lean_is_exclusive(x_25); +if (x_27 == 0) +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_28 = lean_ctor_get(x_25, 2); +lean_inc(x_26); +lean_inc(x_11); +x_29 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_2__visit___spec__3(x_28, x_11, x_26); +lean_ctor_set(x_25, 2, x_29); +x_30 = lean_unsigned_to_nat(1u); +x_31 = lean_nat_add(x_2, x_30); +x_32 = x_26; +lean_dec(x_11); +x_33 = lean_array_fset(x_14, x_2, x_32); lean_dec(x_2); -x_2 = x_29; -x_3 = x_31; -x_4 = x_23; +x_2 = x_31; +x_3 = x_33; +x_5 = x_25; goto _start; } else { -lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_33 = lean_ctor_get(x_23, 0); -x_34 = lean_ctor_get(x_23, 1); -x_35 = lean_ctor_get(x_23, 2); +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_35 = lean_ctor_get(x_25, 0); +x_36 = lean_ctor_get(x_25, 1); +x_37 = lean_ctor_get(x_25, 2); +lean_inc(x_37); +lean_inc(x_36); lean_inc(x_35); -lean_inc(x_34); -lean_inc(x_33); -lean_dec(x_23); -lean_inc(x_24); -lean_inc(x_10); -x_36 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_2__visit___spec__3(x_35, x_10, x_24); -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 = lean_unsigned_to_nat(1u); -x_39 = lean_nat_add(x_2, x_38); -x_40 = x_24; -lean_dec(x_10); -x_41 = lean_array_fset(x_13, x_2, x_40); +lean_dec(x_25); +lean_inc(x_26); +lean_inc(x_11); +x_38 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_2__visit___spec__3(x_37, x_11, x_26); +x_39 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_39, 0, x_35); +lean_ctor_set(x_39, 1, x_36); +lean_ctor_set(x_39, 2, x_38); +x_40 = lean_unsigned_to_nat(1u); +x_41 = lean_nat_add(x_2, x_40); +x_42 = x_26; +lean_dec(x_11); +x_43 = lean_array_fset(x_14, x_2, x_42); lean_dec(x_2); -x_2 = x_39; -x_3 = x_41; -x_4 = x_37; +x_2 = x_41; +x_3 = x_43; +x_5 = x_39; goto _start; } } else { -uint8_t x_43; -lean_dec(x_13); -lean_dec(x_10); +uint8_t x_45; +lean_dec(x_14); +lean_dec(x_11); lean_dec(x_2); lean_dec(x_1); -x_43 = !lean_is_exclusive(x_22); -if (x_43 == 0) +x_45 = !lean_is_exclusive(x_24); +if (x_45 == 0) { -return x_22; +return x_24; } else { -lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_44 = lean_ctor_get(x_22, 0); -x_45 = lean_ctor_get(x_22, 1); -lean_inc(x_45); -lean_inc(x_44); -lean_dec(x_22); -x_46 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_46, 0, x_44); -lean_ctor_set(x_46, 1, x_45); -return x_46; -} -} -} -else -{ -lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_47 = lean_ctor_get(x_21, 0); +lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_46 = lean_ctor_get(x_24, 0); +x_47 = lean_ctor_get(x_24, 1); lean_inc(x_47); -lean_dec(x_21); -x_48 = lean_unsigned_to_nat(1u); -x_49 = lean_nat_add(x_2, x_48); -x_50 = x_47; -lean_dec(x_10); -x_51 = lean_array_fset(x_13, x_2, x_50); +lean_inc(x_46); +lean_dec(x_24); +x_48 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_48, 0, x_46); +lean_ctor_set(x_48, 1, x_47); +return x_48; +} +} +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_49 = lean_ctor_get(x_22, 0); +lean_inc(x_49); +lean_dec(x_22); +x_50 = lean_unsigned_to_nat(1u); +x_51 = lean_nat_add(x_2, x_50); +x_52 = x_49; +lean_dec(x_11); +x_53 = lean_array_fset(x_14, x_2, x_52); lean_dec(x_2); -x_2 = x_49; -x_3 = x_51; +x_2 = x_51; +x_3 = x_53; goto _start; } } } } } -lean_object* l_Array_umapMAux___main___at___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main___spec__2(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_21__elimMVarDepsApp___main___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5) { _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_6; uint8_t x_7; +x_6 = lean_array_get_size(x_3); +x_7 = lean_nat_dec_lt(x_2, x_6); +lean_dec(x_6); +if (x_7 == 0) { -lean_object* x_7; lean_object* x_8; lean_object* x_9; +lean_object* x_8; lean_object* x_9; lean_object* x_10; 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; +x_8 = l_Array_empty___closed__1; +x_9 = x_3; +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_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); -x_12 = x_11; -x_13 = lean_array_fset(x_3, x_2, x_12); -x_14 = l_Lean_Expr_hasMVar(x_10); -if (x_14 == 0) +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_11 = lean_array_fget(x_3, x_2); +x_12 = lean_box(0); +x_13 = x_12; +x_14 = lean_array_fset(x_3, x_2, x_13); +x_15 = l_Lean_Expr_hasMVar(x_11); +if (x_15 == 0) { -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_15 = lean_unsigned_to_nat(1u); -x_16 = lean_nat_add(x_2, x_15); -lean_inc(x_10); -x_17 = x_10; -lean_dec(x_10); -x_18 = lean_array_fset(x_13, x_2, x_17); +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_11); +x_18 = x_11; +lean_dec(x_11); +x_19 = lean_array_fset(x_14, x_2, x_18); lean_dec(x_2); -x_2 = x_16; -x_3 = x_18; +x_2 = x_17; +x_3 = x_19; goto _start; } else { -lean_object* x_20; lean_object* x_21; -x_20 = lean_ctor_get(x_4, 2); -lean_inc(x_20); -x_21 = l_HashMapImp_find_x3f___at___private_Init_Lean_MetavarContext_2__visit___spec__1(x_20, x_10); -lean_dec(x_20); -if (lean_obj_tag(x_21) == 0) -{ -lean_object* x_22; -lean_inc(x_1); -lean_inc(x_10); -x_22 = lean_apply_2(x_1, x_10, x_4); +lean_object* x_21; lean_object* x_22; +x_21 = lean_ctor_get(x_5, 2); +lean_inc(x_21); +x_22 = l_HashMapImp_find_x3f___at___private_Init_Lean_MetavarContext_2__visit___spec__1(x_21, x_11); +lean_dec(x_21); if (lean_obj_tag(x_22) == 0) { -lean_object* x_23; lean_object* x_24; uint8_t x_25; -x_23 = lean_ctor_get(x_22, 1); -lean_inc(x_23); -x_24 = lean_ctor_get(x_22, 0); -lean_inc(x_24); -lean_dec(x_22); -x_25 = !lean_is_exclusive(x_23); -if (x_25 == 0) +lean_object* x_23; lean_object* x_24; +x_23 = lean_box(x_4); +lean_inc(x_1); +lean_inc(x_11); +x_24 = lean_apply_3(x_1, x_11, x_23, x_5); +if (lean_obj_tag(x_24) == 0) { -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_26 = lean_ctor_get(x_23, 2); -lean_inc(x_24); -lean_inc(x_10); -x_27 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_2__visit___spec__3(x_26, x_10, x_24); -lean_ctor_set(x_23, 2, x_27); -x_28 = lean_unsigned_to_nat(1u); -x_29 = lean_nat_add(x_2, x_28); -x_30 = x_24; -lean_dec(x_10); -x_31 = lean_array_fset(x_13, x_2, x_30); +lean_object* x_25; lean_object* x_26; uint8_t x_27; +x_25 = lean_ctor_get(x_24, 1); +lean_inc(x_25); +x_26 = lean_ctor_get(x_24, 0); +lean_inc(x_26); +lean_dec(x_24); +x_27 = !lean_is_exclusive(x_25); +if (x_27 == 0) +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_28 = lean_ctor_get(x_25, 2); +lean_inc(x_26); +lean_inc(x_11); +x_29 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_2__visit___spec__3(x_28, x_11, x_26); +lean_ctor_set(x_25, 2, x_29); +x_30 = lean_unsigned_to_nat(1u); +x_31 = lean_nat_add(x_2, x_30); +x_32 = x_26; +lean_dec(x_11); +x_33 = lean_array_fset(x_14, x_2, x_32); lean_dec(x_2); -x_2 = x_29; -x_3 = x_31; -x_4 = x_23; +x_2 = x_31; +x_3 = x_33; +x_5 = x_25; goto _start; } else { -lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_33 = lean_ctor_get(x_23, 0); -x_34 = lean_ctor_get(x_23, 1); -x_35 = lean_ctor_get(x_23, 2); +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_35 = lean_ctor_get(x_25, 0); +x_36 = lean_ctor_get(x_25, 1); +x_37 = lean_ctor_get(x_25, 2); +lean_inc(x_37); +lean_inc(x_36); lean_inc(x_35); -lean_inc(x_34); -lean_inc(x_33); -lean_dec(x_23); -lean_inc(x_24); -lean_inc(x_10); -x_36 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_2__visit___spec__3(x_35, x_10, x_24); -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 = lean_unsigned_to_nat(1u); -x_39 = lean_nat_add(x_2, x_38); -x_40 = x_24; -lean_dec(x_10); -x_41 = lean_array_fset(x_13, x_2, x_40); +lean_dec(x_25); +lean_inc(x_26); +lean_inc(x_11); +x_38 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_2__visit___spec__3(x_37, x_11, x_26); +x_39 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_39, 0, x_35); +lean_ctor_set(x_39, 1, x_36); +lean_ctor_set(x_39, 2, x_38); +x_40 = lean_unsigned_to_nat(1u); +x_41 = lean_nat_add(x_2, x_40); +x_42 = x_26; +lean_dec(x_11); +x_43 = lean_array_fset(x_14, x_2, x_42); lean_dec(x_2); -x_2 = x_39; -x_3 = x_41; -x_4 = x_37; +x_2 = x_41; +x_3 = x_43; +x_5 = x_39; goto _start; } } else { -uint8_t x_43; -lean_dec(x_13); -lean_dec(x_10); +uint8_t x_45; +lean_dec(x_14); +lean_dec(x_11); lean_dec(x_2); lean_dec(x_1); -x_43 = !lean_is_exclusive(x_22); -if (x_43 == 0) +x_45 = !lean_is_exclusive(x_24); +if (x_45 == 0) { -return x_22; +return x_24; } else { -lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_44 = lean_ctor_get(x_22, 0); -x_45 = lean_ctor_get(x_22, 1); -lean_inc(x_45); -lean_inc(x_44); -lean_dec(x_22); -x_46 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_46, 0, x_44); -lean_ctor_set(x_46, 1, x_45); -return x_46; -} -} -} -else -{ -lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_47 = lean_ctor_get(x_21, 0); +lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_46 = lean_ctor_get(x_24, 0); +x_47 = lean_ctor_get(x_24, 1); lean_inc(x_47); -lean_dec(x_21); -x_48 = lean_unsigned_to_nat(1u); -x_49 = lean_nat_add(x_2, x_48); -x_50 = x_47; -lean_dec(x_10); -x_51 = lean_array_fset(x_13, x_2, x_50); +lean_inc(x_46); +lean_dec(x_24); +x_48 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_48, 0, x_46); +lean_ctor_set(x_48, 1, x_47); +return x_48; +} +} +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_49 = lean_ctor_get(x_22, 0); +lean_inc(x_49); +lean_dec(x_22); +x_50 = lean_unsigned_to_nat(1u); +x_51 = lean_nat_add(x_2, x_50); +x_52 = x_49; +lean_dec(x_11); +x_53 = lean_array_fset(x_14, x_2, x_52); lean_dec(x_2); -x_2 = x_49; -x_3 = x_51; +x_2 = x_51; +x_3 = x_53; goto _start; } } @@ -27412,158 +35368,159 @@ goto _start; } } } -lean_object* l_Array_umapMAux___main___at___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main___spec__5(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_21__elimMVarDepsApp___main___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5) { _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_6; uint8_t x_7; +x_6 = lean_array_get_size(x_3); +x_7 = lean_nat_dec_lt(x_2, x_6); +lean_dec(x_6); +if (x_7 == 0) { -lean_object* x_7; lean_object* x_8; lean_object* x_9; +lean_object* x_8; lean_object* x_9; lean_object* x_10; 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; +x_8 = l_Array_empty___closed__1; +x_9 = x_3; +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_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); -x_12 = x_11; -x_13 = lean_array_fset(x_3, x_2, x_12); -x_14 = l_Lean_Expr_hasMVar(x_10); -if (x_14 == 0) +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_11 = lean_array_fget(x_3, x_2); +x_12 = lean_box(0); +x_13 = x_12; +x_14 = lean_array_fset(x_3, x_2, x_13); +x_15 = l_Lean_Expr_hasMVar(x_11); +if (x_15 == 0) { -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_15 = lean_unsigned_to_nat(1u); -x_16 = lean_nat_add(x_2, x_15); -lean_inc(x_10); -x_17 = x_10; -lean_dec(x_10); -x_18 = lean_array_fset(x_13, x_2, x_17); +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_11); +x_18 = x_11; +lean_dec(x_11); +x_19 = lean_array_fset(x_14, x_2, x_18); lean_dec(x_2); -x_2 = x_16; -x_3 = x_18; +x_2 = x_17; +x_3 = x_19; goto _start; } else { -lean_object* x_20; lean_object* x_21; -x_20 = lean_ctor_get(x_4, 2); -lean_inc(x_20); -x_21 = l_HashMapImp_find_x3f___at___private_Init_Lean_MetavarContext_2__visit___spec__1(x_20, x_10); -lean_dec(x_20); -if (lean_obj_tag(x_21) == 0) -{ -lean_object* x_22; -lean_inc(x_1); -lean_inc(x_10); -x_22 = lean_apply_2(x_1, x_10, x_4); +lean_object* x_21; lean_object* x_22; +x_21 = lean_ctor_get(x_5, 2); +lean_inc(x_21); +x_22 = l_HashMapImp_find_x3f___at___private_Init_Lean_MetavarContext_2__visit___spec__1(x_21, x_11); +lean_dec(x_21); if (lean_obj_tag(x_22) == 0) { -lean_object* x_23; lean_object* x_24; uint8_t x_25; -x_23 = lean_ctor_get(x_22, 1); -lean_inc(x_23); -x_24 = lean_ctor_get(x_22, 0); -lean_inc(x_24); -lean_dec(x_22); -x_25 = !lean_is_exclusive(x_23); -if (x_25 == 0) +lean_object* x_23; lean_object* x_24; +x_23 = lean_box(x_4); +lean_inc(x_1); +lean_inc(x_11); +x_24 = lean_apply_3(x_1, x_11, x_23, x_5); +if (lean_obj_tag(x_24) == 0) { -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_26 = lean_ctor_get(x_23, 2); -lean_inc(x_24); -lean_inc(x_10); -x_27 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_2__visit___spec__3(x_26, x_10, x_24); -lean_ctor_set(x_23, 2, x_27); -x_28 = lean_unsigned_to_nat(1u); -x_29 = lean_nat_add(x_2, x_28); -x_30 = x_24; -lean_dec(x_10); -x_31 = lean_array_fset(x_13, x_2, x_30); +lean_object* x_25; lean_object* x_26; uint8_t x_27; +x_25 = lean_ctor_get(x_24, 1); +lean_inc(x_25); +x_26 = lean_ctor_get(x_24, 0); +lean_inc(x_26); +lean_dec(x_24); +x_27 = !lean_is_exclusive(x_25); +if (x_27 == 0) +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_28 = lean_ctor_get(x_25, 2); +lean_inc(x_26); +lean_inc(x_11); +x_29 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_2__visit___spec__3(x_28, x_11, x_26); +lean_ctor_set(x_25, 2, x_29); +x_30 = lean_unsigned_to_nat(1u); +x_31 = lean_nat_add(x_2, x_30); +x_32 = x_26; +lean_dec(x_11); +x_33 = lean_array_fset(x_14, x_2, x_32); lean_dec(x_2); -x_2 = x_29; -x_3 = x_31; -x_4 = x_23; +x_2 = x_31; +x_3 = x_33; +x_5 = x_25; goto _start; } else { -lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_33 = lean_ctor_get(x_23, 0); -x_34 = lean_ctor_get(x_23, 1); -x_35 = lean_ctor_get(x_23, 2); +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_35 = lean_ctor_get(x_25, 0); +x_36 = lean_ctor_get(x_25, 1); +x_37 = lean_ctor_get(x_25, 2); +lean_inc(x_37); +lean_inc(x_36); lean_inc(x_35); -lean_inc(x_34); -lean_inc(x_33); -lean_dec(x_23); -lean_inc(x_24); -lean_inc(x_10); -x_36 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_2__visit___spec__3(x_35, x_10, x_24); -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 = lean_unsigned_to_nat(1u); -x_39 = lean_nat_add(x_2, x_38); -x_40 = x_24; -lean_dec(x_10); -x_41 = lean_array_fset(x_13, x_2, x_40); +lean_dec(x_25); +lean_inc(x_26); +lean_inc(x_11); +x_38 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_2__visit___spec__3(x_37, x_11, x_26); +x_39 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_39, 0, x_35); +lean_ctor_set(x_39, 1, x_36); +lean_ctor_set(x_39, 2, x_38); +x_40 = lean_unsigned_to_nat(1u); +x_41 = lean_nat_add(x_2, x_40); +x_42 = x_26; +lean_dec(x_11); +x_43 = lean_array_fset(x_14, x_2, x_42); lean_dec(x_2); -x_2 = x_39; -x_3 = x_41; -x_4 = x_37; +x_2 = x_41; +x_3 = x_43; +x_5 = x_39; goto _start; } } else { -uint8_t x_43; -lean_dec(x_13); -lean_dec(x_10); +uint8_t x_45; +lean_dec(x_14); +lean_dec(x_11); lean_dec(x_2); lean_dec(x_1); -x_43 = !lean_is_exclusive(x_22); -if (x_43 == 0) +x_45 = !lean_is_exclusive(x_24); +if (x_45 == 0) { -return x_22; +return x_24; } else { -lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_44 = lean_ctor_get(x_22, 0); -x_45 = lean_ctor_get(x_22, 1); -lean_inc(x_45); -lean_inc(x_44); -lean_dec(x_22); -x_46 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_46, 0, x_44); -lean_ctor_set(x_46, 1, x_45); -return x_46; -} -} -} -else -{ -lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_47 = lean_ctor_get(x_21, 0); +lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_46 = lean_ctor_get(x_24, 0); +x_47 = lean_ctor_get(x_24, 1); lean_inc(x_47); -lean_dec(x_21); -x_48 = lean_unsigned_to_nat(1u); -x_49 = lean_nat_add(x_2, x_48); -x_50 = x_47; -lean_dec(x_10); -x_51 = lean_array_fset(x_13, x_2, x_50); +lean_inc(x_46); +lean_dec(x_24); +x_48 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_48, 0, x_46); +lean_ctor_set(x_48, 1, x_47); +return x_48; +} +} +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_49 = lean_ctor_get(x_22, 0); +lean_inc(x_49); +lean_dec(x_22); +x_50 = lean_unsigned_to_nat(1u); +x_51 = lean_nat_add(x_2, x_50); +x_52 = x_49; +lean_dec(x_11); +x_53 = lean_array_fset(x_14, x_2, x_52); lean_dec(x_2); -x_2 = x_49; -x_3 = x_51; +x_2 = x_51; +x_3 = x_53; goto _start; } } @@ -27675,158 +35632,159 @@ goto _start; } } } -lean_object* l_Array_umapMAux___main___at___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main___spec__8(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_21__elimMVarDepsApp___main___spec__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5) { _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_6; uint8_t x_7; +x_6 = lean_array_get_size(x_3); +x_7 = lean_nat_dec_lt(x_2, x_6); +lean_dec(x_6); +if (x_7 == 0) { -lean_object* x_7; lean_object* x_8; lean_object* x_9; +lean_object* x_8; lean_object* x_9; lean_object* x_10; 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; +x_8 = l_Array_empty___closed__1; +x_9 = x_3; +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_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); -x_12 = x_11; -x_13 = lean_array_fset(x_3, x_2, x_12); -x_14 = l_Lean_Expr_hasMVar(x_10); -if (x_14 == 0) +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_11 = lean_array_fget(x_3, x_2); +x_12 = lean_box(0); +x_13 = x_12; +x_14 = lean_array_fset(x_3, x_2, x_13); +x_15 = l_Lean_Expr_hasMVar(x_11); +if (x_15 == 0) { -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_15 = lean_unsigned_to_nat(1u); -x_16 = lean_nat_add(x_2, x_15); -lean_inc(x_10); -x_17 = x_10; -lean_dec(x_10); -x_18 = lean_array_fset(x_13, x_2, x_17); +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_11); +x_18 = x_11; +lean_dec(x_11); +x_19 = lean_array_fset(x_14, x_2, x_18); lean_dec(x_2); -x_2 = x_16; -x_3 = x_18; +x_2 = x_17; +x_3 = x_19; goto _start; } else { -lean_object* x_20; lean_object* x_21; -x_20 = lean_ctor_get(x_4, 2); -lean_inc(x_20); -x_21 = l_HashMapImp_find_x3f___at___private_Init_Lean_MetavarContext_2__visit___spec__1(x_20, x_10); -lean_dec(x_20); -if (lean_obj_tag(x_21) == 0) -{ -lean_object* x_22; -lean_inc(x_1); -lean_inc(x_10); -x_22 = lean_apply_2(x_1, x_10, x_4); +lean_object* x_21; lean_object* x_22; +x_21 = lean_ctor_get(x_5, 2); +lean_inc(x_21); +x_22 = l_HashMapImp_find_x3f___at___private_Init_Lean_MetavarContext_2__visit___spec__1(x_21, x_11); +lean_dec(x_21); if (lean_obj_tag(x_22) == 0) { -lean_object* x_23; lean_object* x_24; uint8_t x_25; -x_23 = lean_ctor_get(x_22, 1); -lean_inc(x_23); -x_24 = lean_ctor_get(x_22, 0); -lean_inc(x_24); -lean_dec(x_22); -x_25 = !lean_is_exclusive(x_23); -if (x_25 == 0) +lean_object* x_23; lean_object* x_24; +x_23 = lean_box(x_4); +lean_inc(x_1); +lean_inc(x_11); +x_24 = lean_apply_3(x_1, x_11, x_23, x_5); +if (lean_obj_tag(x_24) == 0) { -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_26 = lean_ctor_get(x_23, 2); -lean_inc(x_24); -lean_inc(x_10); -x_27 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_2__visit___spec__3(x_26, x_10, x_24); -lean_ctor_set(x_23, 2, x_27); -x_28 = lean_unsigned_to_nat(1u); -x_29 = lean_nat_add(x_2, x_28); -x_30 = x_24; -lean_dec(x_10); -x_31 = lean_array_fset(x_13, x_2, x_30); +lean_object* x_25; lean_object* x_26; uint8_t x_27; +x_25 = lean_ctor_get(x_24, 1); +lean_inc(x_25); +x_26 = lean_ctor_get(x_24, 0); +lean_inc(x_26); +lean_dec(x_24); +x_27 = !lean_is_exclusive(x_25); +if (x_27 == 0) +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_28 = lean_ctor_get(x_25, 2); +lean_inc(x_26); +lean_inc(x_11); +x_29 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_2__visit___spec__3(x_28, x_11, x_26); +lean_ctor_set(x_25, 2, x_29); +x_30 = lean_unsigned_to_nat(1u); +x_31 = lean_nat_add(x_2, x_30); +x_32 = x_26; +lean_dec(x_11); +x_33 = lean_array_fset(x_14, x_2, x_32); lean_dec(x_2); -x_2 = x_29; -x_3 = x_31; -x_4 = x_23; +x_2 = x_31; +x_3 = x_33; +x_5 = x_25; goto _start; } else { -lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_33 = lean_ctor_get(x_23, 0); -x_34 = lean_ctor_get(x_23, 1); -x_35 = lean_ctor_get(x_23, 2); +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_35 = lean_ctor_get(x_25, 0); +x_36 = lean_ctor_get(x_25, 1); +x_37 = lean_ctor_get(x_25, 2); +lean_inc(x_37); +lean_inc(x_36); lean_inc(x_35); -lean_inc(x_34); -lean_inc(x_33); -lean_dec(x_23); -lean_inc(x_24); -lean_inc(x_10); -x_36 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_2__visit___spec__3(x_35, x_10, x_24); -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 = lean_unsigned_to_nat(1u); -x_39 = lean_nat_add(x_2, x_38); -x_40 = x_24; -lean_dec(x_10); -x_41 = lean_array_fset(x_13, x_2, x_40); +lean_dec(x_25); +lean_inc(x_26); +lean_inc(x_11); +x_38 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_2__visit___spec__3(x_37, x_11, x_26); +x_39 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_39, 0, x_35); +lean_ctor_set(x_39, 1, x_36); +lean_ctor_set(x_39, 2, x_38); +x_40 = lean_unsigned_to_nat(1u); +x_41 = lean_nat_add(x_2, x_40); +x_42 = x_26; +lean_dec(x_11); +x_43 = lean_array_fset(x_14, x_2, x_42); lean_dec(x_2); -x_2 = x_39; -x_3 = x_41; -x_4 = x_37; +x_2 = x_41; +x_3 = x_43; +x_5 = x_39; goto _start; } } else { -uint8_t x_43; -lean_dec(x_13); -lean_dec(x_10); +uint8_t x_45; +lean_dec(x_14); +lean_dec(x_11); lean_dec(x_2); lean_dec(x_1); -x_43 = !lean_is_exclusive(x_22); -if (x_43 == 0) +x_45 = !lean_is_exclusive(x_24); +if (x_45 == 0) { -return x_22; +return x_24; } else { -lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_44 = lean_ctor_get(x_22, 0); -x_45 = lean_ctor_get(x_22, 1); -lean_inc(x_45); -lean_inc(x_44); -lean_dec(x_22); -x_46 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_46, 0, x_44); -lean_ctor_set(x_46, 1, x_45); -return x_46; -} -} -} -else -{ -lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_47 = lean_ctor_get(x_21, 0); +lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_46 = lean_ctor_get(x_24, 0); +x_47 = lean_ctor_get(x_24, 1); lean_inc(x_47); -lean_dec(x_21); -x_48 = lean_unsigned_to_nat(1u); -x_49 = lean_nat_add(x_2, x_48); -x_50 = x_47; -lean_dec(x_10); -x_51 = lean_array_fset(x_13, x_2, x_50); +lean_inc(x_46); +lean_dec(x_24); +x_48 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_48, 0, x_46); +lean_ctor_set(x_48, 1, x_47); +return x_48; +} +} +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_49 = lean_ctor_get(x_22, 0); +lean_inc(x_49); +lean_dec(x_22); +x_50 = lean_unsigned_to_nat(1u); +x_51 = lean_nat_add(x_2, x_50); +x_52 = x_49; +lean_dec(x_11); +x_53 = lean_array_fset(x_14, x_2, x_52); lean_dec(x_2); -x_2 = x_49; -x_3 = x_51; +x_2 = x_51; +x_3 = x_53; goto _start; } } @@ -27938,2209 +35896,2213 @@ goto _start; } } } -lean_object* l_Array_umapMAux___main___at___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main___spec__11(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_21__elimMVarDepsApp___main___spec__11(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5) { _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_6; uint8_t x_7; +x_6 = lean_array_get_size(x_3); +x_7 = lean_nat_dec_lt(x_2, x_6); +lean_dec(x_6); +if (x_7 == 0) { -lean_object* x_7; lean_object* x_8; lean_object* x_9; +lean_object* x_8; lean_object* x_9; lean_object* x_10; 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; +x_8 = l_Array_empty___closed__1; +x_9 = x_3; +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_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); -x_12 = x_11; -x_13 = lean_array_fset(x_3, x_2, x_12); -x_14 = l_Lean_Expr_hasMVar(x_10); -if (x_14 == 0) +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_11 = lean_array_fget(x_3, x_2); +x_12 = lean_box(0); +x_13 = x_12; +x_14 = lean_array_fset(x_3, x_2, x_13); +x_15 = l_Lean_Expr_hasMVar(x_11); +if (x_15 == 0) { -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_15 = lean_unsigned_to_nat(1u); -x_16 = lean_nat_add(x_2, x_15); -lean_inc(x_10); -x_17 = x_10; -lean_dec(x_10); -x_18 = lean_array_fset(x_13, x_2, x_17); +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_11); +x_18 = x_11; +lean_dec(x_11); +x_19 = lean_array_fset(x_14, x_2, x_18); lean_dec(x_2); -x_2 = x_16; -x_3 = x_18; +x_2 = x_17; +x_3 = x_19; goto _start; } else { -lean_object* x_20; lean_object* x_21; -x_20 = lean_ctor_get(x_4, 2); -lean_inc(x_20); -x_21 = l_HashMapImp_find_x3f___at___private_Init_Lean_MetavarContext_2__visit___spec__1(x_20, x_10); -lean_dec(x_20); -if (lean_obj_tag(x_21) == 0) -{ -lean_object* x_22; -lean_inc(x_1); -lean_inc(x_10); -x_22 = lean_apply_2(x_1, x_10, x_4); +lean_object* x_21; lean_object* x_22; +x_21 = lean_ctor_get(x_5, 2); +lean_inc(x_21); +x_22 = l_HashMapImp_find_x3f___at___private_Init_Lean_MetavarContext_2__visit___spec__1(x_21, x_11); +lean_dec(x_21); if (lean_obj_tag(x_22) == 0) { -lean_object* x_23; lean_object* x_24; uint8_t x_25; -x_23 = lean_ctor_get(x_22, 1); -lean_inc(x_23); -x_24 = lean_ctor_get(x_22, 0); -lean_inc(x_24); -lean_dec(x_22); -x_25 = !lean_is_exclusive(x_23); -if (x_25 == 0) +lean_object* x_23; lean_object* x_24; +x_23 = lean_box(x_4); +lean_inc(x_1); +lean_inc(x_11); +x_24 = lean_apply_3(x_1, x_11, x_23, x_5); +if (lean_obj_tag(x_24) == 0) { -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_26 = lean_ctor_get(x_23, 2); -lean_inc(x_24); -lean_inc(x_10); -x_27 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_2__visit___spec__3(x_26, x_10, x_24); -lean_ctor_set(x_23, 2, x_27); -x_28 = lean_unsigned_to_nat(1u); -x_29 = lean_nat_add(x_2, x_28); -x_30 = x_24; -lean_dec(x_10); -x_31 = lean_array_fset(x_13, x_2, x_30); +lean_object* x_25; lean_object* x_26; uint8_t x_27; +x_25 = lean_ctor_get(x_24, 1); +lean_inc(x_25); +x_26 = lean_ctor_get(x_24, 0); +lean_inc(x_26); +lean_dec(x_24); +x_27 = !lean_is_exclusive(x_25); +if (x_27 == 0) +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_28 = lean_ctor_get(x_25, 2); +lean_inc(x_26); +lean_inc(x_11); +x_29 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_2__visit___spec__3(x_28, x_11, x_26); +lean_ctor_set(x_25, 2, x_29); +x_30 = lean_unsigned_to_nat(1u); +x_31 = lean_nat_add(x_2, x_30); +x_32 = x_26; +lean_dec(x_11); +x_33 = lean_array_fset(x_14, x_2, x_32); lean_dec(x_2); -x_2 = x_29; -x_3 = x_31; -x_4 = x_23; +x_2 = x_31; +x_3 = x_33; +x_5 = x_25; goto _start; } else { -lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_33 = lean_ctor_get(x_23, 0); -x_34 = lean_ctor_get(x_23, 1); -x_35 = lean_ctor_get(x_23, 2); +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_35 = lean_ctor_get(x_25, 0); +x_36 = lean_ctor_get(x_25, 1); +x_37 = lean_ctor_get(x_25, 2); +lean_inc(x_37); +lean_inc(x_36); lean_inc(x_35); -lean_inc(x_34); -lean_inc(x_33); -lean_dec(x_23); -lean_inc(x_24); -lean_inc(x_10); -x_36 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_2__visit___spec__3(x_35, x_10, x_24); -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 = lean_unsigned_to_nat(1u); -x_39 = lean_nat_add(x_2, x_38); -x_40 = x_24; -lean_dec(x_10); -x_41 = lean_array_fset(x_13, x_2, x_40); +lean_dec(x_25); +lean_inc(x_26); +lean_inc(x_11); +x_38 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_2__visit___spec__3(x_37, x_11, x_26); +x_39 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_39, 0, x_35); +lean_ctor_set(x_39, 1, x_36); +lean_ctor_set(x_39, 2, x_38); +x_40 = lean_unsigned_to_nat(1u); +x_41 = lean_nat_add(x_2, x_40); +x_42 = x_26; +lean_dec(x_11); +x_43 = lean_array_fset(x_14, x_2, x_42); lean_dec(x_2); -x_2 = x_39; -x_3 = x_41; -x_4 = x_37; +x_2 = x_41; +x_3 = x_43; +x_5 = x_39; goto _start; } } else { -uint8_t x_43; -lean_dec(x_13); -lean_dec(x_10); +uint8_t x_45; +lean_dec(x_14); +lean_dec(x_11); lean_dec(x_2); lean_dec(x_1); -x_43 = !lean_is_exclusive(x_22); -if (x_43 == 0) +x_45 = !lean_is_exclusive(x_24); +if (x_45 == 0) { -return x_22; +return x_24; } else { -lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_44 = lean_ctor_get(x_22, 0); -x_45 = lean_ctor_get(x_22, 1); -lean_inc(x_45); -lean_inc(x_44); -lean_dec(x_22); -x_46 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_46, 0, x_44); -lean_ctor_set(x_46, 1, x_45); -return x_46; -} -} -} -else -{ -lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_47 = lean_ctor_get(x_21, 0); +lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_46 = lean_ctor_get(x_24, 0); +x_47 = lean_ctor_get(x_24, 1); lean_inc(x_47); -lean_dec(x_21); -x_48 = lean_unsigned_to_nat(1u); -x_49 = lean_nat_add(x_2, x_48); -x_50 = x_47; -lean_dec(x_10); -x_51 = lean_array_fset(x_13, x_2, x_50); +lean_inc(x_46); +lean_dec(x_24); +x_48 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_48, 0, x_46); +lean_ctor_set(x_48, 1, x_47); +return x_48; +} +} +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_49 = lean_ctor_get(x_22, 0); +lean_inc(x_49); +lean_dec(x_22); +x_50 = lean_unsigned_to_nat(1u); +x_51 = lean_nat_add(x_2, x_50); +x_52 = x_49; +lean_dec(x_11); +x_53 = lean_array_fset(x_14, x_2, x_52); lean_dec(x_2); -x_2 = x_49; -x_3 = x_51; +x_2 = x_51; +x_3 = x_53; goto _start; } } } } } -lean_object* l_Array_umapMAux___main___at___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main___spec__12(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_21__elimMVarDepsApp___main___spec__12(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5) { _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_6; uint8_t x_7; +x_6 = lean_array_get_size(x_3); +x_7 = lean_nat_dec_lt(x_2, x_6); +lean_dec(x_6); +if (x_7 == 0) { -lean_object* x_7; lean_object* x_8; lean_object* x_9; +lean_object* x_8; lean_object* x_9; lean_object* x_10; 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; +x_8 = l_Array_empty___closed__1; +x_9 = x_3; +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_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); -x_12 = x_11; -x_13 = lean_array_fset(x_3, x_2, x_12); -x_14 = l_Lean_Expr_hasMVar(x_10); -if (x_14 == 0) +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_11 = lean_array_fget(x_3, x_2); +x_12 = lean_box(0); +x_13 = x_12; +x_14 = lean_array_fset(x_3, x_2, x_13); +x_15 = l_Lean_Expr_hasMVar(x_11); +if (x_15 == 0) { -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_15 = lean_unsigned_to_nat(1u); -x_16 = lean_nat_add(x_2, x_15); -lean_inc(x_10); -x_17 = x_10; -lean_dec(x_10); -x_18 = lean_array_fset(x_13, x_2, x_17); +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_11); +x_18 = x_11; +lean_dec(x_11); +x_19 = lean_array_fset(x_14, x_2, x_18); lean_dec(x_2); -x_2 = x_16; -x_3 = x_18; +x_2 = x_17; +x_3 = x_19; goto _start; } else { -lean_object* x_20; lean_object* x_21; -x_20 = lean_ctor_get(x_4, 2); -lean_inc(x_20); -x_21 = l_HashMapImp_find_x3f___at___private_Init_Lean_MetavarContext_2__visit___spec__1(x_20, x_10); -lean_dec(x_20); -if (lean_obj_tag(x_21) == 0) -{ -lean_object* x_22; -lean_inc(x_1); -lean_inc(x_10); -x_22 = lean_apply_2(x_1, x_10, x_4); +lean_object* x_21; lean_object* x_22; +x_21 = lean_ctor_get(x_5, 2); +lean_inc(x_21); +x_22 = l_HashMapImp_find_x3f___at___private_Init_Lean_MetavarContext_2__visit___spec__1(x_21, x_11); +lean_dec(x_21); if (lean_obj_tag(x_22) == 0) { -lean_object* x_23; lean_object* x_24; uint8_t x_25; -x_23 = lean_ctor_get(x_22, 1); -lean_inc(x_23); -x_24 = lean_ctor_get(x_22, 0); -lean_inc(x_24); -lean_dec(x_22); -x_25 = !lean_is_exclusive(x_23); -if (x_25 == 0) +lean_object* x_23; lean_object* x_24; +x_23 = lean_box(x_4); +lean_inc(x_1); +lean_inc(x_11); +x_24 = lean_apply_3(x_1, x_11, x_23, x_5); +if (lean_obj_tag(x_24) == 0) { -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_26 = lean_ctor_get(x_23, 2); -lean_inc(x_24); -lean_inc(x_10); -x_27 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_2__visit___spec__3(x_26, x_10, x_24); -lean_ctor_set(x_23, 2, x_27); -x_28 = lean_unsigned_to_nat(1u); -x_29 = lean_nat_add(x_2, x_28); -x_30 = x_24; -lean_dec(x_10); -x_31 = lean_array_fset(x_13, x_2, x_30); +lean_object* x_25; lean_object* x_26; uint8_t x_27; +x_25 = lean_ctor_get(x_24, 1); +lean_inc(x_25); +x_26 = lean_ctor_get(x_24, 0); +lean_inc(x_26); +lean_dec(x_24); +x_27 = !lean_is_exclusive(x_25); +if (x_27 == 0) +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_28 = lean_ctor_get(x_25, 2); +lean_inc(x_26); +lean_inc(x_11); +x_29 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_2__visit___spec__3(x_28, x_11, x_26); +lean_ctor_set(x_25, 2, x_29); +x_30 = lean_unsigned_to_nat(1u); +x_31 = lean_nat_add(x_2, x_30); +x_32 = x_26; +lean_dec(x_11); +x_33 = lean_array_fset(x_14, x_2, x_32); lean_dec(x_2); -x_2 = x_29; -x_3 = x_31; -x_4 = x_23; +x_2 = x_31; +x_3 = x_33; +x_5 = x_25; goto _start; } else { -lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_33 = lean_ctor_get(x_23, 0); -x_34 = lean_ctor_get(x_23, 1); -x_35 = lean_ctor_get(x_23, 2); +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_35 = lean_ctor_get(x_25, 0); +x_36 = lean_ctor_get(x_25, 1); +x_37 = lean_ctor_get(x_25, 2); +lean_inc(x_37); +lean_inc(x_36); lean_inc(x_35); -lean_inc(x_34); -lean_inc(x_33); -lean_dec(x_23); -lean_inc(x_24); -lean_inc(x_10); -x_36 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_2__visit___spec__3(x_35, x_10, x_24); -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 = lean_unsigned_to_nat(1u); -x_39 = lean_nat_add(x_2, x_38); -x_40 = x_24; -lean_dec(x_10); -x_41 = lean_array_fset(x_13, x_2, x_40); +lean_dec(x_25); +lean_inc(x_26); +lean_inc(x_11); +x_38 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_2__visit___spec__3(x_37, x_11, x_26); +x_39 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_39, 0, x_35); +lean_ctor_set(x_39, 1, x_36); +lean_ctor_set(x_39, 2, x_38); +x_40 = lean_unsigned_to_nat(1u); +x_41 = lean_nat_add(x_2, x_40); +x_42 = x_26; +lean_dec(x_11); +x_43 = lean_array_fset(x_14, x_2, x_42); lean_dec(x_2); -x_2 = x_39; -x_3 = x_41; -x_4 = x_37; +x_2 = x_41; +x_3 = x_43; +x_5 = x_39; goto _start; } } else { -uint8_t x_43; -lean_dec(x_13); -lean_dec(x_10); +uint8_t x_45; +lean_dec(x_14); +lean_dec(x_11); lean_dec(x_2); lean_dec(x_1); -x_43 = !lean_is_exclusive(x_22); -if (x_43 == 0) +x_45 = !lean_is_exclusive(x_24); +if (x_45 == 0) { -return x_22; +return x_24; } else { -lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_44 = lean_ctor_get(x_22, 0); -x_45 = lean_ctor_get(x_22, 1); -lean_inc(x_45); -lean_inc(x_44); -lean_dec(x_22); -x_46 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_46, 0, x_44); -lean_ctor_set(x_46, 1, x_45); -return x_46; -} -} -} -else -{ -lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_47 = lean_ctor_get(x_21, 0); +lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_46 = lean_ctor_get(x_24, 0); +x_47 = lean_ctor_get(x_24, 1); lean_inc(x_47); -lean_dec(x_21); -x_48 = lean_unsigned_to_nat(1u); -x_49 = lean_nat_add(x_2, x_48); -x_50 = x_47; -lean_dec(x_10); -x_51 = lean_array_fset(x_13, x_2, x_50); +lean_inc(x_46); +lean_dec(x_24); +x_48 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_48, 0, x_46); +lean_ctor_set(x_48, 1, x_47); +return x_48; +} +} +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_49 = lean_ctor_get(x_22, 0); +lean_inc(x_49); +lean_dec(x_22); +x_50 = lean_unsigned_to_nat(1u); +x_51 = lean_nat_add(x_2, x_50); +x_52 = x_49; +lean_dec(x_11); +x_53 = lean_array_fset(x_14, x_2, x_52); lean_dec(x_2); -x_2 = x_49; -x_3 = x_51; +x_2 = x_51; +x_3 = x_53; goto _start; } } } } } -lean_object* l_Array_umapMAux___main___at___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main___spec__13(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_21__elimMVarDepsApp___main___spec__13(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5) { _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_6; uint8_t x_7; +x_6 = lean_array_get_size(x_3); +x_7 = lean_nat_dec_lt(x_2, x_6); +lean_dec(x_6); +if (x_7 == 0) { -lean_object* x_7; lean_object* x_8; lean_object* x_9; +lean_object* x_8; lean_object* x_9; lean_object* x_10; 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; +x_8 = l_Array_empty___closed__1; +x_9 = x_3; +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_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); -x_12 = x_11; -x_13 = lean_array_fset(x_3, x_2, x_12); -x_14 = l_Lean_Expr_hasMVar(x_10); -if (x_14 == 0) +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_11 = lean_array_fget(x_3, x_2); +x_12 = lean_box(0); +x_13 = x_12; +x_14 = lean_array_fset(x_3, x_2, x_13); +x_15 = l_Lean_Expr_hasMVar(x_11); +if (x_15 == 0) { -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_15 = lean_unsigned_to_nat(1u); -x_16 = lean_nat_add(x_2, x_15); -lean_inc(x_10); -x_17 = x_10; -lean_dec(x_10); -x_18 = lean_array_fset(x_13, x_2, x_17); +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_11); +x_18 = x_11; +lean_dec(x_11); +x_19 = lean_array_fset(x_14, x_2, x_18); lean_dec(x_2); -x_2 = x_16; -x_3 = x_18; +x_2 = x_17; +x_3 = x_19; goto _start; } else { -lean_object* x_20; lean_object* x_21; -x_20 = lean_ctor_get(x_4, 2); -lean_inc(x_20); -x_21 = l_HashMapImp_find_x3f___at___private_Init_Lean_MetavarContext_2__visit___spec__1(x_20, x_10); -lean_dec(x_20); -if (lean_obj_tag(x_21) == 0) -{ -lean_object* x_22; -lean_inc(x_1); -lean_inc(x_10); -x_22 = lean_apply_2(x_1, x_10, x_4); +lean_object* x_21; lean_object* x_22; +x_21 = lean_ctor_get(x_5, 2); +lean_inc(x_21); +x_22 = l_HashMapImp_find_x3f___at___private_Init_Lean_MetavarContext_2__visit___spec__1(x_21, x_11); +lean_dec(x_21); if (lean_obj_tag(x_22) == 0) { -lean_object* x_23; lean_object* x_24; uint8_t x_25; -x_23 = lean_ctor_get(x_22, 1); -lean_inc(x_23); -x_24 = lean_ctor_get(x_22, 0); -lean_inc(x_24); -lean_dec(x_22); -x_25 = !lean_is_exclusive(x_23); -if (x_25 == 0) +lean_object* x_23; lean_object* x_24; +x_23 = lean_box(x_4); +lean_inc(x_1); +lean_inc(x_11); +x_24 = lean_apply_3(x_1, x_11, x_23, x_5); +if (lean_obj_tag(x_24) == 0) { -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_26 = lean_ctor_get(x_23, 2); -lean_inc(x_24); -lean_inc(x_10); -x_27 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_2__visit___spec__3(x_26, x_10, x_24); -lean_ctor_set(x_23, 2, x_27); -x_28 = lean_unsigned_to_nat(1u); -x_29 = lean_nat_add(x_2, x_28); -x_30 = x_24; -lean_dec(x_10); -x_31 = lean_array_fset(x_13, x_2, x_30); +lean_object* x_25; lean_object* x_26; uint8_t x_27; +x_25 = lean_ctor_get(x_24, 1); +lean_inc(x_25); +x_26 = lean_ctor_get(x_24, 0); +lean_inc(x_26); +lean_dec(x_24); +x_27 = !lean_is_exclusive(x_25); +if (x_27 == 0) +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_28 = lean_ctor_get(x_25, 2); +lean_inc(x_26); +lean_inc(x_11); +x_29 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_2__visit___spec__3(x_28, x_11, x_26); +lean_ctor_set(x_25, 2, x_29); +x_30 = lean_unsigned_to_nat(1u); +x_31 = lean_nat_add(x_2, x_30); +x_32 = x_26; +lean_dec(x_11); +x_33 = lean_array_fset(x_14, x_2, x_32); lean_dec(x_2); -x_2 = x_29; -x_3 = x_31; -x_4 = x_23; +x_2 = x_31; +x_3 = x_33; +x_5 = x_25; goto _start; } else { -lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_33 = lean_ctor_get(x_23, 0); -x_34 = lean_ctor_get(x_23, 1); -x_35 = lean_ctor_get(x_23, 2); +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_35 = lean_ctor_get(x_25, 0); +x_36 = lean_ctor_get(x_25, 1); +x_37 = lean_ctor_get(x_25, 2); +lean_inc(x_37); +lean_inc(x_36); lean_inc(x_35); -lean_inc(x_34); -lean_inc(x_33); -lean_dec(x_23); -lean_inc(x_24); -lean_inc(x_10); -x_36 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_2__visit___spec__3(x_35, x_10, x_24); -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 = lean_unsigned_to_nat(1u); -x_39 = lean_nat_add(x_2, x_38); -x_40 = x_24; -lean_dec(x_10); -x_41 = lean_array_fset(x_13, x_2, x_40); +lean_dec(x_25); +lean_inc(x_26); +lean_inc(x_11); +x_38 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_2__visit___spec__3(x_37, x_11, x_26); +x_39 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_39, 0, x_35); +lean_ctor_set(x_39, 1, x_36); +lean_ctor_set(x_39, 2, x_38); +x_40 = lean_unsigned_to_nat(1u); +x_41 = lean_nat_add(x_2, x_40); +x_42 = x_26; +lean_dec(x_11); +x_43 = lean_array_fset(x_14, x_2, x_42); lean_dec(x_2); -x_2 = x_39; -x_3 = x_41; -x_4 = x_37; +x_2 = x_41; +x_3 = x_43; +x_5 = x_39; goto _start; } } else { -uint8_t x_43; -lean_dec(x_13); -lean_dec(x_10); +uint8_t x_45; +lean_dec(x_14); +lean_dec(x_11); lean_dec(x_2); lean_dec(x_1); -x_43 = !lean_is_exclusive(x_22); -if (x_43 == 0) +x_45 = !lean_is_exclusive(x_24); +if (x_45 == 0) { -return x_22; +return x_24; } else { -lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_44 = lean_ctor_get(x_22, 0); -x_45 = lean_ctor_get(x_22, 1); -lean_inc(x_45); -lean_inc(x_44); -lean_dec(x_22); -x_46 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_46, 0, x_44); -lean_ctor_set(x_46, 1, x_45); -return x_46; -} -} -} -else -{ -lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_47 = lean_ctor_get(x_21, 0); +lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_46 = lean_ctor_get(x_24, 0); +x_47 = lean_ctor_get(x_24, 1); lean_inc(x_47); -lean_dec(x_21); -x_48 = lean_unsigned_to_nat(1u); -x_49 = lean_nat_add(x_2, x_48); -x_50 = x_47; -lean_dec(x_10); -x_51 = lean_array_fset(x_13, x_2, x_50); +lean_inc(x_46); +lean_dec(x_24); +x_48 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_48, 0, x_46); +lean_ctor_set(x_48, 1, x_47); +return x_48; +} +} +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_49 = lean_ctor_get(x_22, 0); +lean_inc(x_49); +lean_dec(x_22); +x_50 = lean_unsigned_to_nat(1u); +x_51 = lean_nat_add(x_2, x_50); +x_52 = x_49; +lean_dec(x_11); +x_53 = lean_array_fset(x_14, x_2, x_52); lean_dec(x_2); -x_2 = x_49; -x_3 = x_51; +x_2 = x_51; +x_3 = x_53; goto _start; } } } } } -lean_object* l_Array_umapMAux___main___at___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main___spec__14(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_21__elimMVarDepsApp___main___spec__14(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5) { _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_6; uint8_t x_7; +x_6 = lean_array_get_size(x_3); +x_7 = lean_nat_dec_lt(x_2, x_6); +lean_dec(x_6); +if (x_7 == 0) { -lean_object* x_7; lean_object* x_8; lean_object* x_9; +lean_object* x_8; lean_object* x_9; lean_object* x_10; 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; +x_8 = l_Array_empty___closed__1; +x_9 = x_3; +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_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); -x_12 = x_11; -x_13 = lean_array_fset(x_3, x_2, x_12); -x_14 = l_Lean_Expr_hasMVar(x_10); -if (x_14 == 0) +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_11 = lean_array_fget(x_3, x_2); +x_12 = lean_box(0); +x_13 = x_12; +x_14 = lean_array_fset(x_3, x_2, x_13); +x_15 = l_Lean_Expr_hasMVar(x_11); +if (x_15 == 0) { -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_15 = lean_unsigned_to_nat(1u); -x_16 = lean_nat_add(x_2, x_15); -lean_inc(x_10); -x_17 = x_10; -lean_dec(x_10); -x_18 = lean_array_fset(x_13, x_2, x_17); +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_11); +x_18 = x_11; +lean_dec(x_11); +x_19 = lean_array_fset(x_14, x_2, x_18); lean_dec(x_2); -x_2 = x_16; -x_3 = x_18; +x_2 = x_17; +x_3 = x_19; goto _start; } else { -lean_object* x_20; lean_object* x_21; -x_20 = lean_ctor_get(x_4, 2); -lean_inc(x_20); -x_21 = l_HashMapImp_find_x3f___at___private_Init_Lean_MetavarContext_2__visit___spec__1(x_20, x_10); -lean_dec(x_20); -if (lean_obj_tag(x_21) == 0) -{ -lean_object* x_22; -lean_inc(x_1); -lean_inc(x_10); -x_22 = lean_apply_2(x_1, x_10, x_4); +lean_object* x_21; lean_object* x_22; +x_21 = lean_ctor_get(x_5, 2); +lean_inc(x_21); +x_22 = l_HashMapImp_find_x3f___at___private_Init_Lean_MetavarContext_2__visit___spec__1(x_21, x_11); +lean_dec(x_21); if (lean_obj_tag(x_22) == 0) { -lean_object* x_23; lean_object* x_24; uint8_t x_25; -x_23 = lean_ctor_get(x_22, 1); -lean_inc(x_23); -x_24 = lean_ctor_get(x_22, 0); -lean_inc(x_24); -lean_dec(x_22); -x_25 = !lean_is_exclusive(x_23); -if (x_25 == 0) +lean_object* x_23; lean_object* x_24; +x_23 = lean_box(x_4); +lean_inc(x_1); +lean_inc(x_11); +x_24 = lean_apply_3(x_1, x_11, x_23, x_5); +if (lean_obj_tag(x_24) == 0) { -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_26 = lean_ctor_get(x_23, 2); -lean_inc(x_24); -lean_inc(x_10); -x_27 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_2__visit___spec__3(x_26, x_10, x_24); -lean_ctor_set(x_23, 2, x_27); -x_28 = lean_unsigned_to_nat(1u); -x_29 = lean_nat_add(x_2, x_28); -x_30 = x_24; -lean_dec(x_10); -x_31 = lean_array_fset(x_13, x_2, x_30); +lean_object* x_25; lean_object* x_26; uint8_t x_27; +x_25 = lean_ctor_get(x_24, 1); +lean_inc(x_25); +x_26 = lean_ctor_get(x_24, 0); +lean_inc(x_26); +lean_dec(x_24); +x_27 = !lean_is_exclusive(x_25); +if (x_27 == 0) +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_28 = lean_ctor_get(x_25, 2); +lean_inc(x_26); +lean_inc(x_11); +x_29 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_2__visit___spec__3(x_28, x_11, x_26); +lean_ctor_set(x_25, 2, x_29); +x_30 = lean_unsigned_to_nat(1u); +x_31 = lean_nat_add(x_2, x_30); +x_32 = x_26; +lean_dec(x_11); +x_33 = lean_array_fset(x_14, x_2, x_32); lean_dec(x_2); -x_2 = x_29; -x_3 = x_31; -x_4 = x_23; +x_2 = x_31; +x_3 = x_33; +x_5 = x_25; goto _start; } else { -lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_33 = lean_ctor_get(x_23, 0); -x_34 = lean_ctor_get(x_23, 1); -x_35 = lean_ctor_get(x_23, 2); +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_35 = lean_ctor_get(x_25, 0); +x_36 = lean_ctor_get(x_25, 1); +x_37 = lean_ctor_get(x_25, 2); +lean_inc(x_37); +lean_inc(x_36); lean_inc(x_35); -lean_inc(x_34); -lean_inc(x_33); -lean_dec(x_23); -lean_inc(x_24); -lean_inc(x_10); -x_36 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_2__visit___spec__3(x_35, x_10, x_24); -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 = lean_unsigned_to_nat(1u); -x_39 = lean_nat_add(x_2, x_38); -x_40 = x_24; -lean_dec(x_10); -x_41 = lean_array_fset(x_13, x_2, x_40); +lean_dec(x_25); +lean_inc(x_26); +lean_inc(x_11); +x_38 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_2__visit___spec__3(x_37, x_11, x_26); +x_39 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_39, 0, x_35); +lean_ctor_set(x_39, 1, x_36); +lean_ctor_set(x_39, 2, x_38); +x_40 = lean_unsigned_to_nat(1u); +x_41 = lean_nat_add(x_2, x_40); +x_42 = x_26; +lean_dec(x_11); +x_43 = lean_array_fset(x_14, x_2, x_42); lean_dec(x_2); -x_2 = x_39; -x_3 = x_41; -x_4 = x_37; +x_2 = x_41; +x_3 = x_43; +x_5 = x_39; goto _start; } } else { -uint8_t x_43; -lean_dec(x_13); -lean_dec(x_10); +uint8_t x_45; +lean_dec(x_14); +lean_dec(x_11); lean_dec(x_2); lean_dec(x_1); -x_43 = !lean_is_exclusive(x_22); -if (x_43 == 0) +x_45 = !lean_is_exclusive(x_24); +if (x_45 == 0) { -return x_22; +return x_24; } else { -lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_44 = lean_ctor_get(x_22, 0); -x_45 = lean_ctor_get(x_22, 1); -lean_inc(x_45); -lean_inc(x_44); -lean_dec(x_22); -x_46 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_46, 0, x_44); -lean_ctor_set(x_46, 1, x_45); -return x_46; -} -} -} -else -{ -lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_47 = lean_ctor_get(x_21, 0); +lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_46 = lean_ctor_get(x_24, 0); +x_47 = lean_ctor_get(x_24, 1); lean_inc(x_47); -lean_dec(x_21); -x_48 = lean_unsigned_to_nat(1u); -x_49 = lean_nat_add(x_2, x_48); -x_50 = x_47; -lean_dec(x_10); -x_51 = lean_array_fset(x_13, x_2, x_50); +lean_inc(x_46); +lean_dec(x_24); +x_48 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_48, 0, x_46); +lean_ctor_set(x_48, 1, x_47); +return x_48; +} +} +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_49 = lean_ctor_get(x_22, 0); +lean_inc(x_49); +lean_dec(x_22); +x_50 = lean_unsigned_to_nat(1u); +x_51 = lean_nat_add(x_2, x_50); +x_52 = x_49; +lean_dec(x_11); +x_53 = lean_array_fset(x_14, x_2, x_52); lean_dec(x_2); -x_2 = x_49; -x_3 = x_51; +x_2 = x_51; +x_3 = x_53; goto _start; } } } } } -lean_object* l___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main(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_21__elimMVarDepsApp___main(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6) { _start: { -lean_object* x_6; +lean_object* x_7; if (lean_obj_tag(x_3) == 2) { -lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_43 = lean_ctor_get(x_3, 0); -lean_inc(x_43); -x_44 = lean_ctor_get(x_5, 0); -lean_inc(x_44); -lean_inc(x_43); -lean_inc(x_44); -x_45 = lean_metavar_ctx_get_expr_assignment(x_44, x_43); -if (lean_obj_tag(x_45) == 0) +lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_45 = lean_ctor_get(x_3, 0); +lean_inc(x_45); +x_46 = lean_ctor_get(x_6, 0); +lean_inc(x_46); +lean_inc(x_45); +lean_inc(x_46); +x_47 = lean_metavar_ctx_get_expr_assignment(x_46, x_45); +if (lean_obj_tag(x_47) == 0) { -lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; uint8_t x_51; -lean_inc(x_44); -x_46 = l_Lean_MetavarContext_getDecl(x_44, x_43); -x_47 = lean_ctor_get(x_46, 1); -lean_inc(x_47); -lean_inc(x_47); -x_48 = l___private_Init_Lean_MetavarContext_14__getInScope(x_47, x_2); -x_49 = lean_array_get_size(x_48); -x_50 = lean_unsigned_to_nat(0u); -x_51 = lean_nat_dec_eq(x_49, x_50); -lean_dec(x_49); -if (x_51 == 0) -{ -uint8_t x_52; uint8_t x_53; uint8_t x_54; uint8_t x_55; -lean_inc(x_44); -x_52 = l_Lean_MetavarContext_isExprAssignable(x_44, x_43); -x_53 = lean_ctor_get_uint8(x_46, sizeof(void*)*5); -x_54 = l_Lean_MetavarKind_isSyntheticOpaque(x_53); -if (x_52 == 0) -{ -uint8_t x_422; -x_422 = 2; -x_55 = x_422; -goto block_421; -} -else -{ -x_55 = x_53; -goto block_421; -} -block_421: +lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53; +lean_inc(x_46); +x_48 = l_Lean_MetavarContext_getDecl(x_46, x_45); +x_49 = lean_ctor_get(x_48, 1); +lean_inc(x_49); +lean_inc(x_49); +x_50 = l___private_Init_Lean_MetavarContext_14__getInScope(x_49, x_2); +x_51 = lean_array_get_size(x_50); +x_52 = lean_unsigned_to_nat(0u); +x_53 = lean_nat_dec_eq(x_51, x_52); +lean_dec(x_51); +if (x_53 == 0) { +uint8_t x_54; uint8_t x_55; uint8_t x_56; uint8_t x_57; +lean_inc(x_46); +x_54 = l_Lean_MetavarContext_isExprAssignable(x_46, x_45); +x_55 = lean_ctor_get_uint8(x_48, sizeof(void*)*5); +x_56 = l_Lean_MetavarKind_isSyntheticOpaque(x_55); if (x_54 == 0) { -lean_object* x_56; +uint8_t x_424; +x_424 = 2; +x_57 = x_424; +goto block_423; +} +else +{ +x_57 = x_55; +goto block_423; +} +block_423: +{ +if (x_56 == 0) +{ +lean_object* x_58; lean_inc(x_1); -x_56 = l_Array_umapMAux___main___at___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main___spec__2(x_1, x_50, x_4, x_5); -if (lean_obj_tag(x_56) == 0) +x_58 = l_Array_umapMAux___main___at___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main___spec__2(x_1, x_52, x_4, x_5, x_6); +if (lean_obj_tag(x_58) == 0) { -uint8_t x_57; -x_57 = !lean_is_exclusive(x_56); -if (x_57 == 0) +uint8_t x_59; +x_59 = !lean_is_exclusive(x_58); +if (x_59 == 0) { -lean_object* x_58; lean_object* x_59; lean_object* x_60; -x_58 = lean_ctor_get(x_56, 0); -x_59 = lean_ctor_get(x_56, 1); -lean_inc(x_47); -x_60 = l___private_Init_Lean_MetavarContext_10__collectDeps(x_44, x_47, x_48); -if (lean_obj_tag(x_60) == 0) +lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_60 = lean_ctor_get(x_58, 0); +x_61 = lean_ctor_get(x_58, 1); +lean_inc(x_49); +x_62 = l___private_Init_Lean_MetavarContext_10__collectDeps(x_46, x_49, x_50, x_5); +if (lean_obj_tag(x_62) == 0) { -lean_object* x_61; -lean_dec(x_58); -lean_dec(x_47); -lean_dec(x_46); -lean_dec(x_43); +lean_object* x_63; +lean_dec(x_60); +lean_dec(x_49); +lean_dec(x_48); +lean_dec(x_45); lean_dec(x_3); lean_dec(x_1); -x_61 = lean_ctor_get(x_60, 0); -lean_inc(x_61); -lean_dec(x_60); -lean_ctor_set_tag(x_56, 1); -lean_ctor_set(x_56, 0, x_61); -return x_56; +x_63 = lean_ctor_get(x_62, 0); +lean_inc(x_63); +lean_dec(x_62); +lean_ctor_set_tag(x_58, 1); +lean_ctor_set(x_58, 0, x_63); +return x_58; } 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_free_object(x_56); -x_62 = lean_ctor_get(x_60, 0); -lean_inc(x_62); -lean_dec(x_60); -lean_inc(x_47); -x_63 = l___private_Init_Lean_MetavarContext_11__reduceLocalContext(x_47, x_62); -x_64 = lean_ctor_get(x_46, 4); +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_free_object(x_58); +x_64 = lean_ctor_get(x_62, 0); lean_inc(x_64); -x_65 = l_Array_filterAux___main___at___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main___spec__4(x_62, x_64, x_50, x_50); -x_66 = lean_ctor_get(x_46, 2); +lean_dec(x_62); +lean_inc(x_49); +x_65 = l___private_Init_Lean_MetavarContext_11__reduceLocalContext(x_49, x_64); +x_66 = lean_ctor_get(x_48, 4); lean_inc(x_66); -lean_dec(x_46); -lean_inc(x_47); -x_67 = l___private_Init_Lean_MetavarContext_17__mkAuxMVarType(x_1, x_47, x_62, x_55, x_66, x_59); -if (lean_obj_tag(x_67) == 0) -{ -lean_object* x_68; lean_object* x_69; lean_object* x_70; uint8_t x_71; -x_68 = lean_ctor_get(x_67, 0); +x_67 = l_Array_filterAux___main___at___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main___spec__4(x_64, x_66, x_52, x_52); +x_68 = lean_ctor_get(x_48, 2); lean_inc(x_68); -x_69 = lean_ctor_get(x_67, 1); -lean_inc(x_69); -lean_dec(x_67); -x_70 = l___private_Init_Lean_MetavarContext_19__mkAuxMVar(x_63, x_65, x_68, x_55, x_69); -x_71 = !lean_is_exclusive(x_70); -if (x_71 == 0) +lean_dec(x_48); +lean_inc(x_49); +x_69 = l___private_Init_Lean_MetavarContext_17__mkAuxMVarType(x_1, x_49, x_64, x_57, x_68, x_5, x_61); +if (lean_obj_tag(x_69) == 0) { -lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; -x_72 = lean_ctor_get(x_70, 0); -x_73 = lean_ctor_get(x_70, 1); -lean_inc(x_72); -x_74 = l_Lean_mkMVar(x_72); -lean_inc(x_47); -x_75 = l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_18__mkMVarApp___spec__1(x_47, x_62, x_55, x_62, x_50, x_74); -x_76 = lean_box(x_55); -if (lean_obj_tag(x_76) == 2) +lean_object* x_70; lean_object* x_71; lean_object* x_72; uint8_t x_73; +x_70 = lean_ctor_get(x_69, 0); +lean_inc(x_70); +x_71 = lean_ctor_get(x_69, 1); +lean_inc(x_71); +lean_dec(x_69); +x_72 = l___private_Init_Lean_MetavarContext_19__mkAuxMVar(x_65, x_67, x_70, x_57, x_5, x_71); +x_73 = !lean_is_exclusive(x_72); +if (x_73 == 0) { -uint8_t x_77; -lean_dec(x_43); -x_77 = !lean_is_exclusive(x_73); -if (x_77 == 0) +lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; +x_74 = lean_ctor_get(x_72, 0); +x_75 = lean_ctor_get(x_72, 1); +lean_inc(x_74); +x_76 = l_Lean_mkMVar(x_74); +lean_inc(x_49); +x_77 = l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_18__mkMVarApp___spec__1(x_49, x_64, x_57, x_64, x_52, x_76); +x_78 = lean_box(x_57); +if (lean_obj_tag(x_78) == 2) { -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_78 = lean_ctor_get(x_73, 0); -x_79 = l_Array_empty___closed__1; -x_80 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_79, x_79, x_50, x_62); -x_81 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_79, x_79, x_50, x_3); -x_82 = lean_metavar_ctx_assign_delayed(x_78, x_72, x_47, x_80, x_81); -lean_ctor_set(x_73, 0, x_82); -x_83 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_58, x_58, x_50, x_75); -lean_dec(x_58); -lean_ctor_set(x_70, 0, x_83); -return x_70; +uint8_t x_79; +lean_dec(x_45); +x_79 = !lean_is_exclusive(x_75); +if (x_79 == 0) +{ +lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; +x_80 = lean_ctor_get(x_75, 0); +x_81 = l_Array_empty___closed__1; +x_82 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_81, x_81, x_52, x_64); +x_83 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_81, x_81, x_52, x_3); +x_84 = lean_metavar_ctx_assign_delayed(x_80, x_74, x_49, x_82, x_83); +lean_ctor_set(x_75, 0, x_84); +x_85 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_60, x_60, x_52, x_77); +lean_dec(x_60); +lean_ctor_set(x_72, 0, x_85); +return x_72; } else { -lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; -x_84 = lean_ctor_get(x_73, 0); -x_85 = lean_ctor_get(x_73, 1); -x_86 = lean_ctor_get(x_73, 2); +lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; +x_86 = lean_ctor_get(x_75, 0); +x_87 = lean_ctor_get(x_75, 1); +x_88 = lean_ctor_get(x_75, 2); +lean_inc(x_88); +lean_inc(x_87); lean_inc(x_86); -lean_inc(x_85); -lean_inc(x_84); -lean_dec(x_73); -x_87 = l_Array_empty___closed__1; -x_88 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_87, x_87, x_50, x_62); -x_89 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_87, x_87, x_50, x_3); -x_90 = lean_metavar_ctx_assign_delayed(x_84, x_72, x_47, x_88, x_89); -x_91 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_91, 0, x_90); -lean_ctor_set(x_91, 1, x_85); -lean_ctor_set(x_91, 2, x_86); -x_92 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_58, x_58, x_50, x_75); -lean_dec(x_58); -lean_ctor_set(x_70, 1, x_91); -lean_ctor_set(x_70, 0, x_92); -return x_70; +lean_dec(x_75); +x_89 = l_Array_empty___closed__1; +x_90 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_89, x_89, x_52, x_64); +x_91 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_89, x_89, x_52, x_3); +x_92 = lean_metavar_ctx_assign_delayed(x_86, x_74, x_49, x_90, x_91); +x_93 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_93, 0, x_92); +lean_ctor_set(x_93, 1, x_87); +lean_ctor_set(x_93, 2, x_88); +x_94 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_60, x_60, x_52, x_77); +lean_dec(x_60); +lean_ctor_set(x_72, 1, x_93); +lean_ctor_set(x_72, 0, x_94); +return x_72; } } else { -uint8_t x_93; -lean_dec(x_76); -lean_dec(x_72); -lean_dec(x_62); -lean_dec(x_47); +uint8_t x_95; +lean_dec(x_78); +lean_dec(x_74); +lean_dec(x_64); +lean_dec(x_49); lean_dec(x_3); -x_93 = !lean_is_exclusive(x_73); -if (x_93 == 0) +x_95 = !lean_is_exclusive(x_75); +if (x_95 == 0) { -lean_object* x_94; lean_object* x_95; lean_object* x_96; -x_94 = lean_ctor_get(x_73, 0); -lean_inc(x_75); -x_95 = l_Lean_MetavarContext_assignExpr(x_94, x_43, x_75); -lean_ctor_set(x_73, 0, x_95); -x_96 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_58, x_58, x_50, x_75); -lean_dec(x_58); -lean_ctor_set(x_70, 0, x_96); -return x_70; +lean_object* x_96; lean_object* x_97; lean_object* x_98; +x_96 = lean_ctor_get(x_75, 0); +lean_inc(x_77); +x_97 = l_Lean_MetavarContext_assignExpr(x_96, x_45, x_77); +lean_ctor_set(x_75, 0, x_97); +x_98 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_60, x_60, x_52, x_77); +lean_dec(x_60); +lean_ctor_set(x_72, 0, x_98); +return x_72; } else { -lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; -x_97 = lean_ctor_get(x_73, 0); -x_98 = lean_ctor_get(x_73, 1); -x_99 = lean_ctor_get(x_73, 2); +lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; +x_99 = lean_ctor_get(x_75, 0); +x_100 = lean_ctor_get(x_75, 1); +x_101 = lean_ctor_get(x_75, 2); +lean_inc(x_101); +lean_inc(x_100); lean_inc(x_99); -lean_inc(x_98); -lean_inc(x_97); -lean_dec(x_73); -lean_inc(x_75); -x_100 = l_Lean_MetavarContext_assignExpr(x_97, x_43, x_75); -x_101 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_101, 0, x_100); -lean_ctor_set(x_101, 1, x_98); -lean_ctor_set(x_101, 2, x_99); -x_102 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_58, x_58, x_50, x_75); -lean_dec(x_58); -lean_ctor_set(x_70, 1, x_101); -lean_ctor_set(x_70, 0, x_102); -return x_70; +lean_dec(x_75); +lean_inc(x_77); +x_102 = l_Lean_MetavarContext_assignExpr(x_99, x_45, x_77); +x_103 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_103, 0, x_102); +lean_ctor_set(x_103, 1, x_100); +lean_ctor_set(x_103, 2, x_101); +x_104 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_60, x_60, x_52, x_77); +lean_dec(x_60); +lean_ctor_set(x_72, 1, x_103); +lean_ctor_set(x_72, 0, x_104); +return x_72; } } } else { -lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; -x_103 = lean_ctor_get(x_70, 0); -x_104 = lean_ctor_get(x_70, 1); -lean_inc(x_104); -lean_inc(x_103); -lean_dec(x_70); -lean_inc(x_103); -x_105 = l_Lean_mkMVar(x_103); -lean_inc(x_47); -x_106 = l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_18__mkMVarApp___spec__1(x_47, x_62, x_55, x_62, x_50, x_105); -x_107 = lean_box(x_55); -if (lean_obj_tag(x_107) == 2) -{ -lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; -lean_dec(x_43); -x_108 = lean_ctor_get(x_104, 0); -lean_inc(x_108); -x_109 = lean_ctor_get(x_104, 1); -lean_inc(x_109); -x_110 = lean_ctor_get(x_104, 2); -lean_inc(x_110); -if (lean_is_exclusive(x_104)) { - lean_ctor_release(x_104, 0); - lean_ctor_release(x_104, 1); - lean_ctor_release(x_104, 2); - x_111 = x_104; -} else { - lean_dec_ref(x_104); - x_111 = lean_box(0); -} -x_112 = l_Array_empty___closed__1; -x_113 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_112, x_112, x_50, x_62); -x_114 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_112, x_112, x_50, x_3); -x_115 = lean_metavar_ctx_assign_delayed(x_108, x_103, x_47, x_113, x_114); -if (lean_is_scalar(x_111)) { - x_116 = lean_alloc_ctor(0, 3, 0); -} else { - x_116 = x_111; -} -lean_ctor_set(x_116, 0, x_115); -lean_ctor_set(x_116, 1, x_109); -lean_ctor_set(x_116, 2, x_110); -x_117 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_58, x_58, x_50, x_106); -lean_dec(x_58); -x_118 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_118, 0, x_117); -lean_ctor_set(x_118, 1, x_116); -return x_118; -} -else -{ -lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; -lean_dec(x_107); -lean_dec(x_103); -lean_dec(x_62); -lean_dec(x_47); -lean_dec(x_3); -x_119 = lean_ctor_get(x_104, 0); -lean_inc(x_119); -x_120 = lean_ctor_get(x_104, 1); -lean_inc(x_120); -x_121 = lean_ctor_get(x_104, 2); -lean_inc(x_121); -if (lean_is_exclusive(x_104)) { - lean_ctor_release(x_104, 0); - lean_ctor_release(x_104, 1); - lean_ctor_release(x_104, 2); - x_122 = x_104; -} else { - lean_dec_ref(x_104); - x_122 = lean_box(0); -} +lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; +x_105 = lean_ctor_get(x_72, 0); +x_106 = lean_ctor_get(x_72, 1); lean_inc(x_106); -x_123 = l_Lean_MetavarContext_assignExpr(x_119, x_43, x_106); -if (lean_is_scalar(x_122)) { - x_124 = lean_alloc_ctor(0, 3, 0); +lean_inc(x_105); +lean_dec(x_72); +lean_inc(x_105); +x_107 = l_Lean_mkMVar(x_105); +lean_inc(x_49); +x_108 = l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_18__mkMVarApp___spec__1(x_49, x_64, x_57, x_64, x_52, x_107); +x_109 = lean_box(x_57); +if (lean_obj_tag(x_109) == 2) +{ +lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; +lean_dec(x_45); +x_110 = lean_ctor_get(x_106, 0); +lean_inc(x_110); +x_111 = lean_ctor_get(x_106, 1); +lean_inc(x_111); +x_112 = lean_ctor_get(x_106, 2); +lean_inc(x_112); +if (lean_is_exclusive(x_106)) { + lean_ctor_release(x_106, 0); + lean_ctor_release(x_106, 1); + lean_ctor_release(x_106, 2); + x_113 = x_106; } else { - x_124 = x_122; -} -lean_ctor_set(x_124, 0, x_123); -lean_ctor_set(x_124, 1, x_120); -lean_ctor_set(x_124, 2, x_121); -x_125 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_58, x_58, x_50, x_106); -lean_dec(x_58); -x_126 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_126, 0, x_125); -lean_ctor_set(x_126, 1, x_124); -return x_126; + lean_dec_ref(x_106); + x_113 = lean_box(0); } +x_114 = l_Array_empty___closed__1; +x_115 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_114, x_114, x_52, x_64); +x_116 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_114, x_114, x_52, x_3); +x_117 = lean_metavar_ctx_assign_delayed(x_110, x_105, x_49, x_115, x_116); +if (lean_is_scalar(x_113)) { + x_118 = lean_alloc_ctor(0, 3, 0); +} else { + x_118 = x_113; } +lean_ctor_set(x_118, 0, x_117); +lean_ctor_set(x_118, 1, x_111); +lean_ctor_set(x_118, 2, x_112); +x_119 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_60, x_60, x_52, x_108); +lean_dec(x_60); +x_120 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_120, 0, x_119); +lean_ctor_set(x_120, 1, x_118); +return x_120; } else { -uint8_t x_127; -lean_dec(x_65); -lean_dec(x_63); -lean_dec(x_62); -lean_dec(x_58); -lean_dec(x_47); -lean_dec(x_43); +lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; +lean_dec(x_109); +lean_dec(x_105); +lean_dec(x_64); +lean_dec(x_49); lean_dec(x_3); -x_127 = !lean_is_exclusive(x_67); -if (x_127 == 0) -{ -return x_67; +x_121 = lean_ctor_get(x_106, 0); +lean_inc(x_121); +x_122 = lean_ctor_get(x_106, 1); +lean_inc(x_122); +x_123 = lean_ctor_get(x_106, 2); +lean_inc(x_123); +if (lean_is_exclusive(x_106)) { + lean_ctor_release(x_106, 0); + lean_ctor_release(x_106, 1); + lean_ctor_release(x_106, 2); + x_124 = x_106; +} else { + lean_dec_ref(x_106); + x_124 = lean_box(0); +} +lean_inc(x_108); +x_125 = l_Lean_MetavarContext_assignExpr(x_121, x_45, x_108); +if (lean_is_scalar(x_124)) { + x_126 = lean_alloc_ctor(0, 3, 0); +} else { + x_126 = x_124; +} +lean_ctor_set(x_126, 0, x_125); +lean_ctor_set(x_126, 1, x_122); +lean_ctor_set(x_126, 2, x_123); +x_127 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_60, x_60, x_52, x_108); +lean_dec(x_60); +x_128 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_128, 0, x_127); +lean_ctor_set(x_128, 1, x_126); +return x_128; +} +} } else { -lean_object* x_128; lean_object* x_129; lean_object* x_130; -x_128 = lean_ctor_get(x_67, 0); -x_129 = lean_ctor_get(x_67, 1); -lean_inc(x_129); -lean_inc(x_128); +uint8_t x_129; lean_dec(x_67); -x_130 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_130, 0, x_128); -lean_ctor_set(x_130, 1, x_129); -return x_130; +lean_dec(x_65); +lean_dec(x_64); +lean_dec(x_60); +lean_dec(x_49); +lean_dec(x_45); +lean_dec(x_3); +x_129 = !lean_is_exclusive(x_69); +if (x_129 == 0) +{ +return x_69; +} +else +{ +lean_object* x_130; lean_object* x_131; lean_object* x_132; +x_130 = lean_ctor_get(x_69, 0); +x_131 = lean_ctor_get(x_69, 1); +lean_inc(x_131); +lean_inc(x_130); +lean_dec(x_69); +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_131; lean_object* x_132; lean_object* x_133; -x_131 = lean_ctor_get(x_56, 0); -x_132 = lean_ctor_get(x_56, 1); -lean_inc(x_132); -lean_inc(x_131); -lean_dec(x_56); -lean_inc(x_47); -x_133 = l___private_Init_Lean_MetavarContext_10__collectDeps(x_44, x_47, x_48); -if (lean_obj_tag(x_133) == 0) +lean_object* x_133; lean_object* x_134; lean_object* x_135; +x_133 = lean_ctor_get(x_58, 0); +x_134 = lean_ctor_get(x_58, 1); +lean_inc(x_134); +lean_inc(x_133); +lean_dec(x_58); +lean_inc(x_49); +x_135 = l___private_Init_Lean_MetavarContext_10__collectDeps(x_46, x_49, x_50, x_5); +if (lean_obj_tag(x_135) == 0) { -lean_object* x_134; lean_object* x_135; -lean_dec(x_131); -lean_dec(x_47); -lean_dec(x_46); -lean_dec(x_43); +lean_object* x_136; lean_object* x_137; +lean_dec(x_133); +lean_dec(x_49); +lean_dec(x_48); +lean_dec(x_45); lean_dec(x_3); lean_dec(x_1); -x_134 = lean_ctor_get(x_133, 0); -lean_inc(x_134); -lean_dec(x_133); -x_135 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_135, 0, x_134); -lean_ctor_set(x_135, 1, x_132); -return x_135; +x_136 = lean_ctor_get(x_135, 0); +lean_inc(x_136); +lean_dec(x_135); +x_137 = lean_alloc_ctor(1, 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_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; -x_136 = lean_ctor_get(x_133, 0); -lean_inc(x_136); -lean_dec(x_133); -lean_inc(x_47); -x_137 = l___private_Init_Lean_MetavarContext_11__reduceLocalContext(x_47, x_136); -x_138 = lean_ctor_get(x_46, 4); +lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; +x_138 = lean_ctor_get(x_135, 0); lean_inc(x_138); -x_139 = l_Array_filterAux___main___at___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main___spec__4(x_136, x_138, x_50, x_50); -x_140 = lean_ctor_get(x_46, 2); +lean_dec(x_135); +lean_inc(x_49); +x_139 = l___private_Init_Lean_MetavarContext_11__reduceLocalContext(x_49, x_138); +x_140 = lean_ctor_get(x_48, 4); lean_inc(x_140); -lean_dec(x_46); -lean_inc(x_47); -x_141 = l___private_Init_Lean_MetavarContext_17__mkAuxMVarType(x_1, x_47, x_136, x_55, x_140, x_132); -if (lean_obj_tag(x_141) == 0) -{ -lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; -x_142 = lean_ctor_get(x_141, 0); +x_141 = l_Array_filterAux___main___at___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main___spec__4(x_138, x_140, x_52, x_52); +x_142 = lean_ctor_get(x_48, 2); lean_inc(x_142); -x_143 = lean_ctor_get(x_141, 1); -lean_inc(x_143); -lean_dec(x_141); -x_144 = l___private_Init_Lean_MetavarContext_19__mkAuxMVar(x_137, x_139, x_142, x_55, x_143); -x_145 = lean_ctor_get(x_144, 0); -lean_inc(x_145); -x_146 = lean_ctor_get(x_144, 1); -lean_inc(x_146); -if (lean_is_exclusive(x_144)) { - lean_ctor_release(x_144, 0); - lean_ctor_release(x_144, 1); - x_147 = x_144; -} else { - lean_dec_ref(x_144); - x_147 = lean_box(0); -} -lean_inc(x_145); -x_148 = l_Lean_mkMVar(x_145); -lean_inc(x_47); -x_149 = l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_18__mkMVarApp___spec__1(x_47, x_136, x_55, x_136, x_50, x_148); -x_150 = lean_box(x_55); -if (lean_obj_tag(x_150) == 2) +lean_dec(x_48); +lean_inc(x_49); +x_143 = l___private_Init_Lean_MetavarContext_17__mkAuxMVarType(x_1, x_49, x_138, x_57, x_142, x_5, x_134); +if (lean_obj_tag(x_143) == 0) { -lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; -lean_dec(x_43); -x_151 = lean_ctor_get(x_146, 0); -lean_inc(x_151); -x_152 = lean_ctor_get(x_146, 1); -lean_inc(x_152); -x_153 = lean_ctor_get(x_146, 2); -lean_inc(x_153); +lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; +x_144 = lean_ctor_get(x_143, 0); +lean_inc(x_144); +x_145 = lean_ctor_get(x_143, 1); +lean_inc(x_145); +lean_dec(x_143); +x_146 = l___private_Init_Lean_MetavarContext_19__mkAuxMVar(x_139, x_141, x_144, x_57, x_5, x_145); +x_147 = lean_ctor_get(x_146, 0); +lean_inc(x_147); +x_148 = lean_ctor_get(x_146, 1); +lean_inc(x_148); if (lean_is_exclusive(x_146)) { lean_ctor_release(x_146, 0); lean_ctor_release(x_146, 1); - lean_ctor_release(x_146, 2); - x_154 = x_146; + x_149 = x_146; } else { lean_dec_ref(x_146); - x_154 = lean_box(0); + x_149 = lean_box(0); } -x_155 = l_Array_empty___closed__1; -x_156 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_155, x_155, x_50, x_136); -x_157 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_155, x_155, x_50, x_3); -x_158 = lean_metavar_ctx_assign_delayed(x_151, x_145, x_47, x_156, x_157); -if (lean_is_scalar(x_154)) { - x_159 = lean_alloc_ctor(0, 3, 0); +lean_inc(x_147); +x_150 = l_Lean_mkMVar(x_147); +lean_inc(x_49); +x_151 = l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_18__mkMVarApp___spec__1(x_49, x_138, x_57, x_138, x_52, x_150); +x_152 = lean_box(x_57); +if (lean_obj_tag(x_152) == 2) +{ +lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; +lean_dec(x_45); +x_153 = lean_ctor_get(x_148, 0); +lean_inc(x_153); +x_154 = lean_ctor_get(x_148, 1); +lean_inc(x_154); +x_155 = lean_ctor_get(x_148, 2); +lean_inc(x_155); +if (lean_is_exclusive(x_148)) { + lean_ctor_release(x_148, 0); + lean_ctor_release(x_148, 1); + lean_ctor_release(x_148, 2); + x_156 = x_148; } else { - x_159 = x_154; + lean_dec_ref(x_148); + x_156 = lean_box(0); } -lean_ctor_set(x_159, 0, x_158); -lean_ctor_set(x_159, 1, x_152); -lean_ctor_set(x_159, 2, x_153); -x_160 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_131, x_131, x_50, x_149); -lean_dec(x_131); -if (lean_is_scalar(x_147)) { - x_161 = lean_alloc_ctor(0, 2, 0); +x_157 = l_Array_empty___closed__1; +x_158 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_157, x_157, x_52, x_138); +x_159 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_157, x_157, x_52, x_3); +x_160 = lean_metavar_ctx_assign_delayed(x_153, x_147, x_49, x_158, x_159); +if (lean_is_scalar(x_156)) { + x_161 = lean_alloc_ctor(0, 3, 0); } else { - x_161 = x_147; + x_161 = x_156; } lean_ctor_set(x_161, 0, x_160); -lean_ctor_set(x_161, 1, x_159); -return x_161; +lean_ctor_set(x_161, 1, x_154); +lean_ctor_set(x_161, 2, x_155); +x_162 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_133, x_133, x_52, x_151); +lean_dec(x_133); +if (lean_is_scalar(x_149)) { + x_163 = lean_alloc_ctor(0, 2, 0); +} else { + x_163 = x_149; +} +lean_ctor_set(x_163, 0, x_162); +lean_ctor_set(x_163, 1, x_161); +return x_163; } 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; -lean_dec(x_150); -lean_dec(x_145); -lean_dec(x_136); -lean_dec(x_47); +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_dec(x_152); +lean_dec(x_147); +lean_dec(x_138); +lean_dec(x_49); lean_dec(x_3); -x_162 = lean_ctor_get(x_146, 0); -lean_inc(x_162); -x_163 = lean_ctor_get(x_146, 1); -lean_inc(x_163); -x_164 = lean_ctor_get(x_146, 2); +x_164 = lean_ctor_get(x_148, 0); lean_inc(x_164); -if (lean_is_exclusive(x_146)) { - lean_ctor_release(x_146, 0); - lean_ctor_release(x_146, 1); - lean_ctor_release(x_146, 2); - x_165 = x_146; +x_165 = lean_ctor_get(x_148, 1); +lean_inc(x_165); +x_166 = lean_ctor_get(x_148, 2); +lean_inc(x_166); +if (lean_is_exclusive(x_148)) { + lean_ctor_release(x_148, 0); + lean_ctor_release(x_148, 1); + lean_ctor_release(x_148, 2); + x_167 = x_148; } else { - lean_dec_ref(x_146); - x_165 = lean_box(0); + lean_dec_ref(x_148); + x_167 = lean_box(0); } -lean_inc(x_149); -x_166 = l_Lean_MetavarContext_assignExpr(x_162, x_43, x_149); -if (lean_is_scalar(x_165)) { - x_167 = lean_alloc_ctor(0, 3, 0); +lean_inc(x_151); +x_168 = l_Lean_MetavarContext_assignExpr(x_164, x_45, x_151); +if (lean_is_scalar(x_167)) { + x_169 = lean_alloc_ctor(0, 3, 0); } else { - x_167 = x_165; -} -lean_ctor_set(x_167, 0, x_166); -lean_ctor_set(x_167, 1, x_163); -lean_ctor_set(x_167, 2, x_164); -x_168 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_131, x_131, x_50, x_149); -lean_dec(x_131); -if (lean_is_scalar(x_147)) { - x_169 = lean_alloc_ctor(0, 2, 0); -} else { - x_169 = x_147; + x_169 = x_167; } lean_ctor_set(x_169, 0, x_168); -lean_ctor_set(x_169, 1, x_167); -return x_169; +lean_ctor_set(x_169, 1, x_165); +lean_ctor_set(x_169, 2, x_166); +x_170 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_133, x_133, x_52, x_151); +lean_dec(x_133); +if (lean_is_scalar(x_149)) { + x_171 = lean_alloc_ctor(0, 2, 0); +} else { + x_171 = x_149; +} +lean_ctor_set(x_171, 0, x_170); +lean_ctor_set(x_171, 1, x_169); +return x_171; } } else { -lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; +lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; +lean_dec(x_141); lean_dec(x_139); -lean_dec(x_137); -lean_dec(x_136); -lean_dec(x_131); -lean_dec(x_47); -lean_dec(x_43); +lean_dec(x_138); +lean_dec(x_133); +lean_dec(x_49); +lean_dec(x_45); lean_dec(x_3); -x_170 = lean_ctor_get(x_141, 0); -lean_inc(x_170); -x_171 = lean_ctor_get(x_141, 1); -lean_inc(x_171); -if (lean_is_exclusive(x_141)) { - lean_ctor_release(x_141, 0); - lean_ctor_release(x_141, 1); - x_172 = x_141; +x_172 = lean_ctor_get(x_143, 0); +lean_inc(x_172); +x_173 = lean_ctor_get(x_143, 1); +lean_inc(x_173); +if (lean_is_exclusive(x_143)) { + lean_ctor_release(x_143, 0); + lean_ctor_release(x_143, 1); + x_174 = x_143; } else { - lean_dec_ref(x_141); - x_172 = lean_box(0); + lean_dec_ref(x_143); + x_174 = lean_box(0); } -if (lean_is_scalar(x_172)) { - x_173 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_174)) { + x_175 = lean_alloc_ctor(1, 2, 0); } else { - x_173 = x_172; + x_175 = x_174; } -lean_ctor_set(x_173, 0, x_170); -lean_ctor_set(x_173, 1, x_171); -return x_173; +lean_ctor_set(x_175, 0, x_172); +lean_ctor_set(x_175, 1, x_173); +return x_175; } } } } else { -uint8_t x_174; +uint8_t x_176; +lean_dec(x_50); +lean_dec(x_49); lean_dec(x_48); -lean_dec(x_47); lean_dec(x_46); -lean_dec(x_44); -lean_dec(x_43); +lean_dec(x_45); lean_dec(x_3); lean_dec(x_1); -x_174 = !lean_is_exclusive(x_56); -if (x_174 == 0) +x_176 = !lean_is_exclusive(x_58); +if (x_176 == 0) { -return x_56; +return x_58; } else { -lean_object* x_175; lean_object* x_176; lean_object* x_177; -x_175 = lean_ctor_get(x_56, 0); -x_176 = lean_ctor_get(x_56, 1); -lean_inc(x_176); -lean_inc(x_175); -lean_dec(x_56); -x_177 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_177, 0, x_175); -lean_ctor_set(x_177, 1, x_176); -return x_177; -} -} -} -else -{ -lean_object* x_178; -lean_inc(x_43); -lean_inc(x_44); -x_178 = lean_metavar_ctx_get_delayed_assignment(x_44, x_43); -if (lean_obj_tag(x_178) == 0) -{ -lean_object* x_179; -lean_inc(x_1); -x_179 = l_Array_umapMAux___main___at___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main___spec__5(x_1, x_50, x_4, x_5); -if (lean_obj_tag(x_179) == 0) -{ -uint8_t x_180; -x_180 = !lean_is_exclusive(x_179); -if (x_180 == 0) -{ -lean_object* x_181; lean_object* x_182; lean_object* x_183; -x_181 = lean_ctor_get(x_179, 0); -x_182 = lean_ctor_get(x_179, 1); -lean_inc(x_47); -x_183 = l___private_Init_Lean_MetavarContext_10__collectDeps(x_44, x_47, x_48); -if (lean_obj_tag(x_183) == 0) -{ -lean_object* x_184; -lean_dec(x_181); -lean_dec(x_47); -lean_dec(x_46); -lean_dec(x_43); -lean_dec(x_3); -lean_dec(x_1); -x_184 = lean_ctor_get(x_183, 0); -lean_inc(x_184); -lean_dec(x_183); -lean_ctor_set_tag(x_179, 1); -lean_ctor_set(x_179, 0, x_184); +lean_object* x_177; lean_object* x_178; lean_object* x_179; +x_177 = lean_ctor_get(x_58, 0); +x_178 = lean_ctor_get(x_58, 1); +lean_inc(x_178); +lean_inc(x_177); +lean_dec(x_58); +x_179 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_179, 0, x_177); +lean_ctor_set(x_179, 1, x_178); return x_179; } +} +} else { -lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; -lean_free_object(x_179); -x_185 = lean_ctor_get(x_183, 0); -lean_inc(x_185); +lean_object* x_180; +lean_inc(x_45); +lean_inc(x_46); +x_180 = lean_metavar_ctx_get_delayed_assignment(x_46, x_45); +if (lean_obj_tag(x_180) == 0) +{ +lean_object* x_181; +lean_inc(x_1); +x_181 = l_Array_umapMAux___main___at___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main___spec__5(x_1, x_52, x_4, x_5, x_6); +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; 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_inc(x_49); +x_185 = l___private_Init_Lean_MetavarContext_10__collectDeps(x_46, x_49, x_50, x_5); +if (lean_obj_tag(x_185) == 0) +{ +lean_object* x_186; lean_dec(x_183); -lean_inc(x_47); -x_186 = l___private_Init_Lean_MetavarContext_11__reduceLocalContext(x_47, x_185); -x_187 = lean_ctor_get(x_46, 4); -lean_inc(x_187); -x_188 = l_Array_filterAux___main___at___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main___spec__7(x_185, x_187, x_50, x_50); -x_189 = lean_ctor_get(x_46, 2); -lean_inc(x_189); -lean_dec(x_46); -lean_inc(x_47); -x_190 = l___private_Init_Lean_MetavarContext_17__mkAuxMVarType(x_1, x_47, x_185, x_55, x_189, x_182); -if (lean_obj_tag(x_190) == 0) -{ -lean_object* x_191; lean_object* x_192; lean_object* x_193; uint8_t x_194; -x_191 = lean_ctor_get(x_190, 0); -lean_inc(x_191); -x_192 = lean_ctor_get(x_190, 1); -lean_inc(x_192); -lean_dec(x_190); -x_193 = l___private_Init_Lean_MetavarContext_19__mkAuxMVar(x_186, x_188, x_191, x_55, x_192); -x_194 = !lean_is_exclusive(x_193); -if (x_194 == 0) -{ -lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; -x_195 = lean_ctor_get(x_193, 0); -x_196 = lean_ctor_get(x_193, 1); -lean_inc(x_195); -x_197 = l_Lean_mkMVar(x_195); -lean_inc(x_47); -x_198 = l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_18__mkMVarApp___spec__1(x_47, x_185, x_55, x_185, x_50, x_197); -x_199 = lean_box(x_55); -if (lean_obj_tag(x_199) == 2) -{ -uint8_t x_200; -lean_dec(x_43); -x_200 = !lean_is_exclusive(x_196); -if (x_200 == 0) -{ -lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; -x_201 = lean_ctor_get(x_196, 0); -x_202 = l_Array_empty___closed__1; -x_203 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_202, x_202, x_50, x_185); -x_204 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_202, x_202, x_50, x_3); -x_205 = lean_metavar_ctx_assign_delayed(x_201, x_195, x_47, x_203, x_204); -lean_ctor_set(x_196, 0, x_205); -x_206 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_181, x_181, x_50, x_198); -lean_dec(x_181); -lean_ctor_set(x_193, 0, x_206); -return x_193; -} -else -{ -lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; -x_207 = lean_ctor_get(x_196, 0); -x_208 = lean_ctor_get(x_196, 1); -x_209 = lean_ctor_get(x_196, 2); -lean_inc(x_209); -lean_inc(x_208); -lean_inc(x_207); -lean_dec(x_196); -x_210 = l_Array_empty___closed__1; -x_211 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_210, x_210, x_50, x_185); -x_212 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_210, x_210, x_50, x_3); -x_213 = lean_metavar_ctx_assign_delayed(x_207, x_195, x_47, x_211, x_212); -x_214 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_214, 0, x_213); -lean_ctor_set(x_214, 1, x_208); -lean_ctor_set(x_214, 2, x_209); -x_215 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_181, x_181, x_50, x_198); -lean_dec(x_181); -lean_ctor_set(x_193, 1, x_214); -lean_ctor_set(x_193, 0, x_215); -return x_193; -} -} -else -{ -uint8_t x_216; -lean_dec(x_199); -lean_dec(x_195); -lean_dec(x_185); -lean_dec(x_47); -lean_dec(x_3); -x_216 = !lean_is_exclusive(x_196); -if (x_216 == 0) -{ -lean_object* x_217; lean_object* x_218; lean_object* x_219; -x_217 = lean_ctor_get(x_196, 0); -lean_inc(x_198); -x_218 = l_Lean_MetavarContext_assignExpr(x_217, x_43, x_198); -lean_ctor_set(x_196, 0, x_218); -x_219 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_181, x_181, x_50, x_198); -lean_dec(x_181); -lean_ctor_set(x_193, 0, x_219); -return x_193; -} -else -{ -lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; -x_220 = lean_ctor_get(x_196, 0); -x_221 = lean_ctor_get(x_196, 1); -x_222 = lean_ctor_get(x_196, 2); -lean_inc(x_222); -lean_inc(x_221); -lean_inc(x_220); -lean_dec(x_196); -lean_inc(x_198); -x_223 = l_Lean_MetavarContext_assignExpr(x_220, x_43, x_198); -x_224 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_224, 0, x_223); -lean_ctor_set(x_224, 1, x_221); -lean_ctor_set(x_224, 2, x_222); -x_225 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_181, x_181, x_50, x_198); -lean_dec(x_181); -lean_ctor_set(x_193, 1, x_224); -lean_ctor_set(x_193, 0, x_225); -return x_193; -} -} -} -else -{ -lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; -x_226 = lean_ctor_get(x_193, 0); -x_227 = lean_ctor_get(x_193, 1); -lean_inc(x_227); -lean_inc(x_226); -lean_dec(x_193); -lean_inc(x_226); -x_228 = l_Lean_mkMVar(x_226); -lean_inc(x_47); -x_229 = l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_18__mkMVarApp___spec__1(x_47, x_185, x_55, x_185, x_50, x_228); -x_230 = lean_box(x_55); -if (lean_obj_tag(x_230) == 2) -{ -lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; -lean_dec(x_43); -x_231 = lean_ctor_get(x_227, 0); -lean_inc(x_231); -x_232 = lean_ctor_get(x_227, 1); -lean_inc(x_232); -x_233 = lean_ctor_get(x_227, 2); -lean_inc(x_233); -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_234 = x_227; -} else { - lean_dec_ref(x_227); - x_234 = lean_box(0); -} -x_235 = l_Array_empty___closed__1; -x_236 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_235, x_235, x_50, x_185); -x_237 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_235, x_235, x_50, x_3); -x_238 = lean_metavar_ctx_assign_delayed(x_231, x_226, x_47, x_236, x_237); -if (lean_is_scalar(x_234)) { - x_239 = lean_alloc_ctor(0, 3, 0); -} else { - x_239 = x_234; -} -lean_ctor_set(x_239, 0, x_238); -lean_ctor_set(x_239, 1, x_232); -lean_ctor_set(x_239, 2, x_233); -x_240 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_181, x_181, x_50, x_229); -lean_dec(x_181); -x_241 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_241, 0, x_240); -lean_ctor_set(x_241, 1, x_239); -return x_241; -} -else -{ -lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; -lean_dec(x_230); -lean_dec(x_226); -lean_dec(x_185); -lean_dec(x_47); -lean_dec(x_3); -x_242 = lean_ctor_get(x_227, 0); -lean_inc(x_242); -x_243 = lean_ctor_get(x_227, 1); -lean_inc(x_243); -x_244 = lean_ctor_get(x_227, 2); -lean_inc(x_244); -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_245 = x_227; -} else { - lean_dec_ref(x_227); - x_245 = lean_box(0); -} -lean_inc(x_229); -x_246 = l_Lean_MetavarContext_assignExpr(x_242, x_43, x_229); -if (lean_is_scalar(x_245)) { - x_247 = lean_alloc_ctor(0, 3, 0); -} else { - x_247 = x_245; -} -lean_ctor_set(x_247, 0, x_246); -lean_ctor_set(x_247, 1, x_243); -lean_ctor_set(x_247, 2, x_244); -x_248 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_181, x_181, x_50, x_229); -lean_dec(x_181); -x_249 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_249, 0, x_248); -lean_ctor_set(x_249, 1, x_247); -return x_249; -} -} -} -else -{ -uint8_t x_250; -lean_dec(x_188); -lean_dec(x_186); -lean_dec(x_185); -lean_dec(x_181); -lean_dec(x_47); -lean_dec(x_43); -lean_dec(x_3); -x_250 = !lean_is_exclusive(x_190); -if (x_250 == 0) -{ -return x_190; -} -else -{ -lean_object* x_251; lean_object* x_252; lean_object* x_253; -x_251 = lean_ctor_get(x_190, 0); -x_252 = lean_ctor_get(x_190, 1); -lean_inc(x_252); -lean_inc(x_251); -lean_dec(x_190); -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_254; lean_object* x_255; lean_object* x_256; -x_254 = lean_ctor_get(x_179, 0); -x_255 = lean_ctor_get(x_179, 1); -lean_inc(x_255); -lean_inc(x_254); -lean_dec(x_179); -lean_inc(x_47); -x_256 = l___private_Init_Lean_MetavarContext_10__collectDeps(x_44, x_47, x_48); -if (lean_obj_tag(x_256) == 0) -{ -lean_object* x_257; lean_object* x_258; -lean_dec(x_254); -lean_dec(x_47); -lean_dec(x_46); -lean_dec(x_43); +lean_dec(x_49); +lean_dec(x_48); +lean_dec(x_45); lean_dec(x_3); lean_dec(x_1); -x_257 = lean_ctor_get(x_256, 0); -lean_inc(x_257); -lean_dec(x_256); -x_258 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_258, 0, x_257); -lean_ctor_set(x_258, 1, x_255); -return x_258; +x_186 = lean_ctor_get(x_185, 0); +lean_inc(x_186); +lean_dec(x_185); +lean_ctor_set_tag(x_181, 1); +lean_ctor_set(x_181, 0, x_186); +return x_181; } else { -lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; -x_259 = lean_ctor_get(x_256, 0); -lean_inc(x_259); -lean_dec(x_256); -lean_inc(x_47); -x_260 = l___private_Init_Lean_MetavarContext_11__reduceLocalContext(x_47, x_259); -x_261 = lean_ctor_get(x_46, 4); -lean_inc(x_261); -x_262 = l_Array_filterAux___main___at___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main___spec__7(x_259, x_261, x_50, x_50); -x_263 = lean_ctor_get(x_46, 2); -lean_inc(x_263); -lean_dec(x_46); -lean_inc(x_47); -x_264 = l___private_Init_Lean_MetavarContext_17__mkAuxMVarType(x_1, x_47, x_259, x_55, x_263, x_255); -if (lean_obj_tag(x_264) == 0) +lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; +lean_free_object(x_181); +x_187 = lean_ctor_get(x_185, 0); +lean_inc(x_187); +lean_dec(x_185); +lean_inc(x_49); +x_188 = l___private_Init_Lean_MetavarContext_11__reduceLocalContext(x_49, x_187); +x_189 = lean_ctor_get(x_48, 4); +lean_inc(x_189); +x_190 = l_Array_filterAux___main___at___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main___spec__7(x_187, x_189, x_52, x_52); +x_191 = lean_ctor_get(x_48, 2); +lean_inc(x_191); +lean_dec(x_48); +lean_inc(x_49); +x_192 = l___private_Init_Lean_MetavarContext_17__mkAuxMVarType(x_1, x_49, x_187, x_57, x_191, x_5, x_184); +if (lean_obj_tag(x_192) == 0) { -lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; -x_265 = lean_ctor_get(x_264, 0); -lean_inc(x_265); -x_266 = lean_ctor_get(x_264, 1); -lean_inc(x_266); -lean_dec(x_264); -x_267 = l___private_Init_Lean_MetavarContext_19__mkAuxMVar(x_260, x_262, x_265, x_55, x_266); -x_268 = lean_ctor_get(x_267, 0); -lean_inc(x_268); -x_269 = lean_ctor_get(x_267, 1); -lean_inc(x_269); -if (lean_is_exclusive(x_267)) { - lean_ctor_release(x_267, 0); - lean_ctor_release(x_267, 1); - x_270 = x_267; -} else { - lean_dec_ref(x_267); - x_270 = lean_box(0); +lean_object* x_193; lean_object* x_194; lean_object* x_195; uint8_t x_196; +x_193 = lean_ctor_get(x_192, 0); +lean_inc(x_193); +x_194 = lean_ctor_get(x_192, 1); +lean_inc(x_194); +lean_dec(x_192); +x_195 = l___private_Init_Lean_MetavarContext_19__mkAuxMVar(x_188, x_190, x_193, x_57, x_5, x_194); +x_196 = !lean_is_exclusive(x_195); +if (x_196 == 0) +{ +lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; +x_197 = lean_ctor_get(x_195, 0); +x_198 = lean_ctor_get(x_195, 1); +lean_inc(x_197); +x_199 = l_Lean_mkMVar(x_197); +lean_inc(x_49); +x_200 = l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_18__mkMVarApp___spec__1(x_49, x_187, x_57, x_187, x_52, x_199); +x_201 = lean_box(x_57); +if (lean_obj_tag(x_201) == 2) +{ +uint8_t x_202; +lean_dec(x_45); +x_202 = !lean_is_exclusive(x_198); +if (x_202 == 0) +{ +lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; +x_203 = lean_ctor_get(x_198, 0); +x_204 = l_Array_empty___closed__1; +x_205 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_204, x_204, x_52, x_187); +x_206 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_204, x_204, x_52, x_3); +x_207 = lean_metavar_ctx_assign_delayed(x_203, x_197, x_49, x_205, x_206); +lean_ctor_set(x_198, 0, x_207); +x_208 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_183, x_183, x_52, x_200); +lean_dec(x_183); +lean_ctor_set(x_195, 0, x_208); +return x_195; } -lean_inc(x_268); -x_271 = l_Lean_mkMVar(x_268); -lean_inc(x_47); -x_272 = l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_18__mkMVarApp___spec__1(x_47, x_259, x_55, x_259, x_50, x_271); -x_273 = lean_box(x_55); -if (lean_obj_tag(x_273) == 2) +else { -lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; -lean_dec(x_43); -x_274 = lean_ctor_get(x_269, 0); -lean_inc(x_274); -x_275 = lean_ctor_get(x_269, 1); -lean_inc(x_275); -x_276 = lean_ctor_get(x_269, 2); -lean_inc(x_276); +lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; +x_209 = lean_ctor_get(x_198, 0); +x_210 = lean_ctor_get(x_198, 1); +x_211 = lean_ctor_get(x_198, 2); +lean_inc(x_211); +lean_inc(x_210); +lean_inc(x_209); +lean_dec(x_198); +x_212 = l_Array_empty___closed__1; +x_213 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_212, x_212, x_52, x_187); +x_214 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_212, x_212, x_52, x_3); +x_215 = lean_metavar_ctx_assign_delayed(x_209, x_197, x_49, x_213, x_214); +x_216 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_216, 0, x_215); +lean_ctor_set(x_216, 1, x_210); +lean_ctor_set(x_216, 2, x_211); +x_217 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_183, x_183, x_52, x_200); +lean_dec(x_183); +lean_ctor_set(x_195, 1, x_216); +lean_ctor_set(x_195, 0, x_217); +return x_195; +} +} +else +{ +uint8_t x_218; +lean_dec(x_201); +lean_dec(x_197); +lean_dec(x_187); +lean_dec(x_49); +lean_dec(x_3); +x_218 = !lean_is_exclusive(x_198); +if (x_218 == 0) +{ +lean_object* x_219; lean_object* x_220; lean_object* x_221; +x_219 = lean_ctor_get(x_198, 0); +lean_inc(x_200); +x_220 = l_Lean_MetavarContext_assignExpr(x_219, x_45, x_200); +lean_ctor_set(x_198, 0, x_220); +x_221 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_183, x_183, x_52, x_200); +lean_dec(x_183); +lean_ctor_set(x_195, 0, x_221); +return x_195; +} +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; +x_222 = lean_ctor_get(x_198, 0); +x_223 = lean_ctor_get(x_198, 1); +x_224 = lean_ctor_get(x_198, 2); +lean_inc(x_224); +lean_inc(x_223); +lean_inc(x_222); +lean_dec(x_198); +lean_inc(x_200); +x_225 = l_Lean_MetavarContext_assignExpr(x_222, x_45, x_200); +x_226 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_226, 0, x_225); +lean_ctor_set(x_226, 1, x_223); +lean_ctor_set(x_226, 2, x_224); +x_227 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_183, x_183, x_52, x_200); +lean_dec(x_183); +lean_ctor_set(x_195, 1, x_226); +lean_ctor_set(x_195, 0, x_227); +return x_195; +} +} +} +else +{ +lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; +x_228 = lean_ctor_get(x_195, 0); +x_229 = lean_ctor_get(x_195, 1); +lean_inc(x_229); +lean_inc(x_228); +lean_dec(x_195); +lean_inc(x_228); +x_230 = l_Lean_mkMVar(x_228); +lean_inc(x_49); +x_231 = l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_18__mkMVarApp___spec__1(x_49, x_187, x_57, x_187, x_52, x_230); +x_232 = lean_box(x_57); +if (lean_obj_tag(x_232) == 2) +{ +lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; +lean_dec(x_45); +x_233 = lean_ctor_get(x_229, 0); +lean_inc(x_233); +x_234 = lean_ctor_get(x_229, 1); +lean_inc(x_234); +x_235 = lean_ctor_get(x_229, 2); +lean_inc(x_235); +if (lean_is_exclusive(x_229)) { + lean_ctor_release(x_229, 0); + lean_ctor_release(x_229, 1); + lean_ctor_release(x_229, 2); + x_236 = x_229; +} else { + lean_dec_ref(x_229); + x_236 = lean_box(0); +} +x_237 = l_Array_empty___closed__1; +x_238 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_237, x_237, x_52, x_187); +x_239 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_237, x_237, x_52, x_3); +x_240 = lean_metavar_ctx_assign_delayed(x_233, x_228, x_49, x_238, x_239); +if (lean_is_scalar(x_236)) { + x_241 = lean_alloc_ctor(0, 3, 0); +} else { + x_241 = x_236; +} +lean_ctor_set(x_241, 0, x_240); +lean_ctor_set(x_241, 1, x_234); +lean_ctor_set(x_241, 2, x_235); +x_242 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_183, x_183, x_52, x_231); +lean_dec(x_183); +x_243 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_243, 0, x_242); +lean_ctor_set(x_243, 1, x_241); +return x_243; +} +else +{ +lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; +lean_dec(x_232); +lean_dec(x_228); +lean_dec(x_187); +lean_dec(x_49); +lean_dec(x_3); +x_244 = lean_ctor_get(x_229, 0); +lean_inc(x_244); +x_245 = lean_ctor_get(x_229, 1); +lean_inc(x_245); +x_246 = lean_ctor_get(x_229, 2); +lean_inc(x_246); +if (lean_is_exclusive(x_229)) { + lean_ctor_release(x_229, 0); + lean_ctor_release(x_229, 1); + lean_ctor_release(x_229, 2); + x_247 = x_229; +} else { + lean_dec_ref(x_229); + x_247 = lean_box(0); +} +lean_inc(x_231); +x_248 = l_Lean_MetavarContext_assignExpr(x_244, x_45, x_231); +if (lean_is_scalar(x_247)) { + x_249 = lean_alloc_ctor(0, 3, 0); +} else { + x_249 = x_247; +} +lean_ctor_set(x_249, 0, x_248); +lean_ctor_set(x_249, 1, x_245); +lean_ctor_set(x_249, 2, x_246); +x_250 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_183, x_183, x_52, x_231); +lean_dec(x_183); +x_251 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_251, 0, x_250); +lean_ctor_set(x_251, 1, x_249); +return x_251; +} +} +} +else +{ +uint8_t x_252; +lean_dec(x_190); +lean_dec(x_188); +lean_dec(x_187); +lean_dec(x_183); +lean_dec(x_49); +lean_dec(x_45); +lean_dec(x_3); +x_252 = !lean_is_exclusive(x_192); +if (x_252 == 0) +{ +return x_192; +} +else +{ +lean_object* x_253; lean_object* x_254; lean_object* x_255; +x_253 = lean_ctor_get(x_192, 0); +x_254 = lean_ctor_get(x_192, 1); +lean_inc(x_254); +lean_inc(x_253); +lean_dec(x_192); +x_255 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_255, 0, x_253); +lean_ctor_set(x_255, 1, x_254); +return x_255; +} +} +} +} +else +{ +lean_object* x_256; lean_object* x_257; lean_object* x_258; +x_256 = lean_ctor_get(x_181, 0); +x_257 = lean_ctor_get(x_181, 1); +lean_inc(x_257); +lean_inc(x_256); +lean_dec(x_181); +lean_inc(x_49); +x_258 = l___private_Init_Lean_MetavarContext_10__collectDeps(x_46, x_49, x_50, x_5); +if (lean_obj_tag(x_258) == 0) +{ +lean_object* x_259; lean_object* x_260; +lean_dec(x_256); +lean_dec(x_49); +lean_dec(x_48); +lean_dec(x_45); +lean_dec(x_3); +lean_dec(x_1); +x_259 = lean_ctor_get(x_258, 0); +lean_inc(x_259); +lean_dec(x_258); +x_260 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_260, 0, x_259); +lean_ctor_set(x_260, 1, x_257); +return x_260; +} +else +{ +lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; +x_261 = lean_ctor_get(x_258, 0); +lean_inc(x_261); +lean_dec(x_258); +lean_inc(x_49); +x_262 = l___private_Init_Lean_MetavarContext_11__reduceLocalContext(x_49, x_261); +x_263 = lean_ctor_get(x_48, 4); +lean_inc(x_263); +x_264 = l_Array_filterAux___main___at___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main___spec__7(x_261, x_263, x_52, x_52); +x_265 = lean_ctor_get(x_48, 2); +lean_inc(x_265); +lean_dec(x_48); +lean_inc(x_49); +x_266 = l___private_Init_Lean_MetavarContext_17__mkAuxMVarType(x_1, x_49, x_261, x_57, x_265, x_5, x_257); +if (lean_obj_tag(x_266) == 0) +{ +lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; +x_267 = lean_ctor_get(x_266, 0); +lean_inc(x_267); +x_268 = lean_ctor_get(x_266, 1); +lean_inc(x_268); +lean_dec(x_266); +x_269 = l___private_Init_Lean_MetavarContext_19__mkAuxMVar(x_262, x_264, x_267, x_57, x_5, x_268); +x_270 = lean_ctor_get(x_269, 0); +lean_inc(x_270); +x_271 = lean_ctor_get(x_269, 1); +lean_inc(x_271); if (lean_is_exclusive(x_269)) { lean_ctor_release(x_269, 0); lean_ctor_release(x_269, 1); - lean_ctor_release(x_269, 2); - x_277 = x_269; + x_272 = x_269; } else { lean_dec_ref(x_269); - x_277 = lean_box(0); + x_272 = lean_box(0); } -x_278 = l_Array_empty___closed__1; -x_279 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_278, x_278, x_50, x_259); -x_280 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_278, x_278, x_50, x_3); -x_281 = lean_metavar_ctx_assign_delayed(x_274, x_268, x_47, x_279, x_280); -if (lean_is_scalar(x_277)) { - x_282 = lean_alloc_ctor(0, 3, 0); +lean_inc(x_270); +x_273 = l_Lean_mkMVar(x_270); +lean_inc(x_49); +x_274 = l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_18__mkMVarApp___spec__1(x_49, x_261, x_57, x_261, x_52, x_273); +x_275 = lean_box(x_57); +if (lean_obj_tag(x_275) == 2) +{ +lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; +lean_dec(x_45); +x_276 = lean_ctor_get(x_271, 0); +lean_inc(x_276); +x_277 = lean_ctor_get(x_271, 1); +lean_inc(x_277); +x_278 = lean_ctor_get(x_271, 2); +lean_inc(x_278); +if (lean_is_exclusive(x_271)) { + lean_ctor_release(x_271, 0); + lean_ctor_release(x_271, 1); + lean_ctor_release(x_271, 2); + x_279 = x_271; } else { - x_282 = x_277; + lean_dec_ref(x_271); + x_279 = lean_box(0); } -lean_ctor_set(x_282, 0, x_281); -lean_ctor_set(x_282, 1, x_275); -lean_ctor_set(x_282, 2, x_276); -x_283 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_254, x_254, x_50, x_272); -lean_dec(x_254); -if (lean_is_scalar(x_270)) { - x_284 = lean_alloc_ctor(0, 2, 0); +x_280 = l_Array_empty___closed__1; +x_281 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_280, x_280, x_52, x_261); +x_282 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_280, x_280, x_52, x_3); +x_283 = lean_metavar_ctx_assign_delayed(x_276, x_270, x_49, x_281, x_282); +if (lean_is_scalar(x_279)) { + x_284 = lean_alloc_ctor(0, 3, 0); } else { - x_284 = x_270; + x_284 = x_279; } lean_ctor_set(x_284, 0, x_283); -lean_ctor_set(x_284, 1, x_282); -return x_284; +lean_ctor_set(x_284, 1, x_277); +lean_ctor_set(x_284, 2, x_278); +x_285 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_256, x_256, x_52, x_274); +lean_dec(x_256); +if (lean_is_scalar(x_272)) { + x_286 = lean_alloc_ctor(0, 2, 0); +} else { + x_286 = x_272; +} +lean_ctor_set(x_286, 0, x_285); +lean_ctor_set(x_286, 1, x_284); +return x_286; } 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_object* x_291; lean_object* x_292; -lean_dec(x_273); -lean_dec(x_268); -lean_dec(x_259); -lean_dec(x_47); +lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; +lean_dec(x_275); +lean_dec(x_270); +lean_dec(x_261); +lean_dec(x_49); lean_dec(x_3); -x_285 = lean_ctor_get(x_269, 0); -lean_inc(x_285); -x_286 = lean_ctor_get(x_269, 1); -lean_inc(x_286); -x_287 = lean_ctor_get(x_269, 2); +x_287 = lean_ctor_get(x_271, 0); lean_inc(x_287); -if (lean_is_exclusive(x_269)) { - lean_ctor_release(x_269, 0); - lean_ctor_release(x_269, 1); - lean_ctor_release(x_269, 2); - x_288 = x_269; +x_288 = lean_ctor_get(x_271, 1); +lean_inc(x_288); +x_289 = lean_ctor_get(x_271, 2); +lean_inc(x_289); +if (lean_is_exclusive(x_271)) { + lean_ctor_release(x_271, 0); + lean_ctor_release(x_271, 1); + lean_ctor_release(x_271, 2); + x_290 = x_271; } else { - lean_dec_ref(x_269); - x_288 = lean_box(0); + lean_dec_ref(x_271); + x_290 = lean_box(0); } -lean_inc(x_272); -x_289 = l_Lean_MetavarContext_assignExpr(x_285, x_43, x_272); -if (lean_is_scalar(x_288)) { - x_290 = lean_alloc_ctor(0, 3, 0); +lean_inc(x_274); +x_291 = l_Lean_MetavarContext_assignExpr(x_287, x_45, x_274); +if (lean_is_scalar(x_290)) { + x_292 = lean_alloc_ctor(0, 3, 0); } else { - x_290 = x_288; -} -lean_ctor_set(x_290, 0, x_289); -lean_ctor_set(x_290, 1, x_286); -lean_ctor_set(x_290, 2, x_287); -x_291 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_254, x_254, x_50, x_272); -lean_dec(x_254); -if (lean_is_scalar(x_270)) { - x_292 = lean_alloc_ctor(0, 2, 0); -} else { - x_292 = x_270; + x_292 = x_290; } lean_ctor_set(x_292, 0, x_291); -lean_ctor_set(x_292, 1, x_290); -return x_292; +lean_ctor_set(x_292, 1, x_288); +lean_ctor_set(x_292, 2, x_289); +x_293 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_256, x_256, x_52, x_274); +lean_dec(x_256); +if (lean_is_scalar(x_272)) { + x_294 = lean_alloc_ctor(0, 2, 0); +} else { + x_294 = x_272; +} +lean_ctor_set(x_294, 0, x_293); +lean_ctor_set(x_294, 1, x_292); +return x_294; } } else { -lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; +lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; +lean_dec(x_264); lean_dec(x_262); -lean_dec(x_260); -lean_dec(x_259); -lean_dec(x_254); -lean_dec(x_47); -lean_dec(x_43); +lean_dec(x_261); +lean_dec(x_256); +lean_dec(x_49); +lean_dec(x_45); lean_dec(x_3); -x_293 = lean_ctor_get(x_264, 0); -lean_inc(x_293); -x_294 = lean_ctor_get(x_264, 1); -lean_inc(x_294); -if (lean_is_exclusive(x_264)) { - lean_ctor_release(x_264, 0); - lean_ctor_release(x_264, 1); - x_295 = x_264; +x_295 = lean_ctor_get(x_266, 0); +lean_inc(x_295); +x_296 = lean_ctor_get(x_266, 1); +lean_inc(x_296); +if (lean_is_exclusive(x_266)) { + lean_ctor_release(x_266, 0); + lean_ctor_release(x_266, 1); + x_297 = x_266; } else { - lean_dec_ref(x_264); - x_295 = lean_box(0); + lean_dec_ref(x_266); + x_297 = lean_box(0); } -if (lean_is_scalar(x_295)) { - x_296 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_297)) { + x_298 = lean_alloc_ctor(1, 2, 0); } else { - x_296 = x_295; + x_298 = x_297; } -lean_ctor_set(x_296, 0, x_293); -lean_ctor_set(x_296, 1, x_294); -return x_296; +lean_ctor_set(x_298, 0, x_295); +lean_ctor_set(x_298, 1, x_296); +return x_298; } } } } else { -uint8_t x_297; +uint8_t x_299; +lean_dec(x_50); +lean_dec(x_49); lean_dec(x_48); -lean_dec(x_47); lean_dec(x_46); -lean_dec(x_44); -lean_dec(x_43); +lean_dec(x_45); lean_dec(x_3); lean_dec(x_1); -x_297 = !lean_is_exclusive(x_179); -if (x_297 == 0) +x_299 = !lean_is_exclusive(x_181); +if (x_299 == 0) { -return x_179; +return x_181; } else { -lean_object* x_298; lean_object* x_299; lean_object* x_300; -x_298 = lean_ctor_get(x_179, 0); -x_299 = lean_ctor_get(x_179, 1); -lean_inc(x_299); -lean_inc(x_298); -lean_dec(x_179); -x_300 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_300, 0, x_298); -lean_ctor_set(x_300, 1, x_299); -return x_300; -} -} -} -else -{ -lean_object* x_301; lean_object* x_302; lean_object* x_303; -x_301 = lean_ctor_get(x_178, 0); +lean_object* x_300; lean_object* x_301; lean_object* x_302; +x_300 = lean_ctor_get(x_181, 0); +x_301 = lean_ctor_get(x_181, 1); lean_inc(x_301); -lean_dec(x_178); -x_302 = lean_ctor_get(x_301, 1); -lean_inc(x_302); -lean_dec(x_301); -lean_inc(x_1); -x_303 = l_Array_umapMAux___main___at___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main___spec__8(x_1, x_50, x_4, x_5); -if (lean_obj_tag(x_303) == 0) -{ -uint8_t x_304; -x_304 = !lean_is_exclusive(x_303); -if (x_304 == 0) -{ -lean_object* x_305; lean_object* x_306; lean_object* x_307; -x_305 = lean_ctor_get(x_303, 0); -x_306 = lean_ctor_get(x_303, 1); -lean_inc(x_47); -x_307 = l___private_Init_Lean_MetavarContext_10__collectDeps(x_44, x_47, x_48); -if (lean_obj_tag(x_307) == 0) -{ -lean_object* x_308; -lean_dec(x_305); -lean_dec(x_302); -lean_dec(x_47); -lean_dec(x_46); -lean_dec(x_43); -lean_dec(x_3); -lean_dec(x_1); -x_308 = lean_ctor_get(x_307, 0); -lean_inc(x_308); -lean_dec(x_307); -lean_ctor_set_tag(x_303, 1); -lean_ctor_set(x_303, 0, x_308); -return x_303; -} -else -{ -lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; -lean_free_object(x_303); -x_309 = lean_ctor_get(x_307, 0); -lean_inc(x_309); -lean_dec(x_307); -lean_inc(x_47); -x_310 = l___private_Init_Lean_MetavarContext_11__reduceLocalContext(x_47, x_309); -x_311 = lean_ctor_get(x_46, 4); -lean_inc(x_311); -x_312 = l_Array_filterAux___main___at___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main___spec__10(x_309, x_311, x_50, x_50); -x_313 = lean_ctor_get(x_46, 2); -lean_inc(x_313); -lean_dec(x_46); -lean_inc(x_47); -x_314 = l___private_Init_Lean_MetavarContext_17__mkAuxMVarType(x_1, x_47, x_309, x_55, x_313, x_306); -if (lean_obj_tag(x_314) == 0) -{ -lean_object* x_315; lean_object* x_316; lean_object* x_317; uint8_t x_318; -x_315 = lean_ctor_get(x_314, 0); -lean_inc(x_315); -x_316 = lean_ctor_get(x_314, 1); -lean_inc(x_316); -lean_dec(x_314); -x_317 = l___private_Init_Lean_MetavarContext_19__mkAuxMVar(x_310, x_312, x_315, x_55, x_316); -x_318 = !lean_is_exclusive(x_317); -if (x_318 == 0) -{ -lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; -x_319 = lean_ctor_get(x_317, 0); -x_320 = lean_ctor_get(x_317, 1); -lean_inc(x_319); -x_321 = l_Lean_mkMVar(x_319); -lean_inc(x_47); -x_322 = l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_18__mkMVarApp___spec__1(x_47, x_309, x_55, x_309, x_50, x_321); -x_323 = lean_box(x_55); -if (lean_obj_tag(x_323) == 2) -{ -uint8_t x_324; -lean_dec(x_43); -x_324 = !lean_is_exclusive(x_320); -if (x_324 == 0) -{ -lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; -x_325 = lean_ctor_get(x_320, 0); -x_326 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_302, x_302, x_50, x_309); -x_327 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_302, x_302, x_50, x_3); -lean_dec(x_302); -x_328 = lean_metavar_ctx_assign_delayed(x_325, x_319, x_47, x_326, x_327); -lean_ctor_set(x_320, 0, x_328); -x_329 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_305, x_305, x_50, x_322); -lean_dec(x_305); -lean_ctor_set(x_317, 0, x_329); -return x_317; -} -else -{ -lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; -x_330 = lean_ctor_get(x_320, 0); -x_331 = lean_ctor_get(x_320, 1); -x_332 = lean_ctor_get(x_320, 2); -lean_inc(x_332); -lean_inc(x_331); -lean_inc(x_330); -lean_dec(x_320); -x_333 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_302, x_302, x_50, x_309); -x_334 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_302, x_302, x_50, x_3); -lean_dec(x_302); -x_335 = lean_metavar_ctx_assign_delayed(x_330, x_319, x_47, x_333, x_334); -x_336 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_336, 0, x_335); -lean_ctor_set(x_336, 1, x_331); -lean_ctor_set(x_336, 2, x_332); -x_337 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_305, x_305, x_50, x_322); -lean_dec(x_305); -lean_ctor_set(x_317, 1, x_336); -lean_ctor_set(x_317, 0, x_337); -return x_317; -} -} -else -{ -uint8_t x_338; -lean_dec(x_323); -lean_dec(x_319); -lean_dec(x_309); -lean_dec(x_302); -lean_dec(x_47); -lean_dec(x_3); -x_338 = !lean_is_exclusive(x_320); -if (x_338 == 0) -{ -lean_object* x_339; lean_object* x_340; lean_object* x_341; -x_339 = lean_ctor_get(x_320, 0); -lean_inc(x_322); -x_340 = l_Lean_MetavarContext_assignExpr(x_339, x_43, x_322); -lean_ctor_set(x_320, 0, x_340); -x_341 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_305, x_305, x_50, x_322); -lean_dec(x_305); -lean_ctor_set(x_317, 0, x_341); -return x_317; -} -else -{ -lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; -x_342 = lean_ctor_get(x_320, 0); -x_343 = lean_ctor_get(x_320, 1); -x_344 = lean_ctor_get(x_320, 2); -lean_inc(x_344); -lean_inc(x_343); -lean_inc(x_342); -lean_dec(x_320); -lean_inc(x_322); -x_345 = l_Lean_MetavarContext_assignExpr(x_342, x_43, x_322); -x_346 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_346, 0, x_345); -lean_ctor_set(x_346, 1, x_343); -lean_ctor_set(x_346, 2, x_344); -x_347 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_305, x_305, x_50, x_322); -lean_dec(x_305); -lean_ctor_set(x_317, 1, x_346); -lean_ctor_set(x_317, 0, x_347); -return x_317; +lean_inc(x_300); +lean_dec(x_181); +x_302 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_302, 0, x_300); +lean_ctor_set(x_302, 1, x_301); +return x_302; } } } 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_317, 0); -x_349 = lean_ctor_get(x_317, 1); -lean_inc(x_349); -lean_inc(x_348); -lean_dec(x_317); -lean_inc(x_348); -x_350 = l_Lean_mkMVar(x_348); -lean_inc(x_47); -x_351 = l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_18__mkMVarApp___spec__1(x_47, x_309, x_55, x_309, x_50, x_350); -x_352 = lean_box(x_55); -if (lean_obj_tag(x_352) == 2) -{ -lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; -lean_dec(x_43); -x_353 = lean_ctor_get(x_349, 0); -lean_inc(x_353); -x_354 = lean_ctor_get(x_349, 1); -lean_inc(x_354); -x_355 = lean_ctor_get(x_349, 2); -lean_inc(x_355); -if (lean_is_exclusive(x_349)) { - lean_ctor_release(x_349, 0); - lean_ctor_release(x_349, 1); - lean_ctor_release(x_349, 2); - x_356 = x_349; -} else { - lean_dec_ref(x_349); - x_356 = lean_box(0); -} -x_357 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_302, x_302, x_50, x_309); -x_358 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_302, x_302, x_50, x_3); -lean_dec(x_302); -x_359 = lean_metavar_ctx_assign_delayed(x_353, x_348, x_47, x_357, x_358); -if (lean_is_scalar(x_356)) { - x_360 = lean_alloc_ctor(0, 3, 0); -} else { - x_360 = x_356; -} -lean_ctor_set(x_360, 0, x_359); -lean_ctor_set(x_360, 1, x_354); -lean_ctor_set(x_360, 2, x_355); -x_361 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_305, x_305, x_50, x_351); -lean_dec(x_305); -x_362 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_362, 0, x_361); -lean_ctor_set(x_362, 1, x_360); -return x_362; -} -else -{ -lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; -lean_dec(x_352); -lean_dec(x_348); -lean_dec(x_309); -lean_dec(x_302); -lean_dec(x_47); -lean_dec(x_3); -x_363 = lean_ctor_get(x_349, 0); -lean_inc(x_363); -x_364 = lean_ctor_get(x_349, 1); -lean_inc(x_364); -x_365 = lean_ctor_get(x_349, 2); -lean_inc(x_365); -if (lean_is_exclusive(x_349)) { - lean_ctor_release(x_349, 0); - lean_ctor_release(x_349, 1); - lean_ctor_release(x_349, 2); - x_366 = x_349; -} else { - lean_dec_ref(x_349); - x_366 = lean_box(0); -} -lean_inc(x_351); -x_367 = l_Lean_MetavarContext_assignExpr(x_363, x_43, x_351); -if (lean_is_scalar(x_366)) { - x_368 = lean_alloc_ctor(0, 3, 0); -} else { - x_368 = x_366; -} -lean_ctor_set(x_368, 0, x_367); -lean_ctor_set(x_368, 1, x_364); -lean_ctor_set(x_368, 2, x_365); -x_369 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_305, x_305, x_50, x_351); -lean_dec(x_305); -x_370 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_370, 0, x_369); -lean_ctor_set(x_370, 1, x_368); -return x_370; -} -} -} -else -{ -uint8_t x_371; -lean_dec(x_312); -lean_dec(x_310); -lean_dec(x_309); -lean_dec(x_305); -lean_dec(x_302); -lean_dec(x_47); -lean_dec(x_43); -lean_dec(x_3); -x_371 = !lean_is_exclusive(x_314); -if (x_371 == 0) -{ -return x_314; -} -else -{ -lean_object* x_372; lean_object* x_373; lean_object* x_374; -x_372 = lean_ctor_get(x_314, 0); -x_373 = lean_ctor_get(x_314, 1); -lean_inc(x_373); -lean_inc(x_372); -lean_dec(x_314); -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_object* x_376; lean_object* x_377; -x_375 = lean_ctor_get(x_303, 0); -x_376 = lean_ctor_get(x_303, 1); -lean_inc(x_376); -lean_inc(x_375); +lean_object* x_303; lean_object* x_304; lean_object* x_305; +x_303 = lean_ctor_get(x_180, 0); +lean_inc(x_303); +lean_dec(x_180); +x_304 = lean_ctor_get(x_303, 1); +lean_inc(x_304); lean_dec(x_303); -lean_inc(x_47); -x_377 = l___private_Init_Lean_MetavarContext_10__collectDeps(x_44, x_47, x_48); -if (lean_obj_tag(x_377) == 0) +lean_inc(x_1); +x_305 = l_Array_umapMAux___main___at___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main___spec__8(x_1, x_52, x_4, x_5, x_6); +if (lean_obj_tag(x_305) == 0) { -lean_object* x_378; lean_object* x_379; -lean_dec(x_375); -lean_dec(x_302); -lean_dec(x_47); -lean_dec(x_46); -lean_dec(x_43); +uint8_t x_306; +x_306 = !lean_is_exclusive(x_305); +if (x_306 == 0) +{ +lean_object* x_307; lean_object* x_308; lean_object* x_309; +x_307 = lean_ctor_get(x_305, 0); +x_308 = lean_ctor_get(x_305, 1); +lean_inc(x_49); +x_309 = l___private_Init_Lean_MetavarContext_10__collectDeps(x_46, x_49, x_50, x_5); +if (lean_obj_tag(x_309) == 0) +{ +lean_object* x_310; +lean_dec(x_307); +lean_dec(x_304); +lean_dec(x_49); +lean_dec(x_48); +lean_dec(x_45); lean_dec(x_3); lean_dec(x_1); -x_378 = lean_ctor_get(x_377, 0); -lean_inc(x_378); -lean_dec(x_377); -x_379 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_379, 0, x_378); -lean_ctor_set(x_379, 1, x_376); -return x_379; +x_310 = lean_ctor_get(x_309, 0); +lean_inc(x_310); +lean_dec(x_309); +lean_ctor_set_tag(x_305, 1); +lean_ctor_set(x_305, 0, x_310); +return x_305; } else { -lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; -x_380 = lean_ctor_get(x_377, 0); -lean_inc(x_380); -lean_dec(x_377); -lean_inc(x_47); -x_381 = l___private_Init_Lean_MetavarContext_11__reduceLocalContext(x_47, x_380); -x_382 = lean_ctor_get(x_46, 4); -lean_inc(x_382); -x_383 = l_Array_filterAux___main___at___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main___spec__10(x_380, x_382, x_50, x_50); -x_384 = lean_ctor_get(x_46, 2); -lean_inc(x_384); -lean_dec(x_46); -lean_inc(x_47); -x_385 = l___private_Init_Lean_MetavarContext_17__mkAuxMVarType(x_1, x_47, x_380, x_55, x_384, x_376); -if (lean_obj_tag(x_385) == 0) +lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; +lean_free_object(x_305); +x_311 = lean_ctor_get(x_309, 0); +lean_inc(x_311); +lean_dec(x_309); +lean_inc(x_49); +x_312 = l___private_Init_Lean_MetavarContext_11__reduceLocalContext(x_49, x_311); +x_313 = lean_ctor_get(x_48, 4); +lean_inc(x_313); +x_314 = l_Array_filterAux___main___at___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main___spec__10(x_311, x_313, x_52, x_52); +x_315 = lean_ctor_get(x_48, 2); +lean_inc(x_315); +lean_dec(x_48); +lean_inc(x_49); +x_316 = l___private_Init_Lean_MetavarContext_17__mkAuxMVarType(x_1, x_49, x_311, x_57, x_315, x_5, x_308); +if (lean_obj_tag(x_316) == 0) { -lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; -x_386 = lean_ctor_get(x_385, 0); -lean_inc(x_386); -x_387 = lean_ctor_get(x_385, 1); -lean_inc(x_387); -lean_dec(x_385); -x_388 = l___private_Init_Lean_MetavarContext_19__mkAuxMVar(x_381, x_383, x_386, x_55, x_387); -x_389 = lean_ctor_get(x_388, 0); -lean_inc(x_389); -x_390 = lean_ctor_get(x_388, 1); -lean_inc(x_390); -if (lean_is_exclusive(x_388)) { - lean_ctor_release(x_388, 0); - lean_ctor_release(x_388, 1); - x_391 = x_388; -} else { - lean_dec_ref(x_388); - x_391 = lean_box(0); +lean_object* x_317; lean_object* x_318; lean_object* x_319; uint8_t x_320; +x_317 = lean_ctor_get(x_316, 0); +lean_inc(x_317); +x_318 = lean_ctor_get(x_316, 1); +lean_inc(x_318); +lean_dec(x_316); +x_319 = l___private_Init_Lean_MetavarContext_19__mkAuxMVar(x_312, x_314, x_317, x_57, x_5, x_318); +x_320 = !lean_is_exclusive(x_319); +if (x_320 == 0) +{ +lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; +x_321 = lean_ctor_get(x_319, 0); +x_322 = lean_ctor_get(x_319, 1); +lean_inc(x_321); +x_323 = l_Lean_mkMVar(x_321); +lean_inc(x_49); +x_324 = l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_18__mkMVarApp___spec__1(x_49, x_311, x_57, x_311, x_52, x_323); +x_325 = lean_box(x_57); +if (lean_obj_tag(x_325) == 2) +{ +uint8_t x_326; +lean_dec(x_45); +x_326 = !lean_is_exclusive(x_322); +if (x_326 == 0) +{ +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 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_304, x_304, x_52, x_311); +x_329 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_304, x_304, x_52, x_3); +lean_dec(x_304); +x_330 = lean_metavar_ctx_assign_delayed(x_327, x_321, x_49, x_328, x_329); +lean_ctor_set(x_322, 0, x_330); +x_331 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_307, x_307, x_52, x_324); +lean_dec(x_307); +lean_ctor_set(x_319, 0, x_331); +return x_319; } -lean_inc(x_389); -x_392 = l_Lean_mkMVar(x_389); -lean_inc(x_47); -x_393 = l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_18__mkMVarApp___spec__1(x_47, x_380, x_55, x_380, x_50, x_392); -x_394 = lean_box(x_55); -if (lean_obj_tag(x_394) == 2) +else { -lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; -lean_dec(x_43); -x_395 = lean_ctor_get(x_390, 0); -lean_inc(x_395); -x_396 = lean_ctor_get(x_390, 1); -lean_inc(x_396); -x_397 = lean_ctor_get(x_390, 2); -lean_inc(x_397); +lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; +x_332 = lean_ctor_get(x_322, 0); +x_333 = lean_ctor_get(x_322, 1); +x_334 = lean_ctor_get(x_322, 2); +lean_inc(x_334); +lean_inc(x_333); +lean_inc(x_332); +lean_dec(x_322); +x_335 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_304, x_304, x_52, x_311); +x_336 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_304, x_304, x_52, x_3); +lean_dec(x_304); +x_337 = lean_metavar_ctx_assign_delayed(x_332, x_321, x_49, x_335, x_336); +x_338 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_338, 0, x_337); +lean_ctor_set(x_338, 1, x_333); +lean_ctor_set(x_338, 2, x_334); +x_339 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_307, x_307, x_52, x_324); +lean_dec(x_307); +lean_ctor_set(x_319, 1, x_338); +lean_ctor_set(x_319, 0, x_339); +return x_319; +} +} +else +{ +uint8_t x_340; +lean_dec(x_325); +lean_dec(x_321); +lean_dec(x_311); +lean_dec(x_304); +lean_dec(x_49); +lean_dec(x_3); +x_340 = !lean_is_exclusive(x_322); +if (x_340 == 0) +{ +lean_object* x_341; lean_object* x_342; lean_object* x_343; +x_341 = lean_ctor_get(x_322, 0); +lean_inc(x_324); +x_342 = l_Lean_MetavarContext_assignExpr(x_341, x_45, x_324); +lean_ctor_set(x_322, 0, x_342); +x_343 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_307, x_307, x_52, x_324); +lean_dec(x_307); +lean_ctor_set(x_319, 0, x_343); +return x_319; +} +else +{ +lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; +x_344 = lean_ctor_get(x_322, 0); +x_345 = lean_ctor_get(x_322, 1); +x_346 = lean_ctor_get(x_322, 2); +lean_inc(x_346); +lean_inc(x_345); +lean_inc(x_344); +lean_dec(x_322); +lean_inc(x_324); +x_347 = l_Lean_MetavarContext_assignExpr(x_344, x_45, x_324); +x_348 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_348, 0, x_347); +lean_ctor_set(x_348, 1, x_345); +lean_ctor_set(x_348, 2, x_346); +x_349 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_307, x_307, x_52, x_324); +lean_dec(x_307); +lean_ctor_set(x_319, 1, x_348); +lean_ctor_set(x_319, 0, x_349); +return x_319; +} +} +} +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_319, 0); +x_351 = lean_ctor_get(x_319, 1); +lean_inc(x_351); +lean_inc(x_350); +lean_dec(x_319); +lean_inc(x_350); +x_352 = l_Lean_mkMVar(x_350); +lean_inc(x_49); +x_353 = l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_18__mkMVarApp___spec__1(x_49, x_311, x_57, x_311, x_52, x_352); +x_354 = lean_box(x_57); +if (lean_obj_tag(x_354) == 2) +{ +lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; +lean_dec(x_45); +x_355 = lean_ctor_get(x_351, 0); +lean_inc(x_355); +x_356 = lean_ctor_get(x_351, 1); +lean_inc(x_356); +x_357 = lean_ctor_get(x_351, 2); +lean_inc(x_357); +if (lean_is_exclusive(x_351)) { + lean_ctor_release(x_351, 0); + lean_ctor_release(x_351, 1); + lean_ctor_release(x_351, 2); + x_358 = x_351; +} else { + lean_dec_ref(x_351); + x_358 = lean_box(0); +} +x_359 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_304, x_304, x_52, x_311); +x_360 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_304, x_304, x_52, x_3); +lean_dec(x_304); +x_361 = lean_metavar_ctx_assign_delayed(x_355, x_350, x_49, x_359, x_360); +if (lean_is_scalar(x_358)) { + x_362 = lean_alloc_ctor(0, 3, 0); +} else { + x_362 = x_358; +} +lean_ctor_set(x_362, 0, x_361); +lean_ctor_set(x_362, 1, x_356); +lean_ctor_set(x_362, 2, x_357); +x_363 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_307, x_307, x_52, x_353); +lean_dec(x_307); +x_364 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_364, 0, x_363); +lean_ctor_set(x_364, 1, x_362); +return x_364; +} +else +{ +lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; +lean_dec(x_354); +lean_dec(x_350); +lean_dec(x_311); +lean_dec(x_304); +lean_dec(x_49); +lean_dec(x_3); +x_365 = lean_ctor_get(x_351, 0); +lean_inc(x_365); +x_366 = lean_ctor_get(x_351, 1); +lean_inc(x_366); +x_367 = lean_ctor_get(x_351, 2); +lean_inc(x_367); +if (lean_is_exclusive(x_351)) { + lean_ctor_release(x_351, 0); + lean_ctor_release(x_351, 1); + lean_ctor_release(x_351, 2); + x_368 = x_351; +} else { + lean_dec_ref(x_351); + x_368 = lean_box(0); +} +lean_inc(x_353); +x_369 = l_Lean_MetavarContext_assignExpr(x_365, x_45, x_353); +if (lean_is_scalar(x_368)) { + x_370 = lean_alloc_ctor(0, 3, 0); +} else { + x_370 = x_368; +} +lean_ctor_set(x_370, 0, x_369); +lean_ctor_set(x_370, 1, x_366); +lean_ctor_set(x_370, 2, x_367); +x_371 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_307, x_307, x_52, x_353); +lean_dec(x_307); +x_372 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_372, 0, x_371); +lean_ctor_set(x_372, 1, x_370); +return x_372; +} +} +} +else +{ +uint8_t x_373; +lean_dec(x_314); +lean_dec(x_312); +lean_dec(x_311); +lean_dec(x_307); +lean_dec(x_304); +lean_dec(x_49); +lean_dec(x_45); +lean_dec(x_3); +x_373 = !lean_is_exclusive(x_316); +if (x_373 == 0) +{ +return x_316; +} +else +{ +lean_object* x_374; lean_object* x_375; lean_object* x_376; +x_374 = lean_ctor_get(x_316, 0); +x_375 = lean_ctor_get(x_316, 1); +lean_inc(x_375); +lean_inc(x_374); +lean_dec(x_316); +x_376 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_376, 0, x_374); +lean_ctor_set(x_376, 1, x_375); +return x_376; +} +} +} +} +else +{ +lean_object* x_377; lean_object* x_378; lean_object* x_379; +x_377 = lean_ctor_get(x_305, 0); +x_378 = lean_ctor_get(x_305, 1); +lean_inc(x_378); +lean_inc(x_377); +lean_dec(x_305); +lean_inc(x_49); +x_379 = l___private_Init_Lean_MetavarContext_10__collectDeps(x_46, x_49, x_50, x_5); +if (lean_obj_tag(x_379) == 0) +{ +lean_object* x_380; lean_object* x_381; +lean_dec(x_377); +lean_dec(x_304); +lean_dec(x_49); +lean_dec(x_48); +lean_dec(x_45); +lean_dec(x_3); +lean_dec(x_1); +x_380 = lean_ctor_get(x_379, 0); +lean_inc(x_380); +lean_dec(x_379); +x_381 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_381, 0, x_380); +lean_ctor_set(x_381, 1, x_378); +return x_381; +} +else +{ +lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; +x_382 = lean_ctor_get(x_379, 0); +lean_inc(x_382); +lean_dec(x_379); +lean_inc(x_49); +x_383 = l___private_Init_Lean_MetavarContext_11__reduceLocalContext(x_49, x_382); +x_384 = lean_ctor_get(x_48, 4); +lean_inc(x_384); +x_385 = l_Array_filterAux___main___at___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main___spec__10(x_382, x_384, x_52, x_52); +x_386 = lean_ctor_get(x_48, 2); +lean_inc(x_386); +lean_dec(x_48); +lean_inc(x_49); +x_387 = l___private_Init_Lean_MetavarContext_17__mkAuxMVarType(x_1, x_49, x_382, x_57, x_386, x_5, x_378); +if (lean_obj_tag(x_387) == 0) +{ +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_object* x_395; lean_object* x_396; +x_388 = lean_ctor_get(x_387, 0); +lean_inc(x_388); +x_389 = lean_ctor_get(x_387, 1); +lean_inc(x_389); +lean_dec(x_387); +x_390 = l___private_Init_Lean_MetavarContext_19__mkAuxMVar(x_383, x_385, x_388, x_57, x_5, x_389); +x_391 = lean_ctor_get(x_390, 0); +lean_inc(x_391); +x_392 = lean_ctor_get(x_390, 1); +lean_inc(x_392); if (lean_is_exclusive(x_390)) { lean_ctor_release(x_390, 0); lean_ctor_release(x_390, 1); - lean_ctor_release(x_390, 2); - x_398 = x_390; + x_393 = x_390; } else { lean_dec_ref(x_390); - x_398 = lean_box(0); + x_393 = lean_box(0); } -x_399 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_302, x_302, x_50, x_380); -x_400 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_302, x_302, x_50, x_3); -lean_dec(x_302); -x_401 = lean_metavar_ctx_assign_delayed(x_395, x_389, x_47, x_399, x_400); -if (lean_is_scalar(x_398)) { - x_402 = lean_alloc_ctor(0, 3, 0); +lean_inc(x_391); +x_394 = l_Lean_mkMVar(x_391); +lean_inc(x_49); +x_395 = l_Array_iterateMAux___main___at___private_Init_Lean_MetavarContext_18__mkMVarApp___spec__1(x_49, x_382, x_57, x_382, x_52, x_394); +x_396 = lean_box(x_57); +if (lean_obj_tag(x_396) == 2) +{ +lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; +lean_dec(x_45); +x_397 = lean_ctor_get(x_392, 0); +lean_inc(x_397); +x_398 = lean_ctor_get(x_392, 1); +lean_inc(x_398); +x_399 = lean_ctor_get(x_392, 2); +lean_inc(x_399); +if (lean_is_exclusive(x_392)) { + lean_ctor_release(x_392, 0); + lean_ctor_release(x_392, 1); + lean_ctor_release(x_392, 2); + x_400 = x_392; } else { - x_402 = x_398; + lean_dec_ref(x_392); + x_400 = lean_box(0); } -lean_ctor_set(x_402, 0, x_401); -lean_ctor_set(x_402, 1, x_396); -lean_ctor_set(x_402, 2, x_397); -x_403 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_375, x_375, x_50, x_393); -lean_dec(x_375); -if (lean_is_scalar(x_391)) { - x_404 = lean_alloc_ctor(0, 2, 0); +x_401 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_304, x_304, x_52, x_382); +x_402 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_304, x_304, x_52, x_3); +lean_dec(x_304); +x_403 = lean_metavar_ctx_assign_delayed(x_397, x_391, x_49, x_401, x_402); +if (lean_is_scalar(x_400)) { + x_404 = lean_alloc_ctor(0, 3, 0); } else { - x_404 = x_391; + x_404 = x_400; } lean_ctor_set(x_404, 0, x_403); -lean_ctor_set(x_404, 1, x_402); -return x_404; +lean_ctor_set(x_404, 1, x_398); +lean_ctor_set(x_404, 2, x_399); +x_405 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_377, x_377, x_52, x_395); +lean_dec(x_377); +if (lean_is_scalar(x_393)) { + x_406 = lean_alloc_ctor(0, 2, 0); +} else { + x_406 = x_393; +} +lean_ctor_set(x_406, 0, x_405); +lean_ctor_set(x_406, 1, x_404); +return x_406; } else { -lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; -lean_dec(x_394); -lean_dec(x_389); -lean_dec(x_380); -lean_dec(x_302); -lean_dec(x_47); +lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; +lean_dec(x_396); +lean_dec(x_391); +lean_dec(x_382); +lean_dec(x_304); +lean_dec(x_49); lean_dec(x_3); -x_405 = lean_ctor_get(x_390, 0); -lean_inc(x_405); -x_406 = lean_ctor_get(x_390, 1); -lean_inc(x_406); -x_407 = lean_ctor_get(x_390, 2); +x_407 = lean_ctor_get(x_392, 0); lean_inc(x_407); -if (lean_is_exclusive(x_390)) { - lean_ctor_release(x_390, 0); - lean_ctor_release(x_390, 1); - lean_ctor_release(x_390, 2); - x_408 = x_390; +x_408 = lean_ctor_get(x_392, 1); +lean_inc(x_408); +x_409 = lean_ctor_get(x_392, 2); +lean_inc(x_409); +if (lean_is_exclusive(x_392)) { + lean_ctor_release(x_392, 0); + lean_ctor_release(x_392, 1); + lean_ctor_release(x_392, 2); + x_410 = x_392; } else { - lean_dec_ref(x_390); - x_408 = lean_box(0); + lean_dec_ref(x_392); + x_410 = lean_box(0); } -lean_inc(x_393); -x_409 = l_Lean_MetavarContext_assignExpr(x_405, x_43, x_393); -if (lean_is_scalar(x_408)) { - x_410 = lean_alloc_ctor(0, 3, 0); +lean_inc(x_395); +x_411 = l_Lean_MetavarContext_assignExpr(x_407, x_45, x_395); +if (lean_is_scalar(x_410)) { + x_412 = lean_alloc_ctor(0, 3, 0); } else { - x_410 = x_408; -} -lean_ctor_set(x_410, 0, x_409); -lean_ctor_set(x_410, 1, x_406); -lean_ctor_set(x_410, 2, x_407); -x_411 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_375, x_375, x_50, x_393); -lean_dec(x_375); -if (lean_is_scalar(x_391)) { - x_412 = lean_alloc_ctor(0, 2, 0); -} else { - x_412 = x_391; + x_412 = x_410; } lean_ctor_set(x_412, 0, x_411); -lean_ctor_set(x_412, 1, x_410); -return x_412; +lean_ctor_set(x_412, 1, x_408); +lean_ctor_set(x_412, 2, x_409); +x_413 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_377, x_377, x_52, x_395); +lean_dec(x_377); +if (lean_is_scalar(x_393)) { + x_414 = lean_alloc_ctor(0, 2, 0); +} else { + x_414 = x_393; +} +lean_ctor_set(x_414, 0, x_413); +lean_ctor_set(x_414, 1, x_412); +return x_414; } } else { -lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; +lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; +lean_dec(x_385); lean_dec(x_383); -lean_dec(x_381); -lean_dec(x_380); -lean_dec(x_375); -lean_dec(x_302); -lean_dec(x_47); -lean_dec(x_43); +lean_dec(x_382); +lean_dec(x_377); +lean_dec(x_304); +lean_dec(x_49); +lean_dec(x_45); lean_dec(x_3); -x_413 = lean_ctor_get(x_385, 0); -lean_inc(x_413); -x_414 = lean_ctor_get(x_385, 1); -lean_inc(x_414); -if (lean_is_exclusive(x_385)) { - lean_ctor_release(x_385, 0); - lean_ctor_release(x_385, 1); - x_415 = x_385; +x_415 = lean_ctor_get(x_387, 0); +lean_inc(x_415); +x_416 = lean_ctor_get(x_387, 1); +lean_inc(x_416); +if (lean_is_exclusive(x_387)) { + lean_ctor_release(x_387, 0); + lean_ctor_release(x_387, 1); + x_417 = x_387; } else { - lean_dec_ref(x_385); - x_415 = lean_box(0); + lean_dec_ref(x_387); + x_417 = lean_box(0); } -if (lean_is_scalar(x_415)) { - x_416 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_417)) { + x_418 = lean_alloc_ctor(1, 2, 0); } else { - x_416 = x_415; + x_418 = x_417; } -lean_ctor_set(x_416, 0, x_413); -lean_ctor_set(x_416, 1, x_414); -return x_416; +lean_ctor_set(x_418, 0, x_415); +lean_ctor_set(x_418, 1, x_416); +return x_418; } } } } else { -uint8_t x_417; -lean_dec(x_302); +uint8_t x_419; +lean_dec(x_304); +lean_dec(x_50); +lean_dec(x_49); lean_dec(x_48); -lean_dec(x_47); lean_dec(x_46); -lean_dec(x_44); -lean_dec(x_43); +lean_dec(x_45); lean_dec(x_3); lean_dec(x_1); -x_417 = !lean_is_exclusive(x_303); -if (x_417 == 0) +x_419 = !lean_is_exclusive(x_305); +if (x_419 == 0) { -return x_303; +return x_305; } else { -lean_object* x_418; lean_object* x_419; lean_object* x_420; -x_418 = lean_ctor_get(x_303, 0); -x_419 = lean_ctor_get(x_303, 1); -lean_inc(x_419); -lean_inc(x_418); -lean_dec(x_303); -x_420 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_420, 0, x_418); -lean_ctor_set(x_420, 1, x_419); -return x_420; +lean_object* x_420; lean_object* x_421; lean_object* x_422; +x_420 = lean_ctor_get(x_305, 0); +x_421 = lean_ctor_get(x_305, 1); +lean_inc(x_421); +lean_inc(x_420); +lean_dec(x_305); +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; } } } @@ -30149,280 +38111,280 @@ return x_420; } else { -uint8_t x_423; +uint8_t x_425; +lean_dec(x_50); +lean_dec(x_49); lean_dec(x_48); -lean_dec(x_47); lean_dec(x_46); -lean_dec(x_44); -lean_dec(x_43); -x_423 = l_Lean_Expr_isLambda(x_3); -if (x_423 == 0) -{ -uint8_t x_424; -x_424 = lean_expr_eqv(x_3, x_3); -if (x_424 == 0) -{ -goto _start; -} -else -{ -lean_object* x_426; -x_426 = l_Array_umapMAux___main___at___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main___spec__11(x_1, x_50, x_4, x_5); -if (lean_obj_tag(x_426) == 0) -{ -uint8_t x_427; -x_427 = !lean_is_exclusive(x_426); -if (x_427 == 0) -{ -lean_object* x_428; lean_object* x_429; -x_428 = lean_ctor_get(x_426, 0); -x_429 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_428, x_428, x_50, x_3); -lean_dec(x_428); -lean_ctor_set(x_426, 0, x_429); -return x_426; -} -else -{ -lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; -x_430 = lean_ctor_get(x_426, 0); -x_431 = lean_ctor_get(x_426, 1); -lean_inc(x_431); -lean_inc(x_430); -lean_dec(x_426); -x_432 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_430, x_430, x_50, x_3); -lean_dec(x_430); -x_433 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_433, 0, x_432); -lean_ctor_set(x_433, 1, x_431); -return x_433; -} -} -else -{ -uint8_t x_434; -lean_dec(x_3); -x_434 = !lean_is_exclusive(x_426); -if (x_434 == 0) -{ -return x_426; -} -else -{ -lean_object* x_435; lean_object* x_436; lean_object* x_437; -x_435 = lean_ctor_get(x_426, 0); -x_436 = lean_ctor_get(x_426, 1); -lean_inc(x_436); -lean_inc(x_435); -lean_dec(x_426); -x_437 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_437, 0, x_435); -lean_ctor_set(x_437, 1, x_436); -return x_437; -} -} -} -} -else -{ -lean_object* x_438; -x_438 = l_Array_umapMAux___main___at___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main___spec__12(x_1, x_50, x_4, x_5); -if (lean_obj_tag(x_438) == 0) -{ -uint8_t x_439; -x_439 = !lean_is_exclusive(x_438); -if (x_439 == 0) -{ -lean_object* x_440; lean_object* x_441; lean_object* x_442; -x_440 = lean_ctor_get(x_438, 0); -x_441 = l_Array_reverseAux___main___rarg(x_440, x_50); -x_442 = l_Lean_Expr_betaRev(x_3, x_441); -lean_dec(x_441); -lean_dec(x_3); -lean_ctor_set(x_438, 0, x_442); -return x_438; -} -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); -lean_inc(x_444); -lean_inc(x_443); -lean_dec(x_438); -x_445 = l_Array_reverseAux___main___rarg(x_443, x_50); -x_446 = l_Lean_Expr_betaRev(x_3, x_445); -lean_dec(x_445); -lean_dec(x_3); -x_447 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_447, 0, x_446); -lean_ctor_set(x_447, 1, x_444); -return x_447; -} -} -else -{ -uint8_t x_448; -lean_dec(x_3); -x_448 = !lean_is_exclusive(x_438); -if (x_448 == 0) -{ -return x_438; -} -else -{ -lean_object* x_449; lean_object* x_450; lean_object* x_451; -x_449 = lean_ctor_get(x_438, 0); -x_450 = lean_ctor_get(x_438, 1); -lean_inc(x_450); -lean_inc(x_449); -lean_dec(x_438); -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; -} -} -} -} -} -else -{ -lean_object* x_452; uint8_t x_453; -lean_dec(x_44); -lean_dec(x_43); -x_452 = lean_ctor_get(x_45, 0); -lean_inc(x_452); lean_dec(x_45); -x_453 = l_Lean_Expr_isLambda(x_452); -if (x_453 == 0) +x_425 = l_Lean_Expr_isLambda(x_3); +if (x_425 == 0) { -uint8_t x_454; -x_454 = lean_expr_eqv(x_452, x_3); -lean_dec(x_3); -if (x_454 == 0) +uint8_t x_426; +x_426 = lean_expr_eqv(x_3, x_3); +if (x_426 == 0) { -x_3 = x_452; goto _start; } else { -lean_object* x_456; lean_object* x_457; -x_456 = lean_unsigned_to_nat(0u); -x_457 = l_Array_umapMAux___main___at___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main___spec__13(x_1, x_456, x_4, x_5); -if (lean_obj_tag(x_457) == 0) +lean_object* x_428; +x_428 = l_Array_umapMAux___main___at___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main___spec__11(x_1, x_52, x_4, x_5, x_6); +if (lean_obj_tag(x_428) == 0) { -uint8_t x_458; -x_458 = !lean_is_exclusive(x_457); -if (x_458 == 0) +uint8_t x_429; +x_429 = !lean_is_exclusive(x_428); +if (x_429 == 0) { -lean_object* x_459; lean_object* x_460; -x_459 = lean_ctor_get(x_457, 0); -x_460 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_459, x_459, x_456, x_452); -lean_dec(x_459); -lean_ctor_set(x_457, 0, x_460); -return x_457; +lean_object* x_430; lean_object* x_431; +x_430 = lean_ctor_get(x_428, 0); +x_431 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_430, x_430, x_52, x_3); +lean_dec(x_430); +lean_ctor_set(x_428, 0, x_431); +return x_428; } else { -lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; -x_461 = lean_ctor_get(x_457, 0); -x_462 = lean_ctor_get(x_457, 1); -lean_inc(x_462); -lean_inc(x_461); -lean_dec(x_457); -x_463 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_461, x_461, x_456, x_452); -lean_dec(x_461); -x_464 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_464, 0, x_463); -lean_ctor_set(x_464, 1, x_462); -return x_464; +lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; +x_432 = lean_ctor_get(x_428, 0); +x_433 = lean_ctor_get(x_428, 1); +lean_inc(x_433); +lean_inc(x_432); +lean_dec(x_428); +x_434 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_432, x_432, x_52, x_3); +lean_dec(x_432); +x_435 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_435, 0, x_434); +lean_ctor_set(x_435, 1, x_433); +return x_435; } } else { -uint8_t x_465; -lean_dec(x_452); -x_465 = !lean_is_exclusive(x_457); -if (x_465 == 0) -{ -return x_457; -} -else -{ -lean_object* x_466; lean_object* x_467; lean_object* x_468; -x_466 = lean_ctor_get(x_457, 0); -x_467 = lean_ctor_get(x_457, 1); -lean_inc(x_467); -lean_inc(x_466); -lean_dec(x_457); -x_468 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_468, 0, x_466); -lean_ctor_set(x_468, 1, x_467); -return x_468; -} -} -} -} -else -{ -lean_object* x_469; lean_object* x_470; +uint8_t x_436; lean_dec(x_3); -x_469 = lean_unsigned_to_nat(0u); -x_470 = l_Array_umapMAux___main___at___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main___spec__14(x_1, x_469, x_4, x_5); -if (lean_obj_tag(x_470) == 0) +x_436 = !lean_is_exclusive(x_428); +if (x_436 == 0) { -uint8_t x_471; -x_471 = !lean_is_exclusive(x_470); -if (x_471 == 0) +return x_428; +} +else { -lean_object* x_472; lean_object* x_473; lean_object* x_474; -x_472 = lean_ctor_get(x_470, 0); -x_473 = l_Array_reverseAux___main___rarg(x_472, x_469); -x_474 = l_Lean_Expr_betaRev(x_452, x_473); -lean_dec(x_473); -lean_dec(x_452); -lean_ctor_set(x_470, 0, x_474); +lean_object* x_437; lean_object* x_438; lean_object* x_439; +x_437 = lean_ctor_get(x_428, 0); +x_438 = lean_ctor_get(x_428, 1); +lean_inc(x_438); +lean_inc(x_437); +lean_dec(x_428); +x_439 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_439, 0, x_437); +lean_ctor_set(x_439, 1, x_438); +return x_439; +} +} +} +} +else +{ +lean_object* x_440; +x_440 = l_Array_umapMAux___main___at___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main___spec__12(x_1, x_52, x_4, x_5, x_6); +if (lean_obj_tag(x_440) == 0) +{ +uint8_t x_441; +x_441 = !lean_is_exclusive(x_440); +if (x_441 == 0) +{ +lean_object* x_442; lean_object* x_443; lean_object* x_444; +x_442 = lean_ctor_get(x_440, 0); +x_443 = l_Array_reverseAux___main___rarg(x_442, x_52); +x_444 = l_Lean_Expr_betaRev(x_3, x_443); +lean_dec(x_443); +lean_dec(x_3); +lean_ctor_set(x_440, 0, x_444); +return x_440; +} +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); +lean_inc(x_446); +lean_inc(x_445); +lean_dec(x_440); +x_447 = l_Array_reverseAux___main___rarg(x_445, x_52); +x_448 = l_Lean_Expr_betaRev(x_3, x_447); +lean_dec(x_447); +lean_dec(x_3); +x_449 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_449, 0, x_448); +lean_ctor_set(x_449, 1, x_446); +return x_449; +} +} +else +{ +uint8_t x_450; +lean_dec(x_3); +x_450 = !lean_is_exclusive(x_440); +if (x_450 == 0) +{ +return x_440; +} +else +{ +lean_object* x_451; lean_object* x_452; lean_object* x_453; +x_451 = lean_ctor_get(x_440, 0); +x_452 = lean_ctor_get(x_440, 1); +lean_inc(x_452); +lean_inc(x_451); +lean_dec(x_440); +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; uint8_t x_455; +lean_dec(x_46); +lean_dec(x_45); +x_454 = lean_ctor_get(x_47, 0); +lean_inc(x_454); +lean_dec(x_47); +x_455 = l_Lean_Expr_isLambda(x_454); +if (x_455 == 0) +{ +uint8_t x_456; +x_456 = lean_expr_eqv(x_454, x_3); +lean_dec(x_3); +if (x_456 == 0) +{ +x_3 = x_454; +goto _start; +} +else +{ +lean_object* x_458; lean_object* x_459; +x_458 = lean_unsigned_to_nat(0u); +x_459 = l_Array_umapMAux___main___at___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main___spec__13(x_1, x_458, x_4, x_5, x_6); +if (lean_obj_tag(x_459) == 0) +{ +uint8_t x_460; +x_460 = !lean_is_exclusive(x_459); +if (x_460 == 0) +{ +lean_object* x_461; lean_object* x_462; +x_461 = lean_ctor_get(x_459, 0); +x_462 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_461, x_461, x_458, x_454); +lean_dec(x_461); +lean_ctor_set(x_459, 0, x_462); +return x_459; +} +else +{ +lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; +x_463 = lean_ctor_get(x_459, 0); +x_464 = lean_ctor_get(x_459, 1); +lean_inc(x_464); +lean_inc(x_463); +lean_dec(x_459); +x_465 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_463, x_463, x_458, x_454); +lean_dec(x_463); +x_466 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_466, 0, x_465); +lean_ctor_set(x_466, 1, x_464); +return x_466; +} +} +else +{ +uint8_t x_467; +lean_dec(x_454); +x_467 = !lean_is_exclusive(x_459); +if (x_467 == 0) +{ +return x_459; +} +else +{ +lean_object* x_468; lean_object* x_469; lean_object* x_470; +x_468 = lean_ctor_get(x_459, 0); +x_469 = lean_ctor_get(x_459, 1); +lean_inc(x_469); +lean_inc(x_468); +lean_dec(x_459); +x_470 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_470, 0, x_468); +lean_ctor_set(x_470, 1, x_469); return x_470; } -else -{ -lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; -x_475 = lean_ctor_get(x_470, 0); -x_476 = lean_ctor_get(x_470, 1); -lean_inc(x_476); -lean_inc(x_475); -lean_dec(x_470); -x_477 = l_Array_reverseAux___main___rarg(x_475, x_469); -x_478 = l_Lean_Expr_betaRev(x_452, x_477); -lean_dec(x_477); -lean_dec(x_452); -x_479 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_479, 0, x_478); -lean_ctor_set(x_479, 1, x_476); -return x_479; +} } } else { -uint8_t x_480; -lean_dec(x_452); -x_480 = !lean_is_exclusive(x_470); -if (x_480 == 0) +lean_object* x_471; lean_object* x_472; +lean_dec(x_3); +x_471 = lean_unsigned_to_nat(0u); +x_472 = l_Array_umapMAux___main___at___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main___spec__14(x_1, x_471, x_4, x_5, x_6); +if (lean_obj_tag(x_472) == 0) { -return x_470; +uint8_t x_473; +x_473 = !lean_is_exclusive(x_472); +if (x_473 == 0) +{ +lean_object* x_474; lean_object* x_475; lean_object* x_476; +x_474 = lean_ctor_get(x_472, 0); +x_475 = l_Array_reverseAux___main___rarg(x_474, x_471); +x_476 = l_Lean_Expr_betaRev(x_454, x_475); +lean_dec(x_475); +lean_dec(x_454); +lean_ctor_set(x_472, 0, x_476); +return x_472; } else { -lean_object* x_481; lean_object* x_482; lean_object* x_483; -x_481 = lean_ctor_get(x_470, 0); -x_482 = lean_ctor_get(x_470, 1); -lean_inc(x_482); -lean_inc(x_481); -lean_dec(x_470); -x_483 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_483, 0, x_481); -lean_ctor_set(x_483, 1, x_482); -return x_483; +lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; +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); +x_479 = l_Array_reverseAux___main___rarg(x_477, x_471); +x_480 = l_Lean_Expr_betaRev(x_454, x_479); +lean_dec(x_479); +lean_dec(x_454); +x_481 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_481, 0, x_480); +lean_ctor_set(x_481, 1, x_478); +return x_481; +} +} +else +{ +uint8_t x_482; +lean_dec(x_454); +x_482 = !lean_is_exclusive(x_472); +if (x_482 == 0) +{ +return x_472; +} +else +{ +lean_object* x_483; lean_object* x_484; lean_object* x_485; +x_483 = lean_ctor_get(x_472, 0); +x_484 = lean_ctor_get(x_472, 1); +lean_inc(x_484); +lean_inc(x_483); +lean_dec(x_472); +x_485 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_485, 0, x_483); +lean_ctor_set(x_485, 1, x_484); +return x_485; } } } @@ -30430,175 +38392,196 @@ return x_483; } else { -lean_object* x_484; -x_484 = lean_box(0); -x_6 = x_484; -goto block_42; +lean_object* x_486; +x_486 = lean_box(0); +x_7 = x_486; +goto block_44; } -block_42: +block_44: { -lean_object* x_7; lean_object* x_8; uint8_t x_23; -lean_dec(x_6); -x_23 = l_Lean_Expr_hasMVar(x_3); -if (x_23 == 0) +lean_object* x_8; lean_object* x_9; uint8_t x_24; +lean_dec(x_7); +x_24 = l_Lean_Expr_hasMVar(x_3); +if (x_24 == 0) { -x_7 = x_3; -x_8 = x_5; -goto block_22; +x_8 = x_3; +x_9 = x_6; +goto block_23; } 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_x3f___at___private_Init_Lean_MetavarContext_2__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_1); -lean_inc(x_3); -x_26 = lean_apply_2(x_1, x_3, x_5); +lean_object* x_25; lean_object* x_26; +x_25 = lean_ctor_get(x_6, 2); +lean_inc(x_25); +x_26 = l_HashMapImp_find_x3f___at___private_Init_Lean_MetavarContext_2__visit___spec__1(x_25, x_3); +lean_dec(x_25); 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_27; lean_object* x_28; +x_27 = lean_box(x_5); +lean_inc(x_1); +lean_inc(x_3); +x_28 = lean_apply_3(x_1, x_3, x_27, x_6); +if (lean_obj_tag(x_28) == 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___private_Init_Lean_MetavarContext_2__visit___spec__3(x_30, x_3, x_28); -lean_ctor_set(x_27, 2, x_31); -x_7 = x_28; -x_8 = x_27; -goto block_22; +lean_object* x_29; lean_object* x_30; uint8_t x_31; +x_29 = lean_ctor_get(x_28, 1); +lean_inc(x_29); +x_30 = lean_ctor_get(x_28, 0); +lean_inc(x_30); +lean_dec(x_28); +x_31 = !lean_is_exclusive(x_29); +if (x_31 == 0) +{ +lean_object* x_32; lean_object* x_33; +x_32 = lean_ctor_get(x_29, 2); +lean_inc(x_30); +x_33 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_2__visit___spec__3(x_32, x_3, x_30); +lean_ctor_set(x_29, 2, x_33); +x_8 = x_30; +x_9 = x_29; +goto block_23; } 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_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_34 = lean_ctor_get(x_29, 0); +x_35 = lean_ctor_get(x_29, 1); +x_36 = lean_ctor_get(x_29, 2); +lean_inc(x_36); +lean_inc(x_35); 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___private_Init_Lean_MetavarContext_2__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_7 = x_28; -x_8 = x_36; -goto block_22; +lean_dec(x_29); +lean_inc(x_30); +x_37 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_2__visit___spec__3(x_36, x_3, x_30); +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); +x_8 = x_30; +x_9 = x_38; +goto block_23; } } else { -uint8_t x_37; +uint8_t x_39; lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_37 = !lean_is_exclusive(x_26); -if (x_37 == 0) +x_39 = !lean_is_exclusive(x_28); +if (x_39 == 0) { -return x_26; +return x_28; } 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_object* x_40; lean_object* x_41; lean_object* x_42; +x_40 = lean_ctor_get(x_28, 0); +x_41 = lean_ctor_get(x_28, 1); lean_inc(x_41); -lean_dec(x_25); -x_7 = x_41; -x_8 = x_5; -goto block_22; +lean_inc(x_40); +lean_dec(x_28); +x_42 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_42, 0, x_40); +lean_ctor_set(x_42, 1, x_41); +return x_42; } } -block_22: -{ -lean_object* x_9; lean_object* x_10; -x_9 = lean_unsigned_to_nat(0u); -x_10 = l_Array_umapMAux___main___at___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main___spec__1(x_1, x_9, x_4, x_8); -if (lean_obj_tag(x_10) == 0) -{ -uint8_t x_11; -x_11 = !lean_is_exclusive(x_10); -if (x_11 == 0) -{ -lean_object* x_12; lean_object* x_13; -x_12 = lean_ctor_get(x_10, 0); -x_13 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_12, x_12, x_9, x_7); -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_object* x_43; +lean_dec(x_3); +x_43 = lean_ctor_get(x_26, 0); +lean_inc(x_43); +lean_dec(x_26); +x_8 = x_43; +x_9 = x_6; +goto block_23; +} +} +block_23: +{ +lean_object* x_10; lean_object* x_11; +x_10 = lean_unsigned_to_nat(0u); +x_11 = l_Array_umapMAux___main___at___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main___spec__1(x_1, x_10, x_4, x_5, x_9); +if (lean_obj_tag(x_11) == 0) +{ +uint8_t x_12; +x_12 = !lean_is_exclusive(x_11); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_ctor_get(x_11, 0); +x_14 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_13, x_13, x_10, x_8); +lean_dec(x_13); +lean_ctor_set(x_11, 0, x_14); +return x_11; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_15 = lean_ctor_get(x_11, 0); +x_16 = lean_ctor_get(x_11, 1); +lean_inc(x_16); lean_inc(x_15); -lean_inc(x_14); -lean_dec(x_10); -x_16 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_14, x_14, x_9, x_7); -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; +lean_dec(x_11); +x_17 = l_Array_iterateMAux___main___at_Lean_mkAppN___spec__1(x_15, x_15, x_10, x_8); +lean_dec(x_15); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_16); +return x_18; } } else { -uint8_t x_18; -lean_dec(x_7); -x_18 = !lean_is_exclusive(x_10); -if (x_18 == 0) +uint8_t x_19; +lean_dec(x_8); +x_19 = !lean_is_exclusive(x_11); +if (x_19 == 0) { -return x_10; +return x_11; } else { -lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_19 = lean_ctor_get(x_10, 0); -x_20 = lean_ctor_get(x_10, 1); +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_11, 0); +x_21 = lean_ctor_get(x_11, 1); +lean_inc(x_21); lean_inc(x_20); -lean_inc(x_19); -lean_dec(x_10); -x_21 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_21, 0, x_19); -lean_ctor_set(x_21, 1, x_20); -return x_21; +lean_dec(x_11); +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_20); +lean_ctor_set(x_22, 1, x_21); +return x_22; } } } } } } +lean_object* l_Array_umapMAux___main___at___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___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_4); +lean_dec(x_4); +x_7 = l_Array_umapMAux___main___at___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main___spec__1(x_1, x_2, x_3, x_6, x_5); +return x_7; +} +} +lean_object* l_Array_umapMAux___main___at___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main___spec__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_4); +lean_dec(x_4); +x_7 = l_Array_umapMAux___main___at___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main___spec__2(x_1, x_2, x_3, x_6, x_5); +return x_7; +} +} lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { @@ -30621,6 +38604,16 @@ lean_dec(x_1); return x_5; } } +lean_object* l_Array_umapMAux___main___at___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main___spec__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_4); +lean_dec(x_4); +x_7 = l_Array_umapMAux___main___at___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main___spec__5(x_1, x_2, x_3, x_6, x_5); +return x_7; +} +} lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { @@ -30643,6 +38636,16 @@ lean_dec(x_1); return x_5; } } +lean_object* l_Array_umapMAux___main___at___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main___spec__8___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_Array_umapMAux___main___at___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main___spec__8(x_1, x_2, x_3, x_6, x_5); +return x_7; +} +} lean_object* l_Array_anyRangeMAux___main___at___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main___spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { @@ -30665,918 +38668,962 @@ lean_dec(x_1); return x_5; } } -lean_object* l___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_Array_umapMAux___main___at___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main___spec__11___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_21__elimMVarDepsApp___main(x_1, x_2, x_3, x_4, x_5); +uint8_t x_6; lean_object* x_7; +x_6 = lean_unbox(x_4); +lean_dec(x_4); +x_7 = l_Array_umapMAux___main___at___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main___spec__11(x_1, x_2, x_3, x_6, x_5); +return x_7; +} +} +lean_object* l_Array_umapMAux___main___at___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main___spec__12___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_Array_umapMAux___main___at___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main___spec__12(x_1, x_2, x_3, x_6, x_5); +return x_7; +} +} +lean_object* l_Array_umapMAux___main___at___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main___spec__13___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_Array_umapMAux___main___at___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main___spec__13(x_1, x_2, x_3, x_6, x_5); +return x_7; +} +} +lean_object* l_Array_umapMAux___main___at___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main___spec__14___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_Array_umapMAux___main___at___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main___spec__14(x_1, x_2, x_3, x_6, x_5); +return x_7; +} +} +lean_object* l___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___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: +{ +uint8_t x_7; lean_object* x_8; +x_7 = lean_unbox(x_5); +lean_dec(x_5); +x_8 = l___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main(x_1, x_2, x_3, x_4, x_7, x_6); lean_dec(x_2); -return x_6; +return x_8; } } -lean_object* l___private_Init_Lean_MetavarContext_21__elimMVarDepsApp(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_21__elimMVarDepsApp(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6) { _start: { -lean_object* x_6; -x_6 = l___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main(x_1, x_2, x_3, x_4, x_5); -return x_6; +lean_object* x_7; +x_7 = l___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main(x_1, x_2, x_3, x_4, x_5, x_6); +return x_7; } } -lean_object* l___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___boxed(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_21__elimMVarDepsApp___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -lean_object* x_6; -x_6 = l___private_Init_Lean_MetavarContext_21__elimMVarDepsApp(x_1, x_2, x_3, x_4, x_5); +uint8_t x_7; lean_object* x_8; +x_7 = lean_unbox(x_5); +lean_dec(x_5); +x_8 = l___private_Init_Lean_MetavarContext_21__elimMVarDepsApp(x_1, x_2, x_3, x_4, x_7, x_6); lean_dec(x_2); -return x_6; +return x_8; } } -lean_object* l_Lean_Expr_withAppAux___main___at___private_Init_Lean_MetavarContext_22__elimMVarDepsAux___main___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_Lean_Expr_withAppAux___main___at___private_Init_Lean_MetavarContext_22__elimMVarDepsAux___main___spec__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) { _start: { if (lean_obj_tag(x_2) == 5) { -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_2, 0); -lean_inc(x_6); -x_7 = lean_ctor_get(x_2, 1); +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_7 = lean_ctor_get(x_2, 0); lean_inc(x_7); +x_8 = lean_ctor_get(x_2, 1); +lean_inc(x_8); lean_dec(x_2); -x_8 = lean_array_set(x_3, x_4, x_7); -x_9 = lean_unsigned_to_nat(1u); -x_10 = lean_nat_sub(x_4, x_9); +x_9 = lean_array_set(x_3, x_4, x_8); +x_10 = lean_unsigned_to_nat(1u); +x_11 = lean_nat_sub(x_4, x_10); lean_dec(x_4); -x_2 = x_6; -x_3 = x_8; -x_4 = x_10; +x_2 = x_7; +x_3 = x_9; +x_4 = x_11; goto _start; } else { -lean_object* x_12; lean_object* x_13; +lean_object* x_13; lean_object* x_14; lean_dec(x_4); lean_inc(x_1); -x_12 = lean_alloc_closure((void*)(l___private_Init_Lean_MetavarContext_22__elimMVarDepsAux___main), 3, 1); -lean_closure_set(x_12, 0, x_1); -x_13 = l___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main(x_12, x_1, x_2, x_3, x_5); +x_13 = lean_alloc_closure((void*)(l___private_Init_Lean_MetavarContext_22__elimMVarDepsAux___main___boxed), 4, 1); +lean_closure_set(x_13, 0, x_1); +x_14 = l___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main(x_13, x_1, x_2, x_3, x_5, x_6); lean_dec(x_1); -return x_13; +return x_14; } } } -lean_object* l___private_Init_Lean_MetavarContext_22__elimMVarDepsAux___main(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l___private_Init_Lean_MetavarContext_22__elimMVarDepsAux___main(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4) { _start: { -lean_object* x_4; lean_object* x_5; lean_object* x_13; lean_object* x_14; +lean_object* x_5; lean_object* x_6; lean_object* x_14; lean_object* x_15; switch (lean_obj_tag(x_2)) { case 2: { -lean_object* x_22; lean_object* x_23; lean_object* x_24; +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_inc(x_1); -x_22 = lean_alloc_closure((void*)(l___private_Init_Lean_MetavarContext_22__elimMVarDepsAux___main), 3, 1); -lean_closure_set(x_22, 0, x_1); -x_23 = l_Array_empty___closed__1; -x_24 = l___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main(x_22, x_1, x_2, x_23, x_3); +x_23 = lean_alloc_closure((void*)(l___private_Init_Lean_MetavarContext_22__elimMVarDepsAux___main___boxed), 4, 1); +lean_closure_set(x_23, 0, x_1); +x_24 = l_Array_empty___closed__1; +x_25 = l___private_Init_Lean_MetavarContext_21__elimMVarDepsApp___main(x_23, x_1, x_2, x_24, x_3, x_4); lean_dec(x_1); -return x_24; +return x_25; } case 5: { -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_25 = lean_unsigned_to_nat(0u); -x_26 = l_Lean_Expr_getAppNumArgsAux___main(x_2, x_25); -x_27 = l_Lean_Expr_getAppArgs___closed__1; -lean_inc(x_26); -x_28 = lean_mk_array(x_26, x_27); -x_29 = lean_unsigned_to_nat(1u); -x_30 = lean_nat_sub(x_26, x_29); -lean_dec(x_26); -x_31 = l_Lean_Expr_withAppAux___main___at___private_Init_Lean_MetavarContext_22__elimMVarDepsAux___main___spec__1(x_1, x_2, x_28, x_30, x_3); -return x_31; +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_26 = lean_unsigned_to_nat(0u); +x_27 = l_Lean_Expr_getAppNumArgsAux___main(x_2, x_26); +x_28 = l_Lean_Expr_getAppArgs___closed__1; +lean_inc(x_27); +x_29 = lean_mk_array(x_27, x_28); +x_30 = lean_unsigned_to_nat(1u); +x_31 = lean_nat_sub(x_27, x_30); +lean_dec(x_27); +x_32 = l_Lean_Expr_withAppAux___main___at___private_Init_Lean_MetavarContext_22__elimMVarDepsAux___main___spec__1(x_1, x_2, x_29, x_31, x_3, x_4); +return x_32; } case 6: { -lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_67; -x_32 = lean_ctor_get(x_2, 1); -lean_inc(x_32); -x_33 = lean_ctor_get(x_2, 2); +lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_68; +x_33 = lean_ctor_get(x_2, 1); lean_inc(x_33); -x_67 = l_Lean_Expr_hasMVar(x_32); -if (x_67 == 0) +x_34 = lean_ctor_get(x_2, 2); +lean_inc(x_34); +x_68 = l_Lean_Expr_hasMVar(x_33); +if (x_68 == 0) { -x_34 = x_32; -x_35 = x_3; -goto block_66; +x_35 = x_33; +x_36 = x_4; +goto block_67; } else { -lean_object* x_68; lean_object* x_69; -x_68 = lean_ctor_get(x_3, 2); -lean_inc(x_68); -x_69 = l_HashMapImp_find_x3f___at___private_Init_Lean_MetavarContext_2__visit___spec__1(x_68, x_32); -lean_dec(x_68); -if (lean_obj_tag(x_69) == 0) -{ -lean_object* x_70; -lean_inc(x_32); -lean_inc(x_1); -x_70 = l___private_Init_Lean_MetavarContext_22__elimMVarDepsAux___main(x_1, x_32, x_3); +lean_object* x_69; lean_object* x_70; +x_69 = lean_ctor_get(x_4, 2); +lean_inc(x_69); +x_70 = l_HashMapImp_find_x3f___at___private_Init_Lean_MetavarContext_2__visit___spec__1(x_69, x_33); +lean_dec(x_69); if (lean_obj_tag(x_70) == 0) { -lean_object* x_71; lean_object* x_72; uint8_t x_73; -x_71 = lean_ctor_get(x_70, 1); -lean_inc(x_71); -x_72 = lean_ctor_get(x_70, 0); -lean_inc(x_72); -lean_dec(x_70); -x_73 = !lean_is_exclusive(x_71); -if (x_73 == 0) +lean_object* x_71; +lean_inc(x_33); +lean_inc(x_1); +x_71 = l___private_Init_Lean_MetavarContext_22__elimMVarDepsAux___main(x_1, x_33, x_3, x_4); +if (lean_obj_tag(x_71) == 0) { -lean_object* x_74; lean_object* x_75; -x_74 = lean_ctor_get(x_71, 2); +lean_object* x_72; lean_object* x_73; uint8_t x_74; +x_72 = lean_ctor_get(x_71, 1); lean_inc(x_72); -x_75 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_2__visit___spec__3(x_74, x_32, x_72); -lean_ctor_set(x_71, 2, x_75); -x_34 = x_72; -x_35 = x_71; -goto block_66; +x_73 = lean_ctor_get(x_71, 0); +lean_inc(x_73); +lean_dec(x_71); +x_74 = !lean_is_exclusive(x_72); +if (x_74 == 0) +{ +lean_object* x_75; lean_object* x_76; +x_75 = lean_ctor_get(x_72, 2); +lean_inc(x_73); +x_76 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_2__visit___spec__3(x_75, x_33, x_73); +lean_ctor_set(x_72, 2, x_76); +x_35 = x_73; +x_36 = x_72; +goto block_67; } else { -lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; -x_76 = lean_ctor_get(x_71, 0); -x_77 = lean_ctor_get(x_71, 1); -x_78 = lean_ctor_get(x_71, 2); +lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; +x_77 = lean_ctor_get(x_72, 0); +x_78 = lean_ctor_get(x_72, 1); +x_79 = lean_ctor_get(x_72, 2); +lean_inc(x_79); lean_inc(x_78); lean_inc(x_77); -lean_inc(x_76); -lean_dec(x_71); -lean_inc(x_72); -x_79 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_2__visit___spec__3(x_78, x_32, x_72); -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_34 = x_72; -x_35 = x_80; -goto block_66; +lean_dec(x_72); +lean_inc(x_73); +x_80 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_2__visit___spec__3(x_79, x_33, x_73); +x_81 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_81, 0, x_77); +lean_ctor_set(x_81, 1, x_78); +lean_ctor_set(x_81, 2, x_80); +x_35 = x_73; +x_36 = x_81; +goto block_67; } } else { -uint8_t x_81; -lean_dec(x_33); -lean_dec(x_32); -lean_dec(x_2); -lean_dec(x_1); -x_81 = !lean_is_exclusive(x_70); -if (x_81 == 0) -{ -return x_70; -} -else -{ -lean_object* x_82; lean_object* x_83; lean_object* x_84; -x_82 = lean_ctor_get(x_70, 0); -x_83 = lean_ctor_get(x_70, 1); -lean_inc(x_83); -lean_inc(x_82); -lean_dec(x_70); -x_84 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_84, 0, x_82); -lean_ctor_set(x_84, 1, x_83); -return x_84; -} -} -} -else -{ -lean_object* x_85; -lean_dec(x_32); -x_85 = lean_ctor_get(x_69, 0); -lean_inc(x_85); -lean_dec(x_69); -x_34 = x_85; -x_35 = x_3; -goto block_66; -} -} -block_66: -{ -lean_object* x_36; lean_object* x_37; uint8_t x_47; -x_47 = l_Lean_Expr_hasMVar(x_33); -if (x_47 == 0) -{ -lean_dec(x_1); -x_36 = x_33; -x_37 = x_35; -goto block_46; -} -else -{ -lean_object* x_48; lean_object* x_49; -x_48 = lean_ctor_get(x_35, 2); -lean_inc(x_48); -x_49 = l_HashMapImp_find_x3f___at___private_Init_Lean_MetavarContext_2__visit___spec__1(x_48, x_33); -lean_dec(x_48); -if (lean_obj_tag(x_49) == 0) -{ -lean_object* x_50; -lean_inc(x_33); -x_50 = l___private_Init_Lean_MetavarContext_22__elimMVarDepsAux___main(x_1, x_33, x_35); -if (lean_obj_tag(x_50) == 0) -{ -lean_object* x_51; lean_object* x_52; uint8_t x_53; -x_51 = lean_ctor_get(x_50, 1); -lean_inc(x_51); -x_52 = lean_ctor_get(x_50, 0); -lean_inc(x_52); -lean_dec(x_50); -x_53 = !lean_is_exclusive(x_51); -if (x_53 == 0) -{ -lean_object* x_54; lean_object* x_55; -x_54 = lean_ctor_get(x_51, 2); -lean_inc(x_52); -x_55 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_2__visit___spec__3(x_54, x_33, x_52); -lean_ctor_set(x_51, 2, x_55); -x_36 = x_52; -x_37 = x_51; -goto block_46; -} -else -{ -lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; -x_56 = lean_ctor_get(x_51, 0); -x_57 = lean_ctor_get(x_51, 1); -x_58 = lean_ctor_get(x_51, 2); -lean_inc(x_58); -lean_inc(x_57); -lean_inc(x_56); -lean_dec(x_51); -lean_inc(x_52); -x_59 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_2__visit___spec__3(x_58, x_33, x_52); -x_60 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_60, 0, x_56); -lean_ctor_set(x_60, 1, x_57); -lean_ctor_set(x_60, 2, x_59); -x_36 = x_52; -x_37 = x_60; -goto block_46; -} -} -else -{ -uint8_t x_61; +uint8_t x_82; lean_dec(x_34); lean_dec(x_33); lean_dec(x_2); -x_61 = !lean_is_exclusive(x_50); -if (x_61 == 0) -{ -return x_50; -} -else -{ -lean_object* x_62; lean_object* x_63; lean_object* x_64; -x_62 = lean_ctor_get(x_50, 0); -x_63 = lean_ctor_get(x_50, 1); -lean_inc(x_63); -lean_inc(x_62); -lean_dec(x_50); -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_dec(x_33); lean_dec(x_1); -x_65 = lean_ctor_get(x_49, 0); -lean_inc(x_65); +x_82 = !lean_is_exclusive(x_71); +if (x_82 == 0) +{ +return x_71; +} +else +{ +lean_object* x_83; lean_object* x_84; lean_object* x_85; +x_83 = lean_ctor_get(x_71, 0); +x_84 = lean_ctor_get(x_71, 1); +lean_inc(x_84); +lean_inc(x_83); +lean_dec(x_71); +x_85 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_85, 0, x_83); +lean_ctor_set(x_85, 1, x_84); +return x_85; +} +} +} +else +{ +lean_object* x_86; +lean_dec(x_33); +x_86 = lean_ctor_get(x_70, 0); +lean_inc(x_86); +lean_dec(x_70); +x_35 = x_86; +x_36 = x_4; +goto block_67; +} +} +block_67: +{ +lean_object* x_37; lean_object* x_38; uint8_t x_48; +x_48 = l_Lean_Expr_hasMVar(x_34); +if (x_48 == 0) +{ +lean_dec(x_1); +x_37 = x_34; +x_38 = x_36; +goto block_47; +} +else +{ +lean_object* x_49; lean_object* x_50; +x_49 = lean_ctor_get(x_36, 2); +lean_inc(x_49); +x_50 = l_HashMapImp_find_x3f___at___private_Init_Lean_MetavarContext_2__visit___spec__1(x_49, x_34); lean_dec(x_49); -x_36 = x_65; -x_37 = x_35; -goto block_46; +if (lean_obj_tag(x_50) == 0) +{ +lean_object* x_51; +lean_inc(x_34); +x_51 = l___private_Init_Lean_MetavarContext_22__elimMVarDepsAux___main(x_1, x_34, x_3, x_36); +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_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; +x_55 = lean_ctor_get(x_52, 2); +lean_inc(x_53); +x_56 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_2__visit___spec__3(x_55, x_34, x_53); +lean_ctor_set(x_52, 2, x_56); +x_37 = x_53; +x_38 = x_52; +goto block_47; +} +else +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_57 = lean_ctor_get(x_52, 0); +x_58 = lean_ctor_get(x_52, 1); +x_59 = lean_ctor_get(x_52, 2); +lean_inc(x_59); +lean_inc(x_58); +lean_inc(x_57); +lean_dec(x_52); +lean_inc(x_53); +x_60 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_2__visit___spec__3(x_59, x_34, x_53); +x_61 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_61, 0, x_57); +lean_ctor_set(x_61, 1, x_58); +lean_ctor_set(x_61, 2, x_60); +x_37 = x_53; +x_38 = x_61; +goto block_47; } } -block_46: +else +{ +uint8_t x_62; +lean_dec(x_35); +lean_dec(x_34); +lean_dec(x_2); +x_62 = !lean_is_exclusive(x_51); +if (x_62 == 0) +{ +return x_51; +} +else +{ +lean_object* x_63; lean_object* x_64; lean_object* x_65; +x_63 = lean_ctor_get(x_51, 0); +x_64 = lean_ctor_get(x_51, 1); +lean_inc(x_64); +lean_inc(x_63); +lean_dec(x_51); +x_65 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_65, 0, x_63); +lean_ctor_set(x_65, 1, x_64); +return x_65; +} +} +} +else +{ +lean_object* x_66; +lean_dec(x_34); +lean_dec(x_1); +x_66 = lean_ctor_get(x_50, 0); +lean_inc(x_66); +lean_dec(x_50); +x_37 = x_66; +x_38 = x_36; +goto block_47; +} +} +block_47: { if (lean_obj_tag(x_2) == 6) { -uint64_t x_38; uint8_t x_39; lean_object* x_40; lean_object* x_41; -x_38 = lean_ctor_get_uint64(x_2, sizeof(void*)*3); -x_39 = (uint8_t)((x_38 << 24) >> 61); -x_40 = lean_expr_update_lambda(x_2, x_39, x_34, x_36); -x_41 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_41, 0, x_40); -lean_ctor_set(x_41, 1, x_37); -return x_41; +uint64_t x_39; uint8_t x_40; lean_object* x_41; lean_object* x_42; +x_39 = lean_ctor_get_uint64(x_2, sizeof(void*)*3); +x_40 = (uint8_t)((x_39 << 24) >> 61); +x_41 = lean_expr_update_lambda(x_2, x_40, x_35, x_37); +x_42 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_42, 0, x_41); +lean_ctor_set(x_42, 1, x_38); +return x_42; } else { -lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; -lean_dec(x_36); -lean_dec(x_34); +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; +lean_dec(x_37); +lean_dec(x_35); lean_dec(x_2); -x_42 = l_Lean_Expr_Inhabited; -x_43 = l_Lean_Expr_updateLambdaE_x21___closed__1; -x_44 = lean_panic_fn(x_42, x_43); -x_45 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_45, 0, x_44); -lean_ctor_set(x_45, 1, x_37); -return x_45; +x_43 = l_Lean_Expr_Inhabited; +x_44 = l_Lean_Expr_updateLambdaE_x21___closed__1; +x_45 = lean_panic_fn(x_43, x_44); +x_46 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_46, 0, x_45); +lean_ctor_set(x_46, 1, x_38); +return x_46; } } } } case 7: { -lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; uint8_t x_121; -x_86 = lean_ctor_get(x_2, 1); -lean_inc(x_86); -x_87 = lean_ctor_get(x_2, 2); +lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; uint8_t x_122; +x_87 = lean_ctor_get(x_2, 1); lean_inc(x_87); -x_121 = l_Lean_Expr_hasMVar(x_86); -if (x_121 == 0) +x_88 = lean_ctor_get(x_2, 2); +lean_inc(x_88); +x_122 = l_Lean_Expr_hasMVar(x_87); +if (x_122 == 0) { -x_88 = x_86; -x_89 = x_3; -goto block_120; +x_89 = x_87; +x_90 = x_4; +goto block_121; } else { -lean_object* x_122; lean_object* x_123; -x_122 = lean_ctor_get(x_3, 2); -lean_inc(x_122); -x_123 = l_HashMapImp_find_x3f___at___private_Init_Lean_MetavarContext_2__visit___spec__1(x_122, x_86); -lean_dec(x_122); -if (lean_obj_tag(x_123) == 0) -{ -lean_object* x_124; -lean_inc(x_86); -lean_inc(x_1); -x_124 = l___private_Init_Lean_MetavarContext_22__elimMVarDepsAux___main(x_1, x_86, x_3); +lean_object* x_123; lean_object* x_124; +x_123 = lean_ctor_get(x_4, 2); +lean_inc(x_123); +x_124 = l_HashMapImp_find_x3f___at___private_Init_Lean_MetavarContext_2__visit___spec__1(x_123, x_87); +lean_dec(x_123); if (lean_obj_tag(x_124) == 0) { -lean_object* x_125; lean_object* x_126; uint8_t x_127; -x_125 = lean_ctor_get(x_124, 1); -lean_inc(x_125); -x_126 = lean_ctor_get(x_124, 0); -lean_inc(x_126); -lean_dec(x_124); -x_127 = !lean_is_exclusive(x_125); -if (x_127 == 0) +lean_object* x_125; +lean_inc(x_87); +lean_inc(x_1); +x_125 = l___private_Init_Lean_MetavarContext_22__elimMVarDepsAux___main(x_1, x_87, x_3, x_4); +if (lean_obj_tag(x_125) == 0) { -lean_object* x_128; lean_object* x_129; -x_128 = lean_ctor_get(x_125, 2); +lean_object* x_126; lean_object* x_127; uint8_t x_128; +x_126 = lean_ctor_get(x_125, 1); lean_inc(x_126); -x_129 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_2__visit___spec__3(x_128, x_86, x_126); -lean_ctor_set(x_125, 2, x_129); -x_88 = x_126; -x_89 = x_125; -goto block_120; +x_127 = lean_ctor_get(x_125, 0); +lean_inc(x_127); +lean_dec(x_125); +x_128 = !lean_is_exclusive(x_126); +if (x_128 == 0) +{ +lean_object* x_129; lean_object* x_130; +x_129 = lean_ctor_get(x_126, 2); +lean_inc(x_127); +x_130 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_2__visit___spec__3(x_129, x_87, x_127); +lean_ctor_set(x_126, 2, x_130); +x_89 = x_127; +x_90 = x_126; +goto block_121; } else { -lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; -x_130 = lean_ctor_get(x_125, 0); -x_131 = lean_ctor_get(x_125, 1); -x_132 = lean_ctor_get(x_125, 2); +lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; +x_131 = lean_ctor_get(x_126, 0); +x_132 = lean_ctor_get(x_126, 1); +x_133 = lean_ctor_get(x_126, 2); +lean_inc(x_133); lean_inc(x_132); lean_inc(x_131); -lean_inc(x_130); -lean_dec(x_125); -lean_inc(x_126); -x_133 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_2__visit___spec__3(x_132, x_86, x_126); -x_134 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_134, 0, x_130); -lean_ctor_set(x_134, 1, x_131); -lean_ctor_set(x_134, 2, x_133); -x_88 = x_126; -x_89 = x_134; -goto block_120; +lean_dec(x_126); +lean_inc(x_127); +x_134 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_2__visit___spec__3(x_133, x_87, x_127); +x_135 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_135, 0, x_131); +lean_ctor_set(x_135, 1, x_132); +lean_ctor_set(x_135, 2, x_134); +x_89 = x_127; +x_90 = x_135; +goto block_121; } } else { -uint8_t x_135; -lean_dec(x_87); -lean_dec(x_86); -lean_dec(x_2); -lean_dec(x_1); -x_135 = !lean_is_exclusive(x_124); -if (x_135 == 0) -{ -return x_124; -} -else -{ -lean_object* x_136; lean_object* x_137; lean_object* x_138; -x_136 = lean_ctor_get(x_124, 0); -x_137 = lean_ctor_get(x_124, 1); -lean_inc(x_137); -lean_inc(x_136); -lean_dec(x_124); -x_138 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_138, 0, x_136); -lean_ctor_set(x_138, 1, x_137); -return x_138; -} -} -} -else -{ -lean_object* x_139; -lean_dec(x_86); -x_139 = lean_ctor_get(x_123, 0); -lean_inc(x_139); -lean_dec(x_123); -x_88 = x_139; -x_89 = x_3; -goto block_120; -} -} -block_120: -{ -lean_object* x_90; lean_object* x_91; uint8_t x_101; -x_101 = l_Lean_Expr_hasMVar(x_87); -if (x_101 == 0) -{ -lean_dec(x_1); -x_90 = x_87; -x_91 = x_89; -goto block_100; -} -else -{ -lean_object* x_102; lean_object* x_103; -x_102 = lean_ctor_get(x_89, 2); -lean_inc(x_102); -x_103 = l_HashMapImp_find_x3f___at___private_Init_Lean_MetavarContext_2__visit___spec__1(x_102, x_87); -lean_dec(x_102); -if (lean_obj_tag(x_103) == 0) -{ -lean_object* x_104; -lean_inc(x_87); -x_104 = l___private_Init_Lean_MetavarContext_22__elimMVarDepsAux___main(x_1, x_87, x_89); -if (lean_obj_tag(x_104) == 0) -{ -lean_object* x_105; lean_object* x_106; uint8_t x_107; -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, 2); -lean_inc(x_106); -x_109 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_2__visit___spec__3(x_108, x_87, x_106); -lean_ctor_set(x_105, 2, x_109); -x_90 = x_106; -x_91 = x_105; -goto block_100; -} -else -{ -lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; -x_110 = lean_ctor_get(x_105, 0); -x_111 = lean_ctor_get(x_105, 1); -x_112 = lean_ctor_get(x_105, 2); -lean_inc(x_112); -lean_inc(x_111); -lean_inc(x_110); -lean_dec(x_105); -lean_inc(x_106); -x_113 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_2__visit___spec__3(x_112, x_87, x_106); -x_114 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_114, 0, x_110); -lean_ctor_set(x_114, 1, x_111); -lean_ctor_set(x_114, 2, x_113); -x_90 = x_106; -x_91 = x_114; -goto block_100; -} -} -else -{ -uint8_t x_115; +uint8_t x_136; lean_dec(x_88); lean_dec(x_87); lean_dec(x_2); -x_115 = !lean_is_exclusive(x_104); -if (x_115 == 0) -{ -return x_104; -} -else -{ -lean_object* x_116; lean_object* x_117; lean_object* x_118; -x_116 = lean_ctor_get(x_104, 0); -x_117 = lean_ctor_get(x_104, 1); -lean_inc(x_117); -lean_inc(x_116); -lean_dec(x_104); -x_118 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_118, 0, x_116); -lean_ctor_set(x_118, 1, x_117); -return x_118; -} -} -} -else -{ -lean_object* x_119; -lean_dec(x_87); lean_dec(x_1); -x_119 = lean_ctor_get(x_103, 0); -lean_inc(x_119); +x_136 = !lean_is_exclusive(x_125); +if (x_136 == 0) +{ +return x_125; +} +else +{ +lean_object* x_137; lean_object* x_138; lean_object* x_139; +x_137 = lean_ctor_get(x_125, 0); +x_138 = lean_ctor_get(x_125, 1); +lean_inc(x_138); +lean_inc(x_137); +lean_dec(x_125); +x_139 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_139, 0, x_137); +lean_ctor_set(x_139, 1, x_138); +return x_139; +} +} +} +else +{ +lean_object* x_140; +lean_dec(x_87); +x_140 = lean_ctor_get(x_124, 0); +lean_inc(x_140); +lean_dec(x_124); +x_89 = x_140; +x_90 = x_4; +goto block_121; +} +} +block_121: +{ +lean_object* x_91; lean_object* x_92; uint8_t x_102; +x_102 = l_Lean_Expr_hasMVar(x_88); +if (x_102 == 0) +{ +lean_dec(x_1); +x_91 = x_88; +x_92 = x_90; +goto block_101; +} +else +{ +lean_object* x_103; lean_object* x_104; +x_103 = lean_ctor_get(x_90, 2); +lean_inc(x_103); +x_104 = l_HashMapImp_find_x3f___at___private_Init_Lean_MetavarContext_2__visit___spec__1(x_103, x_88); lean_dec(x_103); -x_90 = x_119; -x_91 = x_89; -goto block_100; +if (lean_obj_tag(x_104) == 0) +{ +lean_object* x_105; +lean_inc(x_88); +x_105 = l___private_Init_Lean_MetavarContext_22__elimMVarDepsAux___main(x_1, x_88, x_3, x_90); +if (lean_obj_tag(x_105) == 0) +{ +lean_object* x_106; lean_object* x_107; uint8_t x_108; +x_106 = lean_ctor_get(x_105, 1); +lean_inc(x_106); +x_107 = lean_ctor_get(x_105, 0); +lean_inc(x_107); +lean_dec(x_105); +x_108 = !lean_is_exclusive(x_106); +if (x_108 == 0) +{ +lean_object* x_109; lean_object* x_110; +x_109 = lean_ctor_get(x_106, 2); +lean_inc(x_107); +x_110 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_2__visit___spec__3(x_109, x_88, x_107); +lean_ctor_set(x_106, 2, x_110); +x_91 = x_107; +x_92 = x_106; +goto block_101; +} +else +{ +lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; +x_111 = lean_ctor_get(x_106, 0); +x_112 = lean_ctor_get(x_106, 1); +x_113 = lean_ctor_get(x_106, 2); +lean_inc(x_113); +lean_inc(x_112); +lean_inc(x_111); +lean_dec(x_106); +lean_inc(x_107); +x_114 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_2__visit___spec__3(x_113, x_88, x_107); +x_115 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_115, 0, x_111); +lean_ctor_set(x_115, 1, x_112); +lean_ctor_set(x_115, 2, x_114); +x_91 = x_107; +x_92 = x_115; +goto block_101; } } -block_100: +else +{ +uint8_t x_116; +lean_dec(x_89); +lean_dec(x_88); +lean_dec(x_2); +x_116 = !lean_is_exclusive(x_105); +if (x_116 == 0) +{ +return x_105; +} +else +{ +lean_object* x_117; lean_object* x_118; lean_object* x_119; +x_117 = lean_ctor_get(x_105, 0); +x_118 = lean_ctor_get(x_105, 1); +lean_inc(x_118); +lean_inc(x_117); +lean_dec(x_105); +x_119 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_119, 0, x_117); +lean_ctor_set(x_119, 1, x_118); +return x_119; +} +} +} +else +{ +lean_object* x_120; +lean_dec(x_88); +lean_dec(x_1); +x_120 = lean_ctor_get(x_104, 0); +lean_inc(x_120); +lean_dec(x_104); +x_91 = x_120; +x_92 = x_90; +goto block_101; +} +} +block_101: { if (lean_obj_tag(x_2) == 7) { -uint64_t x_92; uint8_t x_93; lean_object* x_94; lean_object* x_95; -x_92 = lean_ctor_get_uint64(x_2, sizeof(void*)*3); -x_93 = (uint8_t)((x_92 << 24) >> 61); -x_94 = lean_expr_update_forall(x_2, x_93, x_88, x_90); -x_95 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_95, 0, x_94); -lean_ctor_set(x_95, 1, x_91); -return x_95; +uint64_t x_93; uint8_t x_94; lean_object* x_95; lean_object* x_96; +x_93 = lean_ctor_get_uint64(x_2, sizeof(void*)*3); +x_94 = (uint8_t)((x_93 << 24) >> 61); +x_95 = lean_expr_update_forall(x_2, x_94, x_89, x_91); +x_96 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_96, 0, x_95); +lean_ctor_set(x_96, 1, x_92); +return x_96; } else { -lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; -lean_dec(x_90); -lean_dec(x_88); +lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; +lean_dec(x_91); +lean_dec(x_89); lean_dec(x_2); -x_96 = l_Lean_Expr_Inhabited; -x_97 = l_Lean_Expr_updateForallE_x21___closed__1; -x_98 = lean_panic_fn(x_96, 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_91); -return x_99; +x_97 = l_Lean_Expr_Inhabited; +x_98 = l_Lean_Expr_updateForallE_x21___closed__1; +x_99 = lean_panic_fn(x_97, x_98); +x_100 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_100, 0, x_99); +lean_ctor_set(x_100, 1, x_92); +return x_100; } } } } case 8: { -lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; uint8_t x_196; -x_140 = lean_ctor_get(x_2, 1); -lean_inc(x_140); -x_141 = lean_ctor_get(x_2, 2); +lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; uint8_t x_197; +x_141 = lean_ctor_get(x_2, 1); lean_inc(x_141); -x_142 = lean_ctor_get(x_2, 3); +x_142 = lean_ctor_get(x_2, 2); lean_inc(x_142); -x_196 = l_Lean_Expr_hasMVar(x_140); -if (x_196 == 0) +x_143 = lean_ctor_get(x_2, 3); +lean_inc(x_143); +x_197 = l_Lean_Expr_hasMVar(x_141); +if (x_197 == 0) { -x_143 = x_140; -x_144 = x_3; -goto block_195; +x_144 = x_141; +x_145 = x_4; +goto block_196; } else { -lean_object* x_197; lean_object* x_198; -x_197 = lean_ctor_get(x_3, 2); -lean_inc(x_197); -x_198 = l_HashMapImp_find_x3f___at___private_Init_Lean_MetavarContext_2__visit___spec__1(x_197, x_140); -lean_dec(x_197); -if (lean_obj_tag(x_198) == 0) -{ -lean_object* x_199; -lean_inc(x_140); -lean_inc(x_1); -x_199 = l___private_Init_Lean_MetavarContext_22__elimMVarDepsAux___main(x_1, x_140, x_3); +lean_object* x_198; lean_object* x_199; +x_198 = lean_ctor_get(x_4, 2); +lean_inc(x_198); +x_199 = l_HashMapImp_find_x3f___at___private_Init_Lean_MetavarContext_2__visit___spec__1(x_198, x_141); +lean_dec(x_198); if (lean_obj_tag(x_199) == 0) { -lean_object* x_200; lean_object* x_201; uint8_t x_202; -x_200 = lean_ctor_get(x_199, 1); -lean_inc(x_200); -x_201 = lean_ctor_get(x_199, 0); -lean_inc(x_201); -lean_dec(x_199); -x_202 = !lean_is_exclusive(x_200); -if (x_202 == 0) -{ -lean_object* x_203; lean_object* x_204; -x_203 = lean_ctor_get(x_200, 2); -lean_inc(x_201); -x_204 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_2__visit___spec__3(x_203, x_140, x_201); -lean_ctor_set(x_200, 2, x_204); -x_143 = x_201; -x_144 = x_200; -goto block_195; -} -else -{ -lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; -x_205 = lean_ctor_get(x_200, 0); -x_206 = lean_ctor_get(x_200, 1); -x_207 = lean_ctor_get(x_200, 2); -lean_inc(x_207); -lean_inc(x_206); -lean_inc(x_205); -lean_dec(x_200); -lean_inc(x_201); -x_208 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_2__visit___spec__3(x_207, x_140, x_201); -x_209 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_209, 0, x_205); -lean_ctor_set(x_209, 1, x_206); -lean_ctor_set(x_209, 2, x_208); -x_143 = x_201; -x_144 = x_209; -goto block_195; -} -} -else -{ -uint8_t x_210; -lean_dec(x_142); -lean_dec(x_141); -lean_dec(x_140); -lean_dec(x_2); -lean_dec(x_1); -x_210 = !lean_is_exclusive(x_199); -if (x_210 == 0) -{ -return x_199; -} -else -{ -lean_object* x_211; lean_object* x_212; lean_object* x_213; -x_211 = lean_ctor_get(x_199, 0); -x_212 = lean_ctor_get(x_199, 1); -lean_inc(x_212); -lean_inc(x_211); -lean_dec(x_199); -x_213 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_213, 0, x_211); -lean_ctor_set(x_213, 1, x_212); -return x_213; -} -} -} -else -{ -lean_object* x_214; -lean_dec(x_140); -x_214 = lean_ctor_get(x_198, 0); -lean_inc(x_214); -lean_dec(x_198); -x_143 = x_214; -x_144 = x_3; -goto block_195; -} -} -block_195: -{ -lean_object* x_145; lean_object* x_146; uint8_t x_176; -x_176 = l_Lean_Expr_hasMVar(x_141); -if (x_176 == 0) -{ -x_145 = x_141; -x_146 = x_144; -goto block_175; -} -else -{ -lean_object* x_177; lean_object* x_178; -x_177 = lean_ctor_get(x_144, 2); -lean_inc(x_177); -x_178 = l_HashMapImp_find_x3f___at___private_Init_Lean_MetavarContext_2__visit___spec__1(x_177, x_141); -lean_dec(x_177); -if (lean_obj_tag(x_178) == 0) -{ -lean_object* x_179; +lean_object* x_200; lean_inc(x_141); lean_inc(x_1); -x_179 = l___private_Init_Lean_MetavarContext_22__elimMVarDepsAux___main(x_1, x_141, x_144); +x_200 = l___private_Init_Lean_MetavarContext_22__elimMVarDepsAux___main(x_1, x_141, x_3, x_4); +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_2__visit___spec__3(x_204, x_141, x_202); +lean_ctor_set(x_201, 2, x_205); +x_144 = x_202; +x_145 = x_201; +goto block_196; +} +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_2__visit___spec__3(x_208, x_141, 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_144 = x_202; +x_145 = x_210; +goto block_196; +} +} +else +{ +uint8_t x_211; +lean_dec(x_143); +lean_dec(x_142); +lean_dec(x_141); +lean_dec(x_2); +lean_dec(x_1); +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_141); +x_215 = lean_ctor_get(x_199, 0); +lean_inc(x_215); +lean_dec(x_199); +x_144 = x_215; +x_145 = x_4; +goto block_196; +} +} +block_196: +{ +lean_object* x_146; lean_object* x_147; uint8_t x_177; +x_177 = l_Lean_Expr_hasMVar(x_142); +if (x_177 == 0) +{ +x_146 = x_142; +x_147 = x_145; +goto block_176; +} +else +{ +lean_object* x_178; lean_object* x_179; +x_178 = lean_ctor_get(x_145, 2); +lean_inc(x_178); +x_179 = l_HashMapImp_find_x3f___at___private_Init_Lean_MetavarContext_2__visit___spec__1(x_178, x_142); +lean_dec(x_178); if (lean_obj_tag(x_179) == 0) { -lean_object* x_180; lean_object* x_181; uint8_t x_182; -x_180 = lean_ctor_get(x_179, 1); -lean_inc(x_180); -x_181 = lean_ctor_get(x_179, 0); -lean_inc(x_181); -lean_dec(x_179); -x_182 = !lean_is_exclusive(x_180); -if (x_182 == 0) +lean_object* x_180; +lean_inc(x_142); +lean_inc(x_1); +x_180 = l___private_Init_Lean_MetavarContext_22__elimMVarDepsAux___main(x_1, x_142, x_3, x_145); +if (lean_obj_tag(x_180) == 0) { -lean_object* x_183; lean_object* x_184; -x_183 = lean_ctor_get(x_180, 2); +lean_object* x_181; lean_object* x_182; uint8_t x_183; +x_181 = lean_ctor_get(x_180, 1); lean_inc(x_181); -x_184 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_2__visit___spec__3(x_183, x_141, x_181); -lean_ctor_set(x_180, 2, x_184); -x_145 = x_181; -x_146 = x_180; -goto block_175; +x_182 = lean_ctor_get(x_180, 0); +lean_inc(x_182); +lean_dec(x_180); +x_183 = !lean_is_exclusive(x_181); +if (x_183 == 0) +{ +lean_object* x_184; lean_object* x_185; +x_184 = lean_ctor_get(x_181, 2); +lean_inc(x_182); +x_185 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_2__visit___spec__3(x_184, x_142, x_182); +lean_ctor_set(x_181, 2, x_185); +x_146 = x_182; +x_147 = x_181; +goto block_176; } else { -lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; -x_185 = lean_ctor_get(x_180, 0); -x_186 = lean_ctor_get(x_180, 1); -x_187 = lean_ctor_get(x_180, 2); +lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; +x_186 = lean_ctor_get(x_181, 0); +x_187 = lean_ctor_get(x_181, 1); +x_188 = lean_ctor_get(x_181, 2); +lean_inc(x_188); lean_inc(x_187); lean_inc(x_186); -lean_inc(x_185); -lean_dec(x_180); -lean_inc(x_181); -x_188 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_2__visit___spec__3(x_187, x_141, x_181); -x_189 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_189, 0, x_185); -lean_ctor_set(x_189, 1, x_186); -lean_ctor_set(x_189, 2, x_188); -x_145 = x_181; -x_146 = x_189; -goto block_175; +lean_dec(x_181); +lean_inc(x_182); +x_189 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_2__visit___spec__3(x_188, x_142, x_182); +x_190 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_190, 0, x_186); +lean_ctor_set(x_190, 1, x_187); +lean_ctor_set(x_190, 2, x_189); +x_146 = x_182; +x_147 = x_190; +goto block_176; } } else { -uint8_t x_190; +uint8_t x_191; +lean_dec(x_144); lean_dec(x_143); lean_dec(x_142); -lean_dec(x_141); lean_dec(x_2); lean_dec(x_1); -x_190 = !lean_is_exclusive(x_179); -if (x_190 == 0) +x_191 = !lean_is_exclusive(x_180); +if (x_191 == 0) { -return x_179; +return x_180; } else { -lean_object* x_191; lean_object* x_192; lean_object* x_193; -x_191 = lean_ctor_get(x_179, 0); -x_192 = lean_ctor_get(x_179, 1); +lean_object* x_192; lean_object* x_193; lean_object* x_194; +x_192 = lean_ctor_get(x_180, 0); +x_193 = lean_ctor_get(x_180, 1); +lean_inc(x_193); lean_inc(x_192); -lean_inc(x_191); -lean_dec(x_179); -x_193 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_193, 0, x_191); -lean_ctor_set(x_193, 1, x_192); -return x_193; +lean_dec(x_180); +x_194 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_194, 0, x_192); +lean_ctor_set(x_194, 1, x_193); +return x_194; } } } else { -lean_object* x_194; -lean_dec(x_141); -x_194 = lean_ctor_get(x_178, 0); -lean_inc(x_194); -lean_dec(x_178); -x_145 = x_194; -x_146 = x_144; -goto block_175; +lean_object* x_195; +lean_dec(x_142); +x_195 = lean_ctor_get(x_179, 0); +lean_inc(x_195); +lean_dec(x_179); +x_146 = x_195; +x_147 = x_145; +goto block_176; } } -block_175: +block_176: { -lean_object* x_147; lean_object* x_148; uint8_t x_156; -x_156 = l_Lean_Expr_hasMVar(x_142); -if (x_156 == 0) +lean_object* x_148; lean_object* x_149; uint8_t x_157; +x_157 = l_Lean_Expr_hasMVar(x_143); +if (x_157 == 0) { lean_dec(x_1); -x_147 = x_142; -x_148 = x_146; -goto block_155; +x_148 = x_143; +x_149 = x_147; +goto block_156; } else { -lean_object* x_157; lean_object* x_158; -x_157 = lean_ctor_get(x_146, 2); -lean_inc(x_157); -x_158 = l_HashMapImp_find_x3f___at___private_Init_Lean_MetavarContext_2__visit___spec__1(x_157, x_142); -lean_dec(x_157); -if (lean_obj_tag(x_158) == 0) -{ -lean_object* x_159; -lean_inc(x_142); -x_159 = l___private_Init_Lean_MetavarContext_22__elimMVarDepsAux___main(x_1, x_142, x_146); +lean_object* x_158; lean_object* x_159; +x_158 = lean_ctor_get(x_147, 2); +lean_inc(x_158); +x_159 = l_HashMapImp_find_x3f___at___private_Init_Lean_MetavarContext_2__visit___spec__1(x_158, x_143); +lean_dec(x_158); if (lean_obj_tag(x_159) == 0) { -lean_object* x_160; lean_object* x_161; uint8_t x_162; -x_160 = lean_ctor_get(x_159, 1); -lean_inc(x_160); -x_161 = lean_ctor_get(x_159, 0); -lean_inc(x_161); -lean_dec(x_159); -x_162 = !lean_is_exclusive(x_160); -if (x_162 == 0) +lean_object* x_160; +lean_inc(x_143); +x_160 = l___private_Init_Lean_MetavarContext_22__elimMVarDepsAux___main(x_1, x_143, x_3, x_147); +if (lean_obj_tag(x_160) == 0) { -lean_object* x_163; lean_object* x_164; -x_163 = lean_ctor_get(x_160, 2); +lean_object* x_161; lean_object* x_162; uint8_t x_163; +x_161 = lean_ctor_get(x_160, 1); lean_inc(x_161); -x_164 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_2__visit___spec__3(x_163, x_142, x_161); -lean_ctor_set(x_160, 2, x_164); -x_147 = x_161; -x_148 = x_160; -goto block_155; +x_162 = lean_ctor_get(x_160, 0); +lean_inc(x_162); +lean_dec(x_160); +x_163 = !lean_is_exclusive(x_161); +if (x_163 == 0) +{ +lean_object* x_164; lean_object* x_165; +x_164 = lean_ctor_get(x_161, 2); +lean_inc(x_162); +x_165 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_2__visit___spec__3(x_164, x_143, x_162); +lean_ctor_set(x_161, 2, x_165); +x_148 = x_162; +x_149 = x_161; +goto block_156; } else { -lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; -x_165 = lean_ctor_get(x_160, 0); -x_166 = lean_ctor_get(x_160, 1); -x_167 = lean_ctor_get(x_160, 2); +lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; +x_166 = lean_ctor_get(x_161, 0); +x_167 = lean_ctor_get(x_161, 1); +x_168 = lean_ctor_get(x_161, 2); +lean_inc(x_168); lean_inc(x_167); lean_inc(x_166); -lean_inc(x_165); -lean_dec(x_160); -lean_inc(x_161); -x_168 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_2__visit___spec__3(x_167, x_142, x_161); -x_169 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_169, 0, x_165); -lean_ctor_set(x_169, 1, x_166); -lean_ctor_set(x_169, 2, x_168); -x_147 = x_161; -x_148 = x_169; -goto block_155; +lean_dec(x_161); +lean_inc(x_162); +x_169 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_2__visit___spec__3(x_168, x_143, x_162); +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); +x_148 = x_162; +x_149 = x_170; +goto block_156; } } else { -uint8_t x_170; -lean_dec(x_145); +uint8_t x_171; +lean_dec(x_146); +lean_dec(x_144); lean_dec(x_143); -lean_dec(x_142); lean_dec(x_2); -x_170 = !lean_is_exclusive(x_159); -if (x_170 == 0) +x_171 = !lean_is_exclusive(x_160); +if (x_171 == 0) { -return x_159; +return x_160; } else { -lean_object* x_171; lean_object* x_172; lean_object* x_173; -x_171 = lean_ctor_get(x_159, 0); -x_172 = lean_ctor_get(x_159, 1); +lean_object* x_172; lean_object* x_173; lean_object* x_174; +x_172 = lean_ctor_get(x_160, 0); +x_173 = lean_ctor_get(x_160, 1); +lean_inc(x_173); lean_inc(x_172); -lean_inc(x_171); -lean_dec(x_159); -x_173 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_173, 0, x_171); -lean_ctor_set(x_173, 1, x_172); -return x_173; +lean_dec(x_160); +x_174 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_174, 0, x_172); +lean_ctor_set(x_174, 1, x_173); +return x_174; } } } else { -lean_object* x_174; -lean_dec(x_142); +lean_object* x_175; +lean_dec(x_143); lean_dec(x_1); -x_174 = lean_ctor_get(x_158, 0); -lean_inc(x_174); -lean_dec(x_158); -x_147 = x_174; -x_148 = x_146; -goto block_155; +x_175 = lean_ctor_get(x_159, 0); +lean_inc(x_175); +lean_dec(x_159); +x_148 = x_175; +x_149 = x_147; +goto block_156; } } -block_155: +block_156: { if (lean_obj_tag(x_2) == 8) { -lean_object* x_149; lean_object* x_150; -x_149 = lean_expr_update_let(x_2, x_143, x_145, x_147); -x_150 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_150, 0, x_149); -lean_ctor_set(x_150, 1, x_148); -return x_150; +lean_object* x_150; lean_object* x_151; +x_150 = lean_expr_update_let(x_2, x_144, x_146, x_148); +x_151 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_151, 0, x_150); +lean_ctor_set(x_151, 1, x_149); +return x_151; } else { -lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; -lean_dec(x_147); -lean_dec(x_145); -lean_dec(x_143); +lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; +lean_dec(x_148); +lean_dec(x_146); +lean_dec(x_144); lean_dec(x_2); -x_151 = l_Lean_Expr_Inhabited; -x_152 = l_Lean_Expr_updateLet_x21___closed__1; -x_153 = lean_panic_fn(x_151, x_152); -x_154 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_154, 0, x_153); -lean_ctor_set(x_154, 1, x_148); -return x_154; +x_152 = l_Lean_Expr_Inhabited; +x_153 = l_Lean_Expr_updateLet_x21___closed__1; +x_154 = lean_panic_fn(x_152, x_153); +x_155 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_155, 0, x_154); +lean_ctor_set(x_155, 1, x_149); +return x_155; } } } @@ -31584,1484 +39631,1543 @@ return x_154; } case 10: { -lean_object* x_215; uint8_t x_216; -x_215 = lean_ctor_get(x_2, 1); -lean_inc(x_215); -x_216 = l_Lean_Expr_hasMVar(x_215); -if (x_216 == 0) +lean_object* x_216; uint8_t x_217; +x_216 = lean_ctor_get(x_2, 1); +lean_inc(x_216); +x_217 = l_Lean_Expr_hasMVar(x_216); +if (x_217 == 0) { lean_dec(x_1); -x_4 = x_215; -x_5 = x_3; -goto block_12; +x_5 = x_216; +x_6 = x_4; +goto block_13; } else { -lean_object* x_217; lean_object* x_218; -x_217 = lean_ctor_get(x_3, 2); -lean_inc(x_217); -x_218 = l_HashMapImp_find_x3f___at___private_Init_Lean_MetavarContext_2__visit___spec__1(x_217, x_215); -lean_dec(x_217); -if (lean_obj_tag(x_218) == 0) -{ -lean_object* x_219; -lean_inc(x_215); -x_219 = l___private_Init_Lean_MetavarContext_22__elimMVarDepsAux___main(x_1, x_215, x_3); +lean_object* x_218; lean_object* x_219; +x_218 = lean_ctor_get(x_4, 2); +lean_inc(x_218); +x_219 = l_HashMapImp_find_x3f___at___private_Init_Lean_MetavarContext_2__visit___spec__1(x_218, x_216); +lean_dec(x_218); if (lean_obj_tag(x_219) == 0) { -lean_object* x_220; lean_object* x_221; uint8_t x_222; -x_220 = lean_ctor_get(x_219, 1); -lean_inc(x_220); -x_221 = lean_ctor_get(x_219, 0); -lean_inc(x_221); -lean_dec(x_219); -x_222 = !lean_is_exclusive(x_220); -if (x_222 == 0) +lean_object* x_220; +lean_inc(x_216); +x_220 = l___private_Init_Lean_MetavarContext_22__elimMVarDepsAux___main(x_1, x_216, x_3, x_4); +if (lean_obj_tag(x_220) == 0) { -lean_object* x_223; lean_object* x_224; -x_223 = lean_ctor_get(x_220, 2); +lean_object* x_221; lean_object* x_222; uint8_t x_223; +x_221 = lean_ctor_get(x_220, 1); lean_inc(x_221); -x_224 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_2__visit___spec__3(x_223, x_215, x_221); -lean_ctor_set(x_220, 2, x_224); -x_4 = x_221; -x_5 = x_220; -goto block_12; +x_222 = lean_ctor_get(x_220, 0); +lean_inc(x_222); +lean_dec(x_220); +x_223 = !lean_is_exclusive(x_221); +if (x_223 == 0) +{ +lean_object* x_224; lean_object* x_225; +x_224 = lean_ctor_get(x_221, 2); +lean_inc(x_222); +x_225 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_2__visit___spec__3(x_224, x_216, x_222); +lean_ctor_set(x_221, 2, x_225); +x_5 = x_222; +x_6 = x_221; +goto block_13; } else { -lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; -x_225 = lean_ctor_get(x_220, 0); -x_226 = lean_ctor_get(x_220, 1); -x_227 = lean_ctor_get(x_220, 2); +lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; +x_226 = lean_ctor_get(x_221, 0); +x_227 = lean_ctor_get(x_221, 1); +x_228 = lean_ctor_get(x_221, 2); +lean_inc(x_228); lean_inc(x_227); lean_inc(x_226); -lean_inc(x_225); -lean_dec(x_220); -lean_inc(x_221); -x_228 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_2__visit___spec__3(x_227, x_215, x_221); -x_229 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_229, 0, x_225); -lean_ctor_set(x_229, 1, x_226); -lean_ctor_set(x_229, 2, x_228); -x_4 = x_221; -x_5 = x_229; -goto block_12; +lean_dec(x_221); +lean_inc(x_222); +x_229 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_2__visit___spec__3(x_228, x_216, x_222); +x_230 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_230, 0, x_226); +lean_ctor_set(x_230, 1, x_227); +lean_ctor_set(x_230, 2, x_229); +x_5 = x_222; +x_6 = x_230; +goto block_13; } } else { -uint8_t x_230; -lean_dec(x_215); +uint8_t x_231; +lean_dec(x_216); lean_dec(x_2); -x_230 = !lean_is_exclusive(x_219); -if (x_230 == 0) +x_231 = !lean_is_exclusive(x_220); +if (x_231 == 0) { -return x_219; +return x_220; } else { -lean_object* x_231; lean_object* x_232; lean_object* x_233; -x_231 = lean_ctor_get(x_219, 0); -x_232 = lean_ctor_get(x_219, 1); +lean_object* x_232; lean_object* x_233; lean_object* x_234; +x_232 = lean_ctor_get(x_220, 0); +x_233 = lean_ctor_get(x_220, 1); +lean_inc(x_233); lean_inc(x_232); -lean_inc(x_231); -lean_dec(x_219); -x_233 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_233, 0, x_231); -lean_ctor_set(x_233, 1, x_232); -return x_233; +lean_dec(x_220); +x_234 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_234, 0, x_232); +lean_ctor_set(x_234, 1, x_233); +return x_234; } } } else { -lean_object* x_234; -lean_dec(x_215); +lean_object* x_235; +lean_dec(x_216); lean_dec(x_1); -x_234 = lean_ctor_get(x_218, 0); -lean_inc(x_234); -lean_dec(x_218); -x_4 = x_234; -x_5 = x_3; -goto block_12; +x_235 = lean_ctor_get(x_219, 0); +lean_inc(x_235); +lean_dec(x_219); +x_5 = x_235; +x_6 = x_4; +goto block_13; } } } case 11: { -lean_object* x_235; uint8_t x_236; -x_235 = lean_ctor_get(x_2, 2); -lean_inc(x_235); -x_236 = l_Lean_Expr_hasMVar(x_235); -if (x_236 == 0) +lean_object* x_236; uint8_t x_237; +x_236 = lean_ctor_get(x_2, 2); +lean_inc(x_236); +x_237 = l_Lean_Expr_hasMVar(x_236); +if (x_237 == 0) { lean_dec(x_1); -x_13 = x_235; -x_14 = x_3; -goto block_21; +x_14 = x_236; +x_15 = x_4; +goto block_22; } 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_x3f___at___private_Init_Lean_MetavarContext_2__visit___spec__1(x_237, x_235); -lean_dec(x_237); -if (lean_obj_tag(x_238) == 0) -{ -lean_object* x_239; -lean_inc(x_235); -x_239 = l___private_Init_Lean_MetavarContext_22__elimMVarDepsAux___main(x_1, x_235, x_3); +lean_object* x_238; lean_object* x_239; +x_238 = lean_ctor_get(x_4, 2); +lean_inc(x_238); +x_239 = l_HashMapImp_find_x3f___at___private_Init_Lean_MetavarContext_2__visit___spec__1(x_238, x_236); +lean_dec(x_238); 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); -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_240; +lean_inc(x_236); +x_240 = l___private_Init_Lean_MetavarContext_22__elimMVarDepsAux___main(x_1, x_236, x_3, x_4); +if (lean_obj_tag(x_240) == 0) { -lean_object* x_243; lean_object* x_244; -x_243 = lean_ctor_get(x_240, 2); +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_244 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_2__visit___spec__3(x_243, x_235, x_241); -lean_ctor_set(x_240, 2, x_244); -x_13 = x_241; -x_14 = x_240; -goto block_21; +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; lean_object* x_245; +x_244 = lean_ctor_get(x_241, 2); +lean_inc(x_242); +x_245 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_2__visit___spec__3(x_244, x_236, x_242); +lean_ctor_set(x_241, 2, x_245); +x_14 = x_242; +x_15 = x_241; +goto block_22; } 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_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; +x_246 = lean_ctor_get(x_241, 0); +x_247 = lean_ctor_get(x_241, 1); +x_248 = lean_ctor_get(x_241, 2); +lean_inc(x_248); 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_2__visit___spec__3(x_247, x_235, 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_13 = x_241; -x_14 = x_249; -goto block_21; +lean_dec(x_241); +lean_inc(x_242); +x_249 = l_HashMapImp_insert___at___private_Init_Lean_MetavarContext_2__visit___spec__3(x_248, x_236, x_242); +x_250 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_250, 0, x_246); +lean_ctor_set(x_250, 1, x_247); +lean_ctor_set(x_250, 2, x_249); +x_14 = x_242; +x_15 = x_250; +goto block_22; } } else { -uint8_t x_250; -lean_dec(x_235); +uint8_t x_251; +lean_dec(x_236); lean_dec(x_2); -x_250 = !lean_is_exclusive(x_239); -if (x_250 == 0) +x_251 = !lean_is_exclusive(x_240); +if (x_251 == 0) { -return x_239; +return x_240; } 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_object* x_252; lean_object* x_253; lean_object* x_254; +x_252 = lean_ctor_get(x_240, 0); +x_253 = lean_ctor_get(x_240, 1); +lean_inc(x_253); 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; +lean_dec(x_240); +x_254 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_254, 0, x_252); +lean_ctor_set(x_254, 1, x_253); +return x_254; } } } else { -lean_object* x_254; -lean_dec(x_235); +lean_object* x_255; +lean_dec(x_236); lean_dec(x_1); -x_254 = lean_ctor_get(x_238, 0); -lean_inc(x_254); -lean_dec(x_238); -x_13 = x_254; -x_14 = x_3; -goto block_21; +x_255 = lean_ctor_get(x_239, 0); +lean_inc(x_255); +lean_dec(x_239); +x_14 = x_255; +x_15 = x_4; +goto block_22; } } } default: { -lean_object* x_255; +lean_object* x_256; lean_dec(x_1); -x_255 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_255, 0, x_2); -lean_ctor_set(x_255, 1, x_3); -return x_255; +x_256 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_256, 0, x_2); +lean_ctor_set(x_256, 1, x_4); +return x_256; } } -block_12: +block_13: { if (lean_obj_tag(x_2) == 10) { -lean_object* x_6; lean_object* x_7; -x_6 = lean_expr_update_mdata(x_2, x_4); -x_7 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_7, 0, x_6); -lean_ctor_set(x_7, 1, x_5); -return x_7; -} -else -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; -lean_dec(x_4); -lean_dec(x_2); -x_8 = l_Lean_Expr_Inhabited; -x_9 = l_Lean_Expr_updateMData_x21___closed__2; -x_10 = lean_panic_fn(x_8, 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; -} -} -block_21: -{ -if (lean_obj_tag(x_2) == 11) -{ -lean_object* x_15; lean_object* x_16; -x_15 = lean_expr_update_proj(x_2, 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 -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; -lean_dec(x_13); -lean_dec(x_2); -x_17 = l_Lean_Expr_Inhabited; -x_18 = l_Lean_Expr_updateProj_x21___closed__2; -x_19 = lean_panic_fn(x_17, 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_14); -return x_20; -} -} -} -} -lean_object* l___private_Init_Lean_MetavarContext_22__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_22__elimMVarDepsAux___main(x_1, x_2, x_3); -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; -x_4 = l_Lean_Expr_hasMVar(x_2); -if (x_4 == 0) -{ -lean_object* x_5; -lean_dec(x_1); -x_5 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_5, 0, x_2); -lean_ctor_set(x_5, 1, x_3); -return x_5; -} -else -{ -uint8_t x_6; -x_6 = !lean_is_exclusive(x_3); -if (x_6 == 0) -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; -x_7 = lean_ctor_get(x_3, 2); -x_8 = l_HashMap_Inhabited___closed__1; -lean_ctor_set(x_3, 2, x_8); -x_9 = l___private_Init_Lean_MetavarContext_22__elimMVarDepsAux___main(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; -x_13 = lean_ctor_get(x_11, 2); -lean_dec(x_13); -lean_ctor_set(x_11, 2, x_7); -return x_9; -} -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); -x_16 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_16, 0, x_14); -lean_ctor_set(x_16, 1, x_15); -lean_ctor_set(x_16, 2, x_7); -lean_ctor_set(x_9, 1, x_16); -return x_9; -} -} -else -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_17 = lean_ctor_get(x_9, 1); -x_18 = lean_ctor_get(x_9, 0); -lean_inc(x_17); -lean_inc(x_18); -lean_dec(x_9); -x_19 = lean_ctor_get(x_17, 0); -lean_inc(x_19); -x_20 = lean_ctor_get(x_17, 1); -lean_inc(x_20); -if (lean_is_exclusive(x_17)) { - lean_ctor_release(x_17, 0); - lean_ctor_release(x_17, 1); - lean_ctor_release(x_17, 2); - x_21 = x_17; -} else { - lean_dec_ref(x_17); - x_21 = lean_box(0); -} -if (lean_is_scalar(x_21)) { - x_22 = lean_alloc_ctor(0, 3, 0); -} else { - x_22 = x_21; -} -lean_ctor_set(x_22, 0, x_19); -lean_ctor_set(x_22, 1, x_20); -lean_ctor_set(x_22, 2, x_7); -x_23 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_23, 0, x_18); -lean_ctor_set(x_23, 1, x_22); -return x_23; -} -} -else -{ -uint8_t x_24; -lean_dec(x_7); -x_24 = !lean_is_exclusive(x_9); -if (x_24 == 0) -{ -return x_9; -} -else -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_25 = lean_ctor_get(x_9, 0); -x_26 = lean_ctor_get(x_9, 1); -lean_inc(x_26); -lean_inc(x_25); -lean_dec(x_9); -x_27 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_27, 0, x_25); -lean_ctor_set(x_27, 1, x_26); -return x_27; -} -} -} -else -{ -lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_28 = lean_ctor_get(x_3, 0); -x_29 = lean_ctor_get(x_3, 1); -x_30 = lean_ctor_get(x_3, 2); -lean_inc(x_30); -lean_inc(x_29); -lean_inc(x_28); -lean_dec(x_3); -x_31 = l_HashMap_Inhabited___closed__1; -x_32 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_32, 0, x_28); -lean_ctor_set(x_32, 1, x_29); -lean_ctor_set(x_32, 2, x_31); -x_33 = l___private_Init_Lean_MetavarContext_22__elimMVarDepsAux___main(x_1, x_2, x_32); -if (lean_obj_tag(x_33) == 0) -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_34 = lean_ctor_get(x_33, 1); -lean_inc(x_34); -x_35 = lean_ctor_get(x_33, 0); -lean_inc(x_35); -if (lean_is_exclusive(x_33)) { - lean_ctor_release(x_33, 0); - lean_ctor_release(x_33, 1); - x_36 = x_33; -} else { - lean_dec_ref(x_33); - x_36 = lean_box(0); -} -x_37 = lean_ctor_get(x_34, 0); -lean_inc(x_37); -x_38 = lean_ctor_get(x_34, 1); -lean_inc(x_38); -if (lean_is_exclusive(x_34)) { - lean_ctor_release(x_34, 0); - lean_ctor_release(x_34, 1); - lean_ctor_release(x_34, 2); - x_39 = x_34; -} else { - lean_dec_ref(x_34); - x_39 = lean_box(0); -} -if (lean_is_scalar(x_39)) { - x_40 = lean_alloc_ctor(0, 3, 0); -} else { - x_40 = x_39; -} -lean_ctor_set(x_40, 0, x_37); -lean_ctor_set(x_40, 1, x_38); -lean_ctor_set(x_40, 2, x_30); -if (lean_is_scalar(x_36)) { - x_41 = lean_alloc_ctor(0, 2, 0); -} else { - x_41 = x_36; -} -lean_ctor_set(x_41, 0, x_35); -lean_ctor_set(x_41, 1, x_40); -return x_41; -} -else -{ -lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; -lean_dec(x_30); -x_42 = lean_ctor_get(x_33, 0); -lean_inc(x_42); -x_43 = lean_ctor_get(x_33, 1); -lean_inc(x_43); -if (lean_is_exclusive(x_33)) { - lean_ctor_release(x_33, 0); - lean_ctor_release(x_33, 1); - x_44 = x_33; -} else { - lean_dec_ref(x_33); - x_44 = lean_box(0); -} -if (lean_is_scalar(x_44)) { - x_45 = lean_alloc_ctor(1, 2, 0); -} else { - x_45 = x_44; -} -lean_ctor_set(x_45, 0, x_42); -lean_ctor_set(x_45, 1, x_43); -return x_45; -} -} -} -} -} -lean_object* l___private_Init_Lean_MetavarContext_23__abstractRange(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -lean_inc(x_1); -x_5 = l_Lean_MetavarContext_MkBinding_elimMVarDeps(x_1, x_3, x_4); -if (lean_obj_tag(x_5) == 0) -{ -uint8_t x_6; -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_expr_abstract_range(x_7, x_2, x_1); -lean_dec(x_1); -lean_dec(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_expr_abstract_range(x_9, x_2, x_1); -lean_dec(x_1); -lean_dec(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; -} -} -else -{ -uint8_t x_13; -lean_dec(x_1); -x_13 = !lean_is_exclusive(x_5); -if (x_13 == 0) -{ -return x_5; -} -else -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_14 = lean_ctor_get(x_5, 0); -x_15 = lean_ctor_get(x_5, 1); -lean_inc(x_15); -lean_inc(x_14); -lean_dec(x_5); -x_16 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_16, 0, x_14); -lean_ctor_set(x_16, 1, x_15); -return x_16; -} -} -} -} -lean_object* l___private_Init_Lean_MetavarContext_23__abstractRange___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_23__abstractRange(x_1, x_2, x_3, x_4); -lean_dec(x_2); -return x_5; -} -} -lean_object* l_Lean_MetavarContext_MkBinding_mkBinding___lambda__1(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -uint8_t x_8; -x_8 = !lean_is_exclusive(x_6); -if (x_8 == 0) -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_9 = lean_ctor_get(x_6, 0); -x_10 = lean_ctor_get(x_6, 1); -x_11 = l_Lean_Expr_Inhabited; -x_12 = lean_array_get(x_11, x_1, x_5); -x_13 = l_Lean_LocalContext_getFVar_x21(x_2, x_12); -lean_dec(x_12); -if (lean_obj_tag(x_13) == 0) -{ -if (x_3 == 0) -{ -lean_object* x_14; lean_object* x_15; uint8_t x_16; lean_object* x_17; -x_14 = lean_ctor_get(x_13, 2); -lean_inc(x_14); -x_15 = lean_ctor_get(x_13, 3); -lean_inc(x_15); -x_16 = lean_ctor_get_uint8(x_13, sizeof(void*)*4); -lean_dec(x_13); -lean_inc(x_1); -x_17 = l_Lean_MetavarContext_MkBinding_elimMVarDeps(x_1, x_15, x_7); -if (lean_obj_tag(x_17) == 0) -{ -uint8_t x_18; -x_18 = !lean_is_exclusive(x_17); -if (x_18 == 0) -{ -lean_object* x_19; lean_object* x_20; -x_19 = lean_ctor_get(x_17, 0); -x_20 = lean_expr_abstract_range(x_19, x_5, x_1); -lean_dec(x_1); -lean_dec(x_19); -if (x_4 == 0) -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_21 = l_Lean_mkForall(x_14, x_16, x_20, x_9); -lean_dec(x_14); -x_22 = lean_unsigned_to_nat(1u); -x_23 = lean_nat_add(x_10, x_22); -lean_dec(x_10); -lean_ctor_set(x_6, 1, x_23); -lean_ctor_set(x_6, 0, x_21); -lean_ctor_set(x_17, 0, x_6); -return x_17; -} -else -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_24 = l_Lean_mkLambda(x_14, x_16, x_20, x_9); -lean_dec(x_14); -x_25 = lean_unsigned_to_nat(1u); -x_26 = lean_nat_add(x_10, x_25); -lean_dec(x_10); -lean_ctor_set(x_6, 1, x_26); -lean_ctor_set(x_6, 0, x_24); -lean_ctor_set(x_17, 0, x_6); -return x_17; -} -} -else -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_27 = lean_ctor_get(x_17, 0); -x_28 = lean_ctor_get(x_17, 1); -lean_inc(x_28); -lean_inc(x_27); -lean_dec(x_17); -x_29 = lean_expr_abstract_range(x_27, x_5, x_1); -lean_dec(x_1); -lean_dec(x_27); -if (x_4 == 0) -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_30 = l_Lean_mkForall(x_14, x_16, x_29, x_9); -lean_dec(x_14); -x_31 = lean_unsigned_to_nat(1u); -x_32 = lean_nat_add(x_10, x_31); -lean_dec(x_10); -lean_ctor_set(x_6, 1, x_32); -lean_ctor_set(x_6, 0, x_30); -x_33 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_33, 0, x_6); -lean_ctor_set(x_33, 1, x_28); -return x_33; -} -else -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_34 = l_Lean_mkLambda(x_14, x_16, x_29, x_9); -lean_dec(x_14); -x_35 = lean_unsigned_to_nat(1u); -x_36 = lean_nat_add(x_10, x_35); -lean_dec(x_10); -lean_ctor_set(x_6, 1, x_36); -lean_ctor_set(x_6, 0, x_34); -x_37 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_37, 0, x_6); -lean_ctor_set(x_37, 1, x_28); -return x_37; -} -} -} -else -{ -uint8_t x_38; -lean_dec(x_14); -lean_free_object(x_6); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_1); -x_38 = !lean_is_exclusive(x_17); -if (x_38 == 0) -{ -return x_17; -} -else -{ -lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_39 = lean_ctor_get(x_17, 0); -x_40 = lean_ctor_get(x_17, 1); -lean_inc(x_40); -lean_inc(x_39); -lean_dec(x_17); -x_41 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_41, 0, x_39); -lean_ctor_set(x_41, 1, x_40); -return x_41; -} -} -} -else -{ -lean_object* x_42; lean_object* x_43; uint8_t x_44; lean_object* x_45; uint8_t x_46; -x_42 = lean_ctor_get(x_13, 2); -lean_inc(x_42); -x_43 = lean_ctor_get(x_13, 3); -lean_inc(x_43); -x_44 = lean_ctor_get_uint8(x_13, sizeof(void*)*4); -lean_dec(x_13); -x_45 = lean_unsigned_to_nat(0u); -x_46 = lean_expr_has_loose_bvar(x_9, x_45); -if (x_46 == 0) -{ -lean_object* x_47; lean_object* x_48; lean_object* x_49; -lean_dec(x_43); -lean_dec(x_42); -lean_dec(x_1); -x_47 = lean_unsigned_to_nat(1u); -x_48 = lean_expr_lower_loose_bvars(x_9, x_47, x_47); -lean_dec(x_9); -lean_ctor_set(x_6, 0, x_48); -x_49 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_49, 0, x_6); -lean_ctor_set(x_49, 1, x_7); -return x_49; -} -else -{ -lean_object* x_50; -lean_inc(x_1); -x_50 = l_Lean_MetavarContext_MkBinding_elimMVarDeps(x_1, x_43, x_7); -if (lean_obj_tag(x_50) == 0) -{ -uint8_t x_51; -x_51 = !lean_is_exclusive(x_50); -if (x_51 == 0) -{ -lean_object* x_52; lean_object* x_53; -x_52 = lean_ctor_get(x_50, 0); -x_53 = lean_expr_abstract_range(x_52, x_5, x_1); -lean_dec(x_1); -lean_dec(x_52); -if (x_4 == 0) -{ -lean_object* x_54; lean_object* x_55; lean_object* x_56; -x_54 = l_Lean_mkForall(x_42, x_44, x_53, x_9); -lean_dec(x_42); -x_55 = lean_unsigned_to_nat(1u); -x_56 = lean_nat_add(x_10, x_55); -lean_dec(x_10); -lean_ctor_set(x_6, 1, x_56); -lean_ctor_set(x_6, 0, x_54); -lean_ctor_set(x_50, 0, x_6); -return x_50; -} -else -{ -lean_object* x_57; lean_object* x_58; lean_object* x_59; -x_57 = l_Lean_mkLambda(x_42, x_44, x_53, x_9); -lean_dec(x_42); -x_58 = lean_unsigned_to_nat(1u); -x_59 = lean_nat_add(x_10, x_58); -lean_dec(x_10); -lean_ctor_set(x_6, 1, x_59); -lean_ctor_set(x_6, 0, x_57); -lean_ctor_set(x_50, 0, x_6); -return x_50; -} -} -else -{ -lean_object* x_60; lean_object* x_61; lean_object* x_62; -x_60 = lean_ctor_get(x_50, 0); -x_61 = lean_ctor_get(x_50, 1); -lean_inc(x_61); -lean_inc(x_60); -lean_dec(x_50); -x_62 = lean_expr_abstract_range(x_60, x_5, x_1); -lean_dec(x_1); -lean_dec(x_60); -if (x_4 == 0) -{ -lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; -x_63 = l_Lean_mkForall(x_42, x_44, x_62, x_9); -lean_dec(x_42); -x_64 = lean_unsigned_to_nat(1u); -x_65 = lean_nat_add(x_10, x_64); -lean_dec(x_10); -lean_ctor_set(x_6, 1, x_65); -lean_ctor_set(x_6, 0, x_63); -x_66 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_66, 0, x_6); -lean_ctor_set(x_66, 1, x_61); -return x_66; -} -else -{ -lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; -x_67 = l_Lean_mkLambda(x_42, x_44, x_62, x_9); -lean_dec(x_42); -x_68 = lean_unsigned_to_nat(1u); -x_69 = lean_nat_add(x_10, x_68); -lean_dec(x_10); -lean_ctor_set(x_6, 1, x_69); -lean_ctor_set(x_6, 0, x_67); -x_70 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_70, 0, x_6); -lean_ctor_set(x_70, 1, x_61); -return x_70; -} -} -} -else -{ -uint8_t x_71; -lean_dec(x_42); -lean_free_object(x_6); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_1); -x_71 = !lean_is_exclusive(x_50); -if (x_71 == 0) -{ -return x_50; -} -else -{ -lean_object* x_72; lean_object* x_73; lean_object* x_74; -x_72 = lean_ctor_get(x_50, 0); -x_73 = lean_ctor_get(x_50, 1); -lean_inc(x_73); -lean_inc(x_72); -lean_dec(x_50); -x_74 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_74, 0, x_72); -lean_ctor_set(x_74, 1, x_73); -return x_74; -} -} -} -} -} -else -{ -lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; uint8_t x_79; -x_75 = lean_ctor_get(x_13, 2); -lean_inc(x_75); -x_76 = lean_ctor_get(x_13, 3); -lean_inc(x_76); -x_77 = lean_ctor_get(x_13, 4); -lean_inc(x_77); -lean_dec(x_13); -x_78 = lean_unsigned_to_nat(0u); -x_79 = lean_expr_has_loose_bvar(x_9, x_78); -if (x_79 == 0) -{ -lean_object* x_80; lean_object* x_81; lean_object* x_82; -lean_dec(x_77); -lean_dec(x_76); -lean_dec(x_75); -lean_dec(x_1); -x_80 = lean_unsigned_to_nat(1u); -x_81 = lean_expr_lower_loose_bvars(x_9, x_80, x_80); -lean_dec(x_9); -lean_ctor_set(x_6, 0, x_81); -x_82 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_82, 0, x_6); -lean_ctor_set(x_82, 1, x_7); -return x_82; -} -else -{ -lean_object* x_83; -lean_inc(x_1); -x_83 = l_Lean_MetavarContext_MkBinding_elimMVarDeps(x_1, x_76, x_7); -if (lean_obj_tag(x_83) == 0) -{ -lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; -x_84 = lean_ctor_get(x_83, 0); -lean_inc(x_84); -x_85 = lean_ctor_get(x_83, 1); -lean_inc(x_85); -lean_dec(x_83); -x_86 = lean_expr_abstract_range(x_84, x_5, x_1); -lean_dec(x_84); -lean_inc(x_1); -x_87 = l_Lean_MetavarContext_MkBinding_elimMVarDeps(x_1, x_77, x_85); -if (lean_obj_tag(x_87) == 0) -{ -uint8_t x_88; -x_88 = !lean_is_exclusive(x_87); -if (x_88 == 0) -{ -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_89 = lean_ctor_get(x_87, 0); -x_90 = lean_expr_abstract_range(x_89, x_5, x_1); -lean_dec(x_1); -lean_dec(x_89); -x_91 = 0; -x_92 = l_Lean_mkLet(x_75, x_86, x_90, x_9, x_91); -lean_dec(x_75); -x_93 = lean_unsigned_to_nat(1u); -x_94 = lean_nat_add(x_10, x_93); -lean_dec(x_10); -lean_ctor_set(x_6, 1, x_94); -lean_ctor_set(x_6, 0, x_92); -lean_ctor_set(x_87, 0, x_6); -return x_87; -} -else -{ -lean_object* x_95; lean_object* x_96; lean_object* x_97; uint8_t x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; -x_95 = lean_ctor_get(x_87, 0); -x_96 = lean_ctor_get(x_87, 1); -lean_inc(x_96); -lean_inc(x_95); -lean_dec(x_87); -x_97 = lean_expr_abstract_range(x_95, x_5, x_1); -lean_dec(x_1); -lean_dec(x_95); -x_98 = 0; -x_99 = l_Lean_mkLet(x_75, x_86, x_97, x_9, x_98); -lean_dec(x_75); -x_100 = lean_unsigned_to_nat(1u); -x_101 = lean_nat_add(x_10, x_100); -lean_dec(x_10); -lean_ctor_set(x_6, 1, x_101); -lean_ctor_set(x_6, 0, x_99); -x_102 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_102, 0, x_6); -lean_ctor_set(x_102, 1, x_96); -return x_102; -} -} -else -{ -uint8_t x_103; -lean_dec(x_86); -lean_dec(x_75); -lean_free_object(x_6); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_1); -x_103 = !lean_is_exclusive(x_87); -if (x_103 == 0) -{ -return x_87; -} -else -{ -lean_object* x_104; lean_object* x_105; lean_object* x_106; -x_104 = lean_ctor_get(x_87, 0); -x_105 = lean_ctor_get(x_87, 1); -lean_inc(x_105); -lean_inc(x_104); -lean_dec(x_87); -x_106 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_106, 0, x_104); -lean_ctor_set(x_106, 1, x_105); -return x_106; -} -} -} -else -{ -uint8_t x_107; -lean_dec(x_77); -lean_dec(x_75); -lean_free_object(x_6); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_1); -x_107 = !lean_is_exclusive(x_83); -if (x_107 == 0) -{ -return x_83; -} -else -{ -lean_object* x_108; lean_object* x_109; lean_object* x_110; -x_108 = lean_ctor_get(x_83, 0); -x_109 = lean_ctor_get(x_83, 1); -lean_inc(x_109); -lean_inc(x_108); -lean_dec(x_83); -x_110 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_110, 0, x_108); -lean_ctor_set(x_110, 1, x_109); -return x_110; -} -} -} -} -} -else -{ -lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; -x_111 = lean_ctor_get(x_6, 0); -x_112 = lean_ctor_get(x_6, 1); -lean_inc(x_112); -lean_inc(x_111); -lean_dec(x_6); -x_113 = l_Lean_Expr_Inhabited; -x_114 = lean_array_get(x_113, x_1, x_5); -x_115 = l_Lean_LocalContext_getFVar_x21(x_2, x_114); -lean_dec(x_114); -if (lean_obj_tag(x_115) == 0) -{ -if (x_3 == 0) -{ -lean_object* x_116; lean_object* x_117; uint8_t x_118; lean_object* x_119; -x_116 = lean_ctor_get(x_115, 2); -lean_inc(x_116); -x_117 = lean_ctor_get(x_115, 3); -lean_inc(x_117); -x_118 = lean_ctor_get_uint8(x_115, sizeof(void*)*4); -lean_dec(x_115); -lean_inc(x_1); -x_119 = l_Lean_MetavarContext_MkBinding_elimMVarDeps(x_1, x_117, x_7); -if (lean_obj_tag(x_119) == 0) -{ -lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; -x_120 = lean_ctor_get(x_119, 0); -lean_inc(x_120); -x_121 = lean_ctor_get(x_119, 1); -lean_inc(x_121); -if (lean_is_exclusive(x_119)) { - lean_ctor_release(x_119, 0); - lean_ctor_release(x_119, 1); - x_122 = x_119; -} else { - lean_dec_ref(x_119); - x_122 = lean_box(0); -} -x_123 = lean_expr_abstract_range(x_120, x_5, x_1); -lean_dec(x_1); -lean_dec(x_120); -if (x_4 == 0) -{ -lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; -x_124 = l_Lean_mkForall(x_116, x_118, x_123, x_111); -lean_dec(x_116); -x_125 = lean_unsigned_to_nat(1u); -x_126 = lean_nat_add(x_112, x_125); -lean_dec(x_112); -x_127 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_127, 0, x_124); -lean_ctor_set(x_127, 1, x_126); -if (lean_is_scalar(x_122)) { - x_128 = lean_alloc_ctor(0, 2, 0); -} else { - x_128 = x_122; -} -lean_ctor_set(x_128, 0, x_127); -lean_ctor_set(x_128, 1, x_121); -return x_128; -} -else -{ -lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; -x_129 = l_Lean_mkLambda(x_116, x_118, x_123, x_111); -lean_dec(x_116); -x_130 = lean_unsigned_to_nat(1u); -x_131 = lean_nat_add(x_112, x_130); -lean_dec(x_112); -x_132 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_132, 0, x_129); -lean_ctor_set(x_132, 1, x_131); -if (lean_is_scalar(x_122)) { - x_133 = lean_alloc_ctor(0, 2, 0); -} else { - x_133 = x_122; -} -lean_ctor_set(x_133, 0, x_132); -lean_ctor_set(x_133, 1, x_121); -return x_133; -} -} -else -{ -lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; -lean_dec(x_116); -lean_dec(x_112); -lean_dec(x_111); -lean_dec(x_1); -x_134 = lean_ctor_get(x_119, 0); -lean_inc(x_134); -x_135 = lean_ctor_get(x_119, 1); -lean_inc(x_135); -if (lean_is_exclusive(x_119)) { - lean_ctor_release(x_119, 0); - lean_ctor_release(x_119, 1); - x_136 = x_119; -} else { - lean_dec_ref(x_119); - x_136 = lean_box(0); -} -if (lean_is_scalar(x_136)) { - x_137 = lean_alloc_ctor(1, 2, 0); -} else { - x_137 = x_136; -} -lean_ctor_set(x_137, 0, x_134); -lean_ctor_set(x_137, 1, x_135); -return x_137; -} -} -else -{ -lean_object* x_138; lean_object* x_139; uint8_t x_140; lean_object* x_141; uint8_t x_142; -x_138 = lean_ctor_get(x_115, 2); -lean_inc(x_138); -x_139 = lean_ctor_get(x_115, 3); -lean_inc(x_139); -x_140 = lean_ctor_get_uint8(x_115, sizeof(void*)*4); -lean_dec(x_115); -x_141 = lean_unsigned_to_nat(0u); -x_142 = lean_expr_has_loose_bvar(x_111, x_141); -if (x_142 == 0) -{ -lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; -lean_dec(x_139); -lean_dec(x_138); -lean_dec(x_1); -x_143 = lean_unsigned_to_nat(1u); -x_144 = lean_expr_lower_loose_bvars(x_111, x_143, x_143); -lean_dec(x_111); -x_145 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_145, 0, x_144); -lean_ctor_set(x_145, 1, x_112); -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; -} -else -{ -lean_object* x_147; -lean_inc(x_1); -x_147 = l_Lean_MetavarContext_MkBinding_elimMVarDeps(x_1, x_139, x_7); -if (lean_obj_tag(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_147, 0); -lean_inc(x_148); -x_149 = lean_ctor_get(x_147, 1); -lean_inc(x_149); -if (lean_is_exclusive(x_147)) { - lean_ctor_release(x_147, 0); - lean_ctor_release(x_147, 1); - x_150 = x_147; -} else { - lean_dec_ref(x_147); - x_150 = lean_box(0); -} -x_151 = lean_expr_abstract_range(x_148, x_5, x_1); -lean_dec(x_1); -lean_dec(x_148); -if (x_4 == 0) -{ -lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; -x_152 = l_Lean_mkForall(x_138, x_140, x_151, x_111); -lean_dec(x_138); -x_153 = lean_unsigned_to_nat(1u); -x_154 = lean_nat_add(x_112, x_153); -lean_dec(x_112); -x_155 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_155, 0, x_152); -lean_ctor_set(x_155, 1, x_154); -if (lean_is_scalar(x_150)) { - x_156 = lean_alloc_ctor(0, 2, 0); -} else { - x_156 = x_150; -} -lean_ctor_set(x_156, 0, x_155); -lean_ctor_set(x_156, 1, x_149); -return x_156; -} -else -{ -lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; -x_157 = l_Lean_mkLambda(x_138, x_140, x_151, x_111); -lean_dec(x_138); -x_158 = lean_unsigned_to_nat(1u); -x_159 = lean_nat_add(x_112, x_158); -lean_dec(x_112); -x_160 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_160, 0, x_157); -lean_ctor_set(x_160, 1, x_159); -if (lean_is_scalar(x_150)) { - x_161 = lean_alloc_ctor(0, 2, 0); -} else { - x_161 = x_150; -} -lean_ctor_set(x_161, 0, x_160); -lean_ctor_set(x_161, 1, x_149); -return x_161; -} -} -else -{ -lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; -lean_dec(x_138); -lean_dec(x_112); -lean_dec(x_111); -lean_dec(x_1); -x_162 = lean_ctor_get(x_147, 0); -lean_inc(x_162); -x_163 = lean_ctor_get(x_147, 1); -lean_inc(x_163); -if (lean_is_exclusive(x_147)) { - lean_ctor_release(x_147, 0); - lean_ctor_release(x_147, 1); - x_164 = x_147; -} else { - lean_dec_ref(x_147); - x_164 = lean_box(0); -} -if (lean_is_scalar(x_164)) { - x_165 = lean_alloc_ctor(1, 2, 0); -} else { - x_165 = x_164; -} -lean_ctor_set(x_165, 0, x_162); -lean_ctor_set(x_165, 1, x_163); -return x_165; -} -} -} -} -else -{ -lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; uint8_t x_170; -x_166 = lean_ctor_get(x_115, 2); -lean_inc(x_166); -x_167 = lean_ctor_get(x_115, 3); -lean_inc(x_167); -x_168 = lean_ctor_get(x_115, 4); -lean_inc(x_168); -lean_dec(x_115); -x_169 = lean_unsigned_to_nat(0u); -x_170 = lean_expr_has_loose_bvar(x_111, x_169); -if (x_170 == 0) -{ -lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; -lean_dec(x_168); -lean_dec(x_167); -lean_dec(x_166); -lean_dec(x_1); -x_171 = lean_unsigned_to_nat(1u); -x_172 = lean_expr_lower_loose_bvars(x_111, x_171, x_171); -lean_dec(x_111); -x_173 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_173, 0, x_172); -lean_ctor_set(x_173, 1, x_112); -x_174 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_174, 0, x_173); -lean_ctor_set(x_174, 1, x_7); -return x_174; -} -else -{ -lean_object* x_175; -lean_inc(x_1); -x_175 = l_Lean_MetavarContext_MkBinding_elimMVarDeps(x_1, x_167, x_7); -if (lean_obj_tag(x_175) == 0) -{ -lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; -x_176 = lean_ctor_get(x_175, 0); -lean_inc(x_176); -x_177 = lean_ctor_get(x_175, 1); -lean_inc(x_177); -lean_dec(x_175); -x_178 = lean_expr_abstract_range(x_176, x_5, x_1); -lean_dec(x_176); -lean_inc(x_1); -x_179 = l_Lean_MetavarContext_MkBinding_elimMVarDeps(x_1, x_168, x_177); -if (lean_obj_tag(x_179) == 0) -{ -lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; uint8_t x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; -x_180 = lean_ctor_get(x_179, 0); -lean_inc(x_180); -x_181 = lean_ctor_get(x_179, 1); -lean_inc(x_181); -if (lean_is_exclusive(x_179)) { - lean_ctor_release(x_179, 0); - lean_ctor_release(x_179, 1); - x_182 = x_179; -} else { - lean_dec_ref(x_179); - x_182 = lean_box(0); -} -x_183 = lean_expr_abstract_range(x_180, x_5, x_1); -lean_dec(x_1); -lean_dec(x_180); -x_184 = 0; -x_185 = l_Lean_mkLet(x_166, x_178, x_183, x_111, x_184); -lean_dec(x_166); -x_186 = lean_unsigned_to_nat(1u); -x_187 = lean_nat_add(x_112, x_186); -lean_dec(x_112); -x_188 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_188, 0, x_185); -lean_ctor_set(x_188, 1, x_187); -if (lean_is_scalar(x_182)) { - x_189 = lean_alloc_ctor(0, 2, 0); -} else { - x_189 = x_182; -} -lean_ctor_set(x_189, 0, x_188); -lean_ctor_set(x_189, 1, x_181); -return x_189; -} -else -{ -lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; -lean_dec(x_178); -lean_dec(x_166); -lean_dec(x_112); -lean_dec(x_111); -lean_dec(x_1); -x_190 = lean_ctor_get(x_179, 0); -lean_inc(x_190); -x_191 = lean_ctor_get(x_179, 1); -lean_inc(x_191); -if (lean_is_exclusive(x_179)) { - lean_ctor_release(x_179, 0); - lean_ctor_release(x_179, 1); - x_192 = x_179; -} else { - lean_dec_ref(x_179); - x_192 = lean_box(0); -} -if (lean_is_scalar(x_192)) { - x_193 = lean_alloc_ctor(1, 2, 0); -} else { - x_193 = x_192; -} -lean_ctor_set(x_193, 0, x_190); -lean_ctor_set(x_193, 1, x_191); -return x_193; -} -} -else -{ -lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; -lean_dec(x_168); -lean_dec(x_166); -lean_dec(x_112); -lean_dec(x_111); -lean_dec(x_1); -x_194 = lean_ctor_get(x_175, 0); -lean_inc(x_194); -x_195 = lean_ctor_get(x_175, 1); -lean_inc(x_195); -if (lean_is_exclusive(x_175)) { - lean_ctor_release(x_175, 0); - lean_ctor_release(x_175, 1); - x_196 = x_175; -} else { - lean_dec_ref(x_175); - 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; -} -} -} -} -} -} -lean_object* l_Lean_MetavarContext_MkBinding_mkBinding(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; lean_object* x_8; -x_7 = lean_array_get_size(x_3); -lean_inc(x_3); -x_8 = l_Lean_MetavarContext_MkBinding_elimMVarDeps(x_3, x_4, 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; 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_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_3); -lean_dec(x_9); -x_12 = lean_box(x_5); -x_13 = lean_box(x_1); -x_14 = lean_alloc_closure((void*)(l_Lean_MetavarContext_MkBinding_mkBinding___lambda__1___boxed), 7, 4); -lean_closure_set(x_14, 0, x_3); -lean_closure_set(x_14, 1, x_2); -lean_closure_set(x_14, 2, x_12); -lean_closure_set(x_14, 3, x_13); -x_15 = lean_unsigned_to_nat(0u); -x_16 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_16, 0, x_11); -lean_ctor_set(x_16, 1, x_15); -x_17 = l_EIO_Monad___closed__1; -x_18 = l_Nat_foldRevMAux___main___rarg(x_17, x_14, x_7, x_16); -lean_dec(x_7); -x_19 = lean_apply_1(x_18, x_10); -return x_19; -} -else -{ -uint8_t x_20; -lean_dec(x_7); -lean_dec(x_3); -lean_dec(x_2); -x_20 = !lean_is_exclusive(x_8); -if (x_20 == 0) -{ +x_7 = lean_expr_update_mdata(x_2, 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_21; lean_object* x_22; lean_object* x_23; -x_21 = lean_ctor_get(x_8, 0); -x_22 = lean_ctor_get(x_8, 1); -lean_inc(x_22); -lean_inc(x_21); -lean_dec(x_8); -x_23 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_23, 0, x_21); -lean_ctor_set(x_23, 1, x_22); -return x_23; +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +lean_dec(x_5); +lean_dec(x_2); +x_9 = l_Lean_Expr_Inhabited; +x_10 = l_Lean_Expr_updateMData_x21___closed__2; +x_11 = lean_panic_fn(x_9, x_10); +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_12, 1, x_6); +return x_12; +} +} +block_22: +{ +if (lean_obj_tag(x_2) == 11) +{ +lean_object* x_16; lean_object* x_17; +x_16 = lean_expr_update_proj(x_2, 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; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +lean_dec(x_14); +lean_dec(x_2); +x_18 = l_Lean_Expr_Inhabited; +x_19 = l_Lean_Expr_updateProj_x21___closed__2; +x_20 = lean_panic_fn(x_18, x_19); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_15); +return x_21; } } } } -lean_object* l_Lean_MetavarContext_MkBinding_mkBinding___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +lean_object* l_Lean_Expr_withAppAux___main___at___private_Init_Lean_MetavarContext_22__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, lean_object* x_6) { _start: { -uint8_t x_8; uint8_t x_9; lean_object* x_10; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_MetavarContext_MkBinding_mkBinding___lambda__1(x_1, x_2, x_8, x_9, x_5, x_6, x_7); +uint8_t x_7; lean_object* x_8; +x_7 = lean_unbox(x_5); lean_dec(x_5); +x_8 = l_Lean_Expr_withAppAux___main___at___private_Init_Lean_MetavarContext_22__elimMVarDepsAux___main___spec__1(x_1, x_2, x_3, x_4, x_7, x_6); +return x_8; +} +} +lean_object* l___private_Init_Lean_MetavarContext_22__elimMVarDepsAux___main___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_22__elimMVarDepsAux___main(x_1, x_2, x_5, x_4); +return x_6; +} +} +lean_object* l___private_Init_Lean_MetavarContext_22__elimMVarDepsAux(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l___private_Init_Lean_MetavarContext_22__elimMVarDepsAux___main(x_1, x_2, x_3, x_4); +return x_5; +} +} +lean_object* l___private_Init_Lean_MetavarContext_22__elimMVarDepsAux___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_22__elimMVarDepsAux(x_1, x_2, x_5, x_4); +return x_6; +} +} +lean_object* l_Lean_MetavarContext_MkBinding_elimMVarDeps(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; +x_5 = l_Lean_Expr_hasMVar(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_4); +return x_6; +} +else +{ +uint8_t x_7; +x_7 = !lean_is_exclusive(x_4); +if (x_7 == 0) +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_8 = lean_ctor_get(x_4, 2); +x_9 = l_HashMap_Inhabited___closed__1; +lean_ctor_set(x_4, 2, x_9); +x_10 = l___private_Init_Lean_MetavarContext_22__elimMVarDepsAux___main(x_1, x_2, x_3, x_4); +if (lean_obj_tag(x_10) == 0) +{ +uint8_t x_11; +x_11 = !lean_is_exclusive(x_10); +if (x_11 == 0) +{ +lean_object* x_12; uint8_t x_13; +x_12 = lean_ctor_get(x_10, 1); +x_13 = !lean_is_exclusive(x_12); +if (x_13 == 0) +{ +lean_object* x_14; +x_14 = lean_ctor_get(x_12, 2); +lean_dec(x_14); +lean_ctor_set(x_12, 2, x_8); +return x_10; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_12, 0); +x_16 = lean_ctor_get(x_12, 1); +lean_inc(x_16); +lean_inc(x_15); +lean_dec(x_12); +x_17 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_17, 0, x_15); +lean_ctor_set(x_17, 1, x_16); +lean_ctor_set(x_17, 2, x_8); +lean_ctor_set(x_10, 1, x_17); 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) { +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; +x_18 = lean_ctor_get(x_10, 1); +x_19 = lean_ctor_get(x_10, 0); +lean_inc(x_18); +lean_inc(x_19); +lean_dec(x_10); +x_20 = lean_ctor_get(x_18, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_18, 1); +lean_inc(x_21); +if (lean_is_exclusive(x_18)) { + lean_ctor_release(x_18, 0); + lean_ctor_release(x_18, 1); + lean_ctor_release(x_18, 2); + x_22 = x_18; +} else { + lean_dec_ref(x_18); + x_22 = lean_box(0); +} +if (lean_is_scalar(x_22)) { + x_23 = lean_alloc_ctor(0, 3, 0); +} else { + x_23 = x_22; +} +lean_ctor_set(x_23, 0, x_20); +lean_ctor_set(x_23, 1, x_21); +lean_ctor_set(x_23, 2, x_8); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_19); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +else +{ +uint8_t x_25; +lean_dec(x_8); +x_25 = !lean_is_exclusive(x_10); +if (x_25 == 0) +{ +return x_10; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_10, 0); +x_27 = lean_ctor_get(x_10, 1); +lean_inc(x_27); +lean_inc(x_26); +lean_dec(x_10); +x_28 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_28, 0, x_26); +lean_ctor_set(x_28, 1, x_27); +return x_28; +} +} +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_29 = lean_ctor_get(x_4, 0); +x_30 = lean_ctor_get(x_4, 1); +x_31 = lean_ctor_get(x_4, 2); +lean_inc(x_31); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_4); +x_32 = l_HashMap_Inhabited___closed__1; +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___private_Init_Lean_MetavarContext_22__elimMVarDepsAux___main(x_1, x_2, x_3, 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; +x_35 = lean_ctor_get(x_34, 1); +lean_inc(x_35); +x_36 = lean_ctor_get(x_34, 0); +lean_inc(x_36); +if (lean_is_exclusive(x_34)) { + lean_ctor_release(x_34, 0); + lean_ctor_release(x_34, 1); + x_37 = x_34; +} else { + lean_dec_ref(x_34); + x_37 = lean_box(0); +} +x_38 = lean_ctor_get(x_35, 0); +lean_inc(x_38); +x_39 = lean_ctor_get(x_35, 1); +lean_inc(x_39); +if (lean_is_exclusive(x_35)) { + lean_ctor_release(x_35, 0); + lean_ctor_release(x_35, 1); + lean_ctor_release(x_35, 2); + x_40 = x_35; +} else { + lean_dec_ref(x_35); + x_40 = lean_box(0); +} +if (lean_is_scalar(x_40)) { + x_41 = lean_alloc_ctor(0, 3, 0); +} else { + x_41 = x_40; +} +lean_ctor_set(x_41, 0, x_38); +lean_ctor_set(x_41, 1, x_39); +lean_ctor_set(x_41, 2, x_31); +if (lean_is_scalar(x_37)) { + x_42 = lean_alloc_ctor(0, 2, 0); +} else { + x_42 = x_37; +} +lean_ctor_set(x_42, 0, x_36); +lean_ctor_set(x_42, 1, x_41); +return x_42; +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; +lean_dec(x_31); +x_43 = lean_ctor_get(x_34, 0); +lean_inc(x_43); +x_44 = lean_ctor_get(x_34, 1); +lean_inc(x_44); +if (lean_is_exclusive(x_34)) { + lean_ctor_release(x_34, 0); + lean_ctor_release(x_34, 1); + x_45 = x_34; +} else { + lean_dec_ref(x_34); + x_45 = lean_box(0); +} +if (lean_is_scalar(x_45)) { + x_46 = lean_alloc_ctor(1, 2, 0); +} else { + x_46 = x_45; +} +lean_ctor_set(x_46, 0, x_43); +lean_ctor_set(x_46, 1, x_44); +return x_46; +} +} +} +} +} +lean_object* l_Lean_MetavarContext_MkBinding_elimMVarDeps___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { -uint8_t x_7; uint8_t x_8; lean_object* x_9; -x_7 = lean_unbox(x_1); +uint8_t x_5; lean_object* x_6; +x_5 = lean_unbox(x_3); +lean_dec(x_3); +x_6 = l_Lean_MetavarContext_MkBinding_elimMVarDeps(x_1, x_2, x_5, x_4); +return x_6; +} +} +lean_object* l___private_Init_Lean_MetavarContext_23__abstractRange(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_inc(x_1); +x_6 = l_Lean_MetavarContext_MkBinding_elimMVarDeps(x_1, x_3, x_4, x_5); +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; lean_object* x_9; +x_8 = lean_ctor_get(x_6, 0); +x_9 = lean_expr_abstract_range(x_8, x_2, x_1); lean_dec(x_1); -x_8 = lean_unbox(x_5); -lean_dec(x_5); -x_9 = l_Lean_MetavarContext_MkBinding_mkBinding(x_7, x_2, x_3, x_4, x_8, x_6); +lean_dec(x_8); +lean_ctor_set(x_6, 0, x_9); +return x_6; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_10 = lean_ctor_get(x_6, 0); +x_11 = lean_ctor_get(x_6, 1); +lean_inc(x_11); +lean_inc(x_10); +lean_dec(x_6); +x_12 = lean_expr_abstract_range(x_10, x_2, x_1); +lean_dec(x_1); +lean_dec(x_10); +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; +} +} +else +{ +uint8_t x_14; +lean_dec(x_1); +x_14 = !lean_is_exclusive(x_6); +if (x_14 == 0) +{ +return x_6; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_6, 0); +x_16 = lean_ctor_get(x_6, 1); +lean_inc(x_16); +lean_inc(x_15); +lean_dec(x_6); +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___private_Init_Lean_MetavarContext_23__abstractRange___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___private_Init_Lean_MetavarContext_23__abstractRange(x_1, x_2, x_3, x_6, x_5); +lean_dec(x_2); +return x_7; +} +} +lean_object* l_Lean_MetavarContext_MkBinding_mkBinding___lambda__1(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, uint8_t x_7, lean_object* x_8) { +_start: +{ +uint8_t x_9; +x_9 = !lean_is_exclusive(x_6); +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_ctor_get(x_6, 0); +x_11 = lean_ctor_get(x_6, 1); +x_12 = l_Lean_Expr_Inhabited; +x_13 = lean_array_get(x_12, x_1, x_5); +x_14 = l_Lean_LocalContext_getFVar_x21(x_2, x_13); +lean_dec(x_13); +if (lean_obj_tag(x_14) == 0) +{ +if (x_3 == 0) +{ +lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_object* x_18; +x_15 = lean_ctor_get(x_14, 2); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 3); +lean_inc(x_16); +x_17 = lean_ctor_get_uint8(x_14, sizeof(void*)*4); +lean_dec(x_14); +lean_inc(x_1); +x_18 = l_Lean_MetavarContext_MkBinding_elimMVarDeps(x_1, x_16, x_7, x_8); +if (lean_obj_tag(x_18) == 0) +{ +uint8_t x_19; +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_expr_abstract_range(x_20, x_5, x_1); +lean_dec(x_1); +lean_dec(x_20); +if (x_4 == 0) +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = l_Lean_mkForall(x_15, x_17, x_21, x_10); +lean_dec(x_15); +x_23 = lean_unsigned_to_nat(1u); +x_24 = lean_nat_add(x_11, x_23); +lean_dec(x_11); +lean_ctor_set(x_6, 1, x_24); +lean_ctor_set(x_6, 0, x_22); +lean_ctor_set(x_18, 0, x_6); +return x_18; +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = l_Lean_mkLambda(x_15, x_17, x_21, x_10); +lean_dec(x_15); +x_26 = lean_unsigned_to_nat(1u); +x_27 = lean_nat_add(x_11, x_26); +lean_dec(x_11); +lean_ctor_set(x_6, 1, x_27); +lean_ctor_set(x_6, 0, x_25); +lean_ctor_set(x_18, 0, x_6); +return x_18; +} +} +else +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_18, 0); +x_29 = lean_ctor_get(x_18, 1); +lean_inc(x_29); +lean_inc(x_28); +lean_dec(x_18); +x_30 = lean_expr_abstract_range(x_28, x_5, x_1); +lean_dec(x_1); +lean_dec(x_28); +if (x_4 == 0) +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_31 = l_Lean_mkForall(x_15, x_17, x_30, x_10); +lean_dec(x_15); +x_32 = lean_unsigned_to_nat(1u); +x_33 = lean_nat_add(x_11, x_32); +lean_dec(x_11); +lean_ctor_set(x_6, 1, x_33); +lean_ctor_set(x_6, 0, x_31); +x_34 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_34, 0, x_6); +lean_ctor_set(x_34, 1, x_29); +return x_34; +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_35 = l_Lean_mkLambda(x_15, x_17, x_30, x_10); +lean_dec(x_15); +x_36 = lean_unsigned_to_nat(1u); +x_37 = lean_nat_add(x_11, x_36); +lean_dec(x_11); +lean_ctor_set(x_6, 1, x_37); +lean_ctor_set(x_6, 0, x_35); +x_38 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_38, 0, x_6); +lean_ctor_set(x_38, 1, x_29); +return x_38; +} +} +} +else +{ +uint8_t x_39; +lean_dec(x_15); +lean_free_object(x_6); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_1); +x_39 = !lean_is_exclusive(x_18); +if (x_39 == 0) +{ +return x_18; +} +else +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_40 = lean_ctor_get(x_18, 0); +x_41 = lean_ctor_get(x_18, 1); +lean_inc(x_41); +lean_inc(x_40); +lean_dec(x_18); +x_42 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_42, 0, x_40); +lean_ctor_set(x_42, 1, x_41); +return x_42; +} +} +} +else +{ +lean_object* x_43; lean_object* x_44; uint8_t x_45; lean_object* x_46; uint8_t x_47; +x_43 = lean_ctor_get(x_14, 2); +lean_inc(x_43); +x_44 = lean_ctor_get(x_14, 3); +lean_inc(x_44); +x_45 = lean_ctor_get_uint8(x_14, sizeof(void*)*4); +lean_dec(x_14); +x_46 = lean_unsigned_to_nat(0u); +x_47 = lean_expr_has_loose_bvar(x_10, x_46); +if (x_47 == 0) +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; +lean_dec(x_44); +lean_dec(x_43); +lean_dec(x_1); +x_48 = lean_unsigned_to_nat(1u); +x_49 = lean_expr_lower_loose_bvars(x_10, x_48, x_48); +lean_dec(x_10); +lean_ctor_set(x_6, 0, x_49); +x_50 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_50, 0, x_6); +lean_ctor_set(x_50, 1, x_8); +return x_50; +} +else +{ +lean_object* x_51; +lean_inc(x_1); +x_51 = l_Lean_MetavarContext_MkBinding_elimMVarDeps(x_1, x_44, x_7, x_8); +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; lean_object* x_54; +x_53 = lean_ctor_get(x_51, 0); +x_54 = lean_expr_abstract_range(x_53, x_5, x_1); +lean_dec(x_1); +lean_dec(x_53); +if (x_4 == 0) +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_55 = l_Lean_mkForall(x_43, x_45, x_54, x_10); +lean_dec(x_43); +x_56 = lean_unsigned_to_nat(1u); +x_57 = lean_nat_add(x_11, x_56); +lean_dec(x_11); +lean_ctor_set(x_6, 1, x_57); +lean_ctor_set(x_6, 0, x_55); +lean_ctor_set(x_51, 0, x_6); +return x_51; +} +else +{ +lean_object* x_58; lean_object* x_59; lean_object* x_60; +x_58 = l_Lean_mkLambda(x_43, x_45, x_54, x_10); +lean_dec(x_43); +x_59 = lean_unsigned_to_nat(1u); +x_60 = lean_nat_add(x_11, x_59); +lean_dec(x_11); +lean_ctor_set(x_6, 1, x_60); +lean_ctor_set(x_6, 0, x_58); +lean_ctor_set(x_51, 0, x_6); +return x_51; +} +} +else +{ +lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_61 = lean_ctor_get(x_51, 0); +x_62 = lean_ctor_get(x_51, 1); +lean_inc(x_62); +lean_inc(x_61); +lean_dec(x_51); +x_63 = lean_expr_abstract_range(x_61, x_5, x_1); +lean_dec(x_1); +lean_dec(x_61); +if (x_4 == 0) +{ +lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_64 = l_Lean_mkForall(x_43, x_45, x_63, x_10); +lean_dec(x_43); +x_65 = lean_unsigned_to_nat(1u); +x_66 = lean_nat_add(x_11, x_65); +lean_dec(x_11); +lean_ctor_set(x_6, 1, x_66); +lean_ctor_set(x_6, 0, x_64); +x_67 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_67, 0, x_6); +lean_ctor_set(x_67, 1, x_62); +return x_67; +} +else +{ +lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; +x_68 = l_Lean_mkLambda(x_43, x_45, x_63, x_10); +lean_dec(x_43); +x_69 = lean_unsigned_to_nat(1u); +x_70 = lean_nat_add(x_11, x_69); +lean_dec(x_11); +lean_ctor_set(x_6, 1, x_70); +lean_ctor_set(x_6, 0, x_68); +x_71 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_71, 0, x_6); +lean_ctor_set(x_71, 1, x_62); +return x_71; +} +} +} +else +{ +uint8_t x_72; +lean_dec(x_43); +lean_free_object(x_6); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_1); +x_72 = !lean_is_exclusive(x_51); +if (x_72 == 0) +{ +return x_51; +} +else +{ +lean_object* x_73; lean_object* x_74; lean_object* x_75; +x_73 = lean_ctor_get(x_51, 0); +x_74 = lean_ctor_get(x_51, 1); +lean_inc(x_74); +lean_inc(x_73); +lean_dec(x_51); +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; uint8_t x_80; +x_76 = lean_ctor_get(x_14, 2); +lean_inc(x_76); +x_77 = lean_ctor_get(x_14, 3); +lean_inc(x_77); +x_78 = lean_ctor_get(x_14, 4); +lean_inc(x_78); +lean_dec(x_14); +x_79 = lean_unsigned_to_nat(0u); +x_80 = lean_expr_has_loose_bvar(x_10, x_79); +if (x_80 == 0) +{ +lean_object* x_81; lean_object* x_82; lean_object* x_83; +lean_dec(x_78); +lean_dec(x_77); +lean_dec(x_76); +lean_dec(x_1); +x_81 = lean_unsigned_to_nat(1u); +x_82 = lean_expr_lower_loose_bvars(x_10, x_81, x_81); +lean_dec(x_10); +lean_ctor_set(x_6, 0, x_82); +x_83 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_83, 0, x_6); +lean_ctor_set(x_83, 1, x_8); +return x_83; +} +else +{ +lean_object* x_84; +lean_inc(x_1); +x_84 = l_Lean_MetavarContext_MkBinding_elimMVarDeps(x_1, x_77, x_7, x_8); +if (lean_obj_tag(x_84) == 0) +{ +lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; +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_expr_abstract_range(x_85, x_5, x_1); +lean_dec(x_85); +lean_inc(x_1); +x_88 = l_Lean_MetavarContext_MkBinding_elimMVarDeps(x_1, x_78, x_7, x_86); +if (lean_obj_tag(x_88) == 0) +{ +uint8_t x_89; +x_89 = !lean_is_exclusive(x_88); +if (x_89 == 0) +{ +lean_object* x_90; lean_object* x_91; uint8_t x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; +x_90 = lean_ctor_get(x_88, 0); +x_91 = lean_expr_abstract_range(x_90, x_5, x_1); +lean_dec(x_1); +lean_dec(x_90); +x_92 = 0; +x_93 = l_Lean_mkLet(x_76, x_87, x_91, x_10, x_92); +lean_dec(x_76); +x_94 = lean_unsigned_to_nat(1u); +x_95 = lean_nat_add(x_11, x_94); +lean_dec(x_11); +lean_ctor_set(x_6, 1, x_95); +lean_ctor_set(x_6, 0, x_93); +lean_ctor_set(x_88, 0, x_6); +return x_88; +} +else +{ +lean_object* x_96; lean_object* x_97; lean_object* x_98; uint8_t x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; +x_96 = lean_ctor_get(x_88, 0); +x_97 = lean_ctor_get(x_88, 1); +lean_inc(x_97); +lean_inc(x_96); +lean_dec(x_88); +x_98 = lean_expr_abstract_range(x_96, x_5, x_1); +lean_dec(x_1); +lean_dec(x_96); +x_99 = 0; +x_100 = l_Lean_mkLet(x_76, x_87, x_98, x_10, x_99); +lean_dec(x_76); +x_101 = lean_unsigned_to_nat(1u); +x_102 = lean_nat_add(x_11, x_101); +lean_dec(x_11); +lean_ctor_set(x_6, 1, x_102); +lean_ctor_set(x_6, 0, x_100); +x_103 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_103, 0, x_6); +lean_ctor_set(x_103, 1, x_97); +return x_103; +} +} +else +{ +uint8_t x_104; +lean_dec(x_87); +lean_dec(x_76); +lean_free_object(x_6); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_1); +x_104 = !lean_is_exclusive(x_88); +if (x_104 == 0) +{ +return x_88; +} +else +{ +lean_object* x_105; lean_object* x_106; lean_object* x_107; +x_105 = lean_ctor_get(x_88, 0); +x_106 = lean_ctor_get(x_88, 1); +lean_inc(x_106); +lean_inc(x_105); +lean_dec(x_88); +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 +{ +uint8_t x_108; +lean_dec(x_78); +lean_dec(x_76); +lean_free_object(x_6); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_1); +x_108 = !lean_is_exclusive(x_84); +if (x_108 == 0) +{ +return x_84; +} +else +{ +lean_object* x_109; lean_object* x_110; lean_object* x_111; +x_109 = lean_ctor_get(x_84, 0); +x_110 = lean_ctor_get(x_84, 1); +lean_inc(x_110); +lean_inc(x_109); +lean_dec(x_84); +x_111 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_111, 0, x_109); +lean_ctor_set(x_111, 1, x_110); +return x_111; +} +} +} +} +} +else +{ +lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; +x_112 = lean_ctor_get(x_6, 0); +x_113 = lean_ctor_get(x_6, 1); +lean_inc(x_113); +lean_inc(x_112); +lean_dec(x_6); +x_114 = l_Lean_Expr_Inhabited; +x_115 = lean_array_get(x_114, x_1, x_5); +x_116 = l_Lean_LocalContext_getFVar_x21(x_2, x_115); +lean_dec(x_115); +if (lean_obj_tag(x_116) == 0) +{ +if (x_3 == 0) +{ +lean_object* x_117; lean_object* x_118; uint8_t x_119; lean_object* x_120; +x_117 = lean_ctor_get(x_116, 2); +lean_inc(x_117); +x_118 = lean_ctor_get(x_116, 3); +lean_inc(x_118); +x_119 = lean_ctor_get_uint8(x_116, sizeof(void*)*4); +lean_dec(x_116); +lean_inc(x_1); +x_120 = l_Lean_MetavarContext_MkBinding_elimMVarDeps(x_1, x_118, x_7, x_8); +if (lean_obj_tag(x_120) == 0) +{ +lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; +x_121 = lean_ctor_get(x_120, 0); +lean_inc(x_121); +x_122 = lean_ctor_get(x_120, 1); +lean_inc(x_122); +if (lean_is_exclusive(x_120)) { + lean_ctor_release(x_120, 0); + lean_ctor_release(x_120, 1); + x_123 = x_120; +} else { + lean_dec_ref(x_120); + x_123 = lean_box(0); +} +x_124 = lean_expr_abstract_range(x_121, x_5, x_1); +lean_dec(x_1); +lean_dec(x_121); +if (x_4 == 0) +{ +lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; +x_125 = l_Lean_mkForall(x_117, x_119, x_124, x_112); +lean_dec(x_117); +x_126 = lean_unsigned_to_nat(1u); +x_127 = lean_nat_add(x_113, x_126); +lean_dec(x_113); +x_128 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_128, 0, x_125); +lean_ctor_set(x_128, 1, x_127); +if (lean_is_scalar(x_123)) { + x_129 = lean_alloc_ctor(0, 2, 0); +} else { + x_129 = x_123; +} +lean_ctor_set(x_129, 0, x_128); +lean_ctor_set(x_129, 1, x_122); +return x_129; +} +else +{ +lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; +x_130 = l_Lean_mkLambda(x_117, x_119, x_124, x_112); +lean_dec(x_117); +x_131 = lean_unsigned_to_nat(1u); +x_132 = lean_nat_add(x_113, x_131); +lean_dec(x_113); +x_133 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_133, 0, x_130); +lean_ctor_set(x_133, 1, x_132); +if (lean_is_scalar(x_123)) { + x_134 = lean_alloc_ctor(0, 2, 0); +} else { + x_134 = x_123; +} +lean_ctor_set(x_134, 0, x_133); +lean_ctor_set(x_134, 1, x_122); +return x_134; +} +} +else +{ +lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; +lean_dec(x_117); +lean_dec(x_113); +lean_dec(x_112); +lean_dec(x_1); +x_135 = lean_ctor_get(x_120, 0); +lean_inc(x_135); +x_136 = lean_ctor_get(x_120, 1); +lean_inc(x_136); +if (lean_is_exclusive(x_120)) { + lean_ctor_release(x_120, 0); + lean_ctor_release(x_120, 1); + x_137 = x_120; +} else { + lean_dec_ref(x_120); + x_137 = lean_box(0); +} +if (lean_is_scalar(x_137)) { + x_138 = lean_alloc_ctor(1, 2, 0); +} else { + x_138 = x_137; +} +lean_ctor_set(x_138, 0, x_135); +lean_ctor_set(x_138, 1, x_136); +return x_138; +} +} +else +{ +lean_object* x_139; lean_object* x_140; uint8_t x_141; lean_object* x_142; uint8_t x_143; +x_139 = lean_ctor_get(x_116, 2); +lean_inc(x_139); +x_140 = lean_ctor_get(x_116, 3); +lean_inc(x_140); +x_141 = lean_ctor_get_uint8(x_116, sizeof(void*)*4); +lean_dec(x_116); +x_142 = lean_unsigned_to_nat(0u); +x_143 = lean_expr_has_loose_bvar(x_112, x_142); +if (x_143 == 0) +{ +lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; +lean_dec(x_140); +lean_dec(x_139); +lean_dec(x_1); +x_144 = lean_unsigned_to_nat(1u); +x_145 = lean_expr_lower_loose_bvars(x_112, x_144, x_144); +lean_dec(x_112); +x_146 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_146, 0, x_145); +lean_ctor_set(x_146, 1, x_113); +x_147 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_147, 0, x_146); +lean_ctor_set(x_147, 1, x_8); +return x_147; +} +else +{ +lean_object* x_148; +lean_inc(x_1); +x_148 = l_Lean_MetavarContext_MkBinding_elimMVarDeps(x_1, x_140, x_7, x_8); +if (lean_obj_tag(x_148) == 0) +{ +lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; +x_149 = lean_ctor_get(x_148, 0); +lean_inc(x_149); +x_150 = lean_ctor_get(x_148, 1); +lean_inc(x_150); +if (lean_is_exclusive(x_148)) { + lean_ctor_release(x_148, 0); + lean_ctor_release(x_148, 1); + x_151 = x_148; +} else { + lean_dec_ref(x_148); + x_151 = lean_box(0); +} +x_152 = lean_expr_abstract_range(x_149, x_5, x_1); +lean_dec(x_1); +lean_dec(x_149); +if (x_4 == 0) +{ +lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; +x_153 = l_Lean_mkForall(x_139, x_141, x_152, x_112); +lean_dec(x_139); +x_154 = lean_unsigned_to_nat(1u); +x_155 = lean_nat_add(x_113, x_154); +lean_dec(x_113); +x_156 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_156, 0, x_153); +lean_ctor_set(x_156, 1, x_155); +if (lean_is_scalar(x_151)) { + x_157 = lean_alloc_ctor(0, 2, 0); +} else { + x_157 = x_151; +} +lean_ctor_set(x_157, 0, x_156); +lean_ctor_set(x_157, 1, x_150); +return x_157; +} +else +{ +lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; +x_158 = l_Lean_mkLambda(x_139, x_141, x_152, x_112); +lean_dec(x_139); +x_159 = lean_unsigned_to_nat(1u); +x_160 = lean_nat_add(x_113, x_159); +lean_dec(x_113); +x_161 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_161, 0, x_158); +lean_ctor_set(x_161, 1, x_160); +if (lean_is_scalar(x_151)) { + x_162 = lean_alloc_ctor(0, 2, 0); +} else { + x_162 = x_151; +} +lean_ctor_set(x_162, 0, x_161); +lean_ctor_set(x_162, 1, x_150); +return x_162; +} +} +else +{ +lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; +lean_dec(x_139); +lean_dec(x_113); +lean_dec(x_112); +lean_dec(x_1); +x_163 = lean_ctor_get(x_148, 0); +lean_inc(x_163); +x_164 = lean_ctor_get(x_148, 1); +lean_inc(x_164); +if (lean_is_exclusive(x_148)) { + lean_ctor_release(x_148, 0); + lean_ctor_release(x_148, 1); + x_165 = x_148; +} else { + lean_dec_ref(x_148); + 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; uint8_t x_171; +x_167 = lean_ctor_get(x_116, 2); +lean_inc(x_167); +x_168 = lean_ctor_get(x_116, 3); +lean_inc(x_168); +x_169 = lean_ctor_get(x_116, 4); +lean_inc(x_169); +lean_dec(x_116); +x_170 = lean_unsigned_to_nat(0u); +x_171 = lean_expr_has_loose_bvar(x_112, x_170); +if (x_171 == 0) +{ +lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; +lean_dec(x_169); +lean_dec(x_168); +lean_dec(x_167); +lean_dec(x_1); +x_172 = lean_unsigned_to_nat(1u); +x_173 = lean_expr_lower_loose_bvars(x_112, x_172, x_172); +lean_dec(x_112); +x_174 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_174, 0, x_173); +lean_ctor_set(x_174, 1, x_113); +x_175 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_175, 0, x_174); +lean_ctor_set(x_175, 1, x_8); +return x_175; +} +else +{ +lean_object* x_176; +lean_inc(x_1); +x_176 = l_Lean_MetavarContext_MkBinding_elimMVarDeps(x_1, x_168, x_7, x_8); +if (lean_obj_tag(x_176) == 0) +{ +lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; +x_177 = lean_ctor_get(x_176, 0); +lean_inc(x_177); +x_178 = lean_ctor_get(x_176, 1); +lean_inc(x_178); +lean_dec(x_176); +x_179 = lean_expr_abstract_range(x_177, x_5, x_1); +lean_dec(x_177); +lean_inc(x_1); +x_180 = l_Lean_MetavarContext_MkBinding_elimMVarDeps(x_1, x_169, x_7, x_178); +if (lean_obj_tag(x_180) == 0) +{ +lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; uint8_t x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; +x_181 = lean_ctor_get(x_180, 0); +lean_inc(x_181); +x_182 = lean_ctor_get(x_180, 1); +lean_inc(x_182); +if (lean_is_exclusive(x_180)) { + lean_ctor_release(x_180, 0); + lean_ctor_release(x_180, 1); + x_183 = x_180; +} else { + lean_dec_ref(x_180); + x_183 = lean_box(0); +} +x_184 = lean_expr_abstract_range(x_181, x_5, x_1); +lean_dec(x_1); +lean_dec(x_181); +x_185 = 0; +x_186 = l_Lean_mkLet(x_167, x_179, x_184, x_112, x_185); +lean_dec(x_167); +x_187 = lean_unsigned_to_nat(1u); +x_188 = lean_nat_add(x_113, x_187); +lean_dec(x_113); +x_189 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_189, 0, x_186); +lean_ctor_set(x_189, 1, x_188); +if (lean_is_scalar(x_183)) { + x_190 = lean_alloc_ctor(0, 2, 0); +} else { + x_190 = x_183; +} +lean_ctor_set(x_190, 0, x_189); +lean_ctor_set(x_190, 1, x_182); +return x_190; +} +else +{ +lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; +lean_dec(x_179); +lean_dec(x_167); +lean_dec(x_113); +lean_dec(x_112); +lean_dec(x_1); +x_191 = lean_ctor_get(x_180, 0); +lean_inc(x_191); +x_192 = lean_ctor_get(x_180, 1); +lean_inc(x_192); +if (lean_is_exclusive(x_180)) { + lean_ctor_release(x_180, 0); + lean_ctor_release(x_180, 1); + x_193 = x_180; +} else { + lean_dec_ref(x_180); + x_193 = lean_box(0); +} +if (lean_is_scalar(x_193)) { + x_194 = lean_alloc_ctor(1, 2, 0); +} else { + x_194 = x_193; +} +lean_ctor_set(x_194, 0, x_191); +lean_ctor_set(x_194, 1, x_192); +return x_194; +} +} +else +{ +lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; +lean_dec(x_169); +lean_dec(x_167); +lean_dec(x_113); +lean_dec(x_112); +lean_dec(x_1); +x_195 = lean_ctor_get(x_176, 0); +lean_inc(x_195); +x_196 = lean_ctor_get(x_176, 1); +lean_inc(x_196); +if (lean_is_exclusive(x_176)) { + lean_ctor_release(x_176, 0); + lean_ctor_release(x_176, 1); + x_197 = x_176; +} else { + lean_dec_ref(x_176); + x_197 = lean_box(0); +} +if (lean_is_scalar(x_197)) { + x_198 = lean_alloc_ctor(1, 2, 0); +} else { + x_198 = x_197; +} +lean_ctor_set(x_198, 0, x_195); +lean_ctor_set(x_198, 1, x_196); +return x_198; +} +} +} +} +} +} +lean_object* _init_l_Lean_MetavarContext_MkBinding_mkBinding___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* l_Lean_MetavarContext_MkBinding_mkBinding(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, uint8_t x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; lean_object* x_9; +x_8 = lean_array_get_size(x_3); +lean_inc(x_3); +x_9 = l_Lean_MetavarContext_MkBinding_elimMVarDeps(x_3, x_4, x_6, x_7); +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; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_9, 1); +lean_inc(x_11); +lean_dec(x_9); +x_12 = lean_expr_abstract_range(x_10, x_8, x_3); +lean_dec(x_10); +x_13 = lean_box(x_5); +x_14 = lean_box(x_1); +x_15 = lean_alloc_closure((void*)(l_Lean_MetavarContext_MkBinding_mkBinding___lambda__1___boxed), 8, 4); +lean_closure_set(x_15, 0, x_3); +lean_closure_set(x_15, 1, x_2); +lean_closure_set(x_15, 2, x_13); +lean_closure_set(x_15, 3, x_14); +x_16 = lean_unsigned_to_nat(0u); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_12); +lean_ctor_set(x_17, 1, x_16); +x_18 = l_Lean_MetavarContext_MkBinding_mkBinding___closed__1; +x_19 = l_Nat_foldRevMAux___main___rarg(x_18, x_15, x_8, x_17); +lean_dec(x_8); +x_20 = lean_box(x_6); +x_21 = lean_apply_2(x_19, x_20, x_11); +return x_21; +} +else +{ +uint8_t x_22; +lean_dec(x_8); +lean_dec(x_3); +lean_dec(x_2); +x_22 = !lean_is_exclusive(x_9); +if (x_22 == 0) +{ return x_9; } +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_23 = lean_ctor_get(x_9, 0); +x_24 = lean_ctor_get(x_9, 1); +lean_inc(x_24); +lean_inc(x_23); +lean_dec(x_9); +x_25 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set(x_25, 1, x_24); +return x_25; } -lean_object* l_Lean_MetavarContext_elimMVarDeps(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +} +} +} +lean_object* l_Lean_MetavarContext_MkBinding_mkBinding___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_5; -x_5 = l_Lean_MetavarContext_MkBinding_elimMVarDeps(x_1, x_2, x_4); -return x_5; -} -} -lean_object* l_Lean_MetavarContext_elimMVarDeps___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_MetavarContext_elimMVarDeps(x_1, x_2, x_3, x_4); +uint8_t x_9; uint8_t x_10; uint8_t x_11; lean_object* x_12; +x_9 = lean_unbox(x_3); lean_dec(x_3); -return x_5; +x_10 = lean_unbox(x_4); +lean_dec(x_4); +x_11 = lean_unbox(x_7); +lean_dec(x_7); +x_12 = l_Lean_MetavarContext_MkBinding_mkBinding___lambda__1(x_1, x_2, x_9, x_10, x_5, x_6, x_11, x_8); +lean_dec(x_5); +return x_12; +} +} +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, lean_object* x_7) { +_start: +{ +uint8_t x_8; uint8_t x_9; uint8_t x_10; lean_object* x_11; +x_8 = lean_unbox(x_1); +lean_dec(x_1); +x_9 = lean_unbox(x_5); +lean_dec(x_5); +x_10 = lean_unbox(x_6); +lean_dec(x_6); +x_11 = l_Lean_MetavarContext_MkBinding_mkBinding(x_8, x_2, x_3, x_4, x_9, x_10, x_7); +return x_11; +} +} +lean_object* l_Lean_MetavarContext_elimMVarDeps(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Lean_MetavarContext_MkBinding_elimMVarDeps(x_1, x_2, x_3, x_5); +return x_6; +} +} +lean_object* l_Lean_MetavarContext_elimMVarDeps___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_3); +lean_dec(x_3); +x_7 = l_Lean_MetavarContext_elimMVarDeps(x_1, x_2, x_6, x_4, x_5); +lean_dec(x_4); +return x_7; } } lean_object* l_Lean_MetavarContext_mkBinding(uint8_t 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; -x_7 = l_Lean_MetavarContext_MkBinding_mkBinding(x_1, x_5, x_2, x_3, x_4, x_6); -return x_7; +uint8_t x_7; lean_object* x_8; +x_7 = 0; +x_8 = l_Lean_MetavarContext_MkBinding_mkBinding(x_1, x_5, x_2, x_3, x_4, x_7, x_6); +return x_8; } } 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) { @@ -33082,7 +41188,7 @@ _start: uint8_t x_5; uint8_t x_6; lean_object* x_7; x_5 = 1; x_6 = 0; -x_7 = l_Lean_MetavarContext_MkBinding_mkBinding(x_5, x_3, x_1, x_2, x_6, x_4); +x_7 = l_Lean_MetavarContext_MkBinding_mkBinding(x_5, x_3, x_1, x_2, x_6, x_6, x_4); if (lean_obj_tag(x_7) == 0) { uint8_t x_8; @@ -33143,7 +41249,7 @@ _start: { uint8_t x_5; lean_object* x_6; x_5 = 0; -x_6 = l_Lean_MetavarContext_MkBinding_mkBinding(x_5, x_3, x_1, x_2, x_5, x_4); +x_6 = l_Lean_MetavarContext_MkBinding_mkBinding(x_5, x_3, x_1, x_2, x_5, x_5, x_4); if (lean_obj_tag(x_6) == 0) { uint8_t x_7; @@ -33205,7 +41311,7 @@ _start: uint8_t x_5; uint8_t x_6; lean_object* x_7; x_5 = 0; x_6 = 1; -x_7 = l_Lean_MetavarContext_MkBinding_mkBinding(x_5, x_3, x_1, x_2, x_6, x_4); +x_7 = l_Lean_MetavarContext_MkBinding_mkBinding(x_5, x_3, x_1, x_2, x_6, x_5, x_4); return x_7; } } @@ -34816,8 +42922,14 @@ l_Lean_MetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___closed__3 = _ini 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___closed__5 = _init_l_Lean_MetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___closed__5(); +lean_mark_persistent(l_Lean_MetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter___closed__5); l_Lean_MetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter = _init_l_Lean_MetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter(); lean_mark_persistent(l_Lean_MetavarContext_MkBinding_Lean_MonadHashMapCacheAdapter); +l_Nat_forMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__87___closed__1 = _init_l_Nat_forMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__87___closed__1(); +lean_mark_persistent(l_Nat_forMAux___main___at___private_Init_Lean_MetavarContext_10__collectDeps___spec__87___closed__1); +l_Lean_MetavarContext_MkBinding_mkBinding___closed__1 = _init_l_Lean_MetavarContext_MkBinding_mkBinding___closed__1(); +lean_mark_persistent(l_Lean_MetavarContext_MkBinding_mkBinding___closed__1); return lean_mk_io_result(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Init/Lean/Parser/Tactic.c b/stage0/stdlib/Init/Lean/Parser/Tactic.c index 86edf8707a..181d3ba6ae 100644 --- a/stage0/stdlib/Init/Lean/Parser/Tactic.c +++ b/stage0/stdlib/Init/Lean/Parser/Tactic.c @@ -29,6 +29,7 @@ lean_object* l_Lean_Parser_Tactic_nestedTacticBlockCurly___elambda__1___closed__ lean_object* l_Lean_Parser_Term_tacticStxQuot___closed__4; lean_object* l_Lean_Parser_Term_tacticStxQuot___elambda__1___closed__4; extern lean_object* l_Lean_Parser_manyAux___main___closed__1; +lean_object* l_Lean_Parser_Tactic_subst___elambda__1___closed__7; lean_object* l_Lean_Parser_Tactic_revert___closed__2; lean_object* l_Lean_Parser_Term_tacticStxQuot___closed__5; lean_object* l_Lean_Parser_Tactic_case___closed__6; @@ -36,6 +37,7 @@ lean_object* l_Lean_Parser_andthenInfo(lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Term_have___elambda__1___closed__7; lean_object* l_Lean_Parser_Tactic_apply___closed__2; lean_object* l_Lean_Parser_regBuiltinTacticParserAttr___closed__1; +lean_object* l_Lean_Parser_Tactic_clear___elambda__1___closed__2; lean_object* l_Lean_Parser_Tactic_allGoals___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_nestedTacticBlock___elambda__1___closed__14; lean_object* l_Lean_Parser_Tactic_intros___elambda__1___closed__5; @@ -53,6 +55,7 @@ lean_object* l_Lean_Parser_Tactic_revert___elambda__1___closed__6; lean_object* l_Lean_Parser_Tactic_seq; lean_object* l_Lean_Parser_Tactic_skip___closed__3; lean_object* l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Tactic_seq___elambda__1___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_subst___elambda__1___closed__1; lean_object* l_Lean_Parser_Tactic_traceState___elambda__1___closed__5; lean_object* l_Lean_Parser_Tactic_intro___closed__4; lean_object* l_Lean_Parser_Tactic_nestedTacticBlock___elambda__1___closed__3; @@ -60,7 +63,9 @@ lean_object* l_Lean_Parser_regTacticParserAttribute___closed__2; lean_object* l_Lean_Parser_Term_tacticBlock___closed__3; lean_object* l_Lean_Parser_Tactic_intro___elambda__1___closed__7; lean_object* l___regBuiltinParser_Lean_Parser_Tactic_nestedTacticBlock(lean_object*); +extern lean_object* l_Lean_Parser_Term_subst___elambda__1___closed__1; extern lean_object* l_Lean_Parser_Term_explicitUniv___elambda__1___closed__7; +lean_object* l_Lean_Parser_Tactic_clear___closed__6; lean_object* l_Lean_Parser_Tactic_assumption___elambda__1___closed__6; lean_object* l_Lean_Parser_Tactic_nestedTacticBlock___elambda__1___closed__4; extern lean_object* l_Lean_Parser_Term_have___closed__3; @@ -68,6 +73,7 @@ lean_object* l_Lean_Parser_ParserState_pushSyntax(lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_nestedTacticBlockCurly; lean_object* l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_revert___elambda__1___spec__1(lean_object*, lean_object*); extern lean_object* l_Lean_Parser_ident; +lean_object* l_Lean_Parser_Tactic_subst___elambda__1___closed__2; lean_object* l_Lean_Parser_Tactic_underscore___closed__1; extern lean_object* l_Lean_Parser_Term_subtype___closed__1; lean_object* l_Lean_Parser_Tactic_skip___closed__2; @@ -78,6 +84,7 @@ lean_object* l_Lean_Parser_Term_tacticStxQuot___closed__3; lean_object* l_Lean_Parser_Tactic_allGoals___elambda__1___closed__6; lean_object* l_Lean_Parser_Tactic_exact___elambda__1___closed__6; lean_object* l_Lean_Parser_Tactic_nestedTacticBlock___closed__7; +lean_object* l_Lean_Parser_Tactic_clear___elambda__1___closed__7; lean_object* l_Lean_Parser_Term_tacticBlock___elambda__1___closed__1; lean_object* l_Lean_Parser_regTacticParserAttribute___closed__1; lean_object* l_Lean_Parser_Tactic_underscore; @@ -87,6 +94,7 @@ lean_object* l_Lean_Parser_Tactic_traceState___elambda__1___closed__1; lean_object* l_Lean_Parser_registerBuiltinDynamicParserAttribute(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_regBuiltinTacticParserAttr(lean_object*); lean_object* l_Lean_Parser_Tactic_nestedTacticBlock___elambda__1___closed__6; +lean_object* l_Lean_Parser_Tactic_clear___elambda__1___closed__5; lean_object* l_Lean_Parser_Tactic_paren___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_ParserState_mkTrailingNode(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_nestedTacticBlock___elambda__1___closed__9; @@ -102,11 +110,13 @@ lean_object* lean_string_append(lean_object*, lean_object*); lean_object* l_Lean_Parser_tokenFn(lean_object*, lean_object*); lean_object* l___regBuiltinParser_Lean_Parser_Tactic_nestedTacticBlockCurly(lean_object*); lean_object* l_Lean_Parser_Term_tacticBlock___elambda__1___closed__2; +lean_object* l_Lean_Parser_Tactic_subst___closed__4; lean_object* l_Array_back___at_Lean_Parser_checkStackTopFn___spec__1(lean_object*); lean_object* l_Lean_Parser_Tactic_intros___closed__5; lean_object* l_Lean_Parser_Tactic_assumption___elambda__1___closed__2; lean_object* l_Lean_Parser_sepBy1Fn___at_Lean_Parser_Tactic_seq___elambda__1___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_orelse___closed__3; +lean_object* l_Lean_Parser_Tactic_clear___closed__4; lean_object* l_Lean_Parser_Tactic_nonEmptySeq; lean_object* l_Lean_Parser_Tactic_revert___closed__1; lean_object* l_Lean_Parser_Tactic_skip___closed__1; @@ -124,21 +134,29 @@ lean_object* l_Lean_Parser_Tactic_apply___closed__5; lean_object* l_Lean_Parser_Tactic_case___elambda__1___closed__3; lean_object* l_Lean_Parser_Tactic_assumption___closed__4; lean_object* l_Lean_Parser_Tactic_intros___closed__6; +lean_object* l_Lean_Parser_Tactic_clear___closed__1; +lean_object* l_Lean_Parser_Tactic_clear___closed__2; +lean_object* l_Lean_Parser_Tactic_clear; +lean_object* l_Lean_Parser_Tactic_clear___elambda__1___closed__3; lean_object* l_Lean_Parser_tacticParser(lean_object*); lean_object* l_Lean_Parser_Tactic_case___closed__4; lean_object* l_Lean_Parser_regBuiltinTacticParserAttr___closed__2; lean_object* l_Lean_Parser_Tactic_nestedTacticBlock___elambda__1___closed__13; +lean_object* l_Lean_Parser_Tactic_subst___closed__1; lean_object* l_Lean_Parser_Tactic_refine___elambda__1___closed__6; lean_object* l_Lean_Parser_Tactic_nestedTacticBlock___elambda__1___closed__11; lean_object* l_Lean_Parser_Tactic_intro___elambda__1___closed__1; lean_object* l_Lean_Parser_Tactic_orelse___elambda__1___closed__4; +lean_object* l_Lean_Parser_Tactic_subst___elambda__1___closed__5; lean_object* l_Lean_Parser_Term_tacticStxQuot; lean_object* l_Lean_Parser_Term_tacticStxQuot___closed__6; lean_object* l_Lean_Parser_Tactic_assumption; lean_object* l_Lean_Parser_Tactic_intros___elambda__1(lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_subst___closed__2; lean_object* l_Lean_Parser_Tactic_traceState___closed__5; extern lean_object* l_Lean_Parser_Term_structInst___elambda__1___closed__5; extern lean_object* l___private_Init_Lean_Parser_Parser_12__antiquotNestedExpr___elambda__1___closed__1; +lean_object* l_Lean_Parser_Tactic_clear___closed__3; lean_object* l_Lean_Parser_Tactic_refine___elambda__1___closed__3; extern lean_object* l_Lean_Parser_identNoAntiquot___closed__1; lean_object* l_Lean_Parser_Tactic_allGoals___elambda__1___closed__3; @@ -160,6 +178,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Tactic_case(lean_object*); lean_object* l_Lean_Parser_Tactic_seq___closed__5; lean_object* l_Lean_Parser_Tactic_ident_x27___closed__2; lean_object* l_Lean_Parser_Tactic_allGoals___closed__3; +lean_object* l_Lean_Parser_Tactic_subst___closed__6; lean_object* l_Lean_Parser_Tactic_refine___elambda__1___closed__5; lean_object* l_Lean_Parser_Tactic_case___elambda__1___closed__5; lean_object* l_Lean_Parser_nodeInfo(lean_object*, lean_object*); @@ -167,9 +186,11 @@ lean_object* l_Lean_Parser_Tactic_allGoals___elambda__1___closed__5; lean_object* l_Lean_Parser_Tactic_seq___closed__3; lean_object* l_Lean_Parser_Tactic_assumption___closed__1; lean_object* l_Lean_Parser_Tactic_apply___closed__3; +lean_object* l_Lean_Parser_Tactic_clear___closed__5; lean_object* lean_nat_sub(lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_nestedTacticBlockCurly___elambda__1___closed__2; lean_object* l_Lean_Parser_Tactic_revert; +lean_object* l_Lean_Parser_Tactic_subst___elambda__1___closed__3; lean_object* l_Lean_Parser_noFirstTokenInfo(lean_object*); lean_object* l_Lean_Parser_Tactic_skip___elambda__1___closed__7; lean_object* l_Lean_Parser_nonReservedSymbolInfo(lean_object*, uint8_t); @@ -222,6 +243,7 @@ lean_object* l_Lean_Parser_Tactic_exact___elambda__1___closed__8; lean_object* l_Lean_Parser_Tactic_ident_x27; lean_object* l_Lean_Parser_Tactic_exact___elambda__1___closed__4; lean_object* l_Lean_Parser_Tactic_exact___closed__5; +lean_object* l_Lean_Parser_Tactic_clear___elambda__1___closed__4; lean_object* l_Lean_Parser_Tactic_skip___elambda__1___closed__2; extern lean_object* l_Lean_mkAppStx___closed__6; lean_object* l_Lean_Parser_Tactic_paren___closed__3; @@ -249,6 +271,7 @@ lean_object* l_Lean_Parser_ParserState_restore(lean_object*, lean_object*, lean_ lean_object* l_Lean_Parser_Tactic_paren___closed__1; lean_object* l_Lean_Parser_Term_tacticStxQuot___elambda__1___closed__7; lean_object* l_Lean_Parser_Tactic_paren___closed__2; +lean_object* l_Lean_Parser_Tactic_subst___closed__3; lean_object* l_Lean_Parser_ParserState_popSyntax(lean_object*); lean_object* l_Lean_Parser_Tactic_paren___elambda__1___closed__2; lean_object* l_Lean_Parser_Tactic_case___elambda__1___closed__1; @@ -259,6 +282,8 @@ lean_object* l_Lean_Parser_Tactic_case___closed__5; lean_object* l_Lean_Parser_Tactic_orelse___elambda__1___closed__2; lean_object* l_Lean_Parser_Tactic_orelse; lean_object* l_Lean_Parser_Tactic_allGoals___closed__6; +lean_object* l_Lean_Parser_Tactic_subst___closed__5; +lean_object* l_Lean_Parser_Tactic_subst; lean_object* l_Lean_Parser_Tactic_case___elambda__1___closed__2; lean_object* l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_intros___elambda__1___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_intros___closed__4; @@ -272,11 +297,13 @@ lean_object* l_Lean_Parser_Tactic_case___elambda__1___closed__4; lean_object* l_Lean_Parser_Tactic_refine___closed__1; lean_object* l_Lean_Parser_Tactic_paren___closed__4; lean_object* l_Lean_Parser_Tactic_nestedTacticBlock___closed__2; +lean_object* l_Lean_Parser_Tactic_clear___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_refine___closed__2; lean_object* l___regBuiltinParser_Lean_Parser_Tactic_exact(lean_object*); lean_object* l_Lean_Parser_Tactic_assumption___elambda__1___closed__1; lean_object* l_Lean_Parser_Tactic_revert___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_case___closed__3; +lean_object* l___regBuiltinParser_Lean_Parser_Tactic_clear(lean_object*); extern lean_object* l___private_Init_Lean_Parser_Parser_12__antiquotNestedExpr___elambda__1___closed__7; lean_object* l_Lean_Parser_Tactic_skip___elambda__1___closed__1; lean_object* l___regBuiltinParser_Lean_Parser_Tactic_allGoals(lean_object*); @@ -294,6 +321,8 @@ lean_object* l_Lean_Parser_Tactic_skip___elambda__1___closed__4; lean_object* l_Lean_Parser_symbolInfo(lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_revert___elambda__1___closed__5; lean_object* l_Lean_Parser_Tactic_apply___elambda__1___closed__6; +lean_object* l_Lean_Parser_Tactic_clear___elambda__1___closed__1; +lean_object* l_Lean_Parser_Tactic_clear___elambda__1___closed__8; lean_object* l_Lean_Parser_Tactic_orelse___elambda__1___closed__1; lean_object* l_Lean_Parser_Tactic_nestedTacticBlockCurly___closed__4; lean_object* l_Lean_Parser_Tactic_assumption___closed__3; @@ -315,6 +344,7 @@ lean_object* l_Lean_Parser_Tactic_traceState___elambda__1___closed__3; lean_object* l___private_Init_Lean_Parser_Parser_2__sepByFnAux___main___at_Lean_Parser_Tactic_seq___elambda__1___spec__2(uint8_t, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_intros; lean_object* l_Lean_Parser_Tactic_nestedTacticBlockCurly___elambda__1___closed__3; +lean_object* l_Lean_Parser_Tactic_subst___elambda__1___closed__6; lean_object* l_Lean_Parser_Tactic_nestedTacticBlockCurly___closed__5; lean_object* l_Lean_Parser_Tactic_case___closed__7; lean_object* l_Lean_Parser_Term_tacticStxQuot___elambda__1(lean_object*, lean_object*); @@ -358,6 +388,8 @@ lean_object* l_Lean_Parser_Tactic_orelse___closed__6; lean_object* l_Lean_Parser_Tactic_intro___closed__5; lean_object* l_Lean_Parser_Tactic_exact___elambda__1___closed__7; lean_object* l___regBuiltinParser_Lean_Parser_Tactic_skip(lean_object*); +lean_object* l_Lean_Parser_Tactic_clear___elambda__1___closed__6; +lean_object* l___regBuiltinParser_Lean_Parser_Tactic_subst(lean_object*); lean_object* l_Lean_Parser_Tactic_intros___elambda__1___closed__4; lean_object* l_Lean_Parser_Tactic_refine___elambda__1___closed__1; lean_object* l_Lean_Parser_Tactic_nestedTacticBlock___elambda__1___closed__7; @@ -376,6 +408,8 @@ lean_object* l___regBuiltinParser_Lean_Parser_Tactic_orelse(lean_object*); lean_object* l_Lean_Parser_Tactic_traceState___elambda__1___closed__2; lean_object* l_Lean_Parser_Tactic_allGoals___closed__1; lean_object* l_Lean_Parser_Tactic_traceState; +lean_object* l_Lean_Parser_Tactic_subst___elambda__1(lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_subst___elambda__1___closed__4; lean_object* l_Lean_Parser_Tactic_nestedTacticBlockCurly___elambda__1(lean_object*, lean_object*); lean_object* l___regBuiltinParser_Lean_Parser_Tactic_traceState(lean_object*); lean_object* l_Lean_Parser_Term_tacticBlock___closed__5; @@ -2250,6 +2284,666 @@ x_6 = l_Lean_Parser_addBuiltinParser(x_2, x_3, x_4, x_5, x_1); return x_6; } } +lean_object* _init_l_Lean_Parser_Tactic_clear___elambda__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("clear"); +return x_1; +} +} +lean_object* _init_l_Lean_Parser_Tactic_clear___elambda__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_seq___elambda__1___closed__2; +x_2 = l_Lean_Parser_Tactic_clear___elambda__1___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_Parser_Tactic_clear___elambda__1___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Tactic_clear___elambda__1___closed__2; +x_2 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* _init_l_Lean_Parser_Tactic_clear___elambda__1___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_clear___elambda__1___closed__1; +x_2 = l_Lean_Parser_Tactic_clear___elambda__1___closed__3; +x_3 = 1; +x_4 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3); +return x_4; +} +} +lean_object* _init_l_Lean_Parser_Tactic_clear___elambda__1___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("clear "); +return x_1; +} +} +lean_object* _init_l_Lean_Parser_Tactic_clear___elambda__1___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Tactic_clear___elambda__1___closed__5; +x_2 = l_String_trim(x_1); +return x_2; +} +} +lean_object* _init_l_Lean_Parser_Tactic_clear___elambda__1___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Char_HasRepr___closed__1; +x_2 = l_Lean_Parser_Tactic_clear___elambda__1___closed__6; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_Parser_Tactic_clear___elambda__1___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_clear___elambda__1___closed__7; +x_2 = l_Char_HasRepr___closed__1; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +lean_object* l_Lean_Parser_Tactic_clear___elambda__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; uint8_t x_5; +x_3 = l_Lean_Parser_Tactic_clear___elambda__1___closed__4; +x_4 = lean_ctor_get(x_3, 1); +lean_inc(x_4); +lean_inc(x_2); +lean_inc(x_1); +x_5 = l_Lean_Parser_tryAnti(x_1, x_2); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +lean_dec(x_4); +x_6 = lean_ctor_get(x_2, 0); +lean_inc(x_6); +x_7 = lean_array_get_size(x_6); +lean_dec(x_6); +x_8 = l_Lean_Parser_Tactic_clear___elambda__1___closed__6; +x_9 = l_Lean_Parser_Tactic_clear___elambda__1___closed__8; +lean_inc(x_1); +x_10 = l_Lean_Parser_nonReservedSymbolFnAux(x_8, x_9, x_1, x_2); +x_11 = lean_ctor_get(x_10, 3); +lean_inc(x_11); +if (lean_obj_tag(x_11) == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_12 = lean_ctor_get(x_10, 0); +lean_inc(x_12); +x_13 = lean_array_get_size(x_12); +lean_dec(x_12); +lean_inc(x_1); +x_14 = l_Lean_Parser_ident___elambda__1(x_1, x_10); +x_15 = lean_ctor_get(x_14, 3); +lean_inc(x_15); +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; +x_16 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_revert___elambda__1___spec__1(x_1, x_14); +x_17 = l_Lean_nullKind; +x_18 = l_Lean_Parser_ParserState_mkNode(x_16, x_17, x_13); +x_19 = l_Lean_Parser_Tactic_clear___elambda__1___closed__2; +x_20 = l_Lean_Parser_ParserState_mkNode(x_18, x_19, x_7); +return x_20; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +lean_dec(x_15); +lean_dec(x_1); +x_21 = l_Lean_nullKind; +x_22 = l_Lean_Parser_ParserState_mkNode(x_14, x_21, x_13); +x_23 = l_Lean_Parser_Tactic_clear___elambda__1___closed__2; +x_24 = l_Lean_Parser_ParserState_mkNode(x_22, x_23, x_7); +return x_24; +} +} +else +{ +lean_object* x_25; lean_object* x_26; +lean_dec(x_11); +lean_dec(x_1); +x_25 = l_Lean_Parser_Tactic_clear___elambda__1___closed__2; +x_26 = l_Lean_Parser_ParserState_mkNode(x_10, x_25, x_7); +return x_26; +} +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_27 = lean_ctor_get(x_2, 0); +lean_inc(x_27); +x_28 = lean_array_get_size(x_27); +lean_dec(x_27); +x_29 = lean_ctor_get(x_2, 1); +lean_inc(x_29); +lean_inc(x_1); +x_30 = lean_apply_2(x_4, x_1, x_2); +x_31 = lean_ctor_get(x_30, 3); +lean_inc(x_31); +if (lean_obj_tag(x_31) == 0) +{ +lean_dec(x_29); +lean_dec(x_28); +lean_dec(x_1); +return x_30; +} +else +{ +lean_object* x_32; lean_object* x_33; uint8_t x_34; +x_32 = lean_ctor_get(x_31, 0); +lean_inc(x_32); +lean_dec(x_31); +x_33 = lean_ctor_get(x_30, 1); +lean_inc(x_33); +x_34 = lean_nat_dec_eq(x_33, x_29); +lean_dec(x_33); +if (x_34 == 0) +{ +lean_dec(x_32); +lean_dec(x_29); +lean_dec(x_28); +lean_dec(x_1); +return x_30; +} +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_inc(x_29); +x_35 = l_Lean_Parser_ParserState_restore(x_30, x_28, x_29); +lean_dec(x_28); +x_36 = lean_ctor_get(x_35, 0); +lean_inc(x_36); +x_37 = lean_array_get_size(x_36); +lean_dec(x_36); +x_38 = l_Lean_Parser_Tactic_clear___elambda__1___closed__6; +x_39 = l_Lean_Parser_Tactic_clear___elambda__1___closed__8; +lean_inc(x_1); +x_40 = l_Lean_Parser_nonReservedSymbolFnAux(x_38, x_39, x_1, x_35); +x_41 = lean_ctor_get(x_40, 3); +lean_inc(x_41); +if (lean_obj_tag(x_41) == 0) +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_42 = lean_ctor_get(x_40, 0); +lean_inc(x_42); +x_43 = lean_array_get_size(x_42); +lean_dec(x_42); +lean_inc(x_1); +x_44 = l_Lean_Parser_ident___elambda__1(x_1, x_40); +x_45 = lean_ctor_get(x_44, 3); +lean_inc(x_45); +if (lean_obj_tag(x_45) == 0) +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_46 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_revert___elambda__1___spec__1(x_1, x_44); +x_47 = l_Lean_nullKind; +x_48 = l_Lean_Parser_ParserState_mkNode(x_46, x_47, x_43); +x_49 = l_Lean_Parser_Tactic_clear___elambda__1___closed__2; +x_50 = l_Lean_Parser_ParserState_mkNode(x_48, x_49, x_37); +x_51 = l_Lean_Parser_mergeOrElseErrors(x_50, x_32, x_29); +lean_dec(x_29); +return x_51; +} +else +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; +lean_dec(x_45); +lean_dec(x_1); +x_52 = l_Lean_nullKind; +x_53 = l_Lean_Parser_ParserState_mkNode(x_44, x_52, x_43); +x_54 = l_Lean_Parser_Tactic_clear___elambda__1___closed__2; +x_55 = l_Lean_Parser_ParserState_mkNode(x_53, x_54, x_37); +x_56 = l_Lean_Parser_mergeOrElseErrors(x_55, x_32, x_29); +lean_dec(x_29); +return x_56; +} +} +else +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; +lean_dec(x_41); +lean_dec(x_1); +x_57 = l_Lean_Parser_Tactic_clear___elambda__1___closed__2; +x_58 = l_Lean_Parser_ParserState_mkNode(x_40, x_57, x_37); +x_59 = l_Lean_Parser_mergeOrElseErrors(x_58, x_32, x_29); +lean_dec(x_29); +return x_59; +} +} +} +} +} +} +lean_object* _init_l_Lean_Parser_Tactic_clear___closed__1() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_clear___elambda__1___closed__6; +x_2 = 0; +x_3 = l_Lean_Parser_nonReservedSymbolInfo(x_1, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_Parser_Tactic_clear___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_ident; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = l_Lean_Parser_Tactic_clear___closed__1; +x_4 = l_Lean_Parser_andthenInfo(x_3, x_2); +return x_4; +} +} +lean_object* _init_l_Lean_Parser_Tactic_clear___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_clear___elambda__1___closed__2; +x_2 = l_Lean_Parser_Tactic_clear___closed__2; +x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_Parser_Tactic_clear___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_clear___elambda__1___closed__4; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = l_Lean_Parser_Tactic_clear___closed__3; +x_4 = l_Lean_Parser_orelseInfo(x_2, x_3); +return x_4; +} +} +lean_object* _init_l_Lean_Parser_Tactic_clear___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Tactic_clear___elambda__1), 2, 0); +return x_1; +} +} +lean_object* _init_l_Lean_Parser_Tactic_clear___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_clear___closed__4; +x_2 = l_Lean_Parser_Tactic_clear___closed__5; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_Parser_Tactic_clear() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Parser_Tactic_clear___closed__6; +return x_1; +} +} +lean_object* l___regBuiltinParser_Lean_Parser_Tactic_clear(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; +x_2 = l_Lean_Parser_regBuiltinTacticParserAttr___closed__4; +x_3 = l_Lean_Parser_Tactic_clear___elambda__1___closed__2; +x_4 = 1; +x_5 = l_Lean_Parser_Tactic_clear; +x_6 = l_Lean_Parser_addBuiltinParser(x_2, x_3, x_4, x_5, x_1); +return x_6; +} +} +lean_object* _init_l_Lean_Parser_Tactic_subst___elambda__1___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_seq___elambda__1___closed__2; +x_2 = l_Lean_Parser_Term_subst___elambda__1___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_Parser_Tactic_subst___elambda__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Tactic_subst___elambda__1___closed__1; +x_2 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* _init_l_Lean_Parser_Tactic_subst___elambda__1___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Term_subst___elambda__1___closed__1; +x_2 = l_Lean_Parser_Tactic_subst___elambda__1___closed__2; +x_3 = 1; +x_4 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3); +return x_4; +} +} +lean_object* _init_l_Lean_Parser_Tactic_subst___elambda__1___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("subst "); +return x_1; +} +} +lean_object* _init_l_Lean_Parser_Tactic_subst___elambda__1___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Tactic_subst___elambda__1___closed__4; +x_2 = l_String_trim(x_1); +return x_2; +} +} +lean_object* _init_l_Lean_Parser_Tactic_subst___elambda__1___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Char_HasRepr___closed__1; +x_2 = l_Lean_Parser_Tactic_subst___elambda__1___closed__5; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_Parser_Tactic_subst___elambda__1___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_subst___elambda__1___closed__6; +x_2 = l_Char_HasRepr___closed__1; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +lean_object* l_Lean_Parser_Tactic_subst___elambda__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; uint8_t x_5; +x_3 = l_Lean_Parser_Tactic_subst___elambda__1___closed__3; +x_4 = lean_ctor_get(x_3, 1); +lean_inc(x_4); +lean_inc(x_2); +lean_inc(x_1); +x_5 = l_Lean_Parser_tryAnti(x_1, x_2); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +lean_dec(x_4); +x_6 = lean_ctor_get(x_2, 0); +lean_inc(x_6); +x_7 = lean_array_get_size(x_6); +lean_dec(x_6); +x_8 = l_Lean_Parser_Tactic_subst___elambda__1___closed__5; +x_9 = l_Lean_Parser_Tactic_subst___elambda__1___closed__7; +lean_inc(x_1); +x_10 = l_Lean_Parser_nonReservedSymbolFnAux(x_8, x_9, x_1, x_2); +x_11 = lean_ctor_get(x_10, 3); +lean_inc(x_11); +if (lean_obj_tag(x_11) == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_12 = lean_ctor_get(x_10, 0); +lean_inc(x_12); +x_13 = lean_array_get_size(x_12); +lean_dec(x_12); +lean_inc(x_1); +x_14 = l_Lean_Parser_ident___elambda__1(x_1, x_10); +x_15 = lean_ctor_get(x_14, 3); +lean_inc(x_15); +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; +x_16 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_revert___elambda__1___spec__1(x_1, x_14); +x_17 = l_Lean_nullKind; +x_18 = l_Lean_Parser_ParserState_mkNode(x_16, x_17, x_13); +x_19 = l_Lean_Parser_Tactic_subst___elambda__1___closed__1; +x_20 = l_Lean_Parser_ParserState_mkNode(x_18, x_19, x_7); +return x_20; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +lean_dec(x_15); +lean_dec(x_1); +x_21 = l_Lean_nullKind; +x_22 = l_Lean_Parser_ParserState_mkNode(x_14, x_21, x_13); +x_23 = l_Lean_Parser_Tactic_subst___elambda__1___closed__1; +x_24 = l_Lean_Parser_ParserState_mkNode(x_22, x_23, x_7); +return x_24; +} +} +else +{ +lean_object* x_25; lean_object* x_26; +lean_dec(x_11); +lean_dec(x_1); +x_25 = l_Lean_Parser_Tactic_subst___elambda__1___closed__1; +x_26 = l_Lean_Parser_ParserState_mkNode(x_10, x_25, x_7); +return x_26; +} +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_27 = lean_ctor_get(x_2, 0); +lean_inc(x_27); +x_28 = lean_array_get_size(x_27); +lean_dec(x_27); +x_29 = lean_ctor_get(x_2, 1); +lean_inc(x_29); +lean_inc(x_1); +x_30 = lean_apply_2(x_4, x_1, x_2); +x_31 = lean_ctor_get(x_30, 3); +lean_inc(x_31); +if (lean_obj_tag(x_31) == 0) +{ +lean_dec(x_29); +lean_dec(x_28); +lean_dec(x_1); +return x_30; +} +else +{ +lean_object* x_32; lean_object* x_33; uint8_t x_34; +x_32 = lean_ctor_get(x_31, 0); +lean_inc(x_32); +lean_dec(x_31); +x_33 = lean_ctor_get(x_30, 1); +lean_inc(x_33); +x_34 = lean_nat_dec_eq(x_33, x_29); +lean_dec(x_33); +if (x_34 == 0) +{ +lean_dec(x_32); +lean_dec(x_29); +lean_dec(x_28); +lean_dec(x_1); +return x_30; +} +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_inc(x_29); +x_35 = l_Lean_Parser_ParserState_restore(x_30, x_28, x_29); +lean_dec(x_28); +x_36 = lean_ctor_get(x_35, 0); +lean_inc(x_36); +x_37 = lean_array_get_size(x_36); +lean_dec(x_36); +x_38 = l_Lean_Parser_Tactic_subst___elambda__1___closed__5; +x_39 = l_Lean_Parser_Tactic_subst___elambda__1___closed__7; +lean_inc(x_1); +x_40 = l_Lean_Parser_nonReservedSymbolFnAux(x_38, x_39, x_1, x_35); +x_41 = lean_ctor_get(x_40, 3); +lean_inc(x_41); +if (lean_obj_tag(x_41) == 0) +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_42 = lean_ctor_get(x_40, 0); +lean_inc(x_42); +x_43 = lean_array_get_size(x_42); +lean_dec(x_42); +lean_inc(x_1); +x_44 = l_Lean_Parser_ident___elambda__1(x_1, x_40); +x_45 = lean_ctor_get(x_44, 3); +lean_inc(x_45); +if (lean_obj_tag(x_45) == 0) +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_46 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_revert___elambda__1___spec__1(x_1, x_44); +x_47 = l_Lean_nullKind; +x_48 = l_Lean_Parser_ParserState_mkNode(x_46, x_47, x_43); +x_49 = l_Lean_Parser_Tactic_subst___elambda__1___closed__1; +x_50 = l_Lean_Parser_ParserState_mkNode(x_48, x_49, x_37); +x_51 = l_Lean_Parser_mergeOrElseErrors(x_50, x_32, x_29); +lean_dec(x_29); +return x_51; +} +else +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; +lean_dec(x_45); +lean_dec(x_1); +x_52 = l_Lean_nullKind; +x_53 = l_Lean_Parser_ParserState_mkNode(x_44, x_52, x_43); +x_54 = l_Lean_Parser_Tactic_subst___elambda__1___closed__1; +x_55 = l_Lean_Parser_ParserState_mkNode(x_53, x_54, x_37); +x_56 = l_Lean_Parser_mergeOrElseErrors(x_55, x_32, x_29); +lean_dec(x_29); +return x_56; +} +} +else +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; +lean_dec(x_41); +lean_dec(x_1); +x_57 = l_Lean_Parser_Tactic_subst___elambda__1___closed__1; +x_58 = l_Lean_Parser_ParserState_mkNode(x_40, x_57, x_37); +x_59 = l_Lean_Parser_mergeOrElseErrors(x_58, x_32, x_29); +lean_dec(x_29); +return x_59; +} +} +} +} +} +} +lean_object* _init_l_Lean_Parser_Tactic_subst___closed__1() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_subst___elambda__1___closed__5; +x_2 = 0; +x_3 = l_Lean_Parser_nonReservedSymbolInfo(x_1, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_Parser_Tactic_subst___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_ident; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = l_Lean_Parser_Tactic_subst___closed__1; +x_4 = l_Lean_Parser_andthenInfo(x_3, x_2); +return x_4; +} +} +lean_object* _init_l_Lean_Parser_Tactic_subst___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_subst___elambda__1___closed__1; +x_2 = l_Lean_Parser_Tactic_subst___closed__2; +x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_Parser_Tactic_subst___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_subst___elambda__1___closed__3; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = l_Lean_Parser_Tactic_subst___closed__3; +x_4 = l_Lean_Parser_orelseInfo(x_2, x_3); +return x_4; +} +} +lean_object* _init_l_Lean_Parser_Tactic_subst___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Tactic_subst___elambda__1), 2, 0); +return x_1; +} +} +lean_object* _init_l_Lean_Parser_Tactic_subst___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_subst___closed__4; +x_2 = l_Lean_Parser_Tactic_subst___closed__5; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_Parser_Tactic_subst() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Parser_Tactic_subst___closed__6; +return x_1; +} +} +lean_object* l___regBuiltinParser_Lean_Parser_Tactic_subst(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; +x_2 = l_Lean_Parser_regBuiltinTacticParserAttr___closed__4; +x_3 = l_Lean_Parser_Tactic_subst___elambda__1___closed__1; +x_4 = 1; +x_5 = l_Lean_Parser_Tactic_subst; +x_6 = l_Lean_Parser_addBuiltinParser(x_2, x_3, x_4, x_5, x_1); +return x_6; +} +} lean_object* _init_l_Lean_Parser_Tactic_assumption___elambda__1___closed__1() { _start: { @@ -7280,6 +7974,70 @@ lean_mark_persistent(l_Lean_Parser_Tactic_revert); res = l___regBuiltinParser_Lean_Parser_Tactic_revert(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +l_Lean_Parser_Tactic_clear___elambda__1___closed__1 = _init_l_Lean_Parser_Tactic_clear___elambda__1___closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_clear___elambda__1___closed__1); +l_Lean_Parser_Tactic_clear___elambda__1___closed__2 = _init_l_Lean_Parser_Tactic_clear___elambda__1___closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_clear___elambda__1___closed__2); +l_Lean_Parser_Tactic_clear___elambda__1___closed__3 = _init_l_Lean_Parser_Tactic_clear___elambda__1___closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_clear___elambda__1___closed__3); +l_Lean_Parser_Tactic_clear___elambda__1___closed__4 = _init_l_Lean_Parser_Tactic_clear___elambda__1___closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_clear___elambda__1___closed__4); +l_Lean_Parser_Tactic_clear___elambda__1___closed__5 = _init_l_Lean_Parser_Tactic_clear___elambda__1___closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_clear___elambda__1___closed__5); +l_Lean_Parser_Tactic_clear___elambda__1___closed__6 = _init_l_Lean_Parser_Tactic_clear___elambda__1___closed__6(); +lean_mark_persistent(l_Lean_Parser_Tactic_clear___elambda__1___closed__6); +l_Lean_Parser_Tactic_clear___elambda__1___closed__7 = _init_l_Lean_Parser_Tactic_clear___elambda__1___closed__7(); +lean_mark_persistent(l_Lean_Parser_Tactic_clear___elambda__1___closed__7); +l_Lean_Parser_Tactic_clear___elambda__1___closed__8 = _init_l_Lean_Parser_Tactic_clear___elambda__1___closed__8(); +lean_mark_persistent(l_Lean_Parser_Tactic_clear___elambda__1___closed__8); +l_Lean_Parser_Tactic_clear___closed__1 = _init_l_Lean_Parser_Tactic_clear___closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_clear___closed__1); +l_Lean_Parser_Tactic_clear___closed__2 = _init_l_Lean_Parser_Tactic_clear___closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_clear___closed__2); +l_Lean_Parser_Tactic_clear___closed__3 = _init_l_Lean_Parser_Tactic_clear___closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_clear___closed__3); +l_Lean_Parser_Tactic_clear___closed__4 = _init_l_Lean_Parser_Tactic_clear___closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_clear___closed__4); +l_Lean_Parser_Tactic_clear___closed__5 = _init_l_Lean_Parser_Tactic_clear___closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_clear___closed__5); +l_Lean_Parser_Tactic_clear___closed__6 = _init_l_Lean_Parser_Tactic_clear___closed__6(); +lean_mark_persistent(l_Lean_Parser_Tactic_clear___closed__6); +l_Lean_Parser_Tactic_clear = _init_l_Lean_Parser_Tactic_clear(); +lean_mark_persistent(l_Lean_Parser_Tactic_clear); +res = l___regBuiltinParser_Lean_Parser_Tactic_clear(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_Parser_Tactic_subst___elambda__1___closed__1 = _init_l_Lean_Parser_Tactic_subst___elambda__1___closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_subst___elambda__1___closed__1); +l_Lean_Parser_Tactic_subst___elambda__1___closed__2 = _init_l_Lean_Parser_Tactic_subst___elambda__1___closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_subst___elambda__1___closed__2); +l_Lean_Parser_Tactic_subst___elambda__1___closed__3 = _init_l_Lean_Parser_Tactic_subst___elambda__1___closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_subst___elambda__1___closed__3); +l_Lean_Parser_Tactic_subst___elambda__1___closed__4 = _init_l_Lean_Parser_Tactic_subst___elambda__1___closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_subst___elambda__1___closed__4); +l_Lean_Parser_Tactic_subst___elambda__1___closed__5 = _init_l_Lean_Parser_Tactic_subst___elambda__1___closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_subst___elambda__1___closed__5); +l_Lean_Parser_Tactic_subst___elambda__1___closed__6 = _init_l_Lean_Parser_Tactic_subst___elambda__1___closed__6(); +lean_mark_persistent(l_Lean_Parser_Tactic_subst___elambda__1___closed__6); +l_Lean_Parser_Tactic_subst___elambda__1___closed__7 = _init_l_Lean_Parser_Tactic_subst___elambda__1___closed__7(); +lean_mark_persistent(l_Lean_Parser_Tactic_subst___elambda__1___closed__7); +l_Lean_Parser_Tactic_subst___closed__1 = _init_l_Lean_Parser_Tactic_subst___closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_subst___closed__1); +l_Lean_Parser_Tactic_subst___closed__2 = _init_l_Lean_Parser_Tactic_subst___closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_subst___closed__2); +l_Lean_Parser_Tactic_subst___closed__3 = _init_l_Lean_Parser_Tactic_subst___closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_subst___closed__3); +l_Lean_Parser_Tactic_subst___closed__4 = _init_l_Lean_Parser_Tactic_subst___closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_subst___closed__4); +l_Lean_Parser_Tactic_subst___closed__5 = _init_l_Lean_Parser_Tactic_subst___closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_subst___closed__5); +l_Lean_Parser_Tactic_subst___closed__6 = _init_l_Lean_Parser_Tactic_subst___closed__6(); +lean_mark_persistent(l_Lean_Parser_Tactic_subst___closed__6); +l_Lean_Parser_Tactic_subst = _init_l_Lean_Parser_Tactic_subst(); +lean_mark_persistent(l_Lean_Parser_Tactic_subst); +res = l___regBuiltinParser_Lean_Parser_Tactic_subst(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); l_Lean_Parser_Tactic_assumption___elambda__1___closed__1 = _init_l_Lean_Parser_Tactic_assumption___elambda__1___closed__1(); lean_mark_persistent(l_Lean_Parser_Tactic_assumption___elambda__1___closed__1); l_Lean_Parser_Tactic_assumption___elambda__1___closed__2 = _init_l_Lean_Parser_Tactic_assumption___elambda__1___closed__2(); diff --git a/stage0/stdlib/Init/Lean/Util/PPGoal.c b/stage0/stdlib/Init/Lean/Util/PPGoal.c index 7149d06dd7..45a9502ca3 100644 --- a/stage0/stdlib/Init/Lean/Util/PPGoal.c +++ b/stage0/stdlib/Init/Lean/Util/PPGoal.c @@ -13,6 +13,7 @@ #ifdef __cplusplus extern "C" { #endif +lean_object* l_List_reverse___rarg(lean_object*); extern lean_object* l_Lean_Name_toString___closed__1; lean_object* l_Array_iterateMAux___main___at_Lean_ppGoal___spec__6___closed__3; lean_object* l_Lean_MetavarContext_instantiateMVars(lean_object*, lean_object*); @@ -22,7 +23,7 @@ lean_object* lean_array_get_size(lean_object*); lean_object* l_PersistentArray_foldlM___at_Lean_ppGoal___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ppGoal___closed__6; lean_object* lean_nat_add(lean_object*, lean_object*); -lean_object* l_Lean_ppGoal(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_ppGoal(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); lean_object* l_Lean_ppGoal___closed__4; lean_object* l_Array_iterateMAux___main___at_Lean_ppGoal___spec__6___closed__5; @@ -344,37 +345,38 @@ goto _start; } else { -lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; -x_47 = l_Lean_Format_flatten___main___closed__1; -x_48 = l_Lean_Format_joinSep___main___at_Lean_ppGoal___spec__1(x_18, x_47); -x_49 = l_Array_iterateMAux___main___at_Lean_ppGoal___spec__6___closed__2; -x_50 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_50, 0, x_48); -lean_ctor_set(x_50, 1, x_49); -lean_ctor_set_uint8(x_50, sizeof(void*)*2, x_43); -lean_inc(x_4); +lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_47 = l_List_reverse___rarg(x_18); +x_48 = l_Lean_Format_flatten___main___closed__1; +x_49 = l_Lean_Format_joinSep___main___at_Lean_ppGoal___spec__1(x_47, x_48); +x_50 = l_Array_iterateMAux___main___at_Lean_ppGoal___spec__6___closed__2; +x_51 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_51, 0, x_49); +lean_ctor_set(x_51, 1, x_50); +lean_ctor_set_uint8(x_51, sizeof(void*)*2, x_43); lean_inc(x_3); +lean_inc(x_4); lean_inc(x_2); lean_inc(x_1); -x_51 = l_Lean_ppExpr(x_1, x_2, x_3, x_4, x_38); -x_52 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_52, 0, x_44); -lean_ctor_set(x_52, 1, x_51); -lean_ctor_set_uint8(x_52, sizeof(void*)*2, x_43); -x_53 = lean_unsigned_to_nat(2u); -x_54 = lean_alloc_ctor(3, 2, 0); -lean_ctor_set(x_54, 0, x_53); -lean_ctor_set(x_54, 1, x_52); -x_55 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_55, 0, x_50); -lean_ctor_set(x_55, 1, x_54); -lean_ctor_set_uint8(x_55, sizeof(void*)*2, x_43); -x_56 = lean_format_group(x_55); -x_57 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_57, 0, x_45); -lean_ctor_set(x_57, 1, x_56); -lean_ctor_set_uint8(x_57, sizeof(void*)*2, x_43); -lean_ctor_set(x_24, 1, x_57); +x_52 = l_Lean_ppExpr(x_1, x_2, x_4, x_3, x_38); +x_53 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_53, 0, x_44); +lean_ctor_set(x_53, 1, x_52); +lean_ctor_set_uint8(x_53, sizeof(void*)*2, x_43); +x_54 = lean_unsigned_to_nat(2u); +x_55 = lean_alloc_ctor(3, 2, 0); +lean_ctor_set(x_55, 0, x_54); +lean_ctor_set(x_55, 1, x_53); +x_56 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_56, 0, x_51); +lean_ctor_set(x_56, 1, x_55); +lean_ctor_set_uint8(x_56, sizeof(void*)*2, x_43); +x_57 = lean_format_group(x_56); +x_58 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_58, 0, x_45); +lean_ctor_set(x_58, 1, x_57); +lean_ctor_set_uint8(x_58, sizeof(void*)*2, x_43); +lean_ctor_set(x_24, 1, x_58); lean_ctor_set(x_24, 0, x_20); lean_ctor_set(x_15, 1, x_24); lean_ctor_set(x_15, 0, x_42); @@ -398,39 +400,40 @@ goto _start; } else { -lean_object* x_60; lean_object* x_61; uint8_t x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; -x_60 = l_Lean_Format_flatten___main___closed__1; -x_61 = l_Lean_Format_joinSep___main___at_Lean_ppGoal___spec__1(x_18, x_60); -x_62 = 0; -x_63 = l_Array_iterateMAux___main___at_Lean_ppGoal___spec__6___closed__2; -x_64 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_64, 0, x_61); -lean_ctor_set(x_64, 1, x_63); -lean_ctor_set_uint8(x_64, sizeof(void*)*2, x_62); -lean_inc(x_4); +lean_object* x_61; lean_object* x_62; lean_object* x_63; uint8_t x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; +x_61 = l_List_reverse___rarg(x_18); +x_62 = l_Lean_Format_flatten___main___closed__1; +x_63 = l_Lean_Format_joinSep___main___at_Lean_ppGoal___spec__1(x_61, x_62); +x_64 = 0; +x_65 = l_Array_iterateMAux___main___at_Lean_ppGoal___spec__6___closed__2; +x_66 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_66, 0, x_63); +lean_ctor_set(x_66, 1, x_65); +lean_ctor_set_uint8(x_66, sizeof(void*)*2, x_64); lean_inc(x_3); +lean_inc(x_4); lean_inc(x_2); lean_inc(x_1); -x_65 = l_Lean_ppExpr(x_1, x_2, x_3, x_4, x_38); -x_66 = lean_box(1); -x_67 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_67, 0, x_66); -lean_ctor_set(x_67, 1, x_65); -lean_ctor_set_uint8(x_67, sizeof(void*)*2, x_62); -x_68 = lean_unsigned_to_nat(2u); -x_69 = lean_alloc_ctor(3, 2, 0); +x_67 = l_Lean_ppExpr(x_1, x_2, x_4, x_3, x_38); +x_68 = lean_box(1); +x_69 = lean_alloc_ctor(4, 2, 1); lean_ctor_set(x_69, 0, x_68); lean_ctor_set(x_69, 1, x_67); -x_70 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_70, 0, x_64); -lean_ctor_set(x_70, 1, x_69); -lean_ctor_set_uint8(x_70, sizeof(void*)*2, x_62); -x_71 = lean_format_group(x_70); +lean_ctor_set_uint8(x_69, sizeof(void*)*2, x_64); +x_70 = lean_unsigned_to_nat(2u); +x_71 = lean_alloc_ctor(3, 2, 0); +lean_ctor_set(x_71, 0, x_70); +lean_ctor_set(x_71, 1, x_69); x_72 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_72, 0, x_21); +lean_ctor_set(x_72, 0, x_66); lean_ctor_set(x_72, 1, x_71); -lean_ctor_set_uint8(x_72, sizeof(void*)*2, x_62); -lean_ctor_set(x_24, 1, x_72); +lean_ctor_set_uint8(x_72, sizeof(void*)*2, x_64); +x_73 = lean_format_group(x_72); +x_74 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_74, 0, x_21); +lean_ctor_set(x_74, 1, x_73); +lean_ctor_set_uint8(x_74, sizeof(void*)*2, x_64); +lean_ctor_set(x_24, 1, x_74); lean_ctor_set(x_24, 0, x_20); lean_ctor_set(x_15, 1, x_24); lean_ctor_set(x_15, 0, x_42); @@ -442,16 +445,16 @@ goto _start; } else { -lean_object* x_74; +lean_object* x_76; lean_dec(x_38); -x_74 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_74, 0, x_22); -lean_ctor_set(x_74, 1, x_18); +x_76 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_76, 0, x_22); +lean_ctor_set(x_76, 1, x_18); lean_ctor_set(x_20, 0, x_35); lean_ctor_set(x_24, 1, x_21); lean_ctor_set(x_24, 0, x_20); lean_ctor_set(x_15, 1, x_24); -lean_ctor_set(x_15, 0, x_74); +lean_ctor_set(x_15, 0, x_76); x_7 = x_13; x_8 = x_15; goto _start; @@ -459,77 +462,78 @@ goto _start; } else { -lean_object* x_76; uint8_t x_77; -x_76 = lean_ctor_get(x_20, 0); -lean_inc(x_76); +lean_object* x_78; uint8_t x_79; +x_78 = lean_ctor_get(x_20, 0); +lean_inc(x_78); lean_dec(x_20); -x_77 = lean_expr_eqv(x_76, x_35); -if (x_77 == 0) +x_79 = lean_expr_eqv(x_78, x_35); +if (x_79 == 0) { -uint8_t x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; -x_78 = l_Lean_Format_isNil(x_21); -x_79 = lean_box(0); -x_80 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_80, 0, x_22); -lean_ctor_set(x_80, 1, x_79); -x_81 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_81, 0, x_35); -if (x_78 == 0) +uint8_t x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; +x_80 = l_Lean_Format_isNil(x_21); +x_81 = lean_box(0); +x_82 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_82, 0, x_22); +lean_ctor_set(x_82, 1, x_81); +x_83 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_83, 0, x_35); +if (x_80 == 0) { -uint8_t x_82; lean_object* x_83; lean_object* x_84; -x_82 = 0; -x_83 = lean_box(1); -x_84 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_84, 0, x_21); -lean_ctor_set(x_84, 1, x_83); -lean_ctor_set_uint8(x_84, sizeof(void*)*2, x_82); +uint8_t x_84; lean_object* x_85; lean_object* x_86; +x_84 = 0; +x_85 = lean_box(1); +x_86 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_86, 0, x_21); +lean_ctor_set(x_86, 1, x_85); +lean_ctor_set_uint8(x_86, sizeof(void*)*2, x_84); if (lean_obj_tag(x_18) == 0) { -lean_dec(x_76); -lean_ctor_set(x_24, 1, x_84); -lean_ctor_set(x_24, 0, x_81); +lean_dec(x_78); +lean_ctor_set(x_24, 1, x_86); +lean_ctor_set(x_24, 0, x_83); lean_ctor_set(x_15, 1, x_24); -lean_ctor_set(x_15, 0, x_80); +lean_ctor_set(x_15, 0, x_82); x_7 = x_13; x_8 = x_15; goto _start; } else { -lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; -x_86 = l_Lean_Format_flatten___main___closed__1; -x_87 = l_Lean_Format_joinSep___main___at_Lean_ppGoal___spec__1(x_18, x_86); -x_88 = l_Array_iterateMAux___main___at_Lean_ppGoal___spec__6___closed__2; -x_89 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_89, 0, x_87); -lean_ctor_set(x_89, 1, x_88); -lean_ctor_set_uint8(x_89, sizeof(void*)*2, x_82); -lean_inc(x_4); +lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; +x_88 = l_List_reverse___rarg(x_18); +x_89 = l_Lean_Format_flatten___main___closed__1; +x_90 = l_Lean_Format_joinSep___main___at_Lean_ppGoal___spec__1(x_88, x_89); +x_91 = l_Array_iterateMAux___main___at_Lean_ppGoal___spec__6___closed__2; +x_92 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_92, 0, x_90); +lean_ctor_set(x_92, 1, x_91); +lean_ctor_set_uint8(x_92, sizeof(void*)*2, x_84); lean_inc(x_3); +lean_inc(x_4); lean_inc(x_2); lean_inc(x_1); -x_90 = l_Lean_ppExpr(x_1, x_2, x_3, x_4, x_76); -x_91 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_91, 0, x_83); -lean_ctor_set(x_91, 1, x_90); -lean_ctor_set_uint8(x_91, sizeof(void*)*2, x_82); -x_92 = lean_unsigned_to_nat(2u); -x_93 = lean_alloc_ctor(3, 2, 0); -lean_ctor_set(x_93, 0, x_92); -lean_ctor_set(x_93, 1, x_91); +x_93 = l_Lean_ppExpr(x_1, x_2, x_4, x_3, x_78); x_94 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_94, 0, x_89); +lean_ctor_set(x_94, 0, x_85); lean_ctor_set(x_94, 1, x_93); -lean_ctor_set_uint8(x_94, sizeof(void*)*2, x_82); -x_95 = lean_format_group(x_94); -x_96 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_96, 0, x_84); -lean_ctor_set(x_96, 1, x_95); -lean_ctor_set_uint8(x_96, sizeof(void*)*2, x_82); -lean_ctor_set(x_24, 1, x_96); -lean_ctor_set(x_24, 0, x_81); +lean_ctor_set_uint8(x_94, sizeof(void*)*2, x_84); +x_95 = lean_unsigned_to_nat(2u); +x_96 = lean_alloc_ctor(3, 2, 0); +lean_ctor_set(x_96, 0, x_95); +lean_ctor_set(x_96, 1, x_94); +x_97 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_97, 0, x_92); +lean_ctor_set(x_97, 1, x_96); +lean_ctor_set_uint8(x_97, sizeof(void*)*2, x_84); +x_98 = lean_format_group(x_97); +x_99 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_99, 0, x_86); +lean_ctor_set(x_99, 1, x_98); +lean_ctor_set_uint8(x_99, sizeof(void*)*2, x_84); +lean_ctor_set(x_24, 1, x_99); +lean_ctor_set(x_24, 0, x_83); lean_ctor_set(x_15, 1, x_24); -lean_ctor_set(x_15, 0, x_80); +lean_ctor_set(x_15, 0, x_82); x_7 = x_13; x_8 = x_15; goto _start; @@ -539,53 +543,54 @@ else { if (lean_obj_tag(x_18) == 0) { -lean_dec(x_76); +lean_dec(x_78); lean_ctor_set(x_24, 1, x_21); -lean_ctor_set(x_24, 0, x_81); +lean_ctor_set(x_24, 0, x_83); lean_ctor_set(x_15, 1, x_24); -lean_ctor_set(x_15, 0, x_80); +lean_ctor_set(x_15, 0, x_82); x_7 = x_13; x_8 = x_15; goto _start; } else { -lean_object* x_99; lean_object* x_100; uint8_t x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; -x_99 = l_Lean_Format_flatten___main___closed__1; -x_100 = l_Lean_Format_joinSep___main___at_Lean_ppGoal___spec__1(x_18, x_99); -x_101 = 0; -x_102 = l_Array_iterateMAux___main___at_Lean_ppGoal___spec__6___closed__2; -x_103 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_103, 0, x_100); -lean_ctor_set(x_103, 1, x_102); -lean_ctor_set_uint8(x_103, sizeof(void*)*2, x_101); -lean_inc(x_4); +lean_object* x_102; lean_object* x_103; lean_object* x_104; uint8_t x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; +x_102 = l_List_reverse___rarg(x_18); +x_103 = l_Lean_Format_flatten___main___closed__1; +x_104 = l_Lean_Format_joinSep___main___at_Lean_ppGoal___spec__1(x_102, x_103); +x_105 = 0; +x_106 = l_Array_iterateMAux___main___at_Lean_ppGoal___spec__6___closed__2; +x_107 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_107, 0, x_104); +lean_ctor_set(x_107, 1, x_106); +lean_ctor_set_uint8(x_107, sizeof(void*)*2, x_105); lean_inc(x_3); +lean_inc(x_4); lean_inc(x_2); lean_inc(x_1); -x_104 = l_Lean_ppExpr(x_1, x_2, x_3, x_4, x_76); -x_105 = lean_box(1); -x_106 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_106, 0, x_105); -lean_ctor_set(x_106, 1, x_104); -lean_ctor_set_uint8(x_106, sizeof(void*)*2, x_101); -x_107 = lean_unsigned_to_nat(2u); -x_108 = lean_alloc_ctor(3, 2, 0); -lean_ctor_set(x_108, 0, x_107); -lean_ctor_set(x_108, 1, x_106); -x_109 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_109, 0, x_103); -lean_ctor_set(x_109, 1, x_108); -lean_ctor_set_uint8(x_109, sizeof(void*)*2, x_101); -x_110 = lean_format_group(x_109); -x_111 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_111, 0, x_21); -lean_ctor_set(x_111, 1, x_110); -lean_ctor_set_uint8(x_111, sizeof(void*)*2, x_101); -lean_ctor_set(x_24, 1, x_111); -lean_ctor_set(x_24, 0, x_81); +x_108 = l_Lean_ppExpr(x_1, x_2, x_4, x_3, x_78); +x_109 = lean_box(1); +x_110 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_110, 0, x_109); +lean_ctor_set(x_110, 1, x_108); +lean_ctor_set_uint8(x_110, sizeof(void*)*2, x_105); +x_111 = lean_unsigned_to_nat(2u); +x_112 = lean_alloc_ctor(3, 2, 0); +lean_ctor_set(x_112, 0, x_111); +lean_ctor_set(x_112, 1, x_110); +x_113 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_113, 0, x_107); +lean_ctor_set(x_113, 1, x_112); +lean_ctor_set_uint8(x_113, sizeof(void*)*2, x_105); +x_114 = lean_format_group(x_113); +x_115 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_115, 0, x_21); +lean_ctor_set(x_115, 1, x_114); +lean_ctor_set_uint8(x_115, sizeof(void*)*2, x_105); +lean_ctor_set(x_24, 1, x_115); +lean_ctor_set(x_24, 0, x_83); lean_ctor_set(x_15, 1, x_24); -lean_ctor_set(x_15, 0, x_80); +lean_ctor_set(x_15, 0, x_82); x_7 = x_13; x_8 = x_15; goto _start; @@ -594,17 +599,17 @@ goto _start; } else { -lean_object* x_113; lean_object* x_114; -lean_dec(x_76); -x_113 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_113, 0, x_22); -lean_ctor_set(x_113, 1, x_18); -x_114 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_114, 0, x_35); +lean_object* x_117; lean_object* x_118; +lean_dec(x_78); +x_117 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_117, 0, x_22); +lean_ctor_set(x_117, 1, x_18); +x_118 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_118, 0, x_35); lean_ctor_set(x_24, 1, x_21); -lean_ctor_set(x_24, 0, x_114); +lean_ctor_set(x_24, 0, x_118); lean_ctor_set(x_15, 1, x_24); -lean_ctor_set(x_15, 0, x_113); +lean_ctor_set(x_15, 0, x_117); x_7 = x_13; x_8 = x_15; goto _start; @@ -613,176 +618,178 @@ goto _start; } else { -lean_object* x_116; lean_object* x_117; lean_object* x_118; uint8_t x_119; -x_116 = lean_ctor_get(x_24, 0); -lean_inc(x_116); +lean_object* x_120; lean_object* x_121; lean_object* x_122; uint8_t x_123; +x_120 = lean_ctor_get(x_24, 0); +lean_inc(x_120); lean_dec(x_24); -x_117 = lean_ctor_get(x_20, 0); -lean_inc(x_117); +x_121 = lean_ctor_get(x_20, 0); +lean_inc(x_121); if (lean_is_exclusive(x_20)) { lean_ctor_release(x_20, 0); - x_118 = x_20; + x_122 = x_20; } else { lean_dec_ref(x_20); - x_118 = lean_box(0); + x_122 = lean_box(0); } -x_119 = lean_expr_eqv(x_117, x_116); -if (x_119 == 0) +x_123 = lean_expr_eqv(x_121, x_120); +if (x_123 == 0) { -uint8_t x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; -x_120 = l_Lean_Format_isNil(x_21); -x_121 = lean_box(0); -x_122 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_122, 0, x_22); -lean_ctor_set(x_122, 1, x_121); -if (lean_is_scalar(x_118)) { - x_123 = lean_alloc_ctor(1, 1, 0); -} else { - x_123 = x_118; -} -lean_ctor_set(x_123, 0, x_116); -if (x_120 == 0) -{ -uint8_t x_124; lean_object* x_125; lean_object* x_126; -x_124 = 0; -x_125 = lean_box(1); -x_126 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_126, 0, x_21); +uint8_t x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; +x_124 = l_Lean_Format_isNil(x_21); +x_125 = lean_box(0); +x_126 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_126, 0, x_22); lean_ctor_set(x_126, 1, x_125); -lean_ctor_set_uint8(x_126, sizeof(void*)*2, x_124); -if (lean_obj_tag(x_18) == 0) -{ -lean_object* x_127; -lean_dec(x_117); -x_127 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_127, 0, x_123); -lean_ctor_set(x_127, 1, x_126); -lean_ctor_set(x_15, 1, x_127); -lean_ctor_set(x_15, 0, x_122); -x_7 = x_13; -x_8 = x_15; -goto _start; -} -else -{ -lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; 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_129 = l_Lean_Format_flatten___main___closed__1; -x_130 = l_Lean_Format_joinSep___main___at_Lean_ppGoal___spec__1(x_18, x_129); -x_131 = l_Array_iterateMAux___main___at_Lean_ppGoal___spec__6___closed__2; -x_132 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_132, 0, x_130); -lean_ctor_set(x_132, 1, x_131); -lean_ctor_set_uint8(x_132, sizeof(void*)*2, x_124); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -lean_inc(x_1); -x_133 = l_Lean_ppExpr(x_1, x_2, x_3, x_4, x_117); -x_134 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_134, 0, x_125); -lean_ctor_set(x_134, 1, x_133); -lean_ctor_set_uint8(x_134, sizeof(void*)*2, x_124); -x_135 = lean_unsigned_to_nat(2u); -x_136 = lean_alloc_ctor(3, 2, 0); -lean_ctor_set(x_136, 0, x_135); -lean_ctor_set(x_136, 1, x_134); -x_137 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_137, 0, x_132); -lean_ctor_set(x_137, 1, x_136); -lean_ctor_set_uint8(x_137, sizeof(void*)*2, x_124); -x_138 = lean_format_group(x_137); -x_139 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_139, 0, x_126); -lean_ctor_set(x_139, 1, x_138); -lean_ctor_set_uint8(x_139, sizeof(void*)*2, x_124); -x_140 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_140, 0, x_123); -lean_ctor_set(x_140, 1, x_139); -lean_ctor_set(x_15, 1, x_140); -lean_ctor_set(x_15, 0, x_122); -x_7 = x_13; -x_8 = x_15; -goto _start; -} -} -else -{ -if (lean_obj_tag(x_18) == 0) -{ -lean_object* x_142; -lean_dec(x_117); -x_142 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_142, 0, x_123); -lean_ctor_set(x_142, 1, x_21); -lean_ctor_set(x_15, 1, x_142); -lean_ctor_set(x_15, 0, x_122); -x_7 = x_13; -x_8 = x_15; -goto _start; -} -else -{ -lean_object* x_144; lean_object* x_145; uint8_t x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; -x_144 = l_Lean_Format_flatten___main___closed__1; -x_145 = l_Lean_Format_joinSep___main___at_Lean_ppGoal___spec__1(x_18, x_144); -x_146 = 0; -x_147 = l_Array_iterateMAux___main___at_Lean_ppGoal___spec__6___closed__2; -x_148 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_148, 0, x_145); -lean_ctor_set(x_148, 1, x_147); -lean_ctor_set_uint8(x_148, sizeof(void*)*2, x_146); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -lean_inc(x_1); -x_149 = l_Lean_ppExpr(x_1, x_2, x_3, x_4, x_117); -x_150 = lean_box(1); -x_151 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_151, 0, x_150); -lean_ctor_set(x_151, 1, x_149); -lean_ctor_set_uint8(x_151, sizeof(void*)*2, x_146); -x_152 = lean_unsigned_to_nat(2u); -x_153 = lean_alloc_ctor(3, 2, 0); -lean_ctor_set(x_153, 0, x_152); -lean_ctor_set(x_153, 1, x_151); -x_154 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_154, 0, x_148); -lean_ctor_set(x_154, 1, x_153); -lean_ctor_set_uint8(x_154, sizeof(void*)*2, x_146); -x_155 = lean_format_group(x_154); -x_156 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_156, 0, x_21); -lean_ctor_set(x_156, 1, x_155); -lean_ctor_set_uint8(x_156, sizeof(void*)*2, x_146); -x_157 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_157, 0, x_123); -lean_ctor_set(x_157, 1, x_156); -lean_ctor_set(x_15, 1, x_157); -lean_ctor_set(x_15, 0, x_122); -x_7 = x_13; -x_8 = x_15; -goto _start; -} -} -} -else -{ -lean_object* x_159; lean_object* x_160; lean_object* x_161; -lean_dec(x_117); -x_159 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_159, 0, x_22); -lean_ctor_set(x_159, 1, x_18); -if (lean_is_scalar(x_118)) { - x_160 = lean_alloc_ctor(1, 1, 0); +if (lean_is_scalar(x_122)) { + x_127 = lean_alloc_ctor(1, 1, 0); } else { - x_160 = x_118; + x_127 = x_122; } -lean_ctor_set(x_160, 0, x_116); -x_161 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_161, 0, x_160); -lean_ctor_set(x_161, 1, x_21); -lean_ctor_set(x_15, 1, x_161); -lean_ctor_set(x_15, 0, x_159); +lean_ctor_set(x_127, 0, x_120); +if (x_124 == 0) +{ +uint8_t x_128; lean_object* x_129; lean_object* x_130; +x_128 = 0; +x_129 = lean_box(1); +x_130 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_130, 0, x_21); +lean_ctor_set(x_130, 1, x_129); +lean_ctor_set_uint8(x_130, sizeof(void*)*2, x_128); +if (lean_obj_tag(x_18) == 0) +{ +lean_object* x_131; +lean_dec(x_121); +x_131 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_131, 0, x_127); +lean_ctor_set(x_131, 1, x_130); +lean_ctor_set(x_15, 1, x_131); +lean_ctor_set(x_15, 0, x_126); +x_7 = x_13; +x_8 = x_15; +goto _start; +} +else +{ +lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; +x_133 = l_List_reverse___rarg(x_18); +x_134 = l_Lean_Format_flatten___main___closed__1; +x_135 = l_Lean_Format_joinSep___main___at_Lean_ppGoal___spec__1(x_133, x_134); +x_136 = l_Array_iterateMAux___main___at_Lean_ppGoal___spec__6___closed__2; +x_137 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_137, 0, x_135); +lean_ctor_set(x_137, 1, x_136); +lean_ctor_set_uint8(x_137, sizeof(void*)*2, x_128); +lean_inc(x_3); +lean_inc(x_4); +lean_inc(x_2); +lean_inc(x_1); +x_138 = l_Lean_ppExpr(x_1, x_2, x_4, x_3, x_121); +x_139 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_139, 0, x_129); +lean_ctor_set(x_139, 1, x_138); +lean_ctor_set_uint8(x_139, sizeof(void*)*2, x_128); +x_140 = lean_unsigned_to_nat(2u); +x_141 = lean_alloc_ctor(3, 2, 0); +lean_ctor_set(x_141, 0, x_140); +lean_ctor_set(x_141, 1, x_139); +x_142 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_142, 0, x_137); +lean_ctor_set(x_142, 1, x_141); +lean_ctor_set_uint8(x_142, sizeof(void*)*2, x_128); +x_143 = lean_format_group(x_142); +x_144 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_144, 0, x_130); +lean_ctor_set(x_144, 1, x_143); +lean_ctor_set_uint8(x_144, sizeof(void*)*2, x_128); +x_145 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_145, 0, x_127); +lean_ctor_set(x_145, 1, x_144); +lean_ctor_set(x_15, 1, x_145); +lean_ctor_set(x_15, 0, x_126); +x_7 = x_13; +x_8 = x_15; +goto _start; +} +} +else +{ +if (lean_obj_tag(x_18) == 0) +{ +lean_object* x_147; +lean_dec(x_121); +x_147 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_147, 0, x_127); +lean_ctor_set(x_147, 1, x_21); +lean_ctor_set(x_15, 1, x_147); +lean_ctor_set(x_15, 0, x_126); +x_7 = x_13; +x_8 = x_15; +goto _start; +} +else +{ +lean_object* x_149; lean_object* x_150; lean_object* x_151; uint8_t x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; +x_149 = l_List_reverse___rarg(x_18); +x_150 = l_Lean_Format_flatten___main___closed__1; +x_151 = l_Lean_Format_joinSep___main___at_Lean_ppGoal___spec__1(x_149, x_150); +x_152 = 0; +x_153 = l_Array_iterateMAux___main___at_Lean_ppGoal___spec__6___closed__2; +x_154 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_154, 0, x_151); +lean_ctor_set(x_154, 1, x_153); +lean_ctor_set_uint8(x_154, sizeof(void*)*2, x_152); +lean_inc(x_3); +lean_inc(x_4); +lean_inc(x_2); +lean_inc(x_1); +x_155 = l_Lean_ppExpr(x_1, x_2, x_4, x_3, x_121); +x_156 = lean_box(1); +x_157 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_157, 0, x_156); +lean_ctor_set(x_157, 1, x_155); +lean_ctor_set_uint8(x_157, sizeof(void*)*2, x_152); +x_158 = lean_unsigned_to_nat(2u); +x_159 = lean_alloc_ctor(3, 2, 0); +lean_ctor_set(x_159, 0, x_158); +lean_ctor_set(x_159, 1, x_157); +x_160 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_160, 0, x_154); +lean_ctor_set(x_160, 1, x_159); +lean_ctor_set_uint8(x_160, sizeof(void*)*2, x_152); +x_161 = lean_format_group(x_160); +x_162 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_162, 0, x_21); +lean_ctor_set(x_162, 1, x_161); +lean_ctor_set_uint8(x_162, sizeof(void*)*2, x_152); +x_163 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_163, 0, x_127); +lean_ctor_set(x_163, 1, x_162); +lean_ctor_set(x_15, 1, x_163); +lean_ctor_set(x_15, 0, x_126); +x_7 = x_13; +x_8 = x_15; +goto _start; +} +} +} +else +{ +lean_object* x_165; lean_object* x_166; lean_object* x_167; +lean_dec(x_121); +x_165 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_165, 0, x_22); +lean_ctor_set(x_165, 1, x_18); +if (lean_is_scalar(x_122)) { + x_166 = lean_alloc_ctor(1, 1, 0); +} else { + x_166 = x_122; +} +lean_ctor_set(x_166, 0, x_120); +x_167 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_167, 0, x_166); +lean_ctor_set(x_167, 1, x_21); +lean_ctor_set(x_15, 1, x_167); +lean_ctor_set(x_15, 0, x_165); x_7 = x_13; x_8 = x_15; goto _start; @@ -792,1008 +799,1192 @@ goto _start; } else { -lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; -x_163 = lean_ctor_get(x_15, 0); -x_164 = lean_ctor_get(x_15, 1); -lean_inc(x_164); -lean_inc(x_163); +lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; +x_169 = lean_ctor_get(x_15, 0); +x_170 = lean_ctor_get(x_15, 1); +lean_inc(x_170); +lean_inc(x_169); lean_dec(x_15); -x_165 = lean_ctor_get(x_17, 2); -lean_inc(x_165); -x_166 = lean_ctor_get(x_17, 3); -lean_inc(x_166); +x_171 = lean_ctor_get(x_17, 2); +lean_inc(x_171); +x_172 = lean_ctor_get(x_17, 3); +lean_inc(x_172); lean_dec(x_17); lean_inc(x_2); -x_167 = l_Lean_MetavarContext_instantiateMVars(x_2, x_166); -if (lean_obj_tag(x_163) == 0) +x_173 = l_Lean_MetavarContext_instantiateMVars(x_2, x_172); +if (lean_obj_tag(x_169) == 0) { -lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; -x_168 = lean_ctor_get(x_167, 0); -lean_inc(x_168); -if (lean_is_exclusive(x_167)) { - lean_ctor_release(x_167, 0); - lean_ctor_release(x_167, 1); - x_169 = x_167; -} else { - lean_dec_ref(x_167); - x_169 = lean_box(0); -} -x_170 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_170, 0, x_165); -lean_ctor_set(x_170, 1, x_18); -lean_ctor_set(x_11, 0, x_168); -if (lean_is_scalar(x_169)) { - x_171 = lean_alloc_ctor(0, 2, 0); -} else { - x_171 = x_169; -} -lean_ctor_set(x_171, 0, x_11); -lean_ctor_set(x_171, 1, x_164); -x_172 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_172, 0, x_170); -lean_ctor_set(x_172, 1, x_171); -x_7 = x_13; -x_8 = x_172; -goto _start; -} -else -{ -lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; uint8_t x_178; -lean_free_object(x_11); -x_174 = lean_ctor_get(x_167, 0); +lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; +x_174 = lean_ctor_get(x_173, 0); lean_inc(x_174); -if (lean_is_exclusive(x_167)) { - lean_ctor_release(x_167, 0); - lean_ctor_release(x_167, 1); - x_175 = x_167; +if (lean_is_exclusive(x_173)) { + lean_ctor_release(x_173, 0); + lean_ctor_release(x_173, 1); + x_175 = x_173; } else { - lean_dec_ref(x_167); + lean_dec_ref(x_173); x_175 = lean_box(0); } -x_176 = lean_ctor_get(x_163, 0); -lean_inc(x_176); -if (lean_is_exclusive(x_163)) { - lean_ctor_release(x_163, 0); - x_177 = x_163; -} else { - lean_dec_ref(x_163); - x_177 = lean_box(0); -} -x_178 = lean_expr_eqv(x_176, x_174); -if (x_178 == 0) -{ -uint8_t x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; -x_179 = l_Lean_Format_isNil(x_164); -x_180 = lean_box(0); -x_181 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_181, 0, x_165); -lean_ctor_set(x_181, 1, x_180); -if (lean_is_scalar(x_177)) { - x_182 = lean_alloc_ctor(1, 1, 0); -} else { - x_182 = x_177; -} -lean_ctor_set(x_182, 0, x_174); -if (x_179 == 0) -{ -uint8_t x_183; lean_object* x_184; lean_object* x_185; -x_183 = 0; -x_184 = lean_box(1); -x_185 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_185, 0, x_164); -lean_ctor_set(x_185, 1, x_184); -lean_ctor_set_uint8(x_185, sizeof(void*)*2, x_183); -if (lean_obj_tag(x_18) == 0) -{ -lean_object* x_186; lean_object* x_187; -lean_dec(x_176); +x_176 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_176, 0, x_171); +lean_ctor_set(x_176, 1, x_18); +lean_ctor_set(x_11, 0, x_174); if (lean_is_scalar(x_175)) { - x_186 = lean_alloc_ctor(0, 2, 0); + x_177 = lean_alloc_ctor(0, 2, 0); } else { - x_186 = x_175; + x_177 = x_175; } -lean_ctor_set(x_186, 0, x_182); -lean_ctor_set(x_186, 1, x_185); -x_187 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_187, 0, x_181); -lean_ctor_set(x_187, 1, x_186); +lean_ctor_set(x_177, 0, x_11); +lean_ctor_set(x_177, 1, x_170); +x_178 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_178, 0, x_176); +lean_ctor_set(x_178, 1, x_177); x_7 = x_13; -x_8 = x_187; +x_8 = x_178; goto _start; } else { -lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; -x_189 = l_Lean_Format_flatten___main___closed__1; -x_190 = l_Lean_Format_joinSep___main___at_Lean_ppGoal___spec__1(x_18, x_189); -x_191 = l_Array_iterateMAux___main___at_Lean_ppGoal___spec__6___closed__2; -x_192 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_192, 0, x_190); -lean_ctor_set(x_192, 1, x_191); -lean_ctor_set_uint8(x_192, sizeof(void*)*2, x_183); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -lean_inc(x_1); -x_193 = l_Lean_ppExpr(x_1, x_2, x_3, x_4, x_176); -x_194 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_194, 0, x_184); -lean_ctor_set(x_194, 1, x_193); -lean_ctor_set_uint8(x_194, sizeof(void*)*2, x_183); -x_195 = lean_unsigned_to_nat(2u); -x_196 = lean_alloc_ctor(3, 2, 0); -lean_ctor_set(x_196, 0, x_195); -lean_ctor_set(x_196, 1, x_194); -x_197 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_197, 0, x_192); -lean_ctor_set(x_197, 1, x_196); -lean_ctor_set_uint8(x_197, sizeof(void*)*2, x_183); -x_198 = lean_format_group(x_197); -x_199 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_199, 0, x_185); -lean_ctor_set(x_199, 1, x_198); -lean_ctor_set_uint8(x_199, sizeof(void*)*2, x_183); -if (lean_is_scalar(x_175)) { - x_200 = lean_alloc_ctor(0, 2, 0); -} else { - x_200 = x_175; -} -lean_ctor_set(x_200, 0, x_182); -lean_ctor_set(x_200, 1, x_199); -x_201 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_201, 0, x_181); -lean_ctor_set(x_201, 1, x_200); -x_7 = x_13; -x_8 = x_201; -goto _start; -} -} -else -{ -if (lean_obj_tag(x_18) == 0) -{ -lean_object* x_203; lean_object* x_204; -lean_dec(x_176); -if (lean_is_scalar(x_175)) { - x_203 = lean_alloc_ctor(0, 2, 0); -} else { - x_203 = x_175; -} -lean_ctor_set(x_203, 0, x_182); -lean_ctor_set(x_203, 1, x_164); -x_204 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_204, 0, x_181); -lean_ctor_set(x_204, 1, x_203); -x_7 = x_13; -x_8 = x_204; -goto _start; -} -else -{ -lean_object* x_206; lean_object* x_207; uint8_t x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; -x_206 = l_Lean_Format_flatten___main___closed__1; -x_207 = l_Lean_Format_joinSep___main___at_Lean_ppGoal___spec__1(x_18, x_206); -x_208 = 0; -x_209 = l_Array_iterateMAux___main___at_Lean_ppGoal___spec__6___closed__2; -x_210 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_210, 0, x_207); -lean_ctor_set(x_210, 1, x_209); -lean_ctor_set_uint8(x_210, sizeof(void*)*2, x_208); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -lean_inc(x_1); -x_211 = l_Lean_ppExpr(x_1, x_2, x_3, x_4, x_176); -x_212 = lean_box(1); -x_213 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_213, 0, x_212); -lean_ctor_set(x_213, 1, x_211); -lean_ctor_set_uint8(x_213, sizeof(void*)*2, x_208); -x_214 = lean_unsigned_to_nat(2u); -x_215 = lean_alloc_ctor(3, 2, 0); -lean_ctor_set(x_215, 0, x_214); -lean_ctor_set(x_215, 1, x_213); -x_216 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_216, 0, x_210); -lean_ctor_set(x_216, 1, x_215); -lean_ctor_set_uint8(x_216, sizeof(void*)*2, x_208); -x_217 = lean_format_group(x_216); -x_218 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_218, 0, x_164); -lean_ctor_set(x_218, 1, x_217); -lean_ctor_set_uint8(x_218, sizeof(void*)*2, x_208); -if (lean_is_scalar(x_175)) { - x_219 = lean_alloc_ctor(0, 2, 0); -} else { - x_219 = x_175; -} -lean_ctor_set(x_219, 0, x_182); -lean_ctor_set(x_219, 1, x_218); -x_220 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_220, 0, x_181); -lean_ctor_set(x_220, 1, x_219); -x_7 = x_13; -x_8 = x_220; -goto _start; -} -} -} -else -{ -lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; -lean_dec(x_176); -x_222 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_222, 0, x_165); -lean_ctor_set(x_222, 1, x_18); -if (lean_is_scalar(x_177)) { - x_223 = lean_alloc_ctor(1, 1, 0); -} else { - x_223 = x_177; -} -lean_ctor_set(x_223, 0, x_174); -if (lean_is_scalar(x_175)) { - x_224 = lean_alloc_ctor(0, 2, 0); -} else { - x_224 = x_175; -} -lean_ctor_set(x_224, 0, x_223); -lean_ctor_set(x_224, 1, x_164); -x_225 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_225, 0, x_222); -lean_ctor_set(x_225, 1, x_224); -x_7 = x_13; -x_8 = x_225; -goto _start; -} -} -} -} -else -{ -lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; uint8_t x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; uint8_t x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; +lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; uint8_t x_184; lean_free_object(x_11); -x_227 = lean_ctor_get(x_8, 0); -lean_inc(x_227); +x_180 = lean_ctor_get(x_173, 0); +lean_inc(x_180); +if (lean_is_exclusive(x_173)) { + lean_ctor_release(x_173, 0); + lean_ctor_release(x_173, 1); + x_181 = x_173; +} else { + lean_dec_ref(x_173); + x_181 = lean_box(0); +} +x_182 = lean_ctor_get(x_169, 0); +lean_inc(x_182); +if (lean_is_exclusive(x_169)) { + lean_ctor_release(x_169, 0); + x_183 = x_169; +} else { + lean_dec_ref(x_169); + x_183 = lean_box(0); +} +x_184 = lean_expr_eqv(x_182, x_180); +if (x_184 == 0) +{ +uint8_t x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; +x_185 = l_Lean_Format_isNil(x_170); +x_186 = lean_box(0); +x_187 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_187, 0, x_171); +lean_ctor_set(x_187, 1, x_186); +if (lean_is_scalar(x_183)) { + x_188 = lean_alloc_ctor(1, 1, 0); +} else { + x_188 = x_183; +} +lean_ctor_set(x_188, 0, x_180); +if (x_185 == 0) +{ +uint8_t x_189; lean_object* x_190; lean_object* x_191; +x_189 = 0; +x_190 = lean_box(1); +x_191 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_191, 0, x_170); +lean_ctor_set(x_191, 1, x_190); +lean_ctor_set_uint8(x_191, sizeof(void*)*2, x_189); +if (lean_obj_tag(x_18) == 0) +{ +lean_object* x_192; lean_object* x_193; +lean_dec(x_182); +if (lean_is_scalar(x_181)) { + x_192 = lean_alloc_ctor(0, 2, 0); +} else { + x_192 = x_181; +} +lean_ctor_set(x_192, 0, x_188); +lean_ctor_set(x_192, 1, x_191); +x_193 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_193, 0, x_187); +lean_ctor_set(x_193, 1, x_192); +x_7 = x_13; +x_8 = x_193; +goto _start; +} +else +{ +lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; +x_195 = l_List_reverse___rarg(x_18); +x_196 = l_Lean_Format_flatten___main___closed__1; +x_197 = l_Lean_Format_joinSep___main___at_Lean_ppGoal___spec__1(x_195, x_196); +x_198 = l_Array_iterateMAux___main___at_Lean_ppGoal___spec__6___closed__2; +x_199 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_199, 0, x_197); +lean_ctor_set(x_199, 1, x_198); +lean_ctor_set_uint8(x_199, sizeof(void*)*2, x_189); +lean_inc(x_3); +lean_inc(x_4); +lean_inc(x_2); +lean_inc(x_1); +x_200 = l_Lean_ppExpr(x_1, x_2, x_4, x_3, x_182); +x_201 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_201, 0, x_190); +lean_ctor_set(x_201, 1, x_200); +lean_ctor_set_uint8(x_201, sizeof(void*)*2, x_189); +x_202 = lean_unsigned_to_nat(2u); +x_203 = lean_alloc_ctor(3, 2, 0); +lean_ctor_set(x_203, 0, x_202); +lean_ctor_set(x_203, 1, x_201); +x_204 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_204, 0, x_199); +lean_ctor_set(x_204, 1, x_203); +lean_ctor_set_uint8(x_204, sizeof(void*)*2, x_189); +x_205 = lean_format_group(x_204); +x_206 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_206, 0, x_191); +lean_ctor_set(x_206, 1, x_205); +lean_ctor_set_uint8(x_206, sizeof(void*)*2, x_189); +if (lean_is_scalar(x_181)) { + x_207 = lean_alloc_ctor(0, 2, 0); +} else { + x_207 = x_181; +} +lean_ctor_set(x_207, 0, x_188); +lean_ctor_set(x_207, 1, x_206); +x_208 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_208, 0, x_187); +lean_ctor_set(x_208, 1, x_207); +x_7 = x_13; +x_8 = x_208; +goto _start; +} +} +else +{ +if (lean_obj_tag(x_18) == 0) +{ +lean_object* x_210; lean_object* x_211; +lean_dec(x_182); +if (lean_is_scalar(x_181)) { + x_210 = lean_alloc_ctor(0, 2, 0); +} else { + x_210 = x_181; +} +lean_ctor_set(x_210, 0, x_188); +lean_ctor_set(x_210, 1, x_170); +x_211 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_211, 0, x_187); +lean_ctor_set(x_211, 1, x_210); +x_7 = x_13; +x_8 = x_211; +goto _start; +} +else +{ +lean_object* x_213; lean_object* x_214; lean_object* x_215; uint8_t x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; +x_213 = l_List_reverse___rarg(x_18); +x_214 = l_Lean_Format_flatten___main___closed__1; +x_215 = l_Lean_Format_joinSep___main___at_Lean_ppGoal___spec__1(x_213, x_214); +x_216 = 0; +x_217 = l_Array_iterateMAux___main___at_Lean_ppGoal___spec__6___closed__2; +x_218 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_218, 0, x_215); +lean_ctor_set(x_218, 1, x_217); +lean_ctor_set_uint8(x_218, sizeof(void*)*2, x_216); +lean_inc(x_3); +lean_inc(x_4); +lean_inc(x_2); +lean_inc(x_1); +x_219 = l_Lean_ppExpr(x_1, x_2, x_4, x_3, x_182); +x_220 = lean_box(1); +x_221 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_221, 0, x_220); +lean_ctor_set(x_221, 1, x_219); +lean_ctor_set_uint8(x_221, sizeof(void*)*2, x_216); +x_222 = lean_unsigned_to_nat(2u); +x_223 = lean_alloc_ctor(3, 2, 0); +lean_ctor_set(x_223, 0, x_222); +lean_ctor_set(x_223, 1, x_221); +x_224 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_224, 0, x_218); +lean_ctor_set(x_224, 1, x_223); +lean_ctor_set_uint8(x_224, sizeof(void*)*2, x_216); +x_225 = lean_format_group(x_224); +x_226 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_226, 0, x_170); +lean_ctor_set(x_226, 1, x_225); +lean_ctor_set_uint8(x_226, sizeof(void*)*2, x_216); +if (lean_is_scalar(x_181)) { + x_227 = lean_alloc_ctor(0, 2, 0); +} else { + x_227 = x_181; +} +lean_ctor_set(x_227, 0, x_188); +lean_ctor_set(x_227, 1, x_226); +x_228 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_228, 0, x_187); +lean_ctor_set(x_228, 1, x_227); +x_7 = x_13; +x_8 = x_228; +goto _start; +} +} +} +else +{ +lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; +lean_dec(x_182); +x_230 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_230, 0, x_171); +lean_ctor_set(x_230, 1, x_18); +if (lean_is_scalar(x_183)) { + x_231 = lean_alloc_ctor(1, 1, 0); +} else { + x_231 = x_183; +} +lean_ctor_set(x_231, 0, x_180); +if (lean_is_scalar(x_181)) { + x_232 = lean_alloc_ctor(0, 2, 0); +} else { + x_232 = x_181; +} +lean_ctor_set(x_232, 0, x_231); +lean_ctor_set(x_232, 1, x_170); +x_233 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_233, 0, x_230); +lean_ctor_set(x_233, 1, x_232); +x_7 = x_13; +x_8 = x_233; +goto _start; +} +} +} +} +else +{ +lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; uint8_t x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; uint8_t x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; +lean_free_object(x_11); +x_235 = lean_ctor_get(x_8, 0); +lean_inc(x_235); if (lean_is_exclusive(x_8)) { lean_ctor_release(x_8, 0); lean_ctor_release(x_8, 1); - x_228 = x_8; + x_236 = x_8; } else { lean_dec_ref(x_8); - x_228 = lean_box(0); + x_236 = lean_box(0); } -x_229 = lean_ctor_get(x_15, 0); -lean_inc(x_229); -x_230 = lean_ctor_get(x_15, 1); -lean_inc(x_230); -if (lean_is_exclusive(x_15)) { - lean_ctor_release(x_15, 0); - lean_ctor_release(x_15, 1); - x_231 = x_15; -} else { - lean_dec_ref(x_15); - x_231 = lean_box(0); -} -x_232 = lean_ctor_get(x_17, 2); -lean_inc(x_232); -x_233 = lean_ctor_get(x_17, 3); -lean_inc(x_233); -x_234 = lean_ctor_get(x_17, 4); -lean_inc(x_234); -lean_dec(x_17); -x_235 = l_Lean_Format_isNil(x_230); -lean_inc(x_2); -x_236 = l_Lean_MetavarContext_instantiateMVars(x_2, x_233); -x_237 = lean_ctor_get(x_236, 0); +x_237 = lean_ctor_get(x_15, 0); lean_inc(x_237); -lean_dec(x_236); -lean_inc(x_2); -x_238 = l_Lean_MetavarContext_instantiateMVars(x_2, x_234); -x_239 = lean_ctor_get(x_238, 0); -lean_inc(x_239); -lean_dec(x_238); -x_240 = l_Lean_Name_toString___closed__1; -x_241 = l_Lean_Name_toStringWithSep___main(x_240, x_232); -x_242 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_242, 0, x_241); -x_243 = 0; -x_244 = l_Array_iterateMAux___main___at_Lean_ppGoal___spec__6___closed__4; -x_245 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_245, 0, x_242); -lean_ctor_set(x_245, 1, x_244); -lean_ctor_set_uint8(x_245, sizeof(void*)*2, x_243); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -lean_inc(x_1); -x_246 = l_Lean_ppExpr(x_1, x_2, x_3, x_4, x_237); -x_247 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_247, 0, x_245); -lean_ctor_set(x_247, 1, x_246); -lean_ctor_set_uint8(x_247, sizeof(void*)*2, x_243); -x_248 = l_Array_iterateMAux___main___at_Lean_ppGoal___spec__6___closed__6; -x_249 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_249, 0, x_247); -lean_ctor_set(x_249, 1, x_248); -lean_ctor_set_uint8(x_249, sizeof(void*)*2, x_243); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -lean_inc(x_1); -x_250 = l_Lean_ppExpr(x_1, x_2, x_3, x_4, x_239); -x_251 = lean_box(1); -x_252 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_252, 0, x_251); -lean_ctor_set(x_252, 1, x_250); -lean_ctor_set_uint8(x_252, sizeof(void*)*2, x_243); -x_253 = lean_unsigned_to_nat(2u); -x_254 = lean_alloc_ctor(3, 2, 0); -lean_ctor_set(x_254, 0, x_253); -lean_ctor_set(x_254, 1, x_252); -x_255 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_255, 0, x_249); -lean_ctor_set(x_255, 1, x_254); -lean_ctor_set_uint8(x_255, sizeof(void*)*2, x_243); -x_256 = lean_format_group(x_255); -x_257 = lean_box(0); -x_258 = lean_box(0); -if (x_235 == 0) -{ -lean_object* x_292; -x_292 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_292, 0, x_230); -lean_ctor_set(x_292, 1, x_251); -lean_ctor_set_uint8(x_292, sizeof(void*)*2, x_243); -if (lean_obj_tag(x_227) == 0) -{ -uint8_t x_293; -lean_dec(x_231); -lean_dec(x_229); -lean_dec(x_228); -x_293 = l_Lean_Format_isNil(x_292); -if (x_293 == 0) -{ -lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; -x_294 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_294, 0, x_292); -lean_ctor_set(x_294, 1, x_251); -lean_ctor_set_uint8(x_294, sizeof(void*)*2, x_243); -x_295 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_295, 0, x_294); -lean_ctor_set(x_295, 1, x_256); -lean_ctor_set_uint8(x_295, sizeof(void*)*2, x_243); -x_296 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_296, 0, x_258); -lean_ctor_set(x_296, 1, x_295); -x_297 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_297, 0, x_257); -lean_ctor_set(x_297, 1, x_296); -x_7 = x_13; -x_8 = x_297; -goto _start; -} -else -{ -lean_object* x_299; lean_object* x_300; lean_object* x_301; -x_299 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_299, 0, x_292); -lean_ctor_set(x_299, 1, x_256); -lean_ctor_set_uint8(x_299, sizeof(void*)*2, x_243); -x_300 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_300, 0, x_258); -lean_ctor_set(x_300, 1, x_299); -x_301 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_301, 0, x_257); -lean_ctor_set(x_301, 1, x_300); -x_7 = x_13; -x_8 = x_301; -goto _start; -} -} -else -{ -x_259 = x_292; -goto block_291; -} -} -else -{ -if (lean_obj_tag(x_227) == 0) -{ -lean_object* x_303; lean_object* x_304; lean_object* x_305; -lean_dec(x_231); -lean_dec(x_229); -lean_dec(x_228); -x_303 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_303, 0, x_230); -lean_ctor_set(x_303, 1, x_256); -lean_ctor_set_uint8(x_303, sizeof(void*)*2, x_243); -x_304 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_304, 0, x_258); -lean_ctor_set(x_304, 1, x_303); -x_305 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_305, 0, x_257); -lean_ctor_set(x_305, 1, x_304); -x_7 = x_13; -x_8 = x_305; -goto _start; -} -else -{ -x_259 = x_230; -goto block_291; -} -} -block_291: -{ -if (lean_obj_tag(x_229) == 0) -{ -uint8_t x_260; -lean_dec(x_227); -x_260 = l_Lean_Format_isNil(x_259); -if (x_260 == 0) -{ -lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; -x_261 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_261, 0, x_259); -lean_ctor_set(x_261, 1, x_251); -lean_ctor_set_uint8(x_261, sizeof(void*)*2, x_243); -x_262 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_262, 0, x_261); -lean_ctor_set(x_262, 1, x_256); -lean_ctor_set_uint8(x_262, sizeof(void*)*2, x_243); -if (lean_is_scalar(x_231)) { - x_263 = lean_alloc_ctor(0, 2, 0); -} else { - x_263 = x_231; -} -lean_ctor_set(x_263, 0, x_258); -lean_ctor_set(x_263, 1, x_262); -if (lean_is_scalar(x_228)) { - x_264 = lean_alloc_ctor(0, 2, 0); -} else { - x_264 = x_228; -} -lean_ctor_set(x_264, 0, x_257); -lean_ctor_set(x_264, 1, x_263); -x_7 = x_13; -x_8 = x_264; -goto _start; -} -else -{ -lean_object* x_266; lean_object* x_267; lean_object* x_268; -x_266 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_266, 0, x_259); -lean_ctor_set(x_266, 1, x_256); -lean_ctor_set_uint8(x_266, sizeof(void*)*2, x_243); -if (lean_is_scalar(x_231)) { - x_267 = lean_alloc_ctor(0, 2, 0); -} else { - x_267 = x_231; -} -lean_ctor_set(x_267, 0, x_258); -lean_ctor_set(x_267, 1, x_266); -if (lean_is_scalar(x_228)) { - x_268 = lean_alloc_ctor(0, 2, 0); -} else { - x_268 = x_228; -} -lean_ctor_set(x_268, 0, x_257); -lean_ctor_set(x_268, 1, x_267); -x_7 = x_13; -x_8 = x_268; -goto _start; -} -} -else -{ -lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; uint8_t x_281; -x_270 = lean_ctor_get(x_229, 0); -lean_inc(x_270); -lean_dec(x_229); -x_271 = l_Lean_Format_flatten___main___closed__1; -x_272 = l_Lean_Format_joinSep___main___at_Lean_ppGoal___spec__1(x_227, x_271); -x_273 = l_Array_iterateMAux___main___at_Lean_ppGoal___spec__6___closed__2; -x_274 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_274, 0, x_272); -lean_ctor_set(x_274, 1, x_273); -lean_ctor_set_uint8(x_274, sizeof(void*)*2, x_243); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -lean_inc(x_1); -x_275 = l_Lean_ppExpr(x_1, x_2, x_3, x_4, x_270); -x_276 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_276, 0, x_251); -lean_ctor_set(x_276, 1, x_275); -lean_ctor_set_uint8(x_276, sizeof(void*)*2, x_243); -x_277 = lean_alloc_ctor(3, 2, 0); -lean_ctor_set(x_277, 0, x_253); -lean_ctor_set(x_277, 1, x_276); -x_278 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_278, 0, x_274); -lean_ctor_set(x_278, 1, x_277); -lean_ctor_set_uint8(x_278, sizeof(void*)*2, x_243); -x_279 = lean_format_group(x_278); -x_280 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_280, 0, x_259); -lean_ctor_set(x_280, 1, x_279); -lean_ctor_set_uint8(x_280, sizeof(void*)*2, x_243); -x_281 = l_Lean_Format_isNil(x_280); -if (x_281 == 0) -{ -lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; -x_282 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_282, 0, x_280); -lean_ctor_set(x_282, 1, x_251); -lean_ctor_set_uint8(x_282, sizeof(void*)*2, x_243); -x_283 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_283, 0, x_282); -lean_ctor_set(x_283, 1, x_256); -lean_ctor_set_uint8(x_283, sizeof(void*)*2, x_243); -if (lean_is_scalar(x_231)) { - x_284 = lean_alloc_ctor(0, 2, 0); -} else { - x_284 = x_231; -} -lean_ctor_set(x_284, 0, x_258); -lean_ctor_set(x_284, 1, x_283); -if (lean_is_scalar(x_228)) { - x_285 = lean_alloc_ctor(0, 2, 0); -} else { - x_285 = x_228; -} -lean_ctor_set(x_285, 0, x_257); -lean_ctor_set(x_285, 1, x_284); -x_7 = x_13; -x_8 = x_285; -goto _start; -} -else -{ -lean_object* x_287; lean_object* x_288; lean_object* x_289; -x_287 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_287, 0, x_280); -lean_ctor_set(x_287, 1, x_256); -lean_ctor_set_uint8(x_287, sizeof(void*)*2, x_243); -if (lean_is_scalar(x_231)) { - x_288 = lean_alloc_ctor(0, 2, 0); -} else { - x_288 = x_231; -} -lean_ctor_set(x_288, 0, x_258); -lean_ctor_set(x_288, 1, x_287); -if (lean_is_scalar(x_228)) { - x_289 = lean_alloc_ctor(0, 2, 0); -} else { - x_289 = x_228; -} -lean_ctor_set(x_289, 0, x_257); -lean_ctor_set(x_289, 1, x_288); -x_7 = x_13; -x_8 = x_289; -goto _start; -} -} -} -} -} -else -{ -lean_object* x_307; -x_307 = lean_ctor_get(x_11, 0); -lean_inc(x_307); -lean_dec(x_11); -if (lean_obj_tag(x_307) == 0) -{ -lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; -x_308 = lean_ctor_get(x_8, 0); -lean_inc(x_308); -lean_dec(x_8); -x_309 = lean_ctor_get(x_15, 0); -lean_inc(x_309); -x_310 = lean_ctor_get(x_15, 1); -lean_inc(x_310); +x_238 = lean_ctor_get(x_15, 1); +lean_inc(x_238); if (lean_is_exclusive(x_15)) { lean_ctor_release(x_15, 0); lean_ctor_release(x_15, 1); - x_311 = x_15; + x_239 = x_15; } else { lean_dec_ref(x_15); - x_311 = lean_box(0); + x_239 = lean_box(0); } -x_312 = lean_ctor_get(x_307, 2); -lean_inc(x_312); -x_313 = lean_ctor_get(x_307, 3); -lean_inc(x_313); -lean_dec(x_307); +x_240 = lean_ctor_get(x_17, 2); +lean_inc(x_240); +x_241 = lean_ctor_get(x_17, 3); +lean_inc(x_241); +x_242 = lean_ctor_get(x_17, 4); +lean_inc(x_242); +lean_dec(x_17); +x_243 = l_Lean_Format_isNil(x_238); lean_inc(x_2); -x_314 = l_Lean_MetavarContext_instantiateMVars(x_2, x_313); -if (lean_obj_tag(x_309) == 0) +x_244 = l_Lean_MetavarContext_instantiateMVars(x_2, x_241); +x_245 = lean_ctor_get(x_244, 0); +lean_inc(x_245); +lean_dec(x_244); +lean_inc(x_2); +x_246 = l_Lean_MetavarContext_instantiateMVars(x_2, x_242); +x_247 = lean_ctor_get(x_246, 0); +lean_inc(x_247); +lean_dec(x_246); +x_248 = l_Lean_Name_toString___closed__1; +x_249 = l_Lean_Name_toStringWithSep___main(x_248, x_240); +x_250 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_250, 0, x_249); +x_251 = 0; +x_252 = l_Array_iterateMAux___main___at_Lean_ppGoal___spec__6___closed__4; +x_253 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_253, 0, x_250); +lean_ctor_set(x_253, 1, x_252); +lean_ctor_set_uint8(x_253, sizeof(void*)*2, x_251); +lean_inc(x_3); +lean_inc(x_4); +lean_inc(x_2); +lean_inc(x_1); +x_254 = l_Lean_ppExpr(x_1, x_2, x_4, x_3, x_245); +x_255 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_255, 0, x_253); +lean_ctor_set(x_255, 1, x_254); +lean_ctor_set_uint8(x_255, sizeof(void*)*2, x_251); +x_256 = l_Array_iterateMAux___main___at_Lean_ppGoal___spec__6___closed__6; +x_257 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_257, 0, x_255); +lean_ctor_set(x_257, 1, x_256); +lean_ctor_set_uint8(x_257, sizeof(void*)*2, x_251); +lean_inc(x_3); +lean_inc(x_4); +lean_inc(x_2); +lean_inc(x_1); +x_258 = l_Lean_ppExpr(x_1, x_2, x_4, x_3, x_247); +x_259 = lean_box(1); +x_260 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_260, 0, x_259); +lean_ctor_set(x_260, 1, x_258); +lean_ctor_set_uint8(x_260, sizeof(void*)*2, x_251); +x_261 = lean_unsigned_to_nat(2u); +x_262 = lean_alloc_ctor(3, 2, 0); +lean_ctor_set(x_262, 0, x_261); +lean_ctor_set(x_262, 1, x_260); +x_263 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_263, 0, x_257); +lean_ctor_set(x_263, 1, x_262); +lean_ctor_set_uint8(x_263, sizeof(void*)*2, x_251); +x_264 = lean_format_group(x_263); +x_265 = lean_box(0); +x_266 = lean_box(0); +if (x_243 == 0) { -lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; -x_315 = lean_ctor_get(x_314, 0); -lean_inc(x_315); -if (lean_is_exclusive(x_314)) { - lean_ctor_release(x_314, 0); - lean_ctor_release(x_314, 1); - x_316 = x_314; -} else { - lean_dec_ref(x_314); - x_316 = lean_box(0); -} -x_317 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_317, 0, x_312); -lean_ctor_set(x_317, 1, x_308); -x_318 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_318, 0, x_315); -if (lean_is_scalar(x_316)) { - x_319 = lean_alloc_ctor(0, 2, 0); -} else { - x_319 = x_316; -} -lean_ctor_set(x_319, 0, x_318); -lean_ctor_set(x_319, 1, x_310); -if (lean_is_scalar(x_311)) { - x_320 = lean_alloc_ctor(0, 2, 0); -} else { - x_320 = x_311; -} -lean_ctor_set(x_320, 0, x_317); -lean_ctor_set(x_320, 1, x_319); +lean_object* x_301; +x_301 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_301, 0, x_238); +lean_ctor_set(x_301, 1, x_259); +lean_ctor_set_uint8(x_301, sizeof(void*)*2, x_251); +if (lean_obj_tag(x_235) == 0) +{ +uint8_t x_302; +lean_dec(x_239); +lean_dec(x_237); +lean_dec(x_236); +x_302 = l_Lean_Format_isNil(x_301); +if (x_302 == 0) +{ +lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; +x_303 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_303, 0, x_301); +lean_ctor_set(x_303, 1, x_259); +lean_ctor_set_uint8(x_303, sizeof(void*)*2, x_251); +x_304 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_304, 0, x_303); +lean_ctor_set(x_304, 1, x_264); +lean_ctor_set_uint8(x_304, sizeof(void*)*2, x_251); +x_305 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_305, 0, x_266); +lean_ctor_set(x_305, 1, x_304); +x_306 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_306, 0, x_265); +lean_ctor_set(x_306, 1, x_305); x_7 = x_13; -x_8 = x_320; +x_8 = x_306; goto _start; } else { -lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; uint8_t x_326; -x_322 = lean_ctor_get(x_314, 0); -lean_inc(x_322); -if (lean_is_exclusive(x_314)) { - lean_ctor_release(x_314, 0); - lean_ctor_release(x_314, 1); - x_323 = x_314; -} else { - lean_dec_ref(x_314); - x_323 = lean_box(0); +lean_object* x_308; lean_object* x_309; lean_object* x_310; +x_308 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_308, 0, x_301); +lean_ctor_set(x_308, 1, x_264); +lean_ctor_set_uint8(x_308, sizeof(void*)*2, x_251); +x_309 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_309, 0, x_266); +lean_ctor_set(x_309, 1, x_308); +x_310 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_310, 0, x_265); +lean_ctor_set(x_310, 1, x_309); +x_7 = x_13; +x_8 = x_310; +goto _start; } -x_324 = lean_ctor_get(x_309, 0); -lean_inc(x_324); -if (lean_is_exclusive(x_309)) { - lean_ctor_release(x_309, 0); - x_325 = x_309; +} +else +{ +x_267 = x_301; +goto block_300; +} +} +else +{ +if (lean_obj_tag(x_235) == 0) +{ +lean_object* x_312; lean_object* x_313; lean_object* x_314; +lean_dec(x_239); +lean_dec(x_237); +lean_dec(x_236); +x_312 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_312, 0, x_238); +lean_ctor_set(x_312, 1, x_264); +lean_ctor_set_uint8(x_312, sizeof(void*)*2, x_251); +x_313 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_313, 0, x_266); +lean_ctor_set(x_313, 1, x_312); +x_314 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_314, 0, x_265); +lean_ctor_set(x_314, 1, x_313); +x_7 = x_13; +x_8 = x_314; +goto _start; +} +else +{ +x_267 = x_238; +goto block_300; +} +} +block_300: +{ +if (lean_obj_tag(x_237) == 0) +{ +uint8_t x_268; +lean_dec(x_235); +x_268 = l_Lean_Format_isNil(x_267); +if (x_268 == 0) +{ +lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; +x_269 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_269, 0, x_267); +lean_ctor_set(x_269, 1, x_259); +lean_ctor_set_uint8(x_269, sizeof(void*)*2, x_251); +x_270 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_270, 0, x_269); +lean_ctor_set(x_270, 1, x_264); +lean_ctor_set_uint8(x_270, sizeof(void*)*2, x_251); +if (lean_is_scalar(x_239)) { + x_271 = lean_alloc_ctor(0, 2, 0); } else { - lean_dec_ref(x_309); + x_271 = x_239; +} +lean_ctor_set(x_271, 0, x_266); +lean_ctor_set(x_271, 1, x_270); +if (lean_is_scalar(x_236)) { + x_272 = lean_alloc_ctor(0, 2, 0); +} else { + x_272 = x_236; +} +lean_ctor_set(x_272, 0, x_265); +lean_ctor_set(x_272, 1, x_271); +x_7 = x_13; +x_8 = x_272; +goto _start; +} +else +{ +lean_object* x_274; lean_object* x_275; lean_object* x_276; +x_274 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_274, 0, x_267); +lean_ctor_set(x_274, 1, x_264); +lean_ctor_set_uint8(x_274, sizeof(void*)*2, x_251); +if (lean_is_scalar(x_239)) { + x_275 = lean_alloc_ctor(0, 2, 0); +} else { + x_275 = x_239; +} +lean_ctor_set(x_275, 0, x_266); +lean_ctor_set(x_275, 1, x_274); +if (lean_is_scalar(x_236)) { + x_276 = lean_alloc_ctor(0, 2, 0); +} else { + x_276 = x_236; +} +lean_ctor_set(x_276, 0, x_265); +lean_ctor_set(x_276, 1, x_275); +x_7 = x_13; +x_8 = x_276; +goto _start; +} +} +else +{ +lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; uint8_t x_290; +x_278 = lean_ctor_get(x_237, 0); +lean_inc(x_278); +lean_dec(x_237); +x_279 = l_List_reverse___rarg(x_235); +x_280 = l_Lean_Format_flatten___main___closed__1; +x_281 = l_Lean_Format_joinSep___main___at_Lean_ppGoal___spec__1(x_279, x_280); +x_282 = l_Array_iterateMAux___main___at_Lean_ppGoal___spec__6___closed__2; +x_283 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_283, 0, x_281); +lean_ctor_set(x_283, 1, x_282); +lean_ctor_set_uint8(x_283, sizeof(void*)*2, x_251); +lean_inc(x_3); +lean_inc(x_4); +lean_inc(x_2); +lean_inc(x_1); +x_284 = l_Lean_ppExpr(x_1, x_2, x_4, x_3, x_278); +x_285 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_285, 0, x_259); +lean_ctor_set(x_285, 1, x_284); +lean_ctor_set_uint8(x_285, sizeof(void*)*2, x_251); +x_286 = lean_alloc_ctor(3, 2, 0); +lean_ctor_set(x_286, 0, x_261); +lean_ctor_set(x_286, 1, x_285); +x_287 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_287, 0, x_283); +lean_ctor_set(x_287, 1, x_286); +lean_ctor_set_uint8(x_287, sizeof(void*)*2, x_251); +x_288 = lean_format_group(x_287); +x_289 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_289, 0, x_267); +lean_ctor_set(x_289, 1, x_288); +lean_ctor_set_uint8(x_289, sizeof(void*)*2, x_251); +x_290 = l_Lean_Format_isNil(x_289); +if (x_290 == 0) +{ +lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; +x_291 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_291, 0, x_289); +lean_ctor_set(x_291, 1, x_259); +lean_ctor_set_uint8(x_291, sizeof(void*)*2, x_251); +x_292 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_292, 0, x_291); +lean_ctor_set(x_292, 1, x_264); +lean_ctor_set_uint8(x_292, sizeof(void*)*2, x_251); +if (lean_is_scalar(x_239)) { + x_293 = lean_alloc_ctor(0, 2, 0); +} else { + x_293 = x_239; +} +lean_ctor_set(x_293, 0, x_266); +lean_ctor_set(x_293, 1, x_292); +if (lean_is_scalar(x_236)) { + x_294 = lean_alloc_ctor(0, 2, 0); +} else { + x_294 = x_236; +} +lean_ctor_set(x_294, 0, x_265); +lean_ctor_set(x_294, 1, x_293); +x_7 = x_13; +x_8 = x_294; +goto _start; +} +else +{ +lean_object* x_296; lean_object* x_297; lean_object* x_298; +x_296 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_296, 0, x_289); +lean_ctor_set(x_296, 1, x_264); +lean_ctor_set_uint8(x_296, sizeof(void*)*2, x_251); +if (lean_is_scalar(x_239)) { + x_297 = lean_alloc_ctor(0, 2, 0); +} else { + x_297 = x_239; +} +lean_ctor_set(x_297, 0, x_266); +lean_ctor_set(x_297, 1, x_296); +if (lean_is_scalar(x_236)) { + x_298 = lean_alloc_ctor(0, 2, 0); +} else { + x_298 = x_236; +} +lean_ctor_set(x_298, 0, x_265); +lean_ctor_set(x_298, 1, x_297); +x_7 = x_13; +x_8 = x_298; +goto _start; +} +} +} +} +} +else +{ +lean_object* x_316; +x_316 = lean_ctor_get(x_11, 0); +lean_inc(x_316); +lean_dec(x_11); +if (lean_obj_tag(x_316) == 0) +{ +lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; +x_317 = lean_ctor_get(x_8, 0); +lean_inc(x_317); +lean_dec(x_8); +x_318 = lean_ctor_get(x_15, 0); +lean_inc(x_318); +x_319 = lean_ctor_get(x_15, 1); +lean_inc(x_319); +if (lean_is_exclusive(x_15)) { + lean_ctor_release(x_15, 0); + lean_ctor_release(x_15, 1); + x_320 = x_15; +} else { + lean_dec_ref(x_15); + x_320 = lean_box(0); +} +x_321 = lean_ctor_get(x_316, 2); +lean_inc(x_321); +x_322 = lean_ctor_get(x_316, 3); +lean_inc(x_322); +lean_dec(x_316); +lean_inc(x_2); +x_323 = l_Lean_MetavarContext_instantiateMVars(x_2, x_322); +if (lean_obj_tag(x_318) == 0) +{ +lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; +x_324 = lean_ctor_get(x_323, 0); +lean_inc(x_324); +if (lean_is_exclusive(x_323)) { + lean_ctor_release(x_323, 0); + lean_ctor_release(x_323, 1); + x_325 = x_323; +} else { + lean_dec_ref(x_323); x_325 = lean_box(0); } -x_326 = lean_expr_eqv(x_324, x_322); -if (x_326 == 0) -{ -uint8_t x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; -x_327 = l_Lean_Format_isNil(x_310); -x_328 = lean_box(0); -x_329 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_329, 0, x_312); +x_326 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_326, 0, x_321); +lean_ctor_set(x_326, 1, x_317); +x_327 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_327, 0, x_324); +if (lean_is_scalar(x_325)) { + x_328 = lean_alloc_ctor(0, 2, 0); +} else { + x_328 = x_325; +} +lean_ctor_set(x_328, 0, x_327); +lean_ctor_set(x_328, 1, x_319); +if (lean_is_scalar(x_320)) { + x_329 = lean_alloc_ctor(0, 2, 0); +} else { + x_329 = x_320; +} +lean_ctor_set(x_329, 0, x_326); lean_ctor_set(x_329, 1, x_328); -if (lean_is_scalar(x_325)) { - x_330 = lean_alloc_ctor(1, 1, 0); -} else { - x_330 = x_325; -} -lean_ctor_set(x_330, 0, x_322); -if (x_327 == 0) -{ -uint8_t x_331; lean_object* x_332; lean_object* x_333; -x_331 = 0; -x_332 = lean_box(1); -x_333 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_333, 0, x_310); -lean_ctor_set(x_333, 1, x_332); -lean_ctor_set_uint8(x_333, sizeof(void*)*2, x_331); -if (lean_obj_tag(x_308) == 0) -{ -lean_object* x_334; lean_object* x_335; -lean_dec(x_324); -if (lean_is_scalar(x_323)) { - x_334 = lean_alloc_ctor(0, 2, 0); -} else { - x_334 = x_323; -} -lean_ctor_set(x_334, 0, x_330); -lean_ctor_set(x_334, 1, x_333); -if (lean_is_scalar(x_311)) { - x_335 = lean_alloc_ctor(0, 2, 0); -} else { - x_335 = x_311; -} -lean_ctor_set(x_335, 0, x_329); -lean_ctor_set(x_335, 1, x_334); x_7 = x_13; -x_8 = x_335; +x_8 = x_329; goto _start; } else { -lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; -x_337 = l_Lean_Format_flatten___main___closed__1; -x_338 = l_Lean_Format_joinSep___main___at_Lean_ppGoal___spec__1(x_308, x_337); -x_339 = l_Array_iterateMAux___main___at_Lean_ppGoal___spec__6___closed__2; -x_340 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_340, 0, x_338); -lean_ctor_set(x_340, 1, x_339); -lean_ctor_set_uint8(x_340, sizeof(void*)*2, x_331); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -lean_inc(x_1); -x_341 = l_Lean_ppExpr(x_1, x_2, x_3, x_4, x_324); +lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; uint8_t x_335; +x_331 = lean_ctor_get(x_323, 0); +lean_inc(x_331); +if (lean_is_exclusive(x_323)) { + lean_ctor_release(x_323, 0); + lean_ctor_release(x_323, 1); + x_332 = x_323; +} else { + lean_dec_ref(x_323); + x_332 = lean_box(0); +} +x_333 = lean_ctor_get(x_318, 0); +lean_inc(x_333); +if (lean_is_exclusive(x_318)) { + lean_ctor_release(x_318, 0); + x_334 = x_318; +} else { + lean_dec_ref(x_318); + x_334 = lean_box(0); +} +x_335 = lean_expr_eqv(x_333, x_331); +if (x_335 == 0) +{ +uint8_t x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; +x_336 = l_Lean_Format_isNil(x_319); +x_337 = lean_box(0); +x_338 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_338, 0, x_321); +lean_ctor_set(x_338, 1, x_337); +if (lean_is_scalar(x_334)) { + x_339 = lean_alloc_ctor(1, 1, 0); +} else { + x_339 = x_334; +} +lean_ctor_set(x_339, 0, x_331); +if (x_336 == 0) +{ +uint8_t x_340; lean_object* x_341; lean_object* x_342; +x_340 = 0; +x_341 = lean_box(1); x_342 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_342, 0, x_332); +lean_ctor_set(x_342, 0, x_319); lean_ctor_set(x_342, 1, x_341); -lean_ctor_set_uint8(x_342, sizeof(void*)*2, x_331); -x_343 = lean_unsigned_to_nat(2u); -x_344 = lean_alloc_ctor(3, 2, 0); -lean_ctor_set(x_344, 0, x_343); -lean_ctor_set(x_344, 1, x_342); -x_345 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_345, 0, x_340); -lean_ctor_set(x_345, 1, x_344); -lean_ctor_set_uint8(x_345, sizeof(void*)*2, x_331); -x_346 = lean_format_group(x_345); -x_347 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_347, 0, x_333); -lean_ctor_set(x_347, 1, x_346); -lean_ctor_set_uint8(x_347, sizeof(void*)*2, x_331); -if (lean_is_scalar(x_323)) { - x_348 = lean_alloc_ctor(0, 2, 0); -} else { - x_348 = x_323; -} -lean_ctor_set(x_348, 0, x_330); -lean_ctor_set(x_348, 1, x_347); -if (lean_is_scalar(x_311)) { - x_349 = lean_alloc_ctor(0, 2, 0); -} else { - x_349 = x_311; -} -lean_ctor_set(x_349, 0, x_329); -lean_ctor_set(x_349, 1, x_348); -x_7 = x_13; -x_8 = x_349; -goto _start; -} -} -else +lean_ctor_set_uint8(x_342, sizeof(void*)*2, x_340); +if (lean_obj_tag(x_317) == 0) { -if (lean_obj_tag(x_308) == 0) -{ -lean_object* x_351; lean_object* x_352; -lean_dec(x_324); -if (lean_is_scalar(x_323)) { - x_351 = lean_alloc_ctor(0, 2, 0); +lean_object* x_343; lean_object* x_344; +lean_dec(x_333); +if (lean_is_scalar(x_332)) { + x_343 = lean_alloc_ctor(0, 2, 0); } else { - x_351 = x_323; + x_343 = x_332; } -lean_ctor_set(x_351, 0, x_330); -lean_ctor_set(x_351, 1, x_310); -if (lean_is_scalar(x_311)) { - x_352 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_343, 0, x_339); +lean_ctor_set(x_343, 1, x_342); +if (lean_is_scalar(x_320)) { + x_344 = lean_alloc_ctor(0, 2, 0); } else { - x_352 = x_311; + x_344 = x_320; } -lean_ctor_set(x_352, 0, x_329); -lean_ctor_set(x_352, 1, x_351); +lean_ctor_set(x_344, 0, x_338); +lean_ctor_set(x_344, 1, x_343); x_7 = x_13; -x_8 = x_352; +x_8 = x_344; goto _start; } else { -lean_object* x_354; lean_object* x_355; uint8_t x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; -x_354 = l_Lean_Format_flatten___main___closed__1; -x_355 = l_Lean_Format_joinSep___main___at_Lean_ppGoal___spec__1(x_308, x_354); -x_356 = 0; -x_357 = l_Array_iterateMAux___main___at_Lean_ppGoal___spec__6___closed__2; -x_358 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_358, 0, x_355); -lean_ctor_set(x_358, 1, x_357); -lean_ctor_set_uint8(x_358, sizeof(void*)*2, x_356); -lean_inc(x_4); +lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; +x_346 = l_List_reverse___rarg(x_317); +x_347 = l_Lean_Format_flatten___main___closed__1; +x_348 = l_Lean_Format_joinSep___main___at_Lean_ppGoal___spec__1(x_346, x_347); +x_349 = l_Array_iterateMAux___main___at_Lean_ppGoal___spec__6___closed__2; +x_350 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_350, 0, x_348); +lean_ctor_set(x_350, 1, x_349); +lean_ctor_set_uint8(x_350, sizeof(void*)*2, x_340); lean_inc(x_3); +lean_inc(x_4); lean_inc(x_2); lean_inc(x_1); -x_359 = l_Lean_ppExpr(x_1, x_2, x_3, x_4, x_324); -x_360 = lean_box(1); -x_361 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_361, 0, x_360); -lean_ctor_set(x_361, 1, x_359); -lean_ctor_set_uint8(x_361, sizeof(void*)*2, x_356); -x_362 = lean_unsigned_to_nat(2u); -x_363 = lean_alloc_ctor(3, 2, 0); -lean_ctor_set(x_363, 0, x_362); -lean_ctor_set(x_363, 1, x_361); -x_364 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_364, 0, x_358); -lean_ctor_set(x_364, 1, x_363); -lean_ctor_set_uint8(x_364, sizeof(void*)*2, x_356); -x_365 = lean_format_group(x_364); -x_366 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_366, 0, x_310); -lean_ctor_set(x_366, 1, x_365); -lean_ctor_set_uint8(x_366, sizeof(void*)*2, x_356); -if (lean_is_scalar(x_323)) { - x_367 = lean_alloc_ctor(0, 2, 0); +x_351 = l_Lean_ppExpr(x_1, x_2, x_4, x_3, x_333); +x_352 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_352, 0, x_341); +lean_ctor_set(x_352, 1, x_351); +lean_ctor_set_uint8(x_352, sizeof(void*)*2, x_340); +x_353 = lean_unsigned_to_nat(2u); +x_354 = lean_alloc_ctor(3, 2, 0); +lean_ctor_set(x_354, 0, x_353); +lean_ctor_set(x_354, 1, x_352); +x_355 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_355, 0, x_350); +lean_ctor_set(x_355, 1, x_354); +lean_ctor_set_uint8(x_355, sizeof(void*)*2, x_340); +x_356 = lean_format_group(x_355); +x_357 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_357, 0, x_342); +lean_ctor_set(x_357, 1, x_356); +lean_ctor_set_uint8(x_357, sizeof(void*)*2, x_340); +if (lean_is_scalar(x_332)) { + x_358 = lean_alloc_ctor(0, 2, 0); } else { - x_367 = x_323; + x_358 = x_332; } -lean_ctor_set(x_367, 0, x_330); -lean_ctor_set(x_367, 1, x_366); -if (lean_is_scalar(x_311)) { - x_368 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_358, 0, x_339); +lean_ctor_set(x_358, 1, x_357); +if (lean_is_scalar(x_320)) { + x_359 = lean_alloc_ctor(0, 2, 0); } else { - x_368 = x_311; + x_359 = x_320; } -lean_ctor_set(x_368, 0, x_329); -lean_ctor_set(x_368, 1, x_367); +lean_ctor_set(x_359, 0, x_338); +lean_ctor_set(x_359, 1, x_358); x_7 = x_13; -x_8 = x_368; +x_8 = x_359; goto _start; } } -} else { -lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; -lean_dec(x_324); -x_370 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_370, 0, x_312); -lean_ctor_set(x_370, 1, x_308); -if (lean_is_scalar(x_325)) { - x_371 = lean_alloc_ctor(1, 1, 0); +if (lean_obj_tag(x_317) == 0) +{ +lean_object* x_361; lean_object* x_362; +lean_dec(x_333); +if (lean_is_scalar(x_332)) { + x_361 = lean_alloc_ctor(0, 2, 0); } else { - x_371 = x_325; + x_361 = x_332; } -lean_ctor_set(x_371, 0, x_322); -if (lean_is_scalar(x_323)) { - x_372 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_361, 0, x_339); +lean_ctor_set(x_361, 1, x_319); +if (lean_is_scalar(x_320)) { + x_362 = lean_alloc_ctor(0, 2, 0); } else { - x_372 = x_323; + x_362 = x_320; } +lean_ctor_set(x_362, 0, x_338); +lean_ctor_set(x_362, 1, x_361); +x_7 = x_13; +x_8 = x_362; +goto _start; +} +else +{ +lean_object* x_364; lean_object* x_365; lean_object* x_366; uint8_t x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; +x_364 = l_List_reverse___rarg(x_317); +x_365 = l_Lean_Format_flatten___main___closed__1; +x_366 = l_Lean_Format_joinSep___main___at_Lean_ppGoal___spec__1(x_364, x_365); +x_367 = 0; +x_368 = l_Array_iterateMAux___main___at_Lean_ppGoal___spec__6___closed__2; +x_369 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_369, 0, x_366); +lean_ctor_set(x_369, 1, x_368); +lean_ctor_set_uint8(x_369, sizeof(void*)*2, x_367); +lean_inc(x_3); +lean_inc(x_4); +lean_inc(x_2); +lean_inc(x_1); +x_370 = l_Lean_ppExpr(x_1, x_2, x_4, x_3, x_333); +x_371 = lean_box(1); +x_372 = lean_alloc_ctor(4, 2, 1); lean_ctor_set(x_372, 0, x_371); -lean_ctor_set(x_372, 1, x_310); -if (lean_is_scalar(x_311)) { - x_373 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_372, 1, x_370); +lean_ctor_set_uint8(x_372, sizeof(void*)*2, x_367); +x_373 = lean_unsigned_to_nat(2u); +x_374 = lean_alloc_ctor(3, 2, 0); +lean_ctor_set(x_374, 0, x_373); +lean_ctor_set(x_374, 1, x_372); +x_375 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_375, 0, x_369); +lean_ctor_set(x_375, 1, x_374); +lean_ctor_set_uint8(x_375, sizeof(void*)*2, x_367); +x_376 = lean_format_group(x_375); +x_377 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_377, 0, x_319); +lean_ctor_set(x_377, 1, x_376); +lean_ctor_set_uint8(x_377, sizeof(void*)*2, x_367); +if (lean_is_scalar(x_332)) { + x_378 = lean_alloc_ctor(0, 2, 0); } else { - x_373 = x_311; + x_378 = x_332; } -lean_ctor_set(x_373, 0, x_370); -lean_ctor_set(x_373, 1, x_372); +lean_ctor_set(x_378, 0, x_339); +lean_ctor_set(x_378, 1, x_377); +if (lean_is_scalar(x_320)) { + x_379 = lean_alloc_ctor(0, 2, 0); +} else { + x_379 = x_320; +} +lean_ctor_set(x_379, 0, x_338); +lean_ctor_set(x_379, 1, x_378); x_7 = x_13; -x_8 = x_373; +x_8 = x_379; goto _start; } } } else { -lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; uint8_t x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; uint8_t x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; -x_375 = lean_ctor_get(x_8, 0); -lean_inc(x_375); +lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; +lean_dec(x_333); +x_381 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_381, 0, x_321); +lean_ctor_set(x_381, 1, x_317); +if (lean_is_scalar(x_334)) { + x_382 = lean_alloc_ctor(1, 1, 0); +} else { + x_382 = x_334; +} +lean_ctor_set(x_382, 0, x_331); +if (lean_is_scalar(x_332)) { + x_383 = lean_alloc_ctor(0, 2, 0); +} else { + x_383 = x_332; +} +lean_ctor_set(x_383, 0, x_382); +lean_ctor_set(x_383, 1, x_319); +if (lean_is_scalar(x_320)) { + x_384 = lean_alloc_ctor(0, 2, 0); +} else { + x_384 = x_320; +} +lean_ctor_set(x_384, 0, x_381); +lean_ctor_set(x_384, 1, x_383); +x_7 = x_13; +x_8 = x_384; +goto _start; +} +} +} +else +{ +lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; uint8_t x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; uint8_t x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; +x_386 = lean_ctor_get(x_8, 0); +lean_inc(x_386); if (lean_is_exclusive(x_8)) { lean_ctor_release(x_8, 0); lean_ctor_release(x_8, 1); - x_376 = x_8; + x_387 = x_8; } else { lean_dec_ref(x_8); - x_376 = lean_box(0); + x_387 = lean_box(0); } -x_377 = lean_ctor_get(x_15, 0); -lean_inc(x_377); -x_378 = lean_ctor_get(x_15, 1); -lean_inc(x_378); +x_388 = lean_ctor_get(x_15, 0); +lean_inc(x_388); +x_389 = lean_ctor_get(x_15, 1); +lean_inc(x_389); if (lean_is_exclusive(x_15)) { lean_ctor_release(x_15, 0); lean_ctor_release(x_15, 1); - x_379 = x_15; + x_390 = x_15; } else { lean_dec_ref(x_15); - x_379 = lean_box(0); + x_390 = lean_box(0); } -x_380 = lean_ctor_get(x_307, 2); -lean_inc(x_380); -x_381 = lean_ctor_get(x_307, 3); -lean_inc(x_381); -x_382 = lean_ctor_get(x_307, 4); -lean_inc(x_382); -lean_dec(x_307); -x_383 = l_Lean_Format_isNil(x_378); +x_391 = lean_ctor_get(x_316, 2); +lean_inc(x_391); +x_392 = lean_ctor_get(x_316, 3); +lean_inc(x_392); +x_393 = lean_ctor_get(x_316, 4); +lean_inc(x_393); +lean_dec(x_316); +x_394 = l_Lean_Format_isNil(x_389); lean_inc(x_2); -x_384 = l_Lean_MetavarContext_instantiateMVars(x_2, x_381); -x_385 = lean_ctor_get(x_384, 0); -lean_inc(x_385); -lean_dec(x_384); +x_395 = l_Lean_MetavarContext_instantiateMVars(x_2, x_392); +x_396 = lean_ctor_get(x_395, 0); +lean_inc(x_396); +lean_dec(x_395); lean_inc(x_2); -x_386 = l_Lean_MetavarContext_instantiateMVars(x_2, x_382); -x_387 = lean_ctor_get(x_386, 0); -lean_inc(x_387); +x_397 = l_Lean_MetavarContext_instantiateMVars(x_2, x_393); +x_398 = lean_ctor_get(x_397, 0); +lean_inc(x_398); +lean_dec(x_397); +x_399 = l_Lean_Name_toString___closed__1; +x_400 = l_Lean_Name_toStringWithSep___main(x_399, x_391); +x_401 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_401, 0, x_400); +x_402 = 0; +x_403 = l_Array_iterateMAux___main___at_Lean_ppGoal___spec__6___closed__4; +x_404 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_404, 0, x_401); +lean_ctor_set(x_404, 1, x_403); +lean_ctor_set_uint8(x_404, sizeof(void*)*2, x_402); +lean_inc(x_3); +lean_inc(x_4); +lean_inc(x_2); +lean_inc(x_1); +x_405 = l_Lean_ppExpr(x_1, x_2, x_4, x_3, x_396); +x_406 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_406, 0, x_404); +lean_ctor_set(x_406, 1, x_405); +lean_ctor_set_uint8(x_406, sizeof(void*)*2, x_402); +x_407 = l_Array_iterateMAux___main___at_Lean_ppGoal___spec__6___closed__6; +x_408 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_408, 0, x_406); +lean_ctor_set(x_408, 1, x_407); +lean_ctor_set_uint8(x_408, sizeof(void*)*2, x_402); +lean_inc(x_3); +lean_inc(x_4); +lean_inc(x_2); +lean_inc(x_1); +x_409 = l_Lean_ppExpr(x_1, x_2, x_4, x_3, x_398); +x_410 = lean_box(1); +x_411 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_411, 0, x_410); +lean_ctor_set(x_411, 1, x_409); +lean_ctor_set_uint8(x_411, sizeof(void*)*2, x_402); +x_412 = lean_unsigned_to_nat(2u); +x_413 = lean_alloc_ctor(3, 2, 0); +lean_ctor_set(x_413, 0, x_412); +lean_ctor_set(x_413, 1, x_411); +x_414 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_414, 0, x_408); +lean_ctor_set(x_414, 1, x_413); +lean_ctor_set_uint8(x_414, sizeof(void*)*2, x_402); +x_415 = lean_format_group(x_414); +x_416 = lean_box(0); +x_417 = lean_box(0); +if (x_394 == 0) +{ +lean_object* x_452; +x_452 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_452, 0, x_389); +lean_ctor_set(x_452, 1, x_410); +lean_ctor_set_uint8(x_452, sizeof(void*)*2, x_402); +if (lean_obj_tag(x_386) == 0) +{ +uint8_t x_453; +lean_dec(x_390); +lean_dec(x_388); +lean_dec(x_387); +x_453 = l_Lean_Format_isNil(x_452); +if (x_453 == 0) +{ +lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; +x_454 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_454, 0, x_452); +lean_ctor_set(x_454, 1, x_410); +lean_ctor_set_uint8(x_454, sizeof(void*)*2, x_402); +x_455 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_455, 0, x_454); +lean_ctor_set(x_455, 1, x_415); +lean_ctor_set_uint8(x_455, sizeof(void*)*2, x_402); +x_456 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_456, 0, x_417); +lean_ctor_set(x_456, 1, x_455); +x_457 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_457, 0, x_416); +lean_ctor_set(x_457, 1, x_456); +x_7 = x_13; +x_8 = x_457; +goto _start; +} +else +{ +lean_object* x_459; lean_object* x_460; lean_object* x_461; +x_459 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_459, 0, x_452); +lean_ctor_set(x_459, 1, x_415); +lean_ctor_set_uint8(x_459, sizeof(void*)*2, x_402); +x_460 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_460, 0, x_417); +lean_ctor_set(x_460, 1, x_459); +x_461 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_461, 0, x_416); +lean_ctor_set(x_461, 1, x_460); +x_7 = x_13; +x_8 = x_461; +goto _start; +} +} +else +{ +x_418 = x_452; +goto block_451; +} +} +else +{ +if (lean_obj_tag(x_386) == 0) +{ +lean_object* x_463; lean_object* x_464; lean_object* x_465; +lean_dec(x_390); +lean_dec(x_388); +lean_dec(x_387); +x_463 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_463, 0, x_389); +lean_ctor_set(x_463, 1, x_415); +lean_ctor_set_uint8(x_463, sizeof(void*)*2, x_402); +x_464 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_464, 0, x_417); +lean_ctor_set(x_464, 1, x_463); +x_465 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_465, 0, x_416); +lean_ctor_set(x_465, 1, x_464); +x_7 = x_13; +x_8 = x_465; +goto _start; +} +else +{ +x_418 = x_389; +goto block_451; +} +} +block_451: +{ +if (lean_obj_tag(x_388) == 0) +{ +uint8_t x_419; lean_dec(x_386); -x_388 = l_Lean_Name_toString___closed__1; -x_389 = l_Lean_Name_toStringWithSep___main(x_388, x_380); -x_390 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_390, 0, x_389); -x_391 = 0; -x_392 = l_Array_iterateMAux___main___at_Lean_ppGoal___spec__6___closed__4; -x_393 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_393, 0, x_390); -lean_ctor_set(x_393, 1, x_392); -lean_ctor_set_uint8(x_393, sizeof(void*)*2, x_391); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -lean_inc(x_1); -x_394 = l_Lean_ppExpr(x_1, x_2, x_3, x_4, x_385); -x_395 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_395, 0, x_393); -lean_ctor_set(x_395, 1, x_394); -lean_ctor_set_uint8(x_395, sizeof(void*)*2, x_391); -x_396 = l_Array_iterateMAux___main___at_Lean_ppGoal___spec__6___closed__6; -x_397 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_397, 0, x_395); -lean_ctor_set(x_397, 1, x_396); -lean_ctor_set_uint8(x_397, sizeof(void*)*2, x_391); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -lean_inc(x_1); -x_398 = l_Lean_ppExpr(x_1, x_2, x_3, x_4, x_387); -x_399 = lean_box(1); -x_400 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_400, 0, x_399); -lean_ctor_set(x_400, 1, x_398); -lean_ctor_set_uint8(x_400, sizeof(void*)*2, x_391); -x_401 = lean_unsigned_to_nat(2u); -x_402 = lean_alloc_ctor(3, 2, 0); -lean_ctor_set(x_402, 0, x_401); -lean_ctor_set(x_402, 1, x_400); -x_403 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_403, 0, x_397); -lean_ctor_set(x_403, 1, x_402); -lean_ctor_set_uint8(x_403, sizeof(void*)*2, x_391); -x_404 = lean_format_group(x_403); -x_405 = lean_box(0); -x_406 = lean_box(0); -if (x_383 == 0) +x_419 = l_Lean_Format_isNil(x_418); +if (x_419 == 0) { -lean_object* x_440; +lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; +x_420 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_420, 0, x_418); +lean_ctor_set(x_420, 1, x_410); +lean_ctor_set_uint8(x_420, sizeof(void*)*2, x_402); +x_421 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_421, 0, x_420); +lean_ctor_set(x_421, 1, x_415); +lean_ctor_set_uint8(x_421, sizeof(void*)*2, x_402); +if (lean_is_scalar(x_390)) { + x_422 = lean_alloc_ctor(0, 2, 0); +} else { + x_422 = x_390; +} +lean_ctor_set(x_422, 0, x_417); +lean_ctor_set(x_422, 1, x_421); +if (lean_is_scalar(x_387)) { + x_423 = lean_alloc_ctor(0, 2, 0); +} else { + x_423 = x_387; +} +lean_ctor_set(x_423, 0, x_416); +lean_ctor_set(x_423, 1, x_422); +x_7 = x_13; +x_8 = x_423; +goto _start; +} +else +{ +lean_object* x_425; lean_object* x_426; lean_object* x_427; +x_425 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_425, 0, x_418); +lean_ctor_set(x_425, 1, x_415); +lean_ctor_set_uint8(x_425, sizeof(void*)*2, x_402); +if (lean_is_scalar(x_390)) { + x_426 = lean_alloc_ctor(0, 2, 0); +} else { + x_426 = x_390; +} +lean_ctor_set(x_426, 0, x_417); +lean_ctor_set(x_426, 1, x_425); +if (lean_is_scalar(x_387)) { + x_427 = lean_alloc_ctor(0, 2, 0); +} else { + x_427 = x_387; +} +lean_ctor_set(x_427, 0, x_416); +lean_ctor_set(x_427, 1, x_426); +x_7 = x_13; +x_8 = x_427; +goto _start; +} +} +else +{ +lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; uint8_t x_441; +x_429 = lean_ctor_get(x_388, 0); +lean_inc(x_429); +lean_dec(x_388); +x_430 = l_List_reverse___rarg(x_386); +x_431 = l_Lean_Format_flatten___main___closed__1; +x_432 = l_Lean_Format_joinSep___main___at_Lean_ppGoal___spec__1(x_430, x_431); +x_433 = l_Array_iterateMAux___main___at_Lean_ppGoal___spec__6___closed__2; +x_434 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_434, 0, x_432); +lean_ctor_set(x_434, 1, x_433); +lean_ctor_set_uint8(x_434, sizeof(void*)*2, x_402); +lean_inc(x_3); +lean_inc(x_4); +lean_inc(x_2); +lean_inc(x_1); +x_435 = l_Lean_ppExpr(x_1, x_2, x_4, x_3, x_429); +x_436 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_436, 0, x_410); +lean_ctor_set(x_436, 1, x_435); +lean_ctor_set_uint8(x_436, sizeof(void*)*2, x_402); +x_437 = lean_alloc_ctor(3, 2, 0); +lean_ctor_set(x_437, 0, x_412); +lean_ctor_set(x_437, 1, x_436); +x_438 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_438, 0, x_434); +lean_ctor_set(x_438, 1, x_437); +lean_ctor_set_uint8(x_438, sizeof(void*)*2, x_402); +x_439 = lean_format_group(x_438); x_440 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_440, 0, x_378); -lean_ctor_set(x_440, 1, x_399); -lean_ctor_set_uint8(x_440, sizeof(void*)*2, x_391); -if (lean_obj_tag(x_375) == 0) -{ -uint8_t x_441; -lean_dec(x_379); -lean_dec(x_377); -lean_dec(x_376); +lean_ctor_set(x_440, 0, x_418); +lean_ctor_set(x_440, 1, x_439); +lean_ctor_set_uint8(x_440, sizeof(void*)*2, x_402); x_441 = l_Lean_Format_isNil(x_440); if (x_441 == 0) { lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; x_442 = lean_alloc_ctor(4, 2, 1); lean_ctor_set(x_442, 0, x_440); -lean_ctor_set(x_442, 1, x_399); -lean_ctor_set_uint8(x_442, sizeof(void*)*2, x_391); +lean_ctor_set(x_442, 1, x_410); +lean_ctor_set_uint8(x_442, sizeof(void*)*2, x_402); x_443 = lean_alloc_ctor(4, 2, 1); lean_ctor_set(x_443, 0, x_442); -lean_ctor_set(x_443, 1, x_404); -lean_ctor_set_uint8(x_443, sizeof(void*)*2, x_391); -x_444 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_444, 0, x_406); +lean_ctor_set(x_443, 1, x_415); +lean_ctor_set_uint8(x_443, sizeof(void*)*2, x_402); +if (lean_is_scalar(x_390)) { + x_444 = lean_alloc_ctor(0, 2, 0); +} else { + x_444 = x_390; +} +lean_ctor_set(x_444, 0, x_417); lean_ctor_set(x_444, 1, x_443); -x_445 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_445, 0, x_405); +if (lean_is_scalar(x_387)) { + x_445 = lean_alloc_ctor(0, 2, 0); +} else { + x_445 = x_387; +} +lean_ctor_set(x_445, 0, x_416); lean_ctor_set(x_445, 1, x_444); x_7 = x_13; x_8 = x_445; @@ -1804,205 +1995,27 @@ else lean_object* x_447; lean_object* x_448; lean_object* x_449; x_447 = lean_alloc_ctor(4, 2, 1); lean_ctor_set(x_447, 0, x_440); -lean_ctor_set(x_447, 1, x_404); -lean_ctor_set_uint8(x_447, sizeof(void*)*2, x_391); -x_448 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_448, 0, x_406); +lean_ctor_set(x_447, 1, x_415); +lean_ctor_set_uint8(x_447, sizeof(void*)*2, x_402); +if (lean_is_scalar(x_390)) { + x_448 = lean_alloc_ctor(0, 2, 0); +} else { + x_448 = x_390; +} +lean_ctor_set(x_448, 0, x_417); lean_ctor_set(x_448, 1, x_447); -x_449 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_449, 0, x_405); +if (lean_is_scalar(x_387)) { + x_449 = lean_alloc_ctor(0, 2, 0); +} else { + x_449 = x_387; +} +lean_ctor_set(x_449, 0, x_416); lean_ctor_set(x_449, 1, x_448); x_7 = x_13; x_8 = x_449; goto _start; } } -else -{ -x_407 = x_440; -goto block_439; -} -} -else -{ -if (lean_obj_tag(x_375) == 0) -{ -lean_object* x_451; lean_object* x_452; lean_object* x_453; -lean_dec(x_379); -lean_dec(x_377); -lean_dec(x_376); -x_451 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_451, 0, x_378); -lean_ctor_set(x_451, 1, x_404); -lean_ctor_set_uint8(x_451, sizeof(void*)*2, x_391); -x_452 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_452, 0, x_406); -lean_ctor_set(x_452, 1, x_451); -x_453 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_453, 0, x_405); -lean_ctor_set(x_453, 1, x_452); -x_7 = x_13; -x_8 = x_453; -goto _start; -} -else -{ -x_407 = x_378; -goto block_439; -} -} -block_439: -{ -if (lean_obj_tag(x_377) == 0) -{ -uint8_t x_408; -lean_dec(x_375); -x_408 = l_Lean_Format_isNil(x_407); -if (x_408 == 0) -{ -lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; -x_409 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_409, 0, x_407); -lean_ctor_set(x_409, 1, x_399); -lean_ctor_set_uint8(x_409, sizeof(void*)*2, x_391); -x_410 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_410, 0, x_409); -lean_ctor_set(x_410, 1, x_404); -lean_ctor_set_uint8(x_410, sizeof(void*)*2, x_391); -if (lean_is_scalar(x_379)) { - x_411 = lean_alloc_ctor(0, 2, 0); -} else { - x_411 = x_379; -} -lean_ctor_set(x_411, 0, x_406); -lean_ctor_set(x_411, 1, x_410); -if (lean_is_scalar(x_376)) { - x_412 = lean_alloc_ctor(0, 2, 0); -} else { - x_412 = x_376; -} -lean_ctor_set(x_412, 0, x_405); -lean_ctor_set(x_412, 1, x_411); -x_7 = x_13; -x_8 = x_412; -goto _start; -} -else -{ -lean_object* x_414; lean_object* x_415; lean_object* x_416; -x_414 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_414, 0, x_407); -lean_ctor_set(x_414, 1, x_404); -lean_ctor_set_uint8(x_414, sizeof(void*)*2, x_391); -if (lean_is_scalar(x_379)) { - x_415 = lean_alloc_ctor(0, 2, 0); -} else { - x_415 = x_379; -} -lean_ctor_set(x_415, 0, x_406); -lean_ctor_set(x_415, 1, x_414); -if (lean_is_scalar(x_376)) { - x_416 = lean_alloc_ctor(0, 2, 0); -} else { - x_416 = x_376; -} -lean_ctor_set(x_416, 0, x_405); -lean_ctor_set(x_416, 1, x_415); -x_7 = x_13; -x_8 = x_416; -goto _start; -} -} -else -{ -lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; uint8_t x_429; -x_418 = lean_ctor_get(x_377, 0); -lean_inc(x_418); -lean_dec(x_377); -x_419 = l_Lean_Format_flatten___main___closed__1; -x_420 = l_Lean_Format_joinSep___main___at_Lean_ppGoal___spec__1(x_375, x_419); -x_421 = l_Array_iterateMAux___main___at_Lean_ppGoal___spec__6___closed__2; -x_422 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_422, 0, x_420); -lean_ctor_set(x_422, 1, x_421); -lean_ctor_set_uint8(x_422, sizeof(void*)*2, x_391); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -lean_inc(x_1); -x_423 = l_Lean_ppExpr(x_1, x_2, x_3, x_4, x_418); -x_424 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_424, 0, x_399); -lean_ctor_set(x_424, 1, x_423); -lean_ctor_set_uint8(x_424, sizeof(void*)*2, x_391); -x_425 = lean_alloc_ctor(3, 2, 0); -lean_ctor_set(x_425, 0, x_401); -lean_ctor_set(x_425, 1, x_424); -x_426 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_426, 0, x_422); -lean_ctor_set(x_426, 1, x_425); -lean_ctor_set_uint8(x_426, sizeof(void*)*2, x_391); -x_427 = lean_format_group(x_426); -x_428 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_428, 0, x_407); -lean_ctor_set(x_428, 1, x_427); -lean_ctor_set_uint8(x_428, sizeof(void*)*2, x_391); -x_429 = l_Lean_Format_isNil(x_428); -if (x_429 == 0) -{ -lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; -x_430 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_430, 0, x_428); -lean_ctor_set(x_430, 1, x_399); -lean_ctor_set_uint8(x_430, sizeof(void*)*2, x_391); -x_431 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_431, 0, x_430); -lean_ctor_set(x_431, 1, x_404); -lean_ctor_set_uint8(x_431, sizeof(void*)*2, x_391); -if (lean_is_scalar(x_379)) { - x_432 = lean_alloc_ctor(0, 2, 0); -} else { - x_432 = x_379; -} -lean_ctor_set(x_432, 0, x_406); -lean_ctor_set(x_432, 1, x_431); -if (lean_is_scalar(x_376)) { - x_433 = lean_alloc_ctor(0, 2, 0); -} else { - x_433 = x_376; -} -lean_ctor_set(x_433, 0, x_405); -lean_ctor_set(x_433, 1, x_432); -x_7 = x_13; -x_8 = x_433; -goto _start; -} -else -{ -lean_object* x_435; lean_object* x_436; lean_object* x_437; -x_435 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_435, 0, x_428); -lean_ctor_set(x_435, 1, x_404); -lean_ctor_set_uint8(x_435, sizeof(void*)*2, x_391); -if (lean_is_scalar(x_379)) { - x_436 = lean_alloc_ctor(0, 2, 0); -} else { - x_436 = x_379; -} -lean_ctor_set(x_436, 0, x_406); -lean_ctor_set(x_436, 1, x_435); -if (lean_is_scalar(x_376)) { - x_437 = lean_alloc_ctor(0, 2, 0); -} else { - x_437 = x_376; -} -lean_ctor_set(x_437, 0, x_405); -lean_ctor_set(x_437, 1, x_436); -x_7 = x_13; -x_8 = x_437; -goto _start; -} -} } } } @@ -2178,37 +2191,38 @@ goto _start; } else { -lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; -x_47 = l_Lean_Format_flatten___main___closed__1; -x_48 = l_Lean_Format_joinSep___main___at_Lean_ppGoal___spec__1(x_18, x_47); -x_49 = l_Array_iterateMAux___main___at_Lean_ppGoal___spec__6___closed__2; -x_50 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_50, 0, x_48); -lean_ctor_set(x_50, 1, x_49); -lean_ctor_set_uint8(x_50, sizeof(void*)*2, x_43); -lean_inc(x_4); +lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_47 = l_List_reverse___rarg(x_18); +x_48 = l_Lean_Format_flatten___main___closed__1; +x_49 = l_Lean_Format_joinSep___main___at_Lean_ppGoal___spec__1(x_47, x_48); +x_50 = l_Array_iterateMAux___main___at_Lean_ppGoal___spec__6___closed__2; +x_51 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_51, 0, x_49); +lean_ctor_set(x_51, 1, x_50); +lean_ctor_set_uint8(x_51, sizeof(void*)*2, x_43); lean_inc(x_3); +lean_inc(x_4); lean_inc(x_2); lean_inc(x_1); -x_51 = l_Lean_ppExpr(x_1, x_2, x_3, x_4, x_38); -x_52 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_52, 0, x_44); -lean_ctor_set(x_52, 1, x_51); -lean_ctor_set_uint8(x_52, sizeof(void*)*2, x_43); -x_53 = lean_unsigned_to_nat(2u); -x_54 = lean_alloc_ctor(3, 2, 0); -lean_ctor_set(x_54, 0, x_53); -lean_ctor_set(x_54, 1, x_52); -x_55 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_55, 0, x_50); -lean_ctor_set(x_55, 1, x_54); -lean_ctor_set_uint8(x_55, sizeof(void*)*2, x_43); -x_56 = lean_format_group(x_55); -x_57 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_57, 0, x_45); -lean_ctor_set(x_57, 1, x_56); -lean_ctor_set_uint8(x_57, sizeof(void*)*2, x_43); -lean_ctor_set(x_24, 1, x_57); +x_52 = l_Lean_ppExpr(x_1, x_2, x_4, x_3, x_38); +x_53 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_53, 0, x_44); +lean_ctor_set(x_53, 1, x_52); +lean_ctor_set_uint8(x_53, sizeof(void*)*2, x_43); +x_54 = lean_unsigned_to_nat(2u); +x_55 = lean_alloc_ctor(3, 2, 0); +lean_ctor_set(x_55, 0, x_54); +lean_ctor_set(x_55, 1, x_53); +x_56 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_56, 0, x_51); +lean_ctor_set(x_56, 1, x_55); +lean_ctor_set_uint8(x_56, sizeof(void*)*2, x_43); +x_57 = lean_format_group(x_56); +x_58 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_58, 0, x_45); +lean_ctor_set(x_58, 1, x_57); +lean_ctor_set_uint8(x_58, sizeof(void*)*2, x_43); +lean_ctor_set(x_24, 1, x_58); lean_ctor_set(x_24, 0, x_20); lean_ctor_set(x_15, 1, x_24); lean_ctor_set(x_15, 0, x_42); @@ -2232,39 +2246,40 @@ goto _start; } else { -lean_object* x_60; lean_object* x_61; uint8_t x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; -x_60 = l_Lean_Format_flatten___main___closed__1; -x_61 = l_Lean_Format_joinSep___main___at_Lean_ppGoal___spec__1(x_18, x_60); -x_62 = 0; -x_63 = l_Array_iterateMAux___main___at_Lean_ppGoal___spec__6___closed__2; -x_64 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_64, 0, x_61); -lean_ctor_set(x_64, 1, x_63); -lean_ctor_set_uint8(x_64, sizeof(void*)*2, x_62); -lean_inc(x_4); +lean_object* x_61; lean_object* x_62; lean_object* x_63; uint8_t x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; +x_61 = l_List_reverse___rarg(x_18); +x_62 = l_Lean_Format_flatten___main___closed__1; +x_63 = l_Lean_Format_joinSep___main___at_Lean_ppGoal___spec__1(x_61, x_62); +x_64 = 0; +x_65 = l_Array_iterateMAux___main___at_Lean_ppGoal___spec__6___closed__2; +x_66 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_66, 0, x_63); +lean_ctor_set(x_66, 1, x_65); +lean_ctor_set_uint8(x_66, sizeof(void*)*2, x_64); lean_inc(x_3); +lean_inc(x_4); lean_inc(x_2); lean_inc(x_1); -x_65 = l_Lean_ppExpr(x_1, x_2, x_3, x_4, x_38); -x_66 = lean_box(1); -x_67 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_67, 0, x_66); -lean_ctor_set(x_67, 1, x_65); -lean_ctor_set_uint8(x_67, sizeof(void*)*2, x_62); -x_68 = lean_unsigned_to_nat(2u); -x_69 = lean_alloc_ctor(3, 2, 0); +x_67 = l_Lean_ppExpr(x_1, x_2, x_4, x_3, x_38); +x_68 = lean_box(1); +x_69 = lean_alloc_ctor(4, 2, 1); lean_ctor_set(x_69, 0, x_68); lean_ctor_set(x_69, 1, x_67); -x_70 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_70, 0, x_64); -lean_ctor_set(x_70, 1, x_69); -lean_ctor_set_uint8(x_70, sizeof(void*)*2, x_62); -x_71 = lean_format_group(x_70); +lean_ctor_set_uint8(x_69, sizeof(void*)*2, x_64); +x_70 = lean_unsigned_to_nat(2u); +x_71 = lean_alloc_ctor(3, 2, 0); +lean_ctor_set(x_71, 0, x_70); +lean_ctor_set(x_71, 1, x_69); x_72 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_72, 0, x_21); +lean_ctor_set(x_72, 0, x_66); lean_ctor_set(x_72, 1, x_71); -lean_ctor_set_uint8(x_72, sizeof(void*)*2, x_62); -lean_ctor_set(x_24, 1, x_72); +lean_ctor_set_uint8(x_72, sizeof(void*)*2, x_64); +x_73 = lean_format_group(x_72); +x_74 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_74, 0, x_21); +lean_ctor_set(x_74, 1, x_73); +lean_ctor_set_uint8(x_74, sizeof(void*)*2, x_64); +lean_ctor_set(x_24, 1, x_74); lean_ctor_set(x_24, 0, x_20); lean_ctor_set(x_15, 1, x_24); lean_ctor_set(x_15, 0, x_42); @@ -2276,16 +2291,16 @@ goto _start; } else { -lean_object* x_74; +lean_object* x_76; lean_dec(x_38); -x_74 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_74, 0, x_22); -lean_ctor_set(x_74, 1, x_18); +x_76 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_76, 0, x_22); +lean_ctor_set(x_76, 1, x_18); lean_ctor_set(x_20, 0, x_35); lean_ctor_set(x_24, 1, x_21); lean_ctor_set(x_24, 0, x_20); lean_ctor_set(x_15, 1, x_24); -lean_ctor_set(x_15, 0, x_74); +lean_ctor_set(x_15, 0, x_76); x_7 = x_13; x_8 = x_15; goto _start; @@ -2293,77 +2308,78 @@ goto _start; } else { -lean_object* x_76; uint8_t x_77; -x_76 = lean_ctor_get(x_20, 0); -lean_inc(x_76); +lean_object* x_78; uint8_t x_79; +x_78 = lean_ctor_get(x_20, 0); +lean_inc(x_78); lean_dec(x_20); -x_77 = lean_expr_eqv(x_76, x_35); -if (x_77 == 0) +x_79 = lean_expr_eqv(x_78, x_35); +if (x_79 == 0) { -uint8_t x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; -x_78 = l_Lean_Format_isNil(x_21); -x_79 = lean_box(0); -x_80 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_80, 0, x_22); -lean_ctor_set(x_80, 1, x_79); -x_81 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_81, 0, x_35); -if (x_78 == 0) +uint8_t x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; +x_80 = l_Lean_Format_isNil(x_21); +x_81 = lean_box(0); +x_82 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_82, 0, x_22); +lean_ctor_set(x_82, 1, x_81); +x_83 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_83, 0, x_35); +if (x_80 == 0) { -uint8_t x_82; lean_object* x_83; lean_object* x_84; -x_82 = 0; -x_83 = lean_box(1); -x_84 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_84, 0, x_21); -lean_ctor_set(x_84, 1, x_83); -lean_ctor_set_uint8(x_84, sizeof(void*)*2, x_82); +uint8_t x_84; lean_object* x_85; lean_object* x_86; +x_84 = 0; +x_85 = lean_box(1); +x_86 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_86, 0, x_21); +lean_ctor_set(x_86, 1, x_85); +lean_ctor_set_uint8(x_86, sizeof(void*)*2, x_84); if (lean_obj_tag(x_18) == 0) { -lean_dec(x_76); -lean_ctor_set(x_24, 1, x_84); -lean_ctor_set(x_24, 0, x_81); +lean_dec(x_78); +lean_ctor_set(x_24, 1, x_86); +lean_ctor_set(x_24, 0, x_83); lean_ctor_set(x_15, 1, x_24); -lean_ctor_set(x_15, 0, x_80); +lean_ctor_set(x_15, 0, x_82); x_7 = x_13; x_8 = x_15; goto _start; } else { -lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; -x_86 = l_Lean_Format_flatten___main___closed__1; -x_87 = l_Lean_Format_joinSep___main___at_Lean_ppGoal___spec__1(x_18, x_86); -x_88 = l_Array_iterateMAux___main___at_Lean_ppGoal___spec__6___closed__2; -x_89 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_89, 0, x_87); -lean_ctor_set(x_89, 1, x_88); -lean_ctor_set_uint8(x_89, sizeof(void*)*2, x_82); -lean_inc(x_4); +lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; +x_88 = l_List_reverse___rarg(x_18); +x_89 = l_Lean_Format_flatten___main___closed__1; +x_90 = l_Lean_Format_joinSep___main___at_Lean_ppGoal___spec__1(x_88, x_89); +x_91 = l_Array_iterateMAux___main___at_Lean_ppGoal___spec__6___closed__2; +x_92 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_92, 0, x_90); +lean_ctor_set(x_92, 1, x_91); +lean_ctor_set_uint8(x_92, sizeof(void*)*2, x_84); lean_inc(x_3); +lean_inc(x_4); lean_inc(x_2); lean_inc(x_1); -x_90 = l_Lean_ppExpr(x_1, x_2, x_3, x_4, x_76); -x_91 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_91, 0, x_83); -lean_ctor_set(x_91, 1, x_90); -lean_ctor_set_uint8(x_91, sizeof(void*)*2, x_82); -x_92 = lean_unsigned_to_nat(2u); -x_93 = lean_alloc_ctor(3, 2, 0); -lean_ctor_set(x_93, 0, x_92); -lean_ctor_set(x_93, 1, x_91); +x_93 = l_Lean_ppExpr(x_1, x_2, x_4, x_3, x_78); x_94 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_94, 0, x_89); +lean_ctor_set(x_94, 0, x_85); lean_ctor_set(x_94, 1, x_93); -lean_ctor_set_uint8(x_94, sizeof(void*)*2, x_82); -x_95 = lean_format_group(x_94); -x_96 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_96, 0, x_84); -lean_ctor_set(x_96, 1, x_95); -lean_ctor_set_uint8(x_96, sizeof(void*)*2, x_82); -lean_ctor_set(x_24, 1, x_96); -lean_ctor_set(x_24, 0, x_81); +lean_ctor_set_uint8(x_94, sizeof(void*)*2, x_84); +x_95 = lean_unsigned_to_nat(2u); +x_96 = lean_alloc_ctor(3, 2, 0); +lean_ctor_set(x_96, 0, x_95); +lean_ctor_set(x_96, 1, x_94); +x_97 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_97, 0, x_92); +lean_ctor_set(x_97, 1, x_96); +lean_ctor_set_uint8(x_97, sizeof(void*)*2, x_84); +x_98 = lean_format_group(x_97); +x_99 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_99, 0, x_86); +lean_ctor_set(x_99, 1, x_98); +lean_ctor_set_uint8(x_99, sizeof(void*)*2, x_84); +lean_ctor_set(x_24, 1, x_99); +lean_ctor_set(x_24, 0, x_83); lean_ctor_set(x_15, 1, x_24); -lean_ctor_set(x_15, 0, x_80); +lean_ctor_set(x_15, 0, x_82); x_7 = x_13; x_8 = x_15; goto _start; @@ -2373,53 +2389,54 @@ else { if (lean_obj_tag(x_18) == 0) { -lean_dec(x_76); +lean_dec(x_78); lean_ctor_set(x_24, 1, x_21); -lean_ctor_set(x_24, 0, x_81); +lean_ctor_set(x_24, 0, x_83); lean_ctor_set(x_15, 1, x_24); -lean_ctor_set(x_15, 0, x_80); +lean_ctor_set(x_15, 0, x_82); x_7 = x_13; x_8 = x_15; goto _start; } else { -lean_object* x_99; lean_object* x_100; uint8_t x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; -x_99 = l_Lean_Format_flatten___main___closed__1; -x_100 = l_Lean_Format_joinSep___main___at_Lean_ppGoal___spec__1(x_18, x_99); -x_101 = 0; -x_102 = l_Array_iterateMAux___main___at_Lean_ppGoal___spec__6___closed__2; -x_103 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_103, 0, x_100); -lean_ctor_set(x_103, 1, x_102); -lean_ctor_set_uint8(x_103, sizeof(void*)*2, x_101); -lean_inc(x_4); +lean_object* x_102; lean_object* x_103; lean_object* x_104; uint8_t x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; +x_102 = l_List_reverse___rarg(x_18); +x_103 = l_Lean_Format_flatten___main___closed__1; +x_104 = l_Lean_Format_joinSep___main___at_Lean_ppGoal___spec__1(x_102, x_103); +x_105 = 0; +x_106 = l_Array_iterateMAux___main___at_Lean_ppGoal___spec__6___closed__2; +x_107 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_107, 0, x_104); +lean_ctor_set(x_107, 1, x_106); +lean_ctor_set_uint8(x_107, sizeof(void*)*2, x_105); lean_inc(x_3); +lean_inc(x_4); lean_inc(x_2); lean_inc(x_1); -x_104 = l_Lean_ppExpr(x_1, x_2, x_3, x_4, x_76); -x_105 = lean_box(1); -x_106 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_106, 0, x_105); -lean_ctor_set(x_106, 1, x_104); -lean_ctor_set_uint8(x_106, sizeof(void*)*2, x_101); -x_107 = lean_unsigned_to_nat(2u); -x_108 = lean_alloc_ctor(3, 2, 0); -lean_ctor_set(x_108, 0, x_107); -lean_ctor_set(x_108, 1, x_106); -x_109 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_109, 0, x_103); -lean_ctor_set(x_109, 1, x_108); -lean_ctor_set_uint8(x_109, sizeof(void*)*2, x_101); -x_110 = lean_format_group(x_109); -x_111 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_111, 0, x_21); -lean_ctor_set(x_111, 1, x_110); -lean_ctor_set_uint8(x_111, sizeof(void*)*2, x_101); -lean_ctor_set(x_24, 1, x_111); -lean_ctor_set(x_24, 0, x_81); +x_108 = l_Lean_ppExpr(x_1, x_2, x_4, x_3, x_78); +x_109 = lean_box(1); +x_110 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_110, 0, x_109); +lean_ctor_set(x_110, 1, x_108); +lean_ctor_set_uint8(x_110, sizeof(void*)*2, x_105); +x_111 = lean_unsigned_to_nat(2u); +x_112 = lean_alloc_ctor(3, 2, 0); +lean_ctor_set(x_112, 0, x_111); +lean_ctor_set(x_112, 1, x_110); +x_113 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_113, 0, x_107); +lean_ctor_set(x_113, 1, x_112); +lean_ctor_set_uint8(x_113, sizeof(void*)*2, x_105); +x_114 = lean_format_group(x_113); +x_115 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_115, 0, x_21); +lean_ctor_set(x_115, 1, x_114); +lean_ctor_set_uint8(x_115, sizeof(void*)*2, x_105); +lean_ctor_set(x_24, 1, x_115); +lean_ctor_set(x_24, 0, x_83); lean_ctor_set(x_15, 1, x_24); -lean_ctor_set(x_15, 0, x_80); +lean_ctor_set(x_15, 0, x_82); x_7 = x_13; x_8 = x_15; goto _start; @@ -2428,17 +2445,17 @@ goto _start; } else { -lean_object* x_113; lean_object* x_114; -lean_dec(x_76); -x_113 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_113, 0, x_22); -lean_ctor_set(x_113, 1, x_18); -x_114 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_114, 0, x_35); +lean_object* x_117; lean_object* x_118; +lean_dec(x_78); +x_117 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_117, 0, x_22); +lean_ctor_set(x_117, 1, x_18); +x_118 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_118, 0, x_35); lean_ctor_set(x_24, 1, x_21); -lean_ctor_set(x_24, 0, x_114); +lean_ctor_set(x_24, 0, x_118); lean_ctor_set(x_15, 1, x_24); -lean_ctor_set(x_15, 0, x_113); +lean_ctor_set(x_15, 0, x_117); x_7 = x_13; x_8 = x_15; goto _start; @@ -2447,176 +2464,178 @@ goto _start; } else { -lean_object* x_116; lean_object* x_117; lean_object* x_118; uint8_t x_119; -x_116 = lean_ctor_get(x_24, 0); -lean_inc(x_116); +lean_object* x_120; lean_object* x_121; lean_object* x_122; uint8_t x_123; +x_120 = lean_ctor_get(x_24, 0); +lean_inc(x_120); lean_dec(x_24); -x_117 = lean_ctor_get(x_20, 0); -lean_inc(x_117); +x_121 = lean_ctor_get(x_20, 0); +lean_inc(x_121); if (lean_is_exclusive(x_20)) { lean_ctor_release(x_20, 0); - x_118 = x_20; + x_122 = x_20; } else { lean_dec_ref(x_20); - x_118 = lean_box(0); + x_122 = lean_box(0); } -x_119 = lean_expr_eqv(x_117, x_116); -if (x_119 == 0) +x_123 = lean_expr_eqv(x_121, x_120); +if (x_123 == 0) { -uint8_t x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; -x_120 = l_Lean_Format_isNil(x_21); -x_121 = lean_box(0); -x_122 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_122, 0, x_22); -lean_ctor_set(x_122, 1, x_121); -if (lean_is_scalar(x_118)) { - x_123 = lean_alloc_ctor(1, 1, 0); -} else { - x_123 = x_118; -} -lean_ctor_set(x_123, 0, x_116); -if (x_120 == 0) -{ -uint8_t x_124; lean_object* x_125; lean_object* x_126; -x_124 = 0; -x_125 = lean_box(1); -x_126 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_126, 0, x_21); +uint8_t x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; +x_124 = l_Lean_Format_isNil(x_21); +x_125 = lean_box(0); +x_126 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_126, 0, x_22); lean_ctor_set(x_126, 1, x_125); -lean_ctor_set_uint8(x_126, sizeof(void*)*2, x_124); -if (lean_obj_tag(x_18) == 0) -{ -lean_object* x_127; -lean_dec(x_117); -x_127 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_127, 0, x_123); -lean_ctor_set(x_127, 1, x_126); -lean_ctor_set(x_15, 1, x_127); -lean_ctor_set(x_15, 0, x_122); -x_7 = x_13; -x_8 = x_15; -goto _start; -} -else -{ -lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; 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_129 = l_Lean_Format_flatten___main___closed__1; -x_130 = l_Lean_Format_joinSep___main___at_Lean_ppGoal___spec__1(x_18, x_129); -x_131 = l_Array_iterateMAux___main___at_Lean_ppGoal___spec__6___closed__2; -x_132 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_132, 0, x_130); -lean_ctor_set(x_132, 1, x_131); -lean_ctor_set_uint8(x_132, sizeof(void*)*2, x_124); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -lean_inc(x_1); -x_133 = l_Lean_ppExpr(x_1, x_2, x_3, x_4, x_117); -x_134 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_134, 0, x_125); -lean_ctor_set(x_134, 1, x_133); -lean_ctor_set_uint8(x_134, sizeof(void*)*2, x_124); -x_135 = lean_unsigned_to_nat(2u); -x_136 = lean_alloc_ctor(3, 2, 0); -lean_ctor_set(x_136, 0, x_135); -lean_ctor_set(x_136, 1, x_134); -x_137 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_137, 0, x_132); -lean_ctor_set(x_137, 1, x_136); -lean_ctor_set_uint8(x_137, sizeof(void*)*2, x_124); -x_138 = lean_format_group(x_137); -x_139 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_139, 0, x_126); -lean_ctor_set(x_139, 1, x_138); -lean_ctor_set_uint8(x_139, sizeof(void*)*2, x_124); -x_140 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_140, 0, x_123); -lean_ctor_set(x_140, 1, x_139); -lean_ctor_set(x_15, 1, x_140); -lean_ctor_set(x_15, 0, x_122); -x_7 = x_13; -x_8 = x_15; -goto _start; -} -} -else -{ -if (lean_obj_tag(x_18) == 0) -{ -lean_object* x_142; -lean_dec(x_117); -x_142 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_142, 0, x_123); -lean_ctor_set(x_142, 1, x_21); -lean_ctor_set(x_15, 1, x_142); -lean_ctor_set(x_15, 0, x_122); -x_7 = x_13; -x_8 = x_15; -goto _start; -} -else -{ -lean_object* x_144; lean_object* x_145; uint8_t x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; -x_144 = l_Lean_Format_flatten___main___closed__1; -x_145 = l_Lean_Format_joinSep___main___at_Lean_ppGoal___spec__1(x_18, x_144); -x_146 = 0; -x_147 = l_Array_iterateMAux___main___at_Lean_ppGoal___spec__6___closed__2; -x_148 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_148, 0, x_145); -lean_ctor_set(x_148, 1, x_147); -lean_ctor_set_uint8(x_148, sizeof(void*)*2, x_146); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -lean_inc(x_1); -x_149 = l_Lean_ppExpr(x_1, x_2, x_3, x_4, x_117); -x_150 = lean_box(1); -x_151 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_151, 0, x_150); -lean_ctor_set(x_151, 1, x_149); -lean_ctor_set_uint8(x_151, sizeof(void*)*2, x_146); -x_152 = lean_unsigned_to_nat(2u); -x_153 = lean_alloc_ctor(3, 2, 0); -lean_ctor_set(x_153, 0, x_152); -lean_ctor_set(x_153, 1, x_151); -x_154 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_154, 0, x_148); -lean_ctor_set(x_154, 1, x_153); -lean_ctor_set_uint8(x_154, sizeof(void*)*2, x_146); -x_155 = lean_format_group(x_154); -x_156 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_156, 0, x_21); -lean_ctor_set(x_156, 1, x_155); -lean_ctor_set_uint8(x_156, sizeof(void*)*2, x_146); -x_157 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_157, 0, x_123); -lean_ctor_set(x_157, 1, x_156); -lean_ctor_set(x_15, 1, x_157); -lean_ctor_set(x_15, 0, x_122); -x_7 = x_13; -x_8 = x_15; -goto _start; -} -} -} -else -{ -lean_object* x_159; lean_object* x_160; lean_object* x_161; -lean_dec(x_117); -x_159 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_159, 0, x_22); -lean_ctor_set(x_159, 1, x_18); -if (lean_is_scalar(x_118)) { - x_160 = lean_alloc_ctor(1, 1, 0); +if (lean_is_scalar(x_122)) { + x_127 = lean_alloc_ctor(1, 1, 0); } else { - x_160 = x_118; + x_127 = x_122; } -lean_ctor_set(x_160, 0, x_116); -x_161 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_161, 0, x_160); -lean_ctor_set(x_161, 1, x_21); -lean_ctor_set(x_15, 1, x_161); -lean_ctor_set(x_15, 0, x_159); +lean_ctor_set(x_127, 0, x_120); +if (x_124 == 0) +{ +uint8_t x_128; lean_object* x_129; lean_object* x_130; +x_128 = 0; +x_129 = lean_box(1); +x_130 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_130, 0, x_21); +lean_ctor_set(x_130, 1, x_129); +lean_ctor_set_uint8(x_130, sizeof(void*)*2, x_128); +if (lean_obj_tag(x_18) == 0) +{ +lean_object* x_131; +lean_dec(x_121); +x_131 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_131, 0, x_127); +lean_ctor_set(x_131, 1, x_130); +lean_ctor_set(x_15, 1, x_131); +lean_ctor_set(x_15, 0, x_126); +x_7 = x_13; +x_8 = x_15; +goto _start; +} +else +{ +lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; +x_133 = l_List_reverse___rarg(x_18); +x_134 = l_Lean_Format_flatten___main___closed__1; +x_135 = l_Lean_Format_joinSep___main___at_Lean_ppGoal___spec__1(x_133, x_134); +x_136 = l_Array_iterateMAux___main___at_Lean_ppGoal___spec__6___closed__2; +x_137 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_137, 0, x_135); +lean_ctor_set(x_137, 1, x_136); +lean_ctor_set_uint8(x_137, sizeof(void*)*2, x_128); +lean_inc(x_3); +lean_inc(x_4); +lean_inc(x_2); +lean_inc(x_1); +x_138 = l_Lean_ppExpr(x_1, x_2, x_4, x_3, x_121); +x_139 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_139, 0, x_129); +lean_ctor_set(x_139, 1, x_138); +lean_ctor_set_uint8(x_139, sizeof(void*)*2, x_128); +x_140 = lean_unsigned_to_nat(2u); +x_141 = lean_alloc_ctor(3, 2, 0); +lean_ctor_set(x_141, 0, x_140); +lean_ctor_set(x_141, 1, x_139); +x_142 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_142, 0, x_137); +lean_ctor_set(x_142, 1, x_141); +lean_ctor_set_uint8(x_142, sizeof(void*)*2, x_128); +x_143 = lean_format_group(x_142); +x_144 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_144, 0, x_130); +lean_ctor_set(x_144, 1, x_143); +lean_ctor_set_uint8(x_144, sizeof(void*)*2, x_128); +x_145 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_145, 0, x_127); +lean_ctor_set(x_145, 1, x_144); +lean_ctor_set(x_15, 1, x_145); +lean_ctor_set(x_15, 0, x_126); +x_7 = x_13; +x_8 = x_15; +goto _start; +} +} +else +{ +if (lean_obj_tag(x_18) == 0) +{ +lean_object* x_147; +lean_dec(x_121); +x_147 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_147, 0, x_127); +lean_ctor_set(x_147, 1, x_21); +lean_ctor_set(x_15, 1, x_147); +lean_ctor_set(x_15, 0, x_126); +x_7 = x_13; +x_8 = x_15; +goto _start; +} +else +{ +lean_object* x_149; lean_object* x_150; lean_object* x_151; uint8_t x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; +x_149 = l_List_reverse___rarg(x_18); +x_150 = l_Lean_Format_flatten___main___closed__1; +x_151 = l_Lean_Format_joinSep___main___at_Lean_ppGoal___spec__1(x_149, x_150); +x_152 = 0; +x_153 = l_Array_iterateMAux___main___at_Lean_ppGoal___spec__6___closed__2; +x_154 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_154, 0, x_151); +lean_ctor_set(x_154, 1, x_153); +lean_ctor_set_uint8(x_154, sizeof(void*)*2, x_152); +lean_inc(x_3); +lean_inc(x_4); +lean_inc(x_2); +lean_inc(x_1); +x_155 = l_Lean_ppExpr(x_1, x_2, x_4, x_3, x_121); +x_156 = lean_box(1); +x_157 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_157, 0, x_156); +lean_ctor_set(x_157, 1, x_155); +lean_ctor_set_uint8(x_157, sizeof(void*)*2, x_152); +x_158 = lean_unsigned_to_nat(2u); +x_159 = lean_alloc_ctor(3, 2, 0); +lean_ctor_set(x_159, 0, x_158); +lean_ctor_set(x_159, 1, x_157); +x_160 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_160, 0, x_154); +lean_ctor_set(x_160, 1, x_159); +lean_ctor_set_uint8(x_160, sizeof(void*)*2, x_152); +x_161 = lean_format_group(x_160); +x_162 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_162, 0, x_21); +lean_ctor_set(x_162, 1, x_161); +lean_ctor_set_uint8(x_162, sizeof(void*)*2, x_152); +x_163 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_163, 0, x_127); +lean_ctor_set(x_163, 1, x_162); +lean_ctor_set(x_15, 1, x_163); +lean_ctor_set(x_15, 0, x_126); +x_7 = x_13; +x_8 = x_15; +goto _start; +} +} +} +else +{ +lean_object* x_165; lean_object* x_166; lean_object* x_167; +lean_dec(x_121); +x_165 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_165, 0, x_22); +lean_ctor_set(x_165, 1, x_18); +if (lean_is_scalar(x_122)) { + x_166 = lean_alloc_ctor(1, 1, 0); +} else { + x_166 = x_122; +} +lean_ctor_set(x_166, 0, x_120); +x_167 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_167, 0, x_166); +lean_ctor_set(x_167, 1, x_21); +lean_ctor_set(x_15, 1, x_167); +lean_ctor_set(x_15, 0, x_165); x_7 = x_13; x_8 = x_15; goto _start; @@ -2626,1008 +2645,1192 @@ goto _start; } else { -lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; -x_163 = lean_ctor_get(x_15, 0); -x_164 = lean_ctor_get(x_15, 1); -lean_inc(x_164); -lean_inc(x_163); +lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; +x_169 = lean_ctor_get(x_15, 0); +x_170 = lean_ctor_get(x_15, 1); +lean_inc(x_170); +lean_inc(x_169); lean_dec(x_15); -x_165 = lean_ctor_get(x_17, 2); -lean_inc(x_165); -x_166 = lean_ctor_get(x_17, 3); -lean_inc(x_166); +x_171 = lean_ctor_get(x_17, 2); +lean_inc(x_171); +x_172 = lean_ctor_get(x_17, 3); +lean_inc(x_172); lean_dec(x_17); lean_inc(x_2); -x_167 = l_Lean_MetavarContext_instantiateMVars(x_2, x_166); -if (lean_obj_tag(x_163) == 0) +x_173 = l_Lean_MetavarContext_instantiateMVars(x_2, x_172); +if (lean_obj_tag(x_169) == 0) { -lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; -x_168 = lean_ctor_get(x_167, 0); -lean_inc(x_168); -if (lean_is_exclusive(x_167)) { - lean_ctor_release(x_167, 0); - lean_ctor_release(x_167, 1); - x_169 = x_167; -} else { - lean_dec_ref(x_167); - x_169 = lean_box(0); -} -x_170 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_170, 0, x_165); -lean_ctor_set(x_170, 1, x_18); -lean_ctor_set(x_11, 0, x_168); -if (lean_is_scalar(x_169)) { - x_171 = lean_alloc_ctor(0, 2, 0); -} else { - x_171 = x_169; -} -lean_ctor_set(x_171, 0, x_11); -lean_ctor_set(x_171, 1, x_164); -x_172 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_172, 0, x_170); -lean_ctor_set(x_172, 1, x_171); -x_7 = x_13; -x_8 = x_172; -goto _start; -} -else -{ -lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; uint8_t x_178; -lean_free_object(x_11); -x_174 = lean_ctor_get(x_167, 0); +lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; +x_174 = lean_ctor_get(x_173, 0); lean_inc(x_174); -if (lean_is_exclusive(x_167)) { - lean_ctor_release(x_167, 0); - lean_ctor_release(x_167, 1); - x_175 = x_167; +if (lean_is_exclusive(x_173)) { + lean_ctor_release(x_173, 0); + lean_ctor_release(x_173, 1); + x_175 = x_173; } else { - lean_dec_ref(x_167); + lean_dec_ref(x_173); x_175 = lean_box(0); } -x_176 = lean_ctor_get(x_163, 0); -lean_inc(x_176); -if (lean_is_exclusive(x_163)) { - lean_ctor_release(x_163, 0); - x_177 = x_163; -} else { - lean_dec_ref(x_163); - x_177 = lean_box(0); -} -x_178 = lean_expr_eqv(x_176, x_174); -if (x_178 == 0) -{ -uint8_t x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; -x_179 = l_Lean_Format_isNil(x_164); -x_180 = lean_box(0); -x_181 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_181, 0, x_165); -lean_ctor_set(x_181, 1, x_180); -if (lean_is_scalar(x_177)) { - x_182 = lean_alloc_ctor(1, 1, 0); -} else { - x_182 = x_177; -} -lean_ctor_set(x_182, 0, x_174); -if (x_179 == 0) -{ -uint8_t x_183; lean_object* x_184; lean_object* x_185; -x_183 = 0; -x_184 = lean_box(1); -x_185 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_185, 0, x_164); -lean_ctor_set(x_185, 1, x_184); -lean_ctor_set_uint8(x_185, sizeof(void*)*2, x_183); -if (lean_obj_tag(x_18) == 0) -{ -lean_object* x_186; lean_object* x_187; -lean_dec(x_176); +x_176 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_176, 0, x_171); +lean_ctor_set(x_176, 1, x_18); +lean_ctor_set(x_11, 0, x_174); if (lean_is_scalar(x_175)) { - x_186 = lean_alloc_ctor(0, 2, 0); + x_177 = lean_alloc_ctor(0, 2, 0); } else { - x_186 = x_175; + x_177 = x_175; } -lean_ctor_set(x_186, 0, x_182); -lean_ctor_set(x_186, 1, x_185); -x_187 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_187, 0, x_181); -lean_ctor_set(x_187, 1, x_186); +lean_ctor_set(x_177, 0, x_11); +lean_ctor_set(x_177, 1, x_170); +x_178 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_178, 0, x_176); +lean_ctor_set(x_178, 1, x_177); x_7 = x_13; -x_8 = x_187; +x_8 = x_178; goto _start; } else { -lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; -x_189 = l_Lean_Format_flatten___main___closed__1; -x_190 = l_Lean_Format_joinSep___main___at_Lean_ppGoal___spec__1(x_18, x_189); -x_191 = l_Array_iterateMAux___main___at_Lean_ppGoal___spec__6___closed__2; -x_192 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_192, 0, x_190); -lean_ctor_set(x_192, 1, x_191); -lean_ctor_set_uint8(x_192, sizeof(void*)*2, x_183); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -lean_inc(x_1); -x_193 = l_Lean_ppExpr(x_1, x_2, x_3, x_4, x_176); -x_194 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_194, 0, x_184); -lean_ctor_set(x_194, 1, x_193); -lean_ctor_set_uint8(x_194, sizeof(void*)*2, x_183); -x_195 = lean_unsigned_to_nat(2u); -x_196 = lean_alloc_ctor(3, 2, 0); -lean_ctor_set(x_196, 0, x_195); -lean_ctor_set(x_196, 1, x_194); -x_197 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_197, 0, x_192); -lean_ctor_set(x_197, 1, x_196); -lean_ctor_set_uint8(x_197, sizeof(void*)*2, x_183); -x_198 = lean_format_group(x_197); -x_199 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_199, 0, x_185); -lean_ctor_set(x_199, 1, x_198); -lean_ctor_set_uint8(x_199, sizeof(void*)*2, x_183); -if (lean_is_scalar(x_175)) { - x_200 = lean_alloc_ctor(0, 2, 0); -} else { - x_200 = x_175; -} -lean_ctor_set(x_200, 0, x_182); -lean_ctor_set(x_200, 1, x_199); -x_201 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_201, 0, x_181); -lean_ctor_set(x_201, 1, x_200); -x_7 = x_13; -x_8 = x_201; -goto _start; -} -} -else -{ -if (lean_obj_tag(x_18) == 0) -{ -lean_object* x_203; lean_object* x_204; -lean_dec(x_176); -if (lean_is_scalar(x_175)) { - x_203 = lean_alloc_ctor(0, 2, 0); -} else { - x_203 = x_175; -} -lean_ctor_set(x_203, 0, x_182); -lean_ctor_set(x_203, 1, x_164); -x_204 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_204, 0, x_181); -lean_ctor_set(x_204, 1, x_203); -x_7 = x_13; -x_8 = x_204; -goto _start; -} -else -{ -lean_object* x_206; lean_object* x_207; uint8_t x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; -x_206 = l_Lean_Format_flatten___main___closed__1; -x_207 = l_Lean_Format_joinSep___main___at_Lean_ppGoal___spec__1(x_18, x_206); -x_208 = 0; -x_209 = l_Array_iterateMAux___main___at_Lean_ppGoal___spec__6___closed__2; -x_210 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_210, 0, x_207); -lean_ctor_set(x_210, 1, x_209); -lean_ctor_set_uint8(x_210, sizeof(void*)*2, x_208); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -lean_inc(x_1); -x_211 = l_Lean_ppExpr(x_1, x_2, x_3, x_4, x_176); -x_212 = lean_box(1); -x_213 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_213, 0, x_212); -lean_ctor_set(x_213, 1, x_211); -lean_ctor_set_uint8(x_213, sizeof(void*)*2, x_208); -x_214 = lean_unsigned_to_nat(2u); -x_215 = lean_alloc_ctor(3, 2, 0); -lean_ctor_set(x_215, 0, x_214); -lean_ctor_set(x_215, 1, x_213); -x_216 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_216, 0, x_210); -lean_ctor_set(x_216, 1, x_215); -lean_ctor_set_uint8(x_216, sizeof(void*)*2, x_208); -x_217 = lean_format_group(x_216); -x_218 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_218, 0, x_164); -lean_ctor_set(x_218, 1, x_217); -lean_ctor_set_uint8(x_218, sizeof(void*)*2, x_208); -if (lean_is_scalar(x_175)) { - x_219 = lean_alloc_ctor(0, 2, 0); -} else { - x_219 = x_175; -} -lean_ctor_set(x_219, 0, x_182); -lean_ctor_set(x_219, 1, x_218); -x_220 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_220, 0, x_181); -lean_ctor_set(x_220, 1, x_219); -x_7 = x_13; -x_8 = x_220; -goto _start; -} -} -} -else -{ -lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; -lean_dec(x_176); -x_222 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_222, 0, x_165); -lean_ctor_set(x_222, 1, x_18); -if (lean_is_scalar(x_177)) { - x_223 = lean_alloc_ctor(1, 1, 0); -} else { - x_223 = x_177; -} -lean_ctor_set(x_223, 0, x_174); -if (lean_is_scalar(x_175)) { - x_224 = lean_alloc_ctor(0, 2, 0); -} else { - x_224 = x_175; -} -lean_ctor_set(x_224, 0, x_223); -lean_ctor_set(x_224, 1, x_164); -x_225 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_225, 0, x_222); -lean_ctor_set(x_225, 1, x_224); -x_7 = x_13; -x_8 = x_225; -goto _start; -} -} -} -} -else -{ -lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; uint8_t x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; uint8_t x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; +lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; uint8_t x_184; lean_free_object(x_11); -x_227 = lean_ctor_get(x_8, 0); -lean_inc(x_227); +x_180 = lean_ctor_get(x_173, 0); +lean_inc(x_180); +if (lean_is_exclusive(x_173)) { + lean_ctor_release(x_173, 0); + lean_ctor_release(x_173, 1); + x_181 = x_173; +} else { + lean_dec_ref(x_173); + x_181 = lean_box(0); +} +x_182 = lean_ctor_get(x_169, 0); +lean_inc(x_182); +if (lean_is_exclusive(x_169)) { + lean_ctor_release(x_169, 0); + x_183 = x_169; +} else { + lean_dec_ref(x_169); + x_183 = lean_box(0); +} +x_184 = lean_expr_eqv(x_182, x_180); +if (x_184 == 0) +{ +uint8_t x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; +x_185 = l_Lean_Format_isNil(x_170); +x_186 = lean_box(0); +x_187 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_187, 0, x_171); +lean_ctor_set(x_187, 1, x_186); +if (lean_is_scalar(x_183)) { + x_188 = lean_alloc_ctor(1, 1, 0); +} else { + x_188 = x_183; +} +lean_ctor_set(x_188, 0, x_180); +if (x_185 == 0) +{ +uint8_t x_189; lean_object* x_190; lean_object* x_191; +x_189 = 0; +x_190 = lean_box(1); +x_191 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_191, 0, x_170); +lean_ctor_set(x_191, 1, x_190); +lean_ctor_set_uint8(x_191, sizeof(void*)*2, x_189); +if (lean_obj_tag(x_18) == 0) +{ +lean_object* x_192; lean_object* x_193; +lean_dec(x_182); +if (lean_is_scalar(x_181)) { + x_192 = lean_alloc_ctor(0, 2, 0); +} else { + x_192 = x_181; +} +lean_ctor_set(x_192, 0, x_188); +lean_ctor_set(x_192, 1, x_191); +x_193 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_193, 0, x_187); +lean_ctor_set(x_193, 1, x_192); +x_7 = x_13; +x_8 = x_193; +goto _start; +} +else +{ +lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; +x_195 = l_List_reverse___rarg(x_18); +x_196 = l_Lean_Format_flatten___main___closed__1; +x_197 = l_Lean_Format_joinSep___main___at_Lean_ppGoal___spec__1(x_195, x_196); +x_198 = l_Array_iterateMAux___main___at_Lean_ppGoal___spec__6___closed__2; +x_199 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_199, 0, x_197); +lean_ctor_set(x_199, 1, x_198); +lean_ctor_set_uint8(x_199, sizeof(void*)*2, x_189); +lean_inc(x_3); +lean_inc(x_4); +lean_inc(x_2); +lean_inc(x_1); +x_200 = l_Lean_ppExpr(x_1, x_2, x_4, x_3, x_182); +x_201 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_201, 0, x_190); +lean_ctor_set(x_201, 1, x_200); +lean_ctor_set_uint8(x_201, sizeof(void*)*2, x_189); +x_202 = lean_unsigned_to_nat(2u); +x_203 = lean_alloc_ctor(3, 2, 0); +lean_ctor_set(x_203, 0, x_202); +lean_ctor_set(x_203, 1, x_201); +x_204 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_204, 0, x_199); +lean_ctor_set(x_204, 1, x_203); +lean_ctor_set_uint8(x_204, sizeof(void*)*2, x_189); +x_205 = lean_format_group(x_204); +x_206 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_206, 0, x_191); +lean_ctor_set(x_206, 1, x_205); +lean_ctor_set_uint8(x_206, sizeof(void*)*2, x_189); +if (lean_is_scalar(x_181)) { + x_207 = lean_alloc_ctor(0, 2, 0); +} else { + x_207 = x_181; +} +lean_ctor_set(x_207, 0, x_188); +lean_ctor_set(x_207, 1, x_206); +x_208 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_208, 0, x_187); +lean_ctor_set(x_208, 1, x_207); +x_7 = x_13; +x_8 = x_208; +goto _start; +} +} +else +{ +if (lean_obj_tag(x_18) == 0) +{ +lean_object* x_210; lean_object* x_211; +lean_dec(x_182); +if (lean_is_scalar(x_181)) { + x_210 = lean_alloc_ctor(0, 2, 0); +} else { + x_210 = x_181; +} +lean_ctor_set(x_210, 0, x_188); +lean_ctor_set(x_210, 1, x_170); +x_211 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_211, 0, x_187); +lean_ctor_set(x_211, 1, x_210); +x_7 = x_13; +x_8 = x_211; +goto _start; +} +else +{ +lean_object* x_213; lean_object* x_214; lean_object* x_215; uint8_t x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; +x_213 = l_List_reverse___rarg(x_18); +x_214 = l_Lean_Format_flatten___main___closed__1; +x_215 = l_Lean_Format_joinSep___main___at_Lean_ppGoal___spec__1(x_213, x_214); +x_216 = 0; +x_217 = l_Array_iterateMAux___main___at_Lean_ppGoal___spec__6___closed__2; +x_218 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_218, 0, x_215); +lean_ctor_set(x_218, 1, x_217); +lean_ctor_set_uint8(x_218, sizeof(void*)*2, x_216); +lean_inc(x_3); +lean_inc(x_4); +lean_inc(x_2); +lean_inc(x_1); +x_219 = l_Lean_ppExpr(x_1, x_2, x_4, x_3, x_182); +x_220 = lean_box(1); +x_221 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_221, 0, x_220); +lean_ctor_set(x_221, 1, x_219); +lean_ctor_set_uint8(x_221, sizeof(void*)*2, x_216); +x_222 = lean_unsigned_to_nat(2u); +x_223 = lean_alloc_ctor(3, 2, 0); +lean_ctor_set(x_223, 0, x_222); +lean_ctor_set(x_223, 1, x_221); +x_224 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_224, 0, x_218); +lean_ctor_set(x_224, 1, x_223); +lean_ctor_set_uint8(x_224, sizeof(void*)*2, x_216); +x_225 = lean_format_group(x_224); +x_226 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_226, 0, x_170); +lean_ctor_set(x_226, 1, x_225); +lean_ctor_set_uint8(x_226, sizeof(void*)*2, x_216); +if (lean_is_scalar(x_181)) { + x_227 = lean_alloc_ctor(0, 2, 0); +} else { + x_227 = x_181; +} +lean_ctor_set(x_227, 0, x_188); +lean_ctor_set(x_227, 1, x_226); +x_228 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_228, 0, x_187); +lean_ctor_set(x_228, 1, x_227); +x_7 = x_13; +x_8 = x_228; +goto _start; +} +} +} +else +{ +lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; +lean_dec(x_182); +x_230 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_230, 0, x_171); +lean_ctor_set(x_230, 1, x_18); +if (lean_is_scalar(x_183)) { + x_231 = lean_alloc_ctor(1, 1, 0); +} else { + x_231 = x_183; +} +lean_ctor_set(x_231, 0, x_180); +if (lean_is_scalar(x_181)) { + x_232 = lean_alloc_ctor(0, 2, 0); +} else { + x_232 = x_181; +} +lean_ctor_set(x_232, 0, x_231); +lean_ctor_set(x_232, 1, x_170); +x_233 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_233, 0, x_230); +lean_ctor_set(x_233, 1, x_232); +x_7 = x_13; +x_8 = x_233; +goto _start; +} +} +} +} +else +{ +lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; uint8_t x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; uint8_t x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; +lean_free_object(x_11); +x_235 = lean_ctor_get(x_8, 0); +lean_inc(x_235); if (lean_is_exclusive(x_8)) { lean_ctor_release(x_8, 0); lean_ctor_release(x_8, 1); - x_228 = x_8; + x_236 = x_8; } else { lean_dec_ref(x_8); - x_228 = lean_box(0); + x_236 = lean_box(0); } -x_229 = lean_ctor_get(x_15, 0); -lean_inc(x_229); -x_230 = lean_ctor_get(x_15, 1); -lean_inc(x_230); -if (lean_is_exclusive(x_15)) { - lean_ctor_release(x_15, 0); - lean_ctor_release(x_15, 1); - x_231 = x_15; -} else { - lean_dec_ref(x_15); - x_231 = lean_box(0); -} -x_232 = lean_ctor_get(x_17, 2); -lean_inc(x_232); -x_233 = lean_ctor_get(x_17, 3); -lean_inc(x_233); -x_234 = lean_ctor_get(x_17, 4); -lean_inc(x_234); -lean_dec(x_17); -x_235 = l_Lean_Format_isNil(x_230); -lean_inc(x_2); -x_236 = l_Lean_MetavarContext_instantiateMVars(x_2, x_233); -x_237 = lean_ctor_get(x_236, 0); +x_237 = lean_ctor_get(x_15, 0); lean_inc(x_237); -lean_dec(x_236); -lean_inc(x_2); -x_238 = l_Lean_MetavarContext_instantiateMVars(x_2, x_234); -x_239 = lean_ctor_get(x_238, 0); -lean_inc(x_239); -lean_dec(x_238); -x_240 = l_Lean_Name_toString___closed__1; -x_241 = l_Lean_Name_toStringWithSep___main(x_240, x_232); -x_242 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_242, 0, x_241); -x_243 = 0; -x_244 = l_Array_iterateMAux___main___at_Lean_ppGoal___spec__6___closed__4; -x_245 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_245, 0, x_242); -lean_ctor_set(x_245, 1, x_244); -lean_ctor_set_uint8(x_245, sizeof(void*)*2, x_243); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -lean_inc(x_1); -x_246 = l_Lean_ppExpr(x_1, x_2, x_3, x_4, x_237); -x_247 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_247, 0, x_245); -lean_ctor_set(x_247, 1, x_246); -lean_ctor_set_uint8(x_247, sizeof(void*)*2, x_243); -x_248 = l_Array_iterateMAux___main___at_Lean_ppGoal___spec__6___closed__6; -x_249 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_249, 0, x_247); -lean_ctor_set(x_249, 1, x_248); -lean_ctor_set_uint8(x_249, sizeof(void*)*2, x_243); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -lean_inc(x_1); -x_250 = l_Lean_ppExpr(x_1, x_2, x_3, x_4, x_239); -x_251 = lean_box(1); -x_252 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_252, 0, x_251); -lean_ctor_set(x_252, 1, x_250); -lean_ctor_set_uint8(x_252, sizeof(void*)*2, x_243); -x_253 = lean_unsigned_to_nat(2u); -x_254 = lean_alloc_ctor(3, 2, 0); -lean_ctor_set(x_254, 0, x_253); -lean_ctor_set(x_254, 1, x_252); -x_255 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_255, 0, x_249); -lean_ctor_set(x_255, 1, x_254); -lean_ctor_set_uint8(x_255, sizeof(void*)*2, x_243); -x_256 = lean_format_group(x_255); -x_257 = lean_box(0); -x_258 = lean_box(0); -if (x_235 == 0) -{ -lean_object* x_292; -x_292 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_292, 0, x_230); -lean_ctor_set(x_292, 1, x_251); -lean_ctor_set_uint8(x_292, sizeof(void*)*2, x_243); -if (lean_obj_tag(x_227) == 0) -{ -uint8_t x_293; -lean_dec(x_231); -lean_dec(x_229); -lean_dec(x_228); -x_293 = l_Lean_Format_isNil(x_292); -if (x_293 == 0) -{ -lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; -x_294 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_294, 0, x_292); -lean_ctor_set(x_294, 1, x_251); -lean_ctor_set_uint8(x_294, sizeof(void*)*2, x_243); -x_295 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_295, 0, x_294); -lean_ctor_set(x_295, 1, x_256); -lean_ctor_set_uint8(x_295, sizeof(void*)*2, x_243); -x_296 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_296, 0, x_258); -lean_ctor_set(x_296, 1, x_295); -x_297 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_297, 0, x_257); -lean_ctor_set(x_297, 1, x_296); -x_7 = x_13; -x_8 = x_297; -goto _start; -} -else -{ -lean_object* x_299; lean_object* x_300; lean_object* x_301; -x_299 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_299, 0, x_292); -lean_ctor_set(x_299, 1, x_256); -lean_ctor_set_uint8(x_299, sizeof(void*)*2, x_243); -x_300 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_300, 0, x_258); -lean_ctor_set(x_300, 1, x_299); -x_301 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_301, 0, x_257); -lean_ctor_set(x_301, 1, x_300); -x_7 = x_13; -x_8 = x_301; -goto _start; -} -} -else -{ -x_259 = x_292; -goto block_291; -} -} -else -{ -if (lean_obj_tag(x_227) == 0) -{ -lean_object* x_303; lean_object* x_304; lean_object* x_305; -lean_dec(x_231); -lean_dec(x_229); -lean_dec(x_228); -x_303 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_303, 0, x_230); -lean_ctor_set(x_303, 1, x_256); -lean_ctor_set_uint8(x_303, sizeof(void*)*2, x_243); -x_304 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_304, 0, x_258); -lean_ctor_set(x_304, 1, x_303); -x_305 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_305, 0, x_257); -lean_ctor_set(x_305, 1, x_304); -x_7 = x_13; -x_8 = x_305; -goto _start; -} -else -{ -x_259 = x_230; -goto block_291; -} -} -block_291: -{ -if (lean_obj_tag(x_229) == 0) -{ -uint8_t x_260; -lean_dec(x_227); -x_260 = l_Lean_Format_isNil(x_259); -if (x_260 == 0) -{ -lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; -x_261 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_261, 0, x_259); -lean_ctor_set(x_261, 1, x_251); -lean_ctor_set_uint8(x_261, sizeof(void*)*2, x_243); -x_262 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_262, 0, x_261); -lean_ctor_set(x_262, 1, x_256); -lean_ctor_set_uint8(x_262, sizeof(void*)*2, x_243); -if (lean_is_scalar(x_231)) { - x_263 = lean_alloc_ctor(0, 2, 0); -} else { - x_263 = x_231; -} -lean_ctor_set(x_263, 0, x_258); -lean_ctor_set(x_263, 1, x_262); -if (lean_is_scalar(x_228)) { - x_264 = lean_alloc_ctor(0, 2, 0); -} else { - x_264 = x_228; -} -lean_ctor_set(x_264, 0, x_257); -lean_ctor_set(x_264, 1, x_263); -x_7 = x_13; -x_8 = x_264; -goto _start; -} -else -{ -lean_object* x_266; lean_object* x_267; lean_object* x_268; -x_266 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_266, 0, x_259); -lean_ctor_set(x_266, 1, x_256); -lean_ctor_set_uint8(x_266, sizeof(void*)*2, x_243); -if (lean_is_scalar(x_231)) { - x_267 = lean_alloc_ctor(0, 2, 0); -} else { - x_267 = x_231; -} -lean_ctor_set(x_267, 0, x_258); -lean_ctor_set(x_267, 1, x_266); -if (lean_is_scalar(x_228)) { - x_268 = lean_alloc_ctor(0, 2, 0); -} else { - x_268 = x_228; -} -lean_ctor_set(x_268, 0, x_257); -lean_ctor_set(x_268, 1, x_267); -x_7 = x_13; -x_8 = x_268; -goto _start; -} -} -else -{ -lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; uint8_t x_281; -x_270 = lean_ctor_get(x_229, 0); -lean_inc(x_270); -lean_dec(x_229); -x_271 = l_Lean_Format_flatten___main___closed__1; -x_272 = l_Lean_Format_joinSep___main___at_Lean_ppGoal___spec__1(x_227, x_271); -x_273 = l_Array_iterateMAux___main___at_Lean_ppGoal___spec__6___closed__2; -x_274 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_274, 0, x_272); -lean_ctor_set(x_274, 1, x_273); -lean_ctor_set_uint8(x_274, sizeof(void*)*2, x_243); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -lean_inc(x_1); -x_275 = l_Lean_ppExpr(x_1, x_2, x_3, x_4, x_270); -x_276 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_276, 0, x_251); -lean_ctor_set(x_276, 1, x_275); -lean_ctor_set_uint8(x_276, sizeof(void*)*2, x_243); -x_277 = lean_alloc_ctor(3, 2, 0); -lean_ctor_set(x_277, 0, x_253); -lean_ctor_set(x_277, 1, x_276); -x_278 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_278, 0, x_274); -lean_ctor_set(x_278, 1, x_277); -lean_ctor_set_uint8(x_278, sizeof(void*)*2, x_243); -x_279 = lean_format_group(x_278); -x_280 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_280, 0, x_259); -lean_ctor_set(x_280, 1, x_279); -lean_ctor_set_uint8(x_280, sizeof(void*)*2, x_243); -x_281 = l_Lean_Format_isNil(x_280); -if (x_281 == 0) -{ -lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; -x_282 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_282, 0, x_280); -lean_ctor_set(x_282, 1, x_251); -lean_ctor_set_uint8(x_282, sizeof(void*)*2, x_243); -x_283 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_283, 0, x_282); -lean_ctor_set(x_283, 1, x_256); -lean_ctor_set_uint8(x_283, sizeof(void*)*2, x_243); -if (lean_is_scalar(x_231)) { - x_284 = lean_alloc_ctor(0, 2, 0); -} else { - x_284 = x_231; -} -lean_ctor_set(x_284, 0, x_258); -lean_ctor_set(x_284, 1, x_283); -if (lean_is_scalar(x_228)) { - x_285 = lean_alloc_ctor(0, 2, 0); -} else { - x_285 = x_228; -} -lean_ctor_set(x_285, 0, x_257); -lean_ctor_set(x_285, 1, x_284); -x_7 = x_13; -x_8 = x_285; -goto _start; -} -else -{ -lean_object* x_287; lean_object* x_288; lean_object* x_289; -x_287 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_287, 0, x_280); -lean_ctor_set(x_287, 1, x_256); -lean_ctor_set_uint8(x_287, sizeof(void*)*2, x_243); -if (lean_is_scalar(x_231)) { - x_288 = lean_alloc_ctor(0, 2, 0); -} else { - x_288 = x_231; -} -lean_ctor_set(x_288, 0, x_258); -lean_ctor_set(x_288, 1, x_287); -if (lean_is_scalar(x_228)) { - x_289 = lean_alloc_ctor(0, 2, 0); -} else { - x_289 = x_228; -} -lean_ctor_set(x_289, 0, x_257); -lean_ctor_set(x_289, 1, x_288); -x_7 = x_13; -x_8 = x_289; -goto _start; -} -} -} -} -} -else -{ -lean_object* x_307; -x_307 = lean_ctor_get(x_11, 0); -lean_inc(x_307); -lean_dec(x_11); -if (lean_obj_tag(x_307) == 0) -{ -lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; -x_308 = lean_ctor_get(x_8, 0); -lean_inc(x_308); -lean_dec(x_8); -x_309 = lean_ctor_get(x_15, 0); -lean_inc(x_309); -x_310 = lean_ctor_get(x_15, 1); -lean_inc(x_310); +x_238 = lean_ctor_get(x_15, 1); +lean_inc(x_238); if (lean_is_exclusive(x_15)) { lean_ctor_release(x_15, 0); lean_ctor_release(x_15, 1); - x_311 = x_15; + x_239 = x_15; } else { lean_dec_ref(x_15); - x_311 = lean_box(0); + x_239 = lean_box(0); } -x_312 = lean_ctor_get(x_307, 2); -lean_inc(x_312); -x_313 = lean_ctor_get(x_307, 3); -lean_inc(x_313); -lean_dec(x_307); +x_240 = lean_ctor_get(x_17, 2); +lean_inc(x_240); +x_241 = lean_ctor_get(x_17, 3); +lean_inc(x_241); +x_242 = lean_ctor_get(x_17, 4); +lean_inc(x_242); +lean_dec(x_17); +x_243 = l_Lean_Format_isNil(x_238); lean_inc(x_2); -x_314 = l_Lean_MetavarContext_instantiateMVars(x_2, x_313); -if (lean_obj_tag(x_309) == 0) +x_244 = l_Lean_MetavarContext_instantiateMVars(x_2, x_241); +x_245 = lean_ctor_get(x_244, 0); +lean_inc(x_245); +lean_dec(x_244); +lean_inc(x_2); +x_246 = l_Lean_MetavarContext_instantiateMVars(x_2, x_242); +x_247 = lean_ctor_get(x_246, 0); +lean_inc(x_247); +lean_dec(x_246); +x_248 = l_Lean_Name_toString___closed__1; +x_249 = l_Lean_Name_toStringWithSep___main(x_248, x_240); +x_250 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_250, 0, x_249); +x_251 = 0; +x_252 = l_Array_iterateMAux___main___at_Lean_ppGoal___spec__6___closed__4; +x_253 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_253, 0, x_250); +lean_ctor_set(x_253, 1, x_252); +lean_ctor_set_uint8(x_253, sizeof(void*)*2, x_251); +lean_inc(x_3); +lean_inc(x_4); +lean_inc(x_2); +lean_inc(x_1); +x_254 = l_Lean_ppExpr(x_1, x_2, x_4, x_3, x_245); +x_255 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_255, 0, x_253); +lean_ctor_set(x_255, 1, x_254); +lean_ctor_set_uint8(x_255, sizeof(void*)*2, x_251); +x_256 = l_Array_iterateMAux___main___at_Lean_ppGoal___spec__6___closed__6; +x_257 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_257, 0, x_255); +lean_ctor_set(x_257, 1, x_256); +lean_ctor_set_uint8(x_257, sizeof(void*)*2, x_251); +lean_inc(x_3); +lean_inc(x_4); +lean_inc(x_2); +lean_inc(x_1); +x_258 = l_Lean_ppExpr(x_1, x_2, x_4, x_3, x_247); +x_259 = lean_box(1); +x_260 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_260, 0, x_259); +lean_ctor_set(x_260, 1, x_258); +lean_ctor_set_uint8(x_260, sizeof(void*)*2, x_251); +x_261 = lean_unsigned_to_nat(2u); +x_262 = lean_alloc_ctor(3, 2, 0); +lean_ctor_set(x_262, 0, x_261); +lean_ctor_set(x_262, 1, x_260); +x_263 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_263, 0, x_257); +lean_ctor_set(x_263, 1, x_262); +lean_ctor_set_uint8(x_263, sizeof(void*)*2, x_251); +x_264 = lean_format_group(x_263); +x_265 = lean_box(0); +x_266 = lean_box(0); +if (x_243 == 0) { -lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; -x_315 = lean_ctor_get(x_314, 0); -lean_inc(x_315); -if (lean_is_exclusive(x_314)) { - lean_ctor_release(x_314, 0); - lean_ctor_release(x_314, 1); - x_316 = x_314; -} else { - lean_dec_ref(x_314); - x_316 = lean_box(0); -} -x_317 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_317, 0, x_312); -lean_ctor_set(x_317, 1, x_308); -x_318 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_318, 0, x_315); -if (lean_is_scalar(x_316)) { - x_319 = lean_alloc_ctor(0, 2, 0); -} else { - x_319 = x_316; -} -lean_ctor_set(x_319, 0, x_318); -lean_ctor_set(x_319, 1, x_310); -if (lean_is_scalar(x_311)) { - x_320 = lean_alloc_ctor(0, 2, 0); -} else { - x_320 = x_311; -} -lean_ctor_set(x_320, 0, x_317); -lean_ctor_set(x_320, 1, x_319); +lean_object* x_301; +x_301 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_301, 0, x_238); +lean_ctor_set(x_301, 1, x_259); +lean_ctor_set_uint8(x_301, sizeof(void*)*2, x_251); +if (lean_obj_tag(x_235) == 0) +{ +uint8_t x_302; +lean_dec(x_239); +lean_dec(x_237); +lean_dec(x_236); +x_302 = l_Lean_Format_isNil(x_301); +if (x_302 == 0) +{ +lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; +x_303 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_303, 0, x_301); +lean_ctor_set(x_303, 1, x_259); +lean_ctor_set_uint8(x_303, sizeof(void*)*2, x_251); +x_304 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_304, 0, x_303); +lean_ctor_set(x_304, 1, x_264); +lean_ctor_set_uint8(x_304, sizeof(void*)*2, x_251); +x_305 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_305, 0, x_266); +lean_ctor_set(x_305, 1, x_304); +x_306 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_306, 0, x_265); +lean_ctor_set(x_306, 1, x_305); x_7 = x_13; -x_8 = x_320; +x_8 = x_306; goto _start; } else { -lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; uint8_t x_326; -x_322 = lean_ctor_get(x_314, 0); -lean_inc(x_322); -if (lean_is_exclusive(x_314)) { - lean_ctor_release(x_314, 0); - lean_ctor_release(x_314, 1); - x_323 = x_314; -} else { - lean_dec_ref(x_314); - x_323 = lean_box(0); +lean_object* x_308; lean_object* x_309; lean_object* x_310; +x_308 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_308, 0, x_301); +lean_ctor_set(x_308, 1, x_264); +lean_ctor_set_uint8(x_308, sizeof(void*)*2, x_251); +x_309 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_309, 0, x_266); +lean_ctor_set(x_309, 1, x_308); +x_310 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_310, 0, x_265); +lean_ctor_set(x_310, 1, x_309); +x_7 = x_13; +x_8 = x_310; +goto _start; } -x_324 = lean_ctor_get(x_309, 0); -lean_inc(x_324); -if (lean_is_exclusive(x_309)) { - lean_ctor_release(x_309, 0); - x_325 = x_309; +} +else +{ +x_267 = x_301; +goto block_300; +} +} +else +{ +if (lean_obj_tag(x_235) == 0) +{ +lean_object* x_312; lean_object* x_313; lean_object* x_314; +lean_dec(x_239); +lean_dec(x_237); +lean_dec(x_236); +x_312 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_312, 0, x_238); +lean_ctor_set(x_312, 1, x_264); +lean_ctor_set_uint8(x_312, sizeof(void*)*2, x_251); +x_313 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_313, 0, x_266); +lean_ctor_set(x_313, 1, x_312); +x_314 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_314, 0, x_265); +lean_ctor_set(x_314, 1, x_313); +x_7 = x_13; +x_8 = x_314; +goto _start; +} +else +{ +x_267 = x_238; +goto block_300; +} +} +block_300: +{ +if (lean_obj_tag(x_237) == 0) +{ +uint8_t x_268; +lean_dec(x_235); +x_268 = l_Lean_Format_isNil(x_267); +if (x_268 == 0) +{ +lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; +x_269 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_269, 0, x_267); +lean_ctor_set(x_269, 1, x_259); +lean_ctor_set_uint8(x_269, sizeof(void*)*2, x_251); +x_270 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_270, 0, x_269); +lean_ctor_set(x_270, 1, x_264); +lean_ctor_set_uint8(x_270, sizeof(void*)*2, x_251); +if (lean_is_scalar(x_239)) { + x_271 = lean_alloc_ctor(0, 2, 0); } else { - lean_dec_ref(x_309); + x_271 = x_239; +} +lean_ctor_set(x_271, 0, x_266); +lean_ctor_set(x_271, 1, x_270); +if (lean_is_scalar(x_236)) { + x_272 = lean_alloc_ctor(0, 2, 0); +} else { + x_272 = x_236; +} +lean_ctor_set(x_272, 0, x_265); +lean_ctor_set(x_272, 1, x_271); +x_7 = x_13; +x_8 = x_272; +goto _start; +} +else +{ +lean_object* x_274; lean_object* x_275; lean_object* x_276; +x_274 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_274, 0, x_267); +lean_ctor_set(x_274, 1, x_264); +lean_ctor_set_uint8(x_274, sizeof(void*)*2, x_251); +if (lean_is_scalar(x_239)) { + x_275 = lean_alloc_ctor(0, 2, 0); +} else { + x_275 = x_239; +} +lean_ctor_set(x_275, 0, x_266); +lean_ctor_set(x_275, 1, x_274); +if (lean_is_scalar(x_236)) { + x_276 = lean_alloc_ctor(0, 2, 0); +} else { + x_276 = x_236; +} +lean_ctor_set(x_276, 0, x_265); +lean_ctor_set(x_276, 1, x_275); +x_7 = x_13; +x_8 = x_276; +goto _start; +} +} +else +{ +lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; uint8_t x_290; +x_278 = lean_ctor_get(x_237, 0); +lean_inc(x_278); +lean_dec(x_237); +x_279 = l_List_reverse___rarg(x_235); +x_280 = l_Lean_Format_flatten___main___closed__1; +x_281 = l_Lean_Format_joinSep___main___at_Lean_ppGoal___spec__1(x_279, x_280); +x_282 = l_Array_iterateMAux___main___at_Lean_ppGoal___spec__6___closed__2; +x_283 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_283, 0, x_281); +lean_ctor_set(x_283, 1, x_282); +lean_ctor_set_uint8(x_283, sizeof(void*)*2, x_251); +lean_inc(x_3); +lean_inc(x_4); +lean_inc(x_2); +lean_inc(x_1); +x_284 = l_Lean_ppExpr(x_1, x_2, x_4, x_3, x_278); +x_285 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_285, 0, x_259); +lean_ctor_set(x_285, 1, x_284); +lean_ctor_set_uint8(x_285, sizeof(void*)*2, x_251); +x_286 = lean_alloc_ctor(3, 2, 0); +lean_ctor_set(x_286, 0, x_261); +lean_ctor_set(x_286, 1, x_285); +x_287 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_287, 0, x_283); +lean_ctor_set(x_287, 1, x_286); +lean_ctor_set_uint8(x_287, sizeof(void*)*2, x_251); +x_288 = lean_format_group(x_287); +x_289 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_289, 0, x_267); +lean_ctor_set(x_289, 1, x_288); +lean_ctor_set_uint8(x_289, sizeof(void*)*2, x_251); +x_290 = l_Lean_Format_isNil(x_289); +if (x_290 == 0) +{ +lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; +x_291 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_291, 0, x_289); +lean_ctor_set(x_291, 1, x_259); +lean_ctor_set_uint8(x_291, sizeof(void*)*2, x_251); +x_292 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_292, 0, x_291); +lean_ctor_set(x_292, 1, x_264); +lean_ctor_set_uint8(x_292, sizeof(void*)*2, x_251); +if (lean_is_scalar(x_239)) { + x_293 = lean_alloc_ctor(0, 2, 0); +} else { + x_293 = x_239; +} +lean_ctor_set(x_293, 0, x_266); +lean_ctor_set(x_293, 1, x_292); +if (lean_is_scalar(x_236)) { + x_294 = lean_alloc_ctor(0, 2, 0); +} else { + x_294 = x_236; +} +lean_ctor_set(x_294, 0, x_265); +lean_ctor_set(x_294, 1, x_293); +x_7 = x_13; +x_8 = x_294; +goto _start; +} +else +{ +lean_object* x_296; lean_object* x_297; lean_object* x_298; +x_296 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_296, 0, x_289); +lean_ctor_set(x_296, 1, x_264); +lean_ctor_set_uint8(x_296, sizeof(void*)*2, x_251); +if (lean_is_scalar(x_239)) { + x_297 = lean_alloc_ctor(0, 2, 0); +} else { + x_297 = x_239; +} +lean_ctor_set(x_297, 0, x_266); +lean_ctor_set(x_297, 1, x_296); +if (lean_is_scalar(x_236)) { + x_298 = lean_alloc_ctor(0, 2, 0); +} else { + x_298 = x_236; +} +lean_ctor_set(x_298, 0, x_265); +lean_ctor_set(x_298, 1, x_297); +x_7 = x_13; +x_8 = x_298; +goto _start; +} +} +} +} +} +else +{ +lean_object* x_316; +x_316 = lean_ctor_get(x_11, 0); +lean_inc(x_316); +lean_dec(x_11); +if (lean_obj_tag(x_316) == 0) +{ +lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; +x_317 = lean_ctor_get(x_8, 0); +lean_inc(x_317); +lean_dec(x_8); +x_318 = lean_ctor_get(x_15, 0); +lean_inc(x_318); +x_319 = lean_ctor_get(x_15, 1); +lean_inc(x_319); +if (lean_is_exclusive(x_15)) { + lean_ctor_release(x_15, 0); + lean_ctor_release(x_15, 1); + x_320 = x_15; +} else { + lean_dec_ref(x_15); + x_320 = lean_box(0); +} +x_321 = lean_ctor_get(x_316, 2); +lean_inc(x_321); +x_322 = lean_ctor_get(x_316, 3); +lean_inc(x_322); +lean_dec(x_316); +lean_inc(x_2); +x_323 = l_Lean_MetavarContext_instantiateMVars(x_2, x_322); +if (lean_obj_tag(x_318) == 0) +{ +lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; +x_324 = lean_ctor_get(x_323, 0); +lean_inc(x_324); +if (lean_is_exclusive(x_323)) { + lean_ctor_release(x_323, 0); + lean_ctor_release(x_323, 1); + x_325 = x_323; +} else { + lean_dec_ref(x_323); x_325 = lean_box(0); } -x_326 = lean_expr_eqv(x_324, x_322); -if (x_326 == 0) -{ -uint8_t x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; -x_327 = l_Lean_Format_isNil(x_310); -x_328 = lean_box(0); -x_329 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_329, 0, x_312); +x_326 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_326, 0, x_321); +lean_ctor_set(x_326, 1, x_317); +x_327 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_327, 0, x_324); +if (lean_is_scalar(x_325)) { + x_328 = lean_alloc_ctor(0, 2, 0); +} else { + x_328 = x_325; +} +lean_ctor_set(x_328, 0, x_327); +lean_ctor_set(x_328, 1, x_319); +if (lean_is_scalar(x_320)) { + x_329 = lean_alloc_ctor(0, 2, 0); +} else { + x_329 = x_320; +} +lean_ctor_set(x_329, 0, x_326); lean_ctor_set(x_329, 1, x_328); -if (lean_is_scalar(x_325)) { - x_330 = lean_alloc_ctor(1, 1, 0); -} else { - x_330 = x_325; -} -lean_ctor_set(x_330, 0, x_322); -if (x_327 == 0) -{ -uint8_t x_331; lean_object* x_332; lean_object* x_333; -x_331 = 0; -x_332 = lean_box(1); -x_333 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_333, 0, x_310); -lean_ctor_set(x_333, 1, x_332); -lean_ctor_set_uint8(x_333, sizeof(void*)*2, x_331); -if (lean_obj_tag(x_308) == 0) -{ -lean_object* x_334; lean_object* x_335; -lean_dec(x_324); -if (lean_is_scalar(x_323)) { - x_334 = lean_alloc_ctor(0, 2, 0); -} else { - x_334 = x_323; -} -lean_ctor_set(x_334, 0, x_330); -lean_ctor_set(x_334, 1, x_333); -if (lean_is_scalar(x_311)) { - x_335 = lean_alloc_ctor(0, 2, 0); -} else { - x_335 = x_311; -} -lean_ctor_set(x_335, 0, x_329); -lean_ctor_set(x_335, 1, x_334); x_7 = x_13; -x_8 = x_335; +x_8 = x_329; goto _start; } else { -lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; -x_337 = l_Lean_Format_flatten___main___closed__1; -x_338 = l_Lean_Format_joinSep___main___at_Lean_ppGoal___spec__1(x_308, x_337); -x_339 = l_Array_iterateMAux___main___at_Lean_ppGoal___spec__6___closed__2; -x_340 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_340, 0, x_338); -lean_ctor_set(x_340, 1, x_339); -lean_ctor_set_uint8(x_340, sizeof(void*)*2, x_331); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -lean_inc(x_1); -x_341 = l_Lean_ppExpr(x_1, x_2, x_3, x_4, x_324); +lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; uint8_t x_335; +x_331 = lean_ctor_get(x_323, 0); +lean_inc(x_331); +if (lean_is_exclusive(x_323)) { + lean_ctor_release(x_323, 0); + lean_ctor_release(x_323, 1); + x_332 = x_323; +} else { + lean_dec_ref(x_323); + x_332 = lean_box(0); +} +x_333 = lean_ctor_get(x_318, 0); +lean_inc(x_333); +if (lean_is_exclusive(x_318)) { + lean_ctor_release(x_318, 0); + x_334 = x_318; +} else { + lean_dec_ref(x_318); + x_334 = lean_box(0); +} +x_335 = lean_expr_eqv(x_333, x_331); +if (x_335 == 0) +{ +uint8_t x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; +x_336 = l_Lean_Format_isNil(x_319); +x_337 = lean_box(0); +x_338 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_338, 0, x_321); +lean_ctor_set(x_338, 1, x_337); +if (lean_is_scalar(x_334)) { + x_339 = lean_alloc_ctor(1, 1, 0); +} else { + x_339 = x_334; +} +lean_ctor_set(x_339, 0, x_331); +if (x_336 == 0) +{ +uint8_t x_340; lean_object* x_341; lean_object* x_342; +x_340 = 0; +x_341 = lean_box(1); x_342 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_342, 0, x_332); +lean_ctor_set(x_342, 0, x_319); lean_ctor_set(x_342, 1, x_341); -lean_ctor_set_uint8(x_342, sizeof(void*)*2, x_331); -x_343 = lean_unsigned_to_nat(2u); -x_344 = lean_alloc_ctor(3, 2, 0); -lean_ctor_set(x_344, 0, x_343); -lean_ctor_set(x_344, 1, x_342); -x_345 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_345, 0, x_340); -lean_ctor_set(x_345, 1, x_344); -lean_ctor_set_uint8(x_345, sizeof(void*)*2, x_331); -x_346 = lean_format_group(x_345); -x_347 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_347, 0, x_333); -lean_ctor_set(x_347, 1, x_346); -lean_ctor_set_uint8(x_347, sizeof(void*)*2, x_331); -if (lean_is_scalar(x_323)) { - x_348 = lean_alloc_ctor(0, 2, 0); -} else { - x_348 = x_323; -} -lean_ctor_set(x_348, 0, x_330); -lean_ctor_set(x_348, 1, x_347); -if (lean_is_scalar(x_311)) { - x_349 = lean_alloc_ctor(0, 2, 0); -} else { - x_349 = x_311; -} -lean_ctor_set(x_349, 0, x_329); -lean_ctor_set(x_349, 1, x_348); -x_7 = x_13; -x_8 = x_349; -goto _start; -} -} -else +lean_ctor_set_uint8(x_342, sizeof(void*)*2, x_340); +if (lean_obj_tag(x_317) == 0) { -if (lean_obj_tag(x_308) == 0) -{ -lean_object* x_351; lean_object* x_352; -lean_dec(x_324); -if (lean_is_scalar(x_323)) { - x_351 = lean_alloc_ctor(0, 2, 0); +lean_object* x_343; lean_object* x_344; +lean_dec(x_333); +if (lean_is_scalar(x_332)) { + x_343 = lean_alloc_ctor(0, 2, 0); } else { - x_351 = x_323; + x_343 = x_332; } -lean_ctor_set(x_351, 0, x_330); -lean_ctor_set(x_351, 1, x_310); -if (lean_is_scalar(x_311)) { - x_352 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_343, 0, x_339); +lean_ctor_set(x_343, 1, x_342); +if (lean_is_scalar(x_320)) { + x_344 = lean_alloc_ctor(0, 2, 0); } else { - x_352 = x_311; + x_344 = x_320; } -lean_ctor_set(x_352, 0, x_329); -lean_ctor_set(x_352, 1, x_351); +lean_ctor_set(x_344, 0, x_338); +lean_ctor_set(x_344, 1, x_343); x_7 = x_13; -x_8 = x_352; +x_8 = x_344; goto _start; } else { -lean_object* x_354; lean_object* x_355; uint8_t x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; -x_354 = l_Lean_Format_flatten___main___closed__1; -x_355 = l_Lean_Format_joinSep___main___at_Lean_ppGoal___spec__1(x_308, x_354); -x_356 = 0; -x_357 = l_Array_iterateMAux___main___at_Lean_ppGoal___spec__6___closed__2; -x_358 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_358, 0, x_355); -lean_ctor_set(x_358, 1, x_357); -lean_ctor_set_uint8(x_358, sizeof(void*)*2, x_356); -lean_inc(x_4); +lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; +x_346 = l_List_reverse___rarg(x_317); +x_347 = l_Lean_Format_flatten___main___closed__1; +x_348 = l_Lean_Format_joinSep___main___at_Lean_ppGoal___spec__1(x_346, x_347); +x_349 = l_Array_iterateMAux___main___at_Lean_ppGoal___spec__6___closed__2; +x_350 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_350, 0, x_348); +lean_ctor_set(x_350, 1, x_349); +lean_ctor_set_uint8(x_350, sizeof(void*)*2, x_340); lean_inc(x_3); +lean_inc(x_4); lean_inc(x_2); lean_inc(x_1); -x_359 = l_Lean_ppExpr(x_1, x_2, x_3, x_4, x_324); -x_360 = lean_box(1); -x_361 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_361, 0, x_360); -lean_ctor_set(x_361, 1, x_359); -lean_ctor_set_uint8(x_361, sizeof(void*)*2, x_356); -x_362 = lean_unsigned_to_nat(2u); -x_363 = lean_alloc_ctor(3, 2, 0); -lean_ctor_set(x_363, 0, x_362); -lean_ctor_set(x_363, 1, x_361); -x_364 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_364, 0, x_358); -lean_ctor_set(x_364, 1, x_363); -lean_ctor_set_uint8(x_364, sizeof(void*)*2, x_356); -x_365 = lean_format_group(x_364); -x_366 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_366, 0, x_310); -lean_ctor_set(x_366, 1, x_365); -lean_ctor_set_uint8(x_366, sizeof(void*)*2, x_356); -if (lean_is_scalar(x_323)) { - x_367 = lean_alloc_ctor(0, 2, 0); +x_351 = l_Lean_ppExpr(x_1, x_2, x_4, x_3, x_333); +x_352 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_352, 0, x_341); +lean_ctor_set(x_352, 1, x_351); +lean_ctor_set_uint8(x_352, sizeof(void*)*2, x_340); +x_353 = lean_unsigned_to_nat(2u); +x_354 = lean_alloc_ctor(3, 2, 0); +lean_ctor_set(x_354, 0, x_353); +lean_ctor_set(x_354, 1, x_352); +x_355 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_355, 0, x_350); +lean_ctor_set(x_355, 1, x_354); +lean_ctor_set_uint8(x_355, sizeof(void*)*2, x_340); +x_356 = lean_format_group(x_355); +x_357 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_357, 0, x_342); +lean_ctor_set(x_357, 1, x_356); +lean_ctor_set_uint8(x_357, sizeof(void*)*2, x_340); +if (lean_is_scalar(x_332)) { + x_358 = lean_alloc_ctor(0, 2, 0); } else { - x_367 = x_323; + x_358 = x_332; } -lean_ctor_set(x_367, 0, x_330); -lean_ctor_set(x_367, 1, x_366); -if (lean_is_scalar(x_311)) { - x_368 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_358, 0, x_339); +lean_ctor_set(x_358, 1, x_357); +if (lean_is_scalar(x_320)) { + x_359 = lean_alloc_ctor(0, 2, 0); } else { - x_368 = x_311; + x_359 = x_320; } -lean_ctor_set(x_368, 0, x_329); -lean_ctor_set(x_368, 1, x_367); +lean_ctor_set(x_359, 0, x_338); +lean_ctor_set(x_359, 1, x_358); x_7 = x_13; -x_8 = x_368; +x_8 = x_359; goto _start; } } -} else { -lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; -lean_dec(x_324); -x_370 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_370, 0, x_312); -lean_ctor_set(x_370, 1, x_308); -if (lean_is_scalar(x_325)) { - x_371 = lean_alloc_ctor(1, 1, 0); +if (lean_obj_tag(x_317) == 0) +{ +lean_object* x_361; lean_object* x_362; +lean_dec(x_333); +if (lean_is_scalar(x_332)) { + x_361 = lean_alloc_ctor(0, 2, 0); } else { - x_371 = x_325; + x_361 = x_332; } -lean_ctor_set(x_371, 0, x_322); -if (lean_is_scalar(x_323)) { - x_372 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_361, 0, x_339); +lean_ctor_set(x_361, 1, x_319); +if (lean_is_scalar(x_320)) { + x_362 = lean_alloc_ctor(0, 2, 0); } else { - x_372 = x_323; + x_362 = x_320; } +lean_ctor_set(x_362, 0, x_338); +lean_ctor_set(x_362, 1, x_361); +x_7 = x_13; +x_8 = x_362; +goto _start; +} +else +{ +lean_object* x_364; lean_object* x_365; lean_object* x_366; uint8_t x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; +x_364 = l_List_reverse___rarg(x_317); +x_365 = l_Lean_Format_flatten___main___closed__1; +x_366 = l_Lean_Format_joinSep___main___at_Lean_ppGoal___spec__1(x_364, x_365); +x_367 = 0; +x_368 = l_Array_iterateMAux___main___at_Lean_ppGoal___spec__6___closed__2; +x_369 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_369, 0, x_366); +lean_ctor_set(x_369, 1, x_368); +lean_ctor_set_uint8(x_369, sizeof(void*)*2, x_367); +lean_inc(x_3); +lean_inc(x_4); +lean_inc(x_2); +lean_inc(x_1); +x_370 = l_Lean_ppExpr(x_1, x_2, x_4, x_3, x_333); +x_371 = lean_box(1); +x_372 = lean_alloc_ctor(4, 2, 1); lean_ctor_set(x_372, 0, x_371); -lean_ctor_set(x_372, 1, x_310); -if (lean_is_scalar(x_311)) { - x_373 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_372, 1, x_370); +lean_ctor_set_uint8(x_372, sizeof(void*)*2, x_367); +x_373 = lean_unsigned_to_nat(2u); +x_374 = lean_alloc_ctor(3, 2, 0); +lean_ctor_set(x_374, 0, x_373); +lean_ctor_set(x_374, 1, x_372); +x_375 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_375, 0, x_369); +lean_ctor_set(x_375, 1, x_374); +lean_ctor_set_uint8(x_375, sizeof(void*)*2, x_367); +x_376 = lean_format_group(x_375); +x_377 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_377, 0, x_319); +lean_ctor_set(x_377, 1, x_376); +lean_ctor_set_uint8(x_377, sizeof(void*)*2, x_367); +if (lean_is_scalar(x_332)) { + x_378 = lean_alloc_ctor(0, 2, 0); } else { - x_373 = x_311; + x_378 = x_332; } -lean_ctor_set(x_373, 0, x_370); -lean_ctor_set(x_373, 1, x_372); +lean_ctor_set(x_378, 0, x_339); +lean_ctor_set(x_378, 1, x_377); +if (lean_is_scalar(x_320)) { + x_379 = lean_alloc_ctor(0, 2, 0); +} else { + x_379 = x_320; +} +lean_ctor_set(x_379, 0, x_338); +lean_ctor_set(x_379, 1, x_378); x_7 = x_13; -x_8 = x_373; +x_8 = x_379; goto _start; } } } else { -lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; uint8_t x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; uint8_t x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; -x_375 = lean_ctor_get(x_8, 0); -lean_inc(x_375); +lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; +lean_dec(x_333); +x_381 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_381, 0, x_321); +lean_ctor_set(x_381, 1, x_317); +if (lean_is_scalar(x_334)) { + x_382 = lean_alloc_ctor(1, 1, 0); +} else { + x_382 = x_334; +} +lean_ctor_set(x_382, 0, x_331); +if (lean_is_scalar(x_332)) { + x_383 = lean_alloc_ctor(0, 2, 0); +} else { + x_383 = x_332; +} +lean_ctor_set(x_383, 0, x_382); +lean_ctor_set(x_383, 1, x_319); +if (lean_is_scalar(x_320)) { + x_384 = lean_alloc_ctor(0, 2, 0); +} else { + x_384 = x_320; +} +lean_ctor_set(x_384, 0, x_381); +lean_ctor_set(x_384, 1, x_383); +x_7 = x_13; +x_8 = x_384; +goto _start; +} +} +} +else +{ +lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; uint8_t x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; uint8_t x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; +x_386 = lean_ctor_get(x_8, 0); +lean_inc(x_386); if (lean_is_exclusive(x_8)) { lean_ctor_release(x_8, 0); lean_ctor_release(x_8, 1); - x_376 = x_8; + x_387 = x_8; } else { lean_dec_ref(x_8); - x_376 = lean_box(0); + x_387 = lean_box(0); } -x_377 = lean_ctor_get(x_15, 0); -lean_inc(x_377); -x_378 = lean_ctor_get(x_15, 1); -lean_inc(x_378); +x_388 = lean_ctor_get(x_15, 0); +lean_inc(x_388); +x_389 = lean_ctor_get(x_15, 1); +lean_inc(x_389); if (lean_is_exclusive(x_15)) { lean_ctor_release(x_15, 0); lean_ctor_release(x_15, 1); - x_379 = x_15; + x_390 = x_15; } else { lean_dec_ref(x_15); - x_379 = lean_box(0); + x_390 = lean_box(0); } -x_380 = lean_ctor_get(x_307, 2); -lean_inc(x_380); -x_381 = lean_ctor_get(x_307, 3); -lean_inc(x_381); -x_382 = lean_ctor_get(x_307, 4); -lean_inc(x_382); -lean_dec(x_307); -x_383 = l_Lean_Format_isNil(x_378); +x_391 = lean_ctor_get(x_316, 2); +lean_inc(x_391); +x_392 = lean_ctor_get(x_316, 3); +lean_inc(x_392); +x_393 = lean_ctor_get(x_316, 4); +lean_inc(x_393); +lean_dec(x_316); +x_394 = l_Lean_Format_isNil(x_389); lean_inc(x_2); -x_384 = l_Lean_MetavarContext_instantiateMVars(x_2, x_381); -x_385 = lean_ctor_get(x_384, 0); -lean_inc(x_385); -lean_dec(x_384); +x_395 = l_Lean_MetavarContext_instantiateMVars(x_2, x_392); +x_396 = lean_ctor_get(x_395, 0); +lean_inc(x_396); +lean_dec(x_395); lean_inc(x_2); -x_386 = l_Lean_MetavarContext_instantiateMVars(x_2, x_382); -x_387 = lean_ctor_get(x_386, 0); -lean_inc(x_387); +x_397 = l_Lean_MetavarContext_instantiateMVars(x_2, x_393); +x_398 = lean_ctor_get(x_397, 0); +lean_inc(x_398); +lean_dec(x_397); +x_399 = l_Lean_Name_toString___closed__1; +x_400 = l_Lean_Name_toStringWithSep___main(x_399, x_391); +x_401 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_401, 0, x_400); +x_402 = 0; +x_403 = l_Array_iterateMAux___main___at_Lean_ppGoal___spec__6___closed__4; +x_404 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_404, 0, x_401); +lean_ctor_set(x_404, 1, x_403); +lean_ctor_set_uint8(x_404, sizeof(void*)*2, x_402); +lean_inc(x_3); +lean_inc(x_4); +lean_inc(x_2); +lean_inc(x_1); +x_405 = l_Lean_ppExpr(x_1, x_2, x_4, x_3, x_396); +x_406 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_406, 0, x_404); +lean_ctor_set(x_406, 1, x_405); +lean_ctor_set_uint8(x_406, sizeof(void*)*2, x_402); +x_407 = l_Array_iterateMAux___main___at_Lean_ppGoal___spec__6___closed__6; +x_408 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_408, 0, x_406); +lean_ctor_set(x_408, 1, x_407); +lean_ctor_set_uint8(x_408, sizeof(void*)*2, x_402); +lean_inc(x_3); +lean_inc(x_4); +lean_inc(x_2); +lean_inc(x_1); +x_409 = l_Lean_ppExpr(x_1, x_2, x_4, x_3, x_398); +x_410 = lean_box(1); +x_411 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_411, 0, x_410); +lean_ctor_set(x_411, 1, x_409); +lean_ctor_set_uint8(x_411, sizeof(void*)*2, x_402); +x_412 = lean_unsigned_to_nat(2u); +x_413 = lean_alloc_ctor(3, 2, 0); +lean_ctor_set(x_413, 0, x_412); +lean_ctor_set(x_413, 1, x_411); +x_414 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_414, 0, x_408); +lean_ctor_set(x_414, 1, x_413); +lean_ctor_set_uint8(x_414, sizeof(void*)*2, x_402); +x_415 = lean_format_group(x_414); +x_416 = lean_box(0); +x_417 = lean_box(0); +if (x_394 == 0) +{ +lean_object* x_452; +x_452 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_452, 0, x_389); +lean_ctor_set(x_452, 1, x_410); +lean_ctor_set_uint8(x_452, sizeof(void*)*2, x_402); +if (lean_obj_tag(x_386) == 0) +{ +uint8_t x_453; +lean_dec(x_390); +lean_dec(x_388); +lean_dec(x_387); +x_453 = l_Lean_Format_isNil(x_452); +if (x_453 == 0) +{ +lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; +x_454 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_454, 0, x_452); +lean_ctor_set(x_454, 1, x_410); +lean_ctor_set_uint8(x_454, sizeof(void*)*2, x_402); +x_455 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_455, 0, x_454); +lean_ctor_set(x_455, 1, x_415); +lean_ctor_set_uint8(x_455, sizeof(void*)*2, x_402); +x_456 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_456, 0, x_417); +lean_ctor_set(x_456, 1, x_455); +x_457 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_457, 0, x_416); +lean_ctor_set(x_457, 1, x_456); +x_7 = x_13; +x_8 = x_457; +goto _start; +} +else +{ +lean_object* x_459; lean_object* x_460; lean_object* x_461; +x_459 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_459, 0, x_452); +lean_ctor_set(x_459, 1, x_415); +lean_ctor_set_uint8(x_459, sizeof(void*)*2, x_402); +x_460 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_460, 0, x_417); +lean_ctor_set(x_460, 1, x_459); +x_461 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_461, 0, x_416); +lean_ctor_set(x_461, 1, x_460); +x_7 = x_13; +x_8 = x_461; +goto _start; +} +} +else +{ +x_418 = x_452; +goto block_451; +} +} +else +{ +if (lean_obj_tag(x_386) == 0) +{ +lean_object* x_463; lean_object* x_464; lean_object* x_465; +lean_dec(x_390); +lean_dec(x_388); +lean_dec(x_387); +x_463 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_463, 0, x_389); +lean_ctor_set(x_463, 1, x_415); +lean_ctor_set_uint8(x_463, sizeof(void*)*2, x_402); +x_464 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_464, 0, x_417); +lean_ctor_set(x_464, 1, x_463); +x_465 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_465, 0, x_416); +lean_ctor_set(x_465, 1, x_464); +x_7 = x_13; +x_8 = x_465; +goto _start; +} +else +{ +x_418 = x_389; +goto block_451; +} +} +block_451: +{ +if (lean_obj_tag(x_388) == 0) +{ +uint8_t x_419; lean_dec(x_386); -x_388 = l_Lean_Name_toString___closed__1; -x_389 = l_Lean_Name_toStringWithSep___main(x_388, x_380); -x_390 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_390, 0, x_389); -x_391 = 0; -x_392 = l_Array_iterateMAux___main___at_Lean_ppGoal___spec__6___closed__4; -x_393 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_393, 0, x_390); -lean_ctor_set(x_393, 1, x_392); -lean_ctor_set_uint8(x_393, sizeof(void*)*2, x_391); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -lean_inc(x_1); -x_394 = l_Lean_ppExpr(x_1, x_2, x_3, x_4, x_385); -x_395 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_395, 0, x_393); -lean_ctor_set(x_395, 1, x_394); -lean_ctor_set_uint8(x_395, sizeof(void*)*2, x_391); -x_396 = l_Array_iterateMAux___main___at_Lean_ppGoal___spec__6___closed__6; -x_397 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_397, 0, x_395); -lean_ctor_set(x_397, 1, x_396); -lean_ctor_set_uint8(x_397, sizeof(void*)*2, x_391); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -lean_inc(x_1); -x_398 = l_Lean_ppExpr(x_1, x_2, x_3, x_4, x_387); -x_399 = lean_box(1); -x_400 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_400, 0, x_399); -lean_ctor_set(x_400, 1, x_398); -lean_ctor_set_uint8(x_400, sizeof(void*)*2, x_391); -x_401 = lean_unsigned_to_nat(2u); -x_402 = lean_alloc_ctor(3, 2, 0); -lean_ctor_set(x_402, 0, x_401); -lean_ctor_set(x_402, 1, x_400); -x_403 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_403, 0, x_397); -lean_ctor_set(x_403, 1, x_402); -lean_ctor_set_uint8(x_403, sizeof(void*)*2, x_391); -x_404 = lean_format_group(x_403); -x_405 = lean_box(0); -x_406 = lean_box(0); -if (x_383 == 0) +x_419 = l_Lean_Format_isNil(x_418); +if (x_419 == 0) { -lean_object* x_440; +lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; +x_420 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_420, 0, x_418); +lean_ctor_set(x_420, 1, x_410); +lean_ctor_set_uint8(x_420, sizeof(void*)*2, x_402); +x_421 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_421, 0, x_420); +lean_ctor_set(x_421, 1, x_415); +lean_ctor_set_uint8(x_421, sizeof(void*)*2, x_402); +if (lean_is_scalar(x_390)) { + x_422 = lean_alloc_ctor(0, 2, 0); +} else { + x_422 = x_390; +} +lean_ctor_set(x_422, 0, x_417); +lean_ctor_set(x_422, 1, x_421); +if (lean_is_scalar(x_387)) { + x_423 = lean_alloc_ctor(0, 2, 0); +} else { + x_423 = x_387; +} +lean_ctor_set(x_423, 0, x_416); +lean_ctor_set(x_423, 1, x_422); +x_7 = x_13; +x_8 = x_423; +goto _start; +} +else +{ +lean_object* x_425; lean_object* x_426; lean_object* x_427; +x_425 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_425, 0, x_418); +lean_ctor_set(x_425, 1, x_415); +lean_ctor_set_uint8(x_425, sizeof(void*)*2, x_402); +if (lean_is_scalar(x_390)) { + x_426 = lean_alloc_ctor(0, 2, 0); +} else { + x_426 = x_390; +} +lean_ctor_set(x_426, 0, x_417); +lean_ctor_set(x_426, 1, x_425); +if (lean_is_scalar(x_387)) { + x_427 = lean_alloc_ctor(0, 2, 0); +} else { + x_427 = x_387; +} +lean_ctor_set(x_427, 0, x_416); +lean_ctor_set(x_427, 1, x_426); +x_7 = x_13; +x_8 = x_427; +goto _start; +} +} +else +{ +lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; uint8_t x_441; +x_429 = lean_ctor_get(x_388, 0); +lean_inc(x_429); +lean_dec(x_388); +x_430 = l_List_reverse___rarg(x_386); +x_431 = l_Lean_Format_flatten___main___closed__1; +x_432 = l_Lean_Format_joinSep___main___at_Lean_ppGoal___spec__1(x_430, x_431); +x_433 = l_Array_iterateMAux___main___at_Lean_ppGoal___spec__6___closed__2; +x_434 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_434, 0, x_432); +lean_ctor_set(x_434, 1, x_433); +lean_ctor_set_uint8(x_434, sizeof(void*)*2, x_402); +lean_inc(x_3); +lean_inc(x_4); +lean_inc(x_2); +lean_inc(x_1); +x_435 = l_Lean_ppExpr(x_1, x_2, x_4, x_3, x_429); +x_436 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_436, 0, x_410); +lean_ctor_set(x_436, 1, x_435); +lean_ctor_set_uint8(x_436, sizeof(void*)*2, x_402); +x_437 = lean_alloc_ctor(3, 2, 0); +lean_ctor_set(x_437, 0, x_412); +lean_ctor_set(x_437, 1, x_436); +x_438 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_438, 0, x_434); +lean_ctor_set(x_438, 1, x_437); +lean_ctor_set_uint8(x_438, sizeof(void*)*2, x_402); +x_439 = lean_format_group(x_438); x_440 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_440, 0, x_378); -lean_ctor_set(x_440, 1, x_399); -lean_ctor_set_uint8(x_440, sizeof(void*)*2, x_391); -if (lean_obj_tag(x_375) == 0) -{ -uint8_t x_441; -lean_dec(x_379); -lean_dec(x_377); -lean_dec(x_376); +lean_ctor_set(x_440, 0, x_418); +lean_ctor_set(x_440, 1, x_439); +lean_ctor_set_uint8(x_440, sizeof(void*)*2, x_402); x_441 = l_Lean_Format_isNil(x_440); if (x_441 == 0) { lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; x_442 = lean_alloc_ctor(4, 2, 1); lean_ctor_set(x_442, 0, x_440); -lean_ctor_set(x_442, 1, x_399); -lean_ctor_set_uint8(x_442, sizeof(void*)*2, x_391); +lean_ctor_set(x_442, 1, x_410); +lean_ctor_set_uint8(x_442, sizeof(void*)*2, x_402); x_443 = lean_alloc_ctor(4, 2, 1); lean_ctor_set(x_443, 0, x_442); -lean_ctor_set(x_443, 1, x_404); -lean_ctor_set_uint8(x_443, sizeof(void*)*2, x_391); -x_444 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_444, 0, x_406); +lean_ctor_set(x_443, 1, x_415); +lean_ctor_set_uint8(x_443, sizeof(void*)*2, x_402); +if (lean_is_scalar(x_390)) { + x_444 = lean_alloc_ctor(0, 2, 0); +} else { + x_444 = x_390; +} +lean_ctor_set(x_444, 0, x_417); lean_ctor_set(x_444, 1, x_443); -x_445 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_445, 0, x_405); +if (lean_is_scalar(x_387)) { + x_445 = lean_alloc_ctor(0, 2, 0); +} else { + x_445 = x_387; +} +lean_ctor_set(x_445, 0, x_416); lean_ctor_set(x_445, 1, x_444); x_7 = x_13; x_8 = x_445; @@ -3638,205 +3841,27 @@ else lean_object* x_447; lean_object* x_448; lean_object* x_449; x_447 = lean_alloc_ctor(4, 2, 1); lean_ctor_set(x_447, 0, x_440); -lean_ctor_set(x_447, 1, x_404); -lean_ctor_set_uint8(x_447, sizeof(void*)*2, x_391); -x_448 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_448, 0, x_406); +lean_ctor_set(x_447, 1, x_415); +lean_ctor_set_uint8(x_447, sizeof(void*)*2, x_402); +if (lean_is_scalar(x_390)) { + x_448 = lean_alloc_ctor(0, 2, 0); +} else { + x_448 = x_390; +} +lean_ctor_set(x_448, 0, x_417); lean_ctor_set(x_448, 1, x_447); -x_449 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_449, 0, x_405); +if (lean_is_scalar(x_387)) { + x_449 = lean_alloc_ctor(0, 2, 0); +} else { + x_449 = x_387; +} +lean_ctor_set(x_449, 0, x_416); lean_ctor_set(x_449, 1, x_448); x_7 = x_13; x_8 = x_449; goto _start; } } -else -{ -x_407 = x_440; -goto block_439; -} -} -else -{ -if (lean_obj_tag(x_375) == 0) -{ -lean_object* x_451; lean_object* x_452; lean_object* x_453; -lean_dec(x_379); -lean_dec(x_377); -lean_dec(x_376); -x_451 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_451, 0, x_378); -lean_ctor_set(x_451, 1, x_404); -lean_ctor_set_uint8(x_451, sizeof(void*)*2, x_391); -x_452 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_452, 0, x_406); -lean_ctor_set(x_452, 1, x_451); -x_453 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_453, 0, x_405); -lean_ctor_set(x_453, 1, x_452); -x_7 = x_13; -x_8 = x_453; -goto _start; -} -else -{ -x_407 = x_378; -goto block_439; -} -} -block_439: -{ -if (lean_obj_tag(x_377) == 0) -{ -uint8_t x_408; -lean_dec(x_375); -x_408 = l_Lean_Format_isNil(x_407); -if (x_408 == 0) -{ -lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; -x_409 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_409, 0, x_407); -lean_ctor_set(x_409, 1, x_399); -lean_ctor_set_uint8(x_409, sizeof(void*)*2, x_391); -x_410 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_410, 0, x_409); -lean_ctor_set(x_410, 1, x_404); -lean_ctor_set_uint8(x_410, sizeof(void*)*2, x_391); -if (lean_is_scalar(x_379)) { - x_411 = lean_alloc_ctor(0, 2, 0); -} else { - x_411 = x_379; -} -lean_ctor_set(x_411, 0, x_406); -lean_ctor_set(x_411, 1, x_410); -if (lean_is_scalar(x_376)) { - x_412 = lean_alloc_ctor(0, 2, 0); -} else { - x_412 = x_376; -} -lean_ctor_set(x_412, 0, x_405); -lean_ctor_set(x_412, 1, x_411); -x_7 = x_13; -x_8 = x_412; -goto _start; -} -else -{ -lean_object* x_414; lean_object* x_415; lean_object* x_416; -x_414 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_414, 0, x_407); -lean_ctor_set(x_414, 1, x_404); -lean_ctor_set_uint8(x_414, sizeof(void*)*2, x_391); -if (lean_is_scalar(x_379)) { - x_415 = lean_alloc_ctor(0, 2, 0); -} else { - x_415 = x_379; -} -lean_ctor_set(x_415, 0, x_406); -lean_ctor_set(x_415, 1, x_414); -if (lean_is_scalar(x_376)) { - x_416 = lean_alloc_ctor(0, 2, 0); -} else { - x_416 = x_376; -} -lean_ctor_set(x_416, 0, x_405); -lean_ctor_set(x_416, 1, x_415); -x_7 = x_13; -x_8 = x_416; -goto _start; -} -} -else -{ -lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; uint8_t x_429; -x_418 = lean_ctor_get(x_377, 0); -lean_inc(x_418); -lean_dec(x_377); -x_419 = l_Lean_Format_flatten___main___closed__1; -x_420 = l_Lean_Format_joinSep___main___at_Lean_ppGoal___spec__1(x_375, x_419); -x_421 = l_Array_iterateMAux___main___at_Lean_ppGoal___spec__6___closed__2; -x_422 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_422, 0, x_420); -lean_ctor_set(x_422, 1, x_421); -lean_ctor_set_uint8(x_422, sizeof(void*)*2, x_391); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -lean_inc(x_1); -x_423 = l_Lean_ppExpr(x_1, x_2, x_3, x_4, x_418); -x_424 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_424, 0, x_399); -lean_ctor_set(x_424, 1, x_423); -lean_ctor_set_uint8(x_424, sizeof(void*)*2, x_391); -x_425 = lean_alloc_ctor(3, 2, 0); -lean_ctor_set(x_425, 0, x_401); -lean_ctor_set(x_425, 1, x_424); -x_426 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_426, 0, x_422); -lean_ctor_set(x_426, 1, x_425); -lean_ctor_set_uint8(x_426, sizeof(void*)*2, x_391); -x_427 = lean_format_group(x_426); -x_428 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_428, 0, x_407); -lean_ctor_set(x_428, 1, x_427); -lean_ctor_set_uint8(x_428, sizeof(void*)*2, x_391); -x_429 = l_Lean_Format_isNil(x_428); -if (x_429 == 0) -{ -lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; -x_430 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_430, 0, x_428); -lean_ctor_set(x_430, 1, x_399); -lean_ctor_set_uint8(x_430, sizeof(void*)*2, x_391); -x_431 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_431, 0, x_430); -lean_ctor_set(x_431, 1, x_404); -lean_ctor_set_uint8(x_431, sizeof(void*)*2, x_391); -if (lean_is_scalar(x_379)) { - x_432 = lean_alloc_ctor(0, 2, 0); -} else { - x_432 = x_379; -} -lean_ctor_set(x_432, 0, x_406); -lean_ctor_set(x_432, 1, x_431); -if (lean_is_scalar(x_376)) { - x_433 = lean_alloc_ctor(0, 2, 0); -} else { - x_433 = x_376; -} -lean_ctor_set(x_433, 0, x_405); -lean_ctor_set(x_433, 1, x_432); -x_7 = x_13; -x_8 = x_433; -goto _start; -} -else -{ -lean_object* x_435; lean_object* x_436; lean_object* x_437; -x_435 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_435, 0, x_428); -lean_ctor_set(x_435, 1, x_404); -lean_ctor_set_uint8(x_435, sizeof(void*)*2, x_391); -if (lean_is_scalar(x_379)) { - x_436 = lean_alloc_ctor(0, 2, 0); -} else { - x_436 = x_379; -} -lean_ctor_set(x_436, 0, x_406); -lean_ctor_set(x_436, 1, x_435); -if (lean_is_scalar(x_376)) { - x_437 = lean_alloc_ctor(0, 2, 0); -} else { - x_437 = x_376; -} -lean_ctor_set(x_437, 0, x_405); -lean_ctor_set(x_437, 1, x_436); -x_7 = x_13; -x_8 = x_437; -goto _start; -} -} } } } @@ -3947,303 +3972,303 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l_Lean_ppGoal(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_Lean_ppGoal(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { -lean_object* x_6; +lean_object* x_5; lean_inc(x_2); -x_6 = lean_metavar_ctx_find_decl(x_2, x_5); -if (lean_obj_tag(x_6) == 0) +x_5 = lean_metavar_ctx_find_decl(x_2, x_4); +if (lean_obj_tag(x_5) == 0) { -lean_object* x_7; -lean_dec(x_4); +lean_object* x_6; lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_7 = l_Lean_ppGoal___closed__2; -return x_7; +x_6 = l_Lean_ppGoal___closed__2; +return x_6; } 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; lean_object* x_15; uint8_t x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_8 = lean_ctor_get(x_6, 0); +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_7 = lean_ctor_get(x_5, 0); +lean_inc(x_7); +lean_dec(x_5); +x_8 = lean_ctor_get(x_7, 1); +lean_inc(x_8); +x_9 = l_Lean_ppGoal___closed__4; lean_inc(x_8); -lean_dec(x_6); -x_9 = lean_ctor_get(x_8, 1); -lean_inc(x_9); -x_10 = l_Lean_ppGoal___closed__4; -lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); lean_inc(x_1); -x_11 = l_Lean_LocalContext_foldlM___at_Lean_ppGoal___spec__2(x_1, x_2, x_3, x_4, x_9, x_10); -lean_dec(x_9); -x_12 = lean_ctor_get(x_11, 1); +x_10 = l_Lean_LocalContext_foldlM___at_Lean_ppGoal___spec__2(x_1, x_2, x_3, x_8, x_8, x_9); +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); -lean_dec(x_11); -x_14 = lean_ctor_get(x_12, 0); +x_14 = lean_ctor_get(x_11, 1); lean_inc(x_14); -x_15 = lean_ctor_get(x_12, 1); -lean_inc(x_15); -lean_dec(x_12); -x_16 = l_Lean_Format_isNil(x_15); -x_17 = lean_ctor_get(x_8, 2); -lean_inc(x_17); -lean_inc(x_4); +lean_dec(x_11); +x_15 = l_Lean_Format_isNil(x_14); +x_16 = lean_ctor_get(x_7, 2); +lean_inc(x_16); lean_inc(x_3); +lean_inc(x_8); lean_inc(x_2); lean_inc(x_1); -x_18 = l_Lean_ppExpr(x_1, x_2, x_3, x_4, x_17); -x_19 = lean_unsigned_to_nat(2u); -x_20 = lean_alloc_ctor(3, 2, 0); -lean_ctor_set(x_20, 0, x_19); -lean_ctor_set(x_20, 1, x_18); -x_21 = lean_ctor_get(x_8, 0); -lean_inc(x_21); -lean_dec(x_8); -if (x_16 == 0) +x_17 = l_Lean_ppExpr(x_1, x_2, x_8, x_3, x_16); +x_18 = lean_unsigned_to_nat(2u); +x_19 = lean_alloc_ctor(3, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_17); +x_20 = lean_ctor_get(x_7, 0); +lean_inc(x_20); +lean_dec(x_7); +if (x_15 == 0) { -uint8_t x_60; lean_object* x_61; lean_object* x_62; -x_60 = 0; -x_61 = lean_box(1); -x_62 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_62, 0, x_15); -lean_ctor_set(x_62, 1, x_61); -lean_ctor_set_uint8(x_62, sizeof(void*)*2, x_60); -if (lean_obj_tag(x_13) == 0) -{ -lean_dec(x_14); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_22 = x_62; -goto block_59; -} -else -{ -if (lean_obj_tag(x_14) == 0) +uint8_t x_59; lean_object* x_60; lean_object* x_61; +x_59 = 0; +x_60 = lean_box(1); +x_61 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_61, 0, x_14); +lean_ctor_set(x_61, 1, x_60); +lean_ctor_set_uint8(x_61, sizeof(void*)*2, x_59); +if (lean_obj_tag(x_12) == 0) { lean_dec(x_13); -lean_dec(x_4); +lean_dec(x_8); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_22 = x_62; -goto block_59; +x_21 = x_61; +goto block_58; } else { -lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; -x_63 = lean_ctor_get(x_14, 0); -lean_inc(x_63); -lean_dec(x_14); +if (lean_obj_tag(x_13) == 0) +{ +lean_dec(x_12); +lean_dec(x_8); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_21 = x_61; +goto block_58; +} +else +{ +lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; +x_62 = lean_ctor_get(x_13, 0); +lean_inc(x_62); +lean_dec(x_13); +x_63 = l_List_reverse___rarg(x_12); x_64 = l_Lean_Format_flatten___main___closed__1; -x_65 = l_Lean_Format_joinSep___main___at_Lean_ppGoal___spec__1(x_13, x_64); +x_65 = l_Lean_Format_joinSep___main___at_Lean_ppGoal___spec__1(x_63, x_64); x_66 = l_Array_iterateMAux___main___at_Lean_ppGoal___spec__6___closed__2; x_67 = lean_alloc_ctor(4, 2, 1); lean_ctor_set(x_67, 0, x_65); lean_ctor_set(x_67, 1, x_66); -lean_ctor_set_uint8(x_67, sizeof(void*)*2, x_60); -x_68 = l_Lean_ppExpr(x_1, x_2, x_3, x_4, x_63); +lean_ctor_set_uint8(x_67, sizeof(void*)*2, x_59); +x_68 = l_Lean_ppExpr(x_1, x_2, x_8, x_3, x_62); x_69 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_69, 0, x_61); +lean_ctor_set(x_69, 0, x_60); lean_ctor_set(x_69, 1, x_68); -lean_ctor_set_uint8(x_69, sizeof(void*)*2, x_60); +lean_ctor_set_uint8(x_69, sizeof(void*)*2, x_59); x_70 = lean_alloc_ctor(3, 2, 0); -lean_ctor_set(x_70, 0, x_19); +lean_ctor_set(x_70, 0, x_18); lean_ctor_set(x_70, 1, x_69); x_71 = lean_alloc_ctor(4, 2, 1); lean_ctor_set(x_71, 0, x_67); lean_ctor_set(x_71, 1, x_70); -lean_ctor_set_uint8(x_71, sizeof(void*)*2, x_60); +lean_ctor_set_uint8(x_71, sizeof(void*)*2, x_59); x_72 = lean_format_group(x_71); x_73 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_73, 0, x_62); +lean_ctor_set(x_73, 0, x_61); lean_ctor_set(x_73, 1, x_72); -lean_ctor_set_uint8(x_73, sizeof(void*)*2, x_60); -x_22 = x_73; -goto block_59; +lean_ctor_set_uint8(x_73, sizeof(void*)*2, x_59); +x_21 = x_73; +goto block_58; } } } else { +if (lean_obj_tag(x_12) == 0) +{ +lean_dec(x_13); +lean_dec(x_8); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_21 = x_14; +goto block_58; +} +else +{ if (lean_obj_tag(x_13) == 0) { -lean_dec(x_14); -lean_dec(x_4); +lean_dec(x_12); +lean_dec(x_8); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_22 = x_15; -goto block_59; +x_21 = x_14; +goto block_58; } else { -if (lean_obj_tag(x_14) == 0) -{ -lean_dec(x_13); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_22 = x_15; -goto block_59; -} -else -{ -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; -x_74 = lean_ctor_get(x_14, 0); +lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; uint8_t x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; +x_74 = lean_ctor_get(x_13, 0); lean_inc(x_74); -lean_dec(x_14); -x_75 = l_Lean_Format_flatten___main___closed__1; -x_76 = l_Lean_Format_joinSep___main___at_Lean_ppGoal___spec__1(x_13, x_75); -x_77 = 0; -x_78 = l_Array_iterateMAux___main___at_Lean_ppGoal___spec__6___closed__2; -x_79 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_79, 0, x_76); -lean_ctor_set(x_79, 1, x_78); -lean_ctor_set_uint8(x_79, sizeof(void*)*2, x_77); -x_80 = l_Lean_ppExpr(x_1, x_2, x_3, x_4, x_74); -x_81 = lean_box(1); -x_82 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_82, 0, x_81); -lean_ctor_set(x_82, 1, x_80); -lean_ctor_set_uint8(x_82, sizeof(void*)*2, x_77); -x_83 = lean_alloc_ctor(3, 2, 0); -lean_ctor_set(x_83, 0, x_19); -lean_ctor_set(x_83, 1, x_82); -x_84 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_84, 0, x_79); +lean_dec(x_13); +x_75 = l_List_reverse___rarg(x_12); +x_76 = l_Lean_Format_flatten___main___closed__1; +x_77 = l_Lean_Format_joinSep___main___at_Lean_ppGoal___spec__1(x_75, x_76); +x_78 = 0; +x_79 = l_Array_iterateMAux___main___at_Lean_ppGoal___spec__6___closed__2; +x_80 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_80, 0, x_77); +lean_ctor_set(x_80, 1, x_79); +lean_ctor_set_uint8(x_80, sizeof(void*)*2, x_78); +x_81 = l_Lean_ppExpr(x_1, x_2, x_8, x_3, x_74); +x_82 = lean_box(1); +x_83 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_83, 0, x_82); +lean_ctor_set(x_83, 1, x_81); +lean_ctor_set_uint8(x_83, sizeof(void*)*2, x_78); +x_84 = lean_alloc_ctor(3, 2, 0); +lean_ctor_set(x_84, 0, x_18); lean_ctor_set(x_84, 1, x_83); -lean_ctor_set_uint8(x_84, sizeof(void*)*2, x_77); -x_85 = lean_format_group(x_84); -x_86 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_86, 0, x_15); -lean_ctor_set(x_86, 1, x_85); -lean_ctor_set_uint8(x_86, sizeof(void*)*2, x_77); -x_22 = x_86; -goto block_59; +x_85 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_85, 0, x_80); +lean_ctor_set(x_85, 1, x_84); +lean_ctor_set_uint8(x_85, sizeof(void*)*2, x_78); +x_86 = lean_format_group(x_85); +x_87 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_87, 0, x_14); +lean_ctor_set(x_87, 1, x_86); +lean_ctor_set_uint8(x_87, sizeof(void*)*2, x_78); +x_21 = x_87; +goto block_58; } } } -block_59: +block_58: { -uint8_t x_23; -x_23 = l_Lean_Format_isNil(x_22); -if (x_23 == 0) +uint8_t x_22; +x_22 = l_Lean_Format_isNil(x_21); +if (x_22 == 0) { -uint8_t x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_24 = 0; -x_25 = lean_box(1); -x_26 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_26, 0, x_22); -lean_ctor_set(x_26, 1, x_25); -lean_ctor_set_uint8(x_26, sizeof(void*)*2, x_24); -x_27 = l_Lean_ppGoal___closed__6; -x_28 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_28, 0, x_26); -lean_ctor_set(x_28, 1, x_27); -lean_ctor_set_uint8(x_28, sizeof(void*)*2, x_24); -x_29 = l_Lean_Format_flatten___main___closed__1; +uint8_t x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_23 = 0; +x_24 = lean_box(1); +x_25 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_25, 0, x_21); +lean_ctor_set(x_25, 1, x_24); +lean_ctor_set_uint8(x_25, sizeof(void*)*2, x_23); +x_26 = l_Lean_ppGoal___closed__6; +x_27 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_27, 0, x_25); +lean_ctor_set(x_27, 1, x_26); +lean_ctor_set_uint8(x_27, sizeof(void*)*2, x_23); +x_28 = l_Lean_Format_flatten___main___closed__1; +x_29 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +lean_ctor_set_uint8(x_29, sizeof(void*)*2, x_23); x_30 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_30, 0, x_28); -lean_ctor_set(x_30, 1, x_29); -lean_ctor_set_uint8(x_30, sizeof(void*)*2, x_24); -x_31 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_31, 0, x_30); -lean_ctor_set(x_31, 1, x_20); -lean_ctor_set_uint8(x_31, sizeof(void*)*2, x_24); -if (lean_obj_tag(x_21) == 0) +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_19); +lean_ctor_set_uint8(x_30, sizeof(void*)*2, x_23); +if (lean_obj_tag(x_20) == 0) { -return x_31; +return x_30; } else { -lean_object* x_41; -x_41 = lean_box(0); -x_32 = x_41; -goto block_40; +lean_object* x_40; +x_40 = lean_box(0); +x_31 = x_40; +goto block_39; } -block_40: +block_39: { -lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; -lean_dec(x_32); -x_33 = l_Lean_Name_toString___closed__1; -x_34 = l_Lean_Name_toStringWithSep___main(x_33, x_21); -x_35 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_35, 0, x_34); -x_36 = l_Lean_ppGoal___closed__8; +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_dec(x_31); +x_32 = l_Lean_Name_toString___closed__1; +x_33 = l_Lean_Name_toStringWithSep___main(x_32, x_20); +x_34 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_34, 0, x_33); +x_35 = l_Lean_ppGoal___closed__8; +x_36 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_36, 0, x_35); +lean_ctor_set(x_36, 1, x_34); +lean_ctor_set_uint8(x_36, sizeof(void*)*2, x_23); x_37 = lean_alloc_ctor(4, 2, 1); lean_ctor_set(x_37, 0, x_36); -lean_ctor_set(x_37, 1, x_35); -lean_ctor_set_uint8(x_37, sizeof(void*)*2, x_24); +lean_ctor_set(x_37, 1, x_24); +lean_ctor_set_uint8(x_37, sizeof(void*)*2, x_23); x_38 = lean_alloc_ctor(4, 2, 1); lean_ctor_set(x_38, 0, x_37); -lean_ctor_set(x_38, 1, x_25); -lean_ctor_set_uint8(x_38, sizeof(void*)*2, x_24); -x_39 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_39, 0, x_38); -lean_ctor_set(x_39, 1, x_31); -lean_ctor_set_uint8(x_39, sizeof(void*)*2, x_24); -return x_39; +lean_ctor_set(x_38, 1, x_30); +lean_ctor_set_uint8(x_38, sizeof(void*)*2, x_23); +return x_38; } } else { -uint8_t x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_42 = 0; -x_43 = l_Lean_ppGoal___closed__6; -x_44 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_44, 0, x_22); -lean_ctor_set(x_44, 1, x_43); -lean_ctor_set_uint8(x_44, sizeof(void*)*2, x_42); -x_45 = l_Lean_Format_flatten___main___closed__1; +uint8_t x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_41 = 0; +x_42 = l_Lean_ppGoal___closed__6; +x_43 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_43, 0, x_21); +lean_ctor_set(x_43, 1, x_42); +lean_ctor_set_uint8(x_43, sizeof(void*)*2, x_41); +x_44 = l_Lean_Format_flatten___main___closed__1; +x_45 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_45, 0, x_43); +lean_ctor_set(x_45, 1, x_44); +lean_ctor_set_uint8(x_45, sizeof(void*)*2, x_41); x_46 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_46, 0, x_44); -lean_ctor_set(x_46, 1, x_45); -lean_ctor_set_uint8(x_46, sizeof(void*)*2, x_42); -x_47 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_47, 0, x_46); -lean_ctor_set(x_47, 1, x_20); -lean_ctor_set_uint8(x_47, sizeof(void*)*2, x_42); -if (lean_obj_tag(x_21) == 0) +lean_ctor_set(x_46, 0, x_45); +lean_ctor_set(x_46, 1, x_19); +lean_ctor_set_uint8(x_46, sizeof(void*)*2, x_41); +if (lean_obj_tag(x_20) == 0) { -return x_47; +return x_46; } else { -lean_object* x_58; -x_58 = lean_box(0); -x_48 = x_58; -goto block_57; +lean_object* x_57; +x_57 = lean_box(0); +x_47 = x_57; +goto block_56; } -block_57: +block_56: { -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_dec(x_48); -x_49 = l_Lean_Name_toString___closed__1; -x_50 = l_Lean_Name_toStringWithSep___main(x_49, x_21); -x_51 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_51, 0, x_50); -x_52 = l_Lean_ppGoal___closed__8; -x_53 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_53, 0, x_52); -lean_ctor_set(x_53, 1, x_51); -lean_ctor_set_uint8(x_53, sizeof(void*)*2, x_42); -x_54 = lean_box(1); +lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; +lean_dec(x_47); +x_48 = l_Lean_Name_toString___closed__1; +x_49 = l_Lean_Name_toStringWithSep___main(x_48, x_20); +x_50 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_50, 0, x_49); +x_51 = l_Lean_ppGoal___closed__8; +x_52 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_52, 0, x_51); +lean_ctor_set(x_52, 1, x_50); +lean_ctor_set_uint8(x_52, sizeof(void*)*2, x_41); +x_53 = lean_box(1); +x_54 = lean_alloc_ctor(4, 2, 1); +lean_ctor_set(x_54, 0, x_52); +lean_ctor_set(x_54, 1, x_53); +lean_ctor_set_uint8(x_54, sizeof(void*)*2, x_41); x_55 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_55, 0, x_53); -lean_ctor_set(x_55, 1, x_54); -lean_ctor_set_uint8(x_55, sizeof(void*)*2, x_42); -x_56 = lean_alloc_ctor(4, 2, 1); -lean_ctor_set(x_56, 0, x_55); -lean_ctor_set(x_56, 1, x_47); -lean_ctor_set_uint8(x_56, sizeof(void*)*2, x_42); -return x_56; +lean_ctor_set(x_55, 0, x_54); +lean_ctor_set(x_55, 1, x_46); +lean_ctor_set_uint8(x_55, sizeof(void*)*2, x_41); +return x_55; } } }